ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/aclocal.m4
(Generate patch)

Comparing BasiliskII/src/Unix/aclocal.m4 (file contents):
Revision 1.10 by cebix, 2001-05-31T20:53:53Z vs.
Revision 1.11 by cebix, 2001-09-02T13:50:05Z

# Line 407 | Line 407 | else
407    $1_FALSE=
408   fi])
409  
410 + dnl Check for socklen_t type
411 +
412 + AC_DEFUN(TYPE_SOCKLEN_T,
413 + [AC_REQUIRE([AC_HEADER_STDC])dnl
414 + AC_MSG_CHECKING(for socklen_t)
415 + AC_CACHE_VAL(ac_cv_type_socklen_t,
416 + [AC_EGREP_CPP(dnl
417 + changequote(<<,>>)dnl
418 + <<(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]>>dnl
419 + changequote([,]), [#include <sys/types.h>
420 + #include <sys/socket.h>], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no)])dnl
421 + AC_MSG_RESULT($ac_cv_type_socklen_t)
422 + if test $ac_cv_type_socklen_t = no; then
423 +  AC_DEFINE(socklen_t, int)
424 + fi
425 + ])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines