X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6712933e0f2d2cbf43dc6b9bfe5c60b7d9941955..60c8294801d179c1b038f1be3e45c8d5935c5240:/bootstrap?ds=inline diff --git a/bootstrap b/bootstrap index 34dce9d4..c9a2303b 100755 --- a/bootstrap +++ b/bootstrap @@ -43,19 +43,6 @@ do esac done -# Check that gettext version matches what's in configure.ac. -# FIXME: We shouldn't have to modify configure.ac every time -# a new gettext version comes out. -gettext_have=$(LC_ALL=C gettext --version | sed 's/.* //; 1q') -gettext_need=$( - sed -n '/^AM_GNU_GETTEXT_VERSION/{ s/.*\[//; s/].*//; p; q; }' configure.ac -) -test "$gettext_have" = "$gettext_need" || { - echo >&2 "$0: Your gettext version is $gettext_have." - echo >&2 "$0: Please install and use gettext-$gettext_need instead." - exit 1 -} - echo "$0: Bootstrapping CVS $package..." build_cvs_prefix() { @@ -223,7 +210,7 @@ mv m4/gettext.m4t m4/gettext.m4 || exit # remove this once the bug is fixed. grep @top_builddir@ po/Makefile.in.in >/dev/null || { echo "$0: prepending 'top_builddir=@top_builddir@' to po/Makefile.in.in ... " - old_contents=$(cat po/Makefile.in.in) || exit + old_contents=`cat po/Makefile.in.in` || exit cat >po/Makefile.in.in <p # if src/parse-gram.[ch] are out of date, rebuild them. -parse_gram_y=$(find src/parse-gram.y \ +parse_gram_y=`find src/parse-gram.y \ '(' -newer src/parse-gram.c -o -newer src/parse-gram.h ')' \ - -print) || exit + -print` || exit case $parse_gram_y in ?*) echo "$0: warning: bootstrapping with old src/parse-gram.[ch] files."