mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add check for db-3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5242 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c31e6d3a75
commit
2361809c00
@ -346,13 +346,17 @@ AC_CHECK_FUNC(dbopen, [],
|
||||
if test "$prefer_db1" = "yes"; then
|
||||
AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
|
||||
AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
|
||||
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
|
||||
AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
|
||||
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
|
||||
)
|
||||
)
|
||||
)
|
||||
else
|
||||
AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
|
||||
AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
|
||||
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
|
||||
AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
|
||||
AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
|
||||
)
|
||||
)
|
||||
)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user