Opened 18 years ago

#1923 new enhancement

Mapscript 4.10rc1 does not detect PHP5 on Mandriva 2006.0

Reported by: cermak@… Owned by: mapserverbugs
Priority: normal Milestone:
Component: MapScript-PHP Version: 4.10
Severity: minor Keywords:
Cc:

Description

The configure script does not detect PHP5 on Mandriva(Mandrake 2006.0).  This
small one liner allows Mapserver 4.10rc1 to build against PHP5.

--- configure   2006-08-28 06:09:23.000000000 -0800
+++ configure.new       2006-09-28 09:23:31.000000000 -0800
@@ -10575,6 +10575,9 @@

     test -f "$PHP_SRC_DIR/include/php/main/php_config.h" &&
PHP_SRC_DIR="$PHP_SRC_DIR/include/php/" &&
PHP_CONFIG_H="$PHP_SRC_DIR/main/php_config.h"

+               # Allows for proper detection of PHP5 (Mandriva 2006.0)
+               test -f "$PHP_SRC_DIR/acconfig.h" &&
PHP_CONFIG_H="$PHP_SRC_DIR/acconfig.h"
+
   if test -n "$PHP_CONFIG_H" ; then
     echo "$as_me:$LINENO: result: $PHP_CONFIG_H" >&5
 echo "${ECHO_T}$PHP_CONFIG_H" >&6

We have have been building Mapserver 4.8.x against PHP5 for quite some time now.
 Works great.

Change History (0)

Note: See TracTickets for help on using tickets.