summaryrefslogtreecommitdiff
path: root/modules/pam_userdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_userdb/Makefile')
-rw-r--r--modules/pam_userdb/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/pam_userdb/Makefile b/modules/pam_userdb/Makefile
index 8951fd91..aeee0c03 100644
--- a/modules/pam_userdb/Makefile
+++ b/modules/pam_userdb/Makefile
@@ -10,14 +10,14 @@ include ../../Make.Rules
TITLE=pam_userdb
+ifeq ($(HAVE_NDBM_H),yes)
+ WHICH_DB=ndbm
+ MODULE_SIMPLE_EXTRALIBS = -lndbm
+else
ifeq ($(HAVE_LIBDB),yes)
WHICH_DB=db
MODULE_SIMPLE_EXTRALIBS = -ldb
else
-ifeq ($(HAVE_LIBNDBM),yes)
- WHICH_DB=ndbm
- MODULE_SIMPLE_EXTRALIBS = -lndbm
-else
WHICH_DB=none
endif
endif