[Pkg-shadow-commits] r2302 - upstream/trunk

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Aug 30 18:32:44 UTC 2008


Author: nekral-guest
Date: 2008-08-30 18:32:43 +0000 (Sat, 30 Aug 2008)
New Revision: 2302

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/configure.in
Log:
	* configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
	not used in any Makefile.am).
	* configure.in: Make sure posix_spawn is present when configured
	with nscd support.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-30 18:32:19 UTC (rev 2301)
+++ upstream/trunk/ChangeLog	2008-08-30 18:32:43 UTC (rev 2302)
@@ -1,3 +1,10 @@
+2008-08-27  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* configure.in: Remove the USE_NSCD AM_CONDITIONAL (USE_NSCD is
+	not used in any Makefile.am).
+	* configure.in: Make sure posix_spawn is present when configured
+	with nscd support.
+
 2008-08-26  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* lib/groupmem.c, lib/pwmem.c, lib/shadowmem.c: Added brackets and
@@ -17,8 +24,8 @@
 	standard. Check if they are implemented before using them. Do not
 	set the time of links if lutimes() does not exist, and use
 	utimes() as a replacement for futimes().
-	* configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd flag to
-	support systems without nscd.
+	* configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd and
+	--without-nscd flags to support systems without nscd.
 	* lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:
 	Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
 	for the definition of uid_t and gid_t.

Modified: upstream/trunk/configure.in
===================================================================
--- upstream/trunk/configure.in	2008-08-30 18:32:19 UTC (rev 2301)
+++ upstream/trunk/configure.in	2008-08-30 18:32:43 UTC (rev 2302)
@@ -246,9 +246,10 @@
 		AC_DEFINE(USE_SHA_CRYPT, 1, [Define to allow the SHA256 and SHA512 password encryption algorithms])
 fi
 
-AM_CONDITIONAL(USE_NSCD, test "x$with_nscd" = "xyes")
 if test "$with_nscd" = "yes"; then
-	AC_DEFINE(USE_NSCD, 1, [Define to support flushing of nscd caches])
+	AC_CHECK_FUNC(posix_spawn,
+	              [AC_DEFINE(USE_NSCD, 1, [Define to support flushing of nscd caches])],
+	              [AC_MSG_ERROR([posix_spawn is needed for nscd support])])
 fi
 
 dnl Check for some functions in libc first, only if not found check for




More information about the Pkg-shadow-commits mailing list