comparison configure.in @ 29253:809933264ea6

Add check for speed_t typedef.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 26 May 2000 15:56:13 +0000
parents 18ae8656c122
children 74d1eeb89c85
comparison
equal deleted inserted replaced
29252:c8f4d06938b9 29253:809933264ea6
1182 fi 1182 fi
1183 1183
1184 dnl checks for typedefs 1184 dnl checks for typedefs
1185 AC_TYPE_SIGNAL 1185 AC_TYPE_SIGNAL
1186 1186
1187 dnl Check for speed_t typedef.
1188 AC_CACHE_CHECK(for speed_t, emacs_cv_speed_t,
1189 AC_TRY_COMPILE([#include <termios.h>], [speed_t x = 1;],
1190 emacs_cv_speed_t=yes))
1191 if test $emacs_cv_speed_t = yes; then
1192 AC_DEFINE(HAVE_SPEED_T)
1193 fi
1194
1187 AC_CACHE_CHECK(for struct timeval, emacs_cv_struct_timeval, 1195 AC_CACHE_CHECK(for struct timeval, emacs_cv_struct_timeval,
1188 AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME 1196 AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME
1189 #include <sys/time.h> 1197 #include <sys/time.h>
1190 #include <time.h> 1198 #include <time.h>
1191 #else 1199 #else