Vadim Zeitlin
831778df78
use CFLAGS for GTK tests, not CXXFLAGS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:24:05 +00:00
Vadim Zeitlin
17e914373a
added wxHyperlinkCtrl (patch 1476781 from Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Julian Smart
d25774ab97
wxToggleButton for wxUniversal: configure changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:09:50 +00:00
Paul Cornett
0706e7487f
fix incomplete change from rev 1.1121
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 05:58:51 +00:00
Paul Cornett
cdddcdb147
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:20 +00:00
Vadim Zeitlin
a57d600f1a
renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
642bcba929
wxUSE_COMBOCONTROL and wxUSE_OWNERDRAWNCOMBOBOX added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:57:40 +00:00
Stefan Neis
6ba87b0697
Need to do tests for compiler version (to determine C++ libs needed to
...
successfully link C++ core) in C mode on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 14:43:41 +00:00
Vadim Zeitlin
e56f4f9e90
use CXXFLAGS instead of CFLAGS in several places now that the tests are done using C++ compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:06:57 +00:00
Vadim Zeitlin
d84cedb39e
compile GTK+ test program using C compiler, not C++ one, otherwise it always fails as it uses undeclared functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:57 +00:00
Vadim Zeitlin
8006bf3c49
do all tests using C++ compiler, this should fix all problems due to testing with C compiler and compiling the real code later with the C++ one (such as bug 1472458); in case of problems, the last version using C for (most) tests is tagged BEFORE_LANG_CXX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 20:50:24 +00:00
Robert Roebling
2b850ae1a5
Rearrange code to make adding wxMimeTypesManagerFactory
...
at runtim possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Vadim Zeitlin
01c54165d1
don't require multimon.h any more now (patch 1446030); enable wxUSE_DISPLAY by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:49:21 +00:00
Stefan Neis
6433b7f48a
Removed -fno-strict-aliasing for OS/2 (not supported by all supported gcc versions).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 18:02:38 +00:00
Michael Wetherell
d6bf7254f4
Add -fno-strict-aliasing to the optimisation flags for gcc as discussed on wx-dev
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:55:41 +00:00
Vadim Zeitlin
557002cf81
Ryan's cumulative wxActiveX and media control patch (1427775)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:40 +00:00
Vadim Zeitlin
db6d391891
fixed wxUSE_TABDIALOG/TAB_DIALOG confusion and other fixes to prevent wxTabCtrl from being built into the library unnecessarily (patch 1416049)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:28:34 +00:00
Michael Wetherell
9e39d88994
Remove richedit sample from configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 18:01:48 +00:00
Julian Smart
7dcea26b0b
Updates for wxToolbook class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:38:51 +00:00
Stefan Neis
c52e0d0e51
Do test for get{host,serv}byname_r in C++ mode, so non visible declarations
...
cannot break compilation of gsocket.cpp.
Replaced AC_LANG_SAVE/RESTORE by AC_LANG_PUSH/POP for consistency.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 13:52:17 +00:00
Kevin Ollivier
7afc46abae
Fixes for wxMac Universal binary support. With these changes, I now get a working Universal build simply by passing --enable-universal_build to configure.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 23:54:31 +00:00
Stefan Neis
def7c04a01
Yet another try to fix NetBSD's problem with getservbyname_r.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 14:29:09 +00:00
Julian Smart
32df13a52a
First stab at adding --enable-universal_binary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 14:04:54 +00:00
Michael Wetherell
525ce60acf
lndir no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 22:44:54 +00:00
Stefan Neis
728258f45f
Testing if using -D_REENTRANT helps compiling socket code on NetBSD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 20:47:58 +00:00
Mart Raudsepp
0c897818d3
GTK_NO_CHECK_CASTS is a gtk1 only thing, so don't put it to CPPFLAGS with gtk2.
...
It's been renamed to G_NO_CHECK_CASTS in gtk2 stack, but we don't appear to need it.
Why do we need to supress cast checks for gtk1?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 15:42:41 +00:00
Stefan Neis
b41e7f68a3
Temporarily (?) commented the code for testing for getaddrinfo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 13:07:42 +00:00
Robert Roebling
20e34ecc5b
Added configure flag for wxDataViewCtrl.
...
Currently defaults to "no".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:23:35 +00:00
Robert Roebling
3565d13520
Added configure checks for Hildon Framework.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:18:16 +00:00
Michael Wetherell
9cbac6d19d
Put back the warning flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 11:37:50 +00:00
Vadim Zeitlin
c92ad09968
put user-specified CPP/C/CXXFLAGS after the ones we set from configure to allow overriding them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:24:35 +00:00
Ron Lee
a55d039a23
Output deprecated warning for --rezflags and permanently disable it.
...
Remove WXCONFIG_POSTLINK_COMMAND that existed only for it.
Make the explanation more explanatory. This is not an invitation
for stray options and script helpers to do a little 'open mike',
its a holding ground for nasty things we still need to fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 06:36:05 +00:00
Ron Lee
004ee6daa7
Fix include dirs for windres, enable emxbind to actually produce output,
...
restore RESCOMP for backward compatibility and forward availability.
Check for windres again. Whatever bakefiles do with it, they do not
make it available to configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 05:17:05 +00:00
Stefan Neis
8a064d5cef
Cleaned up some erroneous stuff from previous commit, added HAVE_GETADDRINFO
...
to setup.h.in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 21:42:51 +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
8aeeb05c0e
renaming of variables in rev 1.1090 introduced a clash between 2 different DEBUG_FLAG variables, so renamed the one containing debugging options for the compiler to DEBUG_CFLAGS to avoid it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 15:42:12 +00:00
David Elliott
891ace0538
Separate RESCOMP into WINDRES (for Win32) and REZ (for Mac OS).
...
Don't check for windres as bakefile.m4 now does it properly.
Rename MACRESCOMP to POSTLINK_COMMAND.
Rename MACRESWXCONFIG to WXCONFIG_POSTLINK_COMMAND.
Use newest bakefile.m4 (with similar changes).
Add --rezflags option back to wx-config so existing user Makefiles don't break.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 04:51:08 +00:00
Ron Lee
370d2fd7cc
Minimal implementation of --rescomp option for wx-config,
...
required for building windows resource files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 05:10:09 +00:00
Vadim Zeitlin
bc6ee4ae7f
fixed quoting in CPPFLAGS (last change broke the Unix build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 02:10:04 +00:00
Vadim Zeitlin
5ff751d600
autumn cleanup of configure:
...
1. we now consistently use WXCONFIG_C[PP|XX]_FLAGS instead of a mix of CODE_GEN_FLAGS
plus tons of ad hoc variables (TOOLCHAIN_DEFS, WX_LARGEFILE_FLAGS, WXDEBUG_DEFINE
and so on) which could all be simply removed now
2. output more stuff which used to be in CFLAGS only in wx-config output:
a) pthread options (they are needed for user code compilation too)
b) -D__STDC__EXT needed under HP-UX, this should finally fix the build there
3. also removed GCC_PRAGMA_FLAGS which is unused any more
4. use consitent naming for a couple of other variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 02:06:16 +00:00
Michael Wetherell
ab0f0eddc4
Use re_search directly instead of regexec when using the GNU regex lib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 17:25:33 +00:00
Michael Wetherell
c8d5853155
Add rcdefs.h and support for automatic manifests on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 22:49:46 +00:00
Michael Wetherell
b7859132ae
Modify wxString::operator<<(wxLongLong_t) to avoid warnings from mingw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:27:17 +00:00
Michael Wetherell
e4809643b4
Include $cross_root/include in header search when cross compiling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:21:12 +00:00
Vadim Zeitlin
f9f75df733
using newlines in AC_CONFIG_COMMANDS() first argument breaks config.status under cygwin, so don't do it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-31 20:14:39 +00:00
Michael Wetherell
91dea3144c
Small changes to 'make dist' to allow it work on Solaris, and to use the
...
result of AC_PROG_LN_S when making links.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-20 19:48:26 +00:00
Julian Smart
5d7836c47d
Added wxRichTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 12:52:47 +00:00
Michael Wetherell
3fc1adbd94
Implement string inserter for long long. This creates a problem on mingw as gcc
...
gives a warning unless -Wno-format is used, one of the most useful warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:16:59 +00:00
Michael Wetherell
bcaab0f92e
Use 'cp -pR' as a fallback for lndir, remove $(shell) construct from makefile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 16:29:02 +00:00
Vadim Zeitlin
547703373c
regenerated with treebook files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:24:57 +00:00
Vadim Zeitlin
eca15c0d54
Added wxTreebook:
...
- added the control itself
- added protected wxBookCtrlBase::AllowNullPage() to accommodate it
- big changes to the sample to get rid of (most) ugly macros
- added XRC handler for the control
- added docs
- and wxUSE_TREEBOOK everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 18:40:36 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
179daed8f0
enable all warnings (but disable some of them) for DEC/Compaq/HP C++ compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:28:12 +00:00
Vadim Zeitlin
76f13e9040
disable some (unavoidable) HP-UX aCC warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:56:51 +00:00
Vadim Zeitlin
65baafba0e
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:35:48 +00:00
Vadim Zeitlin
89d90d6d87
fixed bug in error message given if X headers/libs not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 11:11:36 +00:00
Vadim Zeitlin
dd8df4fc9c
updated version in configure to 2.7.0 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 11:08:43 +00:00
Vadim Zeitlin
1c14217db4
added --without-subdirs option to speed up configure when you only need to build the main library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 18:19:10 +00:00
Vadim Zeitlin
123dca7d25
don't declare pthread_mutexattr_settype() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:48:06 +00:00
Vadim Zeitlin
7f47faf4f2
disable warning about data truncation (810) for icc (this is a useful warning and might be reenabled later but for now there are simply too many of them...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:35:48 +00:00
Vadim Zeitlin
f536f00539
don't declare strptime() ourselves if the system already does it, we might have a slightly different declaration and this causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:34:03 +00:00
Vadim Zeitlin
48f625bc2c
corrected typo in check for icc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:25:33 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Michael Wetherell
5001df0dd5
Fixups for solaris; remove '-mt' from pkg-config output and add '-lX11' for a static build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 07:12:02 +00:00
Vadim Zeitlin
254e8e2913
removed code defining NO_GCC_PRAGMA, we shouldn't need it any longer (alternatively, if user code requires it, we should always define it, but we still don't need any tests in configure)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 11:25:07 +00:00
Kevin Hock
6459a506bb
Use CXXFLAGS rather than CFLAGS for -Werror when determining type of socket function parameter (socklen_t vs. int) so that OS X 10.2 will correctly determine the parameter as an int; using -Werror forces the warnings thrown when attempting size_t to make configure fall back to int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 04:38:57 +00:00
Michael Wetherell
0aaa804e70
Use lib64 for 64-bit builds on some kinds of linux and lib/64 on solaris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 19:45:41 +00:00
Michael Wetherell
214774ceeb
Fix for detection of motif in the default library path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 18:41:41 +00:00
Vadim Zeitlin
c687b303a5
only check for lib directory for architectures which have multiple ABIs (Solaris, IRIX, Linux)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 10:28:55 +00:00
Vadim Zeitlin
72e4e6a397
cache results of Motif 2 and Motif-is-Lesstif tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 01:10:16 +00:00
Vadim Zeitlin
fa1346df91
pruned the list of directories to search for headers/libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 00:53:06 +00:00
Vadim Zeitlin
e7272c0856
finally really fixes IRIX build:
...
- determine the name of the standard libraries directory (lib, lib32, lib64
or lib/64) and use it to find other standard libraries
- look in default libraries locations after checking the other ones, not
before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 00:44:06 +00:00
Vadim Zeitlin
15b17d22b0
turn off warning 3970 for SGI CC (see comment for explanation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 22:40:40 +00:00
Vadim Zeitlin
a8793ff9ce
don't put default library paths in SEARCH_LIB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 22:14:05 +00:00
Vadim Zeitlin
9122d155ab
use -erroff=E_NO_EXPLICIT_TYPE_GIVEN option with Sun cc to avoid hundreds of warnings from Sun X11 headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-14 13:18:10 +00:00
David Elliott
8c80d38463
Use AC_CHECK_TOOL rather than AC_CHECK_PROG for AR, RANLIB, STRIP, RESCOMP,
...
and DLLTOOL. This automatically searches for tools with a prefix of
"$host_alias-" when cross compiling then falls back to the unprefixed tool name
if that fails. If the user specifies the tool using the appropriate variable
(e.g. CC, CXX, AR, RANLIB, STRIP, etc.) then it will be checked as is.
Removed the major hack that did something similar to this but simply
ignored user-provided variables and used default tool names. For example,
CC was locked to $host_alias-gcc when cross compiling even if the user
specified CC on the configure command-line.
This brings wxWidgets in line with other autoconf 2.5x projects. The only
downside to this approach is that our old method would fail if
$host_alias-toolname was not present whereas the autoconf method will silently
use the host compiler (which is usually _not_ what the user wants).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 22:17:09 +00:00
Michael Wetherell
62fa8b3a1d
Handle the case when (v)snprintf have the format declared as char* instead of
...
const char*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-07 18:28:03 +00:00
Vadim Zeitlin
e08ed3082a
use libSgm with wxMotif if available, this seems to be useful under IRIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-03 23:27:20 +00:00
Michael Wetherell
e051b34ef2
Fix for detection of motif headers when they are in a different place to X11,
...
correct error message (CPPFLAGS instead of CFLAGS) and add /usr/pkg/include
to SEARCH_INCLUDE (usual location on NetBSD).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 20:22:49 +00:00
Stefan Neis
9e03e02d0c
Replaced SOCKLEN_T by WX_SOCKLEN_T to resolve conflict with AIX system headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 15:48:41 +00:00
Vadim Zeitlin
2971ea9d51
moved X11/XKBlib.h test after main X11 tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 23:30:06 +00:00
Vadim Zeitlin
aca2d2de32
(blind) fix for wxSound link problem under NetBSD with OSS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 23:28:35 +00:00
Mart Raudsepp
2696b11cd5
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFontEnumerator (gtk2.4 runtime check) to allow wxGTK2
...
applications compiled against gtk2.4 or newer to work with gtk2.2 or older runtime.
Removed HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE configure check in case of wxGTK2, as __WXGTK24__ is now used for that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 04:33:15 +00:00
Mart Raudsepp
631e67db81
gtk+-2.x runtime compatibility when compile-time gtk+ version is 2.7+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 23:46:20 +00:00
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