Reverted the check for <sched.h>.

From-SVN: r35620
This commit is contained in:
Ovidiu Predescu 2000-08-11 05:51:12 +00:00 committed by Ovidiu Predescu
parent be875f8044
commit 4b48731a0d
5 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,10 @@
Thu Aug 10 22:47:09 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* configure.in:
* configure:
* gthr-posix.h:
* config.in: Reverted the check for <sched.h>.
2000-08-10 Chris Demetriou <cgd@sibyte.com>
* mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New

View File

@ -237,9 +237,6 @@
/* Define if you have the <nl_types.h> header file. */
#undef HAVE_NL_TYPES_H
/* Define if you have the <sched.h> header file. */
#undef HAVE_SCHED_H
/* Define if you have the <stab.h> header file. */
#undef HAVE_STAB_H

2
gcc/configure vendored
View File

@ -2147,7 +2147,7 @@ fi
for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \
fcntl.h unistd.h stab.h sys/file.h sys/time.h \
sys/resource.h sys/param.h sys/times.h sys/stat.h \
direct.h malloc.h sched.h
direct.h malloc.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

View File

@ -401,7 +401,7 @@ AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \
fcntl.h unistd.h stab.h sys/file.h sys/time.h \
sys/resource.h sys/param.h sys/times.h sys/stat.h \
direct.h malloc.h sched.h)
direct.h malloc.h)
# Check for thread headers.
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])

View File

@ -90,12 +90,6 @@ __gthread_active_p (void)
#ifdef _LIBOBJC
#include <auto-host.h>
#ifdef HAVE_SCHED_H
# include <sched.h>
#endif
/* Key structure for maintaining thread specific storage */
static pthread_key_t _objc_thread_storage;
static pthread_attr_t _objc_thread_attribs;