Fix build with Sun CC under Linux.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:43 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:43 +0000 (00:59 +0000)
commiteef2e91ffb62bbf3f61b8d9e718022a020cdeaa2
treed6e61b64f2c6cdcb7fe0eebd271e8d895d990039
parentbe1c88bf3e1beca2f70a585edce25c4d1889c736
Fix build with Sun CC under Linux.

We need to explicitly define _GNU_SOURCE when building our code as we use it
configure when running the tests and it's not predefined by Sun CC, unlike g++
so we need to add it to CXXFLAGS ourselves.

An alternative solution would be to run the tests without _GNU_SOURCE but this
would lose too much functionality so it doesn't seem like a good idea.

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