Commit graph

5 commits

Author SHA1 Message Date
David Tardon
1118f57582 mingw: avoid hardcoded dll versions and deps
The idea is to use libo_MINGW_CHECK_DLL for libs that must be available
(typically that would be the "main" library, e.g., libxml2 or libcurl)
and libo_MINGW_TRY_DLL for possible dependencies (that may not be the
same on different systems). All further references to the dlls are
exclusively through the configured variables or defines set from these
variables (e.g., instead of hardcoding libxml2-2.dll, use
$(MINGW_LIBXML2_DLL)).

The macros are documented in m4/mingw.m4 .

Files that must be changed when adding a new dll:
* configure.in
* config_host.mk.in
* external/mingw-dlls/makefile.mk
* scp2/source/ooo/makefile.mk
* scp2/source/ooo/mingw_dlls.scp
2012-03-18 21:23:40 +01:00
David Tardon
743a56fcce allow to pass default dll list 2012-02-21 14:01:01 +01:00
David Tardon
bcf1edba4e expect sed has already been detected
Reportedly AC_PROG_SED does not exist on XCode 2.5 .
2012-02-20 14:28:11 +01:00
David Tardon
12c35f511e add macro for extracting mingw dll names from libtool files
Hardcoding dll names from SuSE Linux in configure.in is not good,
because they might be slightly different on other systems (notably
Fedora :-), or the libraries might be compiled with different
dependencies.
2012-02-17 15:53:58 +01:00
Norbert Thiebaud
4c8c8751e5 building rawbuild on mac should not depend on pkg-config being installed 2010-11-30 20:25:20 -06:00