Replace complicated expression to disable libedit when no libthr is being built
with a simpler one.
This commit is contained in:
parent
01b0122954
commit
6c35c7d1b6
@ -9,17 +9,9 @@ SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
|
||||
msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
|
||||
WARNS?= 3
|
||||
|
||||
.if defined(RELEASE_CRUNCH)
|
||||
NGCTL_NO_LIBEDIT=
|
||||
.endif
|
||||
|
||||
.if ${MK_LIBTHR} == "no"
|
||||
NGCTL_NO_LIBEDIT=
|
||||
.endif
|
||||
|
||||
LIBADD= netgraph
|
||||
|
||||
.if !defined(NGCTL_NO_LIBEDIT)
|
||||
.if ${MK_LIBTHR} != "no"
|
||||
CFLAGS+= -DEDITLINE
|
||||
LIBADD+= edit pthread
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user