|
@@ -93,7 +93,6 @@ if test x"$vectop" = xtrue; then
|
93
|
93
|
AC_DEFINE([CM_VECTOP], 1,[Use Lapack and Atlas.])
|
94
|
94
|
fi
|
95
|
95
|
|
96
|
|
-
|
97
|
96
|
AC_ARG_ENABLE([memalign],
|
98
|
97
|
[ --enable-memalign Turn on memory alignment on dynamic memory allocations. ],
|
99
|
98
|
[case "${enableval}" in
|
|
@@ -109,6 +108,23 @@ if test x"$memalign" = xtrue; then
|
109
|
108
|
AC_DEFINE([CM_MEMALIGN], 1,[Turn on dynamic memory alignment.])
|
110
|
109
|
fi
|
111
|
110
|
|
|
111
|
+AC_ARG_ENABLE([sonicart],
|
|
112
|
+ [ --enable-sonicart Enable use of Sonic Arts proprietary code. ],
|
|
113
|
+ [case "${enableval}" in
|
|
114
|
+ yes) sonicart=true ;;
|
|
115
|
+ no) sonicart=false ;;
|
|
116
|
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-sonicart]) ;;
|
|
117
|
+ esac],[sonicart=true])
|
|
118
|
+
|
|
119
|
+echo "sonicart=${sonicart}"
|
|
120
|
+
|
|
121
|
+# if --enable-sonicart then #define CM_SONICART = 1 in config.h otherwise CM_SONICART is undefined.
|
|
122
|
+if test x"$sonicart" = xtrue; then
|
|
123
|
+AC_DEFINE([CM_SONICART], 1,[Include Sonic Arts proprietry code.])
|
|
124
|
+fi
|
|
125
|
+
|
|
126
|
+AM_CONDITIONAL([INC_SONICART], [test x$sonicart = xtrue])
|
|
127
|
+
|
112
|
128
|
|
113
|
129
|
AC_CONFIG_FILES([ Makefile ])
|
114
|
130
|
AC_OUTPUT
|