mds/net-print/cups/files/cups-1.3.0-configure.patch

19 lines
651 B
Diff
Raw Normal View History

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"