mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 09:58:52 +00:00
Use empty(), FreeBSD doesn't like ==.
This commit is contained in:
parent
1001902143
commit
25911d32e1
4
Makefile
4
Makefile
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user