Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
fbe632e2
...
fbe632e2847e704d8bd79b39d0b4ea110a6b2cf8
authored
2002-08-25 12:48:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added check for socklen_t
1 parent
ad4546d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
configure.ac
configure.ac
View file @
fbe632e
...
...
@@ -163,9 +163,9 @@ AC_HEADER_STDC
AC_HEADER_DIRENT
AM_C_PROTOTYPES
AC_CHECK_HEADERS(argp.h errno.h fcntl.h inttypes.h libgen.h limits.h malloc.h \
paths.h shadow.h s
tdarg.h stdio.h stdlib.h string.h strings.h sys/file
.h \
s
ysexits.h syslog.h termios.h termio.h sgtty.h utmp.h utmpx.h unistd.h obstack
.h \
termcap.h)
paths.h shadow.h s
ocket.h sys/socket.h stdarg.h stdio.h stdlib.h string
.h \
s
trings.h sys/file.h sysexits.h syslog.h termios.h termio.h sgtty.h utmp
.h \
utmpx.h unistd.h obstack.h
termcap.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
...
...
@@ -174,12 +174,24 @@ AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_CHECK_TYPE(ssize_t,
int
)
AC_CHECK_TYPE(ssize_t,
, AC_DEFINE(ssize_t, int, [Define to int if <sys/types.h> does not define])
)
AC_TYPE_SIGNAL
AC_DECL_SYS_SIGLIST
AC_STRUCT_TIMEZONE
AC_CHECK_TYPE(ino_t, unsigned long)
AC_CHECK_TYPE(dev_t, unsigned long)
AC_CHECK_TYPE(ino_t, , AC_DEFINE(ino_t, unsigned long, [Define to unsigned long if <sys/types.h> does not define]))
AC_CHECK_TYPE(dev_t, , AC_DEFINE(dev_t, unsigned long, [Define to unsigned long if <sys/types.h> does not define]))
AC_CHECK_TYPE(socklen_t, , AC_DEFINE(socklen_t, int, [Define to int if <sys/types.h> does not define]),
[
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SOCKET_H
# include <socket.h>
#endif
])
AC_STRUCT_TM
AC_CHECK_MEMBERS([struct tm.tm_zone, struct tm.tm_gmtoff, struct tm.tm_isdst],
...
...
Please
register
or
sign in
to post a comment