On Tue, 5 Aug 2014, Janne Grunau wrote:
From: Janne Grunau <[email protected]>This was the last missing feature in llvm's integrated assembler on darwin. There is no need to use gas-preprocessor.pl if the assembler supports the asm fully. --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index b2eb0c8..24865e5 100755 --- a/configure +++ b/configure @@ -3764,6 +3764,12 @@ od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian if enabled asm; then enabled arm && nogas=die enabled_all ppc altivec && nogas=warn + enabled aarch64 && check_as <<EOF && unset gas +.macro m n, y:vararg=0 +\n: .int \y +.endm +m x +EOF as=${gas:=$as} check_as <<EOF && enable gnu_as || \ $nogas "GNU assembler not found, install gas-preprocessor" -- 2.0.4
This is a bit convoluted, but it's probably the simplest way of doing this short of reshuffling a lot of the other things, so it's ok with me.
Or could we encapsulate these tests into a function and first run them with $as, and if that fails, rerun them with $gas?
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
