diff options
author | Marc G. Fournier | 1998-05-13 03:44:48 +0000 |
---|---|---|
committer | Marc G. Fournier | 1998-05-13 03:44:48 +0000 |
commit | 9391dd3698a02e0dbc43bdacb39b1be93fb6f9b0 (patch) | |
tree | 009a81ac2f6e11641fab965d4252e88e607e74af /src/configure.in | |
parent | 68f9c9819b160cb89f68e40f5be40fb144ac21e2 (diff) |
Add a check for DBL_MIN problem...not sure if this is right...needs
testing...
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in index fb7cbdbf1cc..33c3286d049 100644 --- a/src/configure.in +++ b/src/configure.in @@ -509,6 +509,13 @@ AC_TRY_LINK([#include <sys/types.h> [AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)], AC_MSG_RESULT(no)) +AC_MSG_CHECKING(DBL_MIN good) +AC_TRY_RUN([#include <math.h> +main() +{ double d = DBL_MIN; if (d != DBL_MIN) exit -1; else exit 0; }], + AC_MSG_RESULT(yes), + [AC_MSG_RESULT(no) AC_DEFINE(HAVE_DBL_MIN_PROBLEM)]) + dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_FUNC_MEMCMP |