if grep "^AM_CONFIG_HEADER" $configfile >/dev/null; then
echo "Running autoheader in "`pwd`"..."
autoheader || exit 1
fi
if grep "^AM_INIT_AUTOMAKE" $configfile >/dev/null; then
if grep "^AM_CONFIG_HEADER" $configfile >/dev/null; then
echo "Running autoheader in "`pwd`"..."
autoheader || exit 1
fi
if grep "^AM_INIT_AUTOMAKE" $configfile >/dev/null; then