Don't build bits that depend on the pthreads support if a

system was configured without such support.

Approved by:	re (kensmith)
This commit is contained in:
Ruslan Ermilov 2007-10-01 18:23:24 +00:00
parent 152f2a4a96
commit bcf72246c5
3 changed files with 6 additions and 0 deletions

View File

@ -11,7 +11,9 @@ SUBDIR= libavl \
.if ${MK_ZFS} != "no"
_libzfs= libzfs
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
_libzpool= libzpool
.endif
.endif
.include <bsd.subdir.mk>

View File

@ -5,7 +5,9 @@
SUBDIR= ${_ztest}
.if ${MK_ZFS} != "no"
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
_ztest= ztest
.endif
.endif
.include <bsd.subdir.mk>

View File

@ -5,7 +5,9 @@
SUBDIR= ${_zdb}
.if ${MK_ZFS} != "no"
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
_zdb= zdb
.endif
.endif
.include <bsd.subdir.mk>