[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with --with-sasl2-include/--with-sasl2-lib



When using separate --with-sasl2-include/--with-sasl2-lib, the
--with-sasl2-include gets ignored because HAVE_SASL_SASL_H doesn't get
set. Patch attached to fix it.

--
Alex Kiernan
Index: zmailer/configure.in
===================================================================
RCS file: /cvsroot/upstream/zmailer/configure.in,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 configure.in
--- zmailer/configure.in	6 May 2005 08:19:17 -0000	1.1.1.4
+++ zmailer/configure.in	4 Oct 2005 13:15:59 -0000
@@ -2768,7 +2768,8 @@
 AC_ARG_WITH(sasl2-prefix, [  --with-sasl2-prefix=/dir/path (defines both include and lib)],
         SASL2PREFIX="$withval")
 AC_ARG_WITH(sasl2-include, [  --with-sasl2-include=/dir/incl/path],
-        SASL2INCL="-I$withval")
+        [SASL2INCL="-I$withval"
+	AC_DEFINE(HAVE_SASL_SASL_H, 1, [Have <sasl/sasl.h> header])])
 AC_ARG_WITH(sasl2-lib, [  --with-sasl2-lib=/dir/lib/path],
         [if test -f "$withval/libsasl2.so" ; then
           SASL2LIB="$withval/libsasl2.so"