Matthias Andree --> mutt-dev (2007-04-07 22:24:02 +0200): [...] > and this I got: > > $ egrep '^((C|CPP|LD)FLAGS|LIBS).*=' Makefile > CFLAGS = -Wall -pedantic -g -O2 > CPPFLAGS = -I/usr/local/BerkeleyDB.4.3/include// -I$(top_srcdir)/intl > LDFLAGS = > LIBS = -lidn -L/usr/local/BerkeleyDB.4.3/lib// -ldb-4.4 > > This can't possibly work, 4.3 headers on 4.4 library. Something's b0rked > in the configure script.
Indeed. The script iterates over a hardcoded list of bdb version (in descending order) and then uses whatever "works" first, i.e. with whatever bdb version linking the autoconf test program succeeds. Thus it doesn't allow for using libdbX if you also have libdbY installed and Y>X; yes, that's suboptimal ;-) Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
