if test "${LANG+set}" = set; then LANG=C; export LANG; fi
mfiles=
-ok=no
while test $# -gt 0; do
case "$1" in
--help | --h* )
* )
mfiles="$mfiles $1"
- ok=yes
;;
esac
shift
# FIXME in this case, should look for Makefile.am, */Makefile.am and
# use those.
-if test "$ok" = no; then
+test -n "$mfiles" || {
echo "${usage}" 1>&2
exit 1
-fi
-set $mfiles
+}
am_status=0
s/^ *\([A-Z][A-Z0-9_]*\)[ ]*=[ ]*\(.*\)/\1='\2'/p
EOF
-for am_makefile
+for am_makefile in $mfiles
do
if test ! -f ${am_makefile}.am; then
echo "automake: ${am_makefile}.am: No such honkin' file"