From e77ec16597234e3586e88dbaed3fb2bee7cda788 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 8 Jan 2016 20:23:17 +0000 Subject: 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3