commit ee0de20cf7603661369510744f6edc8bcf5764d5 parent 21ac8842b48ec8612399dce8edd5a7b8196e6ef2 Author: Michael Elkins <me@mutt.org> Date: Fri, 5 Jan 2001 21:20:48 +0000 added --with-ssl-dir to specify an alternate installation of OpenSSL Diffstat:
M | configure.in | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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)