comparison configure @ 2916:5ecae3e4db37

optional parameters can be added after --enable-static . For example when compiling with aalib support, it needs -lslang -lgpm -lncurses (etc)
author gabucino
date Thu, 15 Nov 2001 17:11:23 +0000
parents 220e6c728747
children 9cc53b9f76c8
comparison
equal deleted inserted replaced
2915:80954dfeabed 2916:5ecae3e4db37
3 # 3 #
4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz 4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz
5 # pontscho@makacs.poliod.hu 5 # pontscho@makacs.poliod.hu
6 # 6 #
7 # Changes in reversed order: 7 # Changes in reversed order:
8 # 2001/11/15 by Gabucino
9 # - optional linking parameters for static linking
10 #
8 # 2001/11/14 by David Holm 11 # 2001/11/14 by David Holm
9 # - added --enable-libvo2 for dev purposes 12 # - added --enable-libvo2 for dev purposes
10 # 13 #
11 # 2001/11/14 by Gabucino 14 # 2001/11/14 by Gabucino
12 # - dunno who made the --target option but now it even works 15 # - dunno who made the --target option but now it even works
212 --disable-mad disable mad audio support [autodetect] 215 --disable-mad disable mad audio support [autodetect]
213 216
214 Miscellaneous options: 217 Miscellaneous options:
215 --cc=COMPILER use this C compiler to build MPlayer [gcc] 218 --cc=COMPILER use this C compiler to build MPlayer [gcc]
216 --target=PLATFORM target platform (i386-linux, arm-linux, etc) 219 --target=PLATFORM target platform (i386-linux, arm-linux, etc)
217 --enable-static build a statically linked binary 220 --enable-static build a statically linked binary. If more linking
221 options needed : --enable-static="-lslang -lncurses"
218 --language=xx select a language [en] 222 --language=xx select a language [en]
219 (Available: $LANGUAGES) 223 (Available: $LANGUAGES)
220 --disable-select disable audio select() support (for example, required 224 --disable-select disable audio select() support (for example, required
221 for ALSA or Vortex2 driver) [enable] 225 for ALSA or Vortex2 driver) [enable]
222 --size-x=SIZE default screen width 226 --size-x=SIZE default screen width
268 _gtkconfig= 272 _gtkconfig=
269 _glibconfig= 273 _glibconfig=
270 274
271 for ac_option do 275 for ac_option do
272 case "$ac_option" in 276 case "$ac_option" in
273 --enable-static*) 277 --enable-static)
274 _static="-static" 278 _static="-static"
279 ;;
280 --enable-static=*)
281 _static="-static `echo $ac_option | cut -d '=' -f 2`"
275 ;; 282 ;;
276 --target=*) 283 --target=*)
277 _target=`echo $ac_option | cut -d '=' -f 2` 284 _target=`echo $ac_option | cut -d '=' -f 2`
278 ;; 285 ;;
279 --cc=*) 286 --cc=*)