comparison autoconf/AutoRegen.sh @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
15 ### 15 ###
16 ### If you update these, please also update docs/GettingStarted.rst 16 ### If you update these, please also update docs/GettingStarted.rst
17 want_autoconf_version='2\.60' 17 want_autoconf_version='2\.60'
18 want_autoheader_version=$want_autoconf_version 18 want_autoheader_version=$want_autoconf_version
19 want_aclocal_version='1\.9\.6' 19 want_aclocal_version='1\.9\.6'
20 want_libtool_version='1\.5\.22'
21 ### END NOTE ######################################################### 20 ### END NOTE #########################################################
22 21
23 outfile=configure 22 outfile=configure
24 configfile=configure.ac 23 configfile=configure.ac
25 24
26 want_autoconf_version_clean=$(clean $want_autoconf_version) 25 want_autoconf_version_clean=$(clean $want_autoconf_version)
27 want_autoheader_version_clean=$(clean $want_autoheader_version) 26 want_autoheader_version_clean=$(clean $want_autoheader_version)
28 want_aclocal_version_clean=$(clean $want_aclocal_version) 27 want_aclocal_version_clean=$(clean $want_aclocal_version)
29 want_libtool_version_clean=$(clean $want_libtool_version)
30 28
31 test -d autoconf && test -f autoconf/$configfile && cd autoconf 29 test -d autoconf && test -f autoconf/$configfile && cd autoconf
32 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first" 30 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
33 autoconf --version | grep $want_autoconf_version > /dev/null 31 autoconf --version | grep $want_autoconf_version > /dev/null
34 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean" 32 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean"
35 aclocal --version | grep '^aclocal.*'$want_aclocal_version > /dev/null 33 aclocal --version | grep '^aclocal.*'$want_aclocal_version > /dev/null
36 test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean" 34 test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean"
37 autoheader --version | grep '^autoheader.*'$want_autoheader_version > /dev/null 35 autoheader --version | grep '^autoheader.*'$want_autoheader_version > /dev/null
38 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean" 36 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean"
39 libtool --version | grep $want_libtool_version > /dev/null
40 test $? -eq 0 || die "Your libtool was not detected as being $want_libtool_version_clean"
41 echo "" 37 echo ""
42 echo "### NOTE: ############################################################" 38 echo "### NOTE: ############################################################"
43 echo "### If you get *any* warnings from autoconf below you MUST fix the" 39 echo "### If you get *any* warnings from autoconf below you MUST fix the"
44 echo "### scripts in the m4 directory because there are future forward" 40 echo "### scripts in the m4 directory because there are future forward"
45 echo "### compatibility or platform support issues at risk. Please do NOT" 41 echo "### compatibility or platform support issues at risk. Please do NOT"