autotools: Use AC_GNU_SOURCE and config.h
authorRichard Jones <rjones@redhat.com>
Thu, 15 Oct 2009 10:05:28 +0000 (11:05 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 15 Oct 2009 12:13:44 +0000 (13:13 +0100)
commitd3958dc76cff61f0ed7563729dc3c2f2e3e3ae10
treeb2e1e47779047f09919558a5a7da08c085cc5e31
parentc0cbeed281739194adfb9c43d01197a4f84d8d95
autotools: Use AC_GNU_SOURCE and config.h

Use AC_GNU_SOURCE instead of coding -D_GNU_SOURCE directly.

All C files should include <config.h> as the first line (before
any other includes or defines).
13 files changed:
configure.ac
libmetrics/host_metrics.c
libmetrics/libmetrics.c
libmetrics/vm_metrics.c
test/main.c
vhostmd/metric.c
vhostmd/util.c
vhostmd/vhostmd.c
vhostmd/virt-util.c
vhostmd/xen-metrics.c
vhostmd/xenctrl-util.c
vhostmd/xenstore-update.c
vm-dump-metrics/main.c