]> xenbits.xensource.com Git - libvirt.git/commit
gnulib: add getopt module
authorFabian Freyer <fabian.freyer@physik.tu-berlin.de>
Thu, 9 Jun 2016 00:50:35 +0000 (00:50 +0000)
committerRoman Bogorodskiy <rb0427@att.com>
Sun, 10 Jul 2016 19:39:44 +0000 (15:39 -0400)
commitb436a8ae5ccb04f8cf893d882d52ab5efc713307
treeededf9096025ac7172e7c81baabfea957cc71693
parent1edf20a9f87eb5873394182f470e191a9c70f9cf
gnulib: add getopt module

Unconditionally use gnulib's getopt module. This is needed by the bhyve driver
to provide a reentrant interface for getopt.

Several gnulib headers rely on features.h being included by ctype.h to provide
__GNUC_PREREQ, but on systems without glibc, this is not provided. In these
cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
in src/internal.h.
Therefore, define __GNUC_PREREQ as early as possible. config-post.h is probably
the first header that is included, before any other headers.
bootstrap.conf
config-post.h
m4/virt-driver-bhyve.m4
po/POTFILES.in