Changeset f244bfc5 in rtems


Ignore:
Timestamp:
Mar 9, 2015, 12:18:35 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b05549fc
Parents:
1f67156
git-author:
Sebastian Huber <sebastian.huber@…> (03/09/15 12:18:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/10/15 07:56:06)
Message:

posix: Install <semaphore.h> only if not provided

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/configure.ac

    r1f67156 rf244bfc5  
    136136AS_IF([test -n "$rtems_missing_header"],
    137137  AC_MSG_ERROR([Missing required header $rtems_missing_header])])
     138
     139AC_CHECK_HEADERS([semaphore.h])
     140AM_CONDITIONAL([HAVE_SEMAPHORE_H],[test x"$ac_cv_header_semaphore_h" = x"yes"])
    138141
    139142## error out if libc doesn't provide stdint.h
  • cpukit/posix/Makefile.am

    r1f67156 rf244bfc5  
    2626include_HEADERS = include/aio.h
    2727include_HEADERS += include/mqueue.h
     28if !HAVE_SEMAPHORE_H
    2829include_HEADERS += include/semaphore.h
     30endif
    2931
    3032# include/rtems/posix
  • cpukit/posix/preinstall.am

    r1f67156 rf244bfc5  
    5353PREINSTALL_FILES += $(PROJECT_INCLUDE)/mqueue.h
    5454
     55if !HAVE_SEMAPHORE_H
    5556$(PROJECT_INCLUDE)/semaphore.h: include/semaphore.h $(PROJECT_INCLUDE)/$(dirstamp)
    5657        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/semaphore.h
    5758PREINSTALL_FILES += $(PROJECT_INCLUDE)/semaphore.h
    58 
     59endif
    5960$(PROJECT_INCLUDE)/rtems/posix/aio_misc.h: include/rtems/posix/aio_misc.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
    6061        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/aio_misc.h
Note: See TracChangeset for help on using the changeset viewer.