This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch roland/disable-nis created. glibc-2.16-ports-merge-215-g73e70c3
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 22 Aug 2012 20:19:05 -0000
- Subject: GNU C Library master sources branch roland/disable-nis created. glibc-2.16-ports-merge-215-g73e70c3
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, roland/disable-nis has been created
at 73e70c30b00cceba63325e7808c3accdc359a7db (commit)
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=73e70c30b00cceba63325e7808c3accdc359a7db
commit 73e70c30b00cceba63325e7808c3accdc359a7db
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Aug 17 10:48:10 2012 -0700
unfinished
diff --git a/ChangeLog b/ChangeLog
index f050559..3df34fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-08-17 Roland McGrath <roland@hack.frob.com>
+ * configure.in (build_nis): New substituted variable, set
+ by new --disable-nis option.
+ * config.make.in (build-nis): New variable, set from that.
+
* bits/param.h: New file.
* misc/sys/param.h: New file.
* include/sys/param.h: New file.
diff --git a/config.make.in b/config.make.in
index 65410ab..33013a8 100644
--- a/config.make.in
+++ b/config.make.in
@@ -99,6 +99,7 @@ sysdeps-add-ons = @sysdeps_add_ons@
cross-compiling = @cross_compiling@
force-install = @force_install@
link-obsolete-rpc = @link_obsolete_rpc@
+build-nis = @build_nis@
# Build tools.
CC = @CC@
diff --git a/configure.in b/configure.in
index 1219b9f..cb05d76 100644
--- a/configure.in
+++ b/configure.in
@@ -292,6 +292,13 @@ void foo (int i, void *p)
fi
fi
+AC_ARG_ENABLE([nis],
+ [AS_HELP_STRING([--disable-nis],
+ [do not build NIS and NIS+ support (nsswitch modules)])],
+ [build_nis=$enableval],
+ [build_nis=yes])
+AC_SUBST(build_nis)
+
# The way shlib-versions is used to generate soversions.mk uses a
# fairly simplistic model for name recognition that can't distinguish
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources