build/linux/debug/build.sh, configure.ac : Added compile switch for sonic arts code.
This commit is contained in:
parent
a96fd43cab
commit
54f98fd800
@ -9,6 +9,7 @@ cd ${curdir}
|
||||
|
||||
../../../configure --prefix=${curdir} \
|
||||
--enable-debug \
|
||||
# --enable-sonicart \
|
||||
CFLAGS="-g -Wall" \
|
||||
CXXFLAGS="-g -Wall" \
|
||||
CPPFLAGS= \
|
||||
|
18
configure.ac
18
configure.ac
@ -93,7 +93,6 @@ if test x"$vectop" = xtrue; then
|
||||
AC_DEFINE([CM_VECTOP], 1,[Use Lapack and Atlas.])
|
||||
fi
|
||||
|
||||
|
||||
AC_ARG_ENABLE([memalign],
|
||||
[ --enable-memalign Turn on memory alignment on dynamic memory allocations. ],
|
||||
[case "${enableval}" in
|
||||
@ -109,6 +108,23 @@ if test x"$memalign" = xtrue; then
|
||||
AC_DEFINE([CM_MEMALIGN], 1,[Turn on dynamic memory alignment.])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([sonicart],
|
||||
[ --enable-sonicart Enable use of Sonic Arts proprietary code. ],
|
||||
[case "${enableval}" in
|
||||
yes) sonicart=true ;;
|
||||
no) sonicart=false ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for --enable-sonicart]) ;;
|
||||
esac],[sonicart=true])
|
||||
|
||||
echo "sonicart=${sonicart}"
|
||||
|
||||
# if --enable-sonicart then #define CM_SONICART = 1 in config.h otherwise CM_SONICART is undefined.
|
||||
if test x"$sonicart" = xtrue; then
|
||||
AC_DEFINE([CM_SONICART], 1,[Include Sonic Arts proprietry code.])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([INC_SONICART], [test x$sonicart = xtrue])
|
||||
|
||||
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user