From 4d7d40bce03be013c68ce1dcb07856ce63ae1b97 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 26 Sep 2012 10:29:55 +0200 Subject: [PATCH] Unset ax_lib when we're done (as this would cause the next AC_BOOST_* call to fail). --- m4/ax_boost_signals.m4 | 1 + m4/ax_boost_system.m4 | 1 + m4/ax_boost_thread.m4 | 1 + m4/ax_boost_unit_test_framework.m4 | 1 + 4 files changed, 4 insertions(+) diff --git a/m4/ax_boost_signals.m4 b/m4/ax_boost_signals.m4 index 219bc6d5d..a522eb827 100644 --- a/m4/ax_boost_signals.m4 +++ b/m4/ax_boost_signals.m4 @@ -107,6 +107,7 @@ AC_DEFUN([AX_BOOST_SIGNALS], AC_MSG_ERROR(Could not link against $ax_lib !) fi fi + ax_lib="" CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" diff --git a/m4/ax_boost_system.m4 b/m4/ax_boost_system.m4 index af2a8d2d0..ab7724b66 100644 --- a/m4/ax_boost_system.m4 +++ b/m4/ax_boost_system.m4 @@ -112,6 +112,7 @@ AC_DEFUN([AX_BOOST_SYSTEM], if test "x$link_system" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi + ax_lib="" fi CPPFLAGS="$CPPFLAGS_SAVED" diff --git a/m4/ax_boost_thread.m4 b/m4/ax_boost_thread.m4 index 9c46f817c..23923184c 100644 --- a/m4/ax_boost_thread.m4 +++ b/m4/ax_boost_thread.m4 @@ -142,6 +142,7 @@ AC_DEFUN([AX_BOOST_THREAD], fi fi + ax_lib="" CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" diff --git a/m4/ax_boost_unit_test_framework.m4 b/m4/ax_boost_unit_test_framework.m4 index b62d8a331..11e1b9db0 100644 --- a/m4/ax_boost_unit_test_framework.m4 +++ b/m4/ax_boost_unit_test_framework.m4 @@ -104,6 +104,7 @@ AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], AC_MSG_ERROR(Could not link against $ax_lib !) fi fi + ax_lib="" CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED"