74 |
slirp="yes" |
slirp="yes" |
75 |
adlib="no" |
adlib="no" |
76 |
oss="no" |
oss="no" |
77 |
|
fmod="no" |
78 |
|
fmod_lib="" |
79 |
|
fmod_inc="" |
80 |
|
|
81 |
# OS specific |
# OS specific |
82 |
targetos=`uname -s` |
targetos=`uname -s` |
153 |
;; |
;; |
154 |
--disable-sdl) sdl="no" |
--disable-sdl) sdl="no" |
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 |
|
;; |
162 |
--enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" |
--enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" |
163 |
;; |
;; |
164 |
--disable-slirp) slirp="no" |
--disable-slirp) slirp="no" |
294 |
echo " --make=MAKE use specified make [$make]" |
echo " --make=MAKE use specified make [$make]" |
295 |
echo " --static enable static build [$static]" |
echo " --static enable static build [$static]" |
296 |
echo " --enable-mingw32 enable Win32 cross compilation with mingw32" |
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" |
300 |
echo "" |
echo "" |
301 |
echo "NOTE: The object files are build at the place where configure is launched" |
echo "NOTE: The object files are build at the place where configure is launched" |
302 |
exit 1 |
exit 1 |
339 |
echo "SDL static link $sdl_static" |
echo "SDL static link $sdl_static" |
340 |
echo "mingw32 support $mingw32" |
echo "mingw32 support $mingw32" |
341 |
echo "Adlib support $adlib" |
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 "" |
347 |
|
|
348 |
if test $sdl_too_old = "yes"; then |
if test $sdl_too_old = "yes"; then |
349 |
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" |
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" |
452 |
echo "CONFIG_OSS=yes" >> $config_mak |
echo "CONFIG_OSS=yes" >> $config_mak |
453 |
echo "#define CONFIG_OSS 1" >> $config_h |
echo "#define CONFIG_OSS 1" >> $config_h |
454 |
fi |
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 |
461 |
echo -n "VERSION=" >>$config_mak |
echo -n "VERSION=" >>$config_mak |
462 |
head $source_path/VERSION >>$config_mak |
head $source_path/VERSION >>$config_mak |
463 |
echo "" >>$config_mak |
echo "" >>$config_mak |