Suggested by vtorri
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@63987
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
### Checks for header files
-AC_CHECK_HEADERS([sys/select.h])
+AC_CHECK_HEADERS([sys/select.h sys/prctl.h])
EFL_CHECK_PATH_MAX
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
-#ifdef __linux__
+
+#ifdef HAVE_SYS_PRCTL_H
# include <sys/prctl.h>
#endif
}
}
-#ifdef __linux__
+#ifdef HAVE_SYS_PRCTL_H
if ((flags & ECORE_EXE_TERM_WITH_PARENT))
{
prctl(PR_SET_PDEATHSIG, SIGTERM);