summaryrefslogtreecommitdiff
path: root/ext/gettext/config.m4
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/gettext/config.m4
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/gettext/config.m4')
-rw-r--r--ext/gettext/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gettext/config.m4 b/ext/gettext/config.m4
index f4a6fc34e9..6cb1dd91c1 100644
--- a/ext/gettext/config.m4
+++ b/ext/gettext/config.m4
@@ -6,7 +6,7 @@ PHP_ARG_WITH(gettext,for GNU gettext support,
[ --with-gettext[=DIR] Include GNU gettext support.])
if test "$PHP_GETTEXT" != "no"; then
- for i in /usr /usr/local $PHP_GETTEXT; do
+ for i in $PHP_GETTEXT /usr /usr/local; do
if test -r $i/include/libintl.h; then
GETTEXT_DIR=$i
fi