From 3b6fdddfa1478eb0762ab627057b8ac5bf231fe1 Mon Sep 17 00:00:00 2001 From: Alexei Svitkine Date: Sun, 12 Aug 2012 13:01:55 -0400 Subject: [PATCH] Use a diff var name in configure.ac to avoid erroneous caching. --- BasiliskII/src/Unix/configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BasiliskII/src/Unix/configure.ac b/BasiliskII/src/Unix/configure.ac index a76ff815..ab800984 100644 --- a/BasiliskII/src/Unix/configure.ac +++ b/BasiliskII/src/Unix/configure.ac @@ -1130,7 +1130,7 @@ AC_TRANSLATE_DEFINE(HAVE_WIN32_EXCEPTIONS, "$ac_cv_have_win32_exceptions", dnl Otherwise, check if extended signals are supported with . if [[ -z "$sigsegv_recovery" ]]; then AC_CACHE_CHECK([whether your system supports extended signal handlers via asm], - ac_cv_have_extended_signals, [ + ac_cv_have_asm_extended_signals, [ AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_TRY_RUN([ @@ -1144,22 +1144,22 @@ if [[ -z "$sigsegv_recovery" ]]; then #include "sigsegv.cpp" ], [ sigsegv_recovery=siginfo - ac_cv_have_extended_signals=yes + ac_cv_have_asm_extended_signals=yes ], - ac_cv_have_extended_signals=no, + ac_cv_have_asm_extended_signals=no, dnl When cross-compiling, do not assume anything. - ac_cv_have_extended_signals=no + ac_cv_have_asm_extended_signals=no ) AC_LANG_RESTORE ] ) - AC_TRANSLATE_DEFINE(HAVE_ASM_UCONTEXT, "$ac_cv_have_extended_signals", + AC_TRANSLATE_DEFINE(HAVE_ASM_UCONTEXT, "$ac_cv_have_asm_extended_signals", [Define if your system has header.]) - AC_TRANSLATE_DEFINE(HAVE_SIGINFO_T, "$ac_cv_have_extended_signals", + AC_TRANSLATE_DEFINE(HAVE_SIGINFO_T, "$ac_cv_have_asm_extended_signals", [Define if your system supports extended signals.]) fi -if [[ -z "$sigsegv_recovery" -a "x$ac_cv_have_extended_signals" != "xyes" ]]; then +if [[ -z "$sigsegv_recovery" ]]; then AC_CACHE_CHECK([whether your system supports extended signal handlers], ac_cv_have_extended_signals, [ AC_LANG_SAVE