added --with-ssl-dir to specify an alternate installation of OpenSSL
This commit is contained in:
parent
21ac8842b4
commit
ee0de20cf7
|
@ -4,6 +4,13 @@ AM_PROG_CC_STDC
|
||||||
if test $CC = gcc; then
|
if test $CC = gcc; then
|
||||||
CFLAGS="$CFLAGS -pipe"
|
CFLAGS="$CFLAGS -pipe"
|
||||||
fi
|
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_FUNCS(getopt_long)
|
||||||
AC_CHECK_LIB(socket,socket)
|
AC_CHECK_LIB(socket,socket)
|
||||||
AC_CHECK_LIB(nsl,inet_ntoa)
|
AC_CHECK_LIB(nsl,inet_ntoa)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user