From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 6A7783858013 for ; Thu, 6 Jan 2022 06:10:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6A7783858013 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 6FD4A335D59; Thu, 6 Jan 2022 06:10:02 +0000 (UTC) Date: Thu, 6 Jan 2022 01:10:03 -0500 From: Mike Frysinger To: newlib@sourceware.org Subject: Re: newlib: require autoconf-2.69 Message-ID: Mail-Followup-To: newlib@sourceware.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UyJvbbLyi4lkelJd" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2022 06:10:11 -0000 --UyJvbbLyi4lkelJd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05 Jan 2022 20:46, Mike Frysinger wrote: > do you want me to update newlib/ & libgloss/ to leverage this macro ? looks like it's just as easy as passing -I to the top-level config dir when running aclocal. since override.m4 overrides AC_INIT, it forces the version lock logic. example diff for newlib/ is below. lmk what you prefer here. $ autoconf-2.71 aclocal.m4:17: warning: this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed t= o. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autorecon= f'. configure.ac:5: error: Please use exactly Autoconf 2.69 instead of 2.71. =2E./config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from... configure.ac:5: the top level autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1 -mike --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to generate Makefile.in =20 AUTOMAKE_OPTIONS =3D dejagnu subdir-objects -ACLOCAL_AMFLAGS =3D -I . -I .. +ACLOCAL_AMFLAGS =3D -I . -I .. -I ../config =20 # Variables that will accumulate in subdirs. PHONY =3D --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -99,10 +99,13 @@ host_triplet =3D @host@ @HAVE_ICONVDATA_TRUE@am__append_5 =3D iconvdata/EUC-JP.la subdir =3D . ACLOCAL_M4 =3D $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps =3D $(top_srcdir)/../libtool.m4 \ - $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \ - $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__aclocal_m4_deps =3D $(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 \ + $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am $(top_srcdir)/configure \ @@ -416,7 +419,7 @@ top_build_prefix =3D @top_build_prefix@ top_builddir =3D @top_builddir@ top_srcdir =3D @top_srcdir@ AUTOMAKE_OPTIONS =3D dejagnu subdir-objects -ACLOCAL_AMFLAGS =3D -I . -I .. +ACLOCAL_AMFLAGS =3D -I . -I .. -I ../config =20 # Variables that will accumulate in subdirs. =20 --- a/newlib/aclocal.m4 +++ b/newlib/aclocal.m4 @@ -626,25 +626,6 @@ if test x"${install_sh+set}" !=3D xset; then fi AC_SUBST([install_sh])]) =20 -# Copyright (C) 2003-2017 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. - -# 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=3D. -else - am__leading_dot=3D_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - # Add --enable-maintainer-mode option to configure. -*- Autoconf -= *- # From Jim Meyering =20 @@ -1186,6 +1167,9 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR =20 +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]) --UyJvbbLyi4lkelJd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHWh7sACgkQQWM7n+g3 9YEXcw//cSs7xORRjMd7+mNHVd3flmE2MH/JLMfyFLff5bYsmlNaj5BoyfSTxpip UNWylCO42ntYjXrlJ0LvFlJkaI5rOEIr8SKzy3vEcRExoiEFPeGVFUPz3ruzuWUV gLxy5GJ/cDivuhDt7EmyaAFjVS/l5791+Baljb10njup/L2iFTk4veTDOU/L/Ij3 8bTB7aCUaJAEbmfH2qfKaz+YEry5n2YtR8B3Ax2cm9sGpxLTyFZQ5l+M4tMNJlAK xCj2v6wwmuBpRwUZYS0113vEjhMVWCABPjKNeADwhwjMn6j5zob1VqfQKnkAPHk/ yBUk9lURwMS+vN0TUUl6z+N75foBxQOKXvxEUgE8i36kCNGpaQWya2asEE1sgcfh Ezi01ruZDpfp/QYEf1kJE66jhjHkbjlKAaZwqXPs+xPcv5H9LutzHTIw0gwP2af/ iyvwrpiqc05dwVrf4wCidZbJTy2KHCm9L4fko1C2ooAoL3UnhZZQlscGLzTrXHpC rdaDgLs7TMkMGyCuieETslaGsRG9B2oe0Ot/Q57QoULtO3A+sR120TjGwF0iF9xp M/4nkbETMDokjJRcfDNgJMZMZHU2GWEG35jgUEDXW0A78KcR8lzs0gtgN7mCyb6u gdDfm2g9TdERbiyx5iVLUWn5pcqc/mqyFYSZZLO15mhkSY9slGw= =NOSl -----END PGP SIGNATURE----- --UyJvbbLyi4lkelJd--