summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-26 20:53:37 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-26 20:53:37 +0000
commit9927cb669d82160a1dab42f7487eb01433a56dd0 (patch)
treedc5005b86713727aa9e1c21030d315c51dc866a8 /configure
parentf5e2fac77bae2c9fbae8dd1b8cadb7a73015ba45 (diff)
downloadmpv-9927cb669d82160a1dab42f7487eb01433a56dd0.tar.bz2
mpv-9927cb669d82160a1dab42f7487eb01433a56dd0.tar.xz
Add --extra-libs option to pass linker flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19552 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 91d5543653..c8b9b78e0f 100755
--- a/configure
+++ b/configure
@@ -406,7 +406,8 @@ Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!"
Use these options if autodetection fails (Options marked with (*) accept
multiple paths separated by ':'):
--with-extraincdir=DIR extra headers (png, mad, sdl, ...) in DIR (*)
- --with-extralibdir=DIR extra library files (png, mad, sdl, ...) in DIR (*)
+ --with-extralibdir=DIR extra linker search paths in DIR (*)
+ --extra-libs=FLAGS extra linker flags
--with-x11libdir=DIR X library files in DIR (*)
--with-mlibdir=DIR libmlib (mediaLib support) in DIR (Solaris only)
--with-codecsdir=DIR Binary codec files in DIR
@@ -501,6 +502,9 @@ for ac_option do
--with-extralibdir=*)
_ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
;;
+ --extra-libs=*)
+ _extra_libs=`echo $ac_option | cut -d '=' -f 2`
+ ;;
--enable-runtime-cpudetection)
_runtime_cpudetection=yes
;;
@@ -1719,6 +1723,7 @@ for ac_option do
--disable-static*) ;;
--with-extraincdir=*) ;;
--with-extralibdir=*) ;;
+ --extra-libs=*) ;;
--enable-runtime-cpudetection) ;;
--disable-runtime-cpudetection) ;;
--enable-cross-compile) ;;
@@ -7301,6 +7306,7 @@ PNG = $_png
JPEG = $_jpeg
GIF = $_gif
+EXTRALIBS = $_extra_libs
EXTRA_LIB = $_ld_extra
Z_LIB = $_ld_static $_ld_zlib
HAVE_MLIB = $_mlib