Commit Graph

7 Commits

Author SHA1 Message Date
f174c972ac .gitignore already ignores config_*.h
Change-Id: I97e9fa6e8ad45a0cd07926d1f6d33652d9dd332c
2013-03-27 11:36:02 +02:00
8bfc664c61 autoconf can actually handle #define HAVE_FOO 0 as the default
Change-Id: I6cd70d885a3fe3ab53f7523d1a5da6ae30ee01e3
2013-03-26 19:32:20 +01:00
43f59b86cd Consistent "config_XXX.h" naming
Change-Id: Ie7cb4356fd2400753934ca907f09cf240ada734e
2013-03-22 18:12:51 +01:00
594a1ca96b clarify when HAVE_FOO macros should have 0 fallback
Change-Id: Idc6635b59851c9b1a94f11042d3a60a4822061f2
2013-03-20 11:34:17 +01:00
30844869cc update config HAVE_FOO instructions
Feature macros should now always be set (even if to 0), and should be
checked with #if, in order to avoid missing including the config_xxx.hxx header.

http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html

Change-Id: Id15f536240d032b3c523e33856cb40af78be65df
2013-03-18 17:15:57 +01:00
fdafe9505c fix documentation for config_xxx.h files
Not that I know why the directory had to be renamed in the first place.

Change-Id: I3e4d07591876636ae4930240ac1acc68522fb94f
2013-02-01 14:19:18 +01:00
c5b1441ede Use separate config_*.h files for BUILD and HOST when cross-compiling
We have only been lucky so far that there hasn't been any compilation errors
caused by using the HOST platform config_*.h files also for the BUILD
platform. But as more and more information found out during configury is
stored in config_*.h files, sooner or later it will be a problem.

Move config/* to config_host/*. When not cross-compiling, the config_*.h files
in config_host expanded from config_*.h.in are all there is. When
cross-compiling, the generated config_*.h files for the BUILD platform are
put into a config_build folder.

Then use config_build when building the cross_toolset and config_host
otherwise.

Change-Id: I3c28cc83866bffd696b45d00dfb68e00bc2ae538
2013-01-31 21:43:59 +02:00