wxWidgets/build
Vadim Zeitlin 6bcc1145fe Cleanly separate GUI socket-related code from net library.
This fixes linking problems under Unix introduced by recent changes which
fixed previous problems which were due to files not being linked in at all.

In order to provide a clean separation between base, net and core libraries we
now use the same wxSocketManager (wxSocketFDBasedManager), defined in net
library for both console and GUI Unix applications and just use different FD
IO manager for them: the latter can be defined in base and core libraries as
it doesn't involve wxSocketImpl at all, only its base wxFDIOHandler class.

At more detailed level, these changes required:
 1. Adding the new wxFDIOManager class.
 2. Refactoring the old (and now removed) wxSocketFDIOManager to use the same
    code as wxSocketFDIOManager. This involved:
  a) Adding handler and direction parameter to RemoveInput().
  b) Storing the mask of registered events in wxFDIOHandler itself.
  c) Defining wxFDIOManagerUnix which works with wxFDIODispatcher.
 3. Changing the traits classes in Unix ports to define GetFDIOManager()
    instead of GetSocketManager().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-17 23:02:46 +00:00
..
aclocal update for bakefile 0.2.6 2009-05-02 17:54:45 +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 Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
buildbot Remove buildbot.css as it's never been used. 2009-08-14 19:09:55 +00:00
mgl remove ODBC and DBgrid libraries 2007-10-23 13:40:27 +00:00
msw updated the version to 2.9.1 2009-07-05 11:51:53 +00:00
os2 remove ODBC and DBgrid libraries 2007-10-23 13:40:27 +00:00
palmos fixes for Linux build (part of ticket 4700) 2008-05-27 16:33:12 +00:00
script updated the version to 2.9.1 2009-07-05 11:51:53 +00:00
wince/missing Warning fix for eVC4 build. 2006-11-27 10:56:37 +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 update after wx/mac/setup.h rename to wx/osx/setup.h; also order files alphabetically 2008-08-31 17:14:17 +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.