More config fixes

This commit is contained in:
Damien Miller 2000-03-11 20:05:11 +11:00
parent 02491e9632
commit d58b3abe0e
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
- OpenBSD CVS change - OpenBSD CVS change
[sshd.c] [sshd.c]
- disallow guessing of root password - disallow guessing of root password
- More configure fixes
20000309 20000309
- OpenBSD CVS updates to v1.2.3 - OpenBSD CVS updates to v1.2.3

View File

@ -151,10 +151,10 @@ fi
AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
if test ! -z "$ssldir" ; then if test ! -z "$ssldir" ; then
LIBS="$saved_LIBS -L$ssldir -lcrypto" LIBS="$saved_LIBS -L$ssldir/lib -L$ssldir -lcrypto"
CFLAGS="$CFLAGS -I$ssldir/include" CFLAGS="$CFLAGS -I$ssldir/include"
if test "x$need_dash_r" = "x1" ; then if test "x$need_dash_r" = "x1" ; then
LIBS="$LIBS -R$ssldir/lib" LIBS="$LIBS -R$ssldir/lib -L$ssldir"
fi fi
else else
LIBS="$saved_LIBS -lcrypto" LIBS="$saved_LIBS -lcrypto"