>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes:

[...]

 Paul> "configure" is normally designed to run standalone, without any user
 Paul> intervention.  Asking for user input is much more of a pain for
 Paul> installers to automate; I can't recommend the practice, even though I
 Paul> now see that one package is doing it that way.

Just brainstorming:

  m4_define([AS_STDIN_FD], 7)

  exec AS_STDIN_FD<&0 </dev/null

and then let people who want to read stdin explicitly state so
with

  read whatever <&AS_STDIN_FD

Interactive input is so much non-autoconf that I feel sad about
waiting for someone else to hit a "missing </dev/null" bug to
fix it.  I don't know why net-snmp does this, so I wouldn't dare
claiming it should not.  But somehow it's sounds like all other
packages are paying for this, and that sounds wrong.  If it
works to provide an access to the original stdin as above, then
is seems like a fair fee that singular setups can afford.
-- 
Alexandre Duret-Lutz



Reply via email to