Skip to content
Snippets Groups Projects
Commit f921c8c5 authored by Peter O'Gorman's avatar Peter O'Gorman Committed by Søren Sandmann Pedersen
Browse files

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
parent e2cbe1a0
No related branches found
No related tags found
Loading
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment