Commit Graph

1045 Commits

Author SHA1 Message Date
Michael Wetherell
0042166636 Workarounds for old versions of gcc on hpux: define __STDC_EXT__ when it is
need and use -lpthread instead of -pthread when the latter is not supported.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 00:23:21 +00:00
Vadim Zeitlin
0683aca66e fix for the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:34:06 +00:00
Vadim Zeitlin
84ae7ca4f6 check for missing statfs() prototype (happens at least under AIX 4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:12:37 +00:00
Vadim Zeitlin
4a767dd5cd added test for snprintf() which may not be present in system headers, treat it similarly to vsnprintf() instead of assuming that it's always there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 22:46:33 +00:00
Vadim Zeitlin
dd6abbacb9 don't use #error in configure test programs, some compilers (such as SGI mipsPro) treat it as a non-fatal warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 20:22:21 +00:00
Vadim Zeitlin
d24a5079c5 don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (reverts recent commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 18:59:05 +00:00
Vadim Zeitlin
7eb00c80b2 moved __STDC_EXT__ definition for HP-UX from configure to wx/platform.h, like this we can do it only if it's not alraedy defined by the compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 18:57:08 +00:00
Vadim Zeitlin
b5887a837d vsnprintf() tests correction: check that declaration is const-correct; merged the Metrowerks test with the one for the other compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:20:16 +00:00
Vadim Zeitlin
d66943923d use -threads with gcc under HP-UX instead of -pthread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:12:24 +00:00
Vadim Zeitlin
be30c667ed only define __STDC_EXT__ in CXXFLAGS for gcc under HP-UX, it's already present in CFLAGS by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:10:12 +00:00
Michael Wetherell
f2555abd7a Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Michael Wetherell
f43dc7d3f8 Fix mbstate_t from <cwchar> conflicting with that from <wchar.h> on HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 19:58:56 +00:00
Vadim Zeitlin
ce52988a85 tentative fix for large files compilation under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 23:13:53 +00:00
David Elliott
cfda0ea87b Allow wxWidgets to be built hosted on any architecture of Darwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 00:56:55 +00:00
Michael Wetherell
8bc9a2f0b1 With Sun CC temporaries have block scope unless '-features=tmplife' is used.
Fixes bug report 1230877.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:48:29 +00:00
Vadim Zeitlin
38b4a946f3 added wxUSE_DC_CACHEING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:54:16 +00:00
Vadim Zeitlin
6ebeb4c721 added tests for fsync() and pthread_cleanup_push/pop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:09:35 +00:00
Michael Wetherell
b468fab240 Disable wxDataObject for MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 23:12:51 +00:00
Mattia Barbon
9c8e9fb600 Add configure check for Lesstif, to be used by following
patches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:14:29 +00:00
Vadim Zeitlin
4a4aafb247 xlC needs -qunique under AIX only, at least it doesn't accept it at all under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 18:21:32 +00:00
Vadim Zeitlin
90cf46d9cf disabled clipboard and dnd if dataobj is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-25 22:44:01 +00:00
Julian Smart
f02fe2efc8 Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-25 16:35:16 +00:00
Michael Wetherell
3eca31dc17 Allow cross compiling of wxX11, wxMotif and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 20:52:01 +00:00
Robert Roebling
87ae5038ef define NO_GCC_PRAGMA if
- PCH
    - GCC >= 4.0
    - certain cases like Apple GCC, Mingw32 with certain other option


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 19:02:19 +00:00
Robert Roebling
87dd70d3c9 Added test case speficically for GCC >= 4.0 and
define NO_GCC_PRAGMA then.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 13:40:33 +00:00
Robert Roebling
ddd14b1483 Reverted GCC_NO_PRAGMA change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 13:26:45 +00:00
Stefan Neis
1ff6a165a3 Compilation fix for some gcc versions on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 16:28:18 +00:00
Václav Slavík
9a77c30be4 removed unused versioning variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-25 11:12:39 +00:00
Ron Lee
31b34ada76 Bump soname in preparation for 2.6.2 release.
Could someone please rebake this with whatever the correct
version + silent hacks is.  Based on present reports I have
no idea which version and/or hacks to it are 'official', and
the crypto logic that bakefile is becoming famous for is in
shining form today:

$ bakefile_gen -fautoconf

-----------------------------------------------------------------------
This file cannot be processed with Bakefile version older than 0.1.7.
You are using Bakefile version 0.1.6. Please install the newest version
from http://bakefile.sourceforge.net.
-----------------------------------------------------------------------

It's always good to have a nice conundrum to ponder while your
code is not building...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-23 01:26:23 +00:00
Michael Wetherell
7275146d4d Unrevert Cygwin changes after discussion. Cygwin will be unix with the new
version of bakefile, but allow wxMSW to stay a Windows build until there is
a unix version of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-22 20:58:47 +00:00
Ron Lee
8c53958268 Fix the test for NO_GCC_PRAGMA to be faster and more accurate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 14:57:13 +00:00
Michael Wetherell
ff8fbb8dbe Revert Cygwin changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:31:33 +00:00
Michael Wetherell
3d94765e6e Let Cygwin be a Windows build for wxMSW and a unix build otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 13:58:23 +00:00
Michael Wetherell
abc736fd0e Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +00:00
Michael Wetherell
fb4c95cbdb Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 11:08:11 +00:00
Stefan Neis
b9efe021b5 Hopefully fixed library names generated by wx-config for OS/2's PM port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:20:01 +00:00
Stefan Neis
219577d0a5 Removed some code for detecting no longer needed pthread functionality,
Added code to detect pthread_attr_setstacksize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:17:34 +00:00
Robin Dunn
063c96c1c5 Subrelease version bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:00:06 +00:00
Michael Wetherell
ee45c548e6 Detect Apple bug that prevents the joystick code compiling for OS X 10.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-04 17:45:24 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Julian Smart
a6905d8b55 Version number updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:06:27 +00:00
Robin Dunn
7a070ef1cb Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 19:52:20 +00:00
Michael Wetherell
19b27e78cf wxBase compilation fix for Mac, with help from Ryan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-27 13:18:50 +00:00
Michael Wetherell
0caebc27b4 No install_name_tool on OS X 10.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 16:48:32 +00:00
Michael Wetherell
18228ab4f0 Set wxUSE_ON_FATAL_EXCEPTION to no for non-unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 17:15:14 +00:00
Julian Smart
1146983c7b Applied patch [ 1194316 ] wxMediaCtrl MSW config and setup cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 11:10:19 +00:00
Vadim Zeitlin
ab7704fd18 don't use -ggdb when not using cc (part of bug 1202893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 16:49:10 +00:00
Robert Roebling
4cfa7abe8e Use dmallocthcxx, not the plain C version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 09:59:33 +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
Michael Wetherell
489c9090ef Disable debugrpt sample for Windows since it's not supported with mingw/cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 14:28:18 +00:00