]> Savannah Git Hosting - gnulib.git/commitdiff
Rename ~~gnulib.m4 to zzgnulib.m4.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Jan 2020 22:05:36 +0000 (23:05 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Jan 2020 22:05:36 +0000 (23:05 +0100)
Suggested by Paul Eggert.

* m4/zzgnulib.m4: Renamed from m4/~~gnulib.m4.
* gnulib-tool (func_get_filelist): Update.
* pygnulib/GLModuleSystem.py (getFiles): Likewise.

ChangeLog
gnulib-tool
m4/00gnulib.m4
m4/zzgnulib.m4 [new file with mode: 0644]
m4/~~gnulib.m4 [deleted file]
pygnulib/GLModuleSystem.py

index 9b5af022f130af2aedf03ba67c808957257b52e5..ebee6ae8a9626d1000d53796204a2de91eb0e5a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-01-18  Bruno Haible  <bruno@clisp.org>
+
+       Rename ~~gnulib.m4 to zzgnulib.m4.
+       Suggested by Paul Eggert.
+       * m4/zzgnulib.m4: Renamed from m4/~~gnulib.m4.
+       * gnulib-tool (func_get_filelist): Update.
+       * pygnulib/GLModuleSystem.py (getFiles): Likewise.
+
 2020-01-18  Bruno Haible  <bruno@clisp.org>
 
        doc: Update license notices.
index ba51606b8e6be71d5277468b95fe49fb54b9ee1b..89f6077e57832eb878ee2d72d4e7784358653eaf 100755 (executable)
@@ -2294,7 +2294,7 @@ func_get_filelist ()
     fi
   fi
   echo m4/00gnulib.m4
-  echo 'm4/~~gnulib.m4'
+  echo m4/zzgnulib.m4
   echo m4/gnulib-common.m4
 }
 
index 90e7e04169ae33d63d7baa634e456e2ff4aa62b7..06eff4f3863e621df1899509ead6cf4f2a5534d8 100644 (file)
@@ -101,7 +101,7 @@ dnl AC_REQUIRE([gl_COMPILER_CLANG])
 ])
 dnl Redefine _AC_CHECK_DECL_BODY so that it references ac_compile_for_check_decl
 dnl instead of ac_compile.  If, for whatever reason, the override of AC_PROG_CC
-dnl in ~~gnulib.m4 is inactive, use the original ac_compile.
+dnl in zzgnulib.m4 is inactive, use the original ac_compile.
 m4_define([_AC_CHECK_DECL_BODY],
 [  ac_save_ac_compile="$ac_compile"
   if test -n "$ac_compile_for_check_decl"; then
diff --git a/m4/zzgnulib.m4 b/m4/zzgnulib.m4
new file mode 100644 (file)
index 0000000..98fa68f
--- /dev/null
@@ -0,0 +1,23 @@
+# zzgnulib.m4 serial 1
+dnl Copyright (C) 2020 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl This file must be named something that sorts after all other
+dnl package- or gnulib-provided .m4 files - at least for those packages
+dnl that redefine AC_PROG_CC.
+
+dnl Redefine AC_PROG_CC so that it ends with invocations of gl_COMPILER_CLANG
+dnl and gl_COMPILER_PREPARE_CHECK_DECL.
+m4_define([AC_PROG_CC],
+  m4_defn([AC_PROG_CC])[
+gl_COMPILER_CLANG
+gl_COMPILER_PREPARE_CHECK_DECL
+])
+
+# gl_ZZGNULIB
+# -----------
+# Witness macro that this file has been included.  Needed to force
+# Automake to include this file after all other gnulib .m4 files.
+AC_DEFUN([gl_ZZGNULIB])
diff --git a/m4/~~gnulib.m4 b/m4/~~gnulib.m4
deleted file mode 100644 (file)
index f476918..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# ~~gnulib.m4 serial 1
-dnl Copyright (C) 2020 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl This file must be named something that sorts after all other
-dnl package- or gnulib-provided .m4 files - at least for those packages
-dnl that redefine AC_PROG_CC.
-
-dnl Redefine AC_PROG_CC so that it ends with invocations of gl_COMPILER_CLANG
-dnl and gl_COMPILER_PREPARE_CHECK_DECL.
-m4_define([AC_PROG_CC],
-  m4_defn([AC_PROG_CC])[
-gl_COMPILER_CLANG
-gl_COMPILER_PREPARE_CHECK_DECL
-])
-
-# gl_ZZGNULIB
-# -----------
-# Witness macro that this file has been included.  Needed to force
-# Automake to include this file after all other gnulib .m4 files.
-AC_DEFUN([gl_ZZGNULIB])
index 72a6c9f964d314d994e9af0a455dd73c69aef603..73c207d995addb7a4d9a8eb8a33983e6589080ae 100644 (file)
@@ -544,7 +544,7 @@ Include:|Link:|License:|Maintainer:)'
                     parts += [line]
                 result = [part.strip() for part in parts if part.strip()]
             result += [joinpath('m4', '00gnulib.m4')]
-            result += [joinpath('m4', '~~gnulib.m4')]
+            result += [joinpath('m4', 'zzgnulib.m4')]
             result += [joinpath('m4', 'gnulib-common.m4')]
             self.cache['files'] = list(result)
         return(list(self.cache['files']))