summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2014-04-25 22:52:06 +0000
committerDmitry V. Levin <ldv@altlinux.org>2014-05-30 21:31:08 +0000
commit3e69bdf41a1c272028d9347bc55d7f73e3c4de46 (patch)
treed7a0a3d6ca9363205f3ed8d764bfdee09c503147
parent761ed9ba42d00aa9cbd4daceefbbff016e7c9f12 (diff)
downloadstrace-3e69bdf41a1c272028d9347bc55d7f73e3c4de46.tar.gz
Use bootstrap script consistently
Now that ./xlat/gen.sh has to be run before autoreconf, replace all autoreconf calls with ./bootstrap call. * bootstrap: Forward arguments to autoreconf. * build_static_example.sh: Replace autoreconf call with bootstrap call. * make-dist: Likewise. * qemu_multiarch_testing/README: Likewise.
-rwxr-xr-xbootstrap2
-rwxr-xr-xbuild_static_example.sh2
-rwxr-xr-xmake-dist2
-rw-r--r--qemu_multiarch_testing/README2
4 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index 196d8e46e..91d1a8fb7 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,3 @@
#!/bin/sh
./xlat/gen.sh
-exec autoreconf -f -i
+exec autoreconf -f -i "$@"
diff --git a/build_static_example.sh b/build_static_example.sh
index 5c0e5fab5..31ee264f8 100755
--- a/build_static_example.sh
+++ b/build_static_example.sh
@@ -24,6 +24,6 @@ export CFLAGS="-Os\
-Wl,-Map=strace.mapfile\
"
-autoreconf -i -f
+./bootstrap
./configure $BUILDFLAG #--enable-maintainer-mode
make CC="$CC" CFLAGS="$CFLAGS"
diff --git a/make-dist b/make-dist
index fffedfb09..16c979795 100755
--- a/make-dist
+++ b/make-dist
@@ -16,7 +16,7 @@ git checkout -f "$tag"
./git-set-file-times
-autoreconf -i -f
+./bootstrap
./configure --enable-maintainer-mode
diff --git a/qemu_multiarch_testing/README b/qemu_multiarch_testing/README
index 712b953b1..756da24e5 100644
--- a/qemu_multiarch_testing/README
+++ b/qemu_multiarch_testing/README
@@ -3,7 +3,7 @@ How to test strace build using Aboriginal Linux's system images.
* Put a autoconf'ed strace source tree into hdc.dir/strace dir.
For example, this should work:
git clone git://strace.git.sourceforge.net/gitroot/strace/strace &&
-cd strace && autoreconf -i -f
+cd strace && ./bootstrap
* Run ./make-hdc-img.sh: it will generate ext2 image file,
hdc.img, from hdc.dir/* data. This requires root for loop mount.