Vadim Zeitlin
15a1c3b2ef
Work around g++ atomic builtins detection in configure when -Os is used.
...
Assigning __sync_sub_and_fetch() result to an unused variable can result in it
being optimized away and the function support is then not really tested for,
see #4542 . So do make sure this variable is kept by making it volatile.
Closes #15555 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-04 23:48:22 +00:00
Vadim Zeitlin
f83a9705cd
Fix configure on GNU Hurd.
...
Closes #15480 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-10 12:12:47 +00:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
497b4e64ce
Fix checking for GTK+ 3.0 in configure.
...
Update gtk-3.0.m4 to work correctly with gthread module and regenerate
configure using the new version of this file.
Closes #15319 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 20:48:48 +00:00
Paul Cornett
9dc44eff02
support for GTK3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-30 20:39:06 +00:00
Václav Slavík
550a0c4154
Don't use ancient -no-cpp-precomp flag on OS X.
...
See http://trac.wxwidgets.org/ticket/14029 for a discussion of the
problems it causes when using non-Apple compiler. Even for Apple's GCC,
it does nothing these days and we no longer support OS X 10.3, so
there's no point in continuing to use it.
Fixes #14029 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-29 09:36:44 +00:00
Stefan Neis
3534fee076
Fixed miss-spelling in output messages (enviroment -> environment,
...
occured -> occurred), fixing 13993.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-18 19:31:59 +00:00
Dimitri Schoolwerth
7e528ef6d1
Synchronised svn:eol-style and svn:executable properties of some file types.
...
Changed the properties of the following file types:
.am .m4: LF
.plist .plist.in: native
.guess .sh .sh.in .sub: LF, executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-18 18:00:07 +00:00
Vadim Zeitlin
ea8dd85723
Use AC_LANG_SOURCE and add missing quoting to configure.
...
This fixes some of the warnings from autoconf 2.68 while still remaining
compatible with 2.61.
Closes #13591 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 23:20:10 +00:00
Václav Slavík
e9eda14ca6
Don't use install -d
to create directories.
...
Always use `mkdir -p`, as install is problematic with regard to
permissions.
Fixes #13452 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 15:48:50 +00:00
Václav Slavík
7198c33680
Disable symbols visibility support for the Clang compiler.
...
Even Clang++ shipped with Xcode 4.1 still can't handle visibility
of non-inline methods in exported template classes if the default
visibility is 'hidden'.
Disable visibility support for Clang for now, we'll revisit it in the future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-31 13:25:30 +00:00
Dimitri Schoolwerth
d13b34d3f2
No code changes, fixed various typos.
...
Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk.
Closes #13076 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-03 20:31:32 +00:00
Vadim Zeitlin
00eef16d51
Rebake everything using bakefile 0.2.9.
...
Update configure and bakefile.m4 for the new version too.
Also add the missing makefiles and projects for the XTI sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-03 15:02:45 +00:00
Vadim Zeitlin
4164cd68d4
Backport fix from bakefile svn for autoconf 2.65.
...
Use AC_REQUIRE() instead of directly using a macro, the latter doesn't work
with autoconf 2.65.
This is a backport of r1337 from bakefile svn to allow people to use autoconf
2.65 immediately and will become unnecessary when we update to the next
bakefile version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-17 22:30:27 +00:00
Kevin Ollivier
fcc9ca7f72
Update to Bakefile 0.2.8.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-31 20:52:55 +00:00
Vadim Zeitlin
7880889720
Rebake everything using bakefile 0.2.7.
...
Also updated aclocal inputs and regenerated configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 16:53:10 +00:00
Vadim Zeitlin
2c459beb46
Updated for bakefile 0.2.7.
...
Copied bakefile.m4 from bakefile svn and regenerated configure using it.
This should have been done in r62308 but was forgotten. Notice that we can't
use bakefile 0.2.6 any more without reverting this change!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-07 13:54:44 +00:00
Vadim Zeitlin
574be073c0
update for bakefile 0.2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 17:54:45 +00:00
Vadim Zeitlin
eb6a8d695e
don't use __thread keyword with g++ < 4 as it results in mysterious problems at link time related to thread-local static wxString::ms_cache
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:53:24 +00:00
Vadim Zeitlin
05622061c9
port updates for newer Intel compiler support from bakefile svn and rebake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 22:29:05 +00:00
Vadim Zeitlin
411484436d
use -Woverloaded-virtual if g++ supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:58:56 +00:00
Vadim Zeitlin
970a5babf7
use correct shared library extension for HP-UX on ia64 [forward port from the next bakefile version]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:37:01 +00:00
Vadim Zeitlin
825dbe24d0
fix the dependencies directory name for traditional Unix compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:54:41 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Vadim Zeitlin
313b12ad22
update to 0.2.4 version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:32:41 +00:00
Vadim Zeitlin
5b8deabaf4
upgrade m4 files to bakefile 0.2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 13:21:23 +00:00
Václav Slavík
9d5507f7a2
check that the version of __sync_sub_and_fetch that returns a value is supported, not just the void one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-05 10:51:28 +00:00
Václav Slavík
9dcff96ba9
when testing for GCC's atomic builtins, try to link too (see bug #1844128 ); also more closely mirror wx's use by using unsigned int and not int for tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 15:29:17 +00:00
Vadim Zeitlin
c9bd045b24
check whether compiler supports visibility pragmas used for broken libstdc++ visibility workaround and don't use visibility at all if it doesn't (which is the case for icc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:50:13 +00:00
Václav Slavík
479647105b
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Václav Slavík
b9d4eff64f
check for HAVE_VISIBILITY first when setting WXIMPORT/WXEXPORT; only set it on platforms where it makes sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:36:14 +00:00
Václav Slavík
34b340a08e
the Ubuntu visibility bug only happens when building shared libraries on some systems, use -shared when testing for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:13:11 +00:00
Václav Slavík
d6f513f829
fix visibility problems with libstdc++ on Debian and Ubuntu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 09:20:42 +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
Vadim Zeitlin
e3b13be45a
fixed defining FOOCXX symbols (was broken because AC_LANG_POP was done too soon and so variable name for C and not C++ was wrongly used); changed mwcc and xlc detection to use the common macro instead of duplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:17:30 +00:00
Vadim Zeitlin
9435c35e40
added support for using Sun CC to link shared libraries under Linux too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:15:33 +00:00
Vadim Zeitlin
15e5ef78ae
test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:25:10 +00:00
Vadim Zeitlin
2e91a01aea
update m4 files to bakefile 0.2.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:50:47 +00:00
Michael Wetherell
d083d20168
Fix so that AR/AROPTIONS can be overridden on the configure command line when
...
using Sun CC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 23:43:54 +00:00
Michael Wetherell
b71ff4d35d
Fix for the compiler checks. The compiler flags like SUNCC and SUNCXX were
...
only being set when language being tested matched the current language, so
C++ flags weren't being set since we changed the default language back to C.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:04:53 +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
Robin Dunn
99a2637bdb
use the 0.2.1 version of bakefile.m4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 17:37:49 +00:00
Vadim Zeitlin
c3e7509cda
restored the wx-specific changes accidentally lost in rev 1.13 and 1.14
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:21:49 +00:00
Vadim Zeitlin
97d28c6f42
updated from bakefile revision 928
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:15:51 +00:00
Vadim Zeitlin
81c330c6f0
fixed confusing double messages about getservbyname_r() test result, made the checking message consistent with gethostbyname_r() one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 00:03:27 +00:00
Michael Wetherell
e321ac6160
Bring through upstream version tagged SDL_1_2_11.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:56:02 +00:00
Michael Wetherell
991a9f9710
Bring through upstream version tagged PKGCONF_0_20.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:51:18 +00:00
Michael Wetherell
5a0bcf1f34
Allow unknown generic unix systems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:31:12 +00:00
Michael Wetherell
b45b79f286
Display 'no' when the test fails and correct quoting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:21:16 +00:00
Michael Wetherell
6a4d465c26
Bring upstream version tagged ACARC_2006_07_16 through from vendor branch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:06:23 +00:00