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>
This commit is contained in:
Martin Storsjö
2013-07-09 20:51:00 +03:00
parent d14a26edb7
commit ef5b70affc
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -23,6 +23,10 @@
#include <stdint.h>
#include "config.h"
#if HAVE_INLINE_ASM_LABELS
#define AV_READ_TIME read_time
static inline uint64_t read_time(void)
@@ -44,4 +48,6 @@ static inline uint64_t read_time(void)
return (((uint64_t)tbu)<<32) | (uint64_t)tbl;
}
#endif /* HAVE_INLINE_ASM_LABELS */
#endif /* AVUTIL_PPC_TIMER_H */