summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-06-15 22:13:40 -0600
committerEric Blake <ebb9@byu.net>2009-06-16 12:55:04 -0600
commit815b5191f5a984d8d5c62d94dbb6e1f5768d2adf (patch)
tree3100f9d3dcc3e544975366736269278c3fdad7d1
parentf34670cd27a43e50989558c33fc0cb5f6429efb7 (diff)
downloadm4-815b5191f5a984d8d5c62d94dbb6e1f5768d2adf.tar.gz
Document why bootstrap might touch state of tree.
* bootstrap: Fix typos. Add comment. * HACKING: Add notes about this scenario. * gnulib: Update to latest version. * .gitignore: Track gnulib changes. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--.gitignore1
-rw-r--r--ChangeLog6
-rw-r--r--HACKING10
-rwxr-xr-xbootstrap9
m---------gnulib0
5 files changed, 23 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index b624fd48..d65437eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -92,6 +92,7 @@ libtool
/ltdl/m4/stdint_h.m4
/ltdl/m4/uintmax_t.m4
/ltdl/m4/ulonglong.m4
+/ltdl/m4/version-etc.m4
/ltdl/m4/visibility.m4
/ltdl/m4/wchar_t.m4
/ltdl/m4/wint_t.m4
diff --git a/ChangeLog b/ChangeLog
index b4b25175..40d8111a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-06-15 Eric Blake <ebb9@byu.net>
+ Document why bootstrap might touch state of tree.
+ * bootstrap: Fix typos. Add comment.
+ * HACKING: Add notes about this scenario.
+ * gnulib: Update to latest version.
+ * .gitignore: Track gnulib changes.
+
Drop .cvsignore and redundant .gitignore files.
* .cvsignore: Delete. We are moving further away from CVS.
* build-aux/.cvsignore: Likewise.
diff --git a/HACKING b/HACKING
index ef04820e..3b9c0458 100644
--- a/HACKING
+++ b/HACKING
@@ -124,6 +124,14 @@ and is not part of a release distribution.
from their respective upstream source, rather than the version that
shipped with the automake release.
+* Normally, after running bootstrap, 'git status' should not show any
+ differences; if things changed, please provide a patch or at least
+ report it as a bug. One case where things are changed is if the
+ gnulib submodule comes from an older date than the current installed
+ libtool, such that libtoolize will replace the symlinks to an older
+ version of build-aux files with their newer counterpart; the fix to
+ this is updating the submodule to a newer gnulib version.
+
4. Test Suite
=============
@@ -245,6 +253,8 @@ yyyy-mm-dd Name of Author <email@address> (tiny change)
the gnulib submodule. If necessary to update to the latest, run:
git submodule foreach git pull origin master
git commit -m 'Update gnulib submodule to latest.' gnulib
+ In particular, ensure that the gnulib version is at least as new as
+ the latest stable libtool release.
* Update the version number in configure.ac.
See http://www.gnu.org/software/libtool/contribute.html for details of
diff --git a/bootstrap b/bootstrap
index 43b55fbf..c243ba34 100755
--- a/bootstrap
+++ b/bootstrap
@@ -333,11 +333,11 @@ if test -d .git && (git --version) >/dev/null 2>/dev/null ; then
if test -d "$GNULIB_SRCDIR" ; then
rmdir gnulib 2>/dev/null
git clone --reference "$GNULIB_SRCDIR" git://git.sv.gnu.org/gnulib.git \
- && git submodule init && git submodule update \
- || func_fatal_error "Unable to update gnulib"
+ && git submodule init && git submodule update \
+ || func_fatal_error "Unable to update gnulib"
else
git submodule update --init \
- || func_fatal_error "Unable to update gnulib"
+ || func_fatal_error "Unable to update gnulib"
fi
fi
else
@@ -362,6 +362,9 @@ $AUTOPOINT --force
# (or worse out-of-date) macro directory.
func_echo "running: $LIBTOOLIZE --copy --install"
${LIBTOOLIZE} --copy --install
+# Note that if libtoolize has newer auxiliary files than the current
+# gnulib submodule, then this will result in a typechange. See
+# HACKING for details.
## ---------------------- ##
## Import Gnulib modules. ##
diff --git a/gnulib b/gnulib
-Subproject abb53db0ac56280d00b2cb8a67f61caff622ea8
+Subproject dcc2f67b6ffab6e9def088ccbf7627edcda4bba