some autoconf/configure issues in 1.8.0
Christian Krause
chkr at plauener.de
Mon Feb 3 23:13:52 CST 2003
Hi,
I found some problems regarding configure/autoconf:
1. running ./configure:
[...]
creating src/business/business-core/Makefile
creating src/business/business-core/test/Makefile
creating src/business/business-core/file/Makefile
creating src/business/business-utils/Makefile
creating src/business/dialog-tax-table/Makefile
creating src/business/business-gnome/Makefile
creating src/business/business-gnome/glade/Makefile
creating src/business/business-ledger/Makefile
creating src/business/business-reports/Makefile
creating gnucash-config
creating config.h
mv: cannot stat `po/POTFILES': No such file or directory
./config.status: line 1058: po/POTFILES.tmp: No such file or directory
creating po/POTFILES
creating po/Makefile
creating po/POTFILES
creating po/Makefile
$
2. The included gnucash.spec file calls autoconf before configure - is
there a special reason for this? IMHO a release should have a proper
configure without recreating it. Calling autoconf could have some bad
implications. E.g., the bug I reported in november is still there:
$ autoconf
configure.in:1203: error: `intl/Makefile' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:1203: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
This patch corrects this problem:
--- gnucash-1.8.0.old/configure.in 2003-02-03 08:20:17.000000000 +0100
+++ gnucash-1.8.0/configure.in 2003-02-03 19:49:33.000000000 +0100
@@ -1067,7 +1067,7 @@
LIBOBJS_SEDSCRIPT="s,\.[[^.]]* ,$U&,g;s,\.[[^.]]*\$\$,$U&,"
AC_SUBST(LIBOBJS_SEDSCRIPT)
-AC_OUTPUT( m4/Makefile intl/Makefile po/Makefile.in intl/Makefile po/Makefile.in
+AC_OUTPUT( m4/Makefile intl/Makefile po/Makefile.in
dnl # Makefiles
Makefile
accounts/Makefile
regards,
christian
More information about the gnucash-devel
mailing list