Commit Graph

1368 Commits

Author SHA1 Message Date
Vadim Zeitlin
ddbd3cd58b force linux/joystick.h header compilation (and not just presence) check to fix the build under Linux 2.6.16 with its broken joystick.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 16:20:11 +00:00
Václav Slavík
d7ae4a6264 moved wxMGL's font management code to common so that it can be reused by wxDFB; implemented wxDFB part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 20:45:57 +00:00
Vadim Zeitlin
a1b1cf33e1 disable mmedia contrib for wxMGL (blunt fix for tinderbox compilation error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:33:22 +00:00
Vadim Zeitlin
2e35565ac8 disable wxGLCanvas for wxMGL and wxDFB which don't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 19:50:59 +00:00
Stefan Neis
e43101ee40 Need to check for getsockopt argument in C++ mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 17:19:59 +00:00
Vadim Zeitlin
38c6938f8d use C++ for variadic macros test as e.g. gcc 2.95.4 supports them while g++ 2.95 does not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:40:38 +00:00
Vadim Zeitlin
715d53e4e1 use C++ compiler for timezone test, otherwise wrong timezone is detected under cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:36:32 +00:00
Robin Dunn
25bb1412af Move version number to 2.8.0.0 and rebake the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Vadim Zeitlin
d0dec9136f undid CFLAGS to CXXFLAGS chane (rev 1.1121) which is not necessary any more; fixed a couple of problems with using WX_CHECK_FUNCS() (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 01:32:05 +00:00
Vadim Zeitlin
d92b393c90 use AC_CACHE_CHECK instead of AC_MSG_CHECKING + check to avoid unnecessary checking for cached tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 01:00:17 +00:00
Vadim Zeitlin
224d4f6d7c use C++ compiler for the tests which do require it (from rev 1.1118 a.k.a. BEFORE_LANG_CXX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 00:40:27 +00:00
Vadim Zeitlin
55e345713a shave 30KB off configure size by using a single AC_CHECK_HEADER() for multiple headers instead of 6 different AC_CHECK_HEADER() calls which are strictly quivalent but expand the macro 5 times unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:44:02 +00:00
Vadim Zeitlin
a49ffb32e2 include widec.h if it's available, it contains declarations of [f]putws() under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:35:09 +00:00
Vadim Zeitlin
fd5199d66b use C compiler for tests again, it's useless to use the C++ one for AC_CHECK_FUNCS() test anyhow; do use WX_CHECK_FUNCS() instead of several AC_CHECK_FUNCS() where we need to make sure that the function declaration is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:30:37 +00:00
Vadim Zeitlin
2dbd07cb7a don't create version-script file if it's not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 12:08:51 +00:00
Vadim Zeitlin
b6814e24ef disable joystick for wxMGL, it's not implemented there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 23:57:43 +00:00
Vadim Zeitlin
74d92aac47 disable net contrib for non-Unix nor Windows platforms (e.g. wxMGL under DOS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 23:21:24 +00:00
Vadim Zeitlin
480b9f185f disable wxSound for wxMGL DOS build (it's not implemented there)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 16:15:49 +00:00
Vadim Zeitlin
56c6aab7e6 disable dialup manager for MGL, it doesn't link as there is no DOS implementation of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:05:50 +00:00
Vadim Zeitlin
e541dae02d fix messages for OpenGL headers detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:13:26 +00:00
Vadim Zeitlin
5dfc7e56e5 test for GL/glu.h too (fixes part of bug 879474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:40:31 +00:00
Vadim Zeitlin
02b0502025 look for OpenGL headers/libraries in /opt/graphics/OpenGL as this is where they're found on HP-UX systems apparently (closes bug 925307)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:33:37 +00:00
Václav Slavík
6589dc98a0 don't use top_builddir so that configure.in works with autoconf 2.5x as well as 2.60+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:08:49 +00:00
Vadim Zeitlin
4922025ae8 fix to last change: compilation test must be done after test for C compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:10:20 +00:00
Vadim Zeitlin
032bc940fc add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 02:54:19 +00:00
Vadim Zeitlin
322f55e8d0 fix typo in WX_ARG_ENABLE for richtext (patch 1589243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:48:44 +00:00
Vadim Zeitlin
d6fb552774 call PKG_PROG_PKG_CONFIG before checking for gnomeprintui, gnomevfs and hildon libraries -- otherwise they were never detected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:46:49 +00:00
Vadim Zeitlin
d8f2f99ff7 don't define WINVER as 0x0400 in configure, it's defined in the headers as 0x0600 if it's not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:34:43 +00:00
Vadim Zeitlin
bb9e79c05e added --enable-tga (on by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:41:43 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Michael Wetherell
916af76f40 Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
wxArchiveFSHandler for compatibilty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Robin Dunn
2add9e3c2f Moved version number to 2.7.2.0 and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Vadim Zeitlin
ec3edcc984 check for strtoull() or wcstoull()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:13:19 +00:00
Vadim Zeitlin
1e613d2282 deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:01:33 +00:00
Michael Wetherell
6c7f5e56a8 Another fix for the pch bug test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 11:53:44 +00:00
Michael Wetherell
be49c6ecde Another fix for the pch bug test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 11:07:20 +00:00
Michael Wetherell
6d952fd76f Fix bugs in check for gcc's precompiled header bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 10:31:43 +00:00
Michael Wetherell
b2983f422f Fix portibility bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 01:15:16 +00:00
Michael Wetherell
26e422a9ad Add wxUSE_TARSTREAM and wxUSE_FS_ARCHIVE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:27 +00:00
Michael Wetherell
a81d5bb62c On unicode builds detect gcc 3.4 precompiled header bug (bugzilla 13361).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:20:26 +00:00
Robin Dunn
f2b79dadee Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:15:41 +00:00
Michael Wetherell
f8f6c91a0f Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:47:07 +00:00
Michael Wetherell
c06469f66f Check for fdopen. Probably everywhere has it, but check until we are sure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 13:33:45 +00:00
Vadim Zeitlin
ac70b90bb4 why was using std::string and streams disabled by default for mingw32 and cygwin? enabled it back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:50:43 +00:00
Robin Dunn
81bfc17cc6 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:24:08 +00:00
Vadim Zeitlin
479c790cb7 must use PKG_PROG_PKG_CONFIG before PKG_CHECK_MODULES; fixes configure for Unicode wxX11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:12:46 +00:00
Robert Roebling
88bbc3329b Test for KDE and GNOME using session manager vendor.
Use it in mime types initialization.
   Add wxUSE_DETECT_SM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Robin Dunn
64b75e644a Ensure Cairo is installed before setting wxUSE_GRAPHICS_CONTEXT for
wxGTK builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:07:42 +00:00
Paul Cornett
bfeeb7f3a2 remove unused XIM code, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 04:03:24 +00:00
Robin Dunn
6850c57605 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:01:02 +00:00
Paul Cornett
7067783d90 animatectrl typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 17:00:24 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Robert Roebling
f1e3914fde Bump version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 19:49:24 +00:00
Vadim Zeitlin
319c5ed4d2 added --enable-aboutdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:21:57 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Vadim Zeitlin
6f1fb1acbb define wxUSE_ACTIVEX and wxUSE_OLE_AUTOMATION with wxUSE_OLE (no separate switches for now...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:41:38 +00:00
Vadim Zeitlin
4353a8df6e add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 22:55:28 +00:00
Vadim Zeitlin
ca5c6ac3f4 Added wxUSE_VARIANT and the related checks, also added wxUSE_OLE_AUTOMATION
to guard wxAutomationObject code which depends on wxVariant


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:12:56 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Michael Wetherell
58e65954e9 Minor cleanup: use AC_CHECK_DECLS for the gtk_icon_size_lookup check instead of
AC_TRY_COMPILE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:09:43 +00:00
Robert Roebling
6a5c9b3ff7 Apply patch [ 1548750 ] wxVsnprintf() various fixes
Part II.
c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:11:21 +00:00
Vadim Zeitlin
5039a2df01 define wx_cv_func_snprintf_pos_params when cross-compiling too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 22:03:11 +00:00
Vadim Zeitlin
15291213d7 enable support for printf positional parameters by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 09:51:24 +00:00
Václav Slavík
ca766534cf use macros to completely remove wxLogTrace, wxLogDebug etc. in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 14:21:08 +00:00
Michael Wetherell
dcfd4ac412 A better compile fix for Wine (which lacks pbt.h).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 18:33:31 +00:00
Michael Wetherell
5f41d1bf1d Define HAVE_BOOLEAN when the Windows headers declare 'boolean' to avoid a
conflict with the jpeg headers which will otherwise also declare it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 17:57:17 +00:00
Robin Dunn
5b5d4ef2dd bump subrel number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:45:44 +00:00
Michael Wetherell
56632e818f Use WX_CHECK_FUNCS for strtok_r.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:53:48 +00:00
Vadim Zeitlin
737d3175f3 relax DFB version requirements to work with 0.9.22 and not only the latest 0.9.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:45:58 +00:00
Václav Slavík
b3c861501a initial (not yet working) code for DirectFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:42:42 +00:00
Václav Slavík
452b624353 set wxUSE_TOOLBAR_NATIVE to 0 when --enable-universal is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:15:43 +00:00
Václav Slavík
27cc91429d removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Michael Wetherell
82a2636b8c Switch to AC_CHECK_DECLS instead of WX_CHECK_DECLS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:55:01 +00:00
Michael Wetherell
5acfd58da0 Add WX_CHECK_DECLS macro and try it out on strtok_r. Otherwise the test for
strtok_r succeeds on Minix though the function is not available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:15:21 +00:00
Michael Wetherell
047cffd261 For an unknown generic unix system make --with-x11 --disable-shared the default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 20:17:36 +00:00
Vadim Zeitlin
c2e9ada498 tidy up configure output, don't show gnomeprint/vfs/hildon for non-GTK ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:17:07 +00:00
Paul Cornett
b34497d885 configure test for round
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:28:18 +00:00
Vadim Zeitlin
8f3773fdfd disable positional printf params for now as there are problems with our vsnprintf() version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 00:38:23 +00:00
Vadim Zeitlin
178b97779d corrected typo in DEFAULT_wxUSE_PRINTF_POS_PARAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:07:07 +00:00
Michael Wetherell
9576853579 Add parameter to the --enable-universal_binary option for the path to the SDK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 13:38:23 +00:00
Michael Wetherell
bc023abbbb Detect and use sys/select.h required by POSIX for select
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 11:18:24 +00:00
Vadim Zeitlin
31714590f3 test for sys/soundcard.h was failing because of missing sys/ioctl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:24:02 +00:00
Vadim Zeitlin
2f6c5bb5f2 nicer messages for gstreamer detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:54:05 +00:00
Vadim Zeitlin
88aaf4f5bf continue even if the system name is not recognized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:28:06 +00:00
Vadim Zeitlin
122ff921f0 remove -mt from gstreamer CFLAGS/LIBS under Solaris/gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 23:02:22 +00:00
Stefan Neis
5824777356 Added support for MirOS, an OpenBSD variant (patch #1520208).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 08:59:53 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
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
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