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

Comparing IO-AIO/configure (file contents):
Revision 1.12 by root, Sun Jul 24 03:32:52 2011 UTC vs.
Revision 1.14 by root, Fri Apr 6 11:39:25 2012 UTC

3172fi 3172fi
3173 3173
3174done 3174done
3175 3175
3176 3176
3177for ac_header in linux/fs.h linux/fiemap.h
3178do :
3179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3180ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3181if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3182 cat >>confdefs.h <<_ACEOF
3183#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3184_ACEOF
3185
3186fi
3187
3188done
3189
3190
3177for ac_header in stdint.h sys/syscall.h 3191for ac_header in stdint.h sys/syscall.h sys/prctl.h
3178do : 3192do :
3179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3180ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3194ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3181if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3195if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3182 cat >>confdefs.h <<_ACEOF 3196 cat >>confdefs.h <<_ACEOF
3563fi 3577fi
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5
3565$as_echo "$ac_cv_sys_syncfs" >&6; } 3579$as_echo "$ac_cv_sys_syncfs" >&6; }
3566test $ac_cv_sys_syncfs = yes && 3580test $ac_cv_sys_syncfs = yes &&
3567$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h 3581$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h
3582
3583
3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5
3585$as_echo_n "checking for prctl_set_name... " >&6; }
3586if test "${ac_cv_prctl_set_name+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3588else
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590/* end confdefs.h. */
3591
3592#include <sys/prctl.h>
3593int main (void)
3594{
3595 char name = "test123";
3596 int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0);
3597}
3598
3599_ACEOF
3600if ac_fn_c_try_link "$LINENO"; then :
3601 ac_cv_prctl_set_name=yes
3602else
3603 ac_cv_prctl_set_name=no
3604fi
3605rm -f core conftest.err conftest.$ac_objext \
3606 conftest$ac_exeext conftest.$ac_ext
3607fi
3608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5
3609$as_echo "$ac_cv_prctl_set_name" >&6; }
3610test $ac_cv_prctl_set_name = yes &&
3611$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h
3568 3612
3569 3613
3570 3614
3571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
3572$as_echo_n "checking for posix_madvise... " >&6; } 3616$as_echo_n "checking for posix_madvise... " >&6; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines