X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9aacab9ae9a16465284768f4014dc08b26819180..cae5057f472945d5947cffbc39d56ee7c6995357:/bootstrap diff --git a/bootstrap b/bootstrap index 85d06a23..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