diff options
author | David Schleef <ds@schleef.org> | 2005-10-17 17:24:01 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-10-17 17:24:01 +0000 |
commit | 7e367e271f83a0ca391b0c3268070addfafdb805 (patch) | |
tree | 6ea8cf7d7f23596d341ca86dfa5fe34151616541 /liboil/powerpc | |
parent | 662216678ddda92b48506618688b533d5a4e5a23 (diff) | |
download | liboil-7e367e271f83a0ca391b0c3268070addfafdb805.tar.gz |
* configure.ac: Check for -masm-blocks before using the feature
* liboil/powerpc/Makefile.am:
Diffstat (limited to 'liboil/powerpc')
-rw-r--r-- | liboil/powerpc/Makefile.am | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/liboil/powerpc/Makefile.am b/liboil/powerpc/Makefile.am index 71c6216..a6f90b4 100644 --- a/liboil/powerpc/Makefile.am +++ b/liboil/powerpc/Makefile.am @@ -1,6 +1,14 @@ noinst_LTLIBRARIES = libpowerpc.la +if HAVE_ASM_BLOCKS +asm_block_sources = \ + recon8x8_ppc.c \ + recon8x8_altivec.c +else +asm_block_sources = +endif + sources = \ abs.c \ clip.c \ @@ -19,13 +27,8 @@ sources = \ splat.c \ zigzag8x8.c -if HAVE_CPU_POWERPC -powerpc_sources = $(sources) -else -powerpc_sources = -endif - libpowerpc_la_SOURCES = \ - $(powerpc_sources) + $(asm_block_sources) + $(sources) libpowerpc_la_CFLAGS = $(LIBOIL_CFLAGS) -maltivec -mabi=altivec -fasm-blocks |