iliaa Tue Sep 30 18:38:30 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/gd config.m4 /php-src/ext/gmp config.m4 /php-src/ext/imap config.m4 /php-src/ext/crack config.m4 /php-src/ext/mhash config.m4 /php-src/ext/pfpro config.m4 /php-src/ext/session config.m4 /php-src/ext/mcrypt config.m4 /php-src/ext/xmlrpc config.m4 /php-src/ext/ovrimos config.m4 /php-src/ext/readline config.m4 /php-src/ext/gettext config.m4 /php-src/ext/xslt config.m4 Log: MFH: Always prefer user specified paths over the default /usr /usr/local.
Index: php-src/ext/gd/config.m4 diff -u php-src/ext/gd/config.m4:1.120.2.16 php-src/ext/gd/config.m4:1.120.2.17 --- php-src/ext/gd/config.m4:1.120.2.16 Sat Sep 27 16:54:00 2003 +++ php-src/ext/gd/config.m4 Tue Sep 30 18:38:21 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.120.2.16 2003/09/27 20:54:00 sniper Exp $ +dnl $Id: config.m4,v 1.120.2.17 2003/09/30 22:38:21 iliaa Exp $ dnl dnl @@ -50,7 +50,7 @@ AC_DEFUN(PHP_GD_JPEG,[ if test "$PHP_JPEG_DIR" != "no"; then - for i in /usr /usr/local $PHP_JPEG_DIR; do + for i in $PHP_JPEG_DIR /usr /usr/local; do test -f $i/lib/libjpeg.$SHLIB_SUFFIX_NAME -o -f $i/lib/libjpeg.a && GD_JPEG_DIR=$i done @@ -75,7 +75,7 @@ AC_DEFUN(PHP_GD_PNG,[ if test "$PHP_PNG_DIR" != "no"; then - for i in /usr /usr/local $PHP_PNG_DIR; do + for i in $PHP_PNG_DIR /usr /usr/local; do test -f $i/lib/libpng.$SHLIB_SUFFIX_NAME -o -f $i/lib/libpng.a && GD_PNG_DIR=$i done @@ -110,7 +110,7 @@ AC_DEFUN(PHP_GD_XPM,[ if test "$PHP_XPM_DIR" != "no"; then - for i in /usr /usr/local /usr/X11R6 $PHP_XPM_DIR; do + for i in $PHP_XPM_DIR /usr /usr/local /usr/X11R6; do test -f $i/lib/libXpm.$SHLIB_SUFFIX_NAME -o -f $i/lib/libXpm.a && GD_XPM_DIR=$i done @@ -145,7 +145,7 @@ if test "$PHP_TTF" != "no"; then if test "$PHP_FREETYPE_DIR" = "no" -o "$PHP_FREETYPE_DIR" = ""; then if test -n "$PHP_TTF" ; then - for i in /usr /usr/local $PHP_TTF; do + for i in $PHP_TTF /usr /usr/local; do if test -f "$i/include/freetype.h" ; then TTF_DIR=$i unset TTF_INC_DIR @@ -177,7 +177,7 @@ AC_DEFUN(PHP_GD_FREETYPE2,[ if test "$PHP_FREETYPE_DIR" != "no"; then - for i in /usr /usr/local $PHP_FREETYPE_DIR; do + for i in $PHP_FREETYPE_DIR /usr /usr/local; do if test -f "$i/include/freetype2/freetype/freetype.h"; then FREETYPE2_DIR=$i FREETYPE2_INC_DIR=$i/include/freetype2 @@ -201,7 +201,7 @@ AC_DEFUN(PHP_GD_T1LIB,[ if test "$PHP_T1LIB" != "no"; then - for i in /usr /usr/local $PHP_T1LIB; do + for i in $PHP_T1LIB /usr /usr/local; do test -f "$i/include/t1lib.h" && GD_T1_DIR=$i done Index: php-src/ext/gmp/config.m4 diff -u php-src/ext/gmp/config.m4:1.7 php-src/ext/gmp/config.m4:1.7.4.1 --- php-src/ext/gmp/config.m4:1.7 Thu Jun 20 20:15:48 2002 +++ php-src/ext/gmp/config.m4 Tue Sep 30 18:38:22 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.7 2002/06/21 00:15:48 sniper Exp $ +dnl $Id: config.m4,v 1.7.4.1 2003/09/30 22:38:22 iliaa Exp $ dnl PHP_ARG_WITH(gmp, for GNU MP support, @@ -7,7 +7,7 @@ if test "$PHP_GMP" != "no"; then - for i in /usr/local /usr $PHP_GMP; do + for i in $PHP_GMP /usr/local /usr; do if test -f $i/include/gmp.h; then GMP_DIR=$i fi Index: php-src/ext/imap/config.m4 diff -u php-src/ext/imap/config.m4:1.49.2.6 php-src/ext/imap/config.m4:1.49.2.7 --- php-src/ext/imap/config.m4:1.49.2.6 Sat May 10 13:11:33 2003 +++ php-src/ext/imap/config.m4 Tue Sep 30 18:38:23 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.49.2.6 2003/05/10 17:11:33 rasmus Exp $ +dnl $Id: config.m4,v 1.49.2.7 2003/09/30 22:38:23 iliaa Exp $ dnl AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then @@ -137,7 +137,7 @@ PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared) AC_DEFINE(HAVE_IMAP,1,[ ]) - for i in /usr/local /usr $PHP_IMAP; do + for i in $PHP_IMAP /usr/local /usr; do IMAP_INC_CHK() el[]IMAP_INC_CHK(/include/c-client) el[]IMAP_INC_CHK(/include/imap) Index: php-src/ext/crack/config.m4 diff -u php-src/ext/crack/config.m4:1.8 php-src/ext/crack/config.m4:1.8.4.1 --- php-src/ext/crack/config.m4:1.8 Tue Mar 12 11:11:33 2002 +++ php-src/ext/crack/config.m4 Tue Sep 30 18:38:23 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.8 2002/03/12 16:11:33 sas Exp $ +dnl $Id: config.m4,v 1.8.4.1 2003/09/30 22:38:23 iliaa Exp $ dnl PHP_ARG_WITH(crack, for CRACKlib support, @@ -7,11 +7,11 @@ if test "$PHP_CRACK" != "no"; then - for i in /usr/local/lib /usr/lib $PHP_CRACK/lib $PHP_CRACK/cracklib; do + for i in $PHP_CRACK/lib $PHP_CRACK/cracklib /usr/local/lib /usr/lib; do test -f $i/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a && CRACK_LIBDIR=$i done - for i in /usr/local/include /usr/include $PHP_CRACK/include $PHP_CRACK/cracklib; do + for i in $PHP_CRACK/include $PHP_CRACK/cracklib /usr/local/include /usr/include; do test -f $i/packer.h && CRACK_INCLUDEDIR=$i done Index: php-src/ext/mhash/config.m4 diff -u php-src/ext/mhash/config.m4:1.12 php-src/ext/mhash/config.m4:1.12.4.1 --- php-src/ext/mhash/config.m4:1.12 Tue Mar 12 11:24:28 2002 +++ php-src/ext/mhash/config.m4 Tue Sep 30 18:38:24 2003 @@ -1,12 +1,12 @@ dnl -dnl $Id: config.m4,v 1.12 2002/03/12 16:24:28 sas Exp $ +dnl $Id: config.m4,v 1.12.4.1 2003/09/30 22:38:24 iliaa Exp $ dnl PHP_ARG_WITH(mhash, for mhash support, [ --with-mhash[=DIR] Include mhash support.]) if test "$PHP_MHASH" != "no"; then - for i in /usr/local /usr /opt/mhash $PHP_MHASH; do + for i in $PHP_MHASH /usr/local /usr /opt/mhash; do if test -f $i/include/mhash.h; then MHASH_DIR=$i fi Index: php-src/ext/pfpro/config.m4 diff -u php-src/ext/pfpro/config.m4:1.9 php-src/ext/pfpro/config.m4:1.9.2.1 --- php-src/ext/pfpro/config.m4:1.9 Wed Oct 9 20:24:25 2002 +++ php-src/ext/pfpro/config.m4 Tue Sep 30 18:38:24 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.9 2002/10/10 00:24:25 sniper Exp $ +dnl $Id: config.m4,v 1.9.2.1 2003/09/30 22:38:24 iliaa Exp $ dnl PHP_ARG_WITH(pfpro, for Verisign Payflow Pro support, @@ -9,7 +9,7 @@ PFPRO_LIB=libpfpro.so PFPRO_HDR=pfpro.h - for i in /usr/local /usr $PHP_PFPRO; do + for i in $PHP_PFPRO /usr/local /usr; do if test -r $i/$PFPRO_HDR; then PFPRO_INC_DIR=$i elif test -r $i/include/$PFPRO_HDR; then Index: php-src/ext/session/config.m4 diff -u php-src/ext/session/config.m4:1.23 php-src/ext/session/config.m4:1.23.2.1 --- php-src/ext/session/config.m4:1.23 Wed Oct 2 02:05:16 2002 +++ php-src/ext/session/config.m4 Tue Sep 30 18:38:25 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.23 2002/10/02 06:05:16 sas Exp $ +dnl $Id: config.m4,v 1.23.2.1 2003/09/30 22:38:25 iliaa Exp $ dnl PHP_ARG_ENABLE(session, whether to enable PHP sessions, @@ -17,7 +17,7 @@ fi if test "$PHP_MM" != "no"; then - for i in /usr/local /usr $PHP_MM; do + for i in $PHP_MM /usr/local /usr; do if test -f "$i/include/mm.h"; then MM_DIR=$i fi Index: php-src/ext/mcrypt/config.m4 diff -u php-src/ext/mcrypt/config.m4:1.24.4.1 php-src/ext/mcrypt/config.m4:1.24.4.2 --- php-src/ext/mcrypt/config.m4:1.24.4.1 Fri Jan 31 10:06:45 2003 +++ php-src/ext/mcrypt/config.m4 Tue Sep 30 18:38:26 2003 @@ -1,12 +1,12 @@ dnl -dnl $Id: config.m4,v 1.24.4.1 2003/01/31 15:06:45 msopacua Exp $ +dnl $Id: config.m4,v 1.24.4.2 2003/09/30 22:38:26 iliaa Exp $ dnl PHP_ARG_WITH(mcrypt, for mcrypt support, [ --with-mcrypt[=DIR] Include mcrypt support.]) if test "$PHP_MCRYPT" != "no"; then - for i in /usr/local /usr $PHP_MCRYPT; do + for i in $PHP_MCRYPT /usr/local /usr; do if test -f $i/include/mcrypt.h; then MCRYPT_DIR=$i fi Index: php-src/ext/xmlrpc/config.m4 diff -u php-src/ext/xmlrpc/config.m4:1.18 php-src/ext/xmlrpc/config.m4:1.18.2.1 --- php-src/ext/xmlrpc/config.m4:1.18 Wed Sep 4 14:47:25 2002 +++ php-src/ext/xmlrpc/config.m4 Tue Sep 30 18:38:26 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.18 2002/09/04 18:47:25 sniper Exp $ +dnl $Id: config.m4,v 1.18.2.1 2003/09/30 22:38:26 iliaa Exp $ dnl sinclude(ext/xmlrpc/libxmlrpc/acinclude.m4) @@ -22,7 +22,7 @@ AC_DEFINE(HAVE_XMLRPC,1,[ ]) testval=no - for i in /usr /usr/local $PHP_EXPAT_DIR $XMLRPC_DIR; do + for i in $PHP_EXPAT_DIR $XMLRPC_DIR /usr /usr/local; do if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.$SHLIB_SUFFIX_NAME; then AC_DEFINE(HAVE_LIBEXPAT2,1,[ ]) PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, XMLRPC_SHARED_LIBADD) Index: php-src/ext/ovrimos/config.m4 diff -u php-src/ext/ovrimos/config.m4:1.4 php-src/ext/ovrimos/config.m4:1.4.4.1 --- php-src/ext/ovrimos/config.m4:1.4 Tue Mar 12 11:28:38 2002 +++ php-src/ext/ovrimos/config.m4 Tue Sep 30 18:38:27 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.4 2002/03/12 16:28:38 sas Exp $ +dnl $Id: config.m4,v 1.4.4.1 2003/09/30 22:38:27 iliaa Exp $ dnl PHP_ARG_WITH(ovrimos, for Ovrimos SQL Server support, @@ -7,7 +7,7 @@ Ovrimos libsqlcli install directory.]) if test "$PHP_OVRIMOS" != "no"; then - for i in /usr/local /usr $PHP_OVRIMOS; do + for i in $PHP_OVRIMOS /usr/local /usr; do if test -f $i/include/sqlcli.h; then OVRIMOS_DIR=$i fi Index: php-src/ext/readline/config.m4 diff -u php-src/ext/readline/config.m4:1.17.4.1 php-src/ext/readline/config.m4:1.17.4.2 --- php-src/ext/readline/config.m4:1.17.4.1 Mon Feb 10 22:24:56 2003 +++ php-src/ext/readline/config.m4 Tue Sep 30 18:38:28 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.17.4.1 2003/02/11 03:24:56 sniper Exp $ +dnl $Id: config.m4,v 1.17.4.2 2003/09/30 22:38:28 iliaa Exp $ dnl PHP_ARG_WITH(libedit,for libedit readline replacement, @@ -9,7 +9,7 @@ [ --with-readline[=DIR] Include readline support (CLI/CGI only).]) if test "$PHP_READLINE" != "no"; then - for i in /usr/local /usr $PHP_READLINE; do + for i in $PHP_READLINE /usr/local /usr; do if test -f $i/include/readline/readline.h; then READLINE_DIR=$i fi @@ -56,7 +56,7 @@ elif test "$PHP_LIBEDIT" != "no"; then - for i in /usr/local /usr $PHP_LIBEDIT; do + for i in $PHP_LIBEDIT /usr/local /usr; do if test -f $i/include/readline/readline.h; then LIBEDIT_DIR=$i fi Index: php-src/ext/gettext/config.m4 diff -u php-src/ext/gettext/config.m4:1.11 php-src/ext/gettext/config.m4:1.11.4.1 --- php-src/ext/gettext/config.m4:1.11 Tue Mar 12 11:19:14 2002 +++ php-src/ext/gettext/config.m4 Tue Sep 30 18:38:28 2003 @@ -1,12 +1,12 @@ dnl -dnl $Id: config.m4,v 1.11 2002/03/12 16:19:14 sas Exp $ +dnl $Id: config.m4,v 1.11.4.1 2003/09/30 22:38:28 iliaa Exp $ dnl PHP_ARG_WITH(gettext,for GNU gettext support, [ --with-gettext[=DIR] Include GNU gettext support.]) if test "$PHP_GETTEXT" != "no"; then - for i in /usr /usr/local $PHP_GETTEXT; do + for i in $PHP_GETTEXT /usr /usr/local; do if test -r $i/include/libintl.h; then GETTEXT_DIR=$i fi Index: php-src/ext/xslt/config.m4 diff -u php-src/ext/xslt/config.m4:1.30.2.3 php-src/ext/xslt/config.m4:1.30.2.4 --- php-src/ext/xslt/config.m4:1.30.2.3 Wed Sep 24 18:55:59 2003 +++ php-src/ext/xslt/config.m4 Tue Sep 30 18:38:29 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.30.2.3 2003/09/24 22:55:59 sniper Exp $ +dnl $Id: config.m4,v 1.30.2.4 2003/09/30 22:38:29 iliaa Exp $ dnl dnl +------------------------------------------------------------------------------+ dnl | This is where the magic of the extension reallly is. Depending on what | @@ -123,7 +123,7 @@ ]) if test "$PHP_SABLOT_JS" != "no"; then - for i in /usr/local /usr $PHP_SABLOT_JS; do + for i in $PHP_SABLOT_JS /usr/local /usr; do if test -f $i/lib/libjs.a -o -f $i/lib/libjs.$SHLIB_SUFFIX_NAME; then PHP_SABLOT_JS_DIR=$i fi
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php