From a921f558d9911047308914ae571882b01cb0f5a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 24 Jul 2023 00:10:08 +0200 Subject: [PATCH] Remove configure.in to configure.ac This is the extension expected by all non-ancient autoconf versions. --- .gitattributes | 3 +-- Makefile.in | 6 +++--- acinclude.m4 | 2 +- build/aclocal/bakefile.m4 | 6 +++--- build/autogen.mk | 6 +++--- build/bakefiles/config.bkl | 2 +- build/bakefiles/make_dist.mk | 6 +++--- build/bakefiles/wxpresets/bakefile_quickstart.txt | 4 ++-- build/bakefiles/wxpresets/presets/wx_unix.bkl | 2 +- build/tools/autoconf/README.md | 2 +- build/tools/build-wxwidgets.py | 2 +- configure | 2 +- configure.in => configure.ac | 2 +- .../about-platform-toolkit-and-library-names.md | 2 +- docs/contributing/about-version-numbers.md | 2 +- docs/contributing/how-to-add-files-to-build-system.md | 6 +++--- docs/contributing/how-to-add-new-sample.md | 8 ++++---- docs/contributing/how-to-add-new-wxUSE_XXX.md | 2 +- docs/x11/install.md | 2 +- misc/scripts/inc_release | 2 +- src/common/arttango.cpp | 2 +- wxwin.m4 | 2 +- 22 files changed, 36 insertions(+), 37 deletions(-) rename configure.in => configure.ac (99%) diff --git a/.gitattributes b/.gitattributes index d66b5737ca..4eb146520d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -25,7 +25,6 @@ *.h.in eol=lf *.m4 eol=lf *.sh eol=lf -configure.in eol=lf Makefile.am eol=lf Makefile.in eol=lf makefile.unx eol=lf @@ -33,7 +32,7 @@ makefile.unx eol=lf config.guess eol=lf config.sub eol=lf configure eol=lf -configure.in eol=lf +configure.ac eol=lf # Ignore changes in the generated files. build/upmake -diff diff --git a/Makefile.in b/Makefile.in index 7ec5a42ffa..df665ef384 100644 --- a/Makefile.in +++ b/Makefile.in @@ -33955,7 +33955,7 @@ CP_P = cp -p ALL_DIST: distrib_clean mkdir _dist_dir mkdir $(DISTDIR) - $(CP_P) $(WXDIR)/configure.in $(DISTDIR) + $(CP_P) $(WXDIR)/configure.ac $(DISTDIR) $(CP_P) $(WXDIR)/configure $(DISTDIR) $(CP_P) $(WXDIR)/autoconf_inc.m4 $(DISTDIR) $(CP_P) $(WXDIR)/wxwin.m4 $(DISTDIR) @@ -34145,9 +34145,9 @@ ALL_GUI_DIST: ALL_DIST BASE_DIST: ALL_DIST INTL_DIST # make --disable-gui the default - rm $(DISTDIR)/configure.in + rm $(DISTDIR)/configure.ac sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \ - $(WXDIR)/configure.in > $(DISTDIR)/configure.in + $(WXDIR)/configure.ac > $(DISTDIR)/configure.ac rm $(DISTDIR)/configure sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \ $(WXDIR)/configure > $(DISTDIR)/configure diff --git a/acinclude.m4 b/acinclude.m4 index 507dae23ce..d8841d1f7e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,6 +1,6 @@ dnl --------------------------------------------------------------------------- dnl -dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker, +dnl Macros for configure.ac for wxWindows by Robert Roebling, Phil Blecker, dnl Vadim Zeitlin and Ron Lee dnl dnl This script is under the wxWindows licence. diff --git a/build/aclocal/bakefile.m4 b/build/aclocal/bakefile.m4 index c542c28d7f..b725db80b7 100644 --- a/build/aclocal/bakefile.m4 +++ b/build/aclocal/bakefile.m4 @@ -27,7 +27,7 @@ dnl dnl --------------------------------------------------------------------------- dnl Lots of compiler & linker detection code contained here was taken from -dnl wxWidgets configure.in script (see https://www.wxwidgets.org) +dnl wxWidgets configure script (see https://www.wxwidgets.org) dnl --------------------------------------------------------------------------- @@ -658,7 +658,7 @@ AC_DEFUN([AC_BAKEFILE_PRECOMP_HEADERS], dnl --------------------------------------------------------------------------- dnl AC_BAKEFILE([autoconf_inc.m4 inclusion]) dnl -dnl To be used in configure.in of any project using Bakefile-generated mks +dnl To be used in configure.ac of any project using Bakefile-generated mks dnl dnl Behaviour can be modified by setting following variables: dnl BAKEFILE_CHECK_BASICS set to "no" if you don't want bakefile to @@ -716,7 +716,7 @@ AC_DEFUN([AC_BAKEFILE], $1 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then - AC_MSG_ERROR([No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?]) + AC_MSG_ERROR([No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.ac wasn't updated (see the documentation)?]) fi if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then diff --git a/build/autogen.mk b/build/autogen.mk index da50527130..4da6c47154 100644 --- a/build/autogen.mk +++ b/build/autogen.mk @@ -59,8 +59,8 @@ autoconf_inc.m4 Makefile.in: $(BAKEFILES) cd build/bakefiles && \ $(BAKEFILE_GEN) -f autoconf -# Run configure whenever configure.in, aclocal.m4 or autoconf_inc.m4 is updated -configure: configure.in aclocal.m4 autoconf_inc.m4 +# Run configure whenever configure.ac, aclocal.m4 or autoconf_inc.m4 is updated +configure: configure.ac aclocal.m4 autoconf_inc.m4 $(AUTOCONF) ACLOCAL_SOURCES = \ @@ -74,6 +74,6 @@ ACLOCAL_SOURCES = \ build/aclocal/visibility.m4 # Run aclocal whenever acinclude or one of our local m4s is updated. -aclocal.m4: configure.in acinclude.m4 $(ACLOCAL_SOURCES) +aclocal.m4: configure.ac acinclude.m4 $(ACLOCAL_SOURCES) $(ACLOCAL) -I build/aclocal diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl index b938edb032..c0a4c94827 100644 --- a/build/bakefiles/config.bkl +++ b/build/bakefiles/config.bkl @@ -415,7 +415,7 @@ compiled .lib files and setup.h under the lib/ toplevel directory.