LP1990018: Fix libdbi build user/sandbergja/lp1990018-libdbi-autotools-fix-signoff
authorJason Stephenson <jason@sigio.com>
Sun, 18 Sep 2022 13:38:40 +0000 (09:38 -0400)
committerJane Sandberg <js7389@princeton.edu>
Wed, 28 Sep 2022 01:30:39 +0000 (18:30 -0700)
commitd51694b94bf0970e811ea99f49edba5c92e382cc
tree2c163b672d1b82e3a6ac512f440ba0b3c165d401
parent59f07b2c310a5644e68e3d4c5f94a51909377539
LP1990018: Fix libdbi build

Resolve issues with finding libdbi and libdbdpgsql on ARM64 by using better
autoconf hygiene:

 * Use PKG_CHECK_MODULES to find and set the dbi library flags.
 * Remove the "backup" code to find a manually installed libdbi.
   (This has not been needed for some time.)
 * Update Makefile.ams to use the dbi LDFLAGS properly.
 * Remove -ldbdpgsql from compile commands.
   (It is loaded dynamically.)

I tested it on a x86_64 VM with Ubuntu 22.04.  Most tests passed.  Only the
remot auth and cover uploader tests failed.  The latter have not passed for
some time, and I believe the former may have been affected by a recent
change unrelated to this commit.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/c-apps/Makefile.am
Open-ILS/src/c-apps/tests/Makefile.am
configure.ac