--- autoconf/autoconf/lib/autoconf/specific.m4.orig 2007-01-18 04:57:37.000000000 +0100 +++ autoconf/autoconf/lib/autoconf/specific.m4 2007-08-26 17:36:09.000000000 +0200 @@ -435,7 +435,7 @@ # ------ AC_DEFUN([AC_AIX], [AH_VERBATIM([_ALL_SOURCE], -[/* Define to 1 if on AIX 3. +[/* Define to 1 if on AIX 3 or on Interix. System headers sometimes define this. We just want to avoid a redefinition error message. */ @%:@ifndef _ALL_SOURCE @@ -443,9 +443,9 @@ @%:@endif])dnl AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl AC_BEFORE([$0], [AC_RUN_IFELSE])dnl -AC_MSG_CHECKING([for AIX]) +AC_MSG_CHECKING([for AIX or Interix]) AC_EGREP_CPP(yes, -[#ifdef _AIX +[#if defined(_AIX) || defined(__INTERIX) yes #endif ],