Skip to content

Commit

Permalink
Change libdl and libz checks to warnings when not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfigus committed Mar 2, 2015
1 parent b5fad5f commit 13fd694
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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], [],
Expand Down

0 comments on commit 13fd694

Please sign in to comment.