changeset 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 2a1a52dc5a5e
files configure
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Nov 14 00:35:18 2001 +0000
+++ b/configure	Wed Nov 14 01:40:26 2001 +0000
@@ -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 @@
 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 @@
 
 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 @@
   --as=*)
 	;;
   --target=*)
-        ;;
+	;;
+  --disable-x11*)
+	;;
+  --disable-syncfb*)
+	;;
+  --enable-static*)
+	;;
+  --disable-static*)
+	;;
   *)
 	echo "Unknown parameter: $ac_option"
 	;;
@@ -2577,6 +2590,7 @@
 MADLIB_INC = $_madincdir
 MADLIB_LIB = $_madlibdir
 DVB_INC = $_dvbincdir
+STATIC = $_static
 
 # --- Some stuff for autoconfigure ----
 $_target_arch