Hi,

In the automake HEAD from today, but *not* in automake-1.10.2, this code
in a .m4 file

  m4_ifdef([AM_XGETTEXT_OPTION],
    [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
     AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])

triggers an 'aclocal' warning:

gnulib-m4/gnulib-comp.m4:176: warning: macro `AM_XGETTEXT_OPTION' not found in 
library

How to reproduce:
- Unpack libunistring-0.9.tar.gz from ftp.gnu.org
$ cd libunistring-0.9.tar.gz
$ build-aux/fixaclocal aclocal -I m4 -I gnulib-m4
gnulib-m4/gnulib-comp.m4:176: warning: macro `AM_XGETTEXT_OPTION' not found in 
library

Is it a regression in 'aclocal'?

I know I can work around the warning by using

  m4_ifdef([AM_XGETTEXT_OPTION],
    [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
     AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])

but am I supposed to do such hacks?

Bruno


Reply via email to