[Top][All Lists]

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

Re: aclocal --diff on Tru64

From: Alexandre Duret-Lutz
Subject: Re: aclocal --diff on Tru64
Date: Tue, 06 Jun 2006 21:41:55 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

>>> "RW" == Ralf Wildenhues <address@hidden> writes:

 RW> `diff /dev/null file' fails on Tru64, as noted in autoconf.texi.
 RW> `aclocal --diff' invokes this.  acloca18.test exposes this failure.

 RW> Below is a hack to fix this.  It's a hack because it may create (and
 RW> delete) a file `devnull' in the current directory.  A proper fix would
 RW> either
 RW> - pull mktmpdir over from Autoconf and use that for aclocal, and create
 RW> `devnull' in $tmp (including cleanup in `END' and such; much code for
 RW> such a small issue); or
 RW> - invoke `true | $diff - $file' or similarly (ugly because it resorts to
 RW> shell interpolation from system).

 RW> Before I venture into either one of those options, I'd appreciate a
 RW> reality check that this isn't over-engineering, esp. since the user may
 RW> override the diff command anyway.  What do you think?  (Since we don't
 RW> show the file name in the output, we could easily use a more obscure or
 RW> "unique" one, say, including `$$', if that is the only concern.)

The empty file sounds simple enough.  How about installing this
empty file during automake's "make install"?  This way we don't
need to worry about naming and cleaning in aclocal.
Alexandre Duret-Lutz

Shared books are happy books.

reply via email to

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