detect more broken shells

Originally committed as revision 5926 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2006-08-03 22:27:38 +00:00
parent b3cb5d519f
commit 5237ce67eb
Vendored
+2 -1
View File
@@ -4,7 +4,8 @@
#
# make sure we are running under a compatible shell
(: ${foo%%bar}) 2>/dev/null
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