build-sys: Set C language standard to gnu11
authorAhmed S. Darwish <darwish.07@gmail.com>
Sun, 13 Mar 2016 22:00:03 +0000 (00:00 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Sat, 23 Apr 2016 09:53:17 +0000 (12:53 +0300)
commitdcbe79bd630b6176eac7214834234218de744f2a
tree30ad936a5924c013cd511e1af53e6031dd60a933
parentb5e5475d964048bac6eab392911b75511016e085
build-sys: Set C language standard to gnu11

Per glibc feature_test_macros(7), setting compiler flags to
-std=c11 (or any c* variant like c99) enforces strict ANSI
mode.

Enforcing strict ANSI makes all declarations under _GNU_SOURCE
unavailable. This leads to build warnings in the form of:

    warning: implicit declaration of function â€˜syscall’

Thus replace -std=c11 with -std=gnu11

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
configure.ac
src/Makefile.am