Blob Blame History Raw
--- configure.in.orig	2019-04-17 20:22:14.506910168 -0600
+++ configure.in	2019-04-17 20:28:21.673843068 -0600
@@ -1852,7 +1852,7 @@ AC_CHECK_HEADERS(dis-asm.h,
 
 #if test $use = "386-linux" ; then
 AC_CHECK_HEADERS(asm/sigcontext.h)
-AC_CHECK_HEADERS(asm/signal.h)
+AC_CHECK_HEADERS(asm/signal.h, [], [], [#define __ASSEMBLY__])
 AC_MSG_CHECKING([for sigcontext])
 AC_COMPILE_IFELSE(
     [AC_LANG_PROGRAM(
@@ -1874,6 +1874,7 @@ AC_COMPILE_IFELSE(
 		     #include <asm/sigcontext.h>
 		     #endif
 		     #ifdef HAVE_ASM_SIGNAL_H          
+		     #define __ASSEMBLY__
 		     #include <asm/signal.h>
 		     #endif
 		 ]],
--- configure.orig	2019-04-17 20:22:22.321887572 -0600
+++ configure	2019-04-17 20:28:21.676843059 -0600
@@ -9180,7 +9180,8 @@ done
 
 for ac_header in asm/signal.h
 do :
-  ac_fn_c_check_header_mongrel "$LINENO" "asm/signal.h" "ac_cv_header_asm_signal_h" "$ac_includes_default"
+  ac_fn_c_check_header_compile "$LINENO" "asm/signal.h" "ac_cv_header_asm_signal_h" "#define __ASSEMBLY__
+"
 if test "x$ac_cv_header_asm_signal_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ASM_SIGNAL_H 1
@@ -9226,6 +9227,7 @@ $as_echo_n "checking for sigcontext... "
 		     #include <asm/sigcontext.h>
 		     #endif
 		     #ifdef HAVE_ASM_SIGNAL_H
+		     #define __ASSEMBLY__
 		     #include <asm/signal.h>
 		     #endif