error, verror: Don't call va_end twice.
[gnulib.git] / m4 / ieee754-h.m4
blobfa41db5c94565dc8d7152fcc726b14c2ce36bdd5
1 # ieee754-h.m4
2 # serial 1
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
16   else
17     GL_GENERATE_IEEE754_H=true
18     AC_DEFINE([_GL_REPLACE_IEEE754_H], 1,
19               [Define to 1 if <ieee754.h> is missing.])
20   fi