mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-08 12:02:28 +01:00
automake: Build SoundTouchDLL only if FLOAT samples used
This commit is contained in:
parent
7dce7268cd
commit
f0ef4cd853
@ -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 ******"
|
||||
|
@ -17,8 +17,9 @@
|
||||
|
||||
include $(top_srcdir)/config/am_include.mk
|
||||
|
||||
if SOUNDTOUCH_FLOAT_SAMPLES
|
||||
# build SoundTouchDLL only if float samples used
|
||||
SUBDIRS=SoundTouch SoundStretch SoundTouchDLL
|
||||
|
||||
# set to something if you want other stuff to be included in the distribution tarball
|
||||
#EXTRA_DIST=
|
||||
|
||||
else
|
||||
SUBDIRS=SoundTouch SoundStretch
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user