[libvirt] [PATCHv2] build: fix mingw build
Daniel Veillard
veillard at redhat.com
Thu Oct 14 09:34:55 UTC 2010
On Wed, Oct 13, 2010 at 04:25:45PM -0600, Eric Blake wrote:
> * .gnulib: Update to latest, for termios fix.
> * configure.ac (AC_CHECK_HEADERS): Drop redundent check.
> Reported by Daniel P. Berrange.
> ---
>
> This fixes the problem in a more maintainable manner.
>
> Tested via ./autobuild.sh on a Fedora host with mingw cross-compiler.
>
> * .gnulib 2bb63bf...b6d1430 (32):
> > termios: fix compilation on mingw
> > git-version-gen: don't require that .git/ be in the current dir
> > test-select: avoid warn_unused_result warnings
> > test-symlinkat: remove declaration of unused local
> > test-inttostr: avoid shadowing warnings
> > stdlib: Allow multiple gnulib generated replacements to coexist.
> > fix a documentation typo
> > futimens: work around Solaris 11 bug
> > Indentation.
> > test-futimens: avoid unwarranted test failure on Solaris 5.11
> > Indentation.
> > spawn.in.h: make indentation consistent with parentheses
> > Fix mismatched parens in previous commit
> > rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
> > prefer (X ? 1 : -1) when converting from boolean (1,0) to int (1,-1)
> > autoupdate
> > time: enforce recent POSIX ruling that time_t is integral
> > fdopendir: fix a bug on systems lacking openat and /proc support
> > sys_select: Avoid warning due to undeclared memset() on OpenBSD 4.5.
> > nanosleep: Make replacement POSIX compliant.
> > bootstrap: add hook for altering gnulib.mk, for Bison
> > bootstrap: reformat for readability
> > docs: update cygwin progress
> > autoupdate
> > parse-datetime: avoid compilation failure on OpenBSD 4.7
> > docs: update cygwin progress
> > docs: update parse-datetime history
> > cygwin: use more robust version check
> > string, sys_select: Avoid #including large headers unless necessary.
> > memmem, strstr, strcasestr: fix bug with long periodic needle
> > maint: fix order of ChangeLog entries
> > parse-datetime: do some more renaming
>
> .gnulib | 2 +-
> configure.ac | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.gnulib b/.gnulib
> index 2bb63bf..b6d1430 160000
> --- a/.gnulib
> +++ b/.gnulib
> @@ -1 +1 @@
> -Subproject commit 2bb63bfb25474ea147ee9f1523c0337997359a4c
> +Subproject commit b6d1430494cdd252cd52eca6abf88b1a00f6c983
> diff --git a/configure.ac b/configure.ac
> index bd92b65..b868e50 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -109,7 +109,7 @@ LIBS=$old_libs
>
> dnl Availability of various common headers (non-fatal if missing).
> AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h \
> - termios.h sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h])
> + sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h])
>
> AC_CHECK_LIB([intl],[gettext],[])
ACK,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list