apu-config appears to support a limited option set.
authorScott Cantor <cantor.2@osu.edu>
Thu, 29 Oct 2009 17:59:44 +0000 (17:59 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 29 Oct 2009 17:59:44 +0000 (17:59 +0000)
configure.ac

index ff6ebd9..32b5c4d 100644 (file)
@@ -712,7 +712,7 @@ if test "$WANT_APACHE_20" = "yes" ; then
         AC_PATH_PROG(APU_CONFIG, apu-config,,[`$APXS2 -q SBINDIR`]:[$PATH])
         ])
     if test -f "${APU_CONFIG}"; then
-        APU_CFLAGS="`${APU_CONFIG} --cflags` `${APU_CONFIG} --cppflags` `${APU_CONFIG} --includes`"
+        APU_CFLAGS="`${APU_CONFIG} --includes`"
     else
         AC_MSG_ERROR([Unable to locate apu-config, may need --with-apu option.])
     fi
@@ -825,7 +825,7 @@ if test "$WANT_APACHE_22" = "yes" ; then
         AC_PATH_PROG(APU1_CONFIG, apu-1-config,,[`$APXS22 -q SBINDIR`]:[$PATH])
         ])
     if test -f "${APU1_CONFIG}"; then
-        APU1_CFLAGS="`${APU1_CONFIG} --cflags` `${APU1_CONFIG} --cppflags` `${APU1_CONFIG} --includes`"
+        APU1_CFLAGS="`${APU1_CONFIG} --includes`"
     else
         AC_MSG_ERROR([Unable to locate apu-1-config, may need --with-apu1 option.])
     fi