- [LIB_CRYPTO='-lcrypto'
- AC_DEFINE([HAVE_OPENSSL_$1],[1],
- [Define to 1 if libcrypto is used for $1])])])
- if test "x$with_openssl" = xyes; then
- if test "x$LIB_CRYPTO" = x; then
+ [LIB_CRYPTO=-lcrypto
+ AC_DEFINE([HAVE_OPENSSL_$1], [1],
+ [Define to 1 if libcrypto is used for $1.])])])
+ if test "x$LIB_CRYPTO" = x; then
+ if test "x$with_openssl" = xyes; then
+ AC_MSG_ERROR([openssl development library not found for $1])
+ elif test "x$with_openssl" = xoptional; then