]> granicus.if.org Git - strace/blob - bootstrap
Export decode_inet_addr
[strace] / bootstrap
1 #!/bin/sh -eu
2
3 ./generate_mpers_am.sh
4 ./xlat/gen.sh
5 ./tests/gen_pure_executables.sh
6 ./tests/gen_tests.sh
7
8 for m in m32 mx32; do
9         tests=tests-$m
10         rm -rf $tests
11         mkdir $tests
12         s='[[:space:]]*'
13         sed "s/@arch@/@arch_$m@/;
14              s/^MPERS_NAME$s=.*/& $m/;
15              s/^ARCH_MFLAGS$s=.*/& -DMPERS_IS_\$(MPERS_NAME) -$m/" \
16                 tests/Makefile.am > $tests/Makefile.am
17         for f in tests/*; do
18                 case "${f##*/}" in
19                 Makefile*) continue;;
20                 esac
21                 ln -s ../"$f" $tests/
22         done
23 done
24
25 exec autoreconf -f -i "$@"