diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-15 17:11:23 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-15 17:11:23 +0000 |
commit | 1ae8c5a83d678b583fe6504c2a6c4bad8e06b3e1 (patch) | |
tree | 2d430680bfe0735f5ebec1bd0ed9a7b7ce1d5abb /configure | |
parent | 7c2f90829e1ef9e1512ce7c79ad269bcaa735e15 (diff) |
optional parameters can be added after --enable-static .
For example when compiling with aalib support, it needs -lslang -lgpm
-lncurses (etc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2917 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 @@ 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 + --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 @@ _glibconfig= 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` ;; |