diff options
author | Roland McGrath <roland@gnu.org> | 2003-06-27 06:21:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-06-27 06:21:51 +0000 |
commit | 768a8fcdedbd58048fb85e41535b5fc9e4866a7a (patch) | |
tree | 02ff8e8dca4414de253f0714a80e7c3496590262 /sysdeps/mach/configure | |
parent | 72541de928619746d4a4b909302807f449fa9309 (diff) | |
download | glibc-768a8fcdedbd58048fb85e41535b5fc9e4866a7a.zip glibc-768a8fcdedbd58048fb85e41535b5fc9e4866a7a.tar.gz glibc-768a8fcdedbd58048fb85e41535b5fc9e4866a7a.tar.bz2 |
* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.
* sysdeps/mach/configure: Regenerated.
* sysdeps/mach/hurd/times.c (times_init): Function removed.
(__times): Assume `creation_time' field is available.
* sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines):
Don't append set-init.
* sysdeps/mach/hurd/set-init.c: File removed.
Diffstat (limited to 'sysdeps/mach/configure')
-rw-r--r-- | sysdeps/mach/configure | 94 |
1 files changed, 74 insertions, 20 deletions
diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure index 597a0a5..76cea31 100644 --- a/sysdeps/mach/configure +++ b/sysdeps/mach/configure @@ -96,7 +96,11 @@ if test "${ac_cv_header_mach_mach_types_h+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/mach_types.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 @@ -119,7 +123,8 @@ if test -z "$ac_cpp_err"; then ac_cv_header_mach_mach_types_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_header_mach_mach_types_h=no fi rm -f conftest.err conftest.$ac_ext @@ -142,7 +147,11 @@ if test "${ac_cv_header_mach_mach_types_defs+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/mach_types.defs> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 @@ -165,7 +174,8 @@ if test -z "$ac_cpp_err"; then ac_cv_header_mach_mach_types_defs=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_header_mach_mach_types_defs=no fi rm -f conftest.err conftest.$ac_ext @@ -191,7 +201,11 @@ if test "${libc_cv_mach_task_t+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/mach_types.h> int main () @@ -216,7 +230,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 libc_cv_mach_task_t=task_t else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + libc_cv_mach_task_t=task_port_t fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -233,7 +248,11 @@ if test "${libc_cv_mach_thread_t+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/mach_types.h> int main () @@ -258,7 +277,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 libc_cv_mach_thread_t=thread_t else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + libc_cv_mach_thread_t=thread_port_t fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -276,7 +296,11 @@ if test "${libc_cv_mach_task_creation_time+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/task_info.h> int main () @@ -304,7 +328,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 libc_cv_mach_task_creation_time=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + libc_cv_mach_task_creation_time=no fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -312,7 +337,9 @@ fi echo "$as_me:$LINENO: result: $libc_cv_mach_task_creation_time" >&5 echo "${ECHO_T}$libc_cv_mach_task_creation_time" >&6 if test $libc_cv_mach_task_creation_time = no; then - DEFINES="$DEFINES -DNO_CREATION_TIME=1" + { { echo "$as_me:$LINENO: error: you need Mach headers supporting task_info.creation_time" >&5 +echo "$as_me: error: you need Mach headers supporting task_info.creation_time" >&2;} + { (exit 1); exit 1; }; } fi mach_interface_list= @@ -330,7 +357,11 @@ if eval "test \"\${$as_ac_Header+set}\" = set"; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/${ifc}.defs> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 @@ -353,7 +384,8 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_ext @@ -394,7 +426,11 @@ if test "${libc_cv_mach_host_page_size+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/mach_host.defs> _ACEOF @@ -423,7 +459,11 @@ if test "${ac_cv_header_mach_machine_ndr_def_h+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/machine/ndr_def.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 @@ -446,7 +486,8 @@ if test -z "$ac_cpp_err"; then ac_cv_header_mach_machine_ndr_def_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_header_mach_machine_ndr_def_h=no fi rm -f conftest.err conftest.$ac_ext @@ -463,7 +504,11 @@ if test "${ac_cv_header_machine_ndr_def_h+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <machine/ndr_def.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 @@ -486,7 +531,8 @@ if test -z "$ac_cpp_err"; then ac_cv_header_machine_ndr_def_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_header_machine_ndr_def_h=no fi rm -f conftest.err conftest.$ac_ext @@ -509,7 +555,11 @@ if test "${libc_cv_mach_i386_ioports+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/i386/mach_i386.defs> _ACEOF @@ -538,7 +588,11 @@ if test "${libc_cv_mach_i386_gdt+set}" = set; then else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" -#include "confdefs.h" +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include <mach/i386/mach_i386.defs> _ACEOF |