Blame gcl-2.6.11-asm-signal-h.patch
|
Jerry James |
b08b3a4 |
--- configure.in.orig 2014-09-06 20:00:00.000000000 -0600
|
|
Jerry James |
b08b3a4 |
+++ configure.in 2014-09-06 20:00:00.000000000 -0600
|
|
Jerry James |
b08b3a4 |
@@ -2490,7 +2490,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>
|
|
Jerry James |
b08b3a4 |
@@ -2515,6 +2515,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 |
]],
|
|
Jerry James |
b08b3a4 |
--- configure.orig 2014-09-06 20:00:00.000000000 -0600
|
|
Jerry James |
b08b3a4 |
+++ configure 2014-09-06 20:00:00.000000000 -0600
|
|
Jerry James |
b08b3a4 |
@@ -9573,7 +9573,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
|
|
Jerry James |
b08b3a4 |
@@ -9627,6 +9628,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 |
|