some autoconf issues in actual CVS

Christian Krause chkr@plauener.de
30 Nov 2002 01:05:22 +0100


Hi,

when running autogen.sh on a fresh CVS checkout, the following error
occurs:

configure.in:1141: error: `intl/Makefile' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:1141: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
**Error**: autoheader failed.

This error is caused by duplicate entries in AC_OUTPUT in
configure.in. These duplicate entries are generated by gettextize called
in autogen.sh.

In the CVS the configure.in is correct:
-------------------------------------
AC_OUTPUT( m4/Makefile  intl/Makefile
-------------------------------------

After running autogen.sh, the configure.in is changed. This is done by
the gettexttize call: gettextize --force --copy --intl

-------------------------------------------------------------------
AC_OUTPUT( m4/Makefile  intl/Makefile  intl/Makefile po/Makefile.in
-------------------------------------------------------------------
(the po/Makefile.in entry is duplicated too; its listed some lines
below)


I don't know whether it's a bug of gnucash or gettextize (version
0.11.5).

Any ideas?


regards,
christian