[libvirt PATCH v3 10/10] autogen.sh: fix autoreconf step

Pavel Hrdina phrdina at redhat.com
Fri Jan 17 15:00:17 UTC 2020


Running bootstrap and autoreconf from autogen.sh produced different
files in build-aux directory.  The reason is that gnulib usually have
newer version of these files and overwrites them after the autoreconf
step.

In order to fix it remove the --install and --force options, in addition
introduce --verbose option in order to reflect what bootstrap is doing.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
---
 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autogen.sh b/autogen.sh
index a1f1943adb..47446dc785 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -134,7 +134,7 @@ if test -d .git || test -f .git; then
         # dry run, of course...
         if test -z "$dry_run"; then
             echo "Running autoreconf..."
-            autoreconf -if || {
+            autoreconf -v || {
                 die "autoreconf failed"
             }
         fi
-- 
2.23.0




More information about the libvir-list mailing list