From: Rainer Jung Date: Thu, 5 May 2016 19:51:53 +0000 (+0000) Subject: iNo need to set CFLAGS and LDFLAGS for "ab" X-Git-Tag: 2.4.21~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f35fbdd732473b566adf2ed61bb2efa9f5410e;p=thirdparty%2Fapache%2Fhttpd.git iNo need to set CFLAGS and LDFLAGS for "ab" 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. Backport of r1742460 from trunk. CTR git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1742463 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/config2.m4 b/modules/http2/config2.m4 index 7c8026761d0..9919bf0883a 100644 --- a/modules/http2/config2.m4 +++ b/modules/http2/config2.m4 @@ -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=""