3 dnl Copyright 2018-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 # Configure ieee754-h module
10 AC_DEFUN([gl_IEEE754_H],
12 AC_REQUIRE([AC_C_BIGENDIAN])
13 AC_CHECK_HEADERS_ONCE([ieee754.h])
14 if test $ac_cv_header_ieee754_h = yes; then
15 GL_GENERATE_IEEE754_H=false
17 GL_GENERATE_IEEE754_H=true
18 AC_DEFINE([_GL_REPLACE_IEEE754_H], 1,
19 [Define to 1 if <ieee754.h> is missing.])