]> Savannah Git Hosting - gnulib.git/commitdiff
once: Add missing .m4 file.
authorBruno Haible <bruno@clisp.org>
Mon, 5 Aug 2024 06:03:53 +0000 (08:03 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Aug 2024 06:04:25 +0000 (08:04 +0200)
Reported by Collin Funk.

* m4/once.m4: New file.

ChangeLog
m4/once.m4 [new file with mode: 0644]

index ecc4dc6f1f52f338081eef3d02f44441751cbb80..2c543e24e12ee28cf194420b63d53e7571494235 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-08-05  Bruno Haible  <bruno@clisp.org>
+
+       once: Add missing .m4 file.
+       Reported by Collin Funk.
+       * m4/once.m4: New file.
+
 2024-08-04  Bruno Haible  <bruno@clisp.org>
 
        mtx-tests: Reduce dependencies.
diff --git a/m4/once.m4 b/m4/once.m4
new file mode 100644 (file)
index 0000000..6b0d323
--- /dev/null
@@ -0,0 +1,13 @@
+# once.m4
+# serial 1
+dnl Copyright (C) 2024 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 From Bruno Haible.
+
+AC_DEFUN([gl_ONCE],
+[
+  AC_REQUIRE([gl_THREADLIB])
+])