summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2012-09-03 19:56:45 -0400
committerJason Woodward2012-09-03 19:56:45 -0400
commit0185b4624a0b9a282114a3b98ed276221a04157b (patch)
tree9ece04467587386c3231cc119c69eb32cccd9a45
parent33b88937f573858000fa274a97d95026960ec0e9 (diff)
downloadgslapt-0185b4624a0b9a282114a3b98ed276221a04157b.tar.gz
use AC_SEARCH_LIBS for EVP_md5 in libssl or libcrypto0.5.3h
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 13f1387..26be089 100644
--- a/configure.in
+++ b/configure.in
@@ -34,7 +34,7 @@ AC_CHECK_HEADER(curl/curl.h, [], [AC_MSG_ERROR(libcurl headers are missing)])
AC_CHECK_HEADER(slapt.h, [], [AC_MSG_ERROR(libslapt headers are missing)])
AC_CHECK_LIB(z,gzopen, [LIBS="$LIBS -lz"], [AC_MSG_ERROR(libz is missing)])
AC_CHECK_LIB(curl,curl_global_init, [LIBS="$LIBS `curl-config --libs`"], [AC_MSG_ERROR(curl libs are missing)])
-AC_CHECK_LIB(ssl,EVP_md5, [LIBS="$LIBS -lssl"], [AC_MSG_ERROR(openssl libs are missing)])
+AC_SEARCH_LIBS([EVP_md5],[ssl crypto],[],[AC_MSG_ERROR(openssl libs are missing)])
AC_CHECK_LIB(gpgme,gpgme_new, [
LIBS="`gpgme-config --libs` $LIBS"
AC_CHECK_LIB(slapt,slapt_add_pkg_source_gpg_key,