X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8fa369111fcc3d06a0c9fc278f063b8033dac094..6bbb2ed5efc60128f52a542f0b8fb8337aa694fe:/bootstrap diff --git a/bootstrap b/bootstrap index 67063b5b..f92d1ccd 100755 --- a/bootstrap +++ b/bootstrap @@ -267,6 +267,20 @@ cleanup_gnulib() { exit $status } +# See if we can use gnulib's git-merge-changelog merge driver. + +if test -d .git && (git --version) >/dev/null 2>/dev/null ; then + if git config merge.merge-changelog.driver >/dev/null ; then + : + elif (git-merge-changelog --version) >/dev/null 2>/dev/null ; then + echo "initializing git-merge-changelog driver" + git config merge.merge-changelog.name 'GNU-style ChangeLog merge driver' + git config merge.merge-changelog.driver 'git-merge-changelog %O %A %B' + else + echo "consider installing git-merge-changelog from gnulib" + fi +fi + # Get gnulib files. case ${GNULIB_SRCDIR--} in @@ -600,12 +614,6 @@ if test -f $mam_template; then done fi -# FIXME: Gnulib should be patched to add "/" in front of .gitignore entries -# instead. Anyway, this hack must be done before invoking autoconf so that -# build-aux/git-version-gen doesn't think the version is dirty because -# .gitignore isn't committed. -grep -v '^GNUmakefile$' .gitignore > .gitignore~ && mv .gitignore~ .gitignore - # Reconfigure, getting other files. for command in \