]> granicus.if.org Git - strace/commitdiff
Use bootstrap script consistently
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 25 Apr 2014 22:52:06 +0000 (22:52 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 30 May 2014 21:31:08 +0000 (21:31 +0000)
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.

bootstrap
build_static_example.sh
make-dist
qemu_multiarch_testing/README

index 196d8e46ea2e10574058262d36ece5fa436f99f8..91d1a8fb735ec76b193480bc8a1943e73ed83c0e 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,3 @@
 #!/bin/sh
 ./xlat/gen.sh
-exec autoreconf -f -i
+exec autoreconf -f -i "$@"
index 5c0e5fab5d7c80a73144b5f291ccd30b27a14263..31ee264f89ddc7fca65577d1b3ed8a709d3f4c72 100755 (executable)
@@ -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"
index fffedfb095f27ee8ab2551e2dc7cbb360dabdfb3..16c979795a29a949274d1746544ba672aee9829f 100755 (executable)
--- 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
 
index 712b953b1cd5a0a9dfc30242a60cbe9bbed50f3c..756da24e57733615236b03360b801aa6124bdffc 100644 (file)
@@ -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.