From: Daniel P. Berrange Date: Tue, 5 Feb 2013 16:44:46 +0000 (+0000) Subject: Fix typo in configure.ac causing $LIBS to gain a copy of $CFLAGS X-Git-Tag: v1.0.3-rc1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe43021f3dc326a536247cf6b3d8b9dc1958666;p=thirdparty%2Flibvirt.git Fix typo in configure.ac causing $LIBS to gain a copy of $CFLAGS The virt-dbus.m4 check for DBus was preserving $LIBS before modifying it. Except it wasn't. It was preserving another copy of $CFLAGS. The result was that after the check completed, $LIBS got polluted with $CFLAGS Signed-off-by: Daniel P. Berrange --- diff --git a/m4/virt-dbus.m4 b/m4/virt-dbus.m4 index 16cb864c9b..4ef0c82bb5 100644 --- a/m4/virt-dbus.m4 +++ b/m4/virt-dbus.m4 @@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_CHECK_DBUS],[ if test "$with_dbus" = "yes" ; then old_CFLAGS="$CFLAGS" - old_LIBS="$CFLAGS" + old_LIBS="$LIBS" CFLAGS="$CFLAGS $DBUS_CFLAGS" LIBS="$LIBS $DBUS_LIBS" AC_CHECK_FUNCS([dbus_watch_get_unix_fd])