1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r8306: some more heimdal configure checks

(This used to be commit 575413fc86)
This commit is contained in:
Andrew Tridgell 2005-07-11 02:34:23 +00:00 committed by Gerald (Jerry) Carter
parent 2b89817e46
commit 76478d7eb1
4 changed files with 7 additions and 3 deletions

View File

@ -80,7 +80,7 @@ AC_DIRENT_D_OFF
AC_CHECK_TYPE(ino_t,unsigned)
AC_CHECK_TYPE(loff_t,off_t)
AC_CHECK_TYPE(offset_t,loff_t)
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPES(ssize_t)
AC_CHECK_TYPES(intptr_t)

View File

@ -10,7 +10,6 @@ ET_COMPILE=$TOP/bin/compile_et
# we need to substitute these correctly based on configure output
FLEX=flex
BISON=bison
AWK=gawk
CC=gcc
build_asn1() {

View File

@ -3,7 +3,8 @@ AC_CHECK_HEADERS(sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h)
AC_CHECK_HEADERS(sys/utsname.h termcap.h term.h timezone.h time.h ttyname.h netdb.h)
AC_CHECK_FUNCS(setitimer uname umask unsetenv socket sendmsg putenv atexit strsep)
AC_CHECK_FUNCS(strlwr strncasecmp strptime strsep_copy strtok_r strupr swab)
AC_CHECK_FUNCS(strlwr strncasecmp strptime strsep_copy strtok_r strupr swab writev readv)
AC_CHECK_FUNCS(inet_ntop)
AC_CHECK_DECL(h_errno,
[AC_DEFINE(HAVE_DECL_H_ERRNO,1,whether h_errno is declared)], [], [

View File

@ -197,6 +197,10 @@ extern int DEBUGLEVEL;
#endif
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
#ifndef HAVE_SSIZE_T
#define ssize_t int
#endif
/*
type safe varient of smb_xmalloc()
*/