mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-31 15:00:26 +08:00
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:
parent
78343bcbfe
commit
4af17bffbe
@ -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.
|
||||
|
@ -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 "
|
||||
|
@ -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 "
|
||||
|
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user