mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
Integrate type checks.
This commit is contained in:
@@ -13,16 +13,23 @@ AC_CACHE_CHECK([whether CPU supports networking],
|
|||||||
rtems_cv_HAS_NETWORKING="no"
|
rtems_cv_HAS_NETWORKING="no"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
|
AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
|
||||||
rtems_cv_HAS_NETWORKING="yes";
|
# suppress libnetworking if one these types is not available
|
||||||
else
|
AS_IF([test x"$ac_cv_type_int8_t" = xyes \
|
||||||
rtems_cv_HAS_NETWORKING="disabled";
|
&& test x"$ac_cv_type_uint8_t" = xyes \
|
||||||
fi
|
&& test x"$ac_cv_type_int16_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_uint16_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_int32_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_uint32_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_int64_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_uint64_t" = xyes],
|
||||||
|
[rtems_cv_HAS_NETWORKING=yes],
|
||||||
|
[rtems_cv_HAS_NETWORKING=no])
|
||||||
|
],[
|
||||||
|
rtems_cv_HAS_NETWORKING=disabled
|
||||||
|
])
|
||||||
;;
|
;;
|
||||||
esac])
|
esac
|
||||||
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
|
])
|
||||||
HAS_NETWORKING="yes";
|
])
|
||||||
else
|
|
||||||
HAS_NETWORKING="no";
|
|
||||||
fi
|
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user