EMACS=""
fi
-AC_ARG_WITH(xemacs,[ --with-xemacs Use XEmacs to build],
+AC_ARG_WITH(xemacs,
+ [AS_HELP_STRING([[--with-xemacs[=PROG]]],
+ [use XEmacs to build (default: PROG=xemacs)])],
[ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
-AC_ARG_WITH(emacs,[ --with-emacs Use Emacs to build],
+AC_ARG_WITH(emacs,
+ [AS_HELP_STRING([[--with-emacs[=PROG]]],
+ [use Emacs to build (default: PROG=emacs)])],
[ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no)
AC_PATH_LISPDIR
AC_PATH_ETCDIR
+AC_PATH_INFO_DIR
AC_CHECK_URL
AC_CHECK_W3
+AC_SET_BUILD_FLAGS
+GNUS_CHECK_FONTS
-AC_OUTPUT(Makefile lisp/Makefile texi/Makefile etc/Makefile)
+AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)