configure: use .altmacro for gnu as check on arm
authorJanne Grunau <janne-libav@jannau.net>
Thu, 29 May 2014 15:04:57 +0000 (17:04 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 9 Jun 2014 10:33:19 +0000 (12:33 +0200)
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

configure

index 59f7273..8359c68 100755 (executable)
--- 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