Skip to content
Commit 3bb0c0e9 authored by Allison Karlitskaya's avatar Allison Karlitskaya Committed by Matthew Barnes
Browse files

Bug 721733 - Tweak Berkeley DB detection logic

Make two changes to the logic that we use to find the Berkeley DB:

 - in the default case where --with-libdb is not given, do not attempt
   to add the default ${prefix}/include and ${prefix}/lib to the CFLAGS
   and LIBS.  Only do this if --with-libdb is explicitly given.

 - in the case where --with-libdb is not given, and DB_CFLAGS or DB_LIBS
   is already set, use those values instead of our own guesses

This allows the build to proceed on FreeBSD, where the headers are in an
unusual location and the library has an unusual name.

https://bugzilla.gnome.org/show_bug.cgi?id=721733
parent 81bb9c0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment