1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-09-16 14:32:29 +02:00

automake: Build SoundTouchDLL only if FLOAT samples used

This commit is contained in:
Olli 2024-03-29 20:01:18 +02:00
parent 7dce7268cd
commit f0ef4cd853
2 changed files with 7 additions and 7 deletions

View File

@ -110,7 +110,6 @@ AC_ARG_ENABLE([neon-optimizations],
# Note: We check if optimizations are supported a few lines down.
AM_CONDITIONAL([X86_OPTIMIZATIONS], [test "x$enable_x86_optimizations" = "xyes"])
if test "x$enable_integer_samples" = "xyes"; then
echo "****** Integer sample type enabled ******"
AC_DEFINE(SOUNDTOUCH_INTEGER_SAMPLES,1,[Use Integer as Sample type])
@ -118,7 +117,7 @@ else
echo "****** Float sample type enabled ******"
AC_DEFINE(SOUNDTOUCH_FLOAT_SAMPLES,1,[Use Float as Sample type])
fi
AM_CONDITIONAL([SOUNDTOUCH_FLOAT_SAMPLES], [test "x$enable_integer_samples" != "xyes"])
if test "x$enable_openmp" = "xyes"; then
echo "****** openmp optimizations enabled ******"

View File

@ -17,8 +17,9 @@
include $(top_srcdir)/config/am_include.mk
SUBDIRS=SoundTouch SoundStretch SoundTouchDLL
# set to something if you want other stuff to be included in the distribution tarball
#EXTRA_DIST=
if SOUNDTOUCH_FLOAT_SAMPLES
# build SoundTouchDLL only if float samples used
SUBDIRS=SoundTouch SoundStretch SoundTouchDLL
else
SUBDIRS=SoundTouch SoundStretch
endif