# HG changeset patch # User gabucino # Date 1005844283 0 # Node ID 5ecae3e4db37bb2fb678b46d9f86991214151c50 # Parent 80954dfeabed1f879bf1a20e3e0966b02bb36b76 optional parameters can be added after --enable-static . For example when compiling with aalib support, it needs -lslang -lgpm -lncurses (etc) diff -r 80954dfeabed -r 5ecae3e4db37 configure --- a/configure Thu Nov 15 16:46:52 2001 +0000 +++ b/configure Thu Nov 15 17:11:23 2001 +0000 @@ -5,6 +5,9 @@ # pontscho@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,9 +274,12 @@ 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` ;;