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). But two autoconf worked as usual.
Hans Aberg
---- Snippet ----
# 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
# autoconf
#
-----------------