aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-29 21:30:16 -0300
committerJames Almer <jamrial@gmail.com>2018-03-29 21:30:16 -0300
commit75bf51ef87f4cb5afca701b33bf22339d8a4db24 (patch)
treeb7cc6931857226da9b7c3f7ea946dfbbdd549710
parente46fab0f3cfb58398de9d2b8bd866f82606a90eb (diff)
parent434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8 (diff)
downloadffmpeg-75bf51ef87f4cb5afca701b33bf22339d8a4db24.tar.gz
Merge commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8'
* commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8': configure: Simplify vararg check Merged-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 7a68cc62ab..a92ac6acb7 100755
--- a/configure
+++ b/configure
@@ -5435,12 +5435,11 @@ fi
check_gas() {
log "check_gas using '$as' as AS"
# :vararg is used on aarch64, arm and ppc altivec
- test_as <<EOF || return 1
+ check_as vararg "
.macro m n, y:vararg=0
\n: .int \y
.endm
-m x
-EOF
+m x" || return 1
# .altmacro is only used in arm asm
! enabled arm || check_as gnu_as ".altmacro"
}