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

Comparing IO-AIO/configure (file contents):
Revision 1.34 by root, Tue Jul 27 07:58:38 2021 UTC vs.
Revision 1.35 by root, Mon Sep 5 08:43:58 2022 UTC

5273printf "%s\n" "$ac_cv_accept4" >&6; } 5273printf "%s\n" "$ac_cv_accept4" >&6; }
5274test $ac_cv_accept4 = yes && 5274test $ac_cv_accept4 = yes &&
5275printf "%s\n" "#define HAVE_ACCEPT4 1" >>confdefs.h 5275printf "%s\n" "#define HAVE_ACCEPT4 1" >>confdefs.h
5276 5276
5277 5277
5278ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default"
5279if test "x$ac_cv_header_sys_mount_h" = xyes
5280then :
5281 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
5282
5283fi
5284
5285{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount/umount" >&5
5286printf %s "checking for mount/umount... " >&6; }
5287if test ${ac_cv_mount+y}
5288then :
5289 printf %s "(cached) " >&6
5290else $as_nop
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292/* end confdefs.h. */
5293
5294#include <sys/mount.h>
5295int main (void)
5296{
5297 int res;
5298 res = mount ("path", "path", "fstype", MS_RDONLY, 0);
5299 res = umount ("path");
5300 return 0;
5301}
5302
5303_ACEOF
5304if ac_fn_c_try_link "$LINENO"
5305then :
5306 ac_cv_mount=yes
5307else $as_nop
5308 ac_cv_mount=no
5309fi
5310rm -f core conftest.err conftest.$ac_objext conftest.beam \
5311 conftest$ac_exeext conftest.$ac_ext
5312fi
5313{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mount" >&5
5314printf "%s\n" "$ac_cv_mount" >&6; }
5315test $ac_cv_mount = yes &&
5316printf "%s\n" "#define HAVE_MOUNT 1" >>confdefs.h
5317
5318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umount2" >&5
5319printf %s "checking for umount2... " >&6; }
5320if test ${ac_cv_umount2+y}
5321then :
5322 printf %s "(cached) " >&6
5323else $as_nop
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325/* end confdefs.h. */
5326
5327#include <sys/mount.h>
5328int main (void)
5329{
5330 int res;
5331 res = umount2 ("path", MNT_FORCE|MNT_DETACH);
5332 return 0;
5333}
5334
5335_ACEOF
5336if ac_fn_c_try_link "$LINENO"
5337then :
5338 ac_cv_umount2=yes
5339else $as_nop
5340 ac_cv_umount2=no
5341fi
5342rm -f core conftest.err conftest.$ac_objext conftest.beam \
5343 conftest$ac_exeext conftest.$ac_ext
5344fi
5345{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_umount2" >&5
5346printf "%s\n" "$ac_cv_umount2" >&6; }
5347test $ac_cv_umount2 = yes &&
5348printf "%s\n" "#define HAVE_UMOUNT2 1" >>confdefs.h
5349
5350
5278cat >confcache <<\_ACEOF 5351cat >confcache <<\_ACEOF
5279# This file is a shell script that caches the results of configure 5352# This file is a shell script that caches the results of configure
5280# tests run on this system so they can be shared between configure 5353# tests run on this system so they can be shared between configure
5281# scripts and configure runs, see configure's option --config-cache. 5354# scripts and configure runs, see configure's option --config-cache.
5282# It is not useful on other systems. If it contains results you don't 5355# It is not useful on other systems. If it contains results you don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines