Branch: Tag:

1996-09-29

1996-09-29 00:16:39 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

configure test for USORT_MAX added

Rev: src/configure.in:1.5

412:      AC_MSG_RESULT($pike_cv_struct_tm_has_gmtoff)    + AC_MSG_CHECKING(for USHRT_MAX definition)    -  + AC_CACHE_VAL(pike_cv_ushrt_max_is_defined,[ + AC_EGREP_CPP(yes,[ + #include <limits.h> + #ifdef USHRT_MAX + yes + #endif + ],pike_cv_ushrt_max_is_defined=yes,pike_cv_ushrt_max_is_defined=no) + ]) +  + if test "$pike_cv_ushrt_max_is_defined" = "no" ; then +  AC_DEFINE(USHRT_MAX,65535) + fi +  + AC_MSG_RESULT($pike_cv_ushrt_max_is_defined) +    define(MY_CHECK_HEADERS,   [    AC_MSG_CHECKING(for $1 declaration)