Blame gcl-2.6.8-asm-signal-h.patch
|
Jerry James |
bcc1d6c |
--- configure.in.orig 2013-08-26 14:14:39.000000000 -0600
|
|
Jerry James |
bcc1d6c |
+++ configure.in 2013-08-26 14:17:25.000000000 -0600
|
|
Jerry James |
bcc1d6c |
@@ -1649,7 +1649,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 |
bcc1d6c |
@@ -1674,6 +1674,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 |
bcc1d6c |
--- configure.orig 2013-08-26 14:14:55.000000000 -0600
|
|
Jerry James |
bcc1d6c |
+++ configure 2013-08-26 14:17:35.000000000 -0600
|
|
Jerry James |
bcc1d6c |
@@ -8365,7 +8365,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 |
bcc1d6c |
@@ -8418,6 +8419,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 |
|