[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