mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
build: drop the getopt-posix gnulib module
The getopt-posix module fixes a problem with optind being incorrectly
set after a failed option parse. It was also previously used to allow
the bhyve driver to access a private internal reentrant getopt impl.
None of this matters to libvirt code any more.
This partially reverts
commit b436a8ae5c
Author: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Date: Thu Jun 9 00:50:35 2016 +0000
gnulib: add getopt module
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6894ba88b8
commit
de3c1d2f53
@ -51,7 +51,6 @@ fsync
|
|||||||
getaddrinfo
|
getaddrinfo
|
||||||
getcwd-lgpl
|
getcwd-lgpl
|
||||||
gethostname
|
gethostname
|
||||||
getopt-posix
|
|
||||||
getpass
|
getpass
|
||||||
getpeername
|
getpeername
|
||||||
getsockname
|
getsockname
|
||||||
|
@ -51,9 +51,6 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_BHYVE],[
|
|||||||
AM_CONDITIONAL([WITH_BHYVE], [test "$with_bhyve" = "yes"])
|
AM_CONDITIONAL([WITH_BHYVE], [test "$with_bhyve" = "yes"])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Build with gnulib's getopt which contains a reentrant interface
|
|
||||||
AC_DEFUN([gl_REPLACE_GETOPT_ALWAYS], [])
|
|
||||||
|
|
||||||
AC_DEFUN([LIBVIRT_DRIVER_RESULT_BHYVE],[
|
AC_DEFUN([LIBVIRT_DRIVER_RESULT_BHYVE],[
|
||||||
LIBVIRT_RESULT([Bhyve], [$with_bhyve])
|
LIBVIRT_RESULT([Bhyve], [$with_bhyve])
|
||||||
])
|
])
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
gnulib/lib/gai_strerror.c
|
gnulib/lib/gai_strerror.c
|
||||||
gnulib/lib/getopt.c
|
|
||||||
gnulib/lib/regcomp.c
|
gnulib/lib/regcomp.c
|
||||||
src/access/viraccessdriverpolkit.c
|
src/access/viraccessdriverpolkit.c
|
||||||
src/access/viraccessmanager.c
|
src/access/viraccessmanager.c
|
||||||
|
Loading…
Reference in New Issue
Block a user