To resume the problem, I need to build a Universal Binary (aka, PPC +
i386) library of BerkeleyDB. Now, normally, this is a simple task but
it seems Autoconfig is working against me.
At the strict minimum, I need to have the following flags set in the
generated makefile:
CFLAGS= -c $(CPPFLAGS) -O3 -isysroot /Developer/SDKs/
MacOSX10.4u.sdk -arch i386 -arch ppc
LDFLAGS= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
The problem is, whatever I set for LDFLAGS or CFLAGS in the .ac file
passed to autoconf, the output Makefile is invariably stripped down
to an empty LDFLAGS declaration and a CFLAGS devoid of the -isysroot
and -arch parameters.