mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Remove old/broken PPC/Altivec code.
* Removes FLAC__lpc_restore_signal_asm_ppc_altivec_16* from lpc.h and stream_decoder.c * Removes PPC-specific code from cpu.c and cpu.h * Removes PPC stuff from libFLAC/Makefile.lite and build/*.mk * Removes as/gas/PPC-specific stuff from configure.ac and libFLAC/Makefile.am* * Removes libFLAC/ppc folder and remove "src/libFLAC/ppc*/Makefile" lines from configure.ac Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
27
configure.ac
27
configure.ac
@@ -358,25 +358,6 @@ AC_DEFINE(FLAC__HAS_NASM)
|
||||
AH_TEMPLATE(FLAC__HAS_NASM, [define if you are compiling for x86 and have the NASM assembler])
|
||||
fi
|
||||
|
||||
# only matters for PowerPC
|
||||
AC_CHECK_PROGS(AS, as, as)
|
||||
AC_CHECK_PROGS(GAS, gas, gas)
|
||||
|
||||
# try -v (apple as) and --version (gas) at the same time
|
||||
test "$AS" = "as" && as --version -v < /dev/null 2>&1 | grep Apple >/dev/null || AS=gas
|
||||
|
||||
AM_CONDITIONAL(FLaC__HAS_AS, test "$AS" = "as")
|
||||
AM_CONDITIONAL(FLaC__HAS_GAS, test "$AS" = "gas")
|
||||
if test "$AS" = "as" ; then
|
||||
AC_DEFINE(FLAC__HAS_AS)
|
||||
AH_TEMPLATE(FLAC__HAS_AS, [define if you are compiling for PowerPC and have the 'as' assembler])
|
||||
fi
|
||||
if test "$AS" = "gas" ; then
|
||||
# funniest. macro. ever.
|
||||
AC_DEFINE(FLAC__HAS_GAS)
|
||||
AH_TEMPLATE(FLAC__HAS_GAS, [define if you are compiling for PowerPC and have the 'gas' assembler])
|
||||
fi
|
||||
|
||||
if test "x$debug" = xtrue; then
|
||||
CPPFLAGS="-DDEBUG $CPPFLAGS"
|
||||
CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
|
||||
@@ -431,25 +412,17 @@ if test x$enable_werror = "xyes" ; then
|
||||
AC_LANG_POP([C++])
|
||||
fi
|
||||
|
||||
|
||||
if test x$enable_stack_smash_protection = "xyes" ; then
|
||||
XIPH_GCC_STACK_PROTECTOR
|
||||
XIPH_GXX_STACK_PROTECTOR
|
||||
fi
|
||||
|
||||
#@@@
|
||||
AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no")
|
||||
AM_CONDITIONAL(FLaC__HAS_GAS__TEMPORARILY_DISABLED, test "yes" = "no")
|
||||
|
||||
AC_CONFIG_FILES([ \
|
||||
Makefile \
|
||||
src/Makefile \
|
||||
src/libFLAC/Makefile \
|
||||
src/libFLAC/flac.pc \
|
||||
src/libFLAC/ia32/Makefile \
|
||||
src/libFLAC/ppc/Makefile \
|
||||
src/libFLAC/ppc/as/Makefile \
|
||||
src/libFLAC/ppc/gas/Makefile \
|
||||
src/libFLAC/include/Makefile \
|
||||
src/libFLAC/include/private/Makefile \
|
||||
src/libFLAC/include/protected/Makefile \
|
||||
|
||||
Reference in New Issue
Block a user