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