# AX_CHECK_SOCK_CLOEXEC([action-if-found], [action-if-not-found])
#
-#serial 1
+#serial 2
AC_DEFUN([AX_CHECK_SOCK_CLOEXEC], [
AC_CACHE_CHECK([whether SOCK_CLOEXEC is supported], [ax_cv_sock_cloexec], [
return (s == -1);
])],
[ax_cv_sock_cloexec=yes],
- [ax_cv_sock_cloexec=no])
+ [ax_cv_sock_cloexec=no],
+ [AC_MSG_WARN([test program execution failed])])
])
AS_IF([test x"ax_cv_sock_cloexec" = xyes], [AC_MSG_RESULT([yes]) ; $1], AC_MSG_RESULT([no]) ; $2)