[specify a path to gtest header files (PATH/include) and library (PATH/lib)])],
[gtest_path="$withval"; enable_gtest="yes"], [gtest_path="no"])
-AC_ARG_WITH(lcov,
-[ --with-lcov[=PROGRAM] enable gtest and coverage target using the specified lcov], lcov="$withval", lcov="no")
+AC_ARG_WITH([lcov],
+ [AS_HELP_STRING([--with-lcov=PROGRAM],
+ [enable gtest and coverage target using the specified lcov])],
+ [lcov="$withval"],
+ [lcov="no"])
USE_LCOV="no"
if test "$lcov" != "no"; then
if test "${use_openssl}" = "/usr" ; then
CRYPTO_CFLAGS=""
CRYPTO_INCLUDES=""
- CRYPTO_LIBS="-lcrypto"
+ CRYPTO_LIBS="-lcrypto -lssl"
DISTCHECK_CRYPTO_CONFIGURE_FLAG="--with-openssl"
else
CRYPTO_CFLAGS=""
DISTCHECK_CRYPTO_CONFIGURE_FLAG="--with-openssl=${use_openssl}"
case $host in
*-solaris*)
- CRYPTO_LIBS="-L${use_openssl}/lib -R${use_openssl}/lib -lcrypto"
+ CRYPTO_LIBS="-L${use_openssl}/lib -R${use_openssl}/lib -lcrypto -lssl"
;;
*-hp-hpux*)
- CRYPTO_LIBS="-L${use_openssl}/lib -Wl,+b: -lcrypto"
+ CRYPTO_LIBS="-L${use_openssl}/lib -Wl,+b: -lcrypto -lssl"
;;
*-apple-darwin*)
if test -f "${use_openssl}/lib/libcrypto.dylib" ; then
- CRYPTO_LIBS="-L${use_openssl}/lib -lcrypto"
+ CRYPTO_LIBS="-L${use_openssl}/lib -lcrypto -lssl"
else
CRYPTO_LIBS="${use_openssl}/lib/libcrypto.a"
fi
;;
*)
- CRYPTO_LIBS="-L${use_openssl}/lib -lcrypto"
+ CRYPTO_LIBS="-L${use_openssl}/lib -lcrypto -lssl"
;;
esac
fi