]> Savannah Git Hosting - gnulib.git/commitdiff
snan: New module, part 2.
authorBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 11:57:45 +0000 (13:57 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 11:57:45 +0000 (13:57 +0200)
* m4/snan.m4: New file.

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

index 01875a5d4e088847438a7153b6f6ebed3ee007c1..0a4be95ecfcf671e5541cf876a42f8d24dc80b50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -77,6 +77,7 @@
 
        snan: New module.
        * lib/snan.h: Renamed from tests/snan.h. Add double-inclusion guard.
+       * m4/snan.m4: New file.
        * modules/snan: New file.
        * isfinite-tests (Files): Remove tests/snan.h, m4/exponent*.m4.
        (Depends-on): Add snan.
diff --git a/m4/snan.m4 b/m4/snan.m4
new file mode 100644 (file)
index 0000000..b43beff
--- /dev/null
@@ -0,0 +1,13 @@
+# snan.m4 serial 1
+dnl Copyright (C) 2023 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.
+
+# Prerequisites for tests/snan.h.
+AC_DEFUN_ONCE([gl_SNAN],
+[
+  gl_FLOAT_EXPONENT_LOCATION
+  gl_DOUBLE_EXPONENT_LOCATION
+  gl_LONG_DOUBLE_EXPONENT_LOCATION
+])