mds/net-print/cups/files/cups-1.3.0-configure.patch
geos_one 4333ad47b1 add ldap draft support
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@867 6952d904-891a-0410-993b-d76249ca496b
2009-03-13 22:03:41 +00:00

19 lines
651 B
Diff

diff -Naur cups-1.3.3/config-scripts/cups-common.m4 cups-1.3.3.new/config-scripts/cups-common.m4
--- cups-1.3.3/config-scripts/cups-common.m4 2007-09-28 22:40:03.000000000 +0200
+++ cups-1.3.3.new/config-scripts/cups-common.m4 2007-10-04 14:40:49.414154416 +0200
@@ -270,7 +270,12 @@
dnl See if we have POSIX ACL support...
SAVELIBS="$LIBS"
LIBS=""
-AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT))
+
+AC_ARG_ENABLE(acl, [ --enable-acl enable POSIX ACL support, default=auto])
+if test "x$enable_acl" != xno; then
+ AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT))
+fi
+
CUPSDLIBS="$CUPSDLIBS $LIBS"
LIBS="$SAVELIBS"