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 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,
AC_DEFUN([gl_FUNC_TRUNC],
[
AC_REQUIRE([gl_MATH_H_DEFAULTS])
AC_DEFUN([gl_FUNC_TRUNC],
[
AC_REQUIRE([gl_MATH_H_DEFAULTS])
dnl Test whether trunc() is declared.
AC_CHECK_DECLS([trunc], , , [#include <math.h>])
if test "$ac_cv_have_decl_trunc" = yes; then
dnl Test whether trunc() is declared.
AC_CHECK_DECLS([trunc], , , [#include <math.h>])
if test "$ac_cv_have_decl_trunc" = yes; then