1#!/bin/sh -e 2 3j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j= 4set -x 5git fetch --unshallow 6./git-set-file-times 7case "${TARGET-}" in 8 x32) 9 CC="$CC -mx32" 10 ;; 11 x86) 12 export DISTCHECK_CONFIGURE_FLAGS='--build=i686-pc-linux-gnu' 13 CC="$CC -m32" 14 ;; 15esac 16export CC_FOR_BUILD="$CC" 17./bootstrap 18./configure --enable-maintainer-mode ${ENABLE_GCC_WERROR-} ${DISTCHECK_CONFIGURE_FLAGS-} 19make -k $j distcheck VERBOSE=${VERBOSE-} 20