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
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_smbfs/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/mount_smbfs/Makefile.inc
diff -u src/sbin/mount_smbfs/Makefile.inc:1.1 src/sbin/mount_smbfs/Makefile.inc:1.2
--- src/sbin/mount_smbfs/Makefile.inc:1.1 Fri Sep 4 18:25:56 2009
+++ src/sbin/mount_smbfs/Makefile.inc Mon Feb 8 07:56:06 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2009/09/04 18:25:56 pooka Exp $
+# $NetBSD: Makefile.inc,v 1.2 2010/02/08 07:56:06 plunky Exp $
#
SRCS+= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
@@ -13,7 +13,7 @@
DPADD+=${LIBUTIL}
LDADD+=-lutil
-.if ${HAVE_GCC} == 4
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
.for f in ctx mbuf nb_name nbns_rq
COPTS.${f}.c+= -Wno-pointer-sign
.endfor