From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17 i686) A set of patches to fix problems with RPM on non-Red Hat Linux systems. Each patch is commented to describe what it fixes. Patches are against a checkout of the RPM 4.0 CVS branch on Jan 5th 2001 (sorry). These patches were written by: Joe Orton <jorton>, Steve Robb <smr> and Mark Cox <mjc>
Created attachment 10641 [details] Patch for configure.in
Maintainer prefers separate bugzilla entries so this is not such a patch bonanza after all. :)
Created attachment 10643 [details] Complements the configure patch: add getmntent to stubs.
Mmm, thanks for diddling libtool on all platforms. FWIW, I think the test for -lthread et al is bad craziness, as the issue of what locking scheme to use is a db3 configuration problem that simply cannot be solved without compiling test code and checking for working lock functionality against the installed db3 library, sniffing for symbols in libraries is naive. It's a good thing I don't have to support these platforms, yet :-) Adding misc.c compatibility stuff to stubs.c will "work", but is also bad craziness, mine, not yours. Thanks for the patch, checked in on the rpm-4.0.2 branch, on top of stack shortly, will be in rpm-4.0.2 final.
Yeah, correct fix is adding a 'db3-config' script to DB3, we're agreed there. :)