diff mbox series

[hurd,commited] build-many-glibcs.py: Fix hurd-vcs checkout

Message ID 20180125021935.30901-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] build-many-glibcs.py: Fix hurd-vcs checkout | expand

Commit Message

Samuel Thibault Jan. 25, 2018, 2:19 a.m. UTC
* scripts/build-many-glibcs.py (checkout_vcs): Run autoconf.
---
 ChangeLog                    | 3 ++-
 scripts/build-many-glibcs.py | 5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index 6bc5717fcc..70f7d61aad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@ 
 2018-01-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
-	* scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository URL.
+	* scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
+	URL, and run autoconf.
 
 2018-01-24  Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index aeeccb32a4..113352c089 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -789,7 +789,10 @@  class Context(object):
         elif component == 'hurd':
             git_url = 'git://git.savannah.gnu.org/hurd/hurd.git'
             git_branch = 'master'
-            return self.git_checkout(component, git_url, git_branch, update)
+            r = self.git_checkout(component, git_url, git_branch, update)
+            subprocess.run(['autoconf'],
+                           cwd=self.component_srcdir(component), check=True)
+            return r
         else:
             print('error: component %s coming from VCS' % component)
             exit(1)