]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
unfinished roland/disable-nis
authorRoland McGrath <roland@hack.frob.com>
Fri, 17 Aug 2012 17:48:10 +0000 (10:48 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 17 Aug 2012 17:48:10 +0000 (10:48 -0700)
ChangeLog
config.make.in
configure.in

index f050559d83d9be6edffa8069ad1d0ead49ec7635..3df34fb7d3eb2a17136088270ce2f15b6e42ed3a 100644 (file)
--- 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.
index 65410abe1b95c4280e47df7e2ce3945da55b7eda..33013a8e1a1f348199b8c1314418f140887a4107 100644 (file)
@@ -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@
index 1219b9fb8a7c28e90179c8cdd26d9f7350ce6472..cb05d76e5bc155268cfe4b950074f1897dd98458 100644 (file)
@@ -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