Remove wxHAVE_GLIBC2 from configure, always predefine _GNU_SOURCE.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:40 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:40 +0000 (00:59 +0000)
commitbe1c88bf3e1beca2f70a585edce25c4d1889c736
tree73be81709f95053e664be3f071071ae51b7c7dd2
parentf8251232715b8d1b8cc6e708e619b3f88d8b025f
Remove wxHAVE_GLIBC2 from configure, always predefine _GNU_SOURCE.

We used to test for glibc version first and predefined _GNU_SOURCE only if it
was greater than 2.1 but there doesn't seem to be any harm to just always
predefine _GNU_SOURCE under Linux (not that there are any systems with glibc <
2.1 left anyhow). Also do it much earlier to ensure that all tests are
affected by it.

And as we don't use wxHAVE_GLIBC2 anywhere else just remove it.

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