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

Comparing BasiliskII/src/Unix/acinclude.m4 (file contents):
Revision 1.1 by cebix, 2002-01-25T12:14:21Z vs.
Revision 1.2 by gbeauche, 2002-09-16T13:28:17Z

# Line 26 | Line 26 | fi
26   AC_SUBST(GNOMEUI_CFLAGS)
27   AC_SUBST(GNOMEUI_LIBS)  
28   ])
29
30
31 dnl Check for socklen_t type
32
33 AC_DEFUN(TYPE_SOCKLEN_T,
34 [AC_REQUIRE([AC_HEADER_STDC])dnl
35 AC_MSG_CHECKING(for socklen_t)
36 AC_CACHE_VAL(ac_cv_type_socklen_t,
37 [AC_EGREP_CPP(dnl
38 changequote(<<,>>)dnl
39 <<(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]>>dnl
40 changequote([,]), [#include <sys/types.h>
41 #include <sys/socket.h>], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no)])dnl
42 AC_MSG_RESULT($ac_cv_type_socklen_t)
43 if test $ac_cv_type_socklen_t = no; then
44  AC_DEFINE(socklen_t, int)
45 fi
46 ])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines