1#!/bin/sh -eu 2 3for m in -m32 -mx32; do 4 mkdir -p tests$m 5 find tests$m -type l -delete 6 sed "s/^AM_CFLAGS[[:space:]]*=.*/& $m/" \ 7 tests/Makefile.am > tests$m/Makefile.am 8 for f in tests/*; do 9 case "${f##*/}" in 10 Makefile*) continue;; 11 esac 12 ln -s ../"$f" tests$m/ 13 done 14done 15 16./xlat/gen.sh 17 18exec autoreconf -f -i "$@" 19