summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-07-09 20:51:00 +0300
committerMartin Storsjö <martin@martin.st>2013-07-11 18:53:02 +0300
commitef5b70affc6376bfeadd1ff649b79bad9a124fa8 (patch)
treec0831a2edd8f58fcf795cd44c748bd4bfaf4e88a /configure
parentd14a26edb7c4487df581f11e5c6911dc0e623d08 (diff)
configure: Check for support for labels in the inline assembly
Use this for enabling the ppc timer.h implementation only on assemblers that support labels in the inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index e1edbe6996..0e6b450fae 100755
--- a/configure
+++ b/configure
@@ -1294,6 +1294,7 @@ HAVE_LIST="
ibm_asm
inet_aton
io_h
+ inline_asm_labels
isatty
jack_port_get_latency_range
ldbrx
@@ -3405,6 +3406,8 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
+check_inline_asm inline_asm_labels '"1:\n"'
+
if enabled alpha; then
check_cflags -mieee