Revision fb065187 configure
b/configure | ||
---|---|---|
72 | 72 |
EXESUF="" |
73 | 73 |
gdbstub="yes" |
74 | 74 |
slirp="yes" |
75 |
adlib="no" |
|
76 |
oss="no" |
|
75 | 77 |
|
76 | 78 |
# OS specific |
77 | 79 |
targetos=`uname -s` |
... | ... | |
81 | 83 |
;; |
82 | 84 |
FreeBSD) |
83 | 85 |
bsd="yes" |
86 |
oss="yes" |
|
84 | 87 |
;; |
85 | 88 |
NetBSD) |
86 | 89 |
bsd="yes" |
90 |
oss="yes" |
|
87 | 91 |
;; |
88 | 92 |
OpenBSD) |
89 | 93 |
bsd="yes" |
94 |
oss="yes" |
|
90 | 95 |
;; |
91 | 96 |
Darwin) |
92 | 97 |
bsd="yes" |
93 | 98 |
darwin="yes" |
94 | 99 |
;; |
95 |
*) ;; |
|
100 |
*) |
|
101 |
oss="yes" |
|
102 |
;; |
|
96 | 103 |
esac |
97 | 104 |
|
98 | 105 |
if [ "$bsd" = "yes" ] ; then |
... | ... | |
147 | 154 |
;; |
148 | 155 |
--disable-slirp) slirp="no" |
149 | 156 |
;; |
157 |
--enable-adlib) adlib="yes" |
|
158 |
;; |
|
150 | 159 |
esac |
151 | 160 |
done |
152 | 161 |
|
... | ... | |
316 | 325 |
echo "SDL support $sdl" |
317 | 326 |
echo "SDL static link $sdl_static" |
318 | 327 |
echo "mingw32 support $mingw32" |
328 |
echo "Adlib support $adlib" |
|
319 | 329 |
|
320 | 330 |
if test $sdl_too_old = "yes"; then |
321 | 331 |
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" |
... | ... | |
416 | 426 |
echo "CONFIG_SLIRP=yes" >> $config_mak |
417 | 427 |
echo "#define CONFIG_SLIRP 1" >> $config_h |
418 | 428 |
fi |
429 |
if test "$adlib" = "yes" ; then |
|
430 |
echo "CONFIG_ADLIB=yes" >> $config_mak |
|
431 |
echo "#define CONFIG_ADLIB 1" >> $config_h |
|
432 |
fi |
|
433 |
if test "$oss" = "yes" ; then |
|
434 |
echo "CONFIG_OSS=yes" >> $config_mak |
|
435 |
echo "#define CONFIG_OSS 1" >> $config_h |
|
436 |
fi |
|
419 | 437 |
echo -n "VERSION=" >>$config_mak |
420 | 438 |
head $source_path/VERSION >>$config_mak |
421 | 439 |
echo "" >>$config_mak |
Also available in: Unified diff