From: Peter O'Gorman Date: Fri, 15 Aug 2008 20:00:24 +0000 (-0500) Subject: Minor portability fixes X-Git-Tag: 1.0_branch~1266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f921c8c57ffdd6d0afd3d41d50e3565084ebd49c;p=profile%2Fivi%2Fpixman.git 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 --- 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)