Hi,

trying to make the courier-mta package in pkgsrc build again I discovered
a bug in the file courier/configure.in. The bug is still present in the
latest CVS revision.

If the LDAP libraries can be found support for LDAP will always be built
without regard to the presence of "--without-ldapaliasd".
This behaviour is caused by a typo in the autoconf macro AC_ARG_WITH
checking for "--without-ldapaliasd".
The appended small patch (against revision 1.120) corrects this.

ciao
     Klaus

$NetBSD$

--- courier/configure.in.orig   2009-11-22 21:05:03.000000000 +0000
+++ courier/configure.in
@@ -244,7 +244,8 @@ AC_CHECK_FUNC(ldap_search_st, HAVE_LDAP=
 LIBS="$saveLIBS"
 
 AC_ARG_WITH(ldapaliasd, [ --without-ldapaliasd ],
-                       ldapaliasd="$withval"; ldapaliasd="yes")
+                       ldapaliasd="$withval",
+                       ldapaliasd="yes")
 
 if test "$ldapaliasd" = "no"
 then
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to