comparison rogue5/configure.ac @ 317:aab761616489 default tip

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.
author John "Elwin" Edwards
date Tue, 05 Sep 2023 20:05:24 -0400
parents 029c1f5c5588
children
comparison
equal deleted inserted replaced
316:c03d0b87211c 317:aab761616489
2 # Process this file with autoconf to produce a configure script. 2 # Process this file with autoconf to produce a configure script.
3 3
4 AC_PREREQ([2.69]) 4 AC_PREREQ([2.69])
5 AC_INIT([Rogue],[5.4.5],[elwin@sdf.org],[rogue5]) 5 AC_INIT([Rogue],[5.4.5],[elwin@sdf.org],[rogue5])
6 AC_CONFIG_SRCDIR([armor.c]) 6 AC_CONFIG_SRCDIR([armor.c])
7 AC_CONFIG_HEADER([config.h]) 7 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html]) 8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html])
9 AC_CONFIG_AUX_DIR([../build-aux])
9 10
10 # Checks for programs. 11 # Checks for programs.
11 AC_PROG_CC 12 AC_PROG_CC
12 AC_PROG_INSTALL 13 AC_PROG_INSTALL
13 14
14 # Checks for libraries. 15 # Checks for libraries.
15 16
16 # Checks for header files. 17 # Checks for header files.
17 AC_HEADER_STDC
18 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]) 18 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])
19 19
20 # Checks for typedefs, structures, and compiler characteristics. 20 # Checks for typedefs, structures, and compiler characteristics.
21 AC_HEADER_STDBOOL 21 AC_HEADER_STDBOOL
22 AC_C_CONST 22 AC_C_CONST