This commit was manufactured by cvs2svn to create branch 'gtk2'.
[claws.git] / ac / spamassassin.m4
index 0572e0602e2de6fd516e57ef4f88703c57c8eac1..036203cc974ced819394a9d7deb16ad62bef84ed 100644 (file)
@@ -1,6 +1,6 @@
 dnl check for libspamc required includes
 
-AC_DEFUN(AC_SPAMASSASSIN,
+AC_DEFUN([AC_SPAMASSASSIN],
 [dnl
 
 AC_CHECK_HEADERS(sys/time.h syslog.h unistd.h errno.h sys/errno.h)
@@ -21,13 +21,6 @@ fi
 
 dnl ----------------------------------------------------------------------
 
-AC_CHECK_LIB(socket, socket)
-AC_CHECK_LIB(ssl, SSL_CTX_free)
-AC_CHECK_LIB(crypto, CRYPTO_lock)
-AC_CHECK_LIB(inet, connect)
-AC_CHECK_LIB(nsl, t_accept)
-AC_CHECK_LIB(dl, dlopen)
-
 AC_CHECK_FUNCS(socket strdup strtod strtol snprintf shutdown)
 
 dnl ----------------------------------------------------------------------
@@ -89,8 +82,8 @@ if test $haveexmax = yes ; then
   AC_DEFINE(HAVE_EX__MAX, 1, HAVE_EX__MAX)
 fi
 
-if test ! -z $USE_OPENSSL; then
+if test "$USE_OPENSSL" -ne 0; then
     AC_DEFINE(SPAMC_SSL, 1, Compile libspamc with OpenSSL support)
 fi
 
-])
\ No newline at end of file
+])