diff options
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.in | 14 |
2 files changed, 16 insertions, 8 deletions
@@ -23213,7 +23213,8 @@ fi done -if test "`uname -o`" = "Cygwin"; then +case "`uname`" in + CYGWIN*) for ac_header in io.h sys/timeb.h @@ -23365,7 +23366,8 @@ fi done -else + ;; + *) @@ -23518,7 +23520,9 @@ fi done -fi + ;; +esac + case "$host" in alpha*-dec*-osf*) diff --git a/configure.in b/configure.in index a4e659e..3b705b1 100644 --- a/configure.in +++ b/configure.in @@ -761,11 +761,15 @@ AC_CHECK_HEADERS([stddef.h setjmp.h features.h]) AC_CHECK_HEADERS([stdint.h], [C9x=yes]) dnl Windows -if test "`uname -o`" = "Cygwin"; then - AC_CHECK_HEADERS([io.h sys/timeb.h]) -else - AC_CHECK_HEADERS([io.h winsock.h sys/timeb.h]) -fi +case "`uname`" in + CYGWIN*) + AC_CHECK_HEADERS([io.h sys/timeb.h]) + ;; + *) + AC_CHECK_HEADERS([io.h winsock.h sys/timeb.h]) + ;; +esac + case "$host" in alpha*-dec*-osf*) dnl The <sys/sysinfo.h> and <sys/proc.h> are needed on the DEC |