Skip to content

Commit c1ad138

Browse files
committed
Modify the config.m4
1 parent 373964c commit c1ad138

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

config.m4

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ if test "$PHP_OPENSSL" != "no"; then
1313
else
1414
AC_MSG_CHECKING([for OpenSSL library in default path])
1515
for i in $SEARCH_PATH ; do
16-
for p in /openssl /ssl /; do
17-
if test -r $i$p/$SEARCH_FOR; then
18-
OPENSSL_DIR=$i$p
19-
AC_MSG_RESULT(found in $i$p)
20-
fi
21-
done
16+
if test -r $i/$SEARCH_FOR; then
17+
OPENSSL_DIR=$i
18+
AC_MSG_RESULT(found in $i)
19+
fi
2220
done
2321
fi
2422

0 commit comments

Comments
 (0)