[FFmpeg-cvslog] configure: Simplify inline asm check with appropriate helper function
Diego Biurrun
git at videolan.org
Tue Sep 26 23:05:11 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jan 20 15:30:36 2017 +0100| [24d5680bbc01fc124709d522d348572ad4672563] | committer: Diego Biurrun
configure: Simplify inline asm check with appropriate helper function
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24d5680bbc01fc124709d522d348572ad4672563
---
configure | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure b/configure
index 79898184c2..4a8d04d210 100755
--- a/configure
+++ b/configure
@@ -4183,9 +4183,7 @@ EOF
sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
-check_cc <<EOF && enable_weak inline_asm
-void foo(void) { __asm__ volatile ("" ::); }
-EOF
+check_inline_asm inline_asm '"" ::'
_restrict=
for restrict_keyword in restrict __restrict__ __restrict; do
More information about the ffmpeg-cvslog
mailing list