bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] [PATCH] Revert "maint: Update to latest gnulib"


From: Bruno Haible
Subject: Re: [libvirt] [PATCH] Revert "maint: Update to latest gnulib"
Date: Thu, 24 Aug 2017 21:36:35 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-91-generic; KDE/5.18.0; x86_64; ; )

[trimming extra CCs]

Hi Eric,

> Where looking through autoconf history, was indeed something that
> autoconf fixed in commit 9f28c6e (autoconf 2.63b) (CentOS 6 is still
> stuck on the older autoconf 2.63).
> https://lists.gnu.org/archive/html/autoconf-patches/2009-01/msg00051.html
> 
> Sadly, I didn't quickly find a workaround in the archives for how to NOT
> trace a macro whose name is problematic

You can modify m4/manywarnings.m4:

1) rename
  AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
to
  AC_DEFUN([gl_MANYWARN_ALL_GCC__C],

2) rename
  AC_DEFUN([gl_MANYWARN_ALL_GCC(C++)],
to
  AC_DEFUN([gl_MANYWARN_ALL_GCC__CXX],

3) modify line 39
_AC_LANG_DISPATCH([$0], _AC_LANG, $@)
to make an indirection to [gl_MANYWARN_ALL_GCC__]_AC_LANG_PREFIX

I was working with this naming scheme in a draft patch. It is not as elegant
as the current one, but should work around against said bug (if I have
understood it correctly).

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]