mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-06 23:20:03 +01:00
Patch to autoconfig option flagging
This commit is contained in:
parent
2e8250d03a
commit
da748228b9
@ -151,7 +151,7 @@ if test "x$enable_x86_optimizations" = "xyes" -a "x$ac_cv_header_cpuid_h" = "xye
|
|||||||
echo "****** No MMX support found ******"
|
echo "****** No MMX support found ******"
|
||||||
if test "x$enable_integer_samples" = "xyes"; then
|
if test "x$enable_integer_samples" = "xyes"; then
|
||||||
echo "****** Disabling optimizations. Using integer samples with no MMX support ******"
|
echo "****** Disabling optimizations. Using integer samples with no MMX support ******"
|
||||||
AC_DEFINE([SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS],[1],[Do not use x86 optimizations])
|
CPPFLAGS="-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -185,14 +185,14 @@ if test "x$enable_x86_optimizations" = "xyes" -a "x$ac_cv_header_cpuid_h" = "xye
|
|||||||
echo "****** No SSE support found ******"
|
echo "****** No SSE support found ******"
|
||||||
if test "x$enable_integer_samples" != "xyes"; then
|
if test "x$enable_integer_samples" != "xyes"; then
|
||||||
echo "****** Disabling optimizations. Using float samples with no SSE support ******"
|
echo "****** Disabling optimizations. Using float samples with no SSE support ******"
|
||||||
AC_DEFINE([SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS],[1],[Do not use x86 optimizations])
|
CPPFLAGS="-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
# Disable optimizations in SSTypes.h since the user requested it.
|
# Disable optimizations in SSTypes.h since the user requested it.
|
||||||
echo "****** x86 optimizations disabled ******"
|
echo "****** x86 optimizations disabled ******"
|
||||||
AC_DEFINE([SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS],[1],[Do not use x86 optimizations])
|
CPPFLAGS="-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set AM_CXXFLAGS
|
# Set AM_CXXFLAGS
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
/* Do not use x86 optimizations */
|
|
||||||
#undef SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS
|
|
||||||
|
|
||||||
/* Use Float as Sample type */
|
/* Use Float as Sample type */
|
||||||
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user