Commit Graph

88 Commits

Author SHA1 Message Date
Vadim Zeitlin
b67ca545cc Add --enable-cxx11 configure option
Make it simpler to enable C++11 support when building wxWidgets, in particular
take care of using the correct standard library under OS X in this case.

Notice that currently we still build the library using C++98 if no C++11
compiler is available, even with this option. We may want to change this to
give an error in such case later instead.

Also skip the check for <type_traits> in configure when C++11 is used, we know
that it's available in this case, so don't waste time checking for it (there
are probably several more checks that could be skipped in C++11 mode too...).
2016-01-24 21:22:15 +01:00
Vadim Zeitlin
01f9accd19 Remove wxPM, wxWidgets port to OS/2.
This port is not used and is not being worked on, so remove it to reduce the
amount of the code which needs to be updated for every global change.

Also remove tests for VisualAge compiler which isn't used since ages.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-15 23:56:58 +00:00
Paul Cornett
9dc44eff02 support for GTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-30 20:39:06 +00:00
Václav Slavík
a0219e4580 Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-04 12:15:14 +00:00
Vadim Zeitlin
eb6a8d695e don't use __thread keyword with g++ < 4 as it results in mysterious problems at link time related to thread-local static wxString::ms_cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:53:24 +00:00
Vadim Zeitlin
411484436d use -Woverloaded-virtual if g++ supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:58:56 +00:00
Václav Slavík
479647105b Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Václav Slavík
0ff20b9f00 added GCC visibility support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Vadim Zeitlin
2e91a01aea update m4 files to bakefile 0.2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:50:47 +00:00
Stefan Neis
bebf40d5a0 Detect thread-safe versions of gethostbyname/gethostbyaddr/getservbyname
and how many arguments they use.
Detect thread-safe versions of localtime/gmtime and readdir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:46:39 +00:00
Vadim Zeitlin
0ad5d837cb regenerated after latest changes: alternative standard library directory name support; SGI CC dependencies; ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 13:32:10 +00:00
David Elliott
3e4ca115f5 Upgrade to newest bakefile.m4 to support non-PowerPC Darwin platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 02:09:42 +00:00
David Elliott
3b396a2629 Bug fixes from Bakefile CVS HEAD (still using 0.1.9 version though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 22:38:08 +00:00
Michael Wetherell
b5715bdd0b Temporary fix for missing ;;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 23:08:40 +00:00
Michael Wetherell
c946965956 Regenerate using autoconf/bakefile.m4 from bakefile CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 17:48:31 +00:00
Michael Wetherell
810b94f0aa Rebaked with patched bakefile 0.1.9.1, ran aclocal and autoconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 16:16:35 +00:00
Michael Wetherell
db35cc2cc3 Add dll.a to the extensions search for by WX_PATH_FIND_LIBRARIES, for the
benefit of Cygwin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 20:44:14 +00:00
Michael Wetherell
a9e5b1f04b Dependency tracking for Sun CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 19:34:32 +00:00
Michael Wetherell
df1b269d2f Allow -Wl,* options to shared-ld-sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 23:51:37 +00:00
Julian Smart
fb00f58d24 Removed last fix to aclocal.m4
Fixed configure.in for Wine


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 21:21:17 +00:00
Julian Smart
bdebb37929 Override PLATFORM_WIN32 setting if using Wine on Linux/Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 11:40:31 +00:00
Michael Wetherell
ade0f98ade Temporary fix to allow configure to run for djgpp. Will be overwritten next time aclocal.m4 is regenerated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 15:01:28 +00:00
Michael Wetherell
e5d4b470c9 Test for --version-script bug, known to be in at least ld 2.11.2 on netbsd and openbsd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 12:30:38 +00:00
David Elliott
6dcfc2898e Moved compiler detection macros to Bakefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 03:49:38 +00:00
David Elliott
0e6fa1d908 Fixed MW and XLC tests when using -C (cache) option with configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:47:33 +00:00
David Elliott
fbb7dfffb0 Updated configure and aclocal.m4 for new 0.1.8 Bakefile on account of
the recent commit to autoconf_inc.m4 using Bakefile 0.1.8 (CVS).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:38:51 +00:00
David Elliott
1d1af5eaf0 Make wxCocoa compile on Tiger.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 04:47:28 +00:00
David Elliott
08cd454f76 Update to include recent acinclude.m4 changes.
Yes, they aren't any longer used by configure but they're still in
acinclude.m4 so now they're here too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 01:42:56 +00:00
David Elliott
9273ffba9b Check for xlC and add -qunique to CXXFLAGS if we're using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 08:16:00 +00:00
David Elliott
480ccd2194 Check to see if -ext o option is required to get compiler to write
foo.o instead of foo.c.o or foo.cc.o.  (MetroWerks)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 07:14:14 +00:00
David Elliott
94acd38ec2 Rebaked with Bakefile 0.1.7.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 03:56:12 +00:00
Ryan Norton
4cb1d3daa2 Move HID stuff into both OSX builds. Add preliminary joystick for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 09:38:42 +00:00
Václav Slavík
2e35017918 moved GNOME printing code back to wxCore and fixed for --enable-plugins case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 21:06:55 +00:00
Ron Lee
8f98c6c007 Make it possible to actually build cvs with a version of bakefile
that does not have a 'critical bug'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 03:05:42 +00:00
Václav Slavík
04840eaa88 regenerated autoconf files using bakefile-0.1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 10:57:49 +00:00
David Elliott
b1d22ded8d Updated aclocal.m4 using Bakefile's CVS HEAD bakefile.m4 with
BAKEFILE_BAKEFILE_M4_VERSION set back to 0.1.4.
- Adds support for Metrowerks compilers.
- Improves dllar.sh used on OS/2.
- Allows autoconf to invalidate its cache when autoconf_inc.m4 is changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 03:42:42 +00:00
Václav Slavík
5f652d0da4 FreeBSD fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-26 16:43:18 +00:00
David Elliott
6ff53182ef Reran aclocal using bakefile.m4 from Bakefile CVS HEAD. This adds support
for MacOS and BeOS and includes some other fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 05:02:17 +00:00
Ron Lee
7714864e2f Update the wx-config man page.
Remove some cruft from the docs package.
Bump version in configure.
Update aclocal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:07:08 +00:00
Václav Slavík
af8ebe8a04 HP-UX needs mkdir -p, not mkdir for INSTALL_DIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 13:31:44 +00:00
Václav Slavík
c2218763d5 corrected cppunit test's output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 09:01:16 +00:00
David Elliott
3fd9c29882 Baked with Bakefile 0.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:44:08 +00:00
Stefan Neis
11a20c3a78 Support for building DLLs on OS/2 (using dllar.sh).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 10:17:55 +00:00
Václav Slavík
670ec35765 applied path 906264: test program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:56:16 +00:00
Vadim Zeitlin
ecfd48ca08 added HAVE_STATIC_CAST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 21:49:22 +00:00
Václav Slavík
f93ca9fd7e 1. optionally use libSDL for wxSound
2. added --enable-plugins for dynamically loadable SDL backend
3. fixed OSS detection to not be Linux specific


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:29:49 +00:00
Václav Slavík
74500461df reverted previous change (except for tiny part that actually made sense)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 22:23:44 +00:00
Julian Smart
d030c68a2f Applied patch by Dimitrie O. Paun <dpaun@rogers.com> to get configure
working with Winelib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 20:36:02 +00:00
Gilles Depeyrot
d337031039 added -headerpad_max_install_names option to generated shared-ld script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 20:21:35 +00:00
Václav Slavík
7f523214e5 use -headerpad_max_install_names when linking shared libs on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-28 23:22:26 +00:00