From ee0de20cf7603661369510744f6edc8bcf5764d5 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Fri, 5 Jan 2001 21:20:48 +0000 Subject: [PATCH] added --with-ssl-dir to specify an alternate installation of OpenSSL --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index 8907ac7..5878044 100644 --- a/configure.in +++ b/configure.in @@ -4,6 +4,13 @@ AM_PROG_CC_STDC if test $CC = gcc; then CFLAGS="$CFLAGS -pipe" fi +AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR location where openssl is insalled], + [if test -d $withval/lib; then + LIBS="$LIBS -L$withval/lib" + CFLAGS="$CFLAGS -I$withval/include" + else + AC_MSG_ERROR(can't find OpenSSL in $withval) + fi]) AC_CHECK_FUNCS(getopt_long) AC_CHECK_LIB(socket,socket) AC_CHECK_LIB(nsl,inet_ntoa)