summaryrefslogtreecommitdiffstats
path: root/gl/m4/float_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/float_h.m4')
-rw-r--r--gl/m4/float_h.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/gl/m4/float_h.m4 b/gl/m4/float_h.m4
new file mode 100644
index 0000000..d36e3a4
--- /dev/null
+++ b/gl/m4/float_h.m4
@@ -0,0 +1,19 @@
1# float_h.m4 serial 3
2dnl Copyright (C) 2007 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_FLOAT_H],
8[
9 AC_REQUIRE([AC_PROG_CC])
10 AC_REQUIRE([AC_CANONICAL_HOST])
11 FLOAT_H=
12 case "$host_os" in
13 beos* | openbsd*)
14 FLOAT_H=float.h
15 gl_CHECK_NEXT_HEADERS([float.h])
16 ;;
17 esac
18 AC_SUBST([FLOAT_H])
19])