wxWidgets/build
Vadim Zeitlin 588135982a Restore correct wx-config creation and work around MinGW lack of symlinks.
This undoes the changes of r72205 and r72249 (see #14517) as using relative
paths for wx-config symlink didn't work correctly if non-default values for
$bindir and/or $libdir were used (i.e. if they were not siblings).

Instead, fix the original problem of lack of symlinks when using MinGW
directly: just use "cp -p" if "ln -s" fails. This should work everywhere and
do the right thing.

Closes #15463.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-04 00:14:42 +00:00
..
aclocal Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Restore correct wx-config creation and work around MinGW lack of symlinks. 2013-09-04 00:14:42 +00:00
buildbot Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
msw Explicitly specify target names for all configurations in VC10 projects. 2013-08-27 22:49:38 +00:00
os2 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
osx correct base for carbon is 10.6 max 2013-08-25 08:36:54 +00:00
script Synchronised svn:eol-style and svn:executable properties of some file types. 2012-01-18 18:00:07 +00:00
tools Remove more exclusions from Inno Setup file. 2013-07-17 12:57:41 +00:00
wince/missing Remove empty PalmOS-related directories. 2012-01-15 13:46:35 +00:00
autogen.mk updated list of aclocal m4 files 2008-02-04 13:22:50 +00: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 all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00: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.