From: William A. Rowe Jr Date: Sun, 26 Jun 2016 15:39:05 +0000 (+0000) Subject: configure: Do not treat dependency exceptions with --enable-modules X-Git-Tag: 2.4.23~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ecf29b94c516e97607f8e9f79af9f5dea4bd85;p=thirdparty%2Fapache%2Fhttpd.git configure: Do not treat dependency exceptions with --enable-modules of only 'few' or 'none' as fatal, but continue the ./configure Submitted by: trawick Backports: r1396440 [only the acinclude.m4, config5.m4 change was N/A] Reviewed by: wrowe, rpluem, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1750254 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 3ff8e97f5c7..dd002f73201 100644 --- a/CHANGES +++ b/CHANGES @@ -3,7 +3,7 @@ Changes with Apache 2.4.23 *) configure: Fix ./configure edge-case failures around dependencies - of mod_proxy_hcheck. [William Rowe, Ruediger Pluem] + of mod_proxy_hcheck. [William Rowe, Ruediger Pluem, Jeff Trawick] Changes with Apache 2.4.22 diff --git a/STATUS b/STATUS index ef2ae4855e3..97b7420b8da 100644 --- a/STATUS +++ b/STATUS @@ -116,13 +116,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - *) configure: Do not treat dependency exceptions with --enable-modules - of only 'few' or 'none' as fatal, but continue the ./configure - Submitted by: trawick [Add to CHANGES credit] - trunk patch: http://svn.apache.org/r1396440 [only the acinclude.m4 edit] - 2.4.x: trunk patch to acinclude.m4 works (modules/arch/unix patch is N/A) - +1: wrowe, rpluem, ylavic - *) mod_watchdog: Enable at --enable-modules=most for mod_proxy_hcheck trunk patch: http://svn.apache.org/viewvc?rev=1749924&view=rev 2.4.x: trunk patch works diff --git a/acinclude.m4 b/acinclude.m4 index e26de5f1ee0..0996d8db51e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -312,22 +312,15 @@ AC_DEFUN([APACHE_MODULE],[ AC_ARG_ENABLE(translit($1,_,-),APACHE_HELP_STRING(optname(),$2),force_$1=$enableval,enable_$1=ifelse($5,,maybe-all,$5)) undefine([optname])dnl _apmod_extra_msg="" - dnl When --enable-modules=most or --enable-modules=(really)all is set and the - dnl module was not explicitly requested, allow a module to disable itself if + dnl If the module was not explicitly requested, allow it to disable itself if dnl its pre-reqs fail. case "$enable_$1" in yes|static|shared) _apmod_required="yes" ;; *) - case "$module_selection" in - reallyall|all|most) - _apmod_required="no" - ;; - *) - _apmod_required="yes" - ;; - esac + _apmod_required="no" + ;; esac if test "$enable_$1" = "static"; then enable_$1=static