diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-01-08 20:23:17 +0000 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-01-08 20:23:17 +0000 |
commit | e77ec16597234e3586e88dbaed3fb2bee7cda788 (patch) | |
tree | 638c47d5722d7b5e866da39a8f8167a05e841af5 /configure | |
parent | 5954a42b3588c5ece439b0c94758b9e75cd5f98c (diff) | |
download | txr-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |