Blob Blame History Raw
--- configure.orig	2010-12-30 11:26:12.887486517 -0700
+++ configure	2010-12-30 11:34:19.000000000 -0700
@@ -8130,7 +8130,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
@@ -8183,6 +8184,7 @@ $as_echo_n "checking for sigcontext... "
              #include <asm/sigcontext.h>
              #endif
              #ifdef HAVE_ASM_SIGNAL_H
+             #define __ASSEMBLY__
              #include <asm/signal.h>
              #endif
 
--- configure.in.orig	2010-12-30 11:26:02.886682117 -0700
+++ configure.in	2010-12-30 11:31:34.000000000 -0700
@@ -1592,7 +1592,7 @@ AC_MSG_RESULT(no))
 
 #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>
@@ -1616,7 +1616,8 @@ AC_MSG_RESULT(no))
              #ifdef HAVE_ASM_SIGCONTEXT_H     
              #include <asm/sigcontext.h>
              #endif
-             #ifdef HAVE_ASM_SIGNAL_H          
+             #ifdef HAVE_ASM_SIGNAL_H
+             #define __ASSEMBLY__
              #include <asm/signal.h>
              #endif
           ]],