1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Enable large file support using AC_SYS_LARGEFILE to get the correct

options on AIX, bug #404.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4472 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-04-29 23:43:17 +00:00 committed by exg
parent f866799bb0
commit 47117f1f5f

View File

@ -31,6 +31,8 @@ AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h sys/resource.h)
# check posix headers.. # check posix headers..
AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h) AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h)
AC_SYS_LARGEFILE
AC_ARG_WITH(socks, AC_ARG_WITH(socks,
[ --with-socks Build with socks support], [ --with-socks Build with socks support],
if test x$withval = xyes; then if test x$withval = xyes; then
@ -204,12 +206,6 @@ AC_ARG_WITH(perl,
fi, fi,
want_perl=static) want_perl=static)
AC_ARG_WITH(file-offset-size,
[ --with-file-offset-size=BITS Set size of file offsets. Usually 32 or 64.
(default: 64 if available)],
preferred_off_t_bits=$withval,
preferred_off_t_bits=64)
AC_ARG_ENABLE(ipv6, AC_ARG_ENABLE(ipv6,
[ --enable-ipv6 Enable IPv6 support], [ --enable-ipv6 Enable IPv6 support],
if test x$enableval = xyes; then if test x$enableval = xyes; then
@ -280,9 +276,6 @@ AC_DEFINE(socklen_t, int, Define to 'int' if <sys/socket.h> doesn't define.)
fi fi
AC_MSG_RESULT($irssi_cv_type_socklen_t) AC_MSG_RESULT($irssi_cv_type_socklen_t)
dnl * off_t checks, try to make it 64bit
AC_DEFINE_UNQUOTED(_FILE_OFFSET_BITS, $preferred_off_t_bits)
AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(long long) AC_CHECK_SIZEOF(long long)