changeset 9158:69aa6e878a59 HEAD

configure: Removed --with-* parameters for passdbs/userdbs that don't require external libraries. There's really no point in disabling them in configure stage.
author Timo Sirainen <tss@iki.fi>
date Thu, 23 Apr 2009 14:07:45 -0400
parents ee378a4ba6cd
children 6324a79d3ee1
files configure.in
diffstat 1 files changed, 7 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Apr 23 14:02:09 2009 -0400
+++ b/configure.in	Thu Apr 23 14:07:45 2009 -0400
@@ -68,21 +68,11 @@
 		[Linux quota version to use])
 )
 
-AC_ARG_WITH(passwd,
-[  --with-passwd           Build with /etc/passwd support (default)],
-  TEST_WITH(passwd, $withval),
-  want_passwd=yes)
-
 AC_ARG_WITH(nss,
 [  --with-nss              Build with NSS module support (auto)],
   TEST_WITH(nss, $withval),
   want_nss=auto)
 
-AC_ARG_WITH(passwd-file,
-[  --with-passwd-file      Build with passwd-like file support (default)],
-  TEST_WITH(passwd-file, $withval),
-  want_passwd_file=yes)
-
 AC_ARG_WITH(shadow,
 [  --with-shadow           Build with shadow password support (auto)],
   TEST_WITH(shadow, $withval),
@@ -93,11 +83,6 @@
   TEST_WITH(pam, $withval),
   want_pam=auto)
 
-AC_ARG_WITH(checkpassword,
-[  --with-checkpassword    Build with checkpassword support (default)],
-  TEST_WITH(checkpassword, $withval),
-  want_checkpassword=yes)
-
 AC_ARG_WITH(bsdauth,
 [  --with-bsdauth          Build with BSD authentication support (auto)],
   TEST_WITH(bsdauth, $withval),
@@ -135,16 +120,6 @@
 		vpopmail_home="`echo ~vpopmail`"
 	])
 
-AC_ARG_WITH(static-userdb,
-[  --with-static-userdb    Build with static userdb support (default)],
-  TEST_WITH(static-userdb, $withval),
-  want_static_userdb=yes)
-
-AC_ARG_WITH(prefetch-userdb,
-[  --with-prefetch-userdb  Build with prefetch userdb support (default)],
-  TEST_WITH(prefetch-userdb, $withval),
-  want_prefetch_userdb=yes)
-
 AC_ARG_WITH(db,
 [  --with-db               Build with Berkeley DB support],
   TEST_WITH(db, $withval),
@@ -290,6 +265,13 @@
 	want_headers=no)
 AM_CONDITIONAL(INSTALL_HEADERS, test "$want_headers" = "yes")
 
+dnl always enable all of the passbs and userdbs that don't require extra libs
+want_passwd=yes
+want_passwd_file=yes
+want_checkpassword=yes
+want_static_userdb=yes
+want_prefetch_userdb=yes
+
 AC_ISC_POSIX
 AC_PROG_CC
 AC_PROG_CPP