]> granicus.if.org Git - strace/blob - bootstrap
prctl: add decoding of PR_SVE_SET_VL and PR_SVE_GET_VL commands
[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         [ "$m" = m32 ] && k="s/^\\(SIZEOF_KERNEL_LONG_T$s=\\).*/\\1 4/;" || k=
14         sed "s/@arch@/@arch_$m@/;
15              s/^\\(SIZEOF_LONG$s=\\).*/\\1 4/; $k
16              s/^MPERS_NAME$s=.*/& $m/;
17              s/^MPERS_CC_FLAGS$s=.*/& @cc_flags_$m@/;
18              s/^ARCH_MFLAGS$s=.*/& -DMPERS_IS_\$(MPERS_NAME) \$(MPERS_CC_FLAGS)/" \
19                 tests/Makefile.am > $tests/Makefile.am
20         for f in tests/*; do
21                 case "${f##*/}" in
22                 Makefile*) continue;;
23                 esac
24                 ln -s ../"$f" $tests/
25         done
26 done
27
28 exec autoreconf -f -i "$@"