dnl| to regenerate configure. Then submit your changes to be folded into\r
dnl| the standard version of xboard.\r
\r
+dnl| need to change these here and in AC_INIT\r
PRODUCT=xboard\r
VERSION=4.4 \r
PATCHLEVEL=0e\r
\r
-AC_INIT([PRODUCT],[VERSION-PATCHLEVEL])\r
+AC_INIT([xboard],[4.4.0e],[bug-xboard@gnu.org])\r
AM_INIT_AUTOMAKE\r
\r
AC_CONFIG_HEADERS([config.h])\r
-AC_CONFIG_FILES([Makefile cmail xboard.texinfo],\r
-[test -z "$CONFIG_HEADERS" || date > stamp-h \r
-chmod 755 cmail\r
-])\r
\r
dnl | a bunch of templates for defines used below\r
AH_TEMPLATE([FIRST_PTY_LETTER],[template])\r
AC_PROG_CPP\r
AC_ISC_POSIX\r
AC_PROG_INSTALL\r
-AC_CHECK_PROGS(LEX, lex flex, lex_not_found)\r
-if test "$LEX" != lex_not_found ; then\r
- AC_DECL_YYTEXT\r
+\r
+AC_PROG_LEX\r
+if test "$LEX" != flex; then\r
+ LEX="$SHELL $missing_dir/missing flex"\r
+ AC_SUBST([LEX_OUTPUT_ROOT], [lex.yy])\r
+ AC_SUBST([LEXLIB], [''])\r
fi\r
+\r
+\r
AC_CHECK_PROGS(RSH, remsh rsh, rsh)\r
AC_CHECK_PROGS(MINFO, makeinfo, makeinfo_not_found)\r
if test "$MINFO" == makeinfo_not_found ; then\r
AC_SUBST(VERSION)\r
AC_SUBST(PATCHLEVEL)\r
\r
+AC_CONFIG_FILES([Makefile cmail xboard.texinfo])\r
+AC_CONFIG_COMMANDS([test-stamp-h],[test -z "$CONFIG_HEADERS" || date > stamp-h])\r
+AC_CONFIG_COMMANDS([chmod-cmail],[chmod 755 cmail])\r
AC_OUTPUT\r