]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
No need to set CFLAGS and LDFLAGS for "ab"
authorRainer Jung <rjung@apache.org>
Thu, 5 May 2016 19:47:55 +0000 (19:47 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 5 May 2016 19:47:55 +0000 (19:47 +0000)
during detection of libnghttp2. "ab" doesn't
yet support http2.

The macros were probably copied over from our
OpenSSL detection, where it actually makes
sense to adjust the "ab" flags.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1742460 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/config2.m4

index 3c2fc59bbbb57638df0ecc9e8ade6db91e81e14a..b17387c9ed2ead462ec44c63df77fab174ecdb92 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([APACHE_CHECK_NGHTTP2],[
         pkglookup="`$PKGCONFIG --cflags-only-I libnghttp2`"
         APR_ADDTO(CPPFLAGS, [$pkglookup])
         APR_ADDTO(MOD_CFLAGS, [$pkglookup])
-        APR_ADDTO(ab_CFLAGS, [$pkglookup])
         pkglookup="`$PKGCONFIG $PKGCONFIG_LIBOPTS --libs-only-L libnghttp2`"
         APR_ADDTO(LDFLAGS, [$pkglookup])
         APR_ADDTO(MOD_LDFLAGS, [$pkglookup])
@@ -115,7 +114,6 @@ AC_DEFUN([APACHE_CHECK_NGHTTP2],[
     if test "x$ap_nghttp2_base" != "x" -a "x$ap_nghttp2_found" = "x"; then
       APR_ADDTO(CPPFLAGS, [-I$ap_nghttp2_base/include])
       APR_ADDTO(MOD_CFLAGS, [-I$ap_nghttp2_base/include])
-      APR_ADDTO(ab_CFLAGS, [-I$ap_nghttp2_base/include])
       APR_ADDTO(LDFLAGS, [-L$ap_nghttp2_base/lib])
       APR_ADDTO(MOD_LDFLAGS, [-L$ap_nghttp2_base/lib])
       if test "x$ap_platform_runtime_link_flag" != "x"; then
@@ -140,9 +138,6 @@ AC_DEFUN([APACHE_CHECK_NGHTTP2],[
       ap_nghttp2_libs="${ap_nghttp2_libs:--lnghttp2} `$apr_config --libs`"
       APR_ADDTO(MOD_LDFLAGS, [$ap_nghttp2_libs])
       APR_ADDTO(LIBS, [$ap_nghttp2_libs])
-      APR_SETVAR(ab_LDFLAGS, [$MOD_LDFLAGS])
-      APACHE_SUBST(ab_CFLAGS)
-      APACHE_SUBST(ab_LDFLAGS)
 
       dnl Run library and function checks
       liberrors=""