]> granicus.if.org Git - strace/blob - bootstrap
Add mpers support
[strace] / bootstrap
1 #!/bin/sh -eu
2
3 for m in -m32 -mx32; do
4         tests=tests$m
5         rm -rf $tests
6         mkdir $tests
7         sed "s/^AM_CFLAGS[[:space:]]*=.*/& $m/" \
8                 tests/Makefile.am > $tests/Makefile.am
9         for f in tests/*; do
10                 case "${f##*/}" in
11                 Makefile*) continue;;
12                 esac
13                 ln -s ../"$f" $tests/
14         done
15 done
16
17 ./xlat/gen.sh
18 ./generate_mpers_am.sh
19
20 exec autoreconf -f -i "$@"