summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in506
-rw-r--r--config.h.in3
-rwxr-xr-xconfigure85
3 files changed, 105 insertions, 489 deletions
diff --git a/Makefile.in b/Makefile.in
index 12c7654..7178155 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,11 +107,13 @@ TEXI2DVI = texi2dvi
ETAGS = etags -w
CTAGS = ctags -w
+GLOB = glob/libglob.a
+
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
rule.o implicit.o default.o variable.o expand.o function.o \
vpath.o version.o ar.o arscan.o signame.o remote-$(REMOTE).o \
- getopt.o getopt1.o glob/libglob.a \
- $(ALLOCA) $(extras)
+ getopt.o getopt1.o \
+ $(GLOB) $(ALLOCA) $(extras)
srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \
$(srcdir)/file.c $(srcdir)/getloadavg.c $(srcdir)/misc.c \
$(srcdir)/main.c $(srcdir)/read.c $(srcdir)/remake.c \
@@ -158,7 +160,7 @@ make: $(objs)
SHELL = /bin/sh
@SET_MAKE@
-glob/libglob.a: FORCE config.h
+$(GLOB): FORCE config.h
cd glob; $(MAKE) libglob.a
FORCE:
@@ -271,472 +273,36 @@ $(objs): config.h
# Automatically generated dependencies will be put at the end of the file.
# Automatically generated dependencies.
-commands.o: commands.c
-commands.o: ./make.h
-commands.o: /usr/include/sys/types.h
-commands.o: /usr/include/sys/stdtypes.h
-commands.o: /usr/include/sys/sysmacros.h
-commands.o: /usr/include/sys/stat.h
-commands.o: /usr/include/sys/types.h
-commands.o: /usr/include/signal.h
-commands.o: /usr/include/sys/signal.h
-commands.o: /usr/include/vm/faultcode.h
-commands.o: /usr/include/sys/stdtypes.h
-commands.o: /usr/include/stdio.h
-commands.o: /usr/include/ctype.h
-commands.o: /usr/include/time.h
-commands.o: /usr/include/sys/stdtypes.h
-commands.o: /usr/include/errno.h
-commands.o: /usr/include/sys/errno.h
-commands.o: ./signame.h
-commands.o: /usr/include/strings.h
-commands.o: ./dep.h
-commands.o: ./filedef.h
-commands.o: ./variable.h
-commands.o: ./job.h
-commands.o: ./commands.h
-job.o: job.c
-job.o: ./make.h
-job.o: /usr/include/sys/types.h
-job.o: /usr/include/sys/stdtypes.h
-job.o: /usr/include/sys/sysmacros.h
-job.o: /usr/include/sys/stat.h
-job.o: /usr/include/sys/types.h
-job.o: /usr/include/signal.h
-job.o: /usr/include/sys/signal.h
-job.o: /usr/include/vm/faultcode.h
-job.o: /usr/include/sys/stdtypes.h
-job.o: /usr/include/stdio.h
-job.o: /usr/include/ctype.h
-job.o: /usr/include/time.h
-job.o: /usr/include/sys/stdtypes.h
-job.o: /usr/include/errno.h
-job.o: /usr/include/sys/errno.h
-job.o: ./signame.h
-job.o: /usr/include/strings.h
-job.o: ./job.h
-job.o: ./filedef.h
-job.o: ./commands.h
-job.o: ./variable.h
-job.o: /usr/include/assert.h
-job.o: /usr/include/sys/file.h
-job.o: /usr/include/sys/types.h
-job.o: /usr/include/sys/fcntlcom.h
-job.o: /usr/include/sys/stdtypes.h
-job.o: /usr/include/sys/stat.h
-dir.o: dir.c
-dir.o: ./make.h
-dir.o: /usr/include/sys/types.h
-dir.o: /usr/include/sys/stdtypes.h
-dir.o: /usr/include/sys/sysmacros.h
-dir.o: /usr/include/sys/stat.h
-dir.o: /usr/include/sys/types.h
-dir.o: /usr/include/signal.h
-dir.o: /usr/include/sys/signal.h
-dir.o: /usr/include/vm/faultcode.h
-dir.o: /usr/include/sys/stdtypes.h
-dir.o: /usr/include/stdio.h
-dir.o: /usr/include/ctype.h
-dir.o: /usr/include/time.h
-dir.o: /usr/include/sys/stdtypes.h
-dir.o: /usr/include/errno.h
-dir.o: /usr/include/sys/errno.h
-dir.o: ./signame.h
-dir.o: /usr/include/strings.h
-file.o: file.c
-file.o: ./make.h
-file.o: /usr/include/sys/types.h
-file.o: /usr/include/sys/stdtypes.h
-file.o: /usr/include/sys/sysmacros.h
-file.o: /usr/include/sys/stat.h
-file.o: /usr/include/sys/types.h
-file.o: /usr/include/signal.h
-file.o: /usr/include/sys/signal.h
-file.o: /usr/include/vm/faultcode.h
-file.o: /usr/include/sys/stdtypes.h
-file.o: /usr/include/stdio.h
-file.o: /usr/include/ctype.h
-file.o: /usr/include/time.h
-file.o: /usr/include/sys/stdtypes.h
-file.o: /usr/include/errno.h
-file.o: /usr/include/sys/errno.h
-file.o: ./signame.h
-file.o: /usr/include/strings.h
-file.o: ./dep.h
-file.o: ./filedef.h
-file.o: ./job.h
-file.o: ./commands.h
-file.o: ./variable.h
-file.o: /usr/include/assert.h
-misc.o: misc.c
-misc.o: ./make.h
-misc.o: /usr/include/sys/types.h
-misc.o: /usr/include/sys/stdtypes.h
-misc.o: /usr/include/sys/sysmacros.h
-misc.o: /usr/include/sys/stat.h
-misc.o: /usr/include/sys/types.h
-misc.o: /usr/include/signal.h
-misc.o: /usr/include/sys/signal.h
-misc.o: /usr/include/vm/faultcode.h
-misc.o: /usr/include/sys/stdtypes.h
-misc.o: /usr/include/stdio.h
-misc.o: /usr/include/ctype.h
-misc.o: /usr/include/time.h
-misc.o: /usr/include/sys/stdtypes.h
-misc.o: /usr/include/errno.h
-misc.o: /usr/include/sys/errno.h
-misc.o: ./signame.h
-misc.o: /usr/include/strings.h
-misc.o: ./dep.h
-main.o: main.c
-main.o: ./make.h
-main.o: /usr/include/sys/types.h
-main.o: /usr/include/sys/stdtypes.h
-main.o: /usr/include/sys/sysmacros.h
-main.o: /usr/include/sys/stat.h
-main.o: /usr/include/sys/types.h
-main.o: /usr/include/signal.h
-main.o: /usr/include/sys/signal.h
-main.o: /usr/include/vm/faultcode.h
-main.o: /usr/include/sys/stdtypes.h
-main.o: /usr/include/stdio.h
-main.o: /usr/include/ctype.h
-main.o: /usr/include/time.h
-main.o: /usr/include/sys/stdtypes.h
-main.o: /usr/include/errno.h
-main.o: /usr/include/sys/errno.h
-main.o: ./signame.h
-main.o: /usr/include/strings.h
-main.o: ./dep.h
-main.o: ./filedef.h
-main.o: ./variable.h
-main.o: ./job.h
-main.o: ./commands.h
-main.o: ./getopt.h
-main.o: /usr/include/assert.h
-read.o: read.c
-read.o: ./make.h
-read.o: /usr/include/sys/types.h
-read.o: /usr/include/sys/stdtypes.h
-read.o: /usr/include/sys/sysmacros.h
-read.o: /usr/include/sys/stat.h
-read.o: /usr/include/sys/types.h
-read.o: /usr/include/signal.h
-read.o: /usr/include/sys/signal.h
-read.o: /usr/include/vm/faultcode.h
-read.o: /usr/include/sys/stdtypes.h
-read.o: /usr/include/stdio.h
-read.o: /usr/include/ctype.h
-read.o: /usr/include/time.h
-read.o: /usr/include/sys/stdtypes.h
-read.o: /usr/include/errno.h
-read.o: /usr/include/sys/errno.h
-read.o: ./signame.h
-read.o: /usr/include/strings.h
-read.o: ./dep.h
-read.o: ./filedef.h
-read.o: ./job.h
-read.o: ./commands.h
-read.o: ./variable.h
-read.o: ./glob/glob.h
-read.o: /usr/include/pwd.h
-read.o: /usr/include/sys/types.h
-remake.o: remake.c
-remake.o: ./make.h
-remake.o: /usr/include/sys/types.h
-remake.o: /usr/include/sys/stdtypes.h
-remake.o: /usr/include/sys/sysmacros.h
-remake.o: /usr/include/sys/stat.h
-remake.o: /usr/include/sys/types.h
-remake.o: /usr/include/signal.h
-remake.o: /usr/include/sys/signal.h
-remake.o: /usr/include/vm/faultcode.h
-remake.o: /usr/include/sys/stdtypes.h
-remake.o: /usr/include/stdio.h
-remake.o: /usr/include/ctype.h
-remake.o: /usr/include/time.h
-remake.o: /usr/include/sys/stdtypes.h
-remake.o: /usr/include/errno.h
-remake.o: /usr/include/sys/errno.h
-remake.o: ./signame.h
-remake.o: /usr/include/strings.h
-remake.o: ./filedef.h
-remake.o: ./job.h
-remake.o: ./commands.h
-remake.o: ./dep.h
-remake.o: /usr/include/assert.h
-remake.o: /usr/include/sys/file.h
-remake.o: /usr/include/sys/types.h
-remake.o: /usr/include/sys/fcntlcom.h
-remake.o: /usr/include/sys/stdtypes.h
-remake.o: /usr/include/sys/stat.h
-rule.o: rule.c
-rule.o: ./make.h
-rule.o: /usr/include/sys/types.h
-rule.o: /usr/include/sys/stdtypes.h
-rule.o: /usr/include/sys/sysmacros.h
-rule.o: /usr/include/sys/stat.h
-rule.o: /usr/include/sys/types.h
-rule.o: /usr/include/signal.h
-rule.o: /usr/include/sys/signal.h
-rule.o: /usr/include/vm/faultcode.h
-rule.o: /usr/include/sys/stdtypes.h
-rule.o: /usr/include/stdio.h
-rule.o: /usr/include/ctype.h
-rule.o: /usr/include/time.h
-rule.o: /usr/include/sys/stdtypes.h
-rule.o: /usr/include/errno.h
-rule.o: /usr/include/sys/errno.h
-rule.o: ./signame.h
-rule.o: /usr/include/strings.h
-rule.o: ./dep.h
-rule.o: ./filedef.h
-rule.o: ./job.h
-rule.o: ./commands.h
-rule.o: ./variable.h
-rule.o: ./rule.h
-implicit.o: implicit.c
-implicit.o: ./make.h
-implicit.o: /usr/include/sys/types.h
-implicit.o: /usr/include/sys/stdtypes.h
-implicit.o: /usr/include/sys/sysmacros.h
-implicit.o: /usr/include/sys/stat.h
-implicit.o: /usr/include/sys/types.h
-implicit.o: /usr/include/signal.h
-implicit.o: /usr/include/sys/signal.h
-implicit.o: /usr/include/vm/faultcode.h
-implicit.o: /usr/include/sys/stdtypes.h
-implicit.o: /usr/include/stdio.h
-implicit.o: /usr/include/ctype.h
-implicit.o: /usr/include/time.h
-implicit.o: /usr/include/sys/stdtypes.h
-implicit.o: /usr/include/errno.h
-implicit.o: /usr/include/sys/errno.h
-implicit.o: ./signame.h
-implicit.o: /usr/include/strings.h
-implicit.o: ./rule.h
-implicit.o: ./dep.h
-implicit.o: ./filedef.h
-default.o: default.c
-default.o: ./make.h
-default.o: /usr/include/sys/types.h
-default.o: /usr/include/sys/stdtypes.h
-default.o: /usr/include/sys/sysmacros.h
-default.o: /usr/include/sys/stat.h
-default.o: /usr/include/sys/types.h
-default.o: /usr/include/signal.h
-default.o: /usr/include/sys/signal.h
-default.o: /usr/include/vm/faultcode.h
-default.o: /usr/include/sys/stdtypes.h
-default.o: /usr/include/stdio.h
-default.o: /usr/include/ctype.h
-default.o: /usr/include/time.h
-default.o: /usr/include/sys/stdtypes.h
-default.o: /usr/include/errno.h
-default.o: /usr/include/sys/errno.h
-default.o: ./signame.h
-default.o: /usr/include/strings.h
-default.o: ./rule.h
-default.o: ./dep.h
-default.o: ./filedef.h
-default.o: ./job.h
-default.o: ./commands.h
-default.o: ./variable.h
-variable.o: variable.c
-variable.o: ./make.h
-variable.o: /usr/include/sys/types.h
-variable.o: /usr/include/sys/stdtypes.h
-variable.o: /usr/include/sys/sysmacros.h
-variable.o: /usr/include/sys/stat.h
-variable.o: /usr/include/sys/types.h
-variable.o: /usr/include/signal.h
-variable.o: /usr/include/sys/signal.h
-variable.o: /usr/include/vm/faultcode.h
-variable.o: /usr/include/sys/stdtypes.h
-variable.o: /usr/include/stdio.h
-variable.o: /usr/include/ctype.h
-variable.o: /usr/include/time.h
-variable.o: /usr/include/sys/stdtypes.h
-variable.o: /usr/include/errno.h
-variable.o: /usr/include/sys/errno.h
-variable.o: ./signame.h
-variable.o: /usr/include/strings.h
-variable.o: ./dep.h
-variable.o: ./filedef.h
-variable.o: ./job.h
-variable.o: ./commands.h
-variable.o: ./variable.h
-expand.o: expand.c
-expand.o: ./make.h
-expand.o: /usr/include/sys/types.h
-expand.o: /usr/include/sys/stdtypes.h
-expand.o: /usr/include/sys/sysmacros.h
-expand.o: /usr/include/sys/stat.h
-expand.o: /usr/include/sys/types.h
-expand.o: /usr/include/signal.h
-expand.o: /usr/include/sys/signal.h
-expand.o: /usr/include/vm/faultcode.h
-expand.o: /usr/include/sys/stdtypes.h
-expand.o: /usr/include/stdio.h
-expand.o: /usr/include/ctype.h
-expand.o: /usr/include/time.h
-expand.o: /usr/include/sys/stdtypes.h
-expand.o: /usr/include/errno.h
-expand.o: /usr/include/sys/errno.h
-expand.o: ./signame.h
-expand.o: /usr/include/strings.h
-expand.o: ./filedef.h
-expand.o: ./job.h
-expand.o: ./commands.h
-expand.o: ./variable.h
-function.o: function.c
-function.o: ./make.h
-function.o: /usr/include/sys/types.h
-function.o: /usr/include/sys/stdtypes.h
-function.o: /usr/include/sys/sysmacros.h
-function.o: /usr/include/sys/stat.h
-function.o: /usr/include/sys/types.h
-function.o: /usr/include/signal.h
-function.o: /usr/include/sys/signal.h
-function.o: /usr/include/vm/faultcode.h
-function.o: /usr/include/sys/stdtypes.h
-function.o: /usr/include/stdio.h
-function.o: /usr/include/ctype.h
-function.o: /usr/include/time.h
-function.o: /usr/include/sys/stdtypes.h
-function.o: /usr/include/errno.h
-function.o: /usr/include/sys/errno.h
-function.o: ./signame.h
-function.o: /usr/include/strings.h
-function.o: ./filedef.h
-function.o: ./variable.h
-function.o: ./dep.h
-function.o: ./job.h
-function.o: ./commands.h
-vpath.o: vpath.c
-vpath.o: ./make.h
-vpath.o: /usr/include/sys/types.h
-vpath.o: /usr/include/sys/stdtypes.h
-vpath.o: /usr/include/sys/sysmacros.h
-vpath.o: /usr/include/sys/stat.h
-vpath.o: /usr/include/sys/types.h
-vpath.o: /usr/include/signal.h
-vpath.o: /usr/include/sys/signal.h
-vpath.o: /usr/include/vm/faultcode.h
-vpath.o: /usr/include/sys/stdtypes.h
-vpath.o: /usr/include/stdio.h
-vpath.o: /usr/include/ctype.h
-vpath.o: /usr/include/time.h
-vpath.o: /usr/include/sys/stdtypes.h
-vpath.o: /usr/include/errno.h
-vpath.o: /usr/include/sys/errno.h
-vpath.o: ./signame.h
-vpath.o: /usr/include/strings.h
-vpath.o: ./filedef.h
-vpath.o: ./variable.h
+commands.o: commands.c make.h signame.h dep.h filedef.h variable.h \
+ job.h commands.h
+job.o: job.c make.h signame.h job.h filedef.h commands.h variable.h
+dir.o: dir.c make.h signame.h
+file.o: file.c make.h signame.h dep.h filedef.h job.h commands.h \
+ variable.h
+misc.o: misc.c make.h signame.h dep.h
+main.o: main.c make.h signame.h dep.h filedef.h variable.h job.h \
+ commands.h getopt.h
+read.o: read.c make.h signame.h dep.h filedef.h job.h commands.h \
+ variable.h glob/glob.h
+remake.o: remake.c make.h signame.h filedef.h job.h commands.h dep.h
+rule.o: rule.c make.h signame.h dep.h filedef.h job.h commands.h \
+ variable.h rule.h
+implicit.o: implicit.c make.h signame.h rule.h dep.h filedef.h
+default.o: default.c make.h signame.h rule.h dep.h filedef.h job.h \
+ commands.h variable.h
+variable.o: variable.c make.h signame.h dep.h filedef.h job.h \
+ commands.h variable.h
+expand.o: expand.c make.h signame.h filedef.h job.h commands.h \
+ variable.h
+function.o: function.c make.h signame.h filedef.h variable.h dep.h \
+ job.h commands.h
+vpath.o: vpath.c make.h signame.h filedef.h variable.h
version.o: version.c
-ar.o: ar.c
-ar.o: ./make.h
-ar.o: /usr/include/sys/types.h
-ar.o: /usr/include/sys/stdtypes.h
-ar.o: /usr/include/sys/sysmacros.h
-ar.o: /usr/include/sys/stat.h
-ar.o: /usr/include/sys/types.h
-ar.o: /usr/include/signal.h
-ar.o: /usr/include/sys/signal.h
-ar.o: /usr/include/vm/faultcode.h
-ar.o: /usr/include/sys/stdtypes.h
-ar.o: /usr/include/stdio.h
-ar.o: /usr/include/ctype.h
-ar.o: /usr/include/time.h
-ar.o: /usr/include/sys/stdtypes.h
-ar.o: /usr/include/errno.h
-ar.o: /usr/include/sys/errno.h
-ar.o: ./signame.h
-ar.o: /usr/include/strings.h
-ar.o: ./filedef.h
-ar.o: ./dep.h
-arscan.o: arscan.c
-arscan.o: ./make.h
-arscan.o: /usr/include/sys/types.h
-arscan.o: /usr/include/sys/stdtypes.h
-arscan.o: /usr/include/sys/sysmacros.h
-arscan.o: /usr/include/sys/stat.h
-arscan.o: /usr/include/sys/types.h
-arscan.o: /usr/include/signal.h
-arscan.o: /usr/include/sys/signal.h
-arscan.o: /usr/include/vm/faultcode.h
-arscan.o: /usr/include/sys/stdtypes.h
-arscan.o: /usr/include/stdio.h
-arscan.o: /usr/include/ctype.h
-arscan.o: /usr/include/time.h
-arscan.o: /usr/include/sys/stdtypes.h
-arscan.o: /usr/include/errno.h
-arscan.o: /usr/include/sys/errno.h
-arscan.o: ./signame.h
-arscan.o: /usr/include/strings.h
-arscan.o: /usr/include/sys/file.h
-arscan.o: /usr/include/sys/types.h
-arscan.o: /usr/include/sys/fcntlcom.h
-arscan.o: /usr/include/sys/stdtypes.h
-arscan.o: /usr/include/sys/stat.h
-arscan.o: /usr/include/ar.h
-signame.o: signame.c
-signame.o: /usr/include/stdio.h
-signame.o: /usr/include/sys/types.h
-signame.o: /usr/include/sys/stdtypes.h
-signame.o: /usr/include/sys/sysmacros.h
-signame.o: /usr/include/signal.h
-signame.o: /usr/include/sys/signal.h
-signame.o: /usr/include/vm/faultcode.h
-signame.o: /usr/include/sys/stdtypes.h
-signame.o: ./signame.h
-remote-stub.o: remote-stub.c
-remote-stub.o: ./make.h
-remote-stub.o: /usr/include/sys/types.h
-remote-stub.o: /usr/include/sys/stdtypes.h
-remote-stub.o: /usr/include/sys/sysmacros.h
-remote-stub.o: /usr/include/sys/stat.h
-remote-stub.o: /usr/include/sys/types.h
-remote-stub.o: /usr/include/signal.h
-remote-stub.o: /usr/include/sys/signal.h
-remote-stub.o: /usr/include/vm/faultcode.h
-remote-stub.o: /usr/include/sys/stdtypes.h
-remote-stub.o: /usr/include/stdio.h
-remote-stub.o: /usr/include/ctype.h
-remote-stub.o: /usr/include/time.h
-remote-stub.o: /usr/include/sys/stdtypes.h
-remote-stub.o: /usr/include/errno.h
-remote-stub.o: /usr/include/sys/errno.h
-remote-stub.o: ./signame.h
-remote-stub.o: /usr/include/strings.h
-remote-stub.o: ./filedef.h
-remote-stub.o: ./job.h
-remote-stub.o: ./commands.h
-getopt.o: getopt.c
-getopt.o: /usr/include/stdio.h
-getopt.o: ./getopt.h
-getopt1.o: getopt1.c
-getopt1.o: ./getopt.h
-getopt1.o: /usr/include/stdio.h
+ar.o: ar.c make.h signame.h filedef.h dep.h
+arscan.o: arscan.c make.h signame.h
+signame.o: signame.c signame.h
+remote-stub.o: remote-stub.c make.h signame.h filedef.h job.h \
+ commands.h
+getopt.o: getopt.c getopt.h
+getopt1.o: getopt1.c getopt.h
getloadavg.o: getloadavg.c
-getloadavg.o: /usr/include/sys/types.h
-getloadavg.o: /usr/include/sys/stdtypes.h
-getloadavg.o: /usr/include/sys/sysmacros.h
-getloadavg.o: /usr/include/sys/param.h
-getloadavg.o: /usr/include/machine/param.h
-getloadavg.o: /usr/include/machine/devaddr.h
-getloadavg.o: /usr/include/sys/signal.h
-getloadavg.o: /usr/include/vm/faultcode.h
-getloadavg.o: /usr/include/sys/stdtypes.h
-getloadavg.o: /usr/include/sys/types.h
-getloadavg.o: /usr/include/errno.h
-getloadavg.o: /usr/include/sys/errno.h
-getloadavg.o: /usr/include/stdio.h
-getloadavg.o: /usr/include/nlist.h
-getloadavg.o: /usr/include/sys/file.h
-getloadavg.o: /usr/include/sys/types.h
-getloadavg.o: /usr/include/sys/fcntlcom.h
-getloadavg.o: /usr/include/sys/stdtypes.h
-getloadavg.o: /usr/include/sys/stat.h
-getloadavg.o: /usr/include/sys/types.h
diff --git a/config.h.in b/config.h.in
index 1f83d84..6c535d7 100644
--- a/config.h.in
+++ b/config.h.in
@@ -38,6 +38,9 @@
/* Define if your system has a working fnmatch function. */
#undef HAVE_FNMATCH
+/* Define if your system has its own `getloadavg' function. */
+#undef HAVE_GETLOADAVG
+
/* Define if you have the getmntent function. */
#undef HAVE_GETMNTENT
diff --git a/configure b/configure
index bf50cbc..8564609 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Id: configure.in,v 1.52 1996/07/20 09:30:04 roland Exp
+# From configure.in Id: configure.in,v 1.54 1997/04/07 18:02:17 psmith Exp
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
@@ -2678,8 +2678,55 @@ echo "$ac_t""$ac_cv_group_kmem" 1>&6
KMEM_GROUP=$ac_cv_group_kmem
fi
+echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
+echo "configure:2683: checking for kstat_open in -lkstat" >&5
+ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__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="-lkstat $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 2691 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char kstat_open();
+
+int main() {
+kstat_open()
+; return 0; }
+EOF
+if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_lib=HAVE_LIB`echo kstat | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_lib 1
+EOF
+
+ LIBS="-lkstat $LIBS"
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
-echo "configure:2683: checking for working strcoll" >&5
+echo "configure:2730: checking for working strcoll" >&5
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2687,7 +2734,7 @@ else
ac_cv_func_strcoll_works=no
else
cat > conftest.$ac_ext <<EOF
-#line 2691 "configure"
+#line 2738 "configure"
#include "confdefs.h"
#include <string.h>
main ()
@@ -2697,7 +2744,7 @@ main ()
strcoll ("123", "456") >= 0);
}
EOF
-if { (eval echo configure:2701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_func_strcoll_works=yes
else
@@ -2725,17 +2772,17 @@ for ac_hdr in sys/wait.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2729: checking for $ac_hdr" >&5
+echo "configure:2776: checking for $ac_hdr" >&5
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 2734 "configure"
+#line 2781 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2763,12 +2810,12 @@ done
for ac_func in waitpid wait3
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2767: checking for $ac_func" >&5
+echo "configure:2814: checking for $ac_func" >&5
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 2772 "configure"
+#line 2819 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2791,7 +2838,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -2816,12 +2863,12 @@ fi
done
echo $ac_n "checking for union wait""... $ac_c" 1>&6
-echo "configure:2820: checking for union wait" >&5
+echo "configure:2867: checking for union wait" >&5
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 2825 "configure"
+#line 2872 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
@@ -2844,7 +2891,7 @@ pid = waitpid (-1, &status, 0);
; return 0; }
EOF
-if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
make_cv_union_wait=yes
else
@@ -2865,12 +2912,12 @@ fi
echo "$ac_t""$make_cv_union_wait" 1>&6
echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
-echo "configure:2869: checking for sys_siglist declaration in signal.h or unistd.h" >&5
+echo "configure:2916: checking for sys_siglist declaration in signal.h or unistd.h" >&5
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 2874 "configure"
+#line 2921 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@@ -2882,7 +2929,7 @@ int main() {
char *msg = *(sys_siglist + 1);
; return 0; }
EOF
-if { (eval echo configure:2886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_decl_sys_siglist=yes
else
@@ -2906,7 +2953,7 @@ fi
# The presence of the following is not meant to imply
# that make necessarily works on those systems.
echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
-echo "configure:2910: checking for getpwnam in -lsun" >&5
+echo "configure:2957: checking for getpwnam in -lsun" >&5
ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2914,7 +2961,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsun $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2918 "configure"
+#line 2965 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2925,7 +2972,7 @@ int main() {
getpwnam()
; return 0; }
EOF
-if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else