autoconf
[Top][All Lists]
Advanced

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

Re: Autoheader errors


From: Tim Van Holder
Subject: Re: Autoheader errors
Date: 07 Nov 2001 12:25:11 +0100

On Wed, 2001-11-07 at 11:54, John Poltorak wrote:
> 
> So this line:-
> 
> test "$mktemp_cv_progname" = "yes" && AC_DEFINE(HAVE_PROGNAME)
> 
> should be changed to something like:- ?
> 
> test "$mktemp_cv_progname" = "yes" && AC_DEFINE(HAVE_PROGNAME, 1, [foo])
> 

Exactly (though I'd prefer an if/then over '&&' for clarity).
And it should probably use '"x$foo" = "xyes"' to be robust against $foo
being empty.





reply via email to

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