Changeset cb7b57e1 in rtems


Ignore:
Timestamp:
Oct 3, 2012, 4:09:32 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
9b83a66
Parents:
8896c97
Message:

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.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/mghttpd/Makefile.am

    r8896c97 rcb7b57e1  
    22
    33if LIBNETWORKING
     4if HAS_PTHREADS
    45include_mghttpddir = $(includedir)/mghttpd
    56
     
    1213include_mghttpd_HEADERS = mongoose.h
    1314endif
     15endif
    1416
    1517include $(srcdir)/preinstall.am
  • cpukit/mghttpd/preinstall.am

    r8896c97 rcb7b57e1  
    2525
    2626if LIBNETWORKING
     27if HAS_PTHREADS
    2728$(PROJECT_INCLUDE)/mghttpd/$(dirstamp):
    2829        @$(MKDIR_P) $(PROJECT_INCLUDE)/mghttpd
     
    3839PREINSTALL_FILES += $(PROJECT_INCLUDE)/mghttpd/mongoose.h
    3940endif
     41endif
  • testsuites/libtests/Makefile.am

    r8896c97 rcb7b57e1  
    2121
    2222if NETTESTS
     23if HAS_POSIX
    2324SUBDIRS += mghttpd01
     25endif
    2426SUBDIRS += ftp01
    2527SUBDIRS += syscall01
  • testsuites/libtests/configure.ac

    r8896c97 rcb7b57e1  
    2828RTEMS_CHECK_CXX(RTEMS_BSP)
    2929RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
     30RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
    3031
    3132AC_PROG_LN_S
     
    3940AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_complex_h" = yes])
    4041AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes")
     42AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
    4143
    4244# Explicitly list all Makefiles here
Note: See TracChangeset for help on using the changeset viewer.