git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@63463
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
### Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([unistd.h stdint.h sys/param.h netinet/in.h])
-
EFL_CHECK_PATH_MAX
### Checks for types
+AC_CHECK_TYPES([struct sigaction], [], [],
+ [[#include <signal.h>]])
### Checks for structures
### Checks for library functions
AC_ISC_POSIX
+AC_CHECK_FUNCS([siglongjmp])
# alloca
AC_FUNC_ALLOCA
#include "evas_mmx.h"
#endif
-#ifndef _WIN32
+#if defined (HAVE_STRUCT_SIGACTION) && defined (HAVE_SIGLONGJMP)
#include <signal.h>
#include <setjmp.h>
#include <errno.h>
static int cpu_feature_mask = 0;
-#ifndef _WIN32
+#if defined (HAVE_STRUCT_SIGACTION) && defined (HAVE_SIGLONGJMP)
static void evas_common_cpu_catch_ill(int sig);
static void evas_common_cpu_catch_segv(int sig);
int
evas_common_cpu_feature_test(void (*feature)(void))
{
-#ifndef _WIN32
+#if defined (HAVE_STRUCT_SIGACTION) && defined (HAVE_SIGLONGJMP)
int enabled = 1;
struct sigaction act, oact, oact2;