summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/Makefile.am
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-09 13:18:35 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-10 08:56:06 +0100
commitf244bfc5f8a938d61567b0d78eeac35cd757f0d9 (patch)
tree90c8fde2bfc2f4ca72b648c9b74fe8e20a793833 /cpukit/posix/Makefile.am
parent1f671565ab228e54d038fd1ca2f6e4aeeb4170b2 (diff)
downloadrtems-f244bfc5f8a938d61567b0d78eeac35cd757f0d9.tar.bz2
posix: Install <semaphore.h> only if not provided
Diffstat (limited to 'cpukit/posix/Makefile.am')
-rw-r--r--cpukit/posix/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index 9d6fd48f59..8ffd4e63c4 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -25,7 +25,9 @@ if HAS_PTHREADS
# include
include_HEADERS = include/aio.h
include_HEADERS += include/mqueue.h
+if !HAVE_SEMAPHORE_H
include_HEADERS += include/semaphore.h
+endif
# include/rtems/posix
include_rtems_posix_HEADERS += include/rtems/posix/aio_misc.h