[vlc-devel] commit: Make it possible to use configure script for out of dir builds. ( Antoine Cellerier )

git version control git at videolan.org
Tue Sep 9 19:09:44 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Sep  9 18:12:53 2008 +0200| [13c381a0f15e7d5657eb02ddfdf91e9fe95a7cc4] | committer: Antoine Cellerier 

Make it possible to use configure script for out of dir builds.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13c381a0f15e7d5657eb02ddfdf91e9fe95a7cc4
---

 extras/package/win32/configure-cygwin.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/extras/package/win32/configure-cygwin.sh b/extras/package/win32/configure-cygwin.sh
index 6930a89..ba5a720 100755
--- a/extras/package/win32/configure-cygwin.sh
+++ b/extras/package/win32/configure-cygwin.sh
@@ -1,7 +1,11 @@
+#!/bin/sh
+
+root=$(echo $0|sed 's#extras/package/win32/configure-cygwin.sh##')./
+
 PATH="/usr/win32/bin:$PATH" \
 PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
 CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
 LDFLAGS="-L/usr/win32/lib" \
 CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
-CONFIG="./configure --host=i686-pc-mingw32 --disable-taglib --disable-mkv --enable-debug" \
-sh extras/package/win32/configure-common.sh
+CONFIG="${root}configure --host=i686-pc-mingw32 --disable-taglib --disable-mkv --enable-debug" \
+sh ${root}extras/package/win32/configure-common.sh




More information about the vlc-devel mailing list