]> git.saurik.com Git - wxWidgets.git/commit - configure
Don't rely on __GXX_RTTI being defined with g++ < 4.3.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 2010 12:44:30 +0000 (12:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Apr 2010 12:44:30 +0000 (12:44 +0000)
commit3017880eff92f202f26262fbcdf1744cb620e3e3
tree625eb2a08d761a6e3632439848f70858e9d59c3e
parent3acf8a8d9b31ca97d21627d6f6c82fd4a9ed04b5
Don't rely on __GXX_RTTI being defined with g++ < 4.3.

__GXX_RTTI is only defined since g++ 4.3.2 and so we can't rely on its absence
as indicating the use of -fno-rtti switch with the older versions of the
compiler, only do this for g++ 4.3+.

Also define wxNO_RTTI from configure if --enable-no_rtti was used as we can't
always detect it automatically.

Closes #11955.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
configure
configure.in
include/wx/platform.h