From: foobar Date: Fri, 12 Aug 2005 00:15:03 +0000 (+0000) Subject: No tabs in config* files! X-Git-Tag: PRE_NEW_OCI8_EXTENSION~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=735b138e56ed31c97695ac6f0de730eaa9398739;p=php No tabs in config* files! --- diff --git a/configure.in b/configure.in index fd8076f3f6..5857ca0cea 100644 --- a/configure.in +++ b/configure.in @@ -769,27 +769,28 @@ dnl ## until we bundle it PHP_ARG_WITH(icu-dir,[location of ICU headers and libraries], [ --with-icu-dir=DIR Specify where ICU libraries and headers can be found], DEFAULT, no) if test "$PHP_ICU_DIR" = "DEFAULT"; then - AC_MSG_CHECKING(for ICU in default path) - for i in /usr/local /usr; do - if test -r $i/include/unicode/utypes.h; then - ICU_DIR=$i - AC_MSG_RESULT(found in $i) - break - fi - done + AC_MSG_CHECKING(for ICU in default path) + for i in /usr/local /usr; do + if test -r $i/include/unicode/utypes.h; then + ICU_DIR=$i + AC_MSG_RESULT(found in $i) + break + fi + done else - if test -f $PHP_ICU_DIR/include/unicode/utypes.h; then - ICU_DIR=$PHP_ICU_DIR - fi + if test -f $PHP_ICU_DIR/include/unicode/utypes.h; then + ICU_DIR=$PHP_ICU_DIR + fi fi if test -z "$ICU_DIR"; then - AC_MSG_RESULT(not found) - AC_MSG_ERROR(Please specify where ICU libraries and header file are located) + AC_MSG_RESULT(not found) + AC_MSG_ERROR(Please specify where ICU libraries and header file are located) fi ICU_CONFIG="icu-config" if ${ICU_DIR}/bin/icu-config --ldflags > /dev/null 2>&1; then ICU_CONFIG=${ICU_DIR}/bin/icu-config fi + AC_MSG_CHECKING(for ICU 3.4 or greater) icu_version_full=`$ICU_CONFIG --version` icu_version=`echo ${icu_version_full} | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) ;}'`