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)