From xemacs-m  Thu Apr 24 07:40:20 1997
Received: from neal.ctd.comsat.com (exim@neal.ctd.comsat.com [134.133.40.21])
	by xemacs.org (8.8.5/8.8.5) with SMTP id HAA25175
	for <xemacs-beta@xemacs.org>; Thu, 24 Apr 1997 07:40:19 -0500 (CDT)
Received: from neal by neal.ctd.comsat.com with local (Exim 1.62 #1)
	id 0wKNou-0000mW-00; Thu, 24 Apr 1997 08:40:16 -0400
To: Achim Oppelt <aoppelt@theorie3.physik.uni-erlangen.de>
Cc: xemacs-beta@xemacs.org
Subject: Re: <db/db.h> vs <db.h> Linux question
References: <199704241005.DAA08834@bittersweet.inetarena.com> <ubk9lsk58g.fsf@cognac.physik.uni-erlangen.de>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Neal Becker <neal@ctd.comsat.com>
Date: 24 Apr 1997 08:40:13 -0400
In-Reply-To: Achim Oppelt's message of 24 Apr 1997 13:52:31 +0200
Message-ID: <u9sp0giogi.fsf@neal.ctd.comsat.com>
Lines: 19
X-Mailer: Gnus v5.4.45/XEmacs 20.2(beta1)

>>>>> "Achim" == Achim Oppelt <aoppelt@theorie3.physik.uni-erlangen.de> writes:

    Achim> "Karl M. Hegbloom" <karlheg@inetarena.com> writes:
    >> On my Debian GNU/Linux setup, the Berkely DB includes are in
    >> "/usr/include/db", and need to be used with #include <db/db.h>.
    >> Apparently, the other Linux distributions do not install them there. [1]
    >> 
    >> So, each time I compile XEmacs, I have to fix "src/database.c".  I
    >> propose this patch, and wonder if this is the RIGHT way to do this.
    >> (you tell me, and we'll both know.)
    Achim> [...]
    >> + #ifdef DEBIAN  /* define in CFLAGS from configure commandline */

    Achim> I always specified a --site-includes=/usr/include/db. That way, no source
    Achim> patches are necessary

That's what I do also.


