Do not build the libedit support if NO_LIBPTHREAD is defined.

PR:		bin/104478
Submitted by:	Mike Durian <durian shadetreesoftware.com>
This commit is contained in:
Gleb Smirnoff 2007-03-28 14:04:35 +00:00
parent dc7359b8dd
commit 3cb88013ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167991

View File

@ -9,7 +9,7 @@ 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)
.if defined(RELEASE_CRUNCH) || defined(NO_LIBPTHREAD)
NGCTL_NO_LIBEDIT=
.endif