aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvidiu Predescu <ovidiu@cup.hp.com>2000-08-11 05:51:12 +0000
committerOvidiu Predescu <ovidiu@gcc.gnu.org>2000-08-11 05:51:12 +0000
commit4b48731a0df492d05be093582edacc6e6ab05f1b (patch)
treeb93d0c2aff93933f05a8b3cc11f05df6b299b6d3
parentbe875f80446dddeb1ce7dd76b8616f41db424b13 (diff)
downloadgcc-4b48731a0df492d05be093582edacc6e6ab05f1b.zip
gcc-4b48731a0df492d05be093582edacc6e6ab05f1b.tar.gz
gcc-4b48731a0df492d05be093582edacc6e6ab05f1b.tar.bz2
Reverted the check for <sched.h>.
From-SVN: r35620
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.in3
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.in2
-rw-r--r--gcc/gthr-posix.h6
5 files changed, 9 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69d87c1..2378838 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config.in b/gcc/config.in
index 877f527..85516d1 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -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
diff --git a/gcc/configure b/gcc/configure
index 05d495d..cc64ac5 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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
diff --git a/gcc/configure.in b/gcc/configure.in
index 2962e64..8265303 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -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=])
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h
index 2bbcc35..364473d 100644
--- a/gcc/gthr-posix.h
+++ b/gcc/gthr-posix.h
@@ -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;