[rtems commit] config: Fix check networking
Sebastian Huber
sebh at rtems.org
Tue Oct 30 12:34:07 UTC 2018
Module: rtems
Branch: master
Commit: 7e2aabd7514e329b7be2e50eaf6f529c0a9c656c
Changeset: http://git.rtems.org/rtems/commit/?id=7e2aabd7514e329b7be2e50eaf6f529c0a9c656c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 30 13:23:57 2018 +0100
config: Fix check networking
This Autoconf macro used cache variables which are not longer present.
Update #3409.
---
cpukit/aclocal/check-networking.m4 | 22 +++++-----------------
1 file changed, 5 insertions(+), 17 deletions(-)
diff --git a/cpukit/aclocal/check-networking.m4 b/cpukit/aclocal/check-networking.m4
index fdb5a67..384005c 100644
--- a/cpukit/aclocal/check-networking.m4
+++ b/cpukit/aclocal/check-networking.m4
@@ -17,23 +17,11 @@ AC_CACHE_CHECK([whether CPU supports networking],
x86_64*)
rtems_cv_HAS_NETWORKING="no"
;;
- *-*-rtems*)
- AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
-# suppress libnetworking if one these types is not available
- AS_IF([test x"$ac_cv_type_int8_t" = xyes \
- && test x"$ac_cv_type_uint8_t" = xyes \
- && 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_CPPFLAGS="${RTEMS_CPPFLAGS} -I${RTEMS_SOURCE_ROOT}/cpukit/libnetworking"],
- [rtems_cv_HAS_NETWORKING=no])
- ],[
- rtems_cv_HAS_NETWORKING=disabled
- ])
+ *)
+ AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],
+ [rtems_cv_HAS_NETWORKING="yes"
+ RTEMS_CPPFLAGS="${RTEMS_CPPFLAGS} -I${RTEMS_SOURCE_ROOT}/cpukit/libnetworking"],
+ [rtems_cv_HAS_NETWORKING="no"])
;;
esac
])
More information about the vc
mailing list