diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 15:38:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 15:38:09 +0000 |
commit | 908436c1ec62838e4efdabbc591ee92b817d25b7 (patch) | |
tree | e37bfda1e27f94b1905f0e7169522fe0de9529ec /aclocal | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct a minor (diff) | |
download | rtems-908436c1ec62838e4efdabbc591ee92b817d25b7.tar.bz2 |
New configuration files added by patch from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>".
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/check-cxx.m4 | 20 | ||||
-rw-r--r-- | aclocal/check-networking.m4 | 27 | ||||
-rw-r--r-- | aclocal/check-posix.m4 | 27 |
3 files changed, 74 insertions, 0 deletions
diff --git a/aclocal/check-cxx.m4 b/aclocal/check-cxx.m4 new file mode 100644 index 0000000000..525997d6ea --- /dev/null +++ b/aclocal/check-cxx.m4 @@ -0,0 +1,20 @@ +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_CXX, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl +AC_CACHE_CHECK([whether to build rtems++], + rtems_cv_HAS_CPLUSPLUS, + [ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then + if test -n "$CXX_FOR_TARGET"; then + rtems_cv_HAS_CPLUSPLUS="yes" + else + rtems_cv_HAS_CPLUSPLUS="no" + fi + else + rtems_cv_HAS_CPLUSPLUS="no" + fi]) +HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; +AC_SUBST(HAS_CPLUSPLUS)dnl +]) diff --git a/aclocal/check-networking.m4 b/aclocal/check-networking.m4 new file mode 100644 index 0000000000..487b543373 --- /dev/null +++ b/aclocal/check-networking.m4 @@ -0,0 +1,27 @@ +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_NETWORKING, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports networking], + rtems_cv_HAS_NETWORKING, + [dnl + 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]) +if test "$rtems_cv_HAS_NETWORKING" = "yes"; then + HAS_NETWORKING="yes"; +else + HAS_NETWORKING="no"; +fi +AC_SUBST(HAS_NETWORKING)dnl +]) diff --git a/aclocal/check-posix.m4 b/aclocal/check-posix.m4 new file mode 100644 index 0000000000..43d175deac --- /dev/null +++ b/aclocal/check-posix.m4 @@ -0,0 +1,27 @@ +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_POSIX_API, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP 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"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac]) +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; +else + HAS_POSIX_API="no"; +fi +AC_SUBST(HAS_POSIX_API)dnl +]) |