* Hans Aberg wrote on Tue, Mar 04, 2008 at 11:10:08AM CET: > > On 4 Mar 2008, at 08:16, Ralf Wildenhues wrote: > >> As a workaround, you should consider adding >> m4_pattern_forbid([^GTKHS_]) > > I added this after > AC_INIT([gtk2hs],[0.9.12.2]) > but it did not help (see below).
Yes, it helped: it caused autom4te to produce useful error messages. > But two autoconf worked as usual. We are talking past each other. When you say "autoconf worked" you mean it exited with 0 and output no warnings. When I sat "autoconf works" then I mean the resulting configure script is useful, contains no unexpanded macro names, _and_ autoconf did not output any warnings and exited successfully. Cheers, Ralf > # autoconf > configure.ac:27: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use > m4_pattern_allow. > See the Autoconf documentation. > configure.ac:65: error: possibly undefined macro: AM_CONDITIONAL > configure.ac:102: error: possibly undefined macro: AC_MSG_ERROR > configure.ac:114: error: possibly undefined macro: > GTKHS_PROG_CHECK_VERSION > configure.ac:137: error: possibly undefined macro: AC_DEFINE > configure.ac:279: error: possibly undefined macro: GTKHS_PKG_CHECK > configure.ac:385: error: possibly undefined macro: > GTKHS_GLIBC_PTHREAD_HACK > configure.ac:568: error: possibly undefined macro: > GTKHS_PACKAGE_FILTER_CFLAGS > configure.ac:569: error: possibly undefined macro: > GTKHS_PACKAGE_FILTER_LIBS > configure.ac:603: error: possibly undefined macro: > GTKHS_REFORMAT_PACKAGE_CFLAGS > configure.ac:604: error: possibly undefined macro: > GTKHS_REFORMAT_PACKAGE_LIBS
