summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-30 09:58:43 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-06-03 14:23:03 +0200
commitd5a55981986ac5d1a31aef3a8d16eaff8534a412 (patch)
tree5d820f26256d6e2b12e67f858712c41dc6187b15 /configure
parent896a5bff64264f4d01ed98eacc97a67260c1e17e (diff)
build: check if AS supports the '.func' directive
Not supported by Clang's integrated assembler. Since it just adds debug information it can safely omitted.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 13bcdfe4d3..59f7273581 100755
--- a/configure
+++ b/configure
@@ -1468,6 +1468,7 @@ SYSTEM_FUNCS="
TOOLCHAIN_FEATURES="
as_dn_directive
+ as_func
asm_mod_q
attribute_may_alias
attribute_packed
@@ -3734,6 +3735,11 @@ if enabled asm; then
.endm
m x
EOF
+
+ check_as <<EOF && enable as_func
+.func test
+.endfunc
+EOF
fi
check_inline_asm inline_asm_labels '"1:\n"'