aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-08-03 22:27:38 +0000
committerMåns Rullgård <mans@mansr.com>2006-08-03 22:27:38 +0000
commit5237ce67ebbe19b003148d5f38b107644f31bc48 (patch)
treeaca47e961ed5fb0619585bd0fd3a452370ea04b8 /configure
parentb3cb5d519f2e13bbacd3d6256326dfb3ac82fe64 (diff)
downloadffmpeg-5237ce67ebbe19b003148d5f38b107644f31bc48.tar.gz
detect more broken shells
Originally committed as revision 5926 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 960a50e636..d540ff42cd 100755
--- a/configure
+++ b/configure
@@ -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