wxWidgets/build
Vadim Zeitlin e723bb2ee4 Try to fix macOS build using cmake after xlocale changes
Commit bc13119494 removed the inclusion of
xlocale.h because it is not (and never was) needed under Linux with
glibc, but it is still needed under macOS, so this (silently) disabled
wxXLocale support under Mac when using configure and broke the build
when using cmake.

Fix both problems by using xlocale.h only if it's available, both in
configure and in cmake.
2018-01-21 16:49:26 +01:00
..
aclocal Update gtk-4.0.m4 2017-12-15 09:31:43 -08:00
autoconf_prepend-include
bakefiles Move wx/evtloopsrc.h to BASE_CMN_HDR from GUI_CMN_HDR 2018-01-04 17:16:40 +01:00
buildbot Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
cmake Try to fix macOS build using cmake after xlocale changes 2018-01-21 16:49:26 +01:00
msw Move wx/evtloopsrc.h to BASE_CMN_HDR from GUI_CMN_HDR 2018-01-04 17:16:40 +01:00
osx Replace Expat sources directory with a Git submodule 2017-11-11 20:50:50 +01:00
tools Run tests for cmake build from test bat file under AppVeyor 2017-12-10 22:41:44 +01:00
autogen.mk Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
files Fix upmake bug with conditions in bakefile files 2018-01-07 18:36:58 +01:00
README.txt
update-setup-h Avoid trailing spaces in auto-generated build/cmake/setup.h.in 2017-12-09 15:09:47 +01:00
upmake Regenerate CMake files list from upmake too 2018-01-07 22:29:42 +01:00
upmake_script.pl Regenerate CMake files list from upmake too 2018-01-07 22:29:42 +01:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.