Blob Blame History Raw
--- ./configure.in.orig	2012-01-09 20:51:43.102828225 -0700
+++ ./configure.in	2012-01-09 20:53:17.237845506 -0700
@@ -1624,7 +1624,7 @@
 
 #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([[
 	#include <signal.h>
@@ -1649,6 +1649,7 @@
              #include <asm/sigcontext.h>
              #endif
              #ifdef HAVE_ASM_SIGNAL_H          
+             #define __ASSEMBLY__
              #include <asm/signal.h>
              #endif
           ]],
--- ./configure.orig	2012-01-09 20:51:54.679584389 -0700
+++ ./configure	2012-01-09 20:53:37.292423109 -0700
@@ -8230,7 +8230,8 @@
 
 	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
@@ -8283,6 +8284,7 @@
              #include <asm/sigcontext.h>
              #endif
              #ifdef HAVE_ASM_SIGNAL_H
+             #define __ASSEMBLY__
              #include <asm/signal.h>
              #endif