This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig unit change for #16623.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 16 May 2002 13:05:05 +0000 (13:05 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 16 May 2002 13:05:05 +0000 (13:05 +0000)
p4raw-id: //depot/metaconfig@16624

U/ebcdic/trnl.U

index dce7317..59aec56 100644 (file)
@@ -36,6 +36,11 @@ if test X"$trnl" = X; then
        esac
 fi
 if test X"$trnl" = X; then
+       case "`echo foo|tr '\r\n' xy 2>/dev/null`" in
+       fooxy) trnl='\n\r' ;;
+       esac
+fi
+if test X"$trnl" = X; then
        cat <<EOM >&2
 
 $me: Fatal Error: cannot figure out how to translate newlines with 'tr'.