1999-09-20 Ben Elliston <bje@cygnus.com>

* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin
	<pavel_roskin@geocities.com>.
This commit is contained in:
Ben Elliston 1999-09-20 12:39:46 +00:00
parent 78343bcbfe
commit 4af17bffbe
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,8 @@
1999-09-20 Ben Elliston <bje@cygnus.com>
* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin
<pavel_roskin@geocities.com>.
1999-09-17 Ben Elliston <bje@cygnus.com>
* config.guess: Detect QNX version 4.

View File

@ -56,6 +56,8 @@ case "${M4}" in
test -f "${M4}" || M4=m4 ;;
esac
ac_LF_and_DOT="`echo; echo .`"
localdir=.
show_version=no
@ -213,7 +215,7 @@ $syms
EOF
fgrep -f $fgrep_tmp
rm -f $fgrep_tmp) |
tr @. "`echo`."
tr @. "$ac_LF_and_DOT"
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output. A line-break within
@ -222,7 +224,7 @@ EOF
# would break.
fi
echo "$types" | tr ,. "`echo`." | sort | uniq | while read ctype; do
echo "$types" | tr ,. "$ac_LF_and_DOT" | sort | uniq | while read ctype; do
test -z "$ctype" && continue
sym="`echo "${ctype}" | tr 'abcdefghijklmnopqrstuvwxyz *' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_P'`"
echo "

View File

@ -56,6 +56,8 @@ case "${M4}" in
test -f "${M4}" || M4=m4 ;;
esac
ac_LF_and_DOT="`echo; echo .`"
localdir=.
show_version=no
@ -213,7 +215,7 @@ $syms
EOF
fgrep -f $fgrep_tmp
rm -f $fgrep_tmp) |
tr @. "`echo`."
tr @. "$ac_LF_and_DOT"
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output. A line-break within
@ -222,7 +224,7 @@ EOF
# would break.
fi
echo "$types" | tr ,. "`echo`." | sort | uniq | while read ctype; do
echo "$types" | tr ,. "$ac_LF_and_DOT" | sort | uniq | while read ctype; do
test -z "$ctype" && continue
sym="`echo "${ctype}" | tr 'abcdefghijklmnopqrstuvwxyz *' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_P'`"
echo "

View File

@ -56,6 +56,8 @@ case "${M4}" in
test -f "${M4}" || M4=m4 ;;
esac
ac_LF_and_DOT="`echo; echo .`"
localdir=.
show_version=no
@ -213,7 +215,7 @@ $syms
EOF
fgrep -f $fgrep_tmp
rm -f $fgrep_tmp) |
tr @. "`echo`."
tr @. "$ac_LF_and_DOT"
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output. A line-break within
@ -222,7 +224,7 @@ EOF
# would break.
fi
echo "$types" | tr ,. "`echo`." | sort | uniq | while read ctype; do
echo "$types" | tr ,. "$ac_LF_and_DOT" | sort | uniq | while read ctype; do
test -z "$ctype" && continue
sym="`echo "${ctype}" | tr 'abcdefghijklmnopqrstuvwxyz *' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_P'`"
echo "