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
This commit is contained in:
Dave Peticolas
2000-09-20 06:42:50 +00:00
parent 4564e00d96
commit 8712d85d40
4 changed files with 11 additions and 1 deletions
+3
View File
@@ -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
+3
View File
@@ -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
+1 -1
View File
@@ -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
+4
View File
@@ -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>