build: use only one m4/ directory
[libguestfs.git] / bootstrap
index c2d5604..c3f7d6e 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -76,7 +76,11 @@ warnings
 $gnulib_tool                   \
   --avoid=dummy                        \
   --with-tests                 \
-  --m4-base=gnulib/m4          \
+  --m4-base=m4                 \
   --source-base=gnulib/lib     \
   --tests-base=gnulib/tests    \
   --import $modules
+
+# Disable autopoint and libtoolize, since they were already done above.
+AUTOPOINT=true LIBTOOLIZE=true \
+    autoreconf --verbose --install --no-recursive