sniper Thu Oct 13 15:28:50 2005 EDT
Modified files:
/php-src/ext/iconv config.m4
Log:
proper quoting, breaking, etc.
http://cvs.php.net/diff.php/php-src/ext/iconv/config.m4?r1=1.36&r2=1.37&ty=u
Index: php-src/ext/iconv/config.m4
diff -u php-src/ext/iconv/config.m4:1.36 php-src/ext/iconv/config.m4:1.37
--- php-src/ext/iconv/config.m4:1.36 Thu Oct 13 11:22:20 2005
+++ php-src/ext/iconv/config.m4 Thu Oct 13 15:28:47 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.36 2005/10/13 15:22:20 tony2001 Exp $
+dnl $Id: config.m4,v 1.37 2005/10/13 19:28:47 sniper Exp $
dnl
PHP_ARG_WITH(iconv, for iconv support,
@@ -18,9 +18,10 @@
iconv_ldflags_save="$LDFLAGS"
if test -z "$ICONV_DIR"; then
- for i in /usr /usr/local; do
- if test -f "$i/include/iconv.h" -o test -f "$i/include/giconv.h"; then
+ for i in /usr/local /usr; do
+ if test -f "$i/include/iconv.h" || test -f "$i/include/giconv.h"; then
PHP_ICONV_PREFIX="$i"
+ break
fi
done
if test -z "$PHP_ICONV_PREFIX"; then
@@ -33,7 +34,7 @@
CFLAGS="-I$PHP_ICONV_PREFIX/include $CFLAGS"
LDFLAGS="-L$PHP_ICONV_PREFIX/$PHP_LIBDIR $LDFLAGS"
- if test -r $PHP_ICONV_PREFIX/include/giconv.h; then
+ if test -r "$PHP_ICONV_PREFIX/include/giconv.h"; then
PHP_ICONV_H_PATH="$PHP_ICONV_PREFIX/include/giconv.h"
else
PHP_ICONV_H_PATH="$PHP_ICONV_PREFIX/include/iconv.h"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php