From 64ce7990831e76038285bb78b9c061b6fcba4370 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 8 May 2008 23:57:31 +0000 Subject: [PATCH] r15555@tombo: nickm | 2008-05-08 19:56:51 -0400 fwd-port The IRIX compiler thinks #error means warn. Fix configure.in to tolerate this. svn:r801 --- ChangeLog | 1 + configure.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb2c68a2..72c84980 100644 --- a/ChangeLog +++ b/ChangeLog @@ -96,6 +96,7 @@ Changes in current version: o migrate the evhttp header to event2/ but accessors are still missing. o deprecate timeout_* event functions by moving them to event_compat.h o Move windows gettimeofday replacement into a new evutil_gettimeofday(). + o Make configure script work on IRIX. Changes in 1.4.0: diff --git a/configure.in b/configure.in index cab67a0a..311b89d4 100644 --- a/configure.in +++ b/configure.in @@ -130,9 +130,9 @@ dnl - (this is how we check for a windows version of GCC) AC_MSG_CHECKING(for WIN32) AC_TRY_COMPILE(, [ - #ifndef WIN32 - #error - #endif +#ifndef WIN32 +die horribly +#endif ], bwin32=true; AC_MSG_RESULT(yes), bwin32=false; AC_MSG_RESULT(no),