configure: don't check for functions that aren't used anywhere
authorTim-Philipp Müller <tim@centricular.com>
Mon, 9 Apr 2018 18:14:05 +0000 (19:14 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 9 Apr 2018 18:47:26 +0000 (19:47 +0100)
And remove some unneeded includes.

configure.ac
orc/orccpu-arm.c
orc/orccpu-x86.c

index 8ff01f4..c32970d 100644 (file)
@@ -65,8 +65,6 @@ AC_CHECK_HEADERS([sys/time.h])
 AC_CHECK_HEADERS([unistd.h])
 
 AC_CHECK_FUNCS([gettimeofday])
-AC_CHECK_FUNCS([sigaction])
-AC_CHECK_FUNCS([sigsetjmp])
 
 AC_CHECK_LIBM
 AC_SUBST(LIBM)
index 77ff595..fd01c3a 100644 (file)
@@ -37,8 +37,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <setjmp.h>
-#include <signal.h>
 #include <sys/time.h>
 #include <time.h>
 #if defined(__linux__)
index 03dbcb0..3b00736 100644 (file)
@@ -40,8 +40,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <setjmp.h>
-#include <signal.h>
 #include <time.h>