mgetty should use autoconf and automake

Gert Doering (gert@greenie.muc.de)
Wed, 15 Jul 1998 22:22:18 +0200


Hi,

Sverre Hvammen Johansen wrote:
> mgetty is a great program, but it should use autoconf and automake for
> compiletime configuration.
> 
> I have used autoconf and automake on several project with great
> sucess.

So how do I use autoconf to find out...

 - to which serial ports the user has connected modems to the system
 - whether the modem needs software or hardware flow control
 - where on this system the UUCP lock files can be found
 - whether the user wants "login.config" and "dialin.config" suport?
 - which user should receive mails about incoming faxes
 - ...?

Besides trivial things (path names), most of the compile time
configuration issues for mgetty are things that a program just cannot
determine automatically, 'cause they are "policy" options.

(A program could determine whether select() or poll() exist, but most
systems have select() anyway -- the problem in that case are those 
systems where select() exists, but doesn't work reliably... only
hands-on experience on *that* system can tell that)


Please elaborate how automake/autoconf could help developing mgetty.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de