Add check for ieeefp.h. Include it in util.c if present.

This is for 'finite' on Solaris 8.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2901 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.6
Dave Peticolas 26 years ago
parent 4564e00d96
commit 8712d85d40

@ -38,6 +38,9 @@
/* limits.h header present */
#undef HAVE_LIMITS_H
/* ieeefp.h header present */
#undef HAVE_IEEEFP_H
/* memcpy present */
#undef HAVE_MEMCPY

@ -126,6 +126,9 @@
/* Define if you have the <argz.h> header file. */
#undef HAVE_ARGZ_H
/* Define if you have the <ieeefp.h> header file. */
#undef HAVE_IEEEFP_H
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H

@ -42,7 +42,7 @@ AC_C_BIGENDIAN
AC_PROG_MAKE_SET
AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h)
AC_CHECK_HEADERS(limits.h ieeefp.h)
AC_CHECK_FUNCS(stpcpy memcpy)
AM_PATH_GLIB

@ -27,6 +27,10 @@
#include "config.h"
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h> /* for finite in Solaris 8 */
#endif
#include <ctype.h>
#include <errno.h>
#include <glib.h>

Loading…
Cancel
Save