diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:57:29 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:57:29 +0000 |
commit | 102a52e4712aeac3bad0ed25755ff2c96f4ff794 (patch) | |
tree | 776813eaea38c016e9ba234abecbfd2eb483017d /configure | |
parent | c76338c34f807458c299c44f43e41d276d84e6e8 (diff) |
FMOD configure options (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1147 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -74,6 +74,9 @@ gdbstub="yes" slirp="yes" adlib="no" oss="no" +fmod="no" +fmod_lib="" +fmod_inc="" # OS specific targetos=`uname -s` @@ -150,6 +153,12 @@ for opt do ;; --disable-sdl) sdl="no" ;; + --enable-fmod) fmod="yes" + ;; + --fmod-lib=*) fmod_lib=${opt#--fmod-lib=} + ;; + --fmod-inc=*) fmod_inc=${opt#--fmod-inc=} + ;; --enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" ;; --disable-slirp) slirp="no" @@ -285,6 +294,9 @@ echo " --cc=CC use C compiler CC [$cc]" echo " --make=MAKE use specified make [$make]" echo " --static enable static build [$static]" echo " --enable-mingw32 enable Win32 cross compilation with mingw32" +echo " --enable-fmod enable FMOD audio output driver" +echo " --fmod-lib path to FMOD library" +echo " --fmod-inc path to FMOD includes" echo "" echo "NOTE: The object files are build at the place where configure is launched" exit 1 @@ -327,6 +339,11 @@ echo "SDL support $sdl" echo "SDL static link $sdl_static" echo "mingw32 support $mingw32" echo "Adlib support $adlib" +echo -n "FMOD support $fmod" +if test $fmod = "yes"; then + echo -n " (lib='$fmod_lib' include='$fmod_inc')" +fi +echo "" if test $sdl_too_old = "yes"; then echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" @@ -435,6 +452,12 @@ if test "$oss" = "yes" ; then echo "CONFIG_OSS=yes" >> $config_mak echo "#define CONFIG_OSS 1" >> $config_h fi +if test "$fmod" = "yes" ; then + echo "CONFIG_FMOD=yes" >> $config_mak + echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_mak + echo "CONFIG_FMOD_INC=$fmod_inc" >> $config_mak + echo "#define CONFIG_FMOD 1" >> $config_h +fi echo -n "VERSION=" >>$config_mak head $source_path/VERSION >>$config_mak echo "" >>$config_mak |