summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-25 09:10:21 +0200
committerJim Meyering <meyering@redhat.com>2009-08-25 18:44:27 +0200
commitf482e7ea665938152518fe15cd71cfe882dd2b30 (patch)
treed352486057e4c630da2f11b4e3907d2879ba1bac /bootstrap
parent52befe975fb3dcc780785f769429e2eeb72698ac (diff)
downloadlibguestfs-f482e7ea665938152518fe15cd71cfe882dd2b30.tar.gz
libguestfs-f482e7ea665938152518fe15cd71cfe882dd2b30.tar.xz
libguestfs-f482e7ea665938152518fe15cd71cfe882dd2b30.zip
build: invoke autopoint with --force
* bootstrap: Invoke autopoint with --force, to avoid warning about existing build-aux/config.rpath. Invoke libtoolize before gnulib-tool, to avoid spurious warnings. * autogen.sh: Add comments. Remove build-aux/config.rpath before running autoreconf.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap10
1 files changed, 8 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 2eba6a71..c2d56048 100755
--- a/bootstrap
+++ b/bootstrap
@@ -29,7 +29,14 @@ GNULIB_SRCDIR=.gnulib
ls po/*.po 2>/dev/null | sed 's|.*/||; s|\.po$||' > po/LINGUAS
# Run autopoint, to get po/Makevars.template:
-autopoint
+# Also, released autopoint has the tendency to install macros that have
+# been obsoleted in current gnulib, so run this before gnulib-tool.
+autopoint --force
+
+# Autoreconf runs aclocal before libtoolize, which causes spurious
+# warnings if the initial aclocal is confused by the libtoolized
+# (or worse out-of-date) macro directory.
+libtoolize --copy --install
# Create gettext configuration.
echo "$0: Creating po/Makevars from po/Makevars.template ..."
@@ -50,7 +57,6 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
(cd daemon && mkdir -p tests lib && ../$gnulib_tool --update)
modules='
-asprintf
closeout
gitlog-to-changelog
gnu-make