summaryrefslogtreecommitdiff
path: root/lgl/m4/float_h.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-05-24 11:42:53 +0000
committerSimon Josefsson <simon@josefsson.org>2007-05-24 11:42:53 +0000
commit9d9a376dd296d4eed407c43a453ab5abf249e410 (patch)
treee5f04efeb3f3c81f6a8e138e0aff8671dcc31077 /lgl/m4/float_h.m4
parent15d2a5e54c7694aa7a4eeef3a6eebd6855874f07 (diff)
downloadgnutls-9d9a376dd296d4eed407c43a453ab5abf249e410.tar.gz
Update.
Diffstat (limited to 'lgl/m4/float_h.m4')
-rw-r--r--lgl/m4/float_h.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/lgl/m4/float_h.m4 b/lgl/m4/float_h.m4
new file mode 100644
index 0000000000..36a07dcb1c
--- /dev/null
+++ b/lgl/m4/float_h.m4
@@ -0,0 +1,21 @@
+# float_h.m4 serial 1
+dnl Copyright (C) 2007 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.
+
+AC_DEFUN([gl_FLOAT_H],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ FLOAT_H=
+ case "$host_os" in
+ beos*)
+ FLOAT_H=float.h
+ gl_ABSOLUTE_HEADER([float.h])
+ ABSOLUTE_FLOAT_H=\"$gl_cv_absolute_float_h\"
+ AC_SUBST([ABSOLUTE_FLOAT_H])
+ ;;
+ esac
+ AC_SUBST([FLOAT_H])
+])