From 620c506f969a83b5e907a5ebd552e0b26eeb377c Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Wed, 3 Jan 2007 20:12:47 +0000 Subject: [PATCH] autoconf checks must not be inside conditional code (fixes 'conditional AMDEP was never defined' error) git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@301 15ad00c4-1369-45f4-8270-35d70d36bdcd --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 46a7a1b4..9dc52df5 100644 --- a/configure.in +++ b/configure.in @@ -26,12 +26,13 @@ AC_ARG_ENABLE(integration-tests, [enables tests outside of the library (can be used together with normal builds of the library)]), enable_integration_tests="$enableval", enable_integration_tests="no") +AC_CHECK_HEADERS(signal.h) + # cppunit needed? if test $enable_unit_tests == "yes" || test $enable_integration_tests == yes; then CPPUNIT_CXXFLAGS=`cppunit-config --cflags` || AC_MSG_ERROR("cppunit-config --cflags failed - is it installed?") CPPUNIT_LDFLAGS=`cppunit-config --libs` || AC_MSG_ERROR("cppunit-config --libs failed - is it installed?") CPPUNIT_TESTS=client-test - AC_CHECK_HEADERS(signal.h) fi AC_SUBST(CPPUNIT_CXXFLAGS) AC_SUBST(CPPUNIT_LDFLAGS)