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.20 by root, Wed Sep 28 08:24:25 2022 UTC vs.
Revision 1.21 by root, Thu Dec 14 10:08:20 2023 UTC

78AC_CACHE_CHECK(for fexecve, ac_cv_fexecve, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 78AC_CACHE_CHECK(for fexecve, ac_cv_fexecve, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
79#include <fcntl.h> 79#include <fcntl.h>
80#include <unistd.h> 80#include <unistd.h>
81int main (void) 81int main (void)
82{ 82{
83 char *const argv[] = { "foo", "bar", 0 };
83 int res = fexecve (-1, "argv", 0); 84 int res = fexecve (-1, argv, 0);
84 return 0; 85 return 0;
85} 86}
86]])],ac_cv_fexecve=yes,ac_cv_fexecve=no)]) 87]])],ac_cv_fexecve=yes,ac_cv_fexecve=no)])
87test $ac_cv_fexecve = yes && AC_DEFINE(HAVE_FEXECVE, 1, fexecve(2) is available) 88test $ac_cv_fexecve = yes && AC_DEFINE(HAVE_FEXECVE, 1, fexecve(2) is available)
88 89

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines