Bug 39702 - configure check for ragel
This commit is contained in:
parent
f5414cf0a2
commit
1264b23e4a
18
autogen.sh
18
autogen.sh
|
@ -7,13 +7,21 @@ test -n "$srcdir" || srcdir=.
|
||||||
olddir=`pwd`
|
olddir=`pwd`
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
|
|
||||||
AUTORECONF=`which autoreconf`
|
echo -n "checking for ragel... "
|
||||||
if test -z $AUTORECONF; then
|
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 ***"
|
echo "*** No autoreconf found, please install it ***"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
}
|
||||||
autoreconf --force --install || exit $?
|
|
||||||
fi
|
echo "running autoreconf"
|
||||||
|
autoreconf --force --install || exit $?
|
||||||
|
|
||||||
cd $olddir
|
cd $olddir
|
||||||
|
echo "running configure $@"
|
||||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
|
|
Loading…
Reference in New Issue