dnl Nasty hack to get autoconf 2.64 on Linux to run.
dnl all other uses of RUN_IFELSE are wrapped inside CACHE_CHECK which breaks on 2.64
-AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[])
+AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[:])
dnl This is a developer only option.. developers know how to set defines
dnl
}
return 0;
}
- ]])],[ac_cv_epoll_works=yes],[ac_cv_epoll_works=no],[]))
+ ]])],[ac_cv_epoll_works=yes],[ac_cv_epoll_works=no],[:]))
fi
if test "$force_epoll" = "yes" && test "$ac_cv_epoll_works" = "no" ; then
}
return 0;
}
- ]])],[ac_cv_func_setresuid="yes"],[ac_cv_func_setresuid="no"],[])
+ ]])],[ac_cv_func_setresuid="yes"],[ac_cv_func_setresuid="no"],[:])
)
if test "$ac_cv_func_setresuid" = "yes" ; then
AC_DEFINE(HAVE_SETRESUID,1,[Yay! Another Linux brokenness. Its not good enough to know that setresuid() exists, because RedHat 5.0 declare setresuid() but doesn't implement it.])
strnstr(str, "fubar", size);
return 0;
}
- ]])],[ac_cv_func_strnstr="yes"],[ac_cv_func_strnstr="no"],[])
+ ]])],[ac_cv_func_strnstr="yes"],[ac_cv_func_strnstr="no"],[:])
)
if test "$ac_cv_func_strnstr" = "yes" ; then
AC_DEFINE(HAVE_STRNSTR,1,[Yay! We have a working strnstr!])
return 0;
}
int main(int argc, char **argv) { return f (0, 42); }
- ]])],[ac_cv_func_va_copy="yes"],[ac_cv_func_va_copy="no"],[])
+ ]])],[ac_cv_func_va_copy="yes"],[ac_cv_func_va_copy="no"],[:])
)
if test "$ac_cv_func_va_copy" = "yes" ; then
AC_DEFINE(HAVE_VA_COPY, 1, [If your system have va_copy])
return 0;
}
int main(int argc, char **argv) { return f (0, 42); }
- ]])],[ac_cv_func___va_copy="yes"],[ac_cv_func___va_copy="no"],[])
+ ]])],[ac_cv_func___va_copy="yes"],[ac_cv_func___va_copy="no"],[:])
)
if test "$ac_cv_func___va_copy" = "yes" ; then
AC_DEFINE(HAVE___VA_COPY, 1, [Some systems have __va_copy instead of va_copy])