From 4aa5eeafbea23524a0426d9ce4f4a354aed5c5c7 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Mon, 12 May 2003 23:30:12 +0000 Subject: [PATCH] must check for timespec after setting -mno-cygwin --- ChangeLog | 2 ++ configure.ac | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea6fda09..80d61e3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-05-12 Bradley Bell + * configure.ac: must check for timespec after setting -mno-cygwin + * main/inferno.c: added -nohogdir and -userdir options * main/titles.c: use briefings with no extension diff --git a/configure.ac b/configure.ac index 40b85ae1..f00ab539 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,6 @@ AC_PROG_CXX AC_STDC_HEADERS AC_PATH_PROGS(NASM, nasm nasmw, no) AC_C_BIGENDIAN -AC_CHECK_DECLS(nanosleep,,,[#include ]) -AC_CHECK_TYPES(struct timespec) case $host_cpu in sparc) @@ -62,6 +60,9 @@ case $host_os in ;; esac +AC_CHECK_DECLS(nanosleep,,,[#include ]) +AC_CHECK_TYPES(struct timespec) + AM_CONDITIONAL(MINGW32, test x$MINGW32 = xyes) if test x$MINGW32 = xyes; then GL_LIBS="opengl32 glu32" -- 2.39.2