660b8f4
--- ./configure.in.orig	2012-03-28 09:57:37.877068843 -0600
660b8f4
+++ ./configure.in	2012-03-28 09:58:08.359593977 -0600
660b8f4
@@ -1641,7 +1641,7 @@
9eb0e10
 
9eb0e10
 #if test $use = "386-linux" ; then
9eb0e10
 	AC_CHECK_HEADERS(asm/sigcontext.h)
9eb0e10
-	AC_CHECK_HEADERS(asm/signal.h)
9eb0e10
+	AC_CHECK_HEADERS(asm/signal.h, [], [], [#define __ASSEMBLY__])
9eb0e10
 	AC_MSG_CHECKING([for sigcontext])
9eb0e10
 	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
9eb0e10
 	#include <signal.h>
660b8f4
@@ -1666,6 +1666,7 @@
9eb0e10
              #include <asm/sigcontext.h>
9eb0e10
              #endif
9eb0e10
              #ifdef HAVE_ASM_SIGNAL_H          
9eb0e10
+             #define __ASSEMBLY__
9eb0e10
              #include <asm/signal.h>
9eb0e10
              #endif
9eb0e10
           ]],
660b8f4
--- ./configure.orig	2012-03-28 09:57:37.885068193 -0600
660b8f4
+++ ./configure	2012-03-28 09:58:08.366593408 -0600
660b8f4
@@ -8311,7 +8311,8 @@
4b6dc23
 
7fc6c88
 	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
660b8f4
@@ -8364,6 +8365,7 @@
4b6dc23
              #include <asm/sigcontext.h>
4b6dc23
              #endif
4b6dc23
              #ifdef HAVE_ASM_SIGNAL_H
7fc6c88
+             #define __ASSEMBLY__
4b6dc23
              #include <asm/signal.h>
4b6dc23
              #endif
4b6dc23