Mercurial > mplayer.hg
comparison configure @ 2892:6d8e0446d84b
added --enable-static option
more possible "Unknown parameter" fixes
author | gabucino |
---|---|
date | Wed, 14 Nov 2001 01:40:26 +0000 |
parents | b7ba83b45fae |
children | 59f0e533f5b3 |
comparison
equal
deleted
inserted
replaced
2891:b7ba83b45fae | 2892:6d8e0446d84b |
---|---|
6 # | 6 # |
7 # Changes in reversed order: | 7 # Changes in reversed order: |
8 # 2001/11/14 by Gabucino | 8 # 2001/11/14 by Gabucino |
9 # - dunno who made the --target option but now it even works | 9 # - dunno who made the --target option but now it even works |
10 # - fixed some Intel arch test for --target | 10 # - fixed some Intel arch test for --target |
11 # - added static linking with --enable-static | |
11 # | 12 # |
12 # 2001/10/26 by al3x | 13 # 2001/10/26 by al3x |
13 # - added detection of zlib (used by libmpdemux/demux_mov.c) | 14 # - added detection of zlib (used by libmpdemux/demux_mov.c) |
14 # | 15 # |
15 # 2001/10/22 by Jeroen Dobbelaere | 16 # 2001/10/22 by Jeroen Dobbelaere |
208 --disable-mad disable mad audio support [autodetect] | 209 --disable-mad disable mad audio support [autodetect] |
209 | 210 |
210 Miscellaneous options: | 211 Miscellaneous options: |
211 --cc=COMPILER use this C compiler to build MPlayer [gcc] | 212 --cc=COMPILER use this C compiler to build MPlayer [gcc] |
212 --target=PLATFORM target platform (i386-linux, arm-linux, etc) | 213 --target=PLATFORM target platform (i386-linux, arm-linux, etc) |
214 --enable-static build a statically linked binary | |
213 --language=xx select a language [en] | 215 --language=xx select a language [en] |
214 (Available: $LANGUAGES) | 216 (Available: $LANGUAGES) |
215 --disable-select disable audio select() support (for example, required | 217 --disable-select disable audio select() support (for example, required |
216 for ALSA or Vortex2 driver) [enable] | 218 for ALSA or Vortex2 driver) [enable] |
217 --size-x=SIZE default screen width | 219 --size-x=SIZE default screen width |
263 _gtkconfig= | 265 _gtkconfig= |
264 _glibconfig= | 266 _glibconfig= |
265 | 267 |
266 for ac_option do | 268 for ac_option do |
267 case "$ac_option" in | 269 case "$ac_option" in |
270 --enable-static*) | |
271 _static="-static" | |
272 ;; | |
268 --target=*) | 273 --target=*) |
269 _target=`echo $ac_option | cut -d '=' -f 2` | 274 _target=`echo $ac_option | cut -d '=' -f 2` |
270 ;; | 275 ;; |
271 --cc=*) | 276 --cc=*) |
272 _cc=`echo $ac_option | cut -d '=' -f 2` | 277 _cc=`echo $ac_option | cut -d '=' -f 2` |
1632 --cc=*) | 1637 --cc=*) |
1633 ;; | 1638 ;; |
1634 --as=*) | 1639 --as=*) |
1635 ;; | 1640 ;; |
1636 --target=*) | 1641 --target=*) |
1637 ;; | 1642 ;; |
1643 --disable-x11*) | |
1644 ;; | |
1645 --disable-syncfb*) | |
1646 ;; | |
1647 --enable-static*) | |
1648 ;; | |
1649 --disable-static*) | |
1650 ;; | |
1638 *) | 1651 *) |
1639 echo "Unknown parameter: $ac_option" | 1652 echo "Unknown parameter: $ac_option" |
1640 ;; | 1653 ;; |
1641 esac | 1654 esac |
1642 done | 1655 done |
2575 MLIB_INC = $_mlibinc | 2588 MLIB_INC = $_mlibinc |
2576 MLIB_LIB = $_mliblib | 2589 MLIB_LIB = $_mliblib |
2577 MADLIB_INC = $_madincdir | 2590 MADLIB_INC = $_madincdir |
2578 MADLIB_LIB = $_madlibdir | 2591 MADLIB_LIB = $_madlibdir |
2579 DVB_INC = $_dvbincdir | 2592 DVB_INC = $_dvbincdir |
2593 STATIC = $_static | |
2580 | 2594 |
2581 # --- Some stuff for autoconfigure ---- | 2595 # --- Some stuff for autoconfigure ---- |
2582 $_target_arch | 2596 $_target_arch |
2583 $_confcygwin | 2597 $_confcygwin |
2584 TARGET_CPU=$iproc | 2598 TARGET_CPU=$iproc |