summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1219b9fb8a..cb05d76e5b 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