wxWidgets/build
Vadim Zeitlin 762c80b809 Handle --with-cxx=20 configure option too
Although wxWidgets doesn't use any C++20 features yet, still allow
compiling it in C++ 20 mode if wanted.

Update the helper macro for detecting available C++ version support from
https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
with just a minor change to de-TAB-ify it to pass our code style check
forbidding indenting with TABs.

Closes #22238.
2022-03-28 00:55:54 +02:00
..
aclocal Handle --with-cxx=20 configure option too 2022-03-28 00:55:54 +02:00
autoconf_prepend-include
bakefiles Factor out common code from most wxBookCtrl-related XRC handlers 2022-02-27 22:42:00 +00:00
cmake Copy SVG files with samples 2022-03-17 23:48:01 +01:00
msw Renormalize .vcxproj.filters files 2022-03-23 13:57:52 +01:00
osx initial commit of newly generated xcode project files 2021-11-22 19:41:56 +01:00
tools Log the exit code of run_apt shell function 2022-02-25 00:16:10 +01:00
autogen.mk Fix autogen.mk after e70fc11e 2020-10-05 17:01:55 +02:00
files Factor out common code from most wxBookCtrl-related XRC handlers 2022-02-27 22:42:00 +00:00
README.txt
update-setup-h Remove setup0.h files 2021-01-31 19:02:56 +01:00
upmake Stop updating non-existent MSVC 7 project files 2021-07-31 19:12:41 +01:00
upmake_script.pl Stop updating non-existent MSVC 7 project files 2021-07-31 19:12:41 +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.