[Mplayer-cvslog] CVS: main configure,1.248,1.249

Winner of tha face compo gabucino at mplayer.dev.hu
Thu Nov 15 18:11:26 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv21193

Modified Files:
	configure 
Log Message:
optional parameters can be added after --enable-static .
For example when compiling with aalib support, it needs -lslang -lgpm
-lncurses (etc)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -r1.248 -r1.249
--- configure	14 Nov 2001 22:18:16 -0000	1.248
+++ configure	15 Nov 2001 17:11:23 -0000	1.249
@@ -5,6 +5,9 @@
 #				   pontscho at makacs.poliod.hu
 #
 # Changes in reversed order:
+# 2001/11/15 by Gabucino
+# - optional linking parameters for static linking
+#
 # 2001/11/14 by David Holm
 # - added --enable-libvo2 for dev purposes
 #
@@ -214,7 +217,8 @@
 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
+  --enable-static        build a statically linked binary. If more linking
+                         options needed : --enable-static="-lslang -lncurses"
   --language=xx          select a language [en]
                          (Available: $LANGUAGES)
   --disable-select       disable audio select() support (for example, required
@@ -270,8 +274,11 @@
 
 for ac_option do
  case "$ac_option" in
-  --enable-static*)
+  --enable-static)
         _static="-static"
+        ;;
+  --enable-static=*)
+        _static="-static `echo $ac_option | cut -d '=' -f 2`"
         ;;
   --target=*)
         _target=`echo $ac_option | cut -d '=' -f 2`




More information about the MPlayer-cvslog mailing list