Compare commits

..

8 Commits

Author SHA1 Message Date
Roland McGrath
625b9f6ba2 . 1995-12-14 11:25:36 +00:00
Roland McGrath
8756e81616 Regenerated for 3.74.2 1995-12-14 11:25:13 +00:00
Roland McGrath
3e141c8277 . 1995-12-14 11:23:23 +00:00
Roland McGrath
aaed50ac3f (reap_children): Call unblock_sigs after start_job_command. 1995-12-14 11:21:20 +00:00
Roland McGrath
a89eb21084 Updated from libc 1995-12-14 11:14:36 +00:00
Roland McGrath
4356ddddbc . 1995-12-14 11:00:34 +00:00
Roland McGrath
b8db661c24 (dir_setup_glob): Don't use lstat; glob never calls it anyway.
Avoid & before function names to silence bogus sunos4 compiler.
1995-12-14 07:22:03 +00:00
Roland McGrath
a54c552d39 Remove check for `sysconf (_SC_OPEN_MAX)'. 1995-12-14 07:18:09 +00:00
9 changed files with 179 additions and 142 deletions

View File

@@ -1,3 +1,16 @@
Thu Dec 14 06:21:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Version 3.74.2.
* job.c (reap_children): Call unblock_sigs after start_job_command.
Thu Dec 14 07:22:03 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* dir.c (dir_setup_glob): Don't use lstat; glob never calls it anyway.
Avoid & before function names to silence bogus sunos4 compiler.
* configure.in: Remove check for `sysconf (_SC_OPEN_MAX)'.
Tue Dec 12 00:48:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Version 3.74.1.

2
README
View File

@@ -1,4 +1,4 @@
This directory contains the 3.74.1 test release of GNU Make.
This directory contains the 3.74.2 test release of GNU Make.
All bugs reported for previous test releases have been fixed.
Some bugs surely remain.

251
configure vendored
View File

@@ -1,8 +1,8 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.49 1995/08/17 19:09:57 roland Exp
# From configure.in Id: configure.in,v 1.50 1995/12/14 07:18:09 roland Exp
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.5
# Generated automatically using autoconf version 2.7
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
@@ -151,9 +151,11 @@ Directory and file names:
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR [PREFIX/share]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
@@ -163,7 +165,8 @@ Directory and file names:
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
EOF
cat << EOF
Host type:
@@ -177,8 +180,10 @@ Features and packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:$ac_help
EOF
if test -n "$ac_help"; then
echo "--enable and --with options recognized:$ac_help"
fi
exit 0 ;;
-host | --host | --hos | --ho)
@@ -328,7 +333,7 @@ EOF
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
echo "configure generated by autoconf version 2.5"
echo "configure generated by autoconf version 2.7"
exit 0 ;;
-with-* | --with-*)
@@ -709,7 +714,7 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 713 "configure"
#line 718 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -723,7 +728,7 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 727 "configure"
#line 732 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -749,7 +754,7 @@ fi
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for AIX""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
#line 753 "configure"
#line 758 "configure"
#include "confdefs.h"
#ifdef _AIX
yes
@@ -796,7 +801,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 800 "configure"
#line 805 "configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
@@ -844,7 +849,7 @@ else
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
#line 848 "configure"
#line 853 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
@@ -866,7 +871,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 870 "configure"
#line 875 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -888,7 +893,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 892 "configure"
#line 897 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@@ -906,7 +911,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 910 "configure"
#line 915 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@@ -924,10 +929,10 @@ fi
if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
ac_cv_header_stdc=no
:
else
cat > conftest.$ac_ext <<EOF
#line 931 "configure"
#line 936 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -966,7 +971,7 @@ if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 970 "configure"
#line 975 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>
@@ -999,14 +1004,14 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for -ldir""... $ac_c" 1>&6
ac_lib_var=`echo dir | tr './+' '__p'`
ac_lib_var=`echo dir | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1010 "configure"
#line 1015 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1034,14 +1039,14 @@ fi
else
echo $ac_n "checking for -lx""... $ac_c" 1>&6
ac_lib_var=`echo x | tr './+' '__p'`
ac_lib_var=`echo x | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1045 "configure"
#line 1050 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1074,7 +1079,7 @@ if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1078 "configure"
#line 1083 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
@@ -1106,7 +1111,7 @@ if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1110 "configure"
#line 1115 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@@ -1137,7 +1142,7 @@ if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1141 "configure"
#line 1146 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@@ -1145,9 +1150,11 @@ else
#undef signal
#endif
#ifdef __cplusplus
extern "C"
#endif
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif
int main() { return 0; }
int t() {
int i;
@@ -1179,7 +1186,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1183 "configure"
#line 1190 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -1212,33 +1219,36 @@ if test "x$CC" != xcc; then
else
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
fi
set dummy $CC; ac_cc="`echo $2 |
set dummy $CC; ac_cc="`echo $2 |
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
eval ac_cv_prog_cc_${ac_cc}_c_o=no
echo 'foo(){}' > conftest.c
echo 'foo(){}' > conftest.c
# Make sure it works both with $CC and with simple cc.
# We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one.
if ${CC-cc} -c conftest.c -o conftest.o 1>&5 2>&5 &&
test -f conftest.o && ${CC-cc} -c conftest.c -o conftest.o 1>&5 2>&5
then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
if test "x$CC" != xcc; then
# Test first that cc exists at all.
if cc -c conftest.c 1>&5 2>&5
then
if cc -c conftest.c 1>&5 2>&5; then
if cc -c conftest.c -o conftest2.o 1>&5 2>&5 &&
test -f conftest2.o && cc -c conftest.c -o conftest2.o 1>&5 2>&5
test -f conftest2.o &&
cc -c conftest.c -o conftest2.o 1>&5 2>&5
then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
# cc works too.
:
else
# cc exists but doesn't like -o.
eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi
else
# There is no cc, so we don't care about it.
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
fi
fi
else
eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi
rm -f conftest*
@@ -1258,7 +1268,7 @@ if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1262 "configure"
#line 1272 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1271,7 +1281,7 @@ char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero;
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
@@ -1331,7 +1341,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1335 "configure"
#line 1345 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -1394,7 +1404,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1398 "configure"
#line 1408 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1443,7 +1453,7 @@ if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; the
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1447 "configure"
#line 1457 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1475,7 +1485,7 @@ if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; th
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1479 "configure"
#line 1489 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1509,7 +1519,7 @@ if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1513 "configure"
#line 1523 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() { return 0; }
@@ -1541,7 +1551,7 @@ if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1545 "configure"
#line 1555 "configure"
#include "confdefs.h"
#ifdef __GNUC__
@@ -1600,7 +1610,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1604 "configure"
#line 1614 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
@@ -1629,7 +1639,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1633 "configure"
#line 1643 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1683,7 +1693,7 @@ else
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
#line 1687 "configure"
#line 1697 "configure"
#include "confdefs.h"
find_stack_direction ()
{
@@ -1725,7 +1735,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1729 "configure"
#line 1739 "configure"
#include "confdefs.h"
#include <vfork.h>
EOF
@@ -1756,10 +1766,53 @@ if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_func_vfork=no
echo $ac_n "checking for vfork""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1775 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
char vfork();
int main() { return 0; }
int t() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_vfork) || defined (__stub___vfork)
choke me
#else
vfork();
#endif
; return 0; }
EOF
if eval $ac_link; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
rm -rf conftest*
eval "ac_cv_func_vfork=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
echo "$ac_t""yes" 1>&6
:
else
echo "$ac_t""no" 1>&6
fi
else
cat > conftest.$ac_ext <<EOF
#line 1763 "configure"
#line 1816 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
@@ -1878,7 +1931,7 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 1882 "configure"
#line 1935 "configure"
#include "confdefs.h"
#include <stdio.h>
/* If setvbuf has the reversed format, exit 0. */
@@ -1917,14 +1970,14 @@ ac_have_func=no # yes means we've found a way to get the load average.
# On Solaris, -lkvm requires nlist from -lelf, so check that first
# to get the right answer into the cache.
echo $ac_n "checking for -lelf""... $ac_c" 1>&6
ac_lib_var=`echo elf | tr './+' '__p'`
ac_lib_var=`echo elf | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lelf $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1928 "configure"
#line 1981 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1951,14 +2004,14 @@ else
fi
echo $ac_n "checking for -lkvm""... $ac_c" 1>&6
ac_lib_var=`echo kvm | tr './+' '__p'`
ac_lib_var=`echo kvm | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lkvm $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1962 "configure"
#line 2015 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1986,14 +2039,14 @@ fi
# Check for the 4.4BSD definition of getloadavg.
echo $ac_n "checking for -lutil""... $ac_c" 1>&6
ac_lib_var=`echo util | tr './+' '__p'`
ac_lib_var=`echo util | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lutil $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1997 "configure"
#line 2050 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -2025,14 +2078,14 @@ if test $ac_have_func = no; then
# Since it is not a standard part of AIX, it might be installed locally.
ac_save_LIBS="$LIBS" LIBS="-L/usr/local/lib $LIBS"
echo $ac_n "checking for -lgetloadavg""... $ac_c" 1>&6
ac_lib_var=`echo getloadavg | tr './+' '__p'`
ac_lib_var=`echo getloadavg | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lgetloadavg $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2036 "configure"
#line 2089 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -2069,7 +2122,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2073 "configure"
#line 2126 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2127,7 +2180,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2131 "configure"
#line 2184 "configure"
#include "confdefs.h"
#include <sys/dg_sys_info.h>
EOF
@@ -2150,14 +2203,14 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
EOF
echo $ac_n "checking for -ldgc""... $ac_c" 1>&6
ac_lib_var=`echo dgc | tr './+' '__p'`
ac_lib_var=`echo dgc | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-ldgc $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2161 "configure"
#line 2214 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -2211,7 +2264,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2215 "configure"
#line 2268 "configure"
#include "confdefs.h"
#include <inq_stats/cpustats.h>
EOF
@@ -2250,7 +2303,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2254 "configure"
#line 2307 "configure"
#include "confdefs.h"
#include <sys/cpustats.h>
EOF
@@ -2287,7 +2340,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2291 "configure"
#line 2344 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -2323,7 +2376,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2327 "configure"
#line 2380 "configure"
#include "confdefs.h"
#include <nlist.h>
EOF
@@ -2350,7 +2403,7 @@ if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2354 "configure"
#line 2407 "configure"
#include "confdefs.h"
#include <nlist.h>
int main() { return 0; }
@@ -2388,7 +2441,7 @@ if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2392 "configure"
#line 2445 "configure"
#include "confdefs.h"
#include "$srcdir/getloadavg.c"
#ifdef LDAV_PRIVILEGED
@@ -2445,7 +2498,7 @@ else
ac_cv_func_strcoll=no
else
cat > conftest.$ac_ext <<EOF
#line 2449 "configure"
#line 2502 "configure"
#include "confdefs.h"
#include <string.h>
main ()
@@ -2474,40 +2527,6 @@ EOF
fi
if test $ac_cv_func_getdtablesize = no; then
echo $ac_n "checking for sysconf (_SC_OPEN_MAX)""... $ac_c" 1>&6
if eval "test \"`echo '$''{'make_cv_sysconf_open_max'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2484 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
int t() {
int max = sysconf (_SC_OPEN_MAX);
; return 0; }
EOF
if eval $ac_link; then
rm -rf conftest*
make_cv_sysconf_open_max=yes
else
rm -rf conftest*
make_cv_sysconf_open_max=no
fi
rm -f conftest*
fi
if test $make_cv_sysconf_open_max = yes; then
cat >> confdefs.h <<\EOF
#define HAVE_SYSCONF_OPEN_MAX 1
EOF
fi
echo "$ac_t""$make_cv_sysconf_open_max" 1>&6
fi
# Check out the wait reality.
for ac_hdr in sys/wait.h
do
@@ -2517,7 +2536,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2521 "configure"
#line 2540 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -2551,7 +2570,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2555 "configure"
#line 2574 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2600,7 +2619,7 @@ if eval "test \"`echo '$''{'make_cv_union_wait'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2604 "configure"
#line 2623 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
@@ -2648,7 +2667,7 @@ if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2652 "configure"
#line 2671 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@@ -2684,14 +2703,14 @@ fi
# The presence of the following is not meant to imply
# that make necessarily works on those systems.
echo $ac_n "checking for -lsun""... $ac_c" 1>&6
ac_lib_var=`echo sun | tr './+' '__p'`
ac_lib_var=`echo sun | tr '.-/+' '___p'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lsun $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2695 "configure"
#line 2714 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -2837,7 +2856,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "$CONFIG_STATUS generated by autoconf version 2.5"
echo "$CONFIG_STATUS generated by autoconf version 2.7"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
@@ -2849,10 +2868,12 @@ ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "Makefile build.sh config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@CFLAGS@%$CFLAGS%g

View File

@@ -49,17 +49,6 @@ AC_FUNC_SETVBUF_REVERSED
AC_FUNC_GETLOADAVG
AC_FUNC_STRCOLL
if test $ac_cv_func_getdtablesize = no; then
AC_MSG_CHECKING(for sysconf (_SC_OPEN_MAX))
AC_CACHE_VAL(make_cv_sysconf_open_max, [dnl
AC_TRY_LINK([#include <unistd.h>], [int max = sysconf (_SC_OPEN_MAX);],
[make_cv_sysconf_open_max=yes], [make_cv_sysconf_open_max=no])])
if test $make_cv_sysconf_open_max = yes; then
AC_DEFINE(HAVE_SYSCONF_OPEN_MAX)
fi
AC_MSG_RESULT($make_cv_sysconf_open_max)
fi
# Check out the wait reality.
AC_CHECK_HEADERS(sys/wait.h) AC_CHECK_FUNCS(waitpid wait3)
AC_MSG_CHECKING(for union wait)

17
dir.c
View File

@@ -638,14 +638,13 @@ void
dir_setup_glob (gl)
glob_t *gl;
{
extern int lstat (), stat ();
extern int stat ();
#ifdef HAVE_LSTAT
#define lstat stat
#endif
gl->gl_opendir = &open_dirstream;
gl->gl_readdir = &read_dirstream;
gl->gl_closedir = &free;
gl->gl_lstat = &lstat;
gl->gl_stat = &stat;
/* Bogus sunos4 compiler complains (!) about & before functions. */
gl->gl_opendir = open_dirstream;
gl->gl_readdir = read_dirstream;
gl->gl_closedir = free;
gl->gl_stat = stat;
/* We don't bother setting gl_lstat, since glob never calls it.
The slot is only there for compatibility with 4.4 BSD. */
}

View File

@@ -1,3 +1,8 @@
Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
and cast STREAM to DIR * before passing to readdir and closedir.
Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob.c [! STDC_HEADERS]: Declare getenv.

View File

@@ -668,7 +668,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
stream = ((flags & GLOB_ALTDIRFUNC) ?
(*pglob->gl_opendir) (directory) :
opendir (directory));
(__ptr_t) opendir (directory));
if (stream == NULL)
{
if ((errfunc != NULL && (*errfunc) (directory, errno)) ||
@@ -682,7 +682,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
size_t len;
struct dirent *d = ((flags & GLOB_ALTDIRFUNC) ?
(*pglob->gl_readdir) (stream) :
readdir (stream));
readdir ((DIR *) stream));
if (d == NULL)
break;
if (! REAL_DIR_ENTRY (d))
@@ -757,7 +757,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
if (flags & GLOB_ALTDIRFUNC)
(*pglob->gl_closedir) (stream);
else
closedir (stream);
closedir ((DIR *) stream);
errno = save;
}
return nfound == 0 ? GLOB_NOMATCH : 0;
@@ -768,7 +768,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
if (flags & GLOB_ALTDIRFUNC)
(*pglob->gl_closedir) (stream);
else
closedir (stream);
closedir ((DIR *) stream);
errno = save;
}
while (names != NULL)

12
job.c
View File

@@ -129,6 +129,7 @@ extern int start_remote_job_p ();
extern int start_remote_job (), remote_status ();
RETSIGTYPE child_handler ();
void unblock_sigs ();
static void free_child (), start_job_command ();
static int load_too_high (), job_next_command ();
@@ -407,6 +408,11 @@ reap_children (block, err)
by start_remote_job_p. */
c->remote = start_remote_job_p ();
start_job_command (c);
/* Fatal signals are left blocked in case we were
about to put that child on the chain. But it is
already there, so it is safe for a fatal signal to
arrive now; it will clean up this child's targets. */
unblock_sigs ();
if (c->file->command_state == cs_running)
/* We successfully started the new command.
Loop to reap more children. */
@@ -509,7 +515,11 @@ unblock_sigs ()
#endif
/* Start a job to run the commands specified in CHILD.
CHILD is updated to reflect the commands and ID of the child process. */
CHILD is updated to reflect the commands and ID of the child process.
NOTE: On return fatal signals are blocked! The caller is responsible
for calling `unblock_sigs', once the new child is safely on the chain so
it can be cleaned up in the event of a fatal signal. */
static void
start_job_command (child)

View File

@@ -1,4 +1,4 @@
char *version_string = "3.74.1";
char *version_string = "3.74.2";
/*
Local variables: