From 73b08af181544381840d5f9bc577d686f8c7e174 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 7 Jul 2022 01:38:26 -0400 Subject: [PATCH] Move our local m4 macros to gl/m4 The gl subdirectory contains our local versions of gnulib module implementations, so move m4/acinclude.m4 and m4/dospaths.m4 there. * gl/modules/make-macros: Create a new module to handle the macros. * bootstrap.conf: Add the new module. * configure.ac: Macro invocation is moved to make-macros. * m4/.gitignore: Delete unnecessary ignore file: m4 is empty. * .gitignore: Add m4/ as an ignored directory. --- .gitignore | 1 + bootstrap.conf | 3 ++- configure.ac | 3 --- {m4 => gl/m4}/acinclude.m4 | 0 {m4 => gl/m4}/dospaths.m4 | 0 gl/modules/make-macros | 16 ++++++++++++++++ m4/.gitignore | 5 ----- 7 files changed, 19 insertions(+), 9 deletions(-) rename {m4 => gl/m4}/acinclude.m4 (100%) rename {m4 => gl/m4}/dospaths.m4 (100%) create mode 100644 gl/modules/make-macros delete mode 100644 m4/.gitignore diff --git a/.gitignore b/.gitignore index ef5292f9..6be365dd 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ GTAGS # Configure artifacts /lib/ +/m4/ ABOUT-NLS INSTALL Makefile diff --git a/bootstrap.conf b/bootstrap.conf index 066c9e1b..87533d13 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -57,4 +57,5 @@ fdl findprog-in getloadavg host-cpu-c-abi -make-glob" +make-glob +make-macros" diff --git a/configure.ac b/configure.ac index 270fc5e8..51817b2c 100644 --- a/configure.ac +++ b/configure.ac @@ -110,9 +110,6 @@ AS_IF([test "$make_cv_file_timestamp_hi_res" = yes], ]) ]) -# Check for DOS-style pathnames. -pds_AC_DOS_PATHS - # See if we have a standard version of gettimeofday(). Since actual # implementations can differ, just make sure we have the most common # one. diff --git a/m4/acinclude.m4 b/gl/m4/acinclude.m4 similarity index 100% rename from m4/acinclude.m4 rename to gl/m4/acinclude.m4 diff --git a/m4/dospaths.m4 b/gl/m4/dospaths.m4 similarity index 100% rename from m4/dospaths.m4 rename to gl/m4/dospaths.m4 diff --git a/gl/modules/make-macros b/gl/modules/make-macros new file mode 100644 index 00000000..c9ac32e2 --- /dev/null +++ b/gl/modules/make-macros @@ -0,0 +1,16 @@ +Description: +Install m4 macros for GNU make. + +Files: +m4/acinclude.m4 +m4/dospaths.m4 + +configure.ac: +# Check for DOS-style pathnames. +pds_AC_DOS_PATHS + +License: +GPLv3+ + +Maintainer: +gnumake diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index 244385ac..00000000 --- a/m4/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!/.gitignore -!/aclocal.m4 -!/dospaths.m4 -