summaryrefslogtreecommitdiff
path: root/strata/tools
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-11 11:13:55 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-12 11:35:58 +0000
commit8f8df38eb9857710afd0b550cb863532b37a1593 (patch)
tree8379866519294c907c428e91c06e9d1dd6cf9c1b /strata/tools
parent53af9fb64e9451d7bed88e7e97e8dc64a79af064 (diff)
downloaddefinitions-8f8df38eb9857710afd0b550cb863532b37a1593.tar.gz
Regenerate config.{guess,sub} scripts
Some packages have old config.guess and config.sub scripts which don't recognize the aarch64-linux-gnu GNU triplet. For some cases, it is enough to do a `autoreconfig -if` to update those scripts. However, this approach cannot be used because when the configure scripts are not compatible with the current automake, autoheader, aclocal and friends; or when the project doesn't use automake at all (it has Makefile.in files, but not Makefile.am files). For those cases, we copy the system config.guess and config.sub scripts installed by automake.
Diffstat (limited to 'strata/tools')
-rw-r--r--strata/tools/distcc.morph6
-rw-r--r--strata/tools/vala-bootstrap.morph2
2 files changed, 7 insertions, 1 deletions
diff --git a/strata/tools/distcc.morph b/strata/tools/distcc.morph
index 9f42b50e..82adbe50 100644
--- a/strata/tools/distcc.morph
+++ b/strata/tools/distcc.morph
@@ -1,6 +1,10 @@
name: distcc
kind: chunk
build-system: autotools
-configure-commands:
+pre-configure-commands:
- NOCONFIGURE=1 ./autogen.sh
+# distcc doesn't use automake, so we cannot autoreconf it
+- cp /usr/share/automake*/config.guess .
+- cp /usr/share/automake*/config.sub .
+configure-commands:
- ./configure --prefix="$PREFIX" --disable-Werror
diff --git a/strata/tools/vala-bootstrap.morph b/strata/tools/vala-bootstrap.morph
index c09299f6..e55b1887 100644
--- a/strata/tools/vala-bootstrap.morph
+++ b/strata/tools/vala-bootstrap.morph
@@ -1,5 +1,7 @@
name: vala-bootstrap
kind: chunk
build-system: autotools
+pre-configure-commands:
+- autoreconf -ivf
configure-commands:
- ./configure --prefix="$PREFIX"