Changeset d4cbf34 in rtems for cpukit/aclocal


Ignore:
Timestamp:
Nov 18, 2006, 3:41:42 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6e46fa73
Parents:
9ca2ee4
Message:

Integrate type checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/aclocal/check-networking.m4

    r9ca2ee4 rd4cbf34  
    1414      ;;
    1515    *)
    16       if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
    17         rtems_cv_HAS_NETWORKING="yes";
    18       else
    19         rtems_cv_HAS_NETWORKING="disabled";
    20       fi
     16      AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
     17# suppress libnetworking if one these types is not available
     18        AS_IF([test x"$ac_cv_type_int8_t" = xyes \
     19          && test x"$ac_cv_type_uint8_t" = xyes \
     20          && test x"$ac_cv_type_int16_t" = xyes \
     21          && test x"$ac_cv_type_uint16_t" = xyes \
     22          && test x"$ac_cv_type_int32_t" = xyes \
     23          && test x"$ac_cv_type_uint32_t" = xyes \
     24          && test x"$ac_cv_type_int64_t" = xyes \
     25          && test x"$ac_cv_type_uint64_t" = xyes],
     26        [rtems_cv_HAS_NETWORKING=yes],
     27        [rtems_cv_HAS_NETWORKING=no])
     28      ],[
     29        rtems_cv_HAS_NETWORKING=disabled
     30      ])
    2131      ;;
    22     esac])
    23 if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
    24   HAS_NETWORKING="yes";
    25 else
    26   HAS_NETWORKING="no";
    27 fi
     32    esac
     33    ])
     34  ])
    2835])
Note: See TracChangeset for help on using the changeset viewer.