diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 15:08:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 15:08:58 +0000 |
commit | 01be59d9396b4d9980006f774c243dc05e4b91a3 (patch) | |
tree | f8b8cf6fb080e7a316a3ee0090e7345009bdfc78 /c/src/make/configure | |
parent | Added define at request of Jason Merrill. (diff) | |
download | rtems-01be59d9396b4d9980006f774c243dc05e4b91a3.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct a minor
problem with the HAS_MP patch and regenerated files.
Diffstat (limited to '')
-rw-r--r-- | c/src/make/configure | 41 |
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"; |