summaryrefslogtreecommitdiff
path: root/gnulib-m4/snan.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4/snan.m4')
-rw-r--r--gnulib-m4/snan.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/gnulib-m4/snan.m4 b/gnulib-m4/snan.m4
new file mode 100644
index 00000000..6a0a7453
--- /dev/null
+++ b/gnulib-m4/snan.m4
@@ -0,0 +1,14 @@
+# snan.m4 serial 3
+dnl Copyright (C) 2023-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.
+
+# Prerequisites for lib/snan.h.
+AC_DEFUN_ONCE([gl_SNAN],
+[
+ gl_FLOAT_EXPONENT_LOCATION
+ gl_DOUBLE_EXPONENT_LOCATION
+ gl_LONG_DOUBLE_EXPONENT_LOCATION
+ AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
+])