summaryrefslogtreecommitdiff
blob: 180c4160834ab02870d2f8e79388add5827715b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- configure.in.orig	2004-09-10 14:38:08.812210820 -0700
+++ configure.in	2004-09-10 14:39:26.267741413 -0700
@@ -4421,10 +4421,13 @@
 if test "$with_database_gdbm" != "no"; then
   AC_CHECK_LIB(gdbm, dbm_open, [
    with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [
+	AC_CHECK_LIB(gdbm_compat, dbm_open, [
+	with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm -lgdbm_compat"], [
    if test "$with_database_gdbm" = "yes"; then
      XE_DIE("Required GNU DBM support cannot be provided.")
    fi
-   with_database_gdbm=no])
+   with_database_gdbm=no], -lgdbm)
+  ])
 fi
 
 dnl Check for DBM support in libc and libdbm.