With my last patch for SHELL, xemacs' configure is compatible with the
Autoconf 2.14.1 from Mandrake Linux 7.0.
However, CVS autoconf utterly breaks xemacs. AC_DEFINE is not
defined, despite the fact that I define it. I have no idea how to
debug this.
The messages I get are:
configure.in:806: warning: backquotes should not be backslashed in: configure:
warning: Obsolete option \`--$optname' ignored.
configure.in:2358: warning: AC_C_CONST was called before AC_PROG_CC_STDC
autoconf: Undefined macros:
configure.in:1011:test "${error_check_extents=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_EXTENTS)
configure.in:1012:test "${error_check_typecheck=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_TYPECHECK)
configure.in:1013:test "${error_check_bufpos=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_BUFPOS)
configure.in:1014:test "${error_check_gc=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_GC)
configure.in:1015:test "${error_check_malloc=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_MALLOC)
configure.in:1016:test "${error_check_byte_code=$beta}" = yes &&
AC_DEFINE(ERROR_CHECK_BYTE_CODE)
configure.in:1024: AC_DEFINE(DEBUG_XEMACS)
...
...
and many other similar errors.
Give me a clue.
Of course, I realize I'm doing illegal and unportable things, but most
of them are not that unreasonable. I don't know how I would preserve
the backquotes in the error message.
(If you want to try this yourself, get the latest xemacs-21.2
configure.in. See http://cvs.xemacs.org/ )
Martin