Commit Graph

57 Commits

Author SHA1 Message Date
Dimitri Schoolwerth
4c51a665c6 Fixed various typos.
Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch.

Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot").

Closes #13063 (again).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-22 14:17:38 +00:00
Paul Cornett
e4e265ebf6 remove some extraneous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-07 17:20:31 +00:00
Vadim Zeitlin
ee4f5418ff Don't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS.
This provokes warnings from autoconf 2.65 and seems to be unnecessary even
with the previous versions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-17 22:30:22 +00:00
Vadim Zeitlin
7ac0e38e96 fix output of WX_ARG_DISABLE() for options which can have values other than yes/no (e.g. auto, as for wxUSE_COMPILER_TLS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 23:51:57 +00:00
Vadim Zeitlin
4c1d5d5ae2 remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:16:09 +00:00
Vadim Zeitlin
8d7a7fe2b1 remove support for configarg.cache, use config.status or extract the last used configure command line from config.log instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:39:54 +00:00
Paul Cornett
1ad9ba1462 fix HAVE_ macros not being converted to uppercase on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 02:06:04 +00:00
Vadim Zeitlin
8630a814ce preserve the arguments read from configarg.cache in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 23:48:30 +00:00
Vadim Zeitlin
1c2aa6f237 fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 21:59:56 +00:00
Vadim Zeitlin
8743ec79b7 corrected (and simplified) configarg.cache updating broken by last changes to WX_ARG_WITH/ENABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:15:38 +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
47124ca667 fix WX_ARG_WITH behaviour when it's used before wxUSE_ALL_FEATURES is defined, as for --without-subdirs option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 16:18:41 +00:00
Vadim Zeitlin
d970f7d5cb allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros and renamed --disable-all_features to --disable-all-features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 18:12:32 +00:00
Vadim Zeitlin
b7ed9e10d3 fixed a bug in a test (there should be a space after -z)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:32 +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
Václav Slavík
dc6923a52c fixed configarg.cache code to correctly handle multiple options with the same prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 14:42:46 +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
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
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
077c78808f don't use version script under cygwin/mingw32, it's useless and breaks the link after latest autoconf-2.60-related bakefile 0.2.1 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 12:03:54 +00:00
Michael Wetherell
040b34976e Add WX_CHECK_FUNCS (instead of WX_CHECK_DECLS). It checks for functions in
both headers and libs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:48:26 +00:00
Michael Wetherell
0f5ba0fb0c Revert last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:47:09 +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
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
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
Michael Wetherell
c5b6251927 Revert previous commit for fear that 'test -h' may not work everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 20:16:19 +00:00
Michael Wetherell
0feb044436 Allow WX_PATH_FIND_INCLUDES and WX_PATH_FIND_LIBRARIES to accept symlinks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 19:57:41 +00:00
Michael Wetherell
c5044ee808 Change so that WX_PATH_FIND_LIBRARIES doesn't always check /usr/lib, /usr/lib32, /usr/lib/64 and /usr/lib64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 19:50:01 +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
2296fe5018 check default library directories in WX_PATH_FIND_LIBRARIES; do *not* add default library paths to LDFLAGS (fixes IRIX build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 22:10:33 +00:00
Michael Wetherell
db35cc2cc3 Add dll.a to the extensions search for by WX_PATH_FIND_LIBRARIES, for the
benefit of Cygwin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 20:44:14 +00:00
Michael Wetherell
e5d4b470c9 Test for --version-script bug, known to be in at least ld 2.11.2 on netbsd and openbsd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 12:30:38 +00:00
David Elliott
6dcfc2898e Moved compiler detection macros to Bakefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 03:49:38 +00:00
David Elliott
0e6fa1d908 Fixed MW and XLC tests when using -C (cache) option with configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:47:33 +00:00
David Elliott
1d1af5eaf0 Make wxCocoa compile on Tiger.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 04:47:28 +00:00
Vadim Zeitlin
d1150ea70f added AC_CXX_DYNAMIC_CAST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 10:39:46 +00:00
David Elliott
9273ffba9b Check for xlC and add -qunique to CXXFLAGS if we're using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 08:16:00 +00:00
David Elliott
480ccd2194 Check to see if -ext o option is required to get compiler to write
foo.o instead of foo.c.o or foo.cc.o.  (MetroWerks)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 07:14:14 +00:00
Vadim Zeitlin
4eeb39ab7c added AC_CXX_REINTERPRET_CAST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:44:59 +00:00
David Elliott
f497359506 Revert my id10t error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 01:41:00 +00:00
David Elliott
fe947a6116 Changes that were in aclocal.m4 but not here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:33:36 +00:00
Vadim Zeitlin
3e1bf71c36 do check for <iostream> even when cross-compiling -- why not?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:16:32 +00:00
Vadim Zeitlin
ecfd48ca08 added HAVE_STATIC_CAST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 21:49:22 +00:00
Mattia Barbon
521196a26a Added configure test for const_cast<>(), and enabled it
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Václav Slavík
b4eecb7e2f disable version-script on Solaris, it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 13:54:10 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
5005acfef5 show correct message when running configure for the switches which are on by default (such as --enable-compat22)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:21:55 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Vadim Zeitlin
5a5d3c080f oops, typo in the large file support just checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:51:28 +00:00
Vadim Zeitlin
90dd450cf3 added configure support for the large files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:44:11 +00:00