Re: problems with make, round two

---------

From: Daniel Stenberg (daniel@haxx.se)
Date: Mon Mar 11 2002 - 17:26:03 CST


On Mon, 11 Mar 2002, Ron Pero wrote:

> This is like what Peter McCluskey suggested, that maybe it finds the header
> files and thinks that it has the whole thing. Does that sound right?

Something like that, yes.

> I wonder if commenting out that line would fix my problem. Seems fairly
> complicated.

I would suggest the patch below. (I've committed this to CVS just now)

> Does anyone know how to install hypermail without gdbm support (and if that
> would be desirable)?

After the patch is applied, this sequence can be performed:

$ autoconf
$ make clean
$ ./configure --without-gdbm
$ make

--- configure.in Tue Mar 12 00:20:55 2002
+++ configure.in.fix Tue Mar 12 00:12:31 2002
@@ -274,7 +274,7 @@

 AC_MSG_CHECKING(for GDBM support)

-if test "$GDBM_LIB" = ""; then
+if test "$GDBM_LIB" = "" && test "$given_gdbm" != "no"; then
   AC_CHECK_LIB(gdbm, gdbm_open,[AC_DEFINE(GDBM,1, [Whether you have GDBM])
DBM_TYPE=gdbm; GDBM_LIB=-lgdbm],
      [DBM_TYPE=""])
   AC_MSG_CHECKING([gdbm library])
@@ -284,6 +284,8 @@
   else
     AC_MSG_RESULT($DBM_TYPE found)
   fi
+else
+ AC_MSG_RESULT(no)
 fi

 if test "$GDBM_LIB" = "-lgdbm" && test "$GDBM_INCLUDE" = ""; then

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

---------

This archive was generated by hypermail 2.1.5.