forked from Imagelibrary/rtems
Remove unix/posix.
This commit is contained in:
@@ -12,21 +12,9 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_MSG_CHECKING(rtems target cpu)
|
||||
case "${host}" in
|
||||
i[[34567]]86-*linux*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_CPU=no_cpu
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
*)
|
||||
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||
;;
|
||||
|
||||
@@ -12,9 +12,6 @@ AC_CACHE_CHECK([whether CPU supports networking],
|
||||
avr*|m32c*) # do not have address space to hold BSD TCP/IP stack
|
||||
rtems_cv_HAS_NETWORKING="no"
|
||||
;;
|
||||
unix*)
|
||||
rtems_cv_HAS_NETWORKING="no"
|
||||
;;
|
||||
*)
|
||||
AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
|
||||
# suppress libnetworking if one these types is not available
|
||||
|
||||
@@ -9,9 +9,6 @@ AC_CACHE_CHECK([whether CPU supports libposix],
|
||||
rtems_cv_HAS_POSIX_API,
|
||||
[dnl
|
||||
case "$RTEMS_CPU" in
|
||||
unix*)
|
||||
rtems_cv_HAS_POSIX_API="no"
|
||||
;;
|
||||
*)
|
||||
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
||||
rtems_cv_HAS_POSIX_API="yes";
|
||||
|
||||
@@ -13,18 +13,9 @@ AS_HELP_STRING(--enable-posix,enable posix interface),
|
||||
esac],[RTEMS_HAS_POSIX_API=yes])
|
||||
|
||||
case "${host}" in
|
||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user