diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-30 13:29:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-14 15:24:33 -0500 |
commit | a100e80fc9a9243c913035c3d40bf8ec4dc5c6fc (patch) | |
tree | 99759688c13aa1ad42c8aa5f713a2fc9347bf220 /newlib/libc/sys/decstation | |
parent | 909ed837ccb932ea70f71cc41891fa2c8143133f (diff) | |
download | newlib-a100e80fc9a9243c913035c3d40bf8ec4dc5c6fc.zip newlib-a100e80fc9a9243c913035c3d40bf8ec4dc5c6fc.tar.gz newlib-a100e80fc9a9243c913035c3d40bf8ec4dc5c6fc.tar.bz2 |
require autoconf-2.69 exactly
The newlib & libgloss dirs are already generated using autoconf-2.69.
To avoid merging new code and/or accidental regeneration using diff
versions, leverage config/override.m4 to pin to 2.69 exactly. This
matches what gcc/binutils/gdb are already doing.
The README file already says to use autoconf-2.69.
To accomplish this, it's just as simple as adding -I flags to the
top-level config/ dir when running aclocal. This is because the
override.m4 file overrides AC_INIT to first require the specific
autoconf version before calling the real AC_INIT.
Diffstat (limited to 'newlib/libc/sys/decstation')
-rw-r--r-- | newlib/libc/sys/decstation/Makefile.am | 2 | ||||
-rw-r--r-- | newlib/libc/sys/decstation/Makefile.in | 8 | ||||
-rw-r--r-- | newlib/libc/sys/decstation/aclocal.m4 | 24 | ||||
-rwxr-xr-x | newlib/libc/sys/decstation/configure | 3 | ||||
-rw-r--r-- | newlib/libc/sys/decstation/configure.ac | 1 |
5 files changed, 12 insertions, 26 deletions
diff --git a/newlib/libc/sys/decstation/Makefile.am b/newlib/libc/sys/decstation/Makefile.am index e5e963d..0cb245e 100644 --- a/newlib/libc/sys/decstation/Makefile.am +++ b/newlib/libc/sys/decstation/Makefile.am @@ -41,5 +41,5 @@ all-local: crt0.o crt0.o: cp /lib/crt0.o crt0.o -ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host diff --git a/newlib/libc/sys/decstation/Makefile.in b/newlib/libc/sys/decstation/Makefile.in index 732e8cc..2cb4b5f 100644 --- a/newlib/libc/sys/decstation/Makefile.in +++ b/newlib/libc/sys/decstation/Makefile.in @@ -56,8 +56,10 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ $(srcdir)/../../../../mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \ - $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/../../../../config/depstand.m4 \ + $(top_srcdir)/../../../../config/lead-dot.m4 \ + $(top_srcdir)/../../../../config/override.m4 \ + $(top_srcdir)/../../../acinclude.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ @@ -235,7 +237,7 @@ COPYOFILES = \ lib_a_SOURCES = _main.c lib_a_LIBADD = $(COPYOFILES) -ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am diff --git a/newlib/libc/sys/decstation/aclocal.m4 b/newlib/libc/sys/decstation/aclocal.m4 index f721fa5..7b3f348 100644 --- a/newlib/libc/sys/decstation/aclocal.m4 +++ b/newlib/libc/sys/decstation/aclocal.m4 @@ -579,27 +579,6 @@ if test x"${install_sh}" != xset; then fi AC_SUBST(install_sh)]) -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering @@ -1066,4 +1045,7 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR +m4_include([../../../../config/depstand.m4]) +m4_include([../../../../config/lead-dot.m4]) +m4_include([../../../../config/override.m4]) m4_include([../../../acinclude.m4]) diff --git a/newlib/libc/sys/decstation/configure b/newlib/libc/sys/decstation/configure index 5fae260..db1133b 100755 --- a/newlib/libc/sys/decstation/configure +++ b/newlib/libc/sys/decstation/configure @@ -1833,6 +1833,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + ac_aux_dir= for ac_dir in ../../../.. "$srcdir"/../../../..; do if test -f "$ac_dir/install-sh"; then diff --git a/newlib/libc/sys/decstation/configure.ac b/newlib/libc/sys/decstation/configure.ac index 446713b..fee4bdc 100644 --- a/newlib/libc/sys/decstation/configure.ac +++ b/newlib/libc/sys/decstation/configure.ac @@ -1,7 +1,6 @@ dnl This is the newlib/libc/sys/decstation configure.in file. dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) AC_INIT([newlib],[NEWLIB_VERSION]) AC_CONFIG_SRCDIR([_main.c]) |