bug-automake
[Top][All Lists]
Advanced

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

pointless 'aclocal' warning


From: Bruno Haible
Subject: pointless 'aclocal' warning
Date: Sun, 10 May 2009 17:52:49 +0200
User-agent: KMail/1.9.9

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

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