On Tue, Mar 14, 2000 at 01:19:29AM +0000, Lars Hecking wrote:

> > One other thing:  mutt has to be built with GNU make.  The standard SysV
> > UNIX make that comes with HP-UX won't work.
> 
>  Details? I, too, have seen problems, but with BSD makes.

Sure.  The problem has to do with the expansion of the $< macro.  For
the HP-UX make, $< is evaluated only for inference rules.  For GNU make,
$< is evaluated for both target and inference rules.  At least one of
mutt's Makefiles (I don't remember offhand which one) has a target rule
that uses sed and $<.  GNU make expands this $< to the source file name,
as the Makefile's author intended, and the build works fine.  When the
HP-UX make gets to this point, however, it replaces $< with an empty
string which then leaves sed waiting for input from stdin and the build
hangs.

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]         | RF Communications Product Generation Unit
                             | Spokane, Washington, USA

Reply via email to