Commit b3b04fad authored by mru's avatar mru

Try to find a better shell if the one configure was started under is

broken.  Solaris /bin/sh is broken.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5616 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 86c4c2bc
......@@ -3,6 +3,20 @@
# ffmpeg configure script (c) 2000, 2001, 2002 Fabrice Bellard
#
# make sure we are running under a compatible shell
(: ${foo%%bar}) 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]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment