Turns out we needed that long_double_t type after all.

This commit is contained in:
Gregory Burd 2009-08-31 22:00:05 -04:00
parent 5009f7bde7
commit ab634c1bbb
2 changed files with 7 additions and 0 deletions

View file

@ -124,6 +124,7 @@ AC_CHECK_SIZEOF(unsigned long,, $db_includes)
AC_CHECK_SIZEOF(long long,, $db_includes)
AC_CHECK_SIZEOF(unsigned long long,, $db_includes)
AC_CHECK_SIZEOF(char *,, $db_includes)
AC_CHECK_SIZEOF(long double,, $db_includes)
# We look for u_char, u_short, u_int, u_long -- if we can't find them,
# we create our own.
@ -172,6 +173,11 @@ AC_SUBST(int64_decl)
AC_CHECK_TYPE(int64_t,,
[AM_SEARCH_SSIZES(int64_decl, int64_t, 8, notfatal)], $db_includes)
AC_SUBST(long_double_decl)
AC_CHECK_TYPE(long double,
[long_double_decl="typedef long double long_double_t;"],
[long_double_decl="typedef long double long_double_t;"], $db_includes)
# No currently autoconf'd systems lack FILE, off_t pid_t, size_t, time_t.
#
# We require them, we don't try to substitute our own if we can't find them.

View file

@ -75,6 +75,7 @@ extern "C" {
@u_int_decl@
@u_long_decl@
@ssize_t_decl@
@long_double_decl@
/*
* Forward structure declarations, so we can declare pointers and