Revision 102a52e4 configure
b/configure | ||
---|---|---|
74 | 74 |
slirp="yes" |
75 | 75 |
adlib="no" |
76 | 76 |
oss="no" |
77 |
fmod="no" |
|
78 |
fmod_lib="" |
|
79 |
fmod_inc="" |
|
77 | 80 |
|
78 | 81 |
# OS specific |
79 | 82 |
targetos=`uname -s` |
... | ... | |
150 | 153 |
;; |
151 | 154 |
--disable-sdl) sdl="no" |
152 | 155 |
;; |
156 |
--enable-fmod) fmod="yes" |
|
157 |
;; |
|
158 |
--fmod-lib=*) fmod_lib=${opt#--fmod-lib=} |
|
159 |
;; |
|
160 |
--fmod-inc=*) fmod_inc=${opt#--fmod-inc=} |
|
161 |
;; |
|
153 | 162 |
--enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" |
154 | 163 |
;; |
155 | 164 |
--disable-slirp) slirp="no" |
... | ... | |
285 | 294 |
echo " --make=MAKE use specified make [$make]" |
286 | 295 |
echo " --static enable static build [$static]" |
287 | 296 |
echo " --enable-mingw32 enable Win32 cross compilation with mingw32" |
297 |
echo " --enable-fmod enable FMOD audio output driver" |
|
298 |
echo " --fmod-lib path to FMOD library" |
|
299 |
echo " --fmod-inc path to FMOD includes" |
|
288 | 300 |
echo "" |
289 | 301 |
echo "NOTE: The object files are build at the place where configure is launched" |
290 | 302 |
exit 1 |
... | ... | |
327 | 339 |
echo "SDL static link $sdl_static" |
328 | 340 |
echo "mingw32 support $mingw32" |
329 | 341 |
echo "Adlib support $adlib" |
342 |
echo -n "FMOD support $fmod" |
|
343 |
if test $fmod = "yes"; then |
|
344 |
echo -n " (lib='$fmod_lib' include='$fmod_inc')" |
|
345 |
fi |
|
346 |
echo "" |
|
330 | 347 |
|
331 | 348 |
if test $sdl_too_old = "yes"; then |
332 | 349 |
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" |
... | ... | |
435 | 452 |
echo "CONFIG_OSS=yes" >> $config_mak |
436 | 453 |
echo "#define CONFIG_OSS 1" >> $config_h |
437 | 454 |
fi |
455 |
if test "$fmod" = "yes" ; then |
|
456 |
echo "CONFIG_FMOD=yes" >> $config_mak |
|
457 |
echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_mak |
|
458 |
echo "CONFIG_FMOD_INC=$fmod_inc" >> $config_mak |
|
459 |
echo "#define CONFIG_FMOD 1" >> $config_h |
|
460 |
fi |
|
438 | 461 |
echo -n "VERSION=" >>$config_mak |
439 | 462 |
head $source_path/VERSION >>$config_mak |
440 | 463 |
echo "" >>$config_mak |
Also available in: Unified diff