wxWidgets/build
Vadim Zeitlin fbd645b2dd Use C99 to compile Expat sources under Unix
Expat requires C99 and doesn't compile without the appropriate command
line option at least under Solaris as <stdbool.h> is not available
without it there.

Closes https://github.com/wxWidgets/wxWidgets/pull/1250

Closes #18352.
2019-03-14 12:39:53 +01:00
..
aclocal Merge branch 'more-qt-win-build-fixes' of https://github.com/catalinr/wxWidgets 2018-09-17 23:26:27 +02:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Use C99 to compile Expat sources under Unix 2019-03-14 12:39:53 +01:00
cmake CMake: don't search SDL on macOS 2019-02-03 19:01:00 +01:00
msw Resolve change log conflict with master 2018-12-20 02:24:49 +01:00
osx Increment version number to 3.1.3 2018-12-10 19:06:18 +01:00
tools Use CMake script to check Travis installation 2019-02-03 21:51:50 +01:00
autogen.mk Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
files Add wxGraphicsContext implementation for wxQt 2019-01-17 00:50:47 +01:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h Remove duplicate line from update-setup-h 2018-10-25 20:36:22 +02:00
upmake Update upmake to address bug with </if> in bakefile backend 2018-09-22 16:07:37 +02: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.