0.8.10claws2
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 12 Feb 2003 15:06:43 +0000 (15:06 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 12 Feb 2003 15:06:43 +0000 (15:06 +0000)
* ac/spamassassin.m4
* src/plugins/spamassassin/Makefile.am
        fix building SpamAssassin plugin without OpenSSL

ac/spamassassin.m4
src/plugins/spamassassin/Makefile.am

index 0572e06..6226fac 100644 (file)
@@ -89,7 +89,7 @@ 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
 
index d399953..04f8167 100644 (file)
@@ -16,7 +16,8 @@ spamassassin_gtk_la_SOURCES = \
 
 spamassassin_gtk_la_LDFLAGS = \
        -avoid-version -module \
-       $(GTK_LIBS)
+       $(GTK_LIBS) \
+       $(OPENSSL_LIBS)
 
 INCLUDES = \
        -I../.. \
@@ -26,7 +27,8 @@ INCLUDES = \
 CPPFLAGS = \
        $(ASPELL_CFLAGS) \
        $(GLIB_CFLAGS) \
-       $(GTK_CFLAGS)
+       $(GTK_CFLAGS) \
+       $(OPENSSL_CFLAGS)
 
 EXTRA_DIST = \
        README