mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
build: avoid compiler warning during configure
There is no need to redefine _GNU_SOURCE in tests that occur after gl_INIT, since that macro already AC_DEFINE'd it for us. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
81cfe71998
commit
1ba6e2d926
@ -638,7 +638,7 @@ if test "$with_libvirtd" = "no" ; then
|
||||
with_lxc=no
|
||||
fi
|
||||
if test "$with_lxc" = "yes" || test "$with_lxc" = "check"; then
|
||||
AC_TRY_LINK([#define _GNU_SOURCE
|
||||
AC_TRY_LINK([
|
||||
#include <sched.h>
|
||||
], [
|
||||
unshare (1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user