wxWidgets/build
Vadim Zeitlin 51ec29ea5d Always link with expat in monolithic build.
Fix linking errors when using wxXML in sttaic monolithic build: in this case
we must link with expat but it was listed too early, before wxWidgets
libraries using it, in the bakefile-generated makefiles.

Now add it to the end of the linker command line too by including -lexpat in
EXTRALIBS_FOR_BASE which are appended to the linker arguments.

Notice that now -lexpat is linked twice because it is still added by
<wx-lib>xml</wx-lib> in bakefiles, even in monolithic build, but I don't know
how to avoid it and it is harmless anyhow.

Closes #12573.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-25 13:28:01 +00:00
..
aclocal Use AC_LANG_SOURCE and add missing quoting to configure. 2011-10-26 23:20:10 +00:00
autoconf_prepend-include
bakefiles Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
buildbot Move ravnsgaards build to brandt32 while its down. 2011-09-20 17:25:55 +00:00
mgl
msw Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
os2 missing namespace 2010-11-05 15:45:51 +00:00
osx rebaked Xcode proj for cocoa after date & timectrls were added 2011-12-21 16:27:43 +00:00
palmos
script Remove all obsolete release-generation scripts. 2010-04-12 00:36:52 +00:00
tools Incremented the version number to 2.9.4 everywhere. 2011-12-16 22:12:49 +00:00
wince/missing
autogen.mk
README.txt
update-setup-h

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.