summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-29 17:04:57 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-06-09 12:33:19 +0200
commit7b06ddb8352fe7f434414d7911ced94956bb25b2 (patch)
tree688f3c11f5fc2054cdb34943a1edf70a98d4a774 /configure
parent3d79d0c93e5b37a35b1b22d6c18699c233aad1ba (diff)
configure: use .altmacro for gnu as check on arm
Clang's integrated assembler (after 3.4) does not yet support the '.altmacro' directive which is only used in arm asm. Support is planned: http://llvm.org/bugs/show_bug.cgi?id=18918
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 59f7273581..8359c68b13 100755
--- a/configure
+++ b/configure
@@ -3736,6 +3736,10 @@ if enabled asm; then
m x
EOF
+ check_as <<EOF || $nogas "GNU assembler not found, install gas-preprocessor"
+.altmacro
+EOF
+
check_as <<EOF && enable as_func
.func test
.endfunc