diff options
| author | Gerd Moellmann | 2000-05-26 15:56:13 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-05-26 15:56:13 +0000 |
| commit | 25abcaf1c17e151536ca30e1116c363e6ebd1de1 (patch) | |
| tree | e243a393caf360f3cb023b9f664bebbfe78f54c1 | |
| parent | f0d21750932435a810749ddfa04f798dfd5636dc (diff) | |
| download | emacs-25abcaf1c17e151536ca30e1116c363e6ebd1de1.tar.gz emacs-25abcaf1c17e151536ca30e1116c363e6ebd1de1.zip | |
Add check for speed_t typedef.
| -rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c6bb124f907..577cb4ea5a8 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1184,6 +1184,14 @@ fi | |||
| 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> |