aboutsummaryrefslogtreecommitdiff
path: root/emulators/basiliskII/files/patch-src-Unix-configure
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/basiliskII/files/patch-src-Unix-configure')
-rw-r--r--emulators/basiliskII/files/patch-src-Unix-configure131
1 files changed, 131 insertions, 0 deletions
diff --git a/emulators/basiliskII/files/patch-src-Unix-configure b/emulators/basiliskII/files/patch-src-Unix-configure
new file mode 100644
index 000000000000..362d4febcd39
--- /dev/null
+++ b/emulators/basiliskII/files/patch-src-Unix-configure
@@ -0,0 +1,131 @@
+--- configure.orig Mon May 1 15:31:31 2006
++++ configure Wed Nov 22 22:08:45 2006
+@@ -23521,69 +23521,69 @@
+ if [ -z "$sigsegv_recovery" ]; then
+ echo "$as_me:$LINENO: checking whether your system supports extended signal handlers" >&5
+ echo $ECHO_N "checking whether your system supports extended signal handlers... $ECHO_C" >&6
+-if test "${ac_cv_have_extended_signals+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-
+-
+- ac_ext=cc
+-ac_cpp='$CXXCPP $CPPFLAGS'
+-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+-
+- if test "$cross_compiling" = yes; then
+- ac_cv_have_extended_signals=no
+-
+-else
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+- #define HAVE_SIGINFO_T 1
+- #define CONFIGURE_TEST_SIGSEGV_RECOVERY
+- #include "vm_alloc.cpp"
+- #include "sigsegv.cpp"
+-
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+- (eval $ac_link) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
++#if test "${ac_cv_have_extended_signals+set}" = set; then
++# echo $ECHO_N "(cached) $ECHO_C" >&6
++#else
++#
++#
++#
++# ac_ext=cc
++#ac_cpp='$CXXCPP $CPPFLAGS'
++#ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++#ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++#ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++#
++# if test "$cross_compiling" = yes; then
++# ac_cv_have_extended_signals=no
++#
++#else
++# cat >conftest.$ac_ext <<_ACEOF
++#/* confdefs.h. */
++#_ACEOF
++#cat confdefs.h >>conftest.$ac_ext
++#cat >>conftest.$ac_ext <<_ACEOF
++#/* end confdefs.h. */
++#
++# #define HAVE_SIGINFO_T 1
++# #define CONFIGURE_TEST_SIGSEGV_RECOVERY
++# #include "vm_alloc.cpp"
++# #include "sigsegv.cpp"
++#
++#_ACEOF
++#rm -f conftest$ac_exeext
++#if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++# (eval $ac_link) 2>&5
++# ac_status=$?
++# echo "$as_me:$LINENO: \$? = $ac_status" >&5
++# (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++# { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++# (eval $ac_try) 2>&5
++# ac_status=$?
++# echo "$as_me:$LINENO: \$? = $ac_status" >&5
++# (exit $ac_status); }; }; then
+
+ sigsegv_recovery=siginfo
+ ac_cv_have_extended_signals=yes
+
+-else
+- echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-( exit $ac_status )
+-ac_cv_have_extended_signals=no
+-fi
+-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+- ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-
+-
+-fi
++#else
++# echo "$as_me: program exited with status $ac_status" >&5
++#echo "$as_me: failed program was:" >&5
++#sed 's/^/| /' conftest.$ac_ext >&5
++#
++#( exit $ac_status )
++#ac_cv_have_extended_signals=no
++#fi
++#rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++#fi
++# ac_ext=c
++#ac_cpp='$CPP $CPPFLAGS'
++#ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++#ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++#ac_compiler_gnu=$ac_cv_c_compiler_gnu
++#
++#
++#
++#fi
+ echo "$as_me:$LINENO: result: $ac_cv_have_extended_signals" >&5
+ echo "${ECHO_T}$ac_cv_have_extended_signals" >&6
+