summaryrefslogtreecommitdiff
path: root/ext/mcrypt
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-09-30 22:36:43 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-09-30 22:36:43 +0000
commit526a3d9ce269980f78f13107eaa1c792c48edf0e (patch)
tree30e2bd9841a2c56d8ec90014f12a9b00f49e9508 /ext/mcrypt
parent3f415b2c4b8d19558449066878914bc9bf2bf338 (diff)
downloadphp-git-526a3d9ce269980f78f13107eaa1c792c48edf0e.tar.gz
Always prefer user specified paths over the default /usr /usr/local.
This may fix compilation problems with on systems with multiple copies of the same library.
Diffstat (limited to 'ext/mcrypt')
-rw-r--r--ext/mcrypt/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4
index 183cc324f6..76c097cddd 100644
--- a/ext/mcrypt/config.m4
+++ b/ext/mcrypt/config.m4
@@ -24,7 +24,7 @@ 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