Commit | Line | Data |
---|---|---|
dd7d0148 | 1 | # float_h.m4 serial 6 |
49114fd4 | 2 | dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. |
c4b681fd LC |
3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | |
5 | dnl with or without modifications, as long as this notice is preserved. | |
6 | ||
7 | AC_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 | |
0f00f2c3 | 13 | beos* | openbsd* | mirbsd*) |
c4b681fd | 14 | FLOAT_H=float.h |
49114fd4 | 15 | gl_NEXT_HEADERS([float.h]) |
c4b681fd LC |
16 | ;; |
17 | esac | |
18 | AC_SUBST([FLOAT_H]) | |
dd7d0148 | 19 | AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"]) |
c4b681fd | 20 | ]) |