[mapserver-commits] r7874 - branches/branch-5-2/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Aug 20 14:33:42 EDT 2008
Author: dmorissette
Date: 2008-08-20 14:33:42 -0400 (Wed, 20 Aug 2008)
New Revision: 7874
Modified:
branches/branch-5-2/mapserver/HISTORY.TXT
branches/branch-5-2/mapserver/configure
branches/branch-5-2/mapserver/configure.in
Log:
Fixed the configure script: failed to detect php5 on ubuntu. (#2365)
Modified: branches/branch-5-2/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-2/mapserver/HISTORY.TXT 2008-08-20 18:33:32 UTC (rev 7873)
+++ branches/branch-5-2/mapserver/HISTORY.TXT 2008-08-20 18:33:42 UTC (rev 7874)
@@ -35,7 +35,9 @@
- Stop configure execution with an error if path to one of the -config
scripts is invalid (#2710)
+- Fixed the configure script: failed to detect php5 on ubuntu. (#2365)
+
Version 5.2.0 (2008-07-16):
---------------------------
Modified: branches/branch-5-2/mapserver/configure
===================================================================
--- branches/branch-5-2/mapserver/configure 2008-08-20 18:33:32 UTC (rev 7873)
+++ branches/branch-5-2/mapserver/configure 2008-08-20 18:33:42 UTC (rev 7874)
@@ -12721,6 +12721,8 @@
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"
+ test -f "$PHP_SRC_DIR/include/php5/main/php_config.h" && PHP_SRC_DIR="$PHP_SRC_DIR/include/php5/" && PHP_CONFIG_H="$PHP_SRC_DIR/main/php_config.h"
+
if test -n "$PHP_CONFIG_H" ; then
{ echo "$as_me:$LINENO: result: $PHP_CONFIG_H" >&5
echo "${ECHO_T}$PHP_CONFIG_H" >&6; }
Modified: branches/branch-5-2/mapserver/configure.in
===================================================================
--- branches/branch-5-2/mapserver/configure.in 2008-08-20 18:33:32 UTC (rev 7873)
+++ branches/branch-5-2/mapserver/configure.in 2008-08-20 18:33:42 UTC (rev 7874)
@@ -2290,6 +2290,9 @@
dnl If php was installed, then the headers are under $prefix/include/php/*
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"
+ dnl In PHP 5, few distributions use "/usr/include/php5" directory
+ test -f "$PHP_SRC_DIR/include/php5/main/php_config.h" && PHP_SRC_DIR="$PHP_SRC_DIR/include/php5/" && PHP_CONFIG_H="$PHP_SRC_DIR/main/php_config.h"
+
if test -n "$PHP_CONFIG_H" ; then
AC_MSG_RESULT([$PHP_CONFIG_H])
else
More information about the mapserver-commits
mailing list