index 53413137134569aeaba1bb4d6c286d5700210b4f..faf80ebfa6ca3959823fd94eaedb386af5b15f1a 100644 (file)
+2008年02月11日 Eric Blake <ebb9@byu.net>
+
+ Use gnulib's git-merge-changelog driver when available.
+ * .gitattributes: Add merge attributes for ChangeLog.
+ * bootstrap: Install driver, if not already present.
+
2008年02月06日 Eric Blake <ebb9@byu.net>
Fix security hole introduced 2007年11月23日.
argument of a $@ at a time; but the penalties of this patch make
it easier to manage $@ efficiently in future patches.
Memory impact: noticeable penalty, due to larger struct and O(n)
- to O(n^2) on unboxed recursion
+ to O(n^2) on unboxed recursion.
Speed impact: noticeable penalty, due to more bookkeeping.
* m4/m4private.h (struct m4__symbol_chain): Add comma and quotes
fields.
index a66eb03db3a52dcebe3ef5a7ac0ea75b37d5dc50..fc29a2fe1a77076b8195dff736da6c2d39e57406 100755 (executable)
#! /bin/sh
-# bootstrap (GNU M4) version 2008-01-31
+# bootstrap (GNU M4) version 2008-02-11
# Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software: you are free to change and redistribute it.
cp $config_macro_dir/.cvsignore $config_macro_dir/.gitignore
fi
+# 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
+ func_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
+ func_echo "consider installing git-merge-changelog from gnulib"
+ fi
+fi
+
## ---------- ##
## Autopoint. ##
## ---------- ##
func_echo "running: $LIBTOOLIZE --force --copy --install"
${LIBTOOLIZE} --force --copy --install
-
## ---------------------------- ##
## Find the gnulib module tree. ##
## ---------------------------- ##