diff options
| author | foobar <sniper@php.net> | 2003-10-01 02:53:23 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2003-10-01 02:53:23 +0000 |
| commit | dc080a5db6f31c5d174dc0cc097da509c2533142 (patch) | |
| tree | 39482ab88773c67f3b569e6e34bdfc02f818aec2 /ext/recode/config.m4 | |
| parent | 5b17050a79fff705bc446446d35525d776b78de7 (diff) | |
| download | php-git-dc080a5db6f31c5d174dc0cc097da509c2533142.tar.gz | |
- Always look into /usr/local before /usr
- Added breaks to make sure the preferred value is used.
Diffstat (limited to 'ext/recode/config.m4')
| -rw-r--r-- | ext/recode/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/recode/config.m4 b/ext/recode/config.m4 index aae118a76b..aa94914df8 100644 --- a/ext/recode/config.m4 +++ b/ext/recode/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_WITH(recode,for recode support, [ --with-recode[=DIR] Include recode support.]) if test "$PHP_RECODE" != "no"; then - RECODE_LIST="$PHP_RECODE /usr /usr/local /opt" + RECODE_LIST="$PHP_RECODE /usr/local /usr /opt" for i in $RECODE_LIST; do if test -f $i/include/recode.h; then @@ -24,6 +24,7 @@ if test "$PHP_RECODE" != "no"; then RECODE_INC=include RECODE_LIB=lib fi + test -n "$RECODE_DIR" && break done if test -z "$RECODE_DIR"; then |
