Source-Changes-D archive

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

Re: CVS commit: src/sbin/mount_smbfs



On Mon, Feb 08, 2010 at 07:56:07AM +0000, Iain Hibbert wrote:
> Module Name:  src
> Committed By: plunky
> Date:         Mon Feb  8 07:56:06 UTC 2010
> 
> Modified Files:
>       src/sbin/mount_smbfs: Makefile.inc
> 
> Log Message:
> use
> 
> .if defined(HAVE_GCC) && ${HAVE_GCC} == 4
> 
> rather than
> 
> .if ${HAVE_GCC} == 4
> 
> as HAVE_GCC may be undefined

That construct may not help size make needs to parse the entire line.
Shorter and safer is:

.if ${HAVE_GCC:U0} == 4

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index