Unset ax_lib when we're done (as this would cause the next AC_BOOST_* call to fail).

This commit is contained in:
Gunnar Beutner 2012-09-26 10:29:55 +02:00
parent 45bfe2762e
commit 4d7d40bce0
4 changed files with 4 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -142,6 +142,7 @@ AC_DEFUN([AX_BOOST_THREAD],
fi
fi
ax_lib=""
CPPFLAGS="$CPPFLAGS_SAVED"
LDFLAGS="$LDFLAGS_SAVED"

View File

@ -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"