Detect absence of rl_outstream and handle accordingly. 20131001030504/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 1 Oct 2013 07:36:06 +0000 (09:36 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 1 Oct 2013 07:36:06 +0000 (09:36 +0200)
commit6da9ed01e15953f12bc1ba35fbee53a7a7e46da0
tree60bc1b9afb45cc6f726f0143cfd092d3cf03673d
parent60fc61091d0f4a706aff2a7b6d7a2a1b0910d7dd
Detect absence of rl_outstream and handle accordingly.

Older versions of readline do not appear to have the variable rl_outstream.  This variable,
almost certainly points to the same stream as stdout, so this change detects its absence
and uses stdout in those cases.
acinclude.m4
src/ui/terminal/terminal-reader.c