changeset 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 c03d0b87211c
children
files arogue5/configure.ac arogue7/configure.ac build-aux/config.guess build-aux/config.sub build-aux/install-sh install-sh rogue3/configure.ac rogue4/configure.ac rogue5/configure.ac srogue/configure.ac urogue/configure.ac xrogue/configure.ac
diffstat 12 files changed, 4208 insertions(+), 538 deletions(-) [+]
line wrap: on
line diff
--- a/arogue5/configure.ac	Sun Oct 31 21:35:53 2021 -0400
+++ b/arogue5/configure.ac	Tue Sep 05 20:05:24 2023 -0400
@@ -5,13 +5,13 @@
 AC_INIT([Advanced Rogue],[5.8.2],[elwin@sdf.org],[arogue5])
 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([pwd.h errno.h fcntl.h limits.h nlist.h stdlib.h string.h sys/ioctl.h sys/utsname.h termios.h unistd.h utmp.h term.h ncurses/term.h process.h arpa/inet.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
--- a/arogue7/configure.ac	Sun Oct 31 21:35:53 2021 -0400
+++ b/arogue7/configure.ac	Tue Sep 05 20:05:24 2023 -0400
@@ -5,13 +5,13 @@
 AC_INIT([Advanced Rogue],[7.7.1],[elwin@sdf.org],[arogue7])
 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([pwd.h errno.h fcntl.h limits.h stdlib.h string.h sys/ioctl.h sys/utsname.h termios.h unistd.h utmp.h term.h ncurses/term.h process.h arpa/inet.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build-aux/config.guess	Tue Sep 05 20:05:24 2023 -0400
@@ -0,0 +1,1768 @@
+#!/usr/bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright 1992-2022 Free Software Foundation, Inc.
+
+# shellcheck disable=SC2006,SC2268 # see below for rationale
+
+timestamp='2022-05-25'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program.  This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
+#
+# You can get the latest version of this script from:
+# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess