Changeset 2569 for zzuf/trunk/configure.ac
- Timestamp:
- Jul 18, 2008, 11:28:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r2562 r2569 40 40 41 41 AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe) 42 AC_CHECK_FUNCS(open64 __open64 lseek64 __lseek64 mmap64 fopen64 __fopen64 freopen64 __freopen64 dup dup2 fseeko fseeko64 __fseeko64 fsetpos64 __fsetpos64 _IO_getc getline getdelim __getdelim fgetln __srefill __filbuf map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked)42 AC_CHECK_FUNCS(open64 __open64 lseek64 __lseek64 mmap64 fopen64 __fopen64 freopen64 __freopen64 dup dup2 fseeko fseeko64 __fseeko64 fsetpos64 __fsetpos64 _IO_getc getline getdelim __getdelim fgetln __srefill __filbuf __srget map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked) 43 43 44 44 AC_CHECK_TYPES(sighandler_t, [], [], … … 74 74 AC_TRY_COMPILE([#include <stdio.h>], 75 75 [FILE *fp; fp->__cnt++; fp->__ptr++], 76 [ac_v_fp_cnt=__cnt; ac_v_fp_ptr=__ptr]) 77 AC_TRY_COMPILE([#include <stdio.h>], 78 [FILE *fp; fp->_cnt++; fp->_ptr++], 79 [ac_v_fp_cnt=_cnt; ac_v_fp_ptr=_ptr]) 80 AC_TRY_COMPILE([#include <stdio.h>], 81 [FILE *fp; fp->_c++; fp->_p++], 82 [ac_v_fp_cnt=_c; ac_v_fp_ptr=_p]) 76 [ac_v_fp_cnt=__cnt; ac_v_fp_ptr=__ptr], 77 [AC_TRY_COMPILE([#include <stdio.h>], 78 [FILE *fp; fp->_cnt++; fp->_ptr++], 79 [ac_v_fp_cnt=_cnt; ac_v_fp_ptr=_ptr], 80 [AC_TRY_COMPILE([#include <stdio.h>], 81 [FILE *fp; fp->_c++; fp->_p++], 82 [ac_v_fp_cnt=_c; ac_v_fp_ptr=_p], 83 [AC_TRY_COMPILE([#include <stdio.h>], 84 [FILE *fp; fp->_r++; fp->_p++], 85 [ac_v_fp_cnt=_r; ac_v_fp_ptr=_p])])])]) 83 86 AC_MSG_RESULT($ac_v_fp_cnt/$ac_v_fp_ptr) 84 87 AC_DEFINE_UNQUOTED(FILE_CNT, $ac_v_fp_cnt, [Define to the FILE::cnt member name])
Note: See TracChangeset
for help on using the changeset viewer.