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/mcrypt/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/mcrypt/config.m4')
| -rw-r--r-- | ext/mcrypt/config.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index 76c097cddd..4d9cc3eb06 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -25,9 +25,7 @@ PHP_ARG_WITH(mcrypt, for mcrypt support, if test "$PHP_MCRYPT" != "no"; then for i in $PHP_MCRYPT /usr/local /usr; do - if test -f $i/include/mcrypt.h; then - MCRYPT_DIR=$i - fi + test -f $i/include/mcrypt.h && MCRYPT_DIR=$i && break done if test -z "$MCRYPT_DIR"; then |
