wxWidgets/build
Maarten Bent 9814d58415 CMake: Improve adding external libraries to wx-config
Don't add -l to libraries already containing it (for example -lpthread).
Change libraries with format libName.so or libName.a to -lName,
configure also uses -l for these libraries. Account for possible invalid
libraries (Name-NOTFOUND) which could happen with imported libraries,
for example OpenGL::OpenGL.

Closes https://github.com/wxWidgets/wxWidgets/pull/2359
2021-05-09 00:29:29 +02:00
..
aclocal Fix configure errors when using GTK 2 and ASAN 2020-08-14 19:19:46 +02:00
autoconf_prepend-include
bakefiles Remove MSVC 7 project files and support for generating them 2021-04-26 16:24:02 +02:00
cmake CMake: Improve adding external libraries to wx-config 2021-05-09 00:29:29 +02:00
msw Remove BCC makefiles (again) 2021-05-01 18:40:38 +02:00
osx Upgrade version to 3.1.6 2021-04-14 17:57:27 +02:00
tools Update comment to mention GitHub CI too 2021-04-16 19:23:28 +02:00
autogen.mk Fix autogen.mk after e70fc11e 2020-10-05 17:01:55 +02:00
files Merge branch 'web-request' 2021-01-17 18:19:47 +01:00
README.txt
update-setup-h Remove setup0.h files 2021-01-31 19:02:56 +01:00
upmake Modify build system files to use PlatWXcocoa.mm 2019-03-20 00:12:41 -05:00
upmake_script.pl Modify build system files to use PlatWXcocoa.mm 2019-03-20 00:12:41 -05: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.