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

Comparing IO-AIO/configure (file contents):
Revision 1.35 by root, Mon Sep 5 08:43:58 2022 UTC vs.
Revision 1.36 by root, Sun Sep 25 16:35:51 2022 UTC

5252 5252
5253#include <sys/types.h> 5253#include <sys/types.h>
5254#include <sys/socket.h> 5254#include <sys/socket.h>
5255int main (void) 5255int main (void)
5256{ 5256{
5257 int res;
5258 res = accept4 (1, (struct sockaddr *)0, (socklen_t)0, SOCK_NONBLOCK | SOCK_CLOEXEC); 5257 int res = accept4 (1, (struct sockaddr *)0, (socklen_t)0, SOCK_NONBLOCK | SOCK_CLOEXEC);
5259 return 0; 5258 return 0;
5260} 5259}
5261 5260
5262_ACEOF 5261_ACEOF
5263if ac_fn_c_try_link "$LINENO" 5262if ac_fn_c_try_link "$LINENO"
5280then : 5279then :
5281 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h 5280 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
5282 5281
5283fi 5282fi
5284 5283
5285{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount/umount" >&5 5284{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount" >&5
5286printf %s "checking for mount/umount... " >&6; } 5285printf %s "checking for mount... " >&6; }
5287if test ${ac_cv_mount+y} 5286if test ${ac_cv_mount+y}
5288then : 5287then :
5289 printf %s "(cached) " >&6 5288 printf %s "(cached) " >&6
5290else $as_nop 5289else $as_nop
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292/* end confdefs.h. */ 5291/* end confdefs.h. */
5293 5292
5294#include <sys/mount.h> 5293#include <sys/mount.h>
5295int main (void) 5294int main (void)
5296{ 5295{
5297 int res;
5298 res = mount ("path", "path", "fstype", MS_RDONLY, 0); 5296 int res = mount ("path", "path", "fstype", MS_RDONLY, 0);
5299 res = umount ("path");
5300 return 0; 5297 return 0;
5301} 5298}
5302 5299
5303_ACEOF 5300_ACEOF
5304if ac_fn_c_try_link "$LINENO" 5301if ac_fn_c_try_link "$LINENO"
5313{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mount" >&5 5310{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mount" >&5
5314printf "%s\n" "$ac_cv_mount" >&6; } 5311printf "%s\n" "$ac_cv_mount" >&6; }
5315test $ac_cv_mount = yes && 5312test $ac_cv_mount = yes &&
5316printf "%s\n" "#define HAVE_MOUNT 1" >>confdefs.h 5313printf "%s\n" "#define HAVE_MOUNT 1" >>confdefs.h
5317 5314
5315{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umount" >&5
5316printf %s "checking for umount... " >&6; }
5317if test ${ac_cv_umount+y}
5318then :
5319 printf %s "(cached) " >&6
5320else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322/* end confdefs.h. */
5323
5324#include <sys/mount.h>
5325int main (void)
5326{
5327 int res = umount ("path");
5328 return 0;
5329}
5330
5331_ACEOF
5332if ac_fn_c_try_link "$LINENO"
5333then :
5334 ac_cv_umount=yes
5335else $as_nop
5336 ac_cv_umount=no
5337fi
5338rm -f core conftest.err conftest.$ac_objext conftest.beam \
5339 conftest$ac_exeext conftest.$ac_ext
5340fi
5341{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_umount" >&5
5342printf "%s\n" "$ac_cv_umount" >&6; }
5343test $ac_cv_umount = yes &&
5344printf "%s\n" "#define HAVE_UMOUNT 1" >>confdefs.h
5345
5318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umount2" >&5 5346{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umount2" >&5
5319printf %s "checking for umount2... " >&6; } 5347printf %s "checking for umount2... " >&6; }
5320if test ${ac_cv_umount2+y} 5348if test ${ac_cv_umount2+y}
5321then : 5349then :
5322 printf %s "(cached) " >&6 5350 printf %s "(cached) " >&6
5325/* end confdefs.h. */ 5353/* end confdefs.h. */
5326 5354
5327#include <sys/mount.h> 5355#include <sys/mount.h>
5328int main (void) 5356int main (void)
5329{ 5357{
5330 int res;
5331 res = umount2 ("path", MNT_FORCE|MNT_DETACH); 5358 int res = umount2 ("path", MNT_FORCE|MNT_DETACH);
5332 return 0; 5359 return 0;
5333} 5360}
5334 5361
5335_ACEOF 5362_ACEOF
5336if ac_fn_c_try_link "$LINENO" 5363if ac_fn_c_try_link "$LINENO"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines