Use empty(), FreeBSD doesn't like ==.

This commit is contained in:
Nicholas Marriott 2009-05-16 18:59:50 +00:00
parent 1001902143
commit 25911d32e1
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.137 2009-05-15 12:57:36 nicm Exp $ # $Id: Makefile,v 1.138 2009-05-16 18:59:50 nicm Exp $
.SUFFIXES: .c .o .SUFFIXES: .c .o
.PHONY: clean .PHONY: clean
@ -15,7 +15,7 @@ LIBS+= -lncurses
# This sort of sucks but gets rid of the stupid warning and should work on # This sort of sucks but gets rid of the stupid warning and should work on
# most platforms... # most platforms...
CCV!= (${CC} -v 2>&1|awk '/gcc version 4/') || true CCV!= (${CC} -v 2>&1|awk '/gcc version 4/') || true
.if "${CCV}" == "" .if empty(CCV)
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS} CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
.else .else
CPPFLAGS:= -iquote. -I/usr/local/include ${CPPFLAGS} CPPFLAGS:= -iquote. -I/usr/local/include ${CPPFLAGS}