mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
Tighten this script up a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04b2562502
commit
398a6b72fb
@ -7,22 +7,14 @@ outfile=configure
|
|||||||
configfile=configure.ac
|
configfile=configure.ac
|
||||||
test -d autoconf && test -f autoconf/$configfile && cd autoconf
|
test -d autoconf && test -f autoconf/$configfile && cd autoconf
|
||||||
test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
|
test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
|
||||||
autoconf --version | egrep '2\.59' > /dev/null
|
autoconf --version | grep '2\.59' > /dev/null
|
||||||
if test $? -ne 0 ; then
|
test $? -eq 0 || die "Your autoconf was not detected as being 2.59"
|
||||||
die "Your autoconf was not detected as being 2.59"
|
aclocal --version | grep '^aclocal.*1\.9\.2' > /dev/null
|
||||||
fi
|
test $? -eq 0 || die "Your aclocal was not detected as being 1.9.2"
|
||||||
aclocal --version | egrep '1\.9\.2' > /dev/null
|
autoheader --version | grep '^autoheader.*2\.59' > /dev/null
|
||||||
if test $? -ne 0 ; then
|
test $? -eq 0 || die "Your autoheader was not detected as being 2.59"
|
||||||
die "Your aclocal was not detected as being 1.9.2"
|
|
||||||
fi
|
|
||||||
autoheader --version | egrep '2\.59' > /dev/null
|
|
||||||
if test $? -ne 0 ; then
|
|
||||||
die "Your autoheader was not detected as being 2.59"
|
|
||||||
fi
|
|
||||||
libtool --version | grep '1\.5\.10' > /dev/null
|
libtool --version | grep '1\.5\.10' > /dev/null
|
||||||
if test $? -ne 0 ; then
|
test $? -eq 0 || die "Your libtool was not detected as being 1.5.10"
|
||||||
die "Your libtool was not detected as being 1.5.10"
|
|
||||||
fi
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "### NOTE: ############################################################"
|
echo "### NOTE: ############################################################"
|
||||||
echo "### If you get *any* warnings from autoconf below you MUST fix the"
|
echo "### If you get *any* warnings from autoconf below you MUST fix the"
|
||||||
|
Loading…
Reference in New Issue
Block a user