aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvidiu Predescu <ovidiu@gcc.gnu.org>2000-08-10 07:10:23 +0000
committerOvidiu Predescu <ovidiu@gcc.gnu.org>2000-08-10 07:10:23 +0000
commitc3d80041a3c3f1caa403cc6d9000b2ed10f7dedf (patch)
tree090ab686c16e6b190020ae82a87d8e7dda2723ab
parent3ef5f28679a387f258e39aea208040a08e5036fc (diff)
downloadgcc-c3d80041a3c3f1caa403cc6d9000b2ed10f7dedf.zip
gcc-c3d80041a3c3f1caa403cc6d9000b2ed10f7dedf.tar.gz
gcc-c3d80041a3c3f1caa403cc6d9000b2ed10f7dedf.tar.bz2
Check for the <sched.h> header file.
From-SVN: r35598
-rwxr-xr-xgcc/configure10
-rw-r--r--gcc/configure.in2
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/configure b/gcc/configure
index 5e1d792..05d495d 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1484,7 +1484,7 @@ for ac_kw in inline __inline__ __inline; do
#include "confdefs.h"
int main() {
-} int $ac_kw foo() {
+} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:1491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@@ -1514,7 +1514,7 @@ esac
# Find some useful tools
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -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
+ direct.h malloc.h sched.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -7157,7 +7157,7 @@ else
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x = {0,0};
+typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
@@ -7298,7 +7298,7 @@ else
#include "confdefs.h"
#include <alloca.h>
int main() {
-void *p = alloca(2 * sizeof(int));
+char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/gcc/configure.in b/gcc/configure.in
index 8265303..2962e64 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)
+ direct.h malloc.h sched.h)
# Check for thread headers.
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])