mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-13 06:25:03 -05:00
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:
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user