[MPlayer-dev-eng] [PATCH] configure accepting multiple --with-extra{inc, lib}dir

Torinthiel torinthiel at megapolis.pl
Thu Aug 19 15:34:09 CEST 2004


Forgot to change line numbers, this patch applies cleanly.
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
--- mplayer-1.0pre1/configure.orig	2003-09-02 14:56:48.493057112 +0200
+++ mplayer-1.0pre1/configure	2003-09-02 15:07:19.366149824 +0200
@@ -379,10 +379,10 @@
     _ld_static="-static `echo $ac_option | cut -d '=' -f 2`"
     ;;
   --with-extraincdir=*)
-    _inc_extra=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
+    _inc_extra="$_inc_extra -I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`"
     ;;
   --with-extralibdir=*)
-    _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
+    _ld_extra="$_ld_extra -L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`"
 #    _ld_extra="${_ld_extra} -Wl,-R"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -Wl\,-R,g'`" -L"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
     ;;
   --enable-runtime-cpudetection)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040819/06480b20/attachment.pgp>


More information about the MPlayer-dev-eng mailing list