mirror of git://anongit.mindrot.org/openssh.git
- Detect missing size_t and typedef it.
This commit is contained in:
parent
ac3a4b4a96
commit
9505851f31
|
@ -8,6 +8,7 @@
|
|||
Nalin Dahyabhai <nalin@thermo.stat.ncsu.edu>
|
||||
- Calls to pam_setcred, patch from Nalin Dahyabhai
|
||||
<nalin@thermo.stat.ncsu.edu>
|
||||
- Detect missing size_t and typedef it.
|
||||
|
||||
19991228
|
||||
- Replacement for getpagesize() for systems which lack it
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
#undef HAVE_U_INTXX_T
|
||||
#undef HAVE_UINTXX_T
|
||||
#undef HAVE_SOCKLEN_T
|
||||
#undef HAVE_SIZE_T
|
||||
|
||||
/* Define if you have /dev/ptmx */
|
||||
#undef HAVE_DEV_PTMX
|
||||
|
|
12
configure.in
12
configure.in
|
@ -192,6 +192,18 @@ AC_TRY_COMPILE(
|
|||
[AC_MSG_RESULT(no)]
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([For size_t])
|
||||
AC_TRY_COMPILE(
|
||||
[#include <sys/types.h>],
|
||||
[#include <sys/socket.h>],
|
||||
[size_t foo; foo = 1235;],
|
||||
[
|
||||
AC_DEFINE(HAVE_SIZE_T)
|
||||
AC_MSG_RESULT(yes)
|
||||
],
|
||||
[AC_MSG_RESULT(no)]
|
||||
)
|
||||
|
||||
AC_ARG_WITH(pam,
|
||||
[ --without-pam Disable PAM support ],
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue