diff options
Diffstat (limited to 'mail/nmh/files/patch-configure')
-rw-r--r-- | mail/nmh/files/patch-configure | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/mail/nmh/files/patch-configure b/mail/nmh/files/patch-configure new file mode 100644 index 000000000000..48bc5491669b --- /dev/null +++ b/mail/nmh/files/patch-configure @@ -0,0 +1,39 @@ +--- configure.orig 2005-12-20 15:37:46.000000000 +1100 ++++ configure 2005-12-24 00:38:23.000000000 +1100 +@@ -8036,7 +8036,7 @@ + + + +-for ac_header in db1/ndbm.h gdbm/ndbm.h db.h ++for ac_header in db1/ndbm.h ndbm.h gdbm/ndbm.h db.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if eval "test \"\${$as_ac_Header+set}\" = set"; then +@@ -8188,7 +8188,7 @@ + + + +-if test "x" == "x"; then ++if test "x" = "x"; then + nmh_libs= + nmh_testname=libc + else +@@ -8213,6 +8213,9 @@ + #ifdef HAVE_DB1_NDBM_H + #include <db1/ndbm.h> + #else ++#ifdef HAVE_NDBM_H ++#include <ndbm.h> ++#else + #ifdef HAVE_GDBM_NDBM_H + #include <gdbm/ndbm.h> + #else +@@ -8224,6 +8227,7 @@ + #endif + #endif + #endif ++#endif + + int + main () + |