diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 3501f85..f763792 100644 --- a/configure.in +++ b/configure.in @@ -177,7 +177,8 @@ dnl static NSS modules. AC_ARG_ENABLE(static-nss, dnl [ --enable-static-nss build static NSS modules [default=no]], static_nss=$enableval, static_nss=no) -if test x"$static_nss" = xyes; then +dnl Enable static NSS also if we build no shared objects. +if test x"$static_nss" = xyes || test x"$shared" = xno; then AC_DEFINE(DO_STATIC_NSS) fi |