Check-in Number:
|
2628 | |
Date: |
2002-Oct-20 15:49:28 (local)
2002-Oct-20 13:49:28 (UTC) |
User: | rse |
Branch: | |
Comment: |
Add Autoconf support for brain-dead GNU Hurd.
Submitted by: B. Douglas Hilton <doug.hilton@engineer.com> |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/pth/ChangeLog 1.572 -> 1.573
--- ChangeLog 2002/10/20 11:55:03 1.572
+++ ChangeLog 2002/10/20 13:49:28 1.573
@@ -21,6 +21,9 @@
Changes between 1.4.1 and 1.5.0 (27-Jan-2002 to xx-Oct-2002)
+ *) Add Autoconf support for GNU Hurd.
+ [B. Douglas Hilton <doug.hilton@engineer.com>]
+
*) Completely rewrote the "hard syscall mapping".
Previously the internal syscall exit points were based on syscall(2)
|
|
ossp-pkg/pth/THANKS 1.87 -> 1.88
--- THANKS 2002/10/15 21:15:38 1.87
+++ THANKS 2002/10/20 13:49:29 1.88
@@ -41,6 +41,7 @@
o Eric Hanchrow <offby1@blarg.net>
o Ben Harris <bjh21@cam.ac.uk>
o Tim Harris <tim_harris@snellwilcox.com>
+ o B. Douglas Hilton <doug.hilton@engineer.com>
o Barnett Hsu <barnett@cs.ucr.edu>
o Jarkko Hietaniemi <jhi@iki.fi>
o David Hill <david@wmol.com>
|
|
ossp-pkg/pth/aclocal.m4 1.96 -> 1.97
--- aclocal.m4 2002/10/15 20:34:22 1.96
+++ aclocal.m4 2002/10/20 13:49:29 1.97
@@ -1087,6 +1087,11 @@
no ) ac_cv_check_sjlj=ssjlj ;;
esac
;;
+ *86-*-gnu0* )
+ # GNU/Hurd is similar to linux 2.0 in that it has
+ # non-functional stubs for sigstack and sigaltstack.
+ ac_cv_check_sjlj=sjljlx
+ ;;
*-*-isc* )
ac_cv_check_sjlj=sjljisc
;;
|
|
ossp-pkg/pth/configure.ac 1.6 -> 1.7
--- configure.ac 2002/10/20 11:45:10 1.6
+++ configure.ac 2002/10/20 13:49:29 1.7
@@ -400,6 +400,13 @@
fi
AC_SUBST(PTH_STACK_GROWTH)
+dnl # GNU Hurd has a broken libc which has stubs for sigaltstack and
+dnl # sigstack. When the following Autoconf checks for them are run, it
+dnl # even crashes the system. So we have to disable these checks here.
+case $PLATFORM in
+ *86-*-gnu0* ) ac_cv_func_sigaltstack="no"; ac_cv_func_sigstack="no" ;;
+esac
+
dnl # how to specify stacks for the various functions
AC_CHECK_STACKSETUP(makecontext, pth_skaddr_makecontext, pth_sksize_makecontext)
AC_CHECK_STACKSETUP(sigaltstack, pth_skaddr_sigaltstack, pth_sksize_sigaltstack)
|
|