]> granicus.if.org Git - apache/commitdiff
* configure.in: Fix enabling httpdunit w/o --enable-reduced-exports.
authorJoe Orton <jorton@apache.org>
Fri, 21 Jun 2019 09:35:38 +0000 (09:35 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 21 Jun 2019 09:35:38 +0000 (09:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861768 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index ec0336785e3d079fe4061173a1358410af84f51a..24257a10fceafddacc91994a75d48cb240a6f978 100644 (file)
@@ -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"