From f921c8c57ffdd6d0afd3d41d50e3565084ebd49c Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Fri, 15 Aug 2008 15:00:24 -0500 Subject: [PATCH] Minor portability fixes Use AC_C_INLINE to figure out `inline'. IRIX compiler does not exit with a non-zero exit status when it sees #error --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9139f38..66ba962 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ AC_PROG_CC AC_PROG_LIBTOOL AC_CHECK_FUNCS([getisax]) AC_C_BIGENDIAN - +AC_C_INLINE # # We ignore pixman_major in the version here because the major version should # always be encoded in the actual library name. Ie., the soname is: @@ -113,7 +113,7 @@ AC_MSG_CHECKING(for -fvisibility) AC_COMPILE_IFELSE([ #if defined(__GNUC__) && (__GNUC__ >= 4) #else -#error Need GCC 4.0 for visibility +error Need GCC 4.0 for visibility #endif int main () { return 0; } ], have_gcc4=yes) -- 2.7.4