summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-01-08 20:23:17 +0000
committerKaz Kylheku <kaz@kylheku.com>2016-01-08 20:23:17 +0000
commite77ec16597234e3586e88dbaed3fb2bee7cda788 (patch)
tree638c47d5722d7b5e866da39a8f8167a05e841af5 /configure
parent5954a42b3588c5ece439b0c94758b9e75cd5f98c (diff)
downloadtxr-e77ec16597234e3586e88dbaed3fb2bee7cda788.tar.gz
txr-e77ec16597234e3586e88dbaed3fb2bee7cda788.tar.bz2
txr-e77ec16597234e3586e88dbaed3fb2bee7cda788.zip
Squash compiler complaint about _BSD_SOURCE.
Some glibc nincompoops have suddenly decided, in their infinite wisdom, that a wise move is to deprecate the _BSD_SOURCE feature selection macro with annoying preprocessor warnings insisting that _DEFAULT_SOURCE be used instead, even though the functions convered by _BSD_SOURCE still exist. * configure: Let's test for _DEFAULT_SOURCE ahead of _BSD_SOURCE.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2154e829..eef64f13 100755
--- a/configure
+++ b/configure
@@ -917,7 +917,7 @@ int main(int argc, char **argv)
if conftest ; then
printf "none needed\n"
else
- for flag in _BSD_SOURCE __BSD_VISIBLE _GNU_SOURCE _X_OOPS; do
+ for flag in _DEFAULT_SOURCE _BSD_SOURCE __BSD_VISIBLE _GNU_SOURCE _X_OOPS; do
if [ $flag = _X_OOPS ] ; then
printf "failed\n"
break