summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd/preinstall.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-03 11:09:32 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-03 11:09:32 -0500
commitcb7b57e174d7a559af3ec910a99e0538cc9f99b7 (patch)
treec9e52f936e1b9560fbd104c6f75743ead4e1a4d6 /cpukit/mghttpd/preinstall.am
parentthreaddispatch.c: Fix typo (diff)
downloadrtems-cb7b57e174d7a559af3ec910a99e0538cc9f99b7.tar.bz2
mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being enabled. It uses on pthread and must also be conditional on POSIX threads support being enabled.
Diffstat (limited to '')
-rw-r--r--cpukit/mghttpd/preinstall.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/mghttpd/preinstall.am b/cpukit/mghttpd/preinstall.am
index aa246f014e..305a91449f 100644
--- a/cpukit/mghttpd/preinstall.am
+++ b/cpukit/mghttpd/preinstall.am
@@ -24,6 +24,7 @@ $(PROJECT_LIB)/$(dirstamp):
PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
if LIBNETWORKING
+if HAS_PTHREADS
$(PROJECT_INCLUDE)/mghttpd/$(dirstamp):
@$(MKDIR_P) $(PROJECT_INCLUDE)/mghttpd
@: > $(PROJECT_INCLUDE)/mghttpd/$(dirstamp)
@@ -37,3 +38,4 @@ $(PROJECT_INCLUDE)/mghttpd/mongoose.h: mongoose.h $(PROJECT_INCLUDE)/mghttpd/$(d
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mghttpd/mongoose.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/mghttpd/mongoose.h
endif
+endif