[Libreoffice] [PATCH] Fix configure check for BerkleyDB where db_create is macro
pmladek at suse.cz
Thu Jan 6 12:03:28 PST 2011
this fixed the problem described in the attached mail.
Gökçen, Robert, could you please test it and sign it out for
It works here and it should be more safe than the current solution.
"db_create" function is defined by macro in some db version. I did a lot
of googling and have not found any ultimate solution.
Some people try to check all "db_create" variants, e.g. db_create_4002,
The problem is that there exists too many variants. Gökçen would need
I have found only one other variant for "dbopen" that is __db185_open.
This symbol has been introduced in db-3.x and seems to be provided by
any newer version for compatibility reasons. See also
LibO requires db >= 4.4. All these version should provide the symbol
"__db185_open" for compatibility reasons. Of course, it is better to
check for the original symbol "dbopen", so I used "__db185_open" just as
I am not 100% sure that it would work on all archaic systems but it
should be better than the current state.
-------------- next part --------------
An embedded message was scrubbed...
From: =?utf-8?q?G=C3=B6k=C3=A7en_Eraslan?= <gokcen at pardus.org.tr>
Subject: Re: [Libreoffice] PATCH: Try to find the proper berkeley db
headers and incs
Date: Mon, 27 Dec 2010 15:12:55 +0000
More information about the LibreOffice