summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-03 11:44:51 +0100
committerJim Meyering <meyering@redhat.com>2009-08-06 12:28:04 +0200
commite05ddc70f1fa6d1e8253d69c5d17e69bfad2be90 (patch)
tree88929a6e0a1ae0a79e575deebd9604ab8016fa74 /bootstrap
parent315b3069a083c89921f8ee44de19c53cea7e3b11 (diff)
downloadlibguestfs-e05ddc70f1fa6d1e8253d69c5d17e69bfad2be90.tar.gz
libguestfs-e05ddc70f1fa6d1e8253d69c5d17e69bfad2be90.tar.xz
libguestfs-e05ddc70f1fa6d1e8253d69c5d17e69bfad2be90.zip
daemon: use gnulib
* daemon/Makefile.am (SUBDIRS): Define. (AM_CPPFLAGS): Define, to include from gnulib's lib/ (LDADD): Define, to link with gnulib's libgnu.a. * daemon/configure.ac: Use AC_CONFIG_AUX_DIR([build-aux]), gl_EARLY and gl_INIT. (AC_CONFIG_FILES): Add lib/Makefile and tests/Makefile * daemon/m4/gnulib-cache.m4: New file, generated by running ../.gnulib/gnulib-tool --import --with-tests hash * daemon/.gitignore: Ignore all of the imported files. build: tell bootstrap about daemon/ * bootstrap: Run gnulib-tool --update in daemon/. Remove bootstrap's --gnulib-srcdir option, because it probably didn't work, and even if it did, we've discovered that using a separate git repo like that can lead to subtle mix-ups.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index d46b3be3..0f14038d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -78,6 +78,8 @@ sed '
gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
<$gnulib_tool || exit
+(cd daemon && $GNULIB_SRCDIR/../gnulib-tool --update)
+
modules='
gitlog-to-changelog
gnu-make