Changeset 2553 for zzuf/trunk/configure.ac
- Timestamp:
- Jul 16, 2008, 11:37:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r2552 r2553 68 68 AC_DEFINE_UNQUOTED(RECV_T, $ac_v_recv_t, [Define to the recv() return type]) 69 69 70 AC_MSG_CHECKING(for FILE* internal members) 71 ac_v_fp_cnt="unknown" 72 ac_v_fp_ptr="unknown" 73 AC_TRY_COMPILE([#include <stdio.h>], 74 [FILE *fp; fp->__cnt++; fp->__ptr++], 75 [ac_v_fp_cnt=__cnt; ac_v_fp_ptr=__ptr]) 76 AC_TRY_COMPILE([#include <stdio.h>], 77 [FILE *fp; fp->_cnt++; fp->_ptr++], 78 [ac_v_fp_cnt=_cnt; ac_v_fp_ptr=_ptr]) 79 AC_TRY_COMPILE([#include <stdio.h>], 80 [FILE *fp; fp->_c++; fp->_p++], 81 [ac_v_fp_cnt=_c; ac_v_fp_ptr=_p]) 82 AC_MSG_RESULT($ac_v_fp_cnt/$ac_v_fp_ptr) 83 AC_DEFINE_UNQUOTED(FILE_CNT, $ac_v_fp_cnt, [Define to the FILE::cnt member name]) 84 AC_DEFINE_UNQUOTED(FILE_PTR, $ac_v_fp_ptr, [Define to the FILE::ptr member name]) 85 70 86 AC_MSG_CHECKING(for pragma INIT/FINI) 71 87 AC_TRY_COMPILE([],
Note: See TracChangeset
for help on using the changeset viewer.