head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2003.03.23.00.09.51; author swiergot; state Exp; branches; next 1.3; 1.3 date 2003.03.22.23.19.50; author swiergot; state Exp; branches; next 1.2; 1.2 date 2003.03.22.16.51.47; author swiergot; state Exp; branches; next 1.1; 1.1 date 2003.03.21.21.43.54; author swiergot; state Exp; branches; next ; desc @@ 1.4 log @- Fixed smtpd-*.conf files. Now SMTP AUTH should finally work. @ text @diff -u makedefs.orig makedefs --- makedefs.orig 2003-01-23 14:45:02.000000000 +0100 +++ makedefs 2003-03-22 17:48:55.000000000 +0100 @@@@ -302,6 +302,13 @@@@ ;; esac +# +# Enable SASL. +# + +CCARGS="$CCARGS -DUSE_SASL_AUTH -I/usr/include/sasl" +AUXLIBS="$AUXLIBS -L/usr/lib -lsasl2" + # Defaults that can be overruled (make makefiles CC=cc OPT=-O6 DEBUG=) # Disable optimizations by default when compiling for Purify. Disable # optimizations by default with gcc 2.8, until the compiler is known to @ 1.3 log @- Fixed sasl.conf. @ text @@ 1.2 log @- Fixed SASL patches. @ text @@ 1.1 log @- Added support for Cyrus SASL. @ text @d1 1 d3 2 a4 17 +++ makedefs 2003-03-21 22:24:38.000000000 +0100 @@@@ -181,7 +181,7 @@@@ : we are all set elif [ -f /usr/include/db/db.h ] then - CCARGS="$CCARGS -I/usr/include/db" + CCARGS="$CCARGS -I/usr/include/db -DUSE_SASL_AUTH -I/usr/include/sasl" else # No, we're not going to try db1 db2 db3 etc. # On a properly installed system, Postfix builds @@@@ -297,7 +297,7 @@@@ *) pcre_cflags=`(pcre-config --cflags) 2>/dev/null` && pcre_libs=`(pcre-config --libs) 2>/dev/null` && { CCARGS="$CCARGS -DHAS_PCRE $pcre_cflags" - AUXLIBS="$AUXLIBS $pcre_libs" + AUXLIBS="$AUXLIBS $pcre_libs -L/usr/lib -lsasl2" } d7 11 @ .