summaryrefslogtreecommitdiff
path: root/ext/crack
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-11-13 11:38:22 +0000
committerfoobar <sniper@php.net>2001-11-13 11:38:22 +0000
commita6d9db7dc1846157558bd7005bc61b5a4a50ab77 (patch)
treea893a2d2c23e1ef31548affe7b3a0d6e4e4a9160 /ext/crack
parent5fc1552c04dd76863efdbd830da4328f0efedf30 (diff)
downloadphp-git-a6d9db7dc1846157558bd7005bc61b5a4a50ab77.tar.gz
Fixed bug introduced by my last commit.
Diffstat (limited to 'ext/crack')
-rw-r--r--ext/crack/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/crack/config.m4 b/ext/crack/config.m4
index 0f60b4c46a..fbcca92946 100644
--- a/ext/crack/config.m4
+++ b/ext/crack/config.m4
@@ -5,11 +5,11 @@ PHP_ARG_WITH(crack, whether to include crack support,
if test "$PHP_CRACK" != "no"; then
- for i in /usr/local/lib /usr/lib $PHP_CRACK $PHP_CRACK/cracklib; do
- test -f $i/lib/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/lib/libcrack.a && CRACK_LIBDIR=$i
+ for i in /usr/local/lib /usr/lib $PHP_CRACK/lib $PHP_CRACK/cracklib; do
+ test -f $i/lib/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a && CRACK_LIBDIR=$i
done
- for i in /usr/local/include /usr/include $PHP_CRACK $PHP_CRACK/cracklib; do
+ for i in /usr/local/include /usr/include $PHP_CRACK/include $PHP_CRACK/cracklib; do
test -f $i/packer.h && CRACK_INCLUDEDIR=$i
done