summaryrefslogtreecommitdiffstats
path: root/c/src/make/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/make/configure41
1 files changed, 29 insertions, 12 deletions
diff --git a/c/src/make/configure b/c/src/make/configure
index 9a874f12d2..e0d12397fa 100644
--- a/c/src/make/configure
+++ b/c/src/make/configure
@@ -2997,33 +2997,50 @@ else
HAS_POSIX_API="no";
fi
+echo $ac_n "checking whether to build rtems++""... $ac_c" 1>&6
+echo "configure:3002: checking whether to build rtems++" >&5
if eval "test \"`echo '$''{'rtems_cv_HAS_CPLUSPLUS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
if test -n "$CXX_FOR_TARGET"; then
- rtems_cv_HAS_CPLUSPLUS="yes";
+ rtems_cv_HAS_CPLUSPLUS="yes"
else
- rtems_cv_HAS_CPLUSPLUS="no";
+ rtems_cv_HAS_CPLUSPLUS="no"
fi
else
- rtems_cv_HAS_CPLUSPLUS="no";
+ rtems_cv_HAS_CPLUSPLUS="no"
fi
-
fi
+
+echo "$ac_t""$rtems_cv_HAS_CPLUSPLUS" 1>&6
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
+echo $ac_n "checking whether BSP supports networking""... $ac_c" 1>&6
+echo "configure:3021: checking whether BSP supports networking" >&5
if eval "test \"`echo '$''{'rtems_cv_HAS_NETWORKING'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test "$RTEMS_HAS_NETWORKING" = "yes"; then
- rtems_cv_HAS_NETWORKING="yes";
- else
- rtems_cv_HAS_NETWORKING="no";
- fi
-
+ case "$RTEMS_CPU" in
+ unix*)
+ rtems_cv_HAS_NETWORKING="no"
+ ;;
+ *)
+ if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
+ rtems_cv_HAS_NETWORKING="yes";
+ else
+ rtems_cv_HAS_NETWORKING="disabled";
+ fi
+ ;;
+ esac
+fi
+
+echo "$ac_t""$rtems_cv_HAS_NETWORKING" 1>&6
+if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
+ HAS_NETWORKING="yes";
+else
+ HAS_NETWORKING="no";
fi
-HAS_NETWORKING="$rtems_cv_HAS_NETWORKING";