summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2007-03-17 02:03:29 +0000
committerDavid Schleef <ds@schleef.org>2007-03-17 02:03:29 +0000
commita594920948be3773523c626d1148c14b85d0764c (patch)
tree8696c81822dd17cfcceadef597e49abdabf8c076 /m4
parent9fa00dae193727087a5575c9e20303baddaed4e1 (diff)
downloadliboil-a594920948be3773523c626d1148c14b85d0764c.tar.gz
* configure.ac:
* liboil/Makefile.am: * liboil/sse/Makefile.am: * liboil/sse/composite_sse_2pix.c: * liboil/sse/composite_sse_4pix.c: * liboil/sse/sad8x8_sse.c: * liboil/sse/sse_wrapper.h: Add idea to wrap SSE2 functions that have trouble with unaligned stacks with a function that aligns the stack. From Christian Aichinger. * m4/as-gcc-inline-assembly.m4: Fix test for gcc version. * testsuite/stack_align.c: improve somewhat
Diffstat (limited to 'm4')
-rw-r--r--m4/as-gcc-inline-assembly.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/as-gcc-inline-assembly.m4 b/m4/as-gcc-inline-assembly.m4
index 70cc7d0..72e56c2 100644
--- a/m4/as-gcc-inline-assembly.m4
+++ b/m4/as-gcc-inline-assembly.m4
@@ -4,7 +4,7 @@ dnl autostars m4 macro for detection of gcc inline assembly
dnl David Schleef <ds@schleef.org>
-dnl $Id: as-gcc-inline-assembly.m4,v 1.3 2007-03-16 23:30:02 ds Exp $
+dnl $Id: as-gcc-inline-assembly.m4,v 1.4 2007-03-17 02:03:30 ds Exp $
dnl AS_COMPILER_FLAG(ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
dnl Tries to compile with the given CFLAGS.
@@ -17,7 +17,7 @@ AC_DEFUN([AS_GCC_INLINE_ASSEMBLY],
AC_TRY_COMPILE([], [
#ifdef __GNUC_MINOR__
-#if __GNUC_MAJOR__ * 1000 + __GNUC_MINOR__ < 3004
+#if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
#error GCC before 3.4 has critical bugs compiling inline assembly
#endif
#endif