ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
(Generate patch)

Comparing IO-AIO/configure (file contents):
Revision 1.11 by root, Thu Jul 7 22:37:11 2011 UTC vs.
Revision 1.12 by root, Sun Jul 24 03:32:52 2011 UTC

3172fi 3172fi
3173 3173
3174done 3174done
3175 3175
3176 3176
3177for ac_header in stdint.h 3177for ac_header in stdint.h sys/syscall.h
3178do : 3178do :
3179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3179 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 3180ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3180if test "x$ac_cv_header_stdint_h" = x""yes; then : 3181if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3181 cat >>confdefs.h <<_ACEOF 3182 cat >>confdefs.h <<_ACEOF
3182#define HAVE_STDINT_H 1 3183#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3183_ACEOF 3184_ACEOF
3184 3185
3185fi 3186fi
3186 3187
3187done 3188done
3532fi 3533fi
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 3534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5
3534$as_echo "$ac_cv_fallocate" >&6; } 3535$as_echo "$ac_cv_fallocate" >&6; }
3535test $ac_cv_fallocate = yes && 3536test $ac_cv_fallocate = yes &&
3536$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h 3537$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
3538
3539
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5
3541$as_echo_n "checking for sys_syncfs... " >&6; }
3542if test "${ac_cv_sys_syncfs+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3544else
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546/* end confdefs.h. */
3547
3548#include <unistd.h>
3549#include <sys/syscall.h>
3550int main (void)
3551{
3552 int res = syscall (__NR_syncfs, (int)0);
3553}
3554
3555_ACEOF
3556if ac_fn_c_try_link "$LINENO"; then :
3557 ac_cv_sys_syncfs=yes
3558else
3559 ac_cv_sys_syncfs=no
3560fi
3561rm -f core conftest.err conftest.$ac_objext \
3562 conftest$ac_exeext conftest.$ac_ext
3563fi
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5
3565$as_echo "$ac_cv_sys_syncfs" >&6; }
3566test $ac_cv_sys_syncfs = yes &&
3567$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h
3537 3568
3538 3569
3539 3570
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 3571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
3541$as_echo_n "checking for posix_madvise... " >&6; } 3572$as_echo_n "checking for posix_madvise... " >&6; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines