From xemacs-m  Thu Apr 24 20:38:10 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id UAA17793
	for <xemacs-beta@xemacs.org>; Thu, 24 Apr 1997 20:38:09 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id SAA02320; Thu, 24 Apr 1997 18:37:40 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id SAA21285; Thu, 24 Apr 1997 18:37:38 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id SAA07923; Thu, 24 Apr 1997 18:37:38 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id SAA14809; Thu, 24 Apr 1997 18:37:37 -0700
Date: Thu, 24 Apr 1997 18:37:37 -0700
Message-Id: <199704250137.SAA14809@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: "Karl M. Hegbloom" <karlheg@inetarena.com>
Cc: <xemacs-beta@xemacs.org>
Subject: <db/db.h> vs <db.h> Linux question
In-Reply-To: <199704241005.DAA08834@bittersweet.inetarena.com>
References: <199704241005.DAA08834@bittersweet.inetarena.com>
X-Mailer: VM 6.24 under 20.1 XEmacs Lucid (beta15)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Karl" == Karl M Hegbloom <karlheg@inetarena.com> writes:

Karl>  On my Debian GNU/Linux setup, the Berkely DB includes are in
Karl> "/usr/include/db", and need to be used with #include <db/db.h>.
Karl> Apparently, the other Linux distributions do not install them there. [1]

Karl>  So, each time I compile XEmacs, I have to fix "src/database.c".  I
Karl> propose this patch, and wonder if this is the RIGHT way to do this.
Karl> (you tell me, and we'll both know.)

The most correct way is for configure to check first for db/db.h, then
for db.h.  I will implement this in the "new" configure.in.  Similar
searches for header files are implemented for tt_c.h and soundcard.h.

Steve, I recommend NOT applying Karl's patch, esp. since there is
currently a convenient workaround (site-includes).

Martin

