From a03c13d1d3262f78c5403a9521d3548d714fdc32 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Jun 2011 19:11:41 +0000 Subject: [PATCH] use AS_VAR_APPEND more rather than manually appending git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1914 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 2 ++ urjtag/configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index a11e4e80..26f5b94a 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -3,6 +3,8 @@ * acinclude.m4: Add a new AS_VAR_PREPEND helper. * configure.ac: Use AS_VAR_PREPEND rather than touching the var directly. + * configure.ac: Use AS_VAR_APPEND rather than touching the var directly. + 2011-06-23 Mike Frysinger * src/cmd/Makefile.am: Tweak dependencies so things work from a fresh diff --git a/urjtag/configure.ac b/urjtag/configure.ac index 90b167b9..05dc87a1 100644 --- a/urjtag/configure.ac +++ b/urjtag/configure.ac @@ -238,8 +238,8 @@ AS_IF([test "x$with_libftdi" != xno], [ ]) ]) ]) - LIBS="$LIBFTDI_LIBS $LIBS" - CPPFLAGS="$CPPFLAGS $LIBFTDI_CFLAGS" + AS_VAR_APPEND([LIBS], " $LIBFTDI_LIBS") + AS_VAR_APPEND([CPPFLAGS], " $LIBFTDI_CFLAGS") AC_CHECK_FUNC([ftdi_usb_open], [ AC_DEFINE(HAVE_LIBFTDI, 1, [Define if you have libftdi]) HAVELIBFTDI=yes