]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-09-20 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Mon, 20 Sep 1999 12:39:46 +0000 (12:39 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Mon, 20 Sep 1999 12:39:46 +0000 (12:39 +0000)
* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin
<pavel_roskin@geocities.com>.

ChangeLog
autoheader.in
autoheader.sh
bin/autoheader.in

index 88e31597994639f913da42707d2f54e6677f9209..c9decd45fee691a7e7a79f44a67038fea18bdfa3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index ebfb93c70551fa9e296dec5af3169e14b7a4b921..f4cc22a69a1b8c2ef7b5566d4b506cf0963736cd 100644 (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 "
index ebfb93c70551fa9e296dec5af3169e14b7a4b921..f4cc22a69a1b8c2ef7b5566d4b506cf0963736cd 100644 (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 "
index ebfb93c70551fa9e296dec5af3169e14b7a4b921..f4cc22a69a1b8c2ef7b5566d4b506cf0963736cd 100644 (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 "