Just something I noticed while compiling PHP 5.2.0RC6 on Windows. It looks like it's been like this since the dawn of time, so it's not a release blocker. The attached patch makes --with-apache-includes and --with-apache-lib work as documented.

Index: sapi/apache/config.w32
===================================================================
RCS file: /repository/php-src/sapi/apache/config.w32,v
retrieving revision 1.7
diff -u -r1.7 config.w32
--- sapi/apache/config.w32      17 Jan 2004 13:00:04 -0000      1.7
+++ sapi/apache/config.w32      20 Oct 2006 05:26:48 -0000
@@ -8,9 +8,11 @@
 
 if (PHP_APACHE != "no") {
        if (CHECK_HEADER_ADD_INCLUDE("httpd.h", "CFLAGS_APACHE", 
php_usual_include_suspects +
+                               ";" + PHP_APACHE_INCLUDES +
                                ";" + PROGRAM_FILES + "\\Apache 
Group\\Apache\\include" +
                                ";..\\php_build\\apache\\src\\include") &&
                        CHECK_LIB("ApacheCore.lib", "apache", 
php_usual_lib_suspects +
+                               ';' + PHP_APACHE_LIBS + 
                                ';' + PROGRAM_FILES + '\\Apache 
Group\\Apache\\libexec' +
                                ';..\\php_build\\apache\\src\\corer')) {
                // We need to play tricks to get our readdir.h used by apache
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to