* configure.in: add db-4.2 to the list of databases we search.

We probably need a better mechanism to search for a working db
	  library, like defining our own macro and just supplying a list.
	  We probably can get rid of the prefer-db1 option as well, maybe?
	  Fixes #131506


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9784 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2004-01-16 15:11:19 +00:00
parent b2a2809315
commit 030d30a5a1
2 changed files with 16 additions and 2 deletions

View File

@ -2,6 +2,12 @@
* configure.in: fix a typo in the help (was --diable-gui). Fixes #131414
* configure.in: add db-4.2 to the list of databases we search.
We probably need a better mechanism to search for a working db
library, like defining our own macro and just supplying a list.
We probably can get rid of the prefer-db1 option as well, maybe?
Fixes #131506
2004-01-15 Derek Atkins <derek@ihtfp.com>
* src/app-utils/options.scm: Create two new functions to centralize

View File

@ -763,7 +763,11 @@ if test "$prefer_db1" = "yes"; then
AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
AC_CHECK_LIB(db, __db185_open, DB_LIBS="-ldb",
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
)
)
)
)
)
@ -775,7 +779,11 @@ else
AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
AC_CHECK_LIB(db, __db185_open, DB_LIBS="-ldb",
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
)
)
)
)
)