mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
Avoid raw carriage return in scripts.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR via tr, rather than with literal byte. * THANKS: Update. Reported by Steven R. Loomis; patch suggested by Thomas Dickey. Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
parent
cfa144a955
commit
cb34ecf15c
@ -1,3 +1,11 @@
|
||||
2008-10-27 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Avoid raw carriage return in scripts.
|
||||
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR
|
||||
via tr, rather than with literal byte.
|
||||
* THANKS: Update.
|
||||
Reported by Steven R. Loomis; patch suggested by Thomas Dickey.
|
||||
|
||||
2008-10-27 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Use AS_VAR_ARITH.
|
||||
|
1
THANKS
1
THANKS
@ -325,6 +325,7 @@ Steve Chamberlain sac@cygnus.com
|
||||
Steve Huston shuston@riverace.com
|
||||
Steve Robbins steve@nyongwa.montreal.qc.ca
|
||||
Steven G. Johnson stevenj@alum.mit.edu
|
||||
Steven R. Loomis srl@icu-project.org
|
||||
Stu Grossman grossman@cygnus.com
|
||||
Sumit Pandya sumit@elitecore.com
|
||||
Syd Polk spolk@cygnus.com
|
||||
|
@ -370,7 +370,7 @@ else
|
||||
# The final `:' finishes the AND list.
|
||||
ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
|
||||
fi]])
|
||||
ac_cr='
'
|
||||
ac_cr=`echo X | tr X '\015'`
|
||||
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
||||
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||||
ac_cs_awk_cr='\\r'
|
||||
|
Loading…
Reference in New Issue
Block a user