From 13fd694ae216fcdbc7165bcf77be9e5a1acbecfa Mon Sep 17 00:00:00 2001 From: jfigus Date: Mon, 2 Mar 2015 09:09:13 -0500 Subject: [PATCH] Change libdl and libz checks to warnings when not found. --- configure | 12 ++++-------- configure.in | 4 ++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/configure b/configure index cf6b98665..bd5b43eb9 100755 --- a/configure +++ b/configure @@ -4882,10 +4882,8 @@ _ACEOF LIBS="-ldl $LIBS" else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "can't find libdl -See \`config.log' for more details" "$LINENO" 5; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find libdl" >&5 +$as_echo "$as_me: WARNING: can't find libdl" >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 @@ -4932,10 +4930,8 @@ _ACEOF LIBS="-lz $LIBS" else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "can't find libz -See \`config.log' for more details" "$LINENO" 5; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find libz" >&5 +$as_echo "$as_me: WARNING: can't find libz" >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5 diff --git a/configure.in b/configure.in index 444528c92..232483de9 100644 --- a/configure.in +++ b/configure.in @@ -143,9 +143,9 @@ if test "$enable_openssl" = "yes"; then CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"; AC_CHECK_LIB([dl], [dlopen], [], - [AC_MSG_FAILURE([can't find libdl])]) + [AC_MSG_WARN([can't find libdl])]) AC_CHECK_LIB([z], [inflate], [], - [AC_MSG_FAILURE([can't find libz])]) + [AC_MSG_WARN([can't find libz])]) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])]) AC_CHECK_LIB([crypto], [EVP_aes_128_ctr], [],