Lines 162-172
Link Here
|
162 |
# |
162 |
# |
163 |
#-------------------------------------------------------------------- |
163 |
#-------------------------------------------------------------------- |
164 |
|
164 |
|
|
|
165 |
AC_MSG_CHECKING([whether to enable estools]) |
165 |
AC_ARG_WITH( estools, [ --with-estools use the Edinburgh Speech Tools library for file i/o, |
166 |
AC_ARG_WITH( estools, [ --with-estools use the Edinburgh Speech Tools library for file i/o, |
166 |
usage: --with-estools=/path/to/speech_tools], |
167 |
usage: --with-estools=/path/to/speech_tools], |
167 |
EDINBURGH_DIR=$with_estools ) |
168 |
EDINBURGH_DIR=$with_estools ) |
|
|
169 |
AC_MSG_RESULT($with_estools) |
168 |
|
170 |
|
169 |
if eval "test x$with_estools != x"; then |
171 |
if eval "test x$with_estools != x -a x$with_estools != xno"; then |
170 |
TRACK_INCLUDE="$TRACK_INCLUDE -DWITH_EDINBURGH -I$EDINBURGH_DIR/include " |
172 |
TRACK_INCLUDE="$TRACK_INCLUDE -DWITH_EDINBURGH -I$EDINBURGH_DIR/include " |
171 |
TRACK_LIB="$TRACK_LIB -L$EDINBURGH_DIR/lib -lestools -leststring -lestbase " |
173 |
TRACK_LIB="$TRACK_LIB -L$EDINBURGH_DIR/lib -lestools -leststring -lestbase " |
172 |
fi |
174 |
fi |
Lines 176-186
Link Here
|
176 |
# |
178 |
# |
177 |
#-------------------------------------------------------------------- |
179 |
#-------------------------------------------------------------------- |
178 |
|
180 |
|
|
|
181 |
AC_MSG_CHECKING([whether to enable esps]) |
179 |
AC_ARG_WITH( esps, [ --with-esps use the Entropic ESPS libraries for file i/o, |
182 |
AC_ARG_WITH( esps, [ --with-esps use the Entropic ESPS libraries for file i/o, |
180 |
usage: --with-esps=/path/to/esps], |
183 |
usage: --with-esps=/path/to/esps], |
181 |
ESPS_DIR=$with_esps ) |
184 |
ESPS_DIR=$with_esps ) |
|
|
185 |
AC_MSG_RESULT($with_esps) |
182 |
|
186 |
|
183 |
if eval "test x$with_esps != x"; then |
187 |
if eval "test x$with_esps != x -a x$with_esps != xno"; then |
184 |
TRACK_INCLUDE="$TRACK_INCLUDE -DUSE_ESPS -I$ESPS_DIR/include" |
188 |
TRACK_INCLUDE="$TRACK_INCLUDE -DUSE_ESPS -I$ESPS_DIR/include" |
185 |
TRACK_LIB="$TRACK_LIB -L$ESPS_DIR/lib -lhdre -lespsg $SOCKET_LIBS" |
189 |
TRACK_LIB="$TRACK_LIB -L$ESPS_DIR/lib -lhdre -lespsg $SOCKET_LIBS" |
186 |
fi |
190 |
fi |
Lines 191-204
Link Here
|
191 |
# |
195 |
# |
192 |
#-------------------------------------------------------------------- |
196 |
#-------------------------------------------------------------------- |
193 |
|
197 |
|
|
|
198 |
AC_MSG_CHECKING([whether to enable NIST SPHERE support]) |
194 |
AC_ARG_WITH( nist, [ --with-nist use the NIST SPHERE toolkit for file i/o, |
199 |
AC_ARG_WITH( nist, [ --with-nist use the NIST SPHERE toolkit for file i/o, |
195 |
usage: --with-nist=/path/to/nist], NIST_DIR="$with_nist" ) |
200 |
usage: --with-nist=/path/to/nist], NIST_DIR="$with_nist" ) |
|
|
201 |
AC_MSG_RESULT($with_nist) |
196 |
|
202 |
|
197 |
# if we have esps, we don't need to link against the nist libraries |
203 |
# if we have esps, we don't need to link against the nist libraries |
198 |
if eval "test x$with_nist != x"; then |
204 |
if eval "test x$with_nist != x -a x$with_nist != xno"; then |
199 |
|
205 |
|
200 |
TRACK_INCLUDE="$TRACK_INCLUDE -DWITH_NIST -I$NIST_DIR/include " |
206 |
TRACK_INCLUDE="$TRACK_INCLUDE -DWITH_NIST -I$NIST_DIR/include " |
201 |
if eval "test x$with_esps = x"; then |
207 |
if eval "test x$with_esps = x -a x$with_esps != xno"; then |
202 |
TRACK_LIB="$TRACK_LIB $NIST_DIR/lib/libsp.a $NIST_DIR/lib/libutil.a -lm " |
208 |
TRACK_LIB="$TRACK_LIB $NIST_DIR/lib/libsp.a $NIST_DIR/lib/libutil.a -lm " |
203 |
fi |
209 |
fi |
204 |
fi |
210 |
fi |
Lines 426-436
Link Here
|
426 |
# need to choose between Sun and Linux sound support, or no support at all |
432 |
# need to choose between Sun and Linux sound support, or no support at all |
427 |
#----------------------------------------------------------------------- |
433 |
#----------------------------------------------------------------------- |
428 |
|
434 |
|
|
|
435 |
AC_MSG_CHECKING([whether to enable nas support]) |
429 |
AC_ARG_WITH( nas, [ --with-nas include support for NAS audio playback, |
436 |
AC_ARG_WITH( nas, [ --with-nas include support for NAS audio playback, |
430 |
usage: --with-nas=/path/to/nas], |
437 |
usage: --with-nas=/path/to/nas], |
431 |
NAS_DIR=$with_nas ) |
438 |
NAS_DIR=$with_nas ) |
|
|
439 |
AC_MSG_RESULT($with_nas) |
432 |
|
440 |
|
433 |
if eval "test x$with_nas != x"; then |
441 |
if eval "test x$with_nas != x -a x$with_nas != xno"; then |
434 |
NAS_DEFINES="-DWITH_NAS -I$NAS_DIR/usr.include" |
442 |
NAS_DEFINES="-DWITH_NAS -I$NAS_DIR/usr.include" |
435 |
NAS_LIB="$NAS_DIR/lib/audio/libaudio.a -L$x_libraries -lXau $SOCKET_LIBS" |
443 |
NAS_LIB="$NAS_DIR/lib/audio/libaudio.a -L$x_libraries -lXau $SOCKET_LIBS" |
436 |
NAS_OBJ=nas-sound.o |
444 |
NAS_OBJ=nas-sound.o |