summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index c9c92d75..1d36d35d 100644
--- a/configure.in
+++ b/configure.in
@@ -463,6 +463,20 @@ AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h uio.h errno.h regex.h sys/
463AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) 463AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h)
464AC_CHECK_HEADERS(limits.h sys/param.h sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h) 464AC_CHECK_HEADERS(limits.h sys/param.h sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h)
465 465
466# glibc 2.3.2 stdlib.h does not define HUGE_VAL (see man strtod)
467AC_MSG_CHECKING([for HUGE_VAL in <stdlib.h>])
468AC_TRY_COMPILE([#include <stdlib.h>],
469 [double x = HUGE_VAL;],
470 [AC_MSG_RESULT(yes)],
471 [AC_MSG_RESULT(no)
472 AC_MSG_CHECKING([for HUGE_VAL in <math.h>])
473 AC_TRY_COMPILE([#include <math.h>],
474 [double x = HUGE_VAL;],
475 [AC_MSG_RESULT(yes)
476 AC_DEFINE_UNQUOTED(HUGE_VAL_NEEDS_MATH_H, 1,
477 [Define if <math.h> is required for HUGE_VAL])],
478 [AC_MSG_RESULT(no)])])
479
466# Define HAVE_INTTYPES_H if <inttypes.h> exists, 480# Define HAVE_INTTYPES_H if <inttypes.h> exists,
467# doesn't clash with <sys/types.h>, and declares uintmax_t. 481# doesn't clash with <sys/types.h>, and declares uintmax_t.
468 482