From: Joe Orton Date: Fri, 21 Jun 2019 09:35:38 +0000 (+0000) Subject: * configure.in: Fix enabling httpdunit w/o --enable-reduced-exports. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2020 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f724666056ce88adbfce848d68651fa724526925;p=thirdparty%2Fapache%2Fhttpd.git * configure.in: Fix enabling httpdunit w/o --enable-reduced-exports. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861768 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index ec0336785e3..24257a10fce 100644 --- a/configure.in +++ b/configure.in @@ -744,7 +744,7 @@ AC_ARG_WITH(valgrind, dnl Enable the unit test executable if Check is installed. dnl TODO: at the moment, only pkg-config discovery is supported. AC_MSG_CHECKING([for Check to enable unit tests]) -if test "x$PKGCONFIG" != "x" -a "$AP_FORCE_EXPORTS" = "yes" && `$PKGCONFIG --atleast-version='0.9.12' check`; then +if test "x$PKGCONFIG" != "x" -a "$ap_reduced_exports" = "no" && `$PKGCONFIG --atleast-version='0.9.12' check`; then UNITTEST_CFLAGS=`$PKGCONFIG --cflags check` UNITTEST_LIBS=`$PKGCONFIG --libs check` other_targets="$other_targets test/httpdunit"