0d2f5634f8
db update and these modifications by Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.2 2003/12/08 17:42:34 sturm Exp $
|
|
--- configure.in.orig 2000-12-03 06:16:50.000000000 +0100
|
|
+++ configure.in 2003-12-03 23:11:27.000000000 +0100
|
|
@@ -109,13 +109,13 @@ AC_ARG_WITH(db,
|
|
AC_DEFINE(HAVE_DB_185_H)
|
|
DBINC="-I$withval/dist"
|
|
DBLIB="-L$withval/dist -ldb"
|
|
- elif test -f $withval/include/db_185.h -a \
|
|
- -f $withval/lib/libdb.a; then
|
|
+ elif test -f $withval/include/db/db_185.h -a \
|
|
+ -f $withval/lib/db/libdb.a; then
|
|
owd=`pwd`
|
|
if cd $withval; then withval=`pwd`; cd $owd; fi
|
|
AC_DEFINE(HAVE_DB_185_H)
|
|
- DBINC="-I$withval/include"
|
|
- DBLIB="-L$withval/lib -ldb"
|
|
+ DBINC="-I$withval/include/db"
|
|
+ DBLIB="-L$withval/lib/db -ldb"
|
|
else
|
|
AC_ERROR(db_185.h or libdb.a not found in $withval or not configured with --enable-compat185)
|
|
fi
|
|
@@ -307,7 +307,7 @@ AC_ARG_WITH(openssl,
|
|
owd=`pwd`
|
|
if cd $withval; then withval=`pwd`; cd $owd; fi
|
|
SSLINC="-I$withval/include"
|
|
- SSLLIB="-L$withval/lib -lssl -lcrypto"
|
|
+ SSLLIB="-L$withval/lib -lssl -lcrypto -ldes"
|
|
else
|
|
AC_ERROR(ssl.h or libssl.a not found in $withval)
|
|
fi
|
|
@@ -316,12 +316,12 @@ AC_ARG_WITH(openssl,
|
|
esac ],
|
|
[ if test -f ${prefix}/include/openssl/ssl.h; then
|
|
SSLINC="-I${prefix}/include"
|
|
- SSLLIB="-L${prefix}/lib -lssl -lcrypto"
|
|
+ SSLLIB="-L${prefix}/lib -lssl -lcrypto -ldes"
|
|
elif test -f ${prefix}/ssl/include/openssl/ssl.h; then
|
|
SSLINC="-I${prefix}/ssl/include"
|
|
- SSLLIB="-L${prefix}/ssl/lib -lssl -lcrypto"
|
|
+ SSLLIB="-L${prefix}/ssl/lib -lssl -lcrypto -ldes"
|
|
elif test -f /usr/include/openssl/ssl.h; then
|
|
- SSLLIB="-lssl -lcrypto"
|
|
+ SSLLIB="-lssl -lcrypto -ldes"
|
|
else
|
|
AC_MSG_RESULT(no)
|
|
AC_ERROR(OpenSSL not found)
|