From: Gerd Moellmann Date: Fri, 26 May 2000 15:56:13 +0000 (+0000) Subject: Add check for speed_t typedef. X-Git-Tag: emacs-pretest-21.0.90~3668 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25abcaf1c17e151536ca30e1116c363e6ebd1de1;p=emacs.git Add check for speed_t typedef. --- diff --git a/configure.in b/configure.in index c6bb124f907..577cb4ea5a8 100644 --- a/configure.in +++ b/configure.in @@ -1184,6 +1184,14 @@ fi dnl checks for typedefs AC_TYPE_SIGNAL +dnl Check for speed_t typedef. +AC_CACHE_CHECK(for speed_t, emacs_cv_speed_t, +AC_TRY_COMPILE([#include ], [speed_t x = 1;], + emacs_cv_speed_t=yes)) +if test $emacs_cv_speed_t = yes; then + AC_DEFINE(HAVE_SPEED_T) +fi + AC_CACHE_CHECK(for struct timeval, emacs_cv_struct_timeval, AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME #include