+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.
test -f "${M4}" || M4=m4 ;;
esac
+ac_LF_and_DOT="`echo; echo .`"
+
localdir=.
show_version=no
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
# 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 "
test -f "${M4}" || M4=m4 ;;
esac
+ac_LF_and_DOT="`echo; echo .`"
+
localdir=.
show_version=no
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
# 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 "
test -f "${M4}" || M4=m4 ;;
esac
+ac_LF_and_DOT="`echo; echo .`"
+
localdir=.
show_version=no
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
# 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 "