diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2000-06-20 22:10:38 +0000 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2000-06-20 22:10:38 +0000 |
commit | ea488580c42e8918445a945484de3c8a5addc761 (patch) | |
tree | c992f3ba699caafedfadc16af38e6359c3c24698 /modules/pam_userdb/libdbfound.sh | |
download | pam-ea488580c42e8918445a945484de3c8a5addc761.tar.gz pam-ea488580c42e8918445a945484de3c8a5addc761.tar.bz2 pam-ea488580c42e8918445a945484de3c8a5addc761.zip |
Initial revision
Diffstat (limited to 'modules/pam_userdb/libdbfound.sh')
-rwxr-xr-x | modules/pam_userdb/libdbfound.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/pam_userdb/libdbfound.sh b/modules/pam_userdb/libdbfound.sh new file mode 100755 index 00000000..d6a1723b --- /dev/null +++ b/modules/pam_userdb/libdbfound.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ -f "/usr/include/ndbm.h" ]; then + echo "-DUSE_NDBM_H" + exit 0 +fi + +list=`/bin/ls /lib/libdb.so.* 2> /dev/null` +if [ -n "$list" ]; then + echo "" + exit 0 +fi + +echo "none" +exit 0 |