You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/03/31 15:39:01 UTC

DO NOT REPLY [Bug 18518] New: - [PATCH] Compilation fails when using preinstalled libapr

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18518>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18518

[PATCH] Compilation fails when using preinstalled libapr

           Summary: [PATCH] Compilation fails when using preinstalled libapr
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: svd@altlinux.ru


modules/aaa/config.m4 has hardcoded include path for APR. This doesn't work when
APR is installed in system and included one from tarball is not used.
This patch fix it.

--- apache2-2.0.44/modules/aaa/config.m4~       2003-03-25 12:32:35 +0300
+++ apache2-2.0.44/modules/aaa/config.m4        2003-03-25 12:32:18 +0300
@@ -11,7 +11,7 @@
 
 APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
   ap_old_cppflags=$CPPFLAGS
-  CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include -I$abs_builddir/srclib/apr/include"
+  CPPFLAGS="$CPPFLAGS $INCLUDES"
   AC_TRY_COMPILE([#include <apr.h>], 
                  [#if !APR_HAS_RANDOM 
                   #error You need APR random support to use auth_digest.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org