From 5237ce67ebbe19b003148d5f38b107644f31bc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 3 Aug 2006 22:27:38 +0000 Subject: [PATCH] detect more broken shells Originally committed as revision 5926 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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