diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-03 11:09:32 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-03 11:09:32 -0500 |
commit | cb7b57e174d7a559af3ec910a99e0538cc9f99b7 (patch) | |
tree | c9e52f936e1b9560fbd104c6f75743ead4e1a4d6 /cpukit/mghttpd/preinstall.am | |
parent | threaddispatch.c: Fix typo (diff) | |
download | rtems-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.am | 2 |
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 |