autoconf
[Top][All Lists]
Advanced

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

autoconf vs. stdin [was: Broken makefile given Autoconf version mismatch


From: Eric Blake
Subject: autoconf vs. stdin [was: Broken makefile given Autoconf version mismatch]
Date: Fri, 14 Apr 2006 05:38:51 -0600
User-agent: Thunderbird 1.5 (Windows/20051201)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stepan Kasal on 4/14/2006 2:35 AM:
> 
> The problem is that autom4te calls m4 with `</dev/null' because of a
> problem with a development version of m4:
> There is a related problem:
> 
>   autom4te -l Autoconf-without-aclocal-m4 -
> 
> still wouldn't work, because find_file doesn't recognize `-' as stdin.

Why do we even try to support autoconf reading from stdin?  I remember at
one point cygwin had a wrapper script that tried to choose between
autoconf 2.13 and 2.5x, and it was overly complicated because it was
trying to cater to the fact that autoconf might be reading from a
non-seekable stdin.  Things got a lot simpler when the wrapper script was
changed to assume that the input file to autoconf is passed by name and is
seekable.  And since it appears that autoconf has not parsed stdin for
several years, with no complaints, maybe it is smarter to not document
that as a valid usage pattern.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP4nL84KuGfSFAYARAhsNAKCR1aER/HNoxD4xTUSYtdWVpVUIuwCeOhNH
/lTPmMaXj1Icg2e/nhU8hMQ=
=i86J
-----END PGP SIGNATURE-----




reply via email to

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