blob: 99a391a3149bc35773e565e05d9a6cfec23397c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Index: Linux-PAM-0.99.3.0/configure.in
===================================================================
--- Linux-PAM-0.99.3.0.orig/configure.in
+++ Linux-PAM-0.99.3.0/configure.in
@@ -175,9 +175,15 @@ dnl
dnl options and defaults
dnl
-AM_PATH_LIBPRELUDE([0.9.0])
-if test "$LIBPRELUDE_CONFIG" != "no" ; then
- LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1"
+AC_ARG_ENABLE([prelude],
+ AS_HELP_STRING([--disable-prelude],
+ [Disable building of prelude support (default: check)]))
+
+if test "x$enable_prelude" != "xno"; then
+ AM_PATH_LIBPRELUDE([0.9.0])
+ if test "$LIBPRELUDE_CONFIG" != "no" ; then
+ LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1"
+ fi
fi
dnl lots of debugging information goes to /var/run/pam-debug.log
|