summaryrefslogtreecommitdiff
path: root/modules/pam_userdb/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2000-12-03 23:35:29 +0000
committerAndrew G. Morgan <morgan@kernel.org>2000-12-03 23:35:29 +0000
commit49ec7989a58fef13b7235116af8ae04bd736d421 (patch)
treea90593cfd8bce3c05269f28ac6245b029e87770c /modules/pam_userdb/Makefile
parentd56ee3d363e0cb0512f5e911d6d69c26917db72d (diff)
Relevant BUGIDs: 124136
Purpose of commit: bugfix Commit summary: --------------- Makefile dependencies pam_userdb did not compile on a Red Hat 5.2 system. It does now.
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