From: Behdad Esfahbod Date: Mon, 1 Aug 2011 20:39:32 +0000 (-0400) Subject: Bug 39702 - configure check for ragel X-Git-Tag: submit/2.0alpha-wayland/20121130.004132~9^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1264b23e4a4ae1c9831a3009e1c7ab8e65a5b434;p=profile%2Fivi%2Forg.tizen.video-player.git Bug 39702 - configure check for ragel --- diff --git a/autogen.sh b/autogen.sh index f207aa7..cdebe07 100755 --- a/autogen.sh +++ b/autogen.sh @@ -7,13 +7,21 @@ test -n "$srcdir" || srcdir=. olddir=`pwd` cd $srcdir -AUTORECONF=`which autoreconf` -if test -z $AUTORECONF; then +echo -n "checking for ragel... " +which ragel || { + echo "You need to install ragel... See http://www.complang.org/ragel/" + exit 1 +} + +echo -n "checking for autoreconf... " +which autoreconf || { echo "*** No autoreconf found, please install it ***" exit 1 -else - autoreconf --force --install || exit $? -fi +} + +echo "running autoreconf" +autoreconf --force --install || exit $? cd $olddir +echo "running configure $@" test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"