From 95d0bce59e47d90a8fac3c23c6326cacb751c1ad Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 11 Oct 2007 16:10:24 -0600 Subject: Don't claim strerror is broken on Interix. * doc/functions/strerror.texi (strerror): Known broken systems are now Solaris 8, and not Interix. * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): No longer filter out Interix on cross-compile. Reported by Martin Koeppe in http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00005.html. Signed-off-by: Eric Blake --- m4/strerror.m4 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'm4/strerror.m4') diff --git a/m4/strerror.m4 b/m4/strerror.m4 index f59c710130..9cb5769b12 100644 --- a/m4/strerror.m4 +++ b/m4/strerror.m4 @@ -1,4 +1,4 @@ -# strerror.m4 serial 5 +# strerror.m4 serial 6 dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -26,13 +26,10 @@ AC_DEFUN([gl_FUNC_STRERROR_SEPARATE], [return !*strerror (-2);])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], - [dnl Assume crossbuild works if it compiles, except for Interix. + [dnl Assume crossbuild works if it compiles. AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( + [AC_LANG_PROGRAM( [#include - #ifdef __INTERIX - Interix is broken; - #endif ], [return !*strerror (-2);])], [gl_cv_func_working_strerror=yes], -- cgit v1.2.1