From ae138c8944d9ac7cb076a914afc5ce71c3114e39 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 16 Apr 2002 14:07:45 +0000 Subject: [PATCH] make autoconf check listen to --nocheck Original commit message from CVS: make autoconf check listen to --nocheck --- gst-autogen.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/gst-autogen.sh b/gst-autogen.sh index 2d97284..3b250b5 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -110,13 +110,16 @@ autoconf_2.52d_check () { # autoconf 2.52d has a weird issue involving a yes:no error # so don't allow it's use - ac_version=`$autoconf --version|head -n 1|sed 's/^[a-zA-z\.\ ()]*//;s/ .*$//'` - if test "$ac_version" = "2.52d"; then - echo "autoconf 2.52d has an issue with our current build." - echo "We don't know who's to blame however. So until we do, get a" - echo "regular version. RPM's of a working version are on the gstreamer site." - exit 1 - fi + test -z "$NOCHECK" && { + ac_version=`$autoconf --version|head -n 1|sed 's/^[a-zA-z\.\ ()]*//;s/ .*$//'` + if test "$ac_version" = "2.52d"; then + echo "autoconf 2.52d has an issue with our current build." + echo "We don't know who's to blame however. So until we do, get a" + echo "regular version. RPM's of a working version are on the gstreamer site." + exit 1 + fi + } + return 0 } die_check () -- 2.7.4