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: Tue, 1 Jul 2003 13:19:30 +0200
User-agent: KMail/1.5

Michael C. Toren wrote:

>     $ aclocal
>     aclocal: /usr/share/aclocal/lib-prefix.m4: 16: duplicated macro
> `AC_LIB_ARG_WITH' aclocal: `configure.ac' or `configure.in' is required
>
>     $ touch configure.ac
>     $ ls -l configure.ac
>     -rw-r--r--    1 mct      mct             0 Jun 29 16:33 configure.ac
>
>     $ aclocal
>     aclocal: /usr/share/aclocal/lib-prefix.m4: 16: duplicated macro
> `AC_LIB_ARG_WITH'
>
>     $ aclocal --version
>     aclocal (GNU automake) 1.4-p4

Thanks for this report. The difference is indeed between automake 1.4-p4
(which shows the problem) and 1.4-p6 (which doesn't).

I'll use the following patch in gettext-0.12.2. Known to work with
both autoconf-2.13 and autoconf-2.57.

Bruno


*** lib-prefix.m4       18 Feb 2003 14:00:53 -0000      1.3
--- lib-prefix.m4       1 Jul 2003 11:12:38 -0000
***************
*** 1,4 ****
! # lib-prefix.m4 serial 2 (gettext-0.12)
  dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
--- 1,4 ----
! # lib-prefix.m4 serial 3 (gettext-0.12.2)
  dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
***************
*** 13,19 ****
  dnl require excessive bracketing.
  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])])])
  
  dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
  dnl to access previously installed libraries. The basic assumption is that
--- 13,19 ----
  dnl require excessive bracketing.
  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])])])
  
  dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
  dnl to access previously installed libraries. The basic assumption is that





reply via email to

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