diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in index dd68daeb1..4730d3c4c 100644 --- a/configure.in +++ b/configure.in | |||
@@ -694,6 +694,20 @@ if test "x$ac_cv_have_ssize_t" = "xyes" ; then | |||
694 | AC_DEFINE(HAVE_SSIZE_T) | 694 | AC_DEFINE(HAVE_SSIZE_T) |
695 | fi | 695 | fi |
696 | 696 | ||
697 | AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [ | ||
698 | AC_TRY_COMPILE( | ||
699 | [ | ||
700 | #include <time.h> | ||
701 | ], | ||
702 | [ clock_t foo; foo = 1235; ], | ||
703 | [ ac_cv_have_clock_t="yes" ], | ||
704 | [ ac_cv_have_clock_t="no" ] | ||
705 | ) | ||
706 | ]) | ||
707 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | ||
708 | AC_DEFINE(HAVE_CLOCK_T) | ||
709 | fi | ||
710 | |||
697 | AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [ | 711 | AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [ |
698 | AC_TRY_COMPILE( | 712 | AC_TRY_COMPILE( |
699 | [ | 713 | [ |