From: Bruno Haible Date: Sat, 16 Dec 2006 16:30:30 +0000 (+0000) Subject: Fix the use of va_copy on x86_64. X-Git-Tag: v0.17~581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03013212111e5376a3571bc43dd990a95ca94f7c;p=thirdparty%2Fgettext.git Fix the use of va_copy on x86_64. --- diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index cddc34a2b..1f5c0420c 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,12 @@ +2006-12-16 Bruno Haible + + * modules/libxml (Depends-on): Add stdarg. + * m4/libxml.m4 (gl_LIBXML): Define VA_COPY, needed for xmlwriter.c. + +2006-12-16 Bruno Haible + + * lib/libxml/xmlwriter.c: Include libxml.h first, not after string.h. + 2006-12-13 Bruno Haible * build-aux/moopp: Add check for GNU sed. Generate the 4 files in the diff --git a/gnulib-local/m4/libxml.m4 b/gnulib-local/m4/libxml.m4 index afb226a03..43cec43a1 100644 --- a/gnulib-local/m4/libxml.m4 +++ b/gnulib-local/m4/libxml.m4 @@ -1,4 +1,4 @@ -# libxml.m4 serial 2 (gettext-0.16.2) +# libxml.m4 serial 3 (gettext-0.16.2) dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -142,8 +142,10 @@ AC_DEFUN([gl_LIBXML], netinet/in.h resolv.h signal.h stdlib.h string.h \ strings.h sys/select.h sys/socket.h sys/stat.h \ sys/time.h sys/types.h time.h unistd.h]) - AC_CHECK_FUNCS([dlopen getaddrinfo localtime shlload stat _stat strftime \ - va_copy __va_copy]) + AC_CHECK_FUNCS([dlopen getaddrinfo localtime shlload stat _stat strftime]) + dnl This relies on the va_copy replacement from the stdarg module. + AC_DEFINE([VA_COPY], [va_copy], + [Define to a working va_copy macro or replacement.]) dnl Don't bother checking for pthread.h and other multithread facilities. dnl Don't bother checking for zlib.h and how to link with libz. else diff --git a/gnulib-local/modules/libxml b/gnulib-local/modules/libxml index 690dc7f92..d248eac86 100644 --- a/gnulib-local/modules/libxml +++ b/gnulib-local/modules/libxml @@ -100,6 +100,7 @@ m4/absolute-header.m4 Depends-on: iconv +stdarg no-c++ configure.ac: