bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug#196648: gettext: duplicate line in macro causes gettext to fail


From: Bruno Haible
Subject: Re: Bug#196648: gettext: duplicate line in macro causes gettext to fail utterly (fwd)
Date: Thu, 12 Jun 2003 17:45:45 +0200
User-agent: KMail/1.5

Luke Schierer wrote:

> gaim cvs, using the ./autogen.sh script in place of ./configure
> gaim.sf.net/cvs.php for getting gaim cvs. we are using the setup-gettext
> script that Christian Hammond wrote to bridge the multiple versions of
> gettext that people use
>
> LukeSpace:~# aclocal --version
> aclocal (GNU automake) 1.4-p6

Thanks for the info. Still I cannot reproduce this. I've installed
  - automake 1.4-p6
  - libtool 1.4.3
  - gettext 0.12.1
with the same --prefix, added $prefix/bin in front of my PATH, such that
the aclocal 1.4-p6 really sees the lib-prefix.m4 with the following lines

ifdef([AC_HELP_STRING],
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])

... and still the "./autogen.sh" script from gaim-cvs works fine for me:

$ sh -x ./autogen.sh 
...
+ test -d /usr/local/share/aclocal
+ test -d /opt/gnome-1.4/share/aclocal
+ aclocal
+ autoheader
configure.ac:22: warning: AC_CANONICAL_HOST invoked multiple times
+ automake --add-missing --copy
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./mkinstalldirs'
automake: configure.ac: installing `./missing'
+ autoconf
configure.ac:22: warning: AC_CANONICAL_HOST invoked multiple times
+ automake
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
...

So you're on your own. Maybe changing the three lines of lib-prefix.m4

ifdef([AC_HELP_STRING],
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])

to something like

ifdef([AC_HELP_STRING],
[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
[AC_DEFUN([AC_L][IB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])

might help you (wild guess, without warranty).

Bruno





reply via email to

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