# HG changeset patch # User Gerd Moellmann # Date 959356573 0 # Node ID 809933264ea68212a5b61eedfb8a2ee914be62cf # Parent c8f4d06938b96393bd1966883f73812da5b7b855 Add check for speed_t typedef. diff -r c8f4d06938b9 -r 809933264ea6 configure.in --- a/configure.in Fri May 26 15:52:33 2000 +0000 +++ b/configure.in Fri May 26 15:56:13 2000 +0000 @@ -1184,6 +1184,14 @@ 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