From 5eb39de901d84c189abf272a56a836527ca75bef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 12 Oct 2008 21:15:59 +0000
Subject: [PATCH] configure: simplify PPC dcbzl check

Originally committed as revision 15606 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/configure b/configure
index 8225d81868..a5b9fbf16d 100755
--- a/configure
+++ b/configure
@@ -1598,14 +1598,7 @@ fi
 # check for assembler specific support
 
 if test $arch = "powerpc"; then
-check_cc <<EOF && enable dcbzl
-int main(void) {
-    register long zero = 0;
-    char data[1024];
-    asm volatile("dcbzl %0, %1" : : "b" (data), "r" (zero));
-return 0;
-}
-EOF
+    check_asm dcbzl '"dcbzl 0, 1"'
 fi
 
 # check for SIMD availability
-- 
2.18.1