[Libreoffice] [PATCH] ./configure after ". *-Env.Set.sh"

Lionel Elie Mamane lionel at mamane.lu
Sat Jan 15 16:27:05 PST 2011


In this situation:
 the only "db.h" on the system is /usr/include/db.h (that is, no db$ver/db.h)
 AND
 ./configure previously called with --with-system-db (or --with-system-libs)
 AND
 The -Env.set.sh file has been sourced in the current shell.
then:
 ./configure --with-system-db
fails saying that db is older than 4.1.

That is because DB_INCLUDES envvar is set by the -Env.set.sh file, and
this disables looking for /usr/include/db.h.

The attached patch uses the db_header shell variable instead to detect
whether a db$vver/db.h has been found and to enable or disable looking
for /usr/include/db.h.

-- 
Lionelx


More information about the LibreOffice mailing list