[Win32] Update the package configuration.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Nov 2008 23:51:54 +0000 (00:51 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Nov 2008 23:52:59 +0000 (00:52 +0100)
extras/package/win32/configure-mingw-release.sh
extras/package/win32/configure-mingw.sh
extras/package/win32/configure-msys.sh [changed mode: 0644->0755]

index 67e504e..1c453a1 100755 (executable)
@@ -1,8 +1,12 @@
+#!/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=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
  --enable-mkv --enable-release --enable-nls" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh
index e33cb0c..50e2a07 100755 (executable)
@@ -1,8 +1,12 @@
+#!/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=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
   --disable-mkv --disable-taglib --enable-debug" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh
old mode 100644 (file)
new mode 100755 (executable)
index f0b73bf..7d0cce5
@@ -1,8 +1,12 @@
+#!/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 CXX=g++ \
-CONFIG="./configure --host=i586-mingw32msvc --build=i386-linux
+CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
     --disable-mkv --disable-taglib --disable-nls --enable-debug" \
-sh extras/package/win32/configure-common.sh
+sh ${root}extras/package/win32/configure-common.sh