summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-14 01:40:26 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-14 01:40:26 +0000
commit2233237e917ab00032d1fc57d95c73e3a9e755ba (patch)
treefc5c9d4c269aa9237706b739686bd0adc455a8f6 /configure
parent9b150d9b843b9a3f1998107e545f1b103e4407d4 (diff)
downloadmpv-2233237e917ab00032d1fc57d95c73e3a9e755ba.tar.bz2
mpv-2233237e917ab00032d1fc57d95c73e3a9e755ba.tar.xz
added --enable-static option
more possible "Unknown parameter" fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2893 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure b/configure
index 3b0c856230..786f68547f 100755
--- a/configure
+++ b/configure
@@ -8,6 +8,7 @@
# 2001/11/14 by Gabucino
# - dunno who made the --target option but now it even works
# - fixed some Intel arch test for --target
+# - added static linking with --enable-static
#
# 2001/10/26 by al3x
# - added detection of zlib (used by libmpdemux/demux_mov.c)
@@ -210,6 +211,7 @@ Audio:
Miscellaneous options:
--cc=COMPILER use this C compiler to build MPlayer [gcc]
--target=PLATFORM target platform (i386-linux, arm-linux, etc)
+ --enable-static build a statically linked binary
--language=xx select a language [en]
(Available: $LANGUAGES)
--disable-select disable audio select() support (for example, required
@@ -265,6 +267,9 @@ _glibconfig=
for ac_option do
case "$ac_option" in
+ --enable-static*)
+ _static="-static"
+ ;;
--target=*)
_target=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -1634,7 +1639,15 @@ for ac_option do
--as=*)
;;
--target=*)
- ;;
+ ;;
+ --disable-x11*)
+ ;;
+ --disable-syncfb*)
+ ;;
+ --enable-static*)
+ ;;
+ --disable-static*)
+ ;;
*)
echo "Unknown parameter: $ac_option"
;;
@@ -2577,6 +2590,7 @@ MLIB_LIB = $_mliblib
MADLIB_INC = $_madincdir
MADLIB_LIB = $_madlibdir
DVB_INC = $_dvbincdir
+STATIC = $_static
# --- Some stuff for autoconfigure ----
$_target_arch