From 182c9c418215b8bc815329ff6f4192326ef2b5cf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 3 Feb 2010 07:37:07 +0000 Subject: [PATCH] get autoconf-2.61+ working again git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1758 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 5 +++++ urjtag/acinclude.m4 | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 4810795d..7c830aad 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2010-02-03 Mike Frysinger + + * acinclude.m4 (AS_VAR_APPEND, m4_ifnblank): Provide fallback implementations + if autoconf is too old (<2.64). + 2010-02-02 Mike Frysinger * src/tap/detect.c (urj_tap_detect_parts): Include bit/hex output in the diff --git a/urjtag/acinclude.m4 b/urjtag/acinclude.m4 index 4de49389..3e1cbc83 100644 --- a/urjtag/acinclude.m4 +++ b/urjtag/acinclude.m4 @@ -130,3 +130,21 @@ AC_DEFUN([AC_PROG_SED], ])dnl +dnl AS_VAR_APPEND +dnl ------------- +dnl +dnl this was added in autoconf-2.64+ +dnl +m4_ifndef([AS_VAR_APPEND],[dnl +AC_DEFUN([AS_VAR_APPEND], [${$1}="${$1}${$2}"]) +])dnl + + +dnl m4_ifnblank +dnl ----------- +dnl +dnl this was added in autoconf-2.64+ +dnl +m4_ifndef([m4_ifnblank],[dnl +m4_define([m4_ifnblank], [m4_ifval(m4_normalize([$1]), [$2], [$3])]) +])dnl