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

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

269 return 0; 269 return 0;
270} 270}
271]])],ac_cv_accept4=yes,ac_cv_accept4=no)]) 271]])],ac_cv_accept4=yes,ac_cv_accept4=no)])
272test $ac_cv_accept4 = yes && AC_DEFINE(HAVE_ACCEPT4, 1, accept4(2) is available) 272test $ac_cv_accept4 = yes && AC_DEFINE(HAVE_ACCEPT4, 1, accept4(2) is available)
273 273
274AC_CHECK_HEADERS([sys/mount.h])
275AC_CACHE_CHECK(for mount/umount, ac_cv_mount, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
276#include <sys/mount.h>
277int main (void)
278{
279 int res;
280 res = mount ("path", "path", "fstype", MS_RDONLY, 0);
281 res = umount ("path");
282 return 0;
283}
284]])],ac_cv_mount=yes,ac_cv_mount=no)])
285test $ac_cv_mount = yes && AC_DEFINE(HAVE_MOUNT, 1, mount/umount are available)
286AC_CACHE_CHECK(for umount2, ac_cv_umount2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
287#include <sys/mount.h>
288int main (void)
289{
290 int res;
291 res = umount2 ("path", MNT_FORCE|MNT_DETACH);
292 return 0;
293}
294]])],ac_cv_umount2=yes,ac_cv_umount2=no)])
295test $ac_cv_umount2 = yes && AC_DEFINE(HAVE_UMOUNT2, 1, umount2 is available)
296
274AC_OUTPUT 297AC_OUTPUT
275 298

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines