Rearrange some Autoconf files.

Autoconf was failing to detect install-sh at the top level and needed
some explicit directions.  It also wants config.guess and config.sub to
be provided too.

A few other macros have also been updated.
This commit is contained in:
John "Elwin" Edwards 2023-09-05 20:05:24 -04:00
parent 8a4bf37667
commit 35c5e434e6
11 changed files with 3746 additions and 76 deletions

View file

@ -5,13 +5,13 @@ AC_PREREQ([2.69])
AC_INIT([Super-Rogue],[9.0],[elwin@sdf.org],[srogue])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_AUX_DIR([../build-aux])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
MP_WITH_CURSES
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h pwd.h errno.h fcntl.h limits.h nlist.h stdlib.h string.h sys/ioctl.h termios.h unistd.h term.h ncurses/term.h process.h])
# Checks for typedefs, structures, and compiler characteristics.