From: Matt Turner Date: Mon, 20 Feb 2012 23:36:24 +0000 (-0500) Subject: autoconf: use #error instead of error X-Git-Tag: pixman-0.25.2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a14f0f66bba987d5cdcb4a3e0f3e9f7c35d3f6f0;p=platform%2Fupstream%2Fpixman.git autoconf: use #error instead of error We'd rather see the actual #error message rather than a syntax error in config.log. Signed-off-by: Matt Turner --- diff --git a/configure.ac b/configure.ac index 4f8a0c5..f39f437 100644 --- a/configure.ac +++ b/configure.ac @@ -259,14 +259,14 @@ PIXMAN_CHECK_CFLAG([-fvisibility=hidden], [dnl #error Have -fvisibility but it is ignored and generates a warning #endif #else -error Need GCC 4.0 for visibility +#error Need GCC 4.0 for visibility #endif ]) PIXMAN_CHECK_CFLAG([-xldscope=hidden], [dnl #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) #else -error Need Sun Studio 8 for visibility +#error Need Sun Studio 8 for visibility #endif ]) @@ -292,7 +292,7 @@ xserver_save_CFLAGS=$CFLAGS CFLAGS="$MMX_CFLAGS $CFLAGS" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) -error "Need GCC >= 3.4 for MMX intrinsics" +#error "Need GCC >= 3.4 for MMX intrinsics" #endif #include int main () { @@ -427,7 +427,7 @@ xserver_save_CFLAGS=$CFLAGS CFLAGS="$VMX_CFLAGS $CFLAGS" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) -error "Need GCC >= 3.4 for sane altivec support" +#error "Need GCC >= 3.4 for sane altivec support" #endif #include int main () {