dnl To rebuild the `configure' script from this, execute the command
dnl autoconf
dnl in the directory containing this script.
-AC_PREREQ(1.106)dnl
+AC_PREREQ(1.110)dnl
AC_INIT(src/lisp.h)
AC_CONFIG_HEADER(src/config.h)
[ --with-x10 Support the X Window System version 10])
AC_ARG_WITH(x,
[ --with-x Support the X Window System version 11])
-AC_ARG_WITH(x11,
-[ --with-x11 Support the X Window System version 11])
AC_ARG_WITH(x-toolkit,
[ --with-x-toolkit=KIT Use an X toolkit (KIT = lucid or athena)],
[ case "${withval}" in
AC_CANONICAL_HOST
canonical=$host
+configuration=$host_alias
changequote(, )dnl
case "${with_x10}" in
yes ) window_system=x10 ;;
no ) window_system=none ;;
- *) test -n "$with_x11" && with_x="$with_x11"
+ *)
AC_FIND_X
if test "$no_x" = yes; then
window_system=none
AC_DEFINE(HAVE_INET_SOCKETS)
fi
+if test -f /usr/lpp/X11/bin/smt.exp; then
+ AC_DEFINE(HAVE_AIX_SMT_EXP)
+fi
+
# Set up the CFLAGS for real compilation, so we can substitute it.
CFLAGS="$REAL_CFLAGS"
AC_MSG_ERROR(can't find current emacs version in \`${srcdir}/lisp/version.el'.)
fi
-if test -f /usr/lpp/X11/bin/smt.exp; then
- AC_DEFINE(HAVE_AIX_SMT_EXP)
-fi
-
### Specify what sort of things we'll be editing into Makefile and config.h.
### Use configuration here uncanonicalized to avoid exceeding size limits.
AC_SUBST(version)
exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
changequote([, ])dnl
-save_no_create="$no_create"
-no_create=yes
-
-AC_OUTPUT(Makefile lib-src/Makefile.in oldXMenu/Makefile lwlib/Makefile src/Makefile.in)
-
-cat >> ${CONFIG_STATUS} <<EOF
-CPP="$CPP" CPPFLAGS="$CPPFLAGS"
-EOF
-
-cat >> ${CONFIG_STATUS} <<\EOF
+AC_OUTPUT(Makefile lib-src/Makefile.in oldXMenu/Makefile \
+ lwlib/Makefile src/Makefile.in, [
### Make the necessary directories, if they don't exist.
for dir in ./src ./lib-src ./cpp ./oldXMenu ./lwlib ./etc ; do
chmod 444 Makefile.new
mv -f Makefile.new Makefile
)
-EOF
-
-test "$save_no_create" = yes || ${CONFIG_SHELL-/bin/sh} ${CONFIG_STATUS}
+], [CPP="$CPP" CPPFLAGS="$CPPFLAGS"])