[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with cl and autoconf

From: Alexandre Duret-Lutz
Subject: Re: Problem with cl and autoconf
Date: Mon, 14 Feb 2005 22:32:28 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>> "Paul" == Paul Eggert <address@hidden> 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

  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

[Prev in Thread] Current Thread [Next in Thread]