mirror of https://github.com/mpv-player/mpv
added --enable-static option
more possible "Unknown parameter" fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2893 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9b150d9b84
commit
2233237e91
|
@ -8,6 +8,7 @@
|
||||||
# 2001/11/14 by Gabucino
|
# 2001/11/14 by Gabucino
|
||||||
# - dunno who made the --target option but now it even works
|
# - dunno who made the --target option but now it even works
|
||||||
# - fixed some Intel arch test for --target
|
# - fixed some Intel arch test for --target
|
||||||
|
# - added static linking with --enable-static
|
||||||
#
|
#
|
||||||
# 2001/10/26 by al3x
|
# 2001/10/26 by al3x
|
||||||
# - added detection of zlib (used by libmpdemux/demux_mov.c)
|
# - added detection of zlib (used by libmpdemux/demux_mov.c)
|
||||||
|
@ -210,6 +211,7 @@ Audio:
|
||||||
Miscellaneous options:
|
Miscellaneous options:
|
||||||
--cc=COMPILER use this C compiler to build MPlayer [gcc]
|
--cc=COMPILER use this C compiler to build MPlayer [gcc]
|
||||||
--target=PLATFORM target platform (i386-linux, arm-linux, etc)
|
--target=PLATFORM target platform (i386-linux, arm-linux, etc)
|
||||||
|
--enable-static build a statically linked binary
|
||||||
--language=xx select a language [en]
|
--language=xx select a language [en]
|
||||||
(Available: $LANGUAGES)
|
(Available: $LANGUAGES)
|
||||||
--disable-select disable audio select() support (for example, required
|
--disable-select disable audio select() support (for example, required
|
||||||
|
@ -265,6 +267,9 @@ _glibconfig=
|
||||||
|
|
||||||
for ac_option do
|
for ac_option do
|
||||||
case "$ac_option" in
|
case "$ac_option" in
|
||||||
|
--enable-static*)
|
||||||
|
_static="-static"
|
||||||
|
;;
|
||||||
--target=*)
|
--target=*)
|
||||||
_target=`echo $ac_option | cut -d '=' -f 2`
|
_target=`echo $ac_option | cut -d '=' -f 2`
|
||||||
;;
|
;;
|
||||||
|
@ -1635,6 +1640,14 @@ for ac_option do
|
||||||
;;
|
;;
|
||||||
--target=*)
|
--target=*)
|
||||||
;;
|
;;
|
||||||
|
--disable-x11*)
|
||||||
|
;;
|
||||||
|
--disable-syncfb*)
|
||||||
|
;;
|
||||||
|
--enable-static*)
|
||||||
|
;;
|
||||||
|
--disable-static*)
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown parameter: $ac_option"
|
echo "Unknown parameter: $ac_option"
|
||||||
;;
|
;;
|
||||||
|
@ -2577,6 +2590,7 @@ MLIB_LIB = $_mliblib
|
||||||
MADLIB_INC = $_madincdir
|
MADLIB_INC = $_madincdir
|
||||||
MADLIB_LIB = $_madlibdir
|
MADLIB_LIB = $_madlibdir
|
||||||
DVB_INC = $_dvbincdir
|
DVB_INC = $_dvbincdir
|
||||||
|
STATIC = $_static
|
||||||
|
|
||||||
# --- Some stuff for autoconfigure ----
|
# --- Some stuff for autoconfigure ----
|
||||||
$_target_arch
|
$_target_arch
|
||||||
|
|
Loading…
Reference in New Issue