[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)
./configure previously called with --with-system-db (or --with-system-libs)
The -Env.set.sh file has been sourced in the current shell.
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
More information about the LibreOffice