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

@ -4,8 +4,9 @@
AC_PREREQ([2.69])
AC_INIT([Rogue],[5.4.5],[elwin@sdf.org],[rogue5])
AC_CONFIG_SRCDIR([armor.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html])
AC_CONFIG_AUX_DIR([../build-aux])
# Checks for programs.
AC_PROG_CC
@ -14,7 +15,6 @@ AC_PROG_INSTALL
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h sys/utsname.h pwd.h fcntl.h limits.h nlist.h stdlib.h string.h sys/ioctl.h termios.h unistd.h utmp.h term.h ncurses/term.h process.h])
# Checks for typedefs, structures, and compiler characteristics.