2b15d05
--- gcl/configure.in.orig	2020-01-31 12:04:01.275571834 -0700
2b15d05
+++ gcl/configure.in	2020-01-31 12:05:00.048631346 -0700
2b15d05
@@ -1853,7 +1853,7 @@ AC_CHECK_HEADERS(dis-asm.h,
9eb0e10
 
9eb0e10
 #if test $use = "386-linux" ; then
385abae
 AC_CHECK_HEADERS(asm/sigcontext.h)
385abae
-AC_CHECK_HEADERS(asm/signal.h)
385abae
+AC_CHECK_HEADERS(asm/signal.h, [], [], [#define __ASSEMBLY__])
385abae
 AC_MSG_CHECKING([for sigcontext])
385abae
 AC_COMPILE_IFELSE(
385abae
     [AC_LANG_PROGRAM(
2b15d05
@@ -1875,6 +1875,7 @@ AC_COMPILE_IFELSE(
385abae
 		     #include <asm/sigcontext.h>
385abae
 		     #endif
385abae
 		     #ifdef HAVE_ASM_SIGNAL_H          
385abae
+		     #define __ASSEMBLY__
385abae
 		     #include <asm/signal.h>
385abae
 		     #endif
385abae
 		 ]],
2b15d05
--- gcl/configure.orig	2020-01-31 12:04:01.274571850 -0700
2b15d05
+++ gcl/configure	2020-01-31 12:05:00.051631298 -0700
2b15d05
@@ -9181,7 +9181,8 @@ done
4b6dc23
 
385abae
 for ac_header in asm/signal.h
7fc6c88
 do :
7fc6c88
-  ac_fn_c_check_header_mongrel "$LINENO" "asm/signal.h" "ac_cv_header_asm_signal_h" "$ac_includes_default"
7fc6c88
+  ac_fn_c_check_header_compile "$LINENO" "asm/signal.h" "ac_cv_header_asm_signal_h" "#define __ASSEMBLY__
7fc6c88
+"
7fc6c88
 if test "x$ac_cv_header_asm_signal_h" = xyes; then :
7fc6c88
   cat >>confdefs.h <<_ACEOF
7fc6c88
 #define HAVE_ASM_SIGNAL_H 1
2b15d05
@@ -9227,6 +9228,7 @@ $as_echo_n "checking for sigcontext... "
385abae
 		     #include <asm/sigcontext.h>
385abae
 		     #endif
385abae
 		     #ifdef HAVE_ASM_SIGNAL_H
385abae
+		     #define __ASSEMBLY__
385abae
 		     #include <asm/signal.h>
385abae
 		     #endif
4b6dc23