Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-30 21:29:02 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-14 23:24:33 +0300
commita100e80fc9a9243c913035c3d40bf8ec4dc5c6fc (patch)
tree99759688c13aa1ad42c8aa5f713a2fc9347bf220 /newlib/iconvdata
parent909ed837ccb932ea70f71cc41891fa2c8143133f (diff)
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/iconvdata')
-rw-r--r--newlib/iconvdata/Makefile.am2
-rw-r--r--newlib/iconvdata/Makefile.in7
-rw-r--r--newlib/iconvdata/aclocal.m424
-rwxr-xr-xnewlib/iconvdata/configure7
-rw-r--r--newlib/iconvdata/configure.ac1
5 files changed, 14 insertions, 27 deletions
diff --git a/newlib/iconvdata/Makefile.am b/newlib/iconvdata/Makefile.am
index a4c056ba5..0f6b0395c 100644
--- a/newlib/iconvdata/Makefile.am
+++ b/newlib/iconvdata/Makefile.am
@@ -19,5 +19,5 @@ EUC_JP_la_LDFLAGS = -module -no-undefined -Xcompiler -Wl,-rpath-link=.. -Xcompil
install-data-local: install-pkglibLTLIBRARIES $(srcdir)/gconv-modules
$(INSTALL_DATA) $(srcdir)/gconv-modules $(DESTDIR)$(pkglibdir)/gconv-modules
-ACLOCAL_AMFLAGS = -I .. -I ../..
+ACLOCAL_AMFLAGS = -I .. -I ../.. -I ../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
diff --git a/newlib/iconvdata/Makefile.in b/newlib/iconvdata/Makefile.in
index c7be773a0..8e10a9203 100644
--- a/newlib/iconvdata/Makefile.in
+++ b/newlib/iconvdata/Makefile.in
@@ -56,7 +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)/../../libtool.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \
+ $(top_srcdir)/../../config/lead-dot.m4 \
+ $(top_srcdir)/../../config/override.m4 \
+ $(top_srcdir)/../../libtool.m4 \
$(top_srcdir)/../../ltoptions.m4 \
$(top_srcdir)/../../ltsugar.m4 \
$(top_srcdir)/../../ltversion.m4 \
@@ -278,7 +281,7 @@ EUC_JP_la_SOURCES = dummy.c
EUC_JP_la_LIBADD = $(LIB_OBJS)
EUC_JP_la_DEPENDENCIES = $(LIB_OBJS)
EUC_JP_la_LDFLAGS = -module -no-undefined -Xcompiler -Wl,-rpath-link=.. -Xcompiler -nostdlib -L.. -lc
-ACLOCAL_AMFLAGS = -I .. -I ../..
+ACLOCAL_AMFLAGS = -I .. -I ../.. -I ../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
all: all-am
diff --git a/newlib/iconvdata/aclocal.m4 b/newlib/iconvdata/aclocal.m4
index 6e63f36e1..93af44373 100644
--- a/newlib/iconvdata/aclocal.m4
+++ b/newlib/iconvdata/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,6 +1045,9 @@ 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([../../libtool.m4])
m4_include([../../ltoptions.m4])
m4_include([../../ltsugar.m4])
diff --git a/newlib/iconvdata/configure b/newlib/iconvdata/configure
index fa461a3a3..ec09b7f53 100755
--- a/newlib/iconvdata/configure
+++ b/newlib/iconvdata/configure
@@ -2159,6 +2159,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
@@ -11425,7 +11428,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11428 "configure"
+#line 11431 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11531,7 +11534,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11534 "configure"
+#line 11537 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/newlib/iconvdata/configure.ac b/newlib/iconvdata/configure.ac
index a34cc527e..48112233c 100644
--- a/newlib/iconvdata/configure.ac
+++ b/newlib/iconvdata/configure.ac
@@ -1,7 +1,6 @@
dnl This is the newlib/iconvdata 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([jis0201.c])