1#!/bin/sh 2 3for i in autoconf; do 4 echo "$i" 5 $i 6 if [ $? -ne 0 ]; then 7 echo "Error $? in $i" 8 exit 1 9 fi 10done 11 12echo "./configure --enable-autogen $@" 13./configure --enable-autogen $@ 14if [ $? -ne 0 ]; then 15 echo "Error $? in ./configure" 16 exit 1 17fi 18