[Date Prev][Date Next] [Chronological] [Thread] [Top]

configure not detecting BerkeleyDB (ITS#2115)

Full_Name: Andreas Mueller
Version: 2.1.5
OS: Solaris 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

It seems that configure does not pick up the CFLAGS 
environment variables when probing for the BerkeleyDB. I've BerkeleyDB
in /usr/local/BerkeleyDB.4.1, so I set
However, configure uses CFLAGS for all tests except when probing for the
BerkeleyDB, so it comes as no surprise that id does not find the db.h 
header. If i set CC to gcc -I/usr/local/BerkeleyDB.4.1/include, everhthing
works (but this is of course not the how CFLAGS and LDFLAGS were intended).