[Ffmpeg-devel] about mingw compiling problem (and possible solution)

Gianluigi Tiesi mplayer
Wed Oct 4 00:13:31 CEST 2006


Finally I've got the problem that some users sperimented.
The problem is that the code that checks for a valid shell
executes bash from cygwin that has different /tmp directory.
A quick and dirty patch for ppl that want to compile it on mingw
is appling this patch, dunno about a real solution,
it seams that the script doesn't consider mingw bash as a valid
shell but in effect it's a valid shell.

Bye
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 6546)
+++ configure	(working copy)
@@ -3,21 +3,6 @@
 # ffmpeg configure script (c) 2000, 2001, 2002 Fabrice Bellard
 #
 
-# make sure we are running under a compatible shell
-unset foo
-(: ${foo%%bar}) 2>/dev/null && ! (: ${foo?}) 2>/dev/null
-if test "$?" != 0; then
-    if test "x$FFMPEG_CONFIGURE_EXEC" = x; then
-        FFMPEG_CONFIGURE_EXEC=1
-        export FFMPEG_CONFIGURE_EXEC
-        exec bash "$0" "$@"
-        exec ksh "$0" "$@"
-        exec /usr/xpg4/bin/sh "$0" "$@"
-    fi
-    echo "No compatible shell script interpreter found."
-    exit 1
-fi
-
 show_help(){
   echo "Usage: configure [options]"
   echo "Options: [defaults in brackets after descriptions]"



More information about the ffmpeg-devel mailing list