Re: [hypermail] problems with make, round two

From: Daniel Stenberg <daniel_at_haxx.se_at_hypermail-project.org>
Date: Tue, 12 Mar 2002 00:26:03 +0100 (MET)
Message-ID: <Pine.GSO.4.43.0203120016000.3550-100000_at_pm1.contactor.se>


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 _at_@ -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])
_at_@ -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
Received on Tue 12 Mar 2002 01:31:25 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:54 PM GMT GMT