Commit Graph

1293 Commits

Author SHA1 Message Date
Paul Cornett
be2ad872dc more AC_CHECK_HEADERS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 18:27:35 +00:00
David Elliott
1f7e12cc26 Restore AC_CHECK_HEADERS in preference to AC_CHECK_HEADER so that the HAVE_*
defines will be generated when needed.  This fixes breakage caused by 44703.
Only usage where HAVE_* macro is in setup.h.in or was used by configure
itself (e.g. HAVE_X11_XLIB_H) is changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 17:59:45 +00:00
Vadim Zeitlin
c225b981b6 check for setenv first, then putenv as using setenv in wxSetEnv() is much easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:09 +00:00
Vadim Zeitlin
4f167b46b4 added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +00:00
Vadim Zeitlin
e7ff34edfd removed the hyphen from the new --enable{baseevt,epoll,select}loop options description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 12:58:28 +00:00
Vadim Zeitlin
5f6cafd149 test for gettimeofday/ftime even if we don't use wxDateTime -- we still need these functions for wxGetLocalTimeMillis() and wxStopWatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 21:20:54 +00:00
Paul Cornett
a9639e76ed fix syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:17:21 +00:00
Vadim Zeitlin
a187327964 Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
put checks for them in the new Unix-specific wx/unix/chkconf.h file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:06:18 +00:00
Vadim Zeitlin
3c7410a5ba don't change the wxUSE_XXX for the controls if --enable-controls wasn't specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 17:54:39 +00:00
Václav Slavík
a2bd84a532 added --disable-visibility configure option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:44:26 +00:00
Václav Slavík
3d44a14558 make --enable-optimise the default in absence of --enable-debug again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:13:55 +00:00
Vadim Zeitlin
84ebfcbd18 --with-sdl option should be taken into account for non-GUI builds too (closes bug 1196162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:31:24 +00:00
Vadim Zeitlin
238663c183 disable the libraries and features which were disabled before the latest changes but got accidentally enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:05 +00:00
Vadim Zeitlin
b0fc907f70 added wxUSE_SVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
Vadim Zeitlin
6534efcf7b add adv and core libraries to the built wx libs if GUI is enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:11:37 +00:00
Vadim Zeitlin
6e198e97ec Rewrote configure --enable/with options handling:
1. There is no more need to set DEFAULT_wxUSE_XXX for all options (although
   it's still taken into account if it is set), use WX_ARG_DISABLE/WITHOUT for
   the options which are enabled by default instead (and WX_ARG_ENABLE/WITH
   for those which are disabled): this makes configure messages more
   understandable (this closes bug 1038676)
2. Added --disable-all-features option which allows to disable everything
   which can be disabled at once in order to build the absolutely minimal
   wx library
3. General cleanup 



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:03:11 +00:00
Vadim Zeitlin
bd63020652 added --optional-libs wx-config argument (patch 1747239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:28:12 +00:00
Vadim Zeitlin
4db03d266b added functions for base64 en/decoding (replaces patch 1739431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +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
Václav Slavík
c5cf866314 removed wxWCHAR_T_IS_SEPARATE_TYPE: there already was wxWCHAR_T_IS_REAL_TYPE with the exact same meaning and definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 07:04:38 +00:00
Václav Slavík
4d62edfb07 wxUniChar wchar_t handling fixes for Borland, DMC and Watcom compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 19:11:09 +00:00
Václav Slavík
21f0762a1a fixes to wint_t and wchar_t handling in unichar.h (fixes FreeBSD compilation and Mingw compilation with -pedantic)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 20:44:58 +00:00
Václav Slavík
8a02058ab2 added configure check for wcsdup(), there are too many Unix systems without it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 11:58:21 +00:00
Vadim Zeitlin
8802d332af remove -mt and/or -pthread when mixing Sun CC and gcc once at the end instead of doing it several times in the middle as these options can appear in pkg-config output for just about anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:06:12 +00:00
Vadim Zeitlin
ab595566b1 use -R instead of -Wl,-rpath with Sun CC under Linux too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:23:54 +00:00
Václav Slavík
4fc1c0f091 made wxUSE_UNICODE=1 the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
Vadim Zeitlin
8f0b4082f4 corrected strptime() test, don't use NULL pointer as this crashes under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 00:29:54 +00:00
Vadim Zeitlin
63a09523da check if strptime() works correctly and disable its use if it doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 00:56:35 +00:00
Stefan Neis
9a5bfa1eab Try using UTF-8 on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:48:12 +00:00
David Elliott
931d76980e Add implementation of Objective-C class name uniquifying.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:28:35 +00:00
Vadim Zeitlin
65c1133755 use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it but C++ compiler doesn't have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 00:33:14 +00:00
Vadim Zeitlin
b46b1d59d6 implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
Vadim Zeitlin
b70642258f fixed detection of missing C++ compiler added in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 00:22:13 +00:00
Vadim Zeitlin
d5e0be7d42 abort immediately if no C++ compiler was detected instead of continuing reporting plenty of tests failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:50:09 +00:00
Vadim Zeitlin
371bc2f714 test for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:29:05 +00:00
Vadim Zeitlin
faa5c14f8c output Unicode/UTF-8 settings on a single line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 20:39:18 +00:00
Václav Slavík
ca4c9b7e56 enable UTF8 build for wxGTK2 and wxDFB by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 08:15:20 +00:00
Václav Slavík
111d99489d added code for optimized handling of UTF-8 locales: some string operations are more efficient under it and it's possible to completely compile-out support for other locales if the target system is known to only use UTF-8 locales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 11:05:04 +00:00
Robert Roebling
235751501d Added compile guards to wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 09:22:02 +00:00
Václav Slavík
b1b592ad75 don't compile Scintilla sources with -Wall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 19:05:45 +00:00
Václav Slavík
817270659e initial version of UTF-8 strings representation (still converting to wchar_t* a lot); it has to be explicitly enabled with --enable-utf8 for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 21:15:07 +00:00
Mattia Barbon
afc89ff455 Added --enable-extended_rtti configure switch (defaults to disabled).
Fix compilation when WXINTL_NO_GETTEXT_MACRO is defined.
  Added wx/flags.h to installed files.
  Fix XTI compilation after wxString changes.
  Fix 'virtual functions but non-virtual destructor' GCC warnings.
  Minimal XTI definition for wxOwnerDrawnComboBox (cut'n'paste
from wxComboBox, will need to be completed).
  Requires rerunning bakefile and autoconf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 10:32:01 +00:00
Vadim Zeitlin
6daba577e9 use C++ compiler for all getsockopt() tests, not just one of them to fix compilation under HP-UX (patch 1693708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:18:56 +00:00
Robin Dunn
cf63f3d3ae More patches from FM to clean up after moving contribs. Also removes
use of wxUSE_RESOURCES


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Robin Dunn
18cea8715a Patch from FM with more bakefile tweaks and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:26:59 +00:00
Robin Dunn
54429bb380 Bakefile and other changes for new locations of STC and wxSVGFileDC.
Remove old files in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Vadim Zeitlin
d63f7562cf added taborder sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 15:07:10 +00:00
Vadim Zeitlin
e55a667c1c test for pthread_mutex_timedlock() availability in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:37:26 +00:00
Paul Cornett
be33a1c726 sizeof(char) is 1. By definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 03:41:37 +00:00
Paul Cornett
6e7b8bcbd7 add 4th parameter to AC_CHECK_HEADER to skip preprocessor check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 17:57:21 +00:00