home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-01-21 | 234.7 KB | 7,602 lines |
- diff -rc --new-file make-3.71/Makefile.in /gnu/src/amiga/make-3.71/Makefile.in
- *** make-3.71/Makefile.in Sat May 21 20:48:45 1994
- --- /gnu/src/amiga/make-3.71/Makefile.in Sun Jul 10 10:30:36 1994
- ***************
- *** 77,83 ****
- extras = @LIBOBJS@
-
- # Common prefix for machine-independent installed files.
- ! prefix = /usr/local
- # Common prefix for machine-dependent installed files.
- exec_prefix = $(prefix)
-
- --- 77,83 ----
- extras = @LIBOBJS@
-
- # Common prefix for machine-independent installed files.
- ! prefix = /gnu
- # Common prefix for machine-dependent installed files.
- exec_prefix = $(prefix)
-
- ***************
- *** 173,179 ****
- @SET_MAKE@
-
- glob/libglob.a: FORCE config.h
- ! cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
- CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H' \
- RANLIB='$(RANLIB)' \
- libglob.a
- --- 173,179 ----
- @SET_MAKE@
-
- glob/libglob.a: FORCE config.h
- ! @cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
- CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H' \
- RANLIB='$(RANLIB)' \
- libglob.a
- ***************
- *** 258,264 ****
-
- .PHONY: glob-clean glob-realclean
- glob-clean glob-realclean:
- ! cd glob; $(MAKE) $@
-
- Makefile: config.status $(srcdir)/Makefile.in
- $(SHELL) config.status
- --- 258,264 ----
-
- .PHONY: glob-clean glob-realclean
- glob-clean glob-realclean:
- ! @cd glob; $(MAKE) $@
-
- Makefile: config.status $(srcdir)/Makefile.in
- $(SHELL) config.status
- diff -rc --new-file make-3.71/Product-Info /gnu/src/amiga/make-3.71/Product-Info
- *** make-3.71/Product-Info Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/make-3.71/Product-Info Tue Jul 12 17:37:16 1994
- ***************
- *** 0 ****
- --- 1,24 ----
- + .name
- + make
- + .fullname
- + GNU make
- + .type
- + Programmer Tool
- + .short
- + POSIX compatible "make" program
- + .description
- + The "make" utility automatically determines which pieces of a large
- + program need to be recompiled, and issues commands to recompile them.
- + GNU "make" conforms to section 6.2 of "IEEE Standard 1003.2-1992"
- + (POSIX.2).
- + .version
- + 3.71
- + .author
- + Richard Stallman
- + Roland McGrath
- + .restrictions
- + Amiga binary requires ixemul.library.
- + .distribution
- + GNU Public License
- + .described-by
- + Fred Fish (fnf@amigalib.com)
- diff -rc --new-file make-3.71/arscan.c /gnu/src/amiga/make-3.71/arscan.c
- *** make-3.71/arscan.c Wed Feb 16 21:32:47 1994
- --- /gnu/src/amiga/make-3.71/arscan.c Wed Jun 22 21:10:17 1994
- ***************
- *** 22,27 ****
- --- 22,30 ----
- #else
- #include <sys/file.h>
- #endif
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
- #ifndef NO_ARCHIVES
-
- diff -rc --new-file make-3.71/configure /gnu/src/amiga/make-3.71/configure
- *** make-3.71/configure Sat May 21 20:37:43 1994
- --- /gnu/src/amiga/make-3.71/configure Mon Dec 19 16:23:21 1994
- ***************
- *** 1,67 ****
- #!/bin/sh
- - # From configure.in I"cfiguei
-
- ! #!/bin/sh
- # Guess values for system-dependent variables and create Makefiles.
- ! # Generated automatically using autoconf version 1.11
- ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
- !
- ! # This configure script is free software; you can redistribute it and/or
- ! # modify it under the terms of the GNU General Public License as published
- ! # by the Free Software Foundation; either version 2, or (at your option)
- ! # any later version.
- !
- ! # This script is distributed in the hope that it will be useful, but
- ! # WITHOUT ANY WARRANTY; without even the implied warranty of
- ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- ! # Public License for more details.
- !
- ! # You should have received a copy of the GNU General Public License
- ! # along with this program; if not, write to the Free Software
- ! # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- !
- ! # Save the original args to write them into config.status later.
- ! configure_args="$*"
-
- ! # Only options that might do something get documented.
- ! ac_usage="Usage: configure [options] [host]
- ! Options: [defaults in brackets after descriptions]
- ! --build=BUILD configure for building on BUILD [BUILD=HOST]
- ! --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- ! --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- ! --exec-prefix=PREFIX install host dependent files in PREFIX [/usr/local]
- ! --help print this message
- ! --host=HOST configure for HOST [guessed]
- ! --prefix=PREFIX install host independent files in PREFIX [/usr/local]
- ! --quiet, --silent do not print \`checking for...' messages
- ! --srcdir=DIR find the sources in DIR [configure dir or ..]
- ! --target=TARGET configure for TARGET [TARGET=HOST]
- ! --verbose print results of checks
- ! --version print the version of autoconf that created configure
- ! --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- ! --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"
-
- # Initialize some variables set by options.
- # The variables have the same names as the options, with
- # dashes changed to underlines.
- build=NONE
- ! exec_prefix=
- host=NONE
- no_create=
- nonopt=NONE
- ! norecursion=
- ! prefix=
- ! program_prefix=
- ! program_suffix=
- ! program_transform_name=
- silent=
- srcdir=
- target=NONE
- verbose=
- ! x_includes=
- ! x_libraries=
-
- ac_prev=
- for ac_option
- --- 1,44 ----
- #!/bin/sh
-
- ! # From configure.in Id: configure.in,v 1.36 1994/05/17 02:59:57 roland Exp
- # Guess values for system-dependent variables and create Makefiles.
- ! # Generated automatically using autoconf version 2.1
- ! # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
- ! #
- ! # This configure script is free software; the Free Software Foundation
- ! # gives unlimited permission to copy, distribute and modify it.
-
- ! # Defaults:
- ! ac_help=
- ! ac_default_prefix=/gnu
- ! # Any additions from configure.in:
- ! ac_help="$ac_help
- ! --with-customs"
-
- # Initialize some variables set by options.
- # The variables have the same names as the options, with
- # dashes changed to underlines.
- build=NONE
- ! cache_file=./config.cache
- ! exec_prefix=NONE
- host=NONE
- no_create=
- nonopt=NONE
- ! no_recursion=
- ! prefix=NONE
- ! program_prefix=NONE
- ! program_suffix=NONE
- ! program_transform_name=s,x,x,
- silent=
- + site=
- srcdir=
- target=NONE
- verbose=
- ! x_includes=NONE
- ! x_libraries=NONE
- !
- ! # Initialize some other variables.
- ! subdirs=
-
- ac_prev=
- for ac_option
- ***************
- *** 74,87 ****
- continue
- fi
-
- - # Accept (but ignore some of) the important Cygnus configure
- - # options, so we can diagnose typos.
- -
- case "$ac_option" in
- ! -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) ac_optarg= ;;
- esac
-
- case "$ac_option" in
-
- -build | --build | --buil | --bui | --bu | --b)
- --- 51,63 ----
- continue
- fi
-
- case "$ac_option" in
- ! -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) ac_optarg= ;;
- esac
-
- + # Accept the important Cygnus configure options, so we can diagnose typos.
- +
- case "$ac_option" in
-
- -build | --build | --buil | --bui | --bu | --b)
- ***************
- *** 89,117 ****
- -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
- build="$ac_optarg" ;;
-
- -disable-* | --disable-*)
- ! ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! echo "configure: $ac_feature: invalid feature name" >&2; exit 1
- fi
- ! ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- eval "enable_${ac_feature}=no" ;;
-
- -enable-* | --enable-*)
- ! ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! echo "configure: $ac_feature: invalid feature name" >&2; exit 1
- fi
- ! ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "enable_${ac_feature}='$ac_optarg'" ;;
-
- - # For backward compatibility, recognize -exec-prefix and --exec_prefix.
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- --- 65,99 ----
- -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
- build="$ac_optarg" ;;
-
- + -cache-file | --cache-file | --cache-fil | --cache-fi \
- + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- + ac_prev=cache_file ;;
- + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- + cache_file="$ac_optarg" ;;
- +
- -disable-* | --disable-*)
- ! ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
- ! # Reject names that are not valid shell variable names.
- ! if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ! ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- eval "enable_${ac_feature}=no" ;;
-
- -enable-* | --enable-*)
- ! ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- ! # Reject names that are not valid shell variable names.
- ! if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ! ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "enable_${ac_feature}='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ***************
- *** 122,132 ****
- exec_prefix="$ac_optarg" ;;
-
- -gas | --gas | --ga | --g)
- ! with_gas=yes ;; # Obsolete; use --with-gas.
-
- -help | --help | --hel | --he)
- cat << EOF
- ! $ac_usage
- EOF
- exit 0 ;;
-
- --- 104,145 ----
- exec_prefix="$ac_optarg" ;;
-
- -gas | --gas | --ga | --g)
- ! # Obsolete; use --with-gas.
- ! with_gas=yes ;;
-
- -help | --help | --hel | --he)
- + # Omit some internal or obsolete options to make the list less imposing.
- + # This message is too long to be a string in the A/UX 3.1 sh.
- cat << EOF
- ! Usage: configure [options] [host]
- ! Options: [defaults in brackets after descriptions]
- ! Configuration:
- ! --cache-file=FILE cache test results in FILE
- ! --help print this message
- ! --no-create do not create output files
- ! --quiet, --silent do not print \`checking...' messages
- ! --version print the version of autoconf that created configure
- ! Directory and file names:
- ! --prefix=PREFIX install architecture-independent files in PREFIX
- ! [$ac_default_prefix]
- ! --exec-prefix=PREFIX install architecture-dependent files in PREFIX
- ! [same as prefix]
- ! --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
- ! Host type:
- ! --build=BUILD configure for building on BUILD [BUILD=HOST]
- ! --host=HOST configure for HOST [guessed]
- ! --target=TARGET configure for TARGET [TARGET=HOST]
- ! Features and packages:
- ! --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- ! --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- ! --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- ! --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
- exit 0 ;;
-
- ***************
- *** 136,150 ****
- host="$ac_optarg" ;;
-
- -nfp | --nfp | --nf)
- ! with_fp=no ;; # Obsolete; use --without-fp.
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
- no_create=yes ;;
-
- ! -norecursion | --norecursion | --norecursio | --norecursi \
- ! | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
- ! norecursion=yes ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- --- 149,164 ----
- host="$ac_optarg" ;;
-
- -nfp | --nfp | --nf)
- ! # Obsolete; use --without-fp.
- ! with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
- no_create=yes ;;
-
- ! -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- ! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- ! no_recursion=yes ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- ***************
- *** 186,191 ****
- --- 200,210 ----
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- + -site | --site | --sit)
- + ac_prev=site ;;
- + -site=* | --site=* | --sit=*)
- + site="$ac_optarg" ;;
- +
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ***************
- *** 200,215 ****
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers)
- ! echo "configure generated by autoconf version 1.11"
- exit 0 ;;
-
- -with-* | --with-*)
- ! ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! echo "configure: $ac_package: invalid package name" >&2; exit 1
- fi
- ! ac_package=`echo $ac_package| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- --- 219,234 ----
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers)
- ! echo "configure generated by autoconf version 2.1"
- exit 0 ;;
-
- -with-* | --with-*)
- ! ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- ! # Reject names that are not valid shell variable names.
- ! if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- ! { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ! ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- ***************
- *** 217,231 ****
- eval "with_${ac_package}='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ! ac_package=`echo $ac_option|sed -e 's/-*without-//'`
- ! # Reject names that aren't valid shell variable names.
- ! if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! echo "configure: $ac_package: invalid package name" >&2; exit 1
- fi
- ! ac_package=`echo $ac_package| sed 's/-/_/g'`
- eval "with_${ac_package}=no" ;;
-
- ! --x) with_x=yes ;; # Obsolete; use --with-x.
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- --- 236,252 ----
- eval "with_${ac_package}='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ! ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
- ! # Reject names that are not valid shell variable names.
- ! if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- ! { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ! ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- eval "with_${ac_package}=no" ;;
-
- ! --x)
- ! # Obsolete; use --with-x.
- ! with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ***************
- *** 241,255 ****
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
-
- ! -*) echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
- ;;
-
- *)
- ! if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- ! echo "configure: warning: $ac_option: invalid host type" >&2
- fi
- if test "x$nonopt" != xNONE; then
- ! echo "configure: can only configure for one host and one target at a time" >&2; exit 1
- fi
- nonopt="$ac_option"
- ;;
- --- 262,276 ----
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
-
- ! -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
- ;;
-
- *)
- ! if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- ! echo "configure: warning: $ac_option: invalid host type" 1>&2
- fi
- if test "x$nonopt" != xNONE; then
- ! { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- fi
- nonopt="$ac_option"
- ;;
- ***************
- *** 258,293 ****
- done
-
- if test -n "$ac_prev"; then
- ! echo "configure: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
- fi
-
- trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
- - trap 'rm -fr confdefs* $ac_clean_files' 0
-
- ! # Save the original args if we used an alternate arg parser.
- ! ac_configure_temp="${configure_args-$*}"
- ! # Strip out --no-create and --norecursion so they don't pile up.
- ! configure_args=
- ! for ac_arg in $ac_configure_temp; do
- case "$ac_arg" in
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) ;;
- ! -norecursion | --norecursion | --norecursio | --norecursi \
- ! | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
- ! *) configure_args="$configure_args $ac_arg" ;;
- esac
- done
-
- # NLS nuisances.
- # These must not be set unconditionally because not all systems understand
- # e.g. LANG=C (notably SCO).
- ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
- ! if test "${LANG+set}" = 'set'; then LANG=C; export LANG; fi
-
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- ! echo > confdefs.h
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- --- 279,335 ----
- done
-
- if test -n "$ac_prev"; then
- ! { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
- fi
-
- trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
-
- ! # File descriptor usage:
- ! # 0 unused; standard input
- ! # 1 file creation
- ! # 2 errors and warnings
- ! # 3 unused; some systems may open it to /dev/tty
- ! # 4 checking for... messages and results
- ! # 5 compiler messages saved in config.log
- ! if test "$silent" = yes; then
- ! exec 4>/dev/null
- ! else
- ! exec 4>&1
- ! fi
- ! exec 5>./config.log
- !
- ! echo "\
- ! This file contains any messages produced by compilers while
- ! running configure, to aid debugging if configure makes a mistake.
- ! " 1>&5
- !
- ! # Strip out --no-create and --no-recursion so they do not pile up.
- ! # Also quote any args containing shell metacharacters.
- ! ac_configure_args=
- ! for ac_arg
- ! do
- case "$ac_arg" in
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) ;;
- ! -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- ! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- ! *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- ! ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- ! *) ac_configure_args="$ac_configure_args $ac_arg" ;;
- esac
- done
-
- # NLS nuisances.
- + # Only set LANG and LC_ALL to C if already set.
- # These must not be set unconditionally because not all systems understand
- # e.g. LANG=C (notably SCO).
- ! if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
- ! if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- ! /bin/echo > confdefs.h
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- ***************
- *** 296,392 ****
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- ! # Try the directory containing this script, then `..'.
- ac_prog=$0
- ! ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
- fi
- if test ! -r $srcdir/$ac_unique_file; then
- ! if test x$ac_srcdir_defaulted = xyes; then
- ! echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
- else
- ! echo "configure: can not find sources in ${srcdir}" >&2; exit 1
- fi
- fi
- ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- ! ac_cpp='${CPP}'
- ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
-
-
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-g
- ! test -z "$LDFLAGS" && LDFLAGS=-g
-
- ! cat > conftestmake <<'EOF'
- all:
- ! @echo 'ac_maketemp="${MAKE}"'
- EOF
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
- ! if test -n "$ac_maketemp"; then SET_MAKE=
- ! else SET_MAKE="MAKE=${MAKE-make}"; fi
- rm -f conftestmake
- !
- ! if test -z "$CC"; then
- ! # Extract the first word of `gcc', so it can be a program name with args.
- ! set ac_dummy gcc; ac_word=$2
- ! test -n "$silent" || echo "checking for $ac_word"
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ! CC="gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
- fi
- - test -z "$CC" && CC="cc"
- - test -n "$CC" && test -n "$verbose" && echo " setting CC to $CC"
-
- ! # Find out if we are using GNU C, under whatever name.
- ! cat > conftest.c <<EOF
- #ifdef __GNUC__
- ! yes
- #endif
- EOF
- ! ${CC-cc} -E conftest.c > conftest.out 2>&1
- ! if egrep yes conftest.out >/dev/null 2>&1; then
- ! GCC=1 # For later tests.
- fi
- rm -f conftest*
-
- ! # Make sure to not get the incompatible SysV /etc/install and
- ! # /usr/sbin/install, which might be in PATH before a BSD-like install,
- ! # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
- ! # or the AFS install, which mishandles nonexistent args, or
- ! # /usr/ucb/install on SVR4, which tries to use the nonexistent group
- ! # `staff', or /sbin/install on IRIX which has incompatible command-line
- ! # syntax. Sigh.
- ! #
- ! # On most BSDish systems install is in /usr/bin, not /usr/ucb
- ! # anyway.
- ! # This turns out not to be true, so the mere pathname isn't an indication
- ! # of whether the program works. What we really need is a set of tests for
- ! # the install program to see if it actually works in all the required ways.
- ! #
- ! # Avoid using ./install, which might have been erroneously created
- ! # by make from ./install.sh.
- ! if test -z "${INSTALL}"; then
- ! test -n "$silent" || echo "checking for a BSD compatible install"
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- case "$ac_dir" in
- ! ''|.|/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- ! for ac_prog in installbsd scoinst install; do
- if test -f $ac_dir/$ac_prog; then
- if test $ac_prog = install &&
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- --- 338,552 ----
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- ! # Try the directory containing this script, then its parent.
- ac_prog=$0
- ! ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
- + else
- + ac_srcdir_defaulted=no
- fi
- if test ! -r $srcdir/$ac_unique_file; then
- ! if test "$ac_srcdir_defaulted" = yes; then
- ! { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
- ! else
- ! { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
- ! fi
- ! fi
- ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
- !
- ! # Prefer explicitly selected file to automatically selected ones.
- ! if test -z "$CONFIG_SITE"; then
- ! if test "x$prefix" != xNONE; then
- ! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
- else
- ! CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
- ! fi
- ! fi
- ! for ac_site_file in $CONFIG_SITE; do
- ! if test -r "$ac_site_file"; then
- ! echo "loading site script $ac_site_file"
- ! . "$ac_site_file"
- fi
- + done
- +
- + if test -r "$cache_file"; then
- + echo "loading cache $cache_file"
- + . $cache_file
- + else
- + echo "creating cache $cache_file"
- + > $cache_file
- fi
- +
- ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- ! ac_cpp='$CPP $CPPFLAGS'
- ! ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
- ! ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
- !
- ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- ! # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- ! if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- ! ac_n= ac_c='
- ! ' ac_t=' '
- ! else
- ! ac_n=-n ac_c= ac_t=
- ! fi
- ! else
- ! ac_n= ac_c='\c' ac_t=
- ! fi
-
-
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-O2
- ! test -z "$LDFLAGS" && LDFLAGS=
-
- ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
- ! set dummy ${MAKE-make}; ac_make=$2
- ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftestmake <<\EOF
- all:
- ! @/bin/echo 'ac_maketemp="${MAKE}"'
- EOF
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
- ! if test -n "$ac_maketemp"; then
- ! eval ac_cv_prog_make_${ac_make}_set=yes
- ! else
- ! eval ac_cv_prog_make_${ac_make}_set=no
- ! fi
- rm -f conftestmake
- ! fi
- ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! SET_MAKE=
- ! else
- ! /bin/echo "$ac_t""no" 1>&4
- ! SET_MAKE="MAKE=${MAKE-make}"
- ! fi
- !
- ! # Extract the first word of "gcc", so it can be a program name with args.
- ! set dummy gcc; ac_word=$2
- ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! if test -n "$CC"; then
- ! ac_cv_prog_CC="$CC" # Let the user override the test.
- ! else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ! ac_cv_prog_CC="gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
- + fi
- + fi
- + CC="$ac_cv_prog_CC"
- + if test -n "$CC"; then
- + /bin/echo "$ac_t""$CC" 1>&4
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- !
- ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.c <<EOF
- #ifdef __GNUC__
- ! yes;
- #endif
- EOF
- ! if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
- ! ac_cv_prog_gcc=yes
- ! else
- ! ac_cv_prog_gcc=no
- ! fi
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
- ! if test $ac_cv_prog_gcc = yes; then
- ! GCC=yes
- ! if test "${CFLAGS+set}" != set; then
- ! /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! echo 'void f(){}' > conftest.c
- ! if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
- ! ac_cv_prog_gcc_g=yes
- ! else
- ! ac_cv_prog_gcc_g=no
- fi
- rm -f conftest*
-
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
- ! if test $ac_cv_prog_gcc_g = yes; then
- ! # Amiga hack - suppress automatically using -g for now
- ! # Also default to using -O2
- ! CFLAGS="-O2"
- ! else
- ! CFLAGS="-O2"
- ! fi
- ! fi
- ! else
- ! GCC=
- ! test "${CFLAGS+set}" = set || CFLAGS="-g"
- ! fi
- !
- ! ac_aux_dir=
- ! for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- ! if test -f $ac_dir/install-sh; then
- ! ac_aux_dir=$ac_dir
- ! ac_install_sh="$ac_aux_dir/install-sh -c"
- ! break
- ! elif test -f $ac_dir/install.sh; then
- ! ac_aux_dir=$ac_dir
- ! ac_install_sh="$ac_aux_dir/install.sh -c"
- ! break
- ! fi
- ! done
- ! if test -z "$ac_aux_dir"; then
- ! { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
- ! fi
- ! ac_config_guess=$ac_aux_dir/config.guess
- ! ac_config_sub=$ac_aux_dir/config.sub
- ! ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
- !
- ! # Find a good install program. We prefer a C program (faster),
- ! # so one script is as good as another. But avoid the broken or
- ! # incompatible versions:
- ! # SysV /etc/install, /usr/sbin/install
- ! # SunOS /usr/etc/install
- ! # IRIX /sbin/install
- ! # AIX /bin/install
- ! # AFS /usr/afsws/bin/install, which mishandles nonexistent args
- ! # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- ! # ./install, which can be erroneously created by make from ./install.sh.
- ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
- ! if test -z "$INSTALL"; then
- ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- case "$ac_dir" in
- ! ''|.|/gnu/etc) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- ! for ac_prog in ginstall installbsd scoinst install; do
- if test -f $ac_dir/$ac_prog; then
- if test $ac_prog = install &&
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- ***************
- *** 394,400 ****
- # OSF/1 installbsd also uses dspmsg, but is usable.
- :
- else
- ! INSTALL="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi
- --- 554,560 ----
- # OSF/1 installbsd also uses dspmsg, but is usable.
- :
- else
- ! ac_cv_path_install="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi
- ***************
- *** 403,835 ****
- esac
- done
- IFS="$ac_save_ifs"
- - fi
- -
- - if test -z "$INSTALL"; then
- # As a last resort, use the slow shell script.
- ! for ac_dir in ${srcdir} ${srcdir}/.. ${srcdir}/../..; do
- ! if test -f $ac_dir/install.sh; then
- ! INSTALL="$ac_dir/install.sh -c"; break
- ! fi
- ! done
- fi
- ! if test -z "$INSTALL"; then
- ! echo "configure: can not find install.sh in ${srcdir} or ${srcdir}/.. or ${srcdir}/../.." >&2; exit 1
- fi
- ! test -n "$verbose" && echo " setting INSTALL to $INSTALL"
-
- ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
- # It thinks the first close brace ends the variable substitution.
- test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
- - test -n "$verbose" && echo " setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
- - test -n "$verbose" && echo " setting INSTALL_DATA to $INSTALL_DATA"
-
- ! if test -z "$RANLIB"; then
- ! # Extract the first word of `ranlib', so it can be a program name with args.
- ! set ac_dummy ranlib; ac_word=$2
- ! test -n "$silent" || echo "checking for $ac_word"
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ! RANLIB="ranlib"
- break
- fi
- done
- IFS="$ac_save_ifs"
- fi
- - test -z "$RANLIB" && RANLIB=":"
- - test -n "$RANLIB" && test -n "$verbose" && echo " setting RANLIB to $RANLIB"
-
- ! test -n "$silent" || echo "checking how to run the C preprocessor"
- if test -z "$CPP"; then
- ! # This must be in double quotes, not single quotes, because CPP may get
- ! # substituted into the Makefile and ``${CC-cc}'' will simply confuse
- ! # make. It must be expanded now.
- CPP="${CC-cc} -E"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <stdio.h>
- Syntax Error
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- :
- else
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <stdio.h>
- Syntax Error
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- :
- else
- rm -rf conftest*
- CPP=/lib/cpp
- fi
- rm -f conftest*
- fi
- rm -f conftest*
- fi
- ! test -n "$verbose" && echo " setting CPP to $CPP"
- ! test -n "$silent" || echo "checking for AIX"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #ifdef _AIX
- yes
- #endif
-
- EOF
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "yes" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining _ALL_SOURCE"
- ! echo "#define" _ALL_SOURCE "1" >> confdefs.h
- ! DEFS="$DEFS -D_ALL_SOURCE=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}_ALL_SOURCE\${ac_dB}_ALL_SOURCE\${ac_dC}1\${ac_dD}
- ! \${ac_uA}_ALL_SOURCE\${ac_uB}_ALL_SOURCE\${ac_uC}1\${ac_uD}
- ! \${ac_eA}_ALL_SOURCE\${ac_eB}_ALL_SOURCE\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
-
- fi
- rm -f conftest*
-
-
- ! test -n "$silent" || echo "checking for POSIXized ISC"
- ! if test -d /etc/conf/kconfig.d &&
- ! grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
- then
- ! ISC=1 # If later tests want to check for ISC.
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining _POSIX_SOURCE"
- ! echo "#define" _POSIX_SOURCE "1" >> confdefs.h
- ! DEFS="$DEFS -D_POSIX_SOURCE=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}_POSIX_SOURCE\${ac_dB}_POSIX_SOURCE\${ac_dC}1\${ac_dD}
- ! \${ac_uA}_POSIX_SOURCE\${ac_uB}_POSIX_SOURCE\${ac_uC}1\${ac_uD}
- ! \${ac_eA}_POSIX_SOURCE\${ac_eB}_POSIX_SOURCE\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- ! if test -n "$GCC"; then
- CC="$CC -posix"
- else
- CC="$CC -Xp"
- fi
- fi
-
- ! test -n "$silent" || echo "checking for minix/config.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <minix/config.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! MINIX=1
- !
- fi
- rm -f conftest*
-
- ! # The Minix shell can't assign to the same variable on the same line!
- ! if test -n "$MINIX"; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining _POSIX_SOURCE"
- ! echo "#define" _POSIX_SOURCE "1" >> confdefs.h
- ! DEFS="$DEFS -D_POSIX_SOURCE=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}_POSIX_SOURCE\${ac_dB}_POSIX_SOURCE\${ac_dC}1\${ac_dD}
- ! \${ac_uA}_POSIX_SOURCE\${ac_uB}_POSIX_SOURCE\${ac_uC}1\${ac_uD}
- ! \${ac_eA}_POSIX_SOURCE\${ac_eB}_POSIX_SOURCE\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" _POSIX_1_SOURCE to be "2"
- ! echo "#define" _POSIX_1_SOURCE "2" >> confdefs.h
- ! DEFS="$DEFS -D_POSIX_1_SOURCE=2"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}_POSIX_1_SOURCE\${ac_dB}_POSIX_1_SOURCE\${ac_dC}2\${ac_dD}
- ! \${ac_uA}_POSIX_1_SOURCE\${ac_uB}_POSIX_1_SOURCE\${ac_uC}2\${ac_uD}
- ! \${ac_eA}_POSIX_1_SOURCE\${ac_eB}_POSIX_1_SOURCE\${ac_eC}2\${ac_eD}
- ! "
- ! }
-
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining _MINIX"
- ! echo "#define" _MINIX "1" >> confdefs.h
- ! DEFS="$DEFS -D_MINIX=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}_MINIX\${ac_dB}_MINIX\${ac_dC}1\${ac_dD}
- ! \${ac_uA}_MINIX\${ac_uB}_MINIX\${ac_uC}1\${ac_uD}
- ! \${ac_eA}_MINIX\${ac_eB}_MINIX\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- fi
-
- ! test -n "$silent" || echo "checking for ANSI C header files"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- ! echo '#include "confdefs.h"
- ! #include <string.h>' > conftest.${ac_ext}
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "memchr" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- ! # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- ! #define XOR(e,f) (((e) && !(f)) || (!(e) && (f)))
- int main () { int i; for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
- exit (0); }
-
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- ! echo '#include "confdefs.h"
- ! #include <stdlib.h>' > conftest.${ac_ext}
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "free" conftest.out >/dev/null 2>&1; then
- ! rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining STDC_HEADERS"
- ! echo "#define" STDC_HEADERS "1" >> confdefs.h
- ! DEFS="$DEFS -DSTDC_HEADERS=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STDC_HEADERS\${ac_dB}STDC_HEADERS\${ac_dC}1\${ac_dD}
- ! \${ac_uA}STDC_HEADERS\${ac_uB}STDC_HEADERS\${ac_uC}1\${ac_uD}
- ! \${ac_eA}STDC_HEADERS\${ac_eB}STDC_HEADERS\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- - rm -f conftest*
- -
- -
- fi
- rm -fr conftest*
- -
- fi
- ! rm -f conftest*
- !
-
- fi
- - rm -f conftest*
-
- ! test -n "$silent" || echo "checking for directory library header"
- ! ac_dir_header=
- ! if test -z "$ac_dir_header"; then
- ! test -n "$silent" || echo "checking for dirent.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- ! #include <dirent.h>
- int main() { return 0; }
- ! int t() { DIR *dirp = 0;; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining DIRENT"
- ! echo "#define" DIRENT "1" >> confdefs.h
- ! DEFS="$DEFS -DDIRENT=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}DIRENT\${ac_dB}DIRENT\${ac_dC}1\${ac_dD}
- ! \${ac_uA}DIRENT\${ac_uB}DIRENT\${ac_uC}1\${ac_uD}
- ! \${ac_eA}DIRENT\${ac_eB}DIRENT\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ac_dir_header=dirent.h
- !
- fi
- rm -f conftest*
- fi
- ! if test -z "$ac_dir_header"; then
- ! test -n "$silent" || echo "checking for sys/ndir.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- ! #include <sys/ndir.h>
- ! int main() { return 0; }
- ! int t() { DIR *dirp = 0;; return 0; }
- EOF
- ! if eval $ac_compile; then
- ! rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining SYSNDIR"
- ! echo "#define" SYSNDIR "1" >> confdefs.h
- ! DEFS="$DEFS -DSYSNDIR=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SYSNDIR\${ac_dB}SYSNDIR\${ac_dC}1\${ac_dD}
- ! \${ac_uA}SYSNDIR\${ac_uB}SYSNDIR\${ac_uC}1\${ac_uD}
- ! \${ac_eA}SYSNDIR\${ac_eB}SYSNDIR\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ac_dir_header=sys/ndir.h
- !
- fi
- - rm -f conftest*
- fi
- ! if test -z "$ac_dir_header"; then
- ! test -n "$silent" || echo "checking for sys/dir.h"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <sys/types.h>
- ! #include <sys/dir.h>
- ! int main() { return 0; }
- ! int t() { DIR *dirp = 0;; return 0; }
- EOF
- - if eval $ac_compile; then
- - rm -rf conftest*
- -
- - {
- - test -n "$verbose" && \
- - echo " defining SYSDIR"
- - echo "#define" SYSDIR "1" >> confdefs.h
- - DEFS="$DEFS -DSYSDIR=1"
- - ac_sed_defs="${ac_sed_defs}\${ac_dA}SYSDIR\${ac_dB}SYSDIR\${ac_dC}1\${ac_dD}
- - \${ac_uA}SYSDIR\${ac_uB}SYSDIR\${ac_uC}1\${ac_uD}
- - \${ac_eA}SYSDIR\${ac_eB}SYSDIR\${ac_eC}1\${ac_eD}
- - "
- - }
- - ac_dir_header=sys/dir.h
-
- fi
- ! rm -f conftest*
- ! fi
- ! if test -z "$ac_dir_header"; then
- ! test -n "$silent" || echo "checking for ndir.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- - #include <ndir.h>
- - int main() { return 0; }
- - int t() { DIR *dirp = 0;; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining NDIR"
- ! echo "#define" NDIR "1" >> confdefs.h
- ! DEFS="$DEFS -DNDIR=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}NDIR\${ac_dB}NDIR\${ac_dC}1\${ac_dD}
- ! \${ac_uA}NDIR\${ac_uB}NDIR\${ac_uC}1\${ac_uD}
- ! \${ac_eA}NDIR\${ac_eB}NDIR\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ac_dir_header=ndir.h
- !
- fi
- rm -f conftest*
- fi
-
- ! test -n "$silent" || echo "checking for closedir return value"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <sys/types.h>
- ! #include <$ac_dir_header>
- ! int closedir(); main() { exit(closedir(opendir(".")) != 0); }
- EOF
- - eval $ac_compile
- - if test -s conftest && (./conftest; exit) 2>/dev/null; then
- - :
- - else
- -
- - {
- - test -n "$verbose" && \
- - echo " defining VOID_CLOSEDIR"
- - echo "#define" VOID_CLOSEDIR "1" >> confdefs.h
- - DEFS="$DEFS -DVOID_CLOSEDIR=1"
- - ac_sed_defs="${ac_sed_defs}\${ac_dA}VOID_CLOSEDIR\${ac_dB}VOID_CLOSEDIR\${ac_dC}1\${ac_dD}
- - \${ac_uA}VOID_CLOSEDIR\${ac_uB}VOID_CLOSEDIR\${ac_uC}1\${ac_uD}
- - \${ac_eA}VOID_CLOSEDIR\${ac_eB}VOID_CLOSEDIR\${ac_eC}1\${ac_eD}
- - "
- - }
-
- fi
- ! rm -fr conftest*
- !
- ! test -n "$silent" || echo "checking for uid_t in sys/types.h"
- ! echo '#include "confdefs.h"
- ! #include <sys/types.h>' > conftest.${ac_ext}
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "uid_t" conftest.out >/dev/null 2>&1; then
- ! :
- else
- ! rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" uid_t to be "int"
- ! echo "#define" uid_t "int" >> confdefs.h
- ! DEFS="$DEFS -Duid_t=int"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}uid_t\${ac_dB}uid_t\${ac_dC}int\${ac_dD}
- ! \${ac_uA}uid_t\${ac_uB}uid_t\${ac_uC}int\${ac_uD}
- ! \${ac_eA}uid_t\${ac_eB}uid_t\${ac_eC}int\${ac_eD}
- ! "
- ! }
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" gid_t to be "int"
- ! echo "#define" gid_t "int" >> confdefs.h
- ! DEFS="$DEFS -Dgid_t=int"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}gid_t\${ac_dB}gid_t\${ac_dC}int\${ac_dD}
- ! \${ac_uA}gid_t\${ac_uB}gid_t\${ac_uC}int\${ac_uD}
- ! \${ac_eA}gid_t\${ac_eB}gid_t\${ac_eC}int\${ac_eD}
- ! "
- ! }
-
- ! fi
- ! rm -f conftest*
- ! test -n "$silent" || echo "checking for type of array argument to getgroups"
- ! ac_prog='/* Thanks to Mike Rendell for this test. */
- #include <sys/types.h>
- #define NGID 256
- #undef MAX
- ! #define MAX(x,y) ((x) > (y) ? (x) : (y))
- main()
- {
- gid_t gidset[NGID];
- --- 563,1001 ----
- esac
- done
- IFS="$ac_save_ifs"
- # As a last resort, use the slow shell script.
- ! test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
- fi
- ! INSTALL="$ac_cv_path_install"
- fi
- ! /bin/echo "$ac_t""$INSTALL" 1>&4
-
- ! # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- # It thinks the first close brace ends the variable substitution.
- test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- ! # Extract the first word of "ranlib", so it can be a program name with args.
- ! set dummy ranlib; ac_word=$2
- ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! if test -n "$RANLIB"; then
- ! ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- ! else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ! ac_cv_prog_RANLIB="ranlib"
- break
- fi
- done
- IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
- + fi
- + fi
- + RANLIB="$ac_cv_prog_RANLIB"
- + if test -n "$RANLIB"; then
- + /bin/echo "$ac_t""$RANLIB" 1>&4
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
- ! # On Suns, sometimes $CPP names a directory.
- ! if test -n "$CPP" && test -d "$CPP"; then
- ! CPP=
- ! fi
- if test -z "$CPP"; then
- ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! # This must be in double quotes, not single quotes, because CPP may get
- ! # substituted into the Makefile and "${CC-cc}" will confuse make.
- CPP="${CC-cc} -E"
- ! # On the NeXT, cc -E runs the code through the compiler's parser,
- ! # not just through cpp.
- ! cat > conftest.$ac_ext <<EOF
- ! #line 623 "configure"
- #include "confdefs.h"
- ! #include <assert.h>
- Syntax Error
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- :
- else
- + /bin/echo "$ac_err" >&5
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- ! cat > conftest.$ac_ext <<EOF
- ! #line 637 "configure"
- #include "confdefs.h"
- ! #include <assert.h>
- Syntax Error
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- :
- else
- + /bin/echo "$ac_err" >&5
- rm -rf conftest*
- CPP=/lib/cpp
- fi
- rm -f conftest*
- fi
- rm -f conftest*
- + ac_cv_prog_CPP="$CPP"
- + fi
- fi
- ! CPP="$ac_cv_prog_CPP"
- ! /bin/echo "$ac_t""$CPP" 1>&4
- ! /bin/echo $ac_n "checking for AIX""... $ac_c" 1>&4
- ! cat > conftest.$ac_ext <<EOF
- ! #line 661 "configure"
- #include "confdefs.h"
- #ifdef _AIX
- yes
- #endif
-
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "yes" >/dev/null 2>&1; then
- rm -rf conftest*
- ! /bin/echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
- ! #define _ALL_SOURCE 1
- ! EOF
-
- + else
- + rm -rf conftest*
- + /bin/echo "$ac_t""no" 1>&4
- fi
- rm -f conftest*
-
-
- ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
- ! if test -d /gnu/etc/conf/kconfig.d &&
- ! grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
- then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! ISC=yes # If later tests want to check for ISC.
- ! cat >> confdefs.h <<\EOF
- ! #define _POSIX_SOURCE 1
- ! EOF
-
- ! if test "$GCC" = yes; then
- CC="$CC -posix"
- else
- CC="$CC -Xp"
- fi
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + ISC=
- fi
-
- ! ac_safe=`/bin/echo "minix/config.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 708 "configure"
- #include "confdefs.h"
- #include <minix/config.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + MINIX=yes
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + MINIX=
- + fi
-
- ! if test "$MINIX" = yes; then
- ! cat >> confdefs.h <<\EOF
- ! #define _POSIX_SOURCE 1
- ! EOF
-
- ! cat >> confdefs.h <<\EOF
- ! #define _POSIX_1_SOURCE 2
- ! EOF
-
- ! cat >> confdefs.h <<\EOF
- ! #define _MINIX 1
- ! EOF
- !
- ! fi
-
- + # If we cannot run a trivial program, we must be cross compiling.
- + /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
- + if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
- + /bin/echo $ac_n "(cached) $ac_c" 1>&4
- + else
- + if test "$cross_compiling" = yes; then
- + ac_cv_cross=yes
- + else
- + cat > conftest.$ac_ext <<EOF
- + #line 756 "configure"
- + #include "confdefs.h"
- + main(){return(0);}
- + EOF
- + eval $ac_link
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_c_cross=no
- + else
- + ac_cv_c_cross=yes
- fi
- + fi
- + rm -fr conftest*
- + fi
- + cross_compiling=$ac_cv_c_cross
- + /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
-
- ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 777 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- + ac_cv_header_stdc=yes
- + else
- + /bin/echo "$ac_err" >&5
- + rm -rf conftest*
- + ac_cv_header_stdc=no
- + fi
- + 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 799 "configure"
- ! #include "confdefs.h"
- ! #include <string.h>
- ! EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "memchr" >/dev/null 2>&1; then
- ! :
- ! else
- ! rm -rf conftest*
- ! ac_cv_header_stdc=no
- ! fi
- ! rm -f conftest*
- !
- ! 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 817 "configure"
- ! #include "confdefs.h"
- ! #include <stdlib.h>
- ! EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "free" >/dev/null 2>&1; then
- ! :
- ! else
- rm -rf conftest*
- ! ac_cv_header_stdc=no
- ! fi
- ! rm -f conftest*
- !
- ! 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 838 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- ! #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- int main () { int i; for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
- exit (0); }
-
- EOF
- ! eval $ac_link
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! :
- ! else
- ! ac_cv_header_stdc=no
- fi
- fi
- rm -fr conftest*
- fi
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
- ! if test $ac_cv_header_stdc = yes; then
- ! cat >> confdefs.h <<\EOF
- ! #define STDC_HEADERS 1
- ! EOF
-
- fi
-
- ! ac_header_dirent=no
- ! for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
- ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 875 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- ! #include <$ac_hdr>
- int main() { return 0; }
- ! int t() {
- ! DIR *dirp = 0;
- ! ; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- ! eval "ac_cv_header_dirent_$ac_safe=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_header_dirent_$ac_safe=no"
- fi
- rm -f conftest*
- +
- + fi
- + if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_header_dirent=$ac_hdr; break
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
- !
- ! done
- !
- ! case "$ac_header_dirent" in
- ! dirent.h) cat >> confdefs.h <<\EOF
- ! #define DIRENT 1
- ! EOF
- ! ;;
- ! sys/ndir.h) cat >> confdefs.h <<\EOF
- ! #define SYSNDIR 1
- ! EOF
- ! ;;
- ! sys/dir.h) cat >> confdefs.h <<\EOF
- ! #define SYSDIR 1
- ! EOF
- ! ;;
- ! ndir.h) cat >> confdefs.h <<\EOF
- ! #define NDIR 1
- ! EOF
- ! ;;
- ! esac
- !
- ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! if test "$cross_compiling" = yes; then
- ! { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 930 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- ! #include <$ac_header_dirent>
- ! int closedir(); main() { exit(closedir(opendir(".")) != 0); }
- EOF
- ! eval $ac_link
- ! if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_func_closedir_void=no
- ! else
- ! ac_cv_func_closedir_void=yes
- fi
- fi
- ! rm -fr conftest*
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
- ! if test $ac_cv_func_closedir_void = yes; then
- ! cat >> confdefs.h <<\EOF
- ! #define VOID_CLOSEDIR 1
- EOF
-
- fi
- !
- ! /bin/echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_type_uid_t'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 958 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "uid_t" >/dev/null 2>&1; then
- rm -rf conftest*
- ! ac_cv_type_uid_t=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_type_uid_t=no
- fi
- rm -f conftest*
- +
- fi
- + /bin/echo "$ac_t""$ac_cv_type_uid_t" 1>&4
- + if test $ac_cv_type_uid_t = no; then
- + cat >> confdefs.h <<\EOF
- + #define uid_t int
- + EOF
-
- ! cat >> confdefs.h <<\EOF
- ! #define gid_t int
- EOF
-
- fi
- ! /bin/echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_type_getgroups'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- else
- ! if test "$cross_compiling" = yes; then
- ! ac_cv_type_getgroups=cross
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 992 "configure"
- ! #include "confdefs.h"
-
- ! /* Thanks to Mike Rendell for this test. */
- #include <sys/types.h>
- #define NGID 256
- #undef MAX
- ! #define MAX(x, y) ((x) > (y) ? (x) : (y))
- main()
- {
- gid_t gidset[NGID];
- ***************
- *** 844,910 ****
- /* Exit non-zero if getgroups seems to require an array of ints. This
- happens when gid_t is short but getgroups modifies an array of ints. */
- exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
- - }'
- - cat > conftest.${ac_ext} <<EOF
- - #include "confdefs.h"
- - $ac_prog
- - EOF
- - eval $ac_compile
- - if test -s conftest && (./conftest; exit) 2>/dev/null; then
- -
- - {
- - test -n "$verbose" && \
- - echo " defining" GETGROUPS_T to be "gid_t"
- - echo "#define" GETGROUPS_T "gid_t" >> confdefs.h
- - DEFS="$DEFS -DGETGROUPS_T=gid_t"
- - ac_sed_defs="${ac_sed_defs}\${ac_dA}GETGROUPS_T\${ac_dB}GETGROUPS_T\${ac_dC}gid_t\${ac_dD}
- - \${ac_uA}GETGROUPS_T\${ac_uB}GETGROUPS_T\${ac_uC}gid_t\${ac_uD}
- - \${ac_eA}GETGROUPS_T\${ac_eB}GETGROUPS_T\${ac_eC}gid_t\${ac_eD}
- - "
- }
-
- !
- else
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" GETGROUPS_T to be "int"
- ! echo "#define" GETGROUPS_T "int" >> confdefs.h
- ! DEFS="$DEFS -DGETGROUPS_T=int"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}GETGROUPS_T\${ac_dB}GETGROUPS_T\${ac_dC}int\${ac_dD}
- ! \${ac_uA}GETGROUPS_T\${ac_uB}GETGROUPS_T\${ac_uC}int\${ac_uD}
- ! \${ac_eA}GETGROUPS_T\${ac_eB}GETGROUPS_T\${ac_eC}int\${ac_eD}
- ! "
- ! }
- !
- fi
- rm -fr conftest*
- !
- ! test -n "$silent" || echo "checking for pid_t in sys/types.h"
- ! echo '#include "confdefs.h"
- ! #include <sys/types.h>' > conftest.${ac_ext}
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "pid_t" conftest.out >/dev/null 2>&1; then
- ! :
- else
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" pid_t to be "int"
- ! echo "#define" pid_t "int" >> confdefs.h
- ! DEFS="$DEFS -Dpid_t=int"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}pid_t\${ac_dB}pid_t\${ac_dC}int\${ac_dD}
- ! \${ac_uA}pid_t\${ac_uB}pid_t\${ac_uC}int\${ac_uD}
- ! \${ac_eA}pid_t\${ac_eB}pid_t\${ac_eC}int\${ac_eD}
- ! "
- ! }
-
- fi
- rm -f conftest*
-
- ! test -n "$silent" || echo "checking for return type of signal handlers"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- --- 1010,1087 ----
- /* Exit non-zero if getgroups seems to require an array of ints. This
- happens when gid_t is short but getgroups modifies an array of ints. */
- exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
- }
-
- ! EOF
- ! eval $ac_link
- ! if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_type_getgroups=gid_t
- else
- ! ac_cv_type_getgroups=int
- ! fi
- fi
- rm -fr conftest*
- ! if test $ac_cv_type_getgroups = cross; then
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1027 "configure"
- ! #include "confdefs.h"
- ! #include <unistd.h>
- ! EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
- ! rm -rf conftest*
- ! ac_cv_type_getgroups=gid_t
- else
- rm -rf conftest*
- ! ac_cv_type_getgroups=int
- ! fi
- ! rm -f conftest*
-
- fi
- + fi
- + /bin/echo "$ac_t""$ac_cv_type_getgroups" 1>&4
- + cat >> confdefs.h <<EOF
- + #define GETGROUPS_T $ac_cv_type_getgroups
- + EOF
- +
- +
- + /bin/echo $ac_n "checking for pid_t""... $ac_c" 1>&4
- + if eval "test \"`echo '${'ac_cv_type_pid_t'+set}'`\" = set"; then
- + /bin/echo $ac_n "(cached) $ac_c" 1>&4
- + else
- + cat > conftest.$ac_ext <<EOF
- + #line 1054 "configure"
- + #include "confdefs.h"
- + #include <sys/types.h>
- + #if STDC_HEADERS
- + #include <stdlib.h>
- + #endif
- + EOF
- + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + egrep "pid_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_pid_t=yes
- + else
- + rm -rf conftest*
- + ac_cv_type_pid_t=no
- + fi
- rm -f conftest*
-
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_type_pid_t" 1>&4
- ! if test $ac_cv_type_pid_t = no; then
- ! cat >> confdefs.h <<\EOF
- ! #define pid_t int
- ! EOF
- !
- ! fi
- !
- ! /bin/echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1085 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- ***************
- *** 913,1035 ****
- #endif
- extern void (*signal ()) ();
- int main() { return 0; }
- ! int t() { int i;; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" RETSIGTYPE to be "void"
- ! echo "#define" RETSIGTYPE "void" >> confdefs.h
- ! DEFS="$DEFS -DRETSIGTYPE=void"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}RETSIGTYPE\${ac_dB}RETSIGTYPE\${ac_dC}void\${ac_dD}
- ! \${ac_uA}RETSIGTYPE\${ac_uB}RETSIGTYPE\${ac_uC}void\${ac_uD}
- ! \${ac_eA}RETSIGTYPE\${ac_eB}RETSIGTYPE\${ac_eC}void\${ac_eD}
- ! "
- ! }
- !
- !
- else
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" RETSIGTYPE to be "int"
- ! echo "#define" RETSIGTYPE "int" >> confdefs.h
- ! DEFS="$DEFS -DRETSIGTYPE=int"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}RETSIGTYPE\${ac_dB}RETSIGTYPE\${ac_dC}int\${ac_dD}
- ! \${ac_uA}RETSIGTYPE\${ac_uB}RETSIGTYPE\${ac_uC}int\${ac_uD}
- ! \${ac_eA}RETSIGTYPE\${ac_eB}RETSIGTYPE\${ac_eC}int\${ac_eD}
- ! "
- ! }
- !
- fi
- rm -f conftest*
-
-
- for ac_hdr in unistd.h limits.h sys/param.h fcntl.h string.h memory.h \
- sys/timeb.h
- do
- ! ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
- ! test -n "$silent" || echo "checking for ${ac_hdr}"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <${ac_hdr}>
- ! EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining ${ac_tr_hdr}"
- ! echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_hdr}=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_hdr}\${ac_dB}${ac_tr_hdr}\${ac_dC}1\${ac_dD}
- ! \${ac_uA}${ac_tr_hdr}\${ac_uB}${ac_tr_hdr}\${ac_uC}1\${ac_uD}
- ! \${ac_eA}${ac_tr_hdr}\${ac_eB}${ac_tr_hdr}\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
- done
-
- ! test -n "$silent" || echo "checking whether $CC and cc understand -c and -o together"
- 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 >/dev/null 2>&1 \
- ! && test -f conftest.o && ${CC-cc} -c conftest.c -o conftest.o >/dev/null 2>&1
- then
- ! # Test first that cc exists at all.
- ! if cc -c conftest.c >/dev/null 2>&1
- ! then
- ! if cc -c conftest.c -o conftest2.o >/dev/null 2>&1 && \
- ! test -f conftest2.o && cc -c conftest.c -o conftest2.o >/dev/null 2>&1
- then
- ! :
- ! else
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining NO_MINUS_C_MINUS_O"
- ! echo "#define" NO_MINUS_C_MINUS_O "1" >> confdefs.h
- ! DEFS="$DEFS -DNO_MINUS_C_MINUS_O=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_MINUS_C_MINUS_O\${ac_dB}NO_MINUS_C_MINUS_O\${ac_dC}1\${ac_dD}
- ! \${ac_uA}NO_MINUS_C_MINUS_O\${ac_uB}NO_MINUS_C_MINUS_O\${ac_uC}1\${ac_uD}
- ! \${ac_eA}NO_MINUS_C_MINUS_O\${ac_eB}NO_MINUS_C_MINUS_O\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- fi
- fi
- else
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining NO_MINUS_C_MINUS_O"
- ! echo "#define" NO_MINUS_C_MINUS_O "1" >> confdefs.h
- ! DEFS="$DEFS -DNO_MINUS_C_MINUS_O=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_MINUS_C_MINUS_O\${ac_dB}NO_MINUS_C_MINUS_O\${ac_dC}1\${ac_dD}
- ! \${ac_uA}NO_MINUS_C_MINUS_O\${ac_uB}NO_MINUS_C_MINUS_O\${ac_uC}1\${ac_uD}
- ! \${ac_eA}NO_MINUS_C_MINUS_O\${ac_eB}NO_MINUS_C_MINUS_O\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- fi
- - rm -f conftest*
-
- ! ac_prog='/* Ultrix mips cc rejects this. */
- typedef int charset[2]; const charset x;
- /* SunOS 4.1.1 cc rejects this. */
- char const *const *ccp;
- char **p;
- /* 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 */
- --- 1090,1213 ----
- #endif
- extern void (*signal ()) ();
- int main() { return 0; }
- ! int t() {
- ! int i;
- ! ; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- ! ac_cv_type_signal=void
- else
- rm -rf conftest*
- ! ac_cv_type_signal=int
- fi
- rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_type_signal" 1>&4
- + cat >> confdefs.h <<EOF
- + #define RETSIGTYPE $ac_cv_type_signal
- + EOF
- +
-
- for ac_hdr in unistd.h limits.h sys/param.h fcntl.h string.h memory.h \
- sys/timeb.h
- do
- ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1123 "configure"
- ! #include "confdefs.h"
- ! #include <$ac_hdr>
- ! EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_hdr 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- done
-
- ! if test "x$CC" != xcc; then
- ! /bin/echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&4
- ! else
- ! /bin/echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&4
- ! fi
- ! set dummy $CC; ac_cc=$2
- ! if eval "test \"`echo '${'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! eval ac_cv_prog_cc_${ac_cc}_c_o=no
- 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
- ! 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 -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
- ! fi
- fi
- fi
- + fi
- + rm -f conftest*
- +
- + fi
- + if eval "test \"`/bin/echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- else
- ! /bin/echo "$ac_t""no" 1>&4
- ! cat >> confdefs.h <<\EOF
- ! #define NO_MINUS_C_MINUS_O 1
- ! EOF
-
- fi
-
- ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1198 "configure"
- ! #include "confdefs.h"
- !
- ! int main() { return 0; }
- ! int t() {
- !
- ! /* Ultrix mips cc rejects this. */
- typedef int charset[2]; const charset x;
- /* SunOS 4.1.1 cc rejects this. */
- char const *const *ccp;
- char **p;
- + /* NEC SVR4.0.2 mips cc rejects this. */
- + struct point {int x, y;};
- + static struct point const zero;
- /* 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 */
- ***************
- *** 1046,1052 ****
- *t++ = 0;
- }
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
- ! int x[] = {25,17};
- const int *foo = &x[0];
- ++foo;
- }
- --- 1224,1230 ----
- *t++ = 0;
- }
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
- ! int x[] = {25, 17};
- const int *foo = &x[0];
- ++foo;
- }
- ***************
- *** 1062,1138 ****
- }
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
- const int foo = 10;
- ! }'
- ! test -n "$silent" || echo "checking for lack of working const"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
-
- ! int main() { return 0; }
- ! int t() { $ac_prog; return 0; }
- EOF
- if eval $ac_compile; then
- ! :
- else
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" const to be empty
- ! echo "#define" const "" >> confdefs.h
- ! DEFS="$DEFS -Dconst="
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}const\${ac_dB}const\${ac_dC}\${ac_dD}
- ! \${ac_uA}const\${ac_uB}const\${ac_uC}\${ac_uD}
- ! \${ac_eA}const\${ac_eB}const\${ac_eC}\${ac_eD}
- ! "
- ! }
- !
- fi
- rm -f conftest*
- ! test -n "$silent" || echo "checking for broken stat file mode macros"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- #ifdef S_ISBLK
- ! #if S_ISBLK (S_IFDIR)
- You lose.
- ! #endif
- ! #ifdef S_IFCHR
- ! #if S_ISBLK (S_IFCHR)
- You lose.
- #endif
- ! #endif /* S_IFCHR */
- ! #endif /* S_ISBLK */
- #ifdef S_ISLNK
- ! #if S_ISLNK (S_IFREG)
- You lose.
- #endif
- ! #endif /* S_ISLNK */
- #ifdef S_ISSOCK
- ! #if S_ISSOCK (S_IFREG)
- You lose.
- #endif
- - #endif /* S_ISSOCK */
-
- EOF
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "You lose" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining STAT_MACROS_BROKEN"
- ! echo "#define" STAT_MACROS_BROKEN "1" >> confdefs.h
- ! DEFS="$DEFS -DSTAT_MACROS_BROKEN=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STAT_MACROS_BROKEN\${ac_dB}STAT_MACROS_BROKEN\${ac_dC}1\${ac_dD}
- ! \${ac_uA}STAT_MACROS_BROKEN\${ac_uB}STAT_MACROS_BROKEN\${ac_uC}1\${ac_uD}
- ! \${ac_eA}STAT_MACROS_BROKEN\${ac_eB}STAT_MACROS_BROKEN\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
-
- fi
- - rm -f conftest*
-
-
-
- --- 1240,1317 ----
- }
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
- const int foo = 10;
- ! }
-
- ! ; return 0; }
- EOF
- if eval $ac_compile; then
- ! rm -rf conftest*
- ! ac_cv_c_const=yes
- else
- rm -rf conftest*
- ! ac_cv_c_const=no
- fi
- rm -f conftest*
- !
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
- ! if test $ac_cv_c_const = no; then
- ! cat >> confdefs.h <<\EOF
- ! #define const
- ! EOF
- !
- ! fi
- ! /bin/echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1270 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- #ifdef S_ISBLK
- ! # if S_ISBLK (S_IFDIR)
- You lose.
- ! # endif
- ! # ifdef S_IFCHR
- ! # if S_ISBLK (S_IFCHR)
- You lose.
- + # endif
- + # endif
- #endif
- !
- #ifdef S_ISLNK
- ! # if S_ISLNK (S_IFREG)
- You lose.
- + # endif
- #endif
- !
- #ifdef S_ISSOCK
- ! # if S_ISSOCK (S_IFREG)
- You lose.
- + # endif
- #endif
-
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "You lose" >/dev/null 2>&1; then
- rm -rf conftest*
- ! ac_cv_header_stat_broken=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_header_stat_broken=no
- ! fi
- ! rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
- + if test $ac_cv_header_stat_broken = yes; then
- + cat >> confdefs.h <<\EOF
- + #define STAT_MACROS_BROKEN 1
- + EOF
-
- fi
-
-
-
- ***************
- *** 1141,1425 ****
- dup2 getcwd sigsetmask getgroups setlinebuf \
- seteuid setegid setreuid setregid strerror
- do
- ! ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
- ! test -n "$silent" || echo "checking for ${ac_func}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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_${ac_func}) || defined (__stub___${ac_func})
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${ac_func}(); ${ac_func}();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! {
- ! test -n "$verbose" && \
- ! echo " defining ${ac_tr_func}"
- ! echo "#define" ${ac_tr_func} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_func}=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_func}\${ac_dB}${ac_tr_func}\${ac_dC}1\${ac_dD}
- ! \${ac_uA}${ac_tr_func}\${ac_uB}${ac_tr_func}\${ac_uC}1\${ac_uD}
- ! \${ac_eA}${ac_tr_func}\${ac_eB}${ac_tr_func}\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
- done
-
- # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
- # for constant arguments. Useless!
- ! test -n "$silent" || echo "checking for working alloca.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <alloca.h>
- int main() { return 0; }
- ! int t() { char *p = alloca(2 * sizeof(int));; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_ALLOCA_H"
- ! echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_ALLOCA_H=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_ALLOCA_H\${ac_dB}HAVE_ALLOCA_H\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_ALLOCA_H\${ac_uB}HAVE_ALLOCA_H\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_ALLOCA_H\${ac_eB}HAVE_ALLOCA_H\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
-
- fi
- - rm -f conftest*
-
- ! ac_decl="#ifdef __GNUC__
- ! #define alloca __builtin_alloca
- ! #else
- ! #if HAVE_ALLOCA_H
- ! #include <alloca.h>
- #else
- ! #ifdef _AIX
- #pragma alloca
- ! #else
- char *alloca ();
- #endif
- ! #endif
- ! #endif
- ! "
- ! test -n "$silent" || echo "checking for alloca"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! $ac_decl
- int main() { return 0; }
- ! int t() { char *p = (char *) alloca(1);; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_ALLOCA"
- ! echo "#define" HAVE_ALLOCA "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_ALLOCA=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_ALLOCA\${ac_dB}HAVE_ALLOCA\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_ALLOCA\${ac_uB}HAVE_ALLOCA\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_ALLOCA\${ac_eB}HAVE_ALLOCA\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
-
- else
- ! rm -rf conftest*
- ! ac_alloca_missing=1
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- -
- #if defined(CRAY) && ! defined(CRAY2)
- ! winnitude
- #else
- ! lossage
- #endif
-
- EOF
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "winnitude" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- ! test -n "$silent" || echo "checking for _getb67"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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__getb67) || defined (__stub____getb67)
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char _getb67(); _getb67();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" CRAY_STACKSEG_END to be "_getb67"
- ! echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
- ! DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}_getb67\${ac_dD}
- ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}_getb67\${ac_uD}
- ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}_getb67\${ac_eD}
- ! "
- ! }
-
-
- else
- ! rm -rf conftest*
- ! test -n "$silent" || echo "checking for GETB67"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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_GETB67) || defined (__stub___GETB67)
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char GETB67(); GETB67();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" CRAY_STACKSEG_END to be "GETB67"
- ! echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
- ! DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}GETB67\${ac_dD}
- ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}GETB67\${ac_uD}
- ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}GETB67\${ac_eD}
- ! "
- ! }
-
-
- else
- ! rm -rf conftest*
- ! test -n "$silent" || echo "checking for getb67"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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_getb67) || defined (__stub___getb67)
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char getb67(); getb67();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" CRAY_STACKSEG_END to be "getb67"
- ! echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
- ! DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}getb67\${ac_dD}
- ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}getb67\${ac_uD}
- ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}getb67\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
-
- fi
- ! rm -f conftest*
-
- fi
- - rm -f conftest*
- -
-
- fi
- - rm -f conftest*
- -
-
- fi
- - rm -f conftest*
- -
- - if test -n "$ac_alloca_missing"; then
- - # The SVR3 libPW and SVR4 libucb both contain incompatible functions
- - # that cause trouble. Some versions do not even contain alloca or
- - # contain a buggy version. If you still want to use their alloca,
- - # use ar to extract alloca.o from them instead of compiling alloca.c.
- - ALLOCA=alloca.o
- -
- - {
- - test -n "$verbose" && \
- - echo " defining C_ALLOCA"
- - echo "#define" C_ALLOCA "1" >> confdefs.h
- - DEFS="$DEFS -DC_ALLOCA=1"
- - ac_sed_defs="${ac_sed_defs}\${ac_dA}C_ALLOCA\${ac_dB}C_ALLOCA\${ac_dC}1\${ac_dD}
- - \${ac_uA}C_ALLOCA\${ac_uB}C_ALLOCA\${ac_uC}1\${ac_uD}
- - \${ac_eA}C_ALLOCA\${ac_eB}C_ALLOCA\${ac_eC}1\${ac_eD}
- - "
- - }
- -
-
- - test -n "$silent" || echo "checking stack direction for C alloca"
- - test -n "$silent" || echo "checking whether cross-compiling"
- - # If we cannot run a trivial program, we must be cross compiling.
- - cat > conftest.${ac_ext} <<EOF
- - #include "confdefs.h"
- - main(){exit(0);}
- - EOF
- - eval $ac_compile
- - if test -s conftest && (./conftest; exit) 2>/dev/null; then
- - :
- - else
- - cross_compiling=1
- fi
- - rm -fr conftest*
- -
- - if test -n "$cross_compiling"
- - then
- -
- - {
- - test -n "$verbose" && \
- - echo " defining" STACK_DIRECTION to be "0"
- - echo "#define" STACK_DIRECTION "0" >> confdefs.h
- - DEFS="$DEFS -DSTACK_DIRECTION=0"
- - ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}0\${ac_dD}
- - \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}0\${ac_uD}
- - \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}0\${ac_eD}
- - "
- - }
-
- else
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- find_stack_direction ()
- {
- --- 1320,1636 ----
- dup2 getcwd sigsetmask getgroups setlinebuf \
- seteuid setegid setreuid setregid strerror
- do
- ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1329 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char $ac_func();
- !
- 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_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- ! $ac_func();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=no"
- fi
- rm -f conftest*
- +
- + fi
- + if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_func 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- done
-
- # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
- # for constant arguments. Useless!
- ! /bin/echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1378 "configure"
- #include "confdefs.h"
- #include <alloca.h>
- int main() { return 0; }
- ! int t() {
- ! char *p = alloca(2 * sizeof(int));
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! ac_cv_header_alloca_h=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_header_alloca_h=no
- ! fi
- ! rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
- + if test $ac_cv_header_alloca_h = yes; then
- + cat >> confdefs.h <<\EOF
- + #define HAVE_ALLOCA_H 1
- + EOF
-
- fi
-
- ! /bin/echo $ac_n "checking for alloca""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1409 "configure"
- ! #include "confdefs.h"
- !
- ! #ifdef __GNUC__
- ! # define alloca __builtin_alloca
- #else
- ! # if HAVE_ALLOCA_H
- ! # include <alloca.h>
- ! # else
- ! # ifdef _AIX
- #pragma alloca
- ! # else
- ! # ifndef alloca /* predefined by HP cc +Olibcalls */
- char *alloca ();
- + # endif
- + # endif
- + # endif
- #endif
- !
- int main() { return 0; }
- ! int t() {
- ! char *p = (char *) alloca(1);
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! ac_cv_func_alloca=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_func_alloca=no
- ! fi
- ! rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_func_alloca" 1>&4
- + if test $ac_cv_func_alloca = yes; then
- + cat >> confdefs.h <<\EOF
- + #define HAVE_ALLOCA 1
- + EOF
- +
- + fi
-
- + if test $ac_cv_func_alloca = no; then
- + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
- + # that cause trouble. Some versions do not even contain alloca or
- + # contain a buggy version. If you still want to use their alloca,
- + # use ar to extract alloca.o from them instead of compiling alloca.c.
- + ALLOCA=alloca.o
- + cat >> confdefs.h <<\EOF
- + #define C_ALLOCA 1
- + EOF
- +
- +
- + /bin/echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
- + if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
- + /bin/echo $ac_n "(cached) $ac_c" 1>&4
- else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1467 "configure"
- #include "confdefs.h"
- #if defined(CRAY) && ! defined(CRAY2)
- ! webecray
- #else
- ! wenotbecray
- #endif
-
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "webecray" >/dev/null 2>&1; then
- rm -rf conftest*
- ! ac_cv_os_cray=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_os_cray=no
- ! fi
- ! rm -f conftest*
- !
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_os_cray" 1>&4
- ! if test $ac_cv_os_cray = yes; then
- ! /bin/echo $ac_n "checking for _getb67""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1494 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char _getb67();
- !
- 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__getb67) || defined (__stub____getb67)
- choke me
- #else
- ! _getb67();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_func__getb67=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_func__getb67=no"
- ! fi
- ! rm -f conftest*
-
- + fi
- + if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + cat >> confdefs.h <<\EOF
- + #define CRAY_STACKSEG_END _getb67
- + EOF
-
- else
- ! /bin/echo "$ac_t""no" 1>&4
- ! /bin/echo $ac_n "checking for GETB67""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1537 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char GETB67();
- !
- 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_GETB67) || defined (__stub___GETB67)
- choke me
- #else
- ! GETB67();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_func_GETB67=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_func_GETB67=no"
- ! fi
- ! rm -f conftest*
-
- + fi
- + if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + cat >> confdefs.h <<\EOF
- + #define CRAY_STACKSEG_END GETB67
- + EOF
-
- else
- ! /bin/echo "$ac_t""no" 1>&4
- ! /bin/echo $ac_n "checking for getb67""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1580 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char getb67();
- !
- 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_getb67) || defined (__stub___getb67)
- choke me
- #else
- ! getb67();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_func_getb67=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_func_getb67=no"
- fi
- rm -f conftest*
-
- fi
- ! if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! cat >> confdefs.h <<\EOF
- ! #define CRAY_STACKSEG_END getb67
- ! EOF
-
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- fi
-
- fi
-
- fi
-
- + /bin/echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
- + if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
- + /bin/echo $ac_n "(cached) $ac_c" 1>&4
- + else
- + if test "$cross_compiling" = yes; then
- + ac_cv_c_stack_direction=0
- else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1634 "configure"
- #include "confdefs.h"
- find_stack_direction ()
- {
- ***************
- *** 1438,1505 ****
- exit (find_stack_direction() < 0);
- }
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" STACK_DIRECTION to be "1"
- ! echo "#define" STACK_DIRECTION "1" >> confdefs.h
- ! DEFS="$DEFS -DSTACK_DIRECTION=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}1\${ac_dD}
- ! \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}1\${ac_uD}
- ! \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- else
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" STACK_DIRECTION to be "-1"
- ! echo "#define" STACK_DIRECTION "-1" >> confdefs.h
- ! DEFS="$DEFS -DSTACK_DIRECTION=-1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}-1\${ac_dD}
- ! \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}-1\${ac_uD}
- ! \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}-1\${ac_eD}
- ! "
- ! }
- !
- fi
- fi
- rm -fr conftest*
- fi
-
- ! test -n "$silent" || echo "checking for vfork.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <vfork.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_VFORK_H"
- ! echo "#define" HAVE_VFORK_H "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_VFORK_H=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_VFORK_H\${ac_dB}HAVE_VFORK_H\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_VFORK_H\${ac_uB}HAVE_VFORK_H\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_VFORK_H\${ac_eB}HAVE_VFORK_H\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
-
- ! test -n "$silent" || echo "checking for working vfork"
-
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- /* Thanks to Paul Eggert for this test. */
- #include <stdio.h>
- --- 1649,1712 ----
- exit (find_stack_direction() < 0);
- }
- EOF
- ! eval $ac_link
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_c_stack_direction=1
- else
- ! ac_cv_c_stack_direction=-1
- fi
- fi
- rm -fr conftest*
- fi
- + /bin/echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
- + cat >> confdefs.h <<EOF
- + #define STACK_DIRECTION $ac_cv_c_stack_direction
- + EOF
-
- ! fi
- !
- ! ac_safe=`/bin/echo "vfork.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for vfork.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1675 "configure"
- #include "confdefs.h"
- #include <vfork.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + cat >> confdefs.h <<\EOF
- + #define HAVE_VFORK_H 1
- + EOF
-
- ! else
- ! /bin/echo "$ac_t""no" 1>&4
- ! fi
-
- ! /bin/echo $ac_n "checking for working vfork""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_vfork'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- !
- ! if test "$cross_compiling" = yes; then
- ! ac_cv_func_vfork=no
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1710 "configure"
- #include "confdefs.h"
- /* Thanks to Paul Eggert for this test. */
- #include <stdio.h>
- ***************
- *** 1512,1533 ****
- #ifdef HAVE_VFORK_H
- #include <vfork.h>
- #endif
- static int signalled;
- static RETSIGTYPE catch (s) int s; { signalled = 1; }
- main() {
- pid_t parent = getpid ();
- pid_t child;
-
- signal (SIGINT, catch);
-
- child = vfork ();
-
- if (child == 0) {
- ! /* On sparc systems, changes by the child to local and incoming
- ! argument registers are propagated back to the parent.
- ! The compiler is told about this with #include <vfork.h>,
- ! but some compilers (e.g. gcc -O) don't grok <vfork.h>.
- ! Test for this by using lots of local variables, at least
- as many local variables as main has allocated so far
- including compiler temporaries. 4 locals are enough for
- gcc 1.40.3 on a sparc, but we use 8 to be safe.
- --- 1719,1769 ----
- #ifdef HAVE_VFORK_H
- #include <vfork.h>
- #endif
- + /* On sparc systems, changes by the child to local and incoming
- + argument registers are propagated back to the parent.
- + The compiler is told about this with #include <vfork.h>,
- + but some compilers (e.g. gcc -O) don't grok <vfork.h>.
- + Test for this by using a static variable whose address
- + is put into a register that is clobbered by the vfork. */
- + static
- + #ifdef __cplusplus
- + sparc_address_test (int arg)
- + #else
- + sparc_address_test (arg) int arg;
- + #endif
- + {
- + static pid_t child;
- + if (!child) {
- + child = vfork ();
- + if (child < 0)
- + perror ("vfork");
- + if (!child) {
- + arg = getpid();
- + write(-1, "", 0);
- + _exit (arg);
- + }
- + }
- + }
- static int signalled;
- static RETSIGTYPE catch (s) int s; { signalled = 1; }
- main() {
- pid_t parent = getpid ();
- pid_t child;
-
- + sparc_address_test ();
- +
- + #ifdef __amigados__
- + /* Force this test to succeed for AmigaDOS, which has a fairly good
- + vfork() emulation, but doesn't support fork() at all. -fnf */
- + exit (0);
- + #endif
- signal (SIGINT, catch);
-
- child = vfork ();
-
- if (child == 0) {
- ! /* Here is another test for sparc vfork register problems.
- ! This test uses lots of local variables, at least
- as many local variables as main has allocated so far
- including compiler temporaries. 4 locals are enough for
- gcc 1.40.3 on a sparc, but we use 8 to be safe.
- ***************
- *** 1583,1612 ****
- }
- }
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! :
- else
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" vfork to be "fork"
- ! echo "#define" vfork "fork" >> confdefs.h
- ! DEFS="$DEFS -Dvfork=fork"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}vfork\${ac_dB}vfork\${ac_dC}fork\${ac_dD}
- ! \${ac_uA}vfork\${ac_uB}vfork\${ac_uC}fork\${ac_uD}
- ! \${ac_eA}vfork\${ac_eB}vfork\${ac_eC}fork\${ac_eD}
- ! "
- ! }
- !
- fi
- rm -fr conftest*
-
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <stdio.h>
- /* If setvbuf has the reversed format, exit 0. */
- main () {
- /* This call has the arguments reversed.
- A reversed system may check and see that the address of main
- is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
- --- 1819,1861 ----
- }
- }
- EOF
- ! eval $ac_link
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_func_vfork=yes
- else
- ! ac_cv_func_vfork=no
- ! fi
- fi
- rm -fr conftest*
- + fi
- + /bin/echo "$ac_t""$ac_cv_func_vfork" 1>&4
- + if test $ac_cv_func_vfork = no; then
- + cat >> confdefs.h <<\EOF
- + #define vfork fork
- + EOF
-
- ! fi
- !
- ! /bin/echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! if test "$cross_compiling" = yes; then
- ! { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1848 "configure"
- #include "confdefs.h"
- #include <stdio.h>
- /* If setvbuf has the reversed format, exit 0. */
- main () {
- + #ifdef __amigados__
- + /* AmigaDOS is a non-reversed system. Instead of the test program
- + getting a segfault (no memory protection), it causes enforcer hits
- + or other nastiness, so don't run the test program, just exit with
- + status 1 to indicate that it is non-reversed. -fnf */
- + exit(1);
- + #endif
- /* This call has the arguments reversed.
- A reversed system may check and see that the address of main
- is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
- ***************
- *** 1616,2090 ****
- exit(0); /* Non-reversed systems segv here. */
- }
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining SETVBUF_REVERSED"
- ! echo "#define" SETVBUF_REVERSED "1" >> confdefs.h
- ! DEFS="$DEFS -DSETVBUF_REVERSED=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SETVBUF_REVERSED\${ac_dB}SETVBUF_REVERSED\${ac_dC}1\${ac_dD}
- ! \${ac_uA}SETVBUF_REVERSED\${ac_uB}SETVBUF_REVERSED\${ac_uC}1\${ac_uD}
- ! \${ac_eA}SETVBUF_REVERSED\${ac_eB}SETVBUF_REVERSED\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -fr conftest*
- rm -f core
-
- # Some definitions of getloadavg require that the program be installed setgid.
- NEED_SETGID=false
- ! ac_need_func=true
-
- # Check for the 4.4BSD definition of getloadavg.
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lutil"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lutil"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- ! fi
- ! rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lutil" ac_need_func=false
- else
- ! :;
- fi
-
- # Some systems with -lutil have (and need) -lkvm as well, some do not.
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lkvm"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lkvm"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lkvm"
- else
- ! :;
- fi
-
-
- ! if $ac_need_func; then
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- ! LIBS_old="$LIBS"
- ! LIBS="-L/usr/local/lib $LIBS"
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lgetloadavg"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lgetloadavg"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lgetloadavg" ac_need_func=false
- else
- ! :; LIBS="$LIBS_old"
- fi
-
- fi
-
- ! # Make sure it is really in the library, if we think we found it at all.
- for ac_func in getloadavg
- do
- ! test -n "$silent" || echo "checking for ${ac_func}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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_${ac_func}) || defined (__stub___${ac_func})
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${ac_func}(); ${ac_func}();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- ! :
- else
- rm -rf conftest*
- ! LIBOBJS="$LIBOBJS ${ac_func}.o"
- ! test -n "$verbose" && echo " using ${ac_func}.o instead"
- fi
- rm -f conftest*
-
- done
-
-
- ! case "$LIBOBJS" in
- ! *getloadavg*)
- ! ac_need_func=true
- ! test -n "$silent" || echo "checking for sys/dg_sys_info.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/dg_sys_info.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining DGUX"
- ! echo "#define" DGUX "1" >> confdefs.h
- ! DEFS="$DEFS -DDGUX=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}DGUX\${ac_dB}DGUX\${ac_dC}1\${ac_dD}
- ! \${ac_uA}DGUX\${ac_uB}DGUX\${ac_uC}1\${ac_uD}
- ! \${ac_eA}DGUX\${ac_eB}DGUX\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ac_need_func=false
- ! # Some versions of DGUX need -ldgc for dg_sys_info.
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -ldgc"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -ldgc"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_LIBDGC"
- ! echo "#define" HAVE_LIBDGC "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_LIBDGC=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDGC\${ac_dB}HAVE_LIBDGC\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_LIBDGC\${ac_uB}HAVE_LIBDGC\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_LIBDGC\${ac_eB}HAVE_LIBDGC\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- - LIBS="${LIBS} -ldgc"
- fi
-
-
- fi
- - rm -f conftest*
-
- ! if $ac_need_func; then
- # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
- ! # uses stabs), but it's still SVR4. We cannot check for <elf.h> because
- # Irix 4.0.5F has the header but not the library.
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lelf"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lelf"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :;
- ! {
- ! test -n "$verbose" && \
- ! echo " defining SVR4"
- ! echo "#define" SVR4 "1" >> confdefs.h
- ! DEFS="$DEFS -DSVR4=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SVR4\${ac_dB}SVR4\${ac_dC}1\${ac_dD}
- ! \${ac_uA}SVR4\${ac_uB}SVR4\${ac_uC}1\${ac_uD}
- ! \${ac_eA}SVR4\${ac_eB}SVR4\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! LIBS="$LIBS -lelf" ac_need_func=false
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lkvm"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lkvm"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lkvm"
- else
- ! :;
- fi
-
- else
- ! :;
- fi
-
- fi
- ! if $ac_need_func; then
- ! test -n "$silent" || echo "checking for inq_stats/cpustats.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <inq_stats/cpustats.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining UMAX4_3"
- ! echo "#define" UMAX4_3 "1" >> confdefs.h
- ! DEFS="$DEFS -DUMAX4_3=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}UMAX4_3\${ac_dB}UMAX4_3\${ac_dC}1\${ac_dD}
- ! \${ac_uA}UMAX4_3\${ac_uB}UMAX4_3\${ac_uC}1\${ac_uD}
- ! \${ac_eA}UMAX4_3\${ac_eB}UMAX4_3\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining UMAX"
- ! echo "#define" UMAX "1" >> confdefs.h
- ! DEFS="$DEFS -DUMAX=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}UMAX\${ac_dB}UMAX\${ac_dC}1\${ac_dD}
- ! \${ac_uA}UMAX\${ac_uB}UMAX\${ac_uC}1\${ac_uD}
- ! \${ac_eA}UMAX\${ac_eB}UMAX\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- ! ac_need_func=false
-
- fi
- - rm -f conftest*
-
- fi
- ! if $ac_need_func; then
- ! test -n "$silent" || echo "checking for sys/cpustats.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/cpustats.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining UMAX"
- ! echo "#define" UMAX "1" >> confdefs.h
- ! DEFS="$DEFS -DUMAX=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}UMAX\${ac_dB}UMAX\${ac_dC}1\${ac_dD}
- ! \${ac_uA}UMAX\${ac_uB}UMAX\${ac_uC}1\${ac_uD}
- ! \${ac_eA}UMAX\${ac_eB}UMAX\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ac_need_func=false
- !
- fi
- rm -f conftest*
-
- fi
- ! if $ac_need_func; then
- for ac_hdr in mach/mach.h
- do
- ! ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
- ! test -n "$silent" || echo "checking for ${ac_hdr}"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <${ac_hdr}>
- ! EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining ${ac_tr_hdr}"
- ! echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_hdr}=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_hdr}\${ac_dB}${ac_tr_hdr}\${ac_dC}1\${ac_dD}
- ! \${ac_uA}${ac_tr_hdr}\${ac_uB}${ac_tr_hdr}\${ac_uC}1\${ac_uD}
- ! \${ac_eA}${ac_tr_hdr}\${ac_eB}${ac_tr_hdr}\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
- done
-
- fi
-
- ! test -n "$silent" || echo "checking for nlist.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <nlist.h>
- EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining NLIST_STRUCT"
- ! echo "#define" NLIST_STRUCT "1" >> confdefs.h
- ! DEFS="$DEFS -DNLIST_STRUCT=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}NLIST_STRUCT\${ac_dB}NLIST_STRUCT\${ac_dC}1\${ac_dD}
- ! \${ac_uA}NLIST_STRUCT\${ac_uB}NLIST_STRUCT\${ac_uC}1\${ac_uD}
- ! \${ac_eA}NLIST_STRUCT\${ac_eB}NLIST_STRUCT\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- ! test -n "$silent" || echo "checking for n_un in struct nlist"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <nlist.h>
- int main() { return 0; }
- ! int t() { struct nlist n; n.n_un.n_name = 0;; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining NLIST_NAME_UNION"
- ! echo "#define" NLIST_NAME_UNION "1" >> confdefs.h
- ! DEFS="$DEFS -DNLIST_NAME_UNION=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}NLIST_NAME_UNION\${ac_dB}NLIST_NAME_UNION\${ac_dC}1\${ac_dD}
- ! \${ac_uA}NLIST_NAME_UNION\${ac_uB}NLIST_NAME_UNION\${ac_uC}1\${ac_uD}
- ! \${ac_eA}NLIST_NAME_UNION\${ac_eB}NLIST_NAME_UNION\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
-
-
- fi
- - rm -f conftest*
-
- ! # Figure out whether we will need to install setgid.
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! dnl
- ! #include "${srcdir}/getloadavg.c"
- #ifdef LDAV_PRIVILEGED
- Yowza Am I SETGID yet
- #endif
- EOF
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "Yowza Am I SETGID yet" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining GETLOADAVG_PRIVILEGED"
- ! echo "#define" GETLOADAVG_PRIVILEGED "1" >> confdefs.h
- ! DEFS="$DEFS -DGETLOADAVG_PRIVILEGED=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}GETLOADAVG_PRIVILEGED\${ac_dB}GETLOADAVG_PRIVILEGED\${ac_dC}1\${ac_dD}
- ! \${ac_uA}GETLOADAVG_PRIVILEGED\${ac_uB}GETLOADAVG_PRIVILEGED\${ac_uC}1\${ac_uD}
- ! \${ac_eA}GETLOADAVG_PRIVILEGED\${ac_eB}GETLOADAVG_PRIVILEGED\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! NEED_SETGID=true
- !
- fi
- rm -f conftest*
- - ;;
-
- ! *)
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_GETLOADAVG"
- ! echo "#define" HAVE_GETLOADAVG "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_GETLOADAVG=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_GETLOADAVG\${ac_dB}HAVE_GETLOADAVG\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_GETLOADAVG\${ac_uB}HAVE_GETLOADAVG\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_GETLOADAVG\${ac_eB}HAVE_GETLOADAVG\${ac_eC}1\${ac_eD}
- ! "
- ! }
- ! ;;
- ! esac
-
- ! if $NEED_SETGID; then
- ! # Figure out what group owns /dev/kmem.
- ! # The installed program will need to be setgid and owned by that group.
- ! # On Solaris, /dev/kmem is a symlink. Get info on the real file.
- ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
- # If we got an error (system does not support symlinks), try without -L.
- test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
- ! KMEM_GROUP=`echo $ac_ls_output \
- | sed -ne 's/[ ][ ]*/ /g;
- s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
- / /s/.* //;p;'`
- fi
-
- ! test -n "$silent" || echo "checking for strcoll"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <string.h>
- main ()
- --- 1865,2437 ----
- exit(0); /* Non-reversed systems segv here. */
- }
- EOF
- ! eval $ac_link
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_func_setvbuf_reversed=yes
- ! else
- ! ac_cv_func_setvbuf_reversed=no
- ! fi
- fi
- rm -fr conftest*
- rm -f core
- + fi
- + /bin/echo "$ac_t""$ac_cv_func_setvbuf_reversed" 1>&4
- + if test $ac_cv_func_setvbuf_reversed = yes; then
- + cat >> confdefs.h <<\EOF
- + #define SETVBUF_REVERSED 1
- + EOF
- +
- + fi
-
- # Some definitions of getloadavg require that the program be installed setgid.
- NEED_SETGID=false
- ! ac_have_func=no
-
- # Check for the 4.4BSD definition of getloadavg.
- ! /bin/echo $ac_n "checking for -lutil""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_util'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lutil "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1899 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! getloadavg()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_util=yes"
- else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_util=no"
- fi
- + rm -f conftest*
- + LIBS="$ac_save_LIBS"
-
- + fi
- + if eval "test \"`echo '$ac_cv_lib_'util`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + LIBS="$LIBS -lutil" ac_have_func=yes
- # Some systems with -lutil have (and need) -lkvm as well, some do not.
- ! /bin/echo $ac_n "checking for -lkvm""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_kvm'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lkvm "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1929 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! kvm_open()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_kvm=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_kvm=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'kvm`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lkvm"
- ! else
- ! /bin/echo "$ac_t""no" 1>&4
- ! fi
- !
- else
- ! /bin/echo "$ac_t""no" 1>&4
- fi
-
-
- ! if test $ac_have_func = no; then
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- ! ac_save_LIBS="$LIBS" LIBS="-L/local/lib $LIBS"
- ! /bin/echo $ac_n "checking for -lgetloadavg""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_getloadavg'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lgetloadavg "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 1971 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! getloadavg()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_getloadavg=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_getloadavg=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'getloadavg`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lgetloadavg"
- else
- ! /bin/echo "$ac_t""no" 1>&4
- ! LIBS="$ac_save_LIBS"
- fi
-
- fi
-
- ! # Make sure it is really in the library, if we think we found it.
- for ac_func in getloadavg
- do
- ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2008 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char $ac_func();
- !
- 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_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- ! $ac_func();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- ! rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=yes"
- else
- rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=no"
- fi
- rm -f conftest*
-
- + fi
- + if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + :
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + LIBOBJS="$LIBOBJS ${ac_func}.o"
- + fi
- +
- done
-
-
- ! if test $ac_cv_func_getloadavg = yes; then
- ! cat >> confdefs.h <<\EOF
- ! #define HAVE_GETLOADAVG 1
- ! EOF
- !
- ! else
- ! ac_have_func=no
- ! ac_safe=`/bin/echo "sys/dg_sys_info.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2062 "configure"
- #include "confdefs.h"
- #include <sys/dg_sys_info.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- ! fi
- ! rm -f conftest*
- ! fi
- ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! ac_have_func=yes cat >> confdefs.h <<\EOF
- ! #define DGUX 1
- ! EOF
- !
- ! /bin/echo $ac_n "checking for -ldgc""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_dgc'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -ldgc "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2091 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! dg_sys_info()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_dgc=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_dgc=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
-
- fi
- + if eval "test \"`echo '$ac_cv_lib_'dgc`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_lib=HAVE_LIB`/bin/echo dgc | tr '[a-z]' '[A-Z]'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_lib 1
- + EOF
-
- + LIBS="$LIBS -ldgc"
-
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- ! if test $ac_have_func = no; then
- # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
- ! # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
- # Irix 4.0.5F has the header but not the library.
- ! /bin/echo $ac_n "checking for -lelf""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_elf'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lelf "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2138 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! elf_read()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_elf=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_elf=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'elf`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lelf" ac_have_func=yes cat >> confdefs.h <<\EOF
- ! #define SVR4 1
- ! EOF
- !
- ! /bin/echo $ac_n "checking for -lkvm""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_kvm'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lkvm "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2170 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! kvm_open()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_kvm=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_kvm=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'kvm`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lkvm"
- else
- ! /bin/echo "$ac_t""no" 1>&4
- fi
-
- else
- ! /bin/echo "$ac_t""no" 1>&4
- fi
-
- fi
- ! if test $ac_have_func = no; then
- ! ac_safe=`/bin/echo "inq_stats/cpustats.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2208 "configure"
- #include "confdefs.h"
- #include <inq_stats/cpustats.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- ! fi
- ! rm -f conftest*
- ! fi
- ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! ac_have_func=yes cat >> confdefs.h <<\EOF
- ! #define UMAX 1
- ! EOF
-
- ! cat >> confdefs.h <<\EOF
- ! #define UMAX4_3 1
- ! EOF
-
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- fi
- ! if test $ac_have_func = no; then
- ! ac_safe=`/bin/echo "sys/cpustats.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2246 "configure"
- #include "confdefs.h"
- #include <sys/cpustats.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_have_func=yes cat >> confdefs.h <<\EOF
- + #define UMAX 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
-
- fi
- ! if test $ac_have_func = no; then
- for ac_hdr in mach/mach.h
- do
- ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2282 "configure"
- ! #include "confdefs.h"
- ! #include <$ac_hdr>
- ! EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_hdr 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- done
-
- fi
-
- ! ac_safe=`/bin/echo "nlist.h" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for nlist.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2318 "configure"
- #include "confdefs.h"
- #include <nlist.h>
- EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- ! fi
- ! rm -f conftest*
- ! fi
- ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! cat >> confdefs.h <<\EOF
- ! #define NLIST_STRUCT 1
- ! EOF
-
- ! /bin/echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2345 "configure"
- #include "confdefs.h"
- #include <nlist.h>
- int main() { return 0; }
- ! int t() {
- ! struct nlist n; n.n_un.n_name = 0;
- ! ; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- ! ac_cv_struct_nlist_n_un=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_struct_nlist_n_un=no
- fi
- rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&4
- + if test $ac_cv_struct_nlist_n_un = yes; then
- + cat >> confdefs.h <<\EOF
- + #define NLIST_NAME_UNION 1
- + EOF
- +
- + fi
-
- + else
- + /bin/echo "$ac_t""no" 1>&4
- fi
-
- ! /bin/echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2380 "configure"
- #include "confdefs.h"
- ! #include "$srcdir/getloadavg.c"
- #ifdef LDAV_PRIVILEGED
- Yowza Am I SETGID yet
- #endif
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
- rm -rf conftest*
- ! ac_cv_func_getloadavg_setgid=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_func_getloadavg_setgid=no
- fi
- rm -f conftest*
-
- ! fi
- ! /bin/echo "$ac_t""$ac_cv_func_getloadavg_setgid" 1>&4
- ! if test $ac_cv_func_getloadavg_setgid = yes; then
- ! NEED_SETGID=true cat >> confdefs.h <<\EOF
- ! #define GETLOADAVG_PRIVILEGED 1
- ! EOF
- !
- ! fi
- !
- ! fi # Do not have getloadavg in system libraries.
-
- ! if test "$NEED_SETGID" = true; then
- ! /bin/echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_group_kmem'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! # On Solaris, /dev/kmem is a symlink. Get info on the real file.
- ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
- # If we got an error (system does not support symlinks), try without -L.
- test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
- ! ac_cv_group_kmem=`/bin/echo $ac_ls_output \
- | sed -ne 's/[ ][ ]*/ /g;
- s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
- / /s/.* //;p;'`
- +
- + fi
- + KMEM_GROUP=$ac_cv_group_kmem
- + /bin/echo "$ac_t""$KMEM_GROUP" 1>&4
- fi
-
- ! /bin/echo $ac_n "checking for strcoll""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_strcoll'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! if test "$cross_compiling" = yes; then
- ! ac_cv_func_strcoll=no
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2435 "configure"
- #include "confdefs.h"
- #include <string.h>
- main ()
- ***************
- *** 2094,2191 ****
- strcoll ("123", "456") >= 0);
- }
- EOF
- ! eval $ac_compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_STRCOLL"
- ! echo "#define" HAVE_STRCOLL "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_STRCOLL=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_STRCOLL\${ac_dB}HAVE_STRCOLL\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_STRCOLL\${ac_uB}HAVE_STRCOLL\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_STRCOLL\${ac_eB}HAVE_STRCOLL\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -fr conftest*
-
- for ac_hdr in sys/wait.h
- do
- ! ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
- ! test -n "$silent" || echo "checking for ${ac_hdr}"
- ! cat > conftest.${ac_ext} <<EOF
- ! #include "confdefs.h"
- ! #include <${ac_hdr}>
- ! EOF
- ! # Some shells (Coherent) do redirections in the wrong order, so need
- ! # the parens.
- ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining ${ac_tr_hdr}"
- ! echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_hdr}=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_hdr}\${ac_dB}${ac_tr_hdr}\${ac_dC}1\${ac_dD}
- ! \${ac_uA}${ac_tr_hdr}\${ac_uB}${ac_tr_hdr}\${ac_uC}1\${ac_uD}
- ! \${ac_eA}${ac_tr_hdr}\${ac_eB}${ac_tr_hdr}\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
- done
- for ac_func in waitpid wait3
- do
- ! ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
- ! test -n "$silent" || echo "checking for ${ac_func}"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- ! #include <ctype.h>
- 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_${ac_func}) || defined (__stub___${ac_func})
- choke me
- #else
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! extern char ${ac_func}(); ${ac_func}();
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! {
- ! test -n "$verbose" && \
- ! echo " defining ${ac_tr_func}"
- ! echo "#define" ${ac_tr_func} "1" >> confdefs.h
- ! DEFS="$DEFS -D${ac_tr_func}=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_func}\${ac_dB}${ac_tr_func}\${ac_dC}1\${ac_dD}
- ! \${ac_uA}${ac_tr_func}\${ac_uB}${ac_tr_func}\${ac_uC}1\${ac_uD}
- ! \${ac_eA}${ac_tr_func}\${ac_eB}${ac_tr_func}\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
- !
- fi
- rm -f conftest*
- done
-
- ! test -n "$silent" || echo "checking for union wait"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/wait.h>
- int main() { return 0; }
- ! int t() { union wait status; int pid; pid = wait (&status);
- #ifdef WEXITSTATUS
- /* Some POSIXoid systems have both the new-style macros and the old
- union wait type, and they do not work together. If union wait
- --- 2441,2557 ----
- strcoll ("123", "456") >= 0);
- }
- EOF
- ! eval $ac_link
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ! ac_cv_func_strcoll=yes
- ! else
- ! ac_cv_func_strcoll=no
- ! fi
- fi
- rm -fr conftest*
- + fi
- + /bin/echo "$ac_t""$ac_cv_func_strcoll" 1>&4
- + if test $ac_cv_func_strcoll = yes; then
- + cat >> confdefs.h <<\EOF
- + #define HAVE_STRCOLL 1
- + EOF
- +
- + fi
- +
-
- for ac_hdr in sys/wait.h
- do
- ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
- ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2471 "configure"
- ! #include "confdefs.h"
- ! #include <$ac_hdr>
- ! EOF
- ! eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- ! ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=yes"
- ! else
- ! /bin/echo "$ac_err" >&5
- ! rm -rf conftest*
- ! eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- + fi
- + if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_hdr 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- done
- for ac_func in waitpid wait3
- do
- ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2505 "configure"
- #include "confdefs.h"
- ! #include <ctype.h> /* Arbitrary system header to define __stub macros. */
- ! /* Override any gcc2 internal prototype to avoid an error. */
- ! char $ac_func();
- !
- 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_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- ! $ac_func();
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_func_$ac_func=no"
- fi
- rm -f conftest*
- +
- + fi
- + if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- + /bin/echo "$ac_t""yes" 1>&4
- + ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
- + cat >> confdefs.h <<EOF
- + #define $ac_tr_func 1
- + EOF
- +
- + else
- + /bin/echo "$ac_t""no" 1>&4
- + fi
- done
-
- ! echo "checking for union wait" 1>&4
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2549 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/wait.h>
- int main() { return 0; }
- ! int t() {
- ! union wait status; int pid; pid = wait (&status);
- #ifdef WEXITSTATUS
- /* Some POSIXoid systems have both the new-style macros and the old
- union wait type, and they do not work together. If union wait
- ***************
- *** 2196,2329 ****
- /* Make sure union wait works with waitpid. */
- pid = waitpid (-1, &status, 0);
- #endif
- ; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining HAVE_UNION_WAIT"
- ! echo "#define" HAVE_UNION_WAIT "1" >> confdefs.h
- ! DEFS="$DEFS -DHAVE_UNION_WAIT=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_UNION_WAIT\${ac_dB}HAVE_UNION_WAIT\${ac_dC}1\${ac_dD}
- ! \${ac_uA}HAVE_UNION_WAIT\${ac_uB}HAVE_UNION_WAIT\${ac_uC}1\${ac_uD}
- ! \${ac_eA}HAVE_UNION_WAIT\${ac_eB}HAVE_UNION_WAIT\${ac_eC}1\${ac_eD}
- ! "
- ! }
- !
-
- fi
- rm -f conftest*
-
-
- ! test -n "$silent" || echo "checking for sys_siglist declaration in signal.h or unistd.h"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #include <signal.h>
- ! /* NetBSD declares sys_siglist in <unistd.h>. */
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif
- int main() { return 0; }
- ! int t() { char *msg = *(sys_siglist + 1);; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining SYS_SIGLIST_DECLARED"
- ! echo "#define" SYS_SIGLIST_DECLARED "1" >> confdefs.h
- ! DEFS="$DEFS -DSYS_SIGLIST_DECLARED=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SYS_SIGLIST_DECLARED\${ac_dB}SYS_SIGLIST_DECLARED\${ac_dC}1\${ac_dD}
- ! \${ac_uA}SYS_SIGLIST_DECLARED\${ac_uB}SYS_SIGLIST_DECLARED\${ac_uC}1\${ac_uD}
- ! \${ac_eA}SYS_SIGLIST_DECLARED\${ac_eB}SYS_SIGLIST_DECLARED\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
-
- fi
- - rm -f conftest*
-
-
- # The presence of the following is not meant to imply
- # that make necessarily works on those systems.
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lseq"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lseq"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lseq"
- else
- ! :;
- fi
-
-
- ! test -n "$silent" || echo "checking for Xenix"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
- #if defined(M_XENIX) && !defined(M_UNIX)
- yes
- #endif
-
- EOF
- ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
- ! if egrep "yes" conftest.out >/dev/null 2>&1; then
- rm -rf conftest*
- ! XENIX=1
- !
- fi
- rm -f conftest*
-
- ! if test -n "$XENIX"; then
- LIBS="$LIBS -lx"
- - case "$DEFS" in
- - *SYSNDIR*) ;;
- - *) LIBS="-ldir $LIBS" ;; # Make sure -ldir precedes any -lx.
- - esac
- fi
-
- ! ac_save_LIBS="${LIBS}"
- ! LIBS="${LIBS} -lsun"
- ! ac_have_lib=""
- ! test -n "$silent" || echo "checking for -lsun"
- ! cat > conftest.${ac_ext} <<EOF
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() { main();; return 0; }
- EOF
- ! if eval $ac_compile; then
- rm -rf conftest*
- ! ac_have_lib="1"
- !
- fi
- rm -f conftest*
- ! LIBS="${ac_save_LIBS}"
- ! if test -n "${ac_have_lib}"; then
- ! :; LIBS="$LIBS -lsun"
- else
- ! :;
- fi
-
-
-
- REMOTE=stub
- ! # check whether --with-customs or --without-customs was given.
- withval="$with_customs"
- if test -n "$withval"; then
- REMOTE=cstms
- --- 2562,2715 ----
- /* Make sure union wait works with waitpid. */
- pid = waitpid (-1, &status, 0);
- #endif
- +
- ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! cat >> confdefs.h <<\EOF
- ! #define HAVE_UNION_WAIT 1
- ! EOF
-
- fi
- rm -f conftest*
-
-
- ! /bin/echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2584 "configure"
- #include "confdefs.h"
- + #include <sys/types.h>
- #include <signal.h>
- ! /* NetBSD declares sys_siglist in unistd.h. */
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif
- int main() { return 0; }
- ! int t() {
- ! char *msg = *(sys_siglist + 1);
- ! ; return 0; }
- EOF
- if eval $ac_compile; then
- rm -rf conftest*
- ! ac_cv_decl_sys_siglist=yes
- ! else
- ! rm -rf conftest*
- ! ac_cv_decl_sys_siglist=no
- ! fi
- ! rm -f conftest*
-
- + fi
- + /bin/echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&4
- + if test $ac_cv_decl_sys_siglist = yes; then
- + cat >> confdefs.h <<\EOF
- + #define SYS_SIGLIST_DECLARED 1
- + EOF
-
- fi
-
-
- # The presence of the following is not meant to imply
- # that make necessarily works on those systems.
- ! /bin/echo $ac_n "checking for -lseq""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_seq'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lseq "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2625 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! getmntent()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_seq=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_seq=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'seq`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lseq"
- else
- ! /bin/echo "$ac_t""no" 1>&4
- fi
-
-
- ! /bin/echo $ac_n "checking for Xenix""... $ac_c" 1>&4
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2654 "configure"
- #include "confdefs.h"
- #if defined(M_XENIX) && !defined(M_UNIX)
- yes
- #endif
-
- EOF
- ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- ! egrep "yes" >/dev/null 2>&1; then
- rm -rf conftest*
- ! /bin/echo "$ac_t""yes" 1>&4; XENIX=yes
- ! else
- ! rm -rf conftest*
- ! /bin/echo "$ac_t""no" 1>&4; XENIX=
- fi
- rm -f conftest*
-
- ! if test "$XENIX" = yes; then
- ! # Make sure -ldir precedes -lx.
- ! test $ac_header_dirent = dirent.h && LIBS="$LIBS -ldir"
- LIBS="$LIBS -lx"
- fi
-
- ! /bin/echo $ac_n "checking for -lsun""... $ac_c" 1>&4
- ! if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
- ! /bin/echo $ac_n "(cached) $ac_c" 1>&4
- ! else
- ! ac_save_LIBS="$LIBS"
- ! LIBS="$LIBS -lsun "
- ! cat > conftest.$ac_ext <<EOF
- ! #line 2684 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- ! int t() {
- ! getmntent()
- ! ; return 0; }
- EOF
- ! if eval $ac_link; then
- rm -rf conftest*
- ! eval "ac_cv_lib_sun=yes"
- ! else
- ! rm -rf conftest*
- ! eval "ac_cv_lib_sun=no"
- fi
- rm -f conftest*
- ! LIBS="$ac_save_LIBS"
- !
- ! fi
- ! if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
- ! /bin/echo "$ac_t""yes" 1>&4
- ! LIBS="$LIBS -lsun"
- else
- ! /bin/echo "$ac_t""no" 1>&4
- fi
-
-
-
- REMOTE=stub
- ! # Check whether --with-customs or --without-customs was given.
- withval="$with_customs"
- if test -n "$withval"; then
- REMOTE=cstms
- ***************
- *** 2332,2403 ****
-
-
- echo checking for location of SCCS get command
- ! if test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" SCCS_GET to be ""/usr/sccs/get""
- ! echo "#define" SCCS_GET ""/usr/sccs/get"" >> confdefs.h
- ! DEFS="$DEFS -DSCCS_GET="/usr/sccs/get""
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SCCS_GET\${ac_dB}SCCS_GET\${ac_dC}\"/usr/sccs/get\"\${ac_dD}
- ! \${ac_uA}SCCS_GET\${ac_uB}SCCS_GET\${ac_uC}\"/usr/sccs/get\"\${ac_uD}
- ! \${ac_eA}SCCS_GET\${ac_eB}SCCS_GET\${ac_eC}\"/usr/sccs/get\"\${ac_eD}
- ! "
- ! }
-
- else
- SCCS_GET=get
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining" SCCS_GET to be ""get""
- ! echo "#define" SCCS_GET ""get"" >> confdefs.h
- ! DEFS="$DEFS -DSCCS_GET="get""
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SCCS_GET\${ac_dB}SCCS_GET\${ac_dC}\"get\"\${ac_dD}
- ! \${ac_uA}SCCS_GET\${ac_uB}SCCS_GET\${ac_uC}\"get\"\${ac_uD}
- ! \${ac_eA}SCCS_GET\${ac_eB}SCCS_GET\${ac_eC}\"get\"\${ac_eD}
- ! "
- ! }
-
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- if $SCCS_GET -Gconftoast s.conftest >/dev/null 2>&1 &&
- test -f conftoast; then
- !
- ! {
- ! test -n "$verbose" && \
- ! echo " defining SCCS_GET_MINUS_G"
- ! echo "#define" SCCS_GET_MINUS_G "1" >> confdefs.h
- ! DEFS="$DEFS -DSCCS_GET_MINUS_G=1"
- ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SCCS_GET_MINUS_G\${ac_dB}SCCS_GET_MINUS_G\${ac_dC}1\${ac_dD}
- ! \${ac_uA}SCCS_GET_MINUS_G\${ac_uB}SCCS_GET_MINUS_G\${ac_uC}1\${ac_uD}
- ! \${ac_eA}SCCS_GET_MINUS_G\${ac_eB}SCCS_GET_MINUS_G\${ac_eC}1\${ac_eD}
- ! "
- ! }
-
- fi
- fi
- rm -f s.conftest conftoast
-
- !
- ! # The preferred way to propogate these variables is regular @ substitutions.
- ! if test -n "$prefix"; then
- ! ac_prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%"
- ! else
- ! prefix=/usr/local
- ! fi
- ! if test -n "$exec_prefix"; then
- ! ac_prsub="$ac_prsub
- ! s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
- else
- ! exec_prefix='${prefix}' # Let make expand it.
- fi
-
- # Any assignment to VPATH causes Sun make to only execute
- # the first set of double-colon rules, so remove it if not needed.
- # If there is a colon in the path, we need to keep it.
- --- 2718,2784 ----
-
-
- echo checking for location of SCCS get command
- ! if false && test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- ! cat >> confdefs.h <<\EOF
- ! #define SCCS_GET "/usr/sccs/get"
- ! EOF
-
- else
- SCCS_GET=get
- ! cat >> confdefs.h <<\EOF
- ! #define SCCS_GET "get"
- ! EOF
-
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if false && ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- if $SCCS_GET -Gconftoast s.conftest >/dev/null 2>&1 &&
- test -f conftoast; then
- ! cat >> confdefs.h <<\EOF
- ! #define SCCS_GET_MINUS_G 1
- ! EOF
-
- fi
- fi
- rm -f s.conftest conftoast
-
- ! trap '' 1 2 15
- ! if test -w $cache_file; then
- ! echo "updating cache $cache_file"
- ! cat > $cache_file <<\EOF
- ! # This file is a shell script that caches the results of configure
- ! # tests run on this system so they can be shared between configure
- ! # scripts and configure runs. It is not useful on other systems.
- ! # If it contains results you don't want to keep, you may remove or edit it.
- ! #
- ! # By default, configure uses ./config.cache as the cache file,
- ! # creating it if it does not exist already. You can give configure
- ! # the --cache-file=FILE option to use a different cache file; that is
- ! # what configure does when it calls configure scripts in
- ! # subdirectories, so they share the cache.
- ! # Giving --cache-file=/dev/null disables caching, for debugging configure.
- ! # config.status only pays attention to the cache file if you give it the
- ! # --recheck option to rerun configure.
- ! #
- ! EOF
- ! # Ultrix sh set writes to stderr and can't be redirected directly.
- ! (set) 2>&1 |
- ! sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
- ! >> $cache_file
- else
- ! echo "not updating unwritable cache $cache_file"
- fi
-
- + trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
- +
- + test "x$prefix" = xNONE && prefix=$ac_default_prefix
- + # Let make expand exec_prefix.
- + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- +
- # Any assignment to VPATH causes Sun make to only execute
- # the first set of double-colon rules, so remove it if not needed.
- # If there is a colon in the path, we need to keep it.
- ***************
- *** 2405,2440 ****
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
- fi
-
- ! # Quote sed substitution magic chars in DEFS.
- ! cat >conftest.def <<EOF
- ! $DEFS
- ! EOF
- ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
- ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
- ! rm -f conftest.def
- ! # Substitute for predefined variables.
- !
- ! trap 'rm -f config.status; exit 1' 1 2 15
- ! echo creating config.status
- ! rm -f config.status
- ! cat > config.status <<EOF
- #!/bin/sh
- # Generated automatically by configure.
- # Run this file to recreate the current configuration.
- # This directory was configured as follows,
- # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- #
- ! # $0 $configure_args
-
- ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
- for ac_option
- do
- case "\$ac_option" in
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ! echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
- ! exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
- -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- ! echo "config.status generated by autoconf version 1.11"
- exit 0 ;;
- -help | --help | --hel | --he | --h)
- echo "\$ac_cs_usage"; exit 0 ;;
- --- 2786,2823 ----
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
- fi
-
- ! trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
- !
- ! DEFS=-DHAVE_CONFIG_H
- !
- ! # Without the "./", some shells look in PATH for config.status.
- ! : ${CONFIG_STATUS=./config.status}
- !
- ! echo creating $CONFIG_STATUS
- ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
- ! # being executed, so just move it out of the way instead.
- ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
- ! cat > $CONFIG_STATUS <<EOF
- #!/bin/sh
- # Generated automatically by configure.
- # Run this file to recreate the current configuration.
- # This directory was configured as follows,
- # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- #
- ! # $0 $ac_configure_args
- ! #
- ! # Compiler output produced by configure, useful for debugging
- ! # configure, is in ./config.log if it exists.
-
- ! ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- for ac_option
- do
- case "\$ac_option" in
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ! 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)
- ! /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
- exit 0 ;;
- -help | --help | --hel | --he | --h)
- echo "\$ac_cs_usage"; exit 0 ;;
- ***************
- *** 2442,2631 ****
- esac
- done
-
- trap 'rm -fr Makefile build.sh glob/Makefile config.h conftest*; exit 1' 1 2 15
- ! CFLAGS='$CFLAGS'
- ! LDFLAGS='$LDFLAGS'
- ! SET_MAKE='$SET_MAKE'
- ! CC='$CC'
- ! INSTALL='$INSTALL'
- ! INSTALL_PROGRAM='$INSTALL_PROGRAM'
- ! INSTALL_DATA='$INSTALL_DATA'
- ! RANLIB='$RANLIB'
- ! CPP='$CPP'
- ! LIBOBJS='$LIBOBJS'
- ! ALLOCA='$ALLOCA'
- ! NEED_SETGID='$NEED_SETGID'
- ! KMEM_GROUP='$KMEM_GROUP'
- ! REMOTE='$REMOTE'
- ! LIBS='$LIBS'
- ! srcdir='$srcdir'
- ! top_srcdir='$top_srcdir'
- ! prefix='$prefix'
- ! exec_prefix='$exec_prefix'
- ! ac_prsub='$ac_prsub'
- ! ac_vpsub='$ac_vpsub'
- ! extrasub='$extrasub'
- EOF
- ! cat >> config.status <<\EOF
-
- ! ac_given_srcdir=$srcdir
-
- - CONFIG_FILES=${CONFIG_FILES-"Makefile build.sh glob/Makefile"}
- - for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
- # Remove last slash and all that follows it. Not all systems have dirname.
- ! ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- ac_dir_suffix="/$ac_dir"
- else
- ! ac_dir_suffix=
- fi
-
- - # A "../" for each directory in $ac_dir_suffix.
- - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- case "$ac_given_srcdir" in
- .) srcdir=.
- ! if test -z "$ac_dir_suffix"; then top_srcdir=.
- ! else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- *) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
-
- echo creating "$ac_file"
- rm -f "$ac_file"
- ! comment_str="Generated automatically from `echo $ac_file|sed 's|.*/||'`.in by configure."
- case "$ac_file" in
- ! *.c | *.h | *.C | *.cc | *.m ) echo "/* $comment_str */" > "$ac_file" ;;
- ! * ) echo "# $comment_str" > "$ac_file" ;;
- esac
- ! sed -e "
- ! $ac_prsub
- ! $ac_vpsub
- ! $extrasub
- ! s%@CFLAGS@%$CFLAGS%g
- ! s%@LDFLAGS@%$LDFLAGS%g
- ! s%@SET_MAKE@%$SET_MAKE%g
- ! s%@CC@%$CC%g
- ! s%@INSTALL@%$INSTALL%g
- ! s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
- ! s%@INSTALL_DATA@%$INSTALL_DATA%g
- ! s%@RANLIB@%$RANLIB%g
- ! s%@CPP@%$CPP%g
- ! s%@LIBOBJS@%$LIBOBJS%g
- ! s%@ALLOCA@%$ALLOCA%g
- ! s%@NEED_SETGID@%$NEED_SETGID%g
- ! s%@KMEM_GROUP@%$KMEM_GROUP%g
- ! s%@REMOTE@%$REMOTE%g
- ! s%@LIBS@%$LIBS%g
- s%@srcdir@%$srcdir%g
- s%@top_srcdir@%$top_srcdir%g
- ! s%@prefix@%$prefix%g
- ! s%@exec_prefix@%$exec_prefix%g
- ! s%@DEFS@%-DHAVE_CONFIG_H%" $ac_given_srcdir/${ac_file}.in >> $ac_file
- fi; done
-
- ! # These sed commands are put into ac_sed_defs when defining a macro.
- ! # They are broken into pieces to make the sed script easier to manage.
- ! # They are passed to sed as "A NAME B NAME C VALUE D", where NAME
- ! # is the cpp macro being defined and VALUE is the value it is being given.
- ! # Each defining turns into a single global substitution command.
- ! # Hopefully no one uses "!" as a variable value.
- ! # Other candidates for the sed separators, like , and @, do get used.
- #
- # ac_d sets the value in "#define NAME VALUE" lines.
- ! ac_dA='s!^\([ ]*\)#\([ ]*define[ ][ ]*\)'
- ! ac_dB='\([ ][ ]*\)[^ ]*!\1#\2'
- ac_dC='\3'
- ! ac_dD='!g'
- # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
- ! ac_uA='s!^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- ! ac_uB='\([ ]\)!\1#\2define\3'
- ac_uC=' '
- ! ac_uD='\4!g'
- # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
- ! ac_eA='s!^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- ! ac_eB='$!\1#\2define\3'
- ac_eC=' '
- ! ac_eD='!g'
- ! rm -f conftest.sed
- EOF
- ! # Turn off quoting long enough to insert the sed commands.
- ! rm -f conftest.sh
- ! cat > conftest.sh <<EOF
- ! $ac_sed_defs
- EOF
-
- ! # Break up $ac_sed_defs (now in conftest.sh) because some shells have a limit
- ! # on the size of here documents.
-
- # Maximum number of lines to put in a single here document.
- ! ac_max_sh_lines=9
-
- while :
- do
- ! # wc gives bogus results for an empty file on some AIX systems.
- ! ac_lines=`grep -c . conftest.sh`
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- ! rm -f conftest.s1 conftest.s2
- ! sed ${ac_max_sh_lines}q conftest.sh > conftest.s1 # Like head -9.
- ! sed 1,${ac_max_sh_lines}d conftest.sh > conftest.s2 # Like tail +10.
- ! # Write a limited-size here document to append to conftest.sed.
- ! echo 'cat >> conftest.sed <<CONFEOF' >> config.status
- ! cat conftest.s1 >> config.status
- ! echo 'CONFEOF' >> config.status
- ! rm -f conftest.s1 conftest.sh
- ! mv conftest.s2 conftest.sh
- done
- ! rm -f conftest.sh
- !
- ! # Now back to your regularly scheduled config.status.
- ! cat >> config.status <<\EOF
- ! # This sed command replaces #undef's with comments. This is necessary, for
- ! # example, in the case of _POSIX_SOURCE, which is predefined and required
- ! # on some systems where configure will not decide to define it in
- ! # config.h.
- ! cat >> conftest.sed <<\CONFEOF
- ! s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
- ! CONFEOF
- ! rm -f conftest.h
- ! # Break up the sed commands because old seds have small limits.
- ! ac_max_sed_lines=20
-
- ! CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
- ! for ac_file in .. ${CONFIG_HEADERS}; do if test "x$ac_file" != x..; then
- ! echo creating $ac_file
- !
- ! cp $ac_given_srcdir/$ac_file.in conftest.h1
- ! cp conftest.sed conftest.stm
- ! while :
- ! do
- ! ac_lines=`grep -c . conftest.stm`
- ! if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- ! rm -f conftest.s1 conftest.s2 conftest.h2
- ! sed ${ac_max_sed_lines}q conftest.stm > conftest.s1 # Like head -20.
- ! sed 1,${ac_max_sed_lines}d conftest.stm > conftest.s2 # Like tail +21.
- ! sed -f conftest.s1 < conftest.h1 > conftest.h2
- ! rm -f conftest.s1 conftest.h1 conftest.stm
- ! mv conftest.h2 conftest.h1
- ! mv conftest.s2 conftest.stm
- ! done
- ! rm -f conftest.stm conftest.h
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- ! cat conftest.h1 >> conftest.h
- ! rm -f conftest.h1
- if cmp -s $ac_file conftest.h 2>/dev/null; then
- ! # The file exists and we would not be changing it.
- ! echo "$ac_file is unchanged"
- rm -f conftest.h
- else
- rm -f $ac_file
- mv conftest.h $ac_file
- fi
- fi; done
- - rm -f conftest.sed
-
-
-
- --- 2825,3016 ----
- esac
- done
-
- + ac_given_srcdir=$srcdir
- + ac_given_INSTALL="$INSTALL"
- +
- trap 'rm -fr Makefile build.sh glob/Makefile config.h conftest*; exit 1' 1 2 15
- !
- ! # 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
- ! $ac_vpsub
- ! $extrasub
- ! s%@CFLAGS@%$CFLAGS%g
- ! s%@CPPFLAGS@%$CPPFLAGS%g
- ! s%@CXXFLAGS@%$CXXFLAGS%g
- ! s%@DEFS@%$DEFS%g
- ! s%@LDFLAGS@%$LDFLAGS%g
- ! s%@LIBS@%$LIBS%g
- ! s%@exec_prefix@%$exec_prefix%g
- ! s%@prefix@%$prefix%g
- ! s%@program_transform_name@%$program_transform_name%g
- ! s%@SET_MAKE@%$SET_MAKE%g
- ! s%@CC@%$CC%g
- ! s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
- ! s%@INSTALL_DATA@%$INSTALL_DATA%g
- ! s%@RANLIB@%$RANLIB%g
- ! s%@CPP@%$CPP%g
- ! s%@LIBOBJS@%$LIBOBJS%g
- ! s%@ALLOCA@%$ALLOCA%g
- ! s%@NEED_SETGID@%$NEED_SETGID%g
- ! s%@KMEM_GROUP@%$KMEM_GROUP%g
- ! s%@REMOTE@%$REMOTE%g
- !
- ! CEOF
- EOF
- ! cat >> $CONFIG_STATUS <<EOF
-
- ! CONFIG_FILES=\${CONFIG_FILES-"Makefile build.sh glob/Makefile"}
- ! EOF
- ! cat >> $CONFIG_STATUS <<\EOF
- ! for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- ! # Support "outfile[:infile]", defaulting infile="outfile.in".
- ! case "$ac_file" in
- ! *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
- ! ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
- ! *) ac_file_in="${ac_file}.in" ;;
- ! esac
- !
- ! # Adjust relative srcdir, etc. for subdirectories.
-
- # Remove last slash and all that follows it. Not all systems have dirname.
- ! ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- ac_dir_suffix="/$ac_dir"
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- else
- ! ac_dir_suffix= ac_dots=
- fi
-
- case "$ac_given_srcdir" in
- .) srcdir=.
- ! if test -z "$ac_dots"; then top_srcdir=.
- ! else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- *) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
-
- + case "$ac_given_INSTALL" in
- + [/$]*) INSTALL="$ac_given_INSTALL" ;;
- + *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- + esac
- echo creating "$ac_file"
- rm -f "$ac_file"
- ! configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
- case "$ac_file" in
- ! *Makefile*) ac_comsub="1i\\
- ! # $configure_input" ;;
- ! *) ac_comsub= ;;
- esac
- ! sed -e "$ac_comsub
- ! s%@configure_input@%$configure_input%g
- s%@srcdir@%$srcdir%g
- s%@top_srcdir@%$top_srcdir%g
- ! s%@INSTALL@%$INSTALL%g
- ! " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
- fi; done
- + rm -f conftest.subs
-
- ! # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
- ! # NAME is the cpp macro being defined and VALUE is the value it is being given.
- #
- # ac_d sets the value in "#define NAME VALUE" lines.
- ! ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
- ! ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
- ac_dC='\3'
- ! ac_dD='%g'
- # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
- ! ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- ! ac_uB='\([ ]\)%\1#\2define\3'
- ac_uC=' '
- ! ac_uD='\4%g'
- # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
- ! ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- ! ac_eB='$%\1#\2define\3'
- ac_eC=' '
- ! ac_eD='%g'
- !
- ! CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
- ! for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
- ! # Support "outfile[:infile]", defaulting infile="outfile.in".
- ! case "$ac_file" in
- ! *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
- ! ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
- ! *) ac_file_in="${ac_file}.in" ;;
- ! esac
- !
- ! echo creating $ac_file
- !
- ! rm -f conftest.frag conftest.in conftest.out
- ! cp $ac_given_srcdir/$ac_file_in conftest.in
- !
- EOF
- !
- ! # Transform confdefs.h into a sed script conftest.vals that substitutes
- ! # the proper values into config.h.in to produce config.h. And first:
- ! # Protect against being on the right side of a sed subst in config.status.
- ! # Protect against being in an unquoted here document in config.status.
- ! rm -f conftest.vals
- ! cat > conftest.hdr <<\EOF
- ! s/[\\&%]/\\&/g
- ! s%[\\$`]%\\&%g
- ! s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
- ! s%ac_d%ac_u%gp
- ! s%ac_u%ac_e%gp
- EOF
- + sed -n -f conftest.hdr confdefs.h > conftest.vals
- + rm -f conftest.hdr
-
- ! # This sed command replaces #undef with comments. This is necessary, for
- ! # example, in the case of _POSIX_SOURCE, which is predefined and required
- ! # on some systems where configure will not decide to define it.
- ! cat >> conftest.vals <<\EOF
- ! s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
- ! EOF
-
- + # Break up conftest.vals because some shells have a limit on
- + # the size of here documents, and old seds have small limits too.
- # Maximum number of lines to put in a single here document.
- ! ac_max_here_lines=12
-
- + rm -f conftest.tail
- while :
- do
- ! ac_lines=`grep -c . conftest.vals`
- ! # grep -c gives empty output for an empty file on some AIX systems.
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- ! # Write a limited-size here document to conftest.frag.
- ! echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
- ! sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
- ! echo 'CEOF
- ! sed -f conftest.frag conftest.in > conftest.out
- ! rm -f conftest.in
- ! mv conftest.out conftest.in
- ! ' >> $CONFIG_STATUS
- ! sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
- ! rm -f conftest.vals
- ! mv conftest.tail conftest.vals
- done
- ! rm -f conftest.vals
-
- ! cat >> $CONFIG_STATUS <<\EOF
- ! rm -f conftest.frag conftest.h
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- ! cat conftest.in >> conftest.h
- ! rm -f conftest.in
- if cmp -s $ac_file conftest.h 2>/dev/null; then
- ! /bin/echo "$ac_file is unchanged"
- rm -f conftest.h
- else
- rm -f $ac_file
- mv conftest.h $ac_file
- fi
- fi; done
-
-
-
- ***************
- *** 2634,2641 ****
- touch stamp-config
- exit 0
- EOF
- ! chmod +x config.status
- ! # Some shells look in PATH for config.status without the "./".
- ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} ./config.status
-
-
- --- 3019,3026 ----
- touch stamp-config
- exit 0
- EOF
- ! chmod +x $CONFIG_STATUS
- ! rm -fr confdefs* $ac_clean_files
- ! test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
-
-
- diff -rc --new-file make-3.71/configure.in /gnu/src/amiga/make-3.71/configure.in
- *** make-3.71/configure.in Tue May 17 03:00:07 1994
- --- /gnu/src/amiga/make-3.71/configure.in Wed Jun 22 21:10:36 1994
- ***************
- *** 4,11 ****
- AC_CONFIG_HEADER(config.h)
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-g AC_SUBST(CFLAGS)
- ! test -z "$LDFLAGS" && LDFLAGS=-g AC_SUBST(LDFLAGS)
-
- AC_SET_MAKE
- AC_PROG_CC
- --- 4,11 ----
- AC_CONFIG_HEADER(config.h)
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-O2 AC_SUBST(CFLAGS)
- ! test -z "$LDFLAGS" && LDFLAGS= AC_SUBST(LDFLAGS)
-
- AC_SET_MAKE
- AC_PROG_CC
- ***************
- *** 69,75 ****
- LIBS="$LIBS libcustoms.a"])
-
- echo checking for location of SCCS get command
- ! if test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- AC_DEFINE(SCCS_GET, "/usr/sccs/get")
- else
- --- 69,75 ----
- LIBS="$LIBS libcustoms.a"])
-
- echo checking for location of SCCS get command
- ! if false && test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- AC_DEFINE(SCCS_GET, "/usr/sccs/get")
- else
- ***************
- *** 77,83 ****
- AC_DEFINE(SCCS_GET, "get")
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- --- 77,83 ----
- AC_DEFINE(SCCS_GET, "get")
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if false && ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- diff -rc --new-file make-3.71/dir.c /gnu/src/amiga/make-3.71/dir.c
- *** make-3.71/dir.c Wed Jun 2 20:56:37 1993
- --- /gnu/src/amiga/make-3.71/dir.c Wed Jun 22 21:10:38 1994
- ***************
- *** 492,498 ****
- --- 492,502 ----
-
- /* Hooks for globbing. */
-
- + #ifndef amigados
- #include <glob.h>
- + #else
- + #include "glob.h"
- + #endif
-
- /* Structure describing state of iterating through a directory hash table. */
-
- diff -rc --new-file make-3.71/function.c /gnu/src/amiga/make-3.71/function.c
- *** make-3.71/function.c Fri Mar 4 05:36:26 1994
- --- /gnu/src/amiga/make-3.71/function.c Wed Jun 22 21:10:41 1994
- ***************
- *** 21,26 ****
- --- 21,29 ----
- #include "dep.h"
- #include "commands.h"
- #include "job.h"
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
- static char *string_glob ();
-
- diff -rc --new-file make-3.71/getloadavg.c /gnu/src/amiga/make-3.71/getloadavg.c
- *** make-3.71/getloadavg.c Tue May 10 02:10:29 1994
- --- /gnu/src/amiga/make-3.71/getloadavg.c Wed Jun 22 21:10:43 1994
- ***************
- *** 472,477 ****
- --- 472,481 ----
- {
- int elem = 0; /* Return value. */
-
- + #ifdef __amigados
- + #define NO_GET_LOAD_AVG
- + #endif
- +
- #ifdef NO_GET_LOAD_AVG
- #define LDAV_DONE
- /* Set errno to zero to indicate that there was no particular error;
- diff -rc --new-file make-3.71/getopt.c /gnu/src/amiga/make-3.71/getopt.c
- *** make-3.71/getopt.c Tue May 10 02:11:02 1994
- --- /gnu/src/amiga/make-3.71/getopt.c Wed Jun 22 21:10:45 1994
- ***************
- *** 46,51 ****
- --- 46,54 ----
- #endif
-
- #include <stdio.h>
- + #ifdef amigados
- + #include <string.h>
- + #endif
-
- /* Comment out all this code if we are using the GNU C Library, and are not
- actually compiling the library itself. This code is part of the GNU C
- diff -rc --new-file make-3.71/glob/fnmatch.h /gnu/src/amiga/make-3.71/glob/fnmatch.h
- *** make-3.71/glob/fnmatch.h Tue Dec 14 20:02:10 1993
- --- /gnu/src/amiga/make-3.71/glob/fnmatch.h Wed Jun 22 21:10:47 1994
- ***************
- *** 42,48 ****
- --- 42,50 ----
- #undef FNM_PERIOD
-
- /* Bits set in the FLAGS argument to `fnmatch'. */
- + #ifndef FNM_PATHNAME
- #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */
- + #endif
- #define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */
- #define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */
-
- diff -rc --new-file make-3.71/job.c /gnu/src/amiga/make-3.71/job.c
- *** make-3.71/job.c Tue May 10 20:00:40 1994
- --- /gnu/src/amiga/make-3.71/job.c Wed Jun 22 21:10:49 1994
- ***************
- *** 23,29 ****
- #include "variable.h"
-
- /* Default path to search for executables. */
- ! static char default_path[] = ":/bin:/usr/bin";
-
- /* Default shell to use. */
- char default_shell[] = "/bin/sh";
- --- 23,29 ----
- #include "variable.h"
-
- /* Default path to search for executables. */
- ! static char default_path[] = ":/bin";
-
- /* Default shell to use. */
- char default_shell[] = "/bin/sh";
- ***************
- *** 46,52 ****
- #endif
-
- #ifdef HAVE_WAITPID
- ! #define WAIT_NOHANG(status) waitpid (-1, (status), WNOHANG)
- #else /* Don't have waitpid. */
- #ifdef HAVE_WAIT3
- #ifndef wait3
- --- 46,52 ----
- #endif
-
- #ifdef HAVE_WAITPID
- ! #define WAIT_NOHANG(status) waitpid (-1, (int *)(status), WNOHANG)
- #else /* Don't have waitpid. */
- #ifdef HAVE_WAIT3
- #ifndef wait3
- ***************
- *** 269,275 ****
- pid = WAIT_NOHANG (&status);
- else
- #endif
- ! pid = wait (&status);
- }
- else
- pid = 0;
- --- 269,275 ----
- pid = WAIT_NOHANG (&status);
- else
- #endif
- ! pid = wait ((int *)&status);
- }
- else
- pid = 0;
- diff -rc --new-file make-3.71/main.c /gnu/src/amiga/make-3.71/main.c
- *** make-3.71/main.c Thu Apr 21 02:08:24 1994
- --- /gnu/src/amiga/make-3.71/main.c Wed Jun 22 21:10:52 1994
- ***************
- *** 23,28 ****
- --- 23,31 ----
- #include "variable.h"
- #include "job.h"
- #include "getopt.h"
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
-
- extern void print_variable_data_base ();
- Binary files make-3.71/make.dvi and /gnu/src/amiga/make-3.71/make.dvi differ
- diff -rc --new-file make-3.71/make.info /gnu/src/amiga/make-3.71/make.info
- *** make-3.71/make.info Thu Dec 16 23:32:48 1993
- --- /gnu/src/amiga/make-3.71/make.info Tue May 17 03:58:50 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 28,162 ****
-
- Indirect:
- make.info-1: 1134
- ! make.info-2: 50844
- ! make.info-3: 99706
- ! make.info-4: 147828
- ! make.info-5: 197147
- ! make.info-6: 245075
- ! make.info-7: 291788
- ! make.info-8: 307867
-
- Tag Table:
- (Indirect)
- Node: Top1134
- ! Node: Overview12009
- ! Node: Preparing12946
- ! Node: Reading13901
- ! Node: Bugs14823
- ! Node: Introduction16731
- ! Node: Rule Introduction18318
- ! Node: Simple Makefile20027
- ! Node: How Make Works23640
- ! Node: Variables Simplify26138
- ! Node: make Deduces28344
- ! Node: Combine By Dependency30091
- ! Node: Cleanup31119
- ! Node: Makefiles32529
- ! Node: Makefile Contents33226
- ! Node: Makefile Names35486
- ! Node: Include37088
- ! Node: MAKEFILES Variable40499
- ! Node: Remaking Makefiles42001
- ! Node: Overriding Makefiles45819
- ! Node: Rules47409
- ! Node: Rule Example50009
- ! Node: Rule Syntax50844
- ! Node: Wildcards53053
- ! Node: Wildcard Examples54563
- ! Node: Wildcard Pitfall55798
- ! Node: Wildcard Function57048
- ! Node: Directory Search58829
- ! Node: General Search59889
- ! Node: Selective Search61396
- ! Node: Commands/Search64301
- ! Node: Implicit/Search65641
- ! Node: Libraries/Search66576
- ! Node: Phony Targets67645
- ! Node: Force Targets70990
- ! Node: Empty Targets72027
- ! Node: Special Targets73287
- ! Node: Multiple Targets76868
- ! Node: Multiple Rules78735
- ! Node: Static Pattern80818
- ! Node: Static Usage81458
- ! Node: Static versus Implicit85112
- ! Node: Double-Colon86843
- ! Node: Automatic Dependencies88373
- ! Node: Commands91925
- ! Node: Echoing93486
- ! Node: Execution94723
- ! Node: Parallel96391
- ! Node: Errors99706
- ! Node: Interrupts102605
- ! Node: Recursion104186
- ! Node: MAKE Variable105472
- ! Node: Variables/Recursion108563
- ! Node: Options/Recursion113343
- ! Node: -w Option116675
- ! Node: Sequences117661
- ! Node: Empty Commands120656
- ! Node: Using Variables121824
- ! Node: Reference124448
- ! Node: Flavors125993
- ! Node: Advanced131310
- ! Node: Substitution Refs131810
- ! Node: Computed Names133337
- ! Node: Values137907
- ! Node: Setting138824
- ! Node: Appending140533
- ! Node: Override Directive144451
- ! Node: Defining145830
- ! Node: Environment147828
- ! Node: Conditionals149956
- ! Node: Conditional Example150665
- ! Node: Conditional Syntax153231
- ! Node: Testing Flags157977
- ! Node: Functions159074
- ! Node: Syntax of Functions160072
- ! Node: Text Functions162209
- ! Node: Filename Functions168963
- ! Node: Foreach Function174084
- ! Node: Origin Function177286
- ! Node: Shell Function180511
- ! Node: Running181888
- ! Node: Makefile Arguments183430
- ! Node: Goals184125
- ! Node: Instead of Execution187991
- ! Node: Avoiding Compilation191081
- ! Node: Overriding192982
- ! Node: Testing195270
- ! Node: Options Summary197147
- ! Node: Implicit Rules203903
- ! Node: Using Implicit206049
- ! Node: Catalogue of Rules209536
- ! Node: Implicit Variables218476
- ! Node: Chained Rules222602
- ! Node: Pattern Rules225300
- ! Node: Pattern Intro226828
- ! Node: Pattern Examples229639
- ! Node: Automatic231432
- ! Node: Pattern Match237072
- ! Node: Match-Anything Rules238676
- ! Node: Canceling Rules242535
- ! Node: Last Resort243238
- ! Node: Suffix Rules245075
- ! Node: Search Algorithm248782
- ! Node: Archives252278
- ! Node: Archive Members252895
- ! Node: Archive Update254456
- ! Node: Archive Symbols256374
- ! Node: Archive Suffix Rules257573
- ! Node: Features259111
- ! Node: Missing267398
- ! Node: Makefile Conventions271727
- ! Node: Makefile Basics272075
- ! Node: Utilities in Makefiles273961
- ! Node: Standard Targets275392
- ! Node: Command Variables282496
- ! Node: Directory Variables285321
- ! Node: Quick Reference291788
- ! Node: Complex Makefile299200
- ! Node: Concept Index307867
- ! Node: Name Index346556
-
- End Tag Table
- --- 28,162 ----
-
- Indirect:
- make.info-1: 1134
- ! make.info-2: 50397
- ! make.info-3: 100390
- ! make.info-4: 149105
- ! make.info-5: 199061
- ! make.info-6: 247456
- ! make.info-7: 294189
- ! make.info-8: 310259
-
- Tag Table:
- (Indirect)
- Node: Top1134
- ! Node: Overview12004
- ! Node: Preparing12941
- ! Node: Reading13896
- ! Node: Bugs14818
- ! Node: Introduction16686
- ! Node: Rule Introduction18273
- ! Node: Simple Makefile19982
- ! Node: How Make Works23595
- ! Node: Variables Simplify26093
- ! Node: make Deduces28299
- ! Node: Combine By Dependency30046
- ! Node: Cleanup31074
- ! Node: Makefiles32484
- ! Node: Makefile Contents33181
- ! Node: Makefile Names35441
- ! Node: Include37043
- ! Node: MAKEFILES Variable40454
- ! Node: Remaking Makefiles41956
- ! Node: Overriding Makefiles45774
- ! Node: Rules47797
- ! Node: Rule Example50397
- ! Node: Rule Syntax51232
- ! Node: Wildcards53441
- ! Node: Wildcard Examples54951
- ! Node: Wildcard Pitfall56186
- ! Node: Wildcard Function57436
- ! Node: Directory Search59217
- ! Node: General Search60277
- ! Node: Selective Search61795
- ! Node: Commands/Search64715
- ! Node: Implicit/Search66055
- ! Node: Libraries/Search66990
- ! Node: Phony Targets68059
- ! Node: Force Targets71404
- ! Node: Empty Targets72441
- ! Node: Special Targets73701
- ! Node: Multiple Targets77282
- ! Node: Multiple Rules79149
- ! Node: Static Pattern81232
- ! Node: Static Usage81872
- ! Node: Static versus Implicit85526
- ! Node: Double-Colon87257
- ! Node: Automatic Dependencies88787
- ! Node: Commands92609
- ! Node: Echoing94170
- ! Node: Execution95407
- ! Node: Parallel97075
- ! Node: Errors100390
- ! Node: Interrupts103289
- ! Node: Recursion104870
- ! Node: MAKE Variable106156
- ! Node: Variables/Recursion109247
- ! Node: Options/Recursion114027
- ! Node: -w Option117592
- ! Node: Sequences118578
- ! Node: Empty Commands121573
- ! Node: Using Variables122741
- ! Node: Reference125725
- ! Node: Flavors127270
- ! Node: Advanced132587
- ! Node: Substitution Refs133087
- ! Node: Computed Names134614
- ! Node: Values139184
- ! Node: Setting140101
- ! Node: Appending141810
- ! Node: Override Directive145728
- ! Node: Defining147107
- ! Node: Environment149105
- ! Node: Conditionals151233
- ! Node: Conditional Example151942
- ! Node: Conditional Syntax154508
- ! Node: Testing Flags159254
- ! Node: Functions160351
- ! Node: Syntax of Functions161349
- ! Node: Text Functions163486
- ! Node: Filename Functions170240
- ! Node: Foreach Function175361
- ! Node: Origin Function178563
- ! Node: Shell Function181788
- ! Node: Running183165
- ! Node: Makefile Arguments185153
- ! Node: Goals185848
- ! Node: Instead of Execution189714
- ! Node: Avoiding Compilation192995
- ! Node: Overriding194896
- ! Node: Testing197184
- ! Node: Options Summary199061
- ! Node: Implicit Rules205871
- ! Node: Using Implicit208017
- ! Node: Catalogue of Rules211504
- ! Node: Implicit Variables220485
- ! Node: Chained Rules224611
- ! Node: Pattern Rules227309
- ! Node: Pattern Intro228837
- ! Node: Pattern Examples231648
- ! Node: Automatic233441
- ! Node: Pattern Match239453
- ! Node: Match-Anything Rules241057
- ! Node: Canceling Rules244916
- ! Node: Last Resort245619
- ! Node: Suffix Rules247456
- ! Node: Search Algorithm251163
- ! Node: Archives254659
- ! Node: Archive Members255276
- ! Node: Archive Update256855
- ! Node: Archive Symbols258775
- ! Node: Archive Suffix Rules259974
- ! Node: Features261512
- ! Node: Missing269799
- ! Node: Makefile Conventions274128
- ! Node: Makefile Basics274476
- ! Node: Utilities in Makefiles276362
- ! Node: Standard Targets277793
- ! Node: Command Variables284897
- ! Node: Directory Variables287722
- ! Node: Quick Reference294189
- ! Node: Complex Makefile301592
- ! Node: Concept Index310259
- ! Node: Name Index348949
-
- End Tag Table
- diff -rc --new-file make-3.71/make.info-1 /gnu/src/amiga/make-3.71/make.info-1
- *** make-3.71/make.info-1 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-1 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 35,42 ****
- large program need to be recompiled, and issues the commands to
- recompile them.
-
- ! This is Edition 0.45 of the `GNU Make Manual', last updated 14
- ! December 1993 for `make' Version 3.70 Beta.
-
- This manual describes `make' and contains the following chapters:
-
- --- 35,42 ----
- large program need to be recompiled, and issues the commands to
- recompile them.
-
- ! This is Edition 0.45 of the `GNU Make Manual', last updated 11 May
- ! 1994 for `make' Version 3.71 Beta.
-
- This manual describes `make' and contains the following chapters:
-
- ***************
- *** 355,371 ****
-
- Non-bug suggestions are always welcome as well. If you have
- questions about things that are unclear in the documentation or are
- ! just obscure features, contact Roland McGrath; he will try to help you
- ! out, although he may not have time to fix the problem.
- !
- ! You can send electronic mail to Roland McGrath either through the
- ! Internet or via UUCP:
- !
- ! Internet address:
- ! roland@prep.ai.mit.edu
- !
- ! UUCP path:
- ! mit-eddie!prep.ai.mit.edu!roland
-
-
- File: make.info, Node: Introduction, Next: Makefiles, Prev: Overview, Up: Top
- --- 355,365 ----
-
- Non-bug suggestions are always welcome as well. If you have
- questions about things that are unclear in the documentation or are
- ! just obscure features, send a message to the bug reporting address. We
- ! cannot guarantee you'll get help with your problem, but many seasoned
- ! `make' users read the mailing list and they will probably try to help
- ! you out. The maintainers sometimes answer such questions as well, when
- ! time permits.
-
-
- File: make.info, Node: Introduction, Next: Makefiles, Prev: Overview, Up: Top
- ***************
- *** 1045,1055 ****
- target, `make' will not let you just do this. But there is another way.
-
- In the containing makefile (the one that wants to include the other),
- ! you can use the `.DEFAULT' special target to say that to remake any
- target that cannot be made from the information in the containing
- ! makefile, `make' should look in another makefile. *Note Defining
- ! Last-Resort Default Rules: Last Resort, for more information on
- ! `.DEFAULT'.
-
- For example, if you have a makefile called `Makefile' that says how
- to make the target `foo' (and other targets), you can write a makefile
- --- 1039,1048 ----
- target, `make' will not let you just do this. But there is another way.
-
- In the containing makefile (the one that wants to include the other),
- ! you can use a match-anything pattern rule to say that to remake any
- target that cannot be made from the information in the containing
- ! makefile, `make' should look in another makefile. *Note Pattern
- ! Rules::, for more information on pattern rules.
-
- For example, if you have a makefile called `Makefile' that says how
- to make the target `foo' (and other targets), you can write a makefile
- ***************
- *** 1058,1074 ****
- foo:
- frobnicate > foo
-
- ! .DEFAULT:
- @$(MAKE) -f Makefile $@
-
- If you say `make foo', `make' will find `GNUmakefile', read it, and
- see that to make `foo', it needs to run the command `frobnicate > foo'.
- If you say `make bar', `make' will find no way to make `bar' in
- ! `GNUmakefile', so it will use the commands from `.DEFAULT': `make -f
- ! Makefile bar'. If `Makefile' provides a rule for updating `bar', `make'
- ! will apply the rule. And likewise for any other target that
- `GNUmakefile' does not say how to make.
-
-
- File: make.info, Node: Rules, Next: Commands, Prev: Makefiles, Up: Top
-
- --- 1051,1076 ----
- foo:
- frobnicate > foo
-
- ! %: force
- @$(MAKE) -f Makefile $@
- + force: ;
-
- If you say `make foo', `make' will find `GNUmakefile', read it, and
- see that to make `foo', it needs to run the command `frobnicate > foo'.
- If you say `make bar', `make' will find no way to make `bar' in
- ! `GNUmakefile', so it will use the commands from the pattern rule: `make
- ! -f Makefile bar'. If `Makefile' provides a rule for updating `bar',
- ! `make' will apply the rule. And likewise for any other target that
- `GNUmakefile' does not say how to make.
-
- + The way this works is that the pattern rule has a pattern of just
- + `%', so it matches any target whatever. The rule specifies a
- + dependency `force', to guarantee that the commands will be run even if
- + the target file already exists. We give `force' target empty commands
- + to prevent `make' from searching for an implicit rule to build
- + it--otherwise it would apply the same match-anything rule to `force'
- + itself and create a dependency loop!
- +
-
- File: make.info, Node: Rules, Next: Commands, Prev: Makefiles, Up: Top
-
- ***************
- *** 1117,1146 ****
- several independent rules for one target.
- * Automatic Dependencies:: How to automatically generate rules giving
- dependencies from the source files themselves.
- -
- -
- - File: make.info, Node: Rule Example, Next: Rule Syntax, Up: Rules
- -
- - Rule Example
- - ============
- -
- - Here is an example of a rule:
- -
- - foo.o : foo.c defs.h # module for twiddling the frobs
- - cc -c -g foo.c
- -
- - Its target is `foo.o' and its dependencies are `foo.c' and `defs.h'.
- - It has one command, which is `cc -c -g foo.c'. The command line
- - starts with a tab to identify it as a command.
- -
- - This rule says two things:
- -
- - * How to decide whether `foo.o' is out of date: it is out of date if
- - it does not exist, or if either `foo.c' or `defs.h' is more recent
- - than it.
- -
- - * How to update the file `foo.o': by running `cc' as stated. The
- - command does not explicitly mention `defs.h', but we presume that
- - `foo.c' includes it, and that that is why `defs.h' was added to
- - the dependencies.
-
- --- 1119,1122 ----
- diff -rc --new-file make-3.71/make.info-2 /gnu/src/amiga/make-3.71/make.info-2
- *** make-3.71/make.info-2 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-2 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 26,31 ****
- --- 26,57 ----
- translation approved by the Free Software Foundation.
-
-
- + File: make.info, Node: Rule Example, Next: Rule Syntax, Up: Rules
- +
- + Rule Example
- + ============
- +
- + Here is an example of a rule:
- +
- + foo.o : foo.c defs.h # module for twiddling the frobs
- + cc -c -g foo.c
- +
- + Its target is `foo.o' and its dependencies are `foo.c' and `defs.h'.
- + It has one command, which is `cc -c -g foo.c'. The command line
- + starts with a tab to identify it as a command.
- +
- + This rule says two things:
- +
- + * How to decide whether `foo.o' is out of date: it is out of date if
- + it does not exist, or if either `foo.c' or `defs.h' is more recent
- + than it.
- +
- + * How to update the file `foo.o': by running `cc' as stated. The
- + command does not explicitly mention `defs.h', but we presume that
- + `foo.c' includes it, and that that is why `defs.h' was added to
- + the dependencies.
- +
- +
- File: make.info, Node: Rule Syntax, Next: Wildcards, Prev: Rule Example, Up: Rules
-
- Rule Syntax
- ***************
- *** 177,183 ****
-
- But what if you delete all the `.o' files? When a wildcard matches
- no files, it is left as it is, so then `foo' will depend on the
- ! oddly-named file `*.o'. Since so such file is likely to exist, `make'
- will give you an error saying it cannot figure out how to make `*.o'.
- This is not what you want!
-
- --- 203,209 ----
-
- But what if you delete all the `.o' files? When a wildcard matches
- no files, it is left as it is, so then `foo' will depend on the
- ! oddly-named file `*.o'. Since no such file is likely to exist, `make'
- will give you an error saying it cannot figure out how to make `*.o'.
- This is not what you want!
-
- ***************
- *** 277,285 ****
- current directory. *Note Writing Shell Commands with Directory Search:
- Commands/Search.
-
- ! In the `VPATH' variable, directory names are separated by colons.
- ! The order in which directories are listed is the order followed by
- ! `make' in its search.
-
- For example,
-
- --- 303,311 ----
- current directory. *Note Writing Shell Commands with Directory Search:
- Commands/Search.
-
- ! In the `VPATH' variable, directory names are separated by colons or
- ! blanks. The order in which directories are listed is the order followed
- ! by `make' in its search.
-
- For example,
-
- ***************
- *** 317,325 ****
- Specify the search path DIRECTORIES for file names that match
- PATTERN.
-
- ! The search path, DIRECTORIES, is a colon-separated list of
- ! directories to be searched, just like the search path used in the
- ! `VPATH' variable.
-
- `vpath PATTERN'
- Clear out the search path associated with PATTERN.
- --- 343,351 ----
- Specify the search path DIRECTORIES for file names that match
- PATTERN.
-
- ! The search path, DIRECTORIES, is a list of directories to be
- ! searched, separated by colons or blanks, just like the search path
- ! used in the `VPATH' variable.
-
- `vpath PATTERN'
- Clear out the search path associated with PATTERN.
- ***************
- *** 989,994 ****
- --- 1015,1025 ----
-
- Thus you no longer have to write all those rules yourself. The
- compiler will do it for you.
- +
- + Note that such a dependency constitutes mentioning `main.o' in a
- + makefile, so it can never be considered an intermediate file by implicit
- + rule search. This means that `make' won't ever remove the file after
- + using it; *note Chains of Implicit Rules: Chained Rules..
-
- With old `make' programs, it was traditional practice to use this
- compiler feature to generate dependencies on demand with a command like
- diff -rc --new-file make-3.71/make.info-3 /gnu/src/amiga/make-3.71/make.info-3
- *** make-3.71/make.info-3 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-3 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 387,415 ****
- subsystem:
- cd subdir; $(MAKE) $(MFLAGS)
-
- ! but now `MAKEFLAGS' makes this usage redundant.
- !
- ! The `MAKEFLAGS' and `MFLAGS' variables can also be useful if you
- ! want to have certain options, such as `-k' (*note Summary of Options:
- ! Options Summary.), set each time you run `make'. You simply put a
- ! value for `MAKEFLAGS' or `MFLAGS' in your environment. These variables
- ! may also be set in makefiles, so a makefile can specify additional
- ! flags that should also be in effect for that makefile.
- !
- ! When `make' interprets the value of `MAKEFLAGS' or `MFLAGS' (either
- ! from the environment or from a makefile), it first prepends a hyphen if
- ! the value does not already begin with one. Then it chops the value into
- ! words separated by blanks, and parses these words as if they were
- ! options given on the command line (except that `-C', `-f', `-h', `-o',
- ! `-W', and their long-named versions are ignored; and there is no error
- ! for an invalid option).
- !
- ! If you do put `MAKEFLAGS' or `MFLAGS' in your environment, you
- ! should be sure not to include any options that will drastically affect
- ! the actions of `make' and undermine the purpose of makefiles and of
- ! `make' itself. For instance, the `-t', `-n', and `-q' options, if put
- ! in one of these variables, could have disastrous consequences and would
- ! certainly have at least surprising and probably annoying effects.
-
-
- File: make.info, Node: -w Option, Prev: Options/Recursion, Up: Recursion
- --- 387,419 ----
- subsystem:
- cd subdir; $(MAKE) $(MFLAGS)
-
- ! but now `MAKEFLAGS' makes this usage redundant. If you want your
- ! makefiles to be compatible with old `make' programs, use this
- ! technique; it will work fine with more modern `make' versions too.
- !
- ! The `MAKEFLAGS' variable can also be useful if you want to have
- ! certain options, such as `-k' (*note Summary of Options: Options
- ! Summary.), set each time you run `make'. You simply put a value for
- ! `MAKEFLAGS' in your environment. You can also set `MAKEFLAGS' in a
- ! makefile, to specify additional flags that should also be in effect for
- ! that makefile. (Note that you cannot use `MFLAGS' this way. That
- ! variable is set only for compatibility; `make' does not interpret a
- ! value you set for it in any way.)
- !
- ! When `make' interprets the value of `MAKEFLAGS' (either from the
- ! environment or from a makefile), it first prepends a hyphen if the value
- ! does not already begin with one. Then it chops the value into words
- ! separated by blanks, and parses these words as if they were options
- ! given on the command line (except that `-C', `-f', `-h', `-o', `-W',
- ! and their long-named versions are ignored; and there is no error for an
- ! invalid option).
- !
- ! If you do put `MAKEFLAGS' in your environment, you should be sure not
- ! to include any options that will drastically affect the actions of
- ! `make' and undermine the purpose of makefiles and of `make' itself.
- ! For instance, the `-t', `-n', and `-q' options, if put in one of these
- ! variables, could have disastrous consequences and would certainly have
- ! at least surprising and probably annoying effects.
-
-
- File: make.info, Node: -w Option, Prev: Options/Recursion, Up: Recursion
- ***************
- *** 580,585 ****
- --- 584,593 ----
- should override with command options (*note Overriding Variables:
- Overriding.).
-
- + A few variables have names that are a single punctuation character or
- + just a few characters. These are the "automatic variables", and they
- + have particular specialized uses. *Note Automatic Variables: Automatic.
- +
- * Menu:
-
- * Reference:: How to use the value of a variable.
- ***************
- *** 594,599 ****
- --- 602,609 ----
- * Defining:: An alternate way to set a variable
- to a verbatim string.
- * Environment:: Variable values can come from the environment.
- + * Automatic:: Some special variables have predefined
- + meanings for use with implicit rules.
-
-
- File: make.info, Node: Reference, Next: Flavors, Up: Using Variables
- diff -rc --new-file make-3.71/make.info-4 /gnu/src/amiga/make-3.71/make.info-4
- *** make-3.71/make.info-4 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-4 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 932,937 ****
- --- 932,950 ----
- By giving arguments when you run `make', you can do any of these
- things and many others.
-
- + The exit status of `make' is always one of three values:
- + `0'
- + The exit status is zero if `make' is successful.
- +
- + `2'
- + The exit status is two if `make' encounters any errors. It will
- + print messages describing the particular errors.
- +
- + `1'
- + The exit status is one if you use the `-q' flag and `make'
- + determines that some target is not already up to date. *Note
- + Instead of Executing the Commands: Instead of Execution.
- +
- * Menu:
-
- * Makefile Arguments:: How to specify which makefile to use.
- ***************
- *** 1113,1119 ****
-
- With the `-q' flag, `make' prints nothing and executes no commands,
- but the exit status code it returns is zero if and only if the targets
- ! to be considered are already up to date.
-
- It is an error to use more than one of these three flags in the same
- invocation of `make'.
- --- 1126,1135 ----
-
- With the `-q' flag, `make' prints nothing and executes no commands,
- but the exit status code it returns is zero if and only if the targets
- ! to be considered are already up to date. If the exit status is one,
- ! then some updating needs to be done. If `make' encounters an error,
- ! the exit status is two, so you can distinguish an error from a target
- ! that is not up to date.
-
- It is an error to use more than one of these three flags in the same
- invocation of `make'.
- diff -rc --new-file make-3.71/make.info-5 /gnu/src/amiga/make-3.71/make.info-5
- *** make-3.71/make.info-5 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-5 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 134,141 ****
- `--question'
- "Question mode". Do not run any commands, or print anything; just
- return an exit status that is zero if the specified targets are
- ! already up to date, nonzero otherwise. *Note Instead of Executing
- ! the Commands: Instead of Execution.
-
- `-r'
- `--no-builtin-rules'
- --- 134,142 ----
- `--question'
- "Question mode". Do not run any commands, or print anything; just
- return an exit status that is zero if the specified targets are
- ! already up to date, one if any remaking is required, or two if an
- ! error is encountered. *Note Instead of Executing the Commands:
- ! Instead of Execution.
-
- `-r'
- `--no-builtin-rules'
- ***************
- *** 478,485 ****
-
- Texinfo and Info
- `N.dvi' is made from `N.texinfo', `N.texi', or `N.txinfo', with
- ! the `$(TEXI2DVI)' command. `N.info' is made from `N.texinfo',
- ! `N.texi', or `N.txinfo', with the `$(MAKEINFO)' command.
-
- RCS
- Any file `N' is extracted if necessary from an RCS file named
- --- 479,487 ----
-
- Texinfo and Info
- `N.dvi' is made from `N.texinfo', `N.texi', or `N.txinfo', with
- ! the command `$(TEXI2DVI) $(TEXI2DVI_FLAGS)'. `N.info' is made from
- ! `N.texinfo', `N.texi', or `N.txinfo', with the command
- ! `$(MAKEINFO) $(MAKEINFO_FLAGS)'.
-
- RCS
- Any file `N' is extracted if necessary from an RCS file named
- ***************
- *** 909,915 ****
- `$^'
- The names of all the dependencies, with spaces between them. For
- dependencies which are archive members, only the member named is
- ! used (*note Archives::.).
-
- `$*'
- The stem with which an implicit rule matches (*note How Patterns
- --- 911,921 ----
- `$^'
- The names of all the dependencies, with spaces between them. For
- dependencies which are archive members, only the member named is
- ! used (*note Archives::.). A target has only one dependency on
- ! each other file it depends on, no matter how many times each file
- ! is listed as a dependency. So if you list a dependency more than
- ! once for a target, the value of `$^' contains just one copy of the
- ! name.
-
- `$*'
- The stem with which an implicit rule matches (*note How Patterns
- ***************
- *** 941,959 ****
- ar r lib $?
-
- Of the variables listed above, four have values that are single file
- ! names, and two have values that are lists of file names. These six
- ! have variants that get just the file's directory name or just the file
- ! name within the directory. The variant variables' names are formed by
- appending `D' or `F', respectively. These variants are semi-obsolete
- in GNU `make' since the functions `dir' and `notdir' can be used to get
- ! an equivalent effect (*note Functions for File Names: Filename
- ! Functions.). Here is a table of the variants:
-
- `$(@D)'
- ! The directory part of the file name of the target. If the value of
- ! `$@' is `dir/foo.o' then `$(@D)' is `dir/'. This value is `./' if
- ! `$@' does not contain a slash. `$(@D)' is equivalent to
- ! `$(dir $@)'.
-
- `$(@F)'
- The file-within-directory part of the file name of the target. If
- --- 947,967 ----
- ar r lib $?
-
- Of the variables listed above, four have values that are single file
- ! names, and two have values that are lists of file names. These six have
- ! variants that get just the file's directory name or just the file name
- ! within the directory. The variant variables' names are formed by
- appending `D' or `F', respectively. These variants are semi-obsolete
- in GNU `make' since the functions `dir' and `notdir' can be used to get
- ! a similar effect (*note Functions for File Names: Filename Functions.).
- ! Note, however, that the `F' variants all omit the trailing slash which
- ! always appears in the output of the `dir' function. Here is a table of
- ! the variants:
-
- `$(@D)'
- ! The directory part of the file name of the target, with the
- ! trailing slash removed. If the value of `$@' is `dir/foo.o' then
- ! `$(@D)' is `dir'. This value is `.' if `$@' does not contain a
- ! slash.
-
- `$(@F)'
- The file-within-directory part of the file name of the target. If
- ***************
- *** 963,969 ****
- `$(*D)'
- `$(*F)'
- The directory part and the file-within-directory part of the stem;
- ! `dir/' and `foo' in this example.
-
- `$(%D)'
- `$(%F)'
- --- 971,977 ----
- `$(*D)'
- `$(*F)'
- The directory part and the file-within-directory part of the stem;
- ! `dir' and `foo' in this example.
-
- `$(%D)'
- `$(%F)'
- diff -rc --new-file make-3.71/make.info-6 /gnu/src/amiga/make-3.71/make.info-6
- *** make-3.71/make.info-6 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-6 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 218,225 ****
- ==========================
-
- An individual member of an archive file can be used as a target or
- ! dependency in `make'. The archive file must already exist, but the
- ! member need not exist. You specify the member named MEMBER in archive
- file ARCHIVE as follows:
-
- ARCHIVE(MEMBER)
- --- 218,224 ----
- ==========================
-
- An individual member of an archive file can be used as a target or
- ! dependency in `make'. You specify the member named MEMBER in archive
- file ARCHIVE as follows:
-
- ARCHIVE(MEMBER)
- ***************
- *** 233,242 ****
- in archive `foolib' by copying the file `hack.o':
-
- foolib(hack.o) : hack.o
- ! ar r foolib hack.o
-
- In fact, nearly all archive member targets are updated in just this
- ! way and there is an implicit rule to do it for you.
-
- To specify several members in the same archive, you can write all the
- member names together between the parentheses. For example:
- --- 232,242 ----
- in archive `foolib' by copying the file `hack.o':
-
- foolib(hack.o) : hack.o
- ! ar cr foolib hack.o
-
- In fact, nearly all archive member targets are updated in just this
- ! way and there is an implicit rule to do it for you. *Note:* The `c'
- ! flag to `ar' is required if the archive file does not already exist.
-
- To specify several members in the same archive, you can write all the
- member names together between the parentheses. For example:
- ***************
- *** 295,302 ****
-
- ar r foo.a dir/file.o
-
- ! which has the effect of copying the file `dir/foo.o' into a member
- ! named `foo.o'. In connection with such usage, the automatic variables
- `%D' and `%F' may be useful.
-
- * Menu:
- --- 295,302 ----
-
- ar r foo.a dir/file.o
-
- ! which has the effect of copying the file `dir/file.o' into a member
- ! named `file.o'. In connection with such usage, the automatic variables
- `%D' and `%F' may be useful.
-
- * Menu:
- diff -rc --new-file make-3.71/make.info-7 /gnu/src/amiga/make-3.71/make.info-7
- *** make-3.71/make.info-7 Thu Dec 16 23:32:47 1993
- --- /gnu/src/amiga/make-3.71/make.info-7 Tue May 17 03:58:49 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 266,272 ****
- *Note Variables/Recursion::.
-
- `MAKEFLAGS'
- - `MFLAGS'
- The flags given to `make'. You can set this in the environment or
- a makefile to set flags.
- *Note Communicating Options to a Sub-`make': Options/Recursion.
- --- 266,271 ----
- diff -rc --new-file make-3.71/make.info-8 /gnu/src/amiga/make-3.71/make.info-8
- *** make-3.71/make.info-8 Thu Dec 16 23:32:48 1993
- --- /gnu/src/amiga/make-3.71/make.info-8 Tue May 17 03:58:50 1994
- ***************
- *** 5,14 ****
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 14 December 1993, of `The GNU
- ! Make Manual', for `make', Version 3.70 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- --- 5,14 ----
- automatically which pieces of a large program need to be recompiled,
- and issues the commands to recompile them.
-
- ! This is Edition 0.45, last updated 11 May 1994, of `The GNU Make
- ! Manual', for `make', Version 3.71 Beta.
-
- ! Copyright (C) 1988, '89, '90, '91, '92, '93, '94 Free Software
- Foundation, Inc.
-
- Permission is granted to make and distribute verbatim copies of this
- ***************
- *** 66,73 ****
- * .y: Catalogue of Rules.
- * :=: Setting.
- * :=: Flavors.
- - * =: Flavors.
- * =: Setting.
- * @, and define: Sequences.
- * #include: Automatic Dependencies.
- * # (comments), in commands: Commands.
- --- 66,73 ----
- * .y: Catalogue of Rules.
- * :=: Setting.
- * :=: Flavors.
- * =: Setting.
- + * =: Flavors.
- * @, and define: Sequences.
- * #include: Automatic Dependencies.
- * # (comments), in commands: Commands.
- ***************
- *** 80,103 ****
- * %, quoting in patsubst: Text Functions.
- * %, quoting in vpath: Selective Search.
- * %, quoting in static pattern: Static Usage.
- - * %, quoting with \ (backslash): Text Functions.
- * %, quoting with \ (backslash): Static Usage.
- * %, quoting with \ (backslash): Selective Search.
- * * (wildcard character): Wildcards.
- * -assume-new: Instead of Execution.
- * -assume-new: Options Summary.
- * -assume-new, and recursion: Options/Recursion.
- - * -assume-old: Avoiding Compilation.
- * -assume-old: Options Summary.
- * -assume-old, and recursion: Options/Recursion.
- * -debug: Options Summary.
- - * -directory: Recursion.
- * -directory: Options Summary.
- * -directory, and -print-directory: -w Option.
- * -directory, and recursion: Options/Recursion.
- - * -dry-run: Echoing.
- - * -dry-run: Options Summary.
- * -dry-run: Instead of Execution.
- * -environment-overrides: Options Summary.
- * -file: Options Summary.
- * -file: Makefile Names.
- --- 80,103 ----
- * %, quoting in patsubst: Text Functions.
- * %, quoting in vpath: Selective Search.
- * %, quoting in static pattern: Static Usage.
- * %, quoting with \ (backslash): Static Usage.
- * %, quoting with \ (backslash): Selective Search.
- + * %, quoting with \ (backslash): Text Functions.
- * * (wildcard character): Wildcards.
- * -assume-new: Instead of Execution.
- * -assume-new: Options Summary.
- * -assume-new, and recursion: Options/Recursion.
- * -assume-old: Options Summary.
- + * -assume-old: Avoiding Compilation.
- * -assume-old, and recursion: Options/Recursion.
- * -debug: Options Summary.
- * -directory: Options Summary.
- + * -directory: Recursion.
- * -directory, and -print-directory: -w Option.
- * -directory, and recursion: Options/Recursion.
- * -dry-run: Instead of Execution.
- + * -dry-run: Options Summary.
- + * -dry-run: Echoing.
- * -environment-overrides: Options Summary.
- * -file: Options Summary.
- * -file: Makefile Names.
- ***************
- *** 106,137 ****
- * -help: Options Summary.
- * -ignore-errors: Options Summary.
- * -ignore-errors: Errors.
- - * -include-dir: Include.
- * -include-dir: Options Summary.
- * -include-dir, and recursion: Options/Recursion.
- * -jobs: Options Summary.
- * -jobs: Parallel.
- * -jobs, and recursion: Options/Recursion.
- * -just-print: Instead of Execution.
- * -just-print: Echoing.
- - * -just-print: Options Summary.
- - * -keep-going: Options Summary.
- - * -keep-going: Testing.
- * -keep-going: Errors.
- ! * -load-average: Options Summary.
- * -load-average: Parallel.
- ! * -makefile: Options Summary.
- ! * -makefile: Makefile Names.
- * -makefile: Makefile Arguments.
- ! * -max-load: Parallel.
- * -max-load: Options Summary.
- * -new-file: Options Summary.
- * -new-file: Instead of Execution.
- * -new-file, and recursion: Options/Recursion.
- * -no-builtin-rules: Options Summary.
- * -no-keep-going: Options Summary.
- - * -no-print-directory: -w Option.
- * -no-print-directory: Options Summary.
- * -old-file: Avoiding Compilation.
- * -old-file: Options Summary.
- * -old-file, and recursion: Options/Recursion.
- --- 106,137 ----
- * -help: Options Summary.
- * -ignore-errors: Options Summary.
- * -ignore-errors: Errors.
- * -include-dir: Options Summary.
- + * -include-dir: Include.
- * -include-dir, and recursion: Options/Recursion.
- * -jobs: Options Summary.
- * -jobs: Parallel.
- * -jobs, and recursion: Options/Recursion.
- + * -just-print: Options Summary.
- * -just-print: Instead of Execution.
- * -just-print: Echoing.
- * -keep-going: Errors.
- ! * -keep-going: Testing.
- ! * -keep-going: Options Summary.
- * -load-average: Parallel.
- ! * -load-average: Options Summary.
- * -makefile: Makefile Arguments.
- ! * -makefile: Makefile Names.
- ! * -makefile: Options Summary.
- * -max-load: Options Summary.
- + * -max-load: Parallel.
- * -new-file: Options Summary.
- * -new-file: Instead of Execution.
- * -new-file, and recursion: Options/Recursion.
- * -no-builtin-rules: Options Summary.
- * -no-keep-going: Options Summary.
- * -no-print-directory: Options Summary.
- + * -no-print-directory: -w Option.
- * -old-file: Avoiding Compilation.
- * -old-file: Options Summary.
- * -old-file, and recursion: Options/Recursion.
- ***************
- *** 140,162 ****
- * -print-directory, and -directory: -w Option.
- * -print-directory, and recursion: -w Option.
- * -print-directory, disabling: -w Option.
- - * -question: Instead of Execution.
- * -question: Options Summary.
- * -quiet: Echoing.
- * -quiet: Options Summary.
- * -recon: Instead of Execution.
- * -recon: Echoing.
- * -recon: Options Summary.
- - * -silent: Options Summary.
- * -silent: Echoing.
- * -stop: Options Summary.
- - * -touch: Options Summary.
- * -touch: Instead of Execution.
- * -touch, and recursion: MAKE Variable.
- * -version: Options Summary.
- * -warn-undefined-variables: Options Summary.
- - * -what-if: Options Summary.
- * -what-if: Instead of Execution.
- * -b: Options Summary.
- * -C: Options Summary.
- * -C: Recursion.
- --- 140,162 ----
- * -print-directory, and -directory: -w Option.
- * -print-directory, and recursion: -w Option.
- * -print-directory, disabling: -w Option.
- * -question: Options Summary.
- + * -question: Instead of Execution.
- * -quiet: Echoing.
- * -quiet: Options Summary.
- * -recon: Instead of Execution.
- * -recon: Echoing.
- * -recon: Options Summary.
- * -silent: Echoing.
- + * -silent: Options Summary.
- * -stop: Options Summary.
- * -touch: Instead of Execution.
- + * -touch: Options Summary.
- * -touch, and recursion: MAKE Variable.
- * -version: Options Summary.
- * -warn-undefined-variables: Options Summary.
- * -what-if: Instead of Execution.
- + * -what-if: Options Summary.
- * -b: Options Summary.
- * -C: Options Summary.
- * -C: Recursion.
- ***************
- *** 165,196 ****
- * -d: Options Summary.
- * -e: Options Summary.
- * -e (shell flag): Automatic Dependencies.
- - * -f: Makefile Arguments.
- * -f: Makefile Names.
- * -f: Options Summary.
- * -f, and recursion: Options/Recursion.
- * -h: Options Summary.
- * -i: Options Summary.
- * -I: Options Summary.
- * -I: Include.
- - * -i: Errors.
- * -I, and recursion: Options/Recursion.
- - * -j: Options Summary.
- * -j: Parallel.
- * -j, and recursion: Options/Recursion.
- * -k: Testing.
- * -k: Options Summary.
- - * -k: Errors.
- * -l: Options Summary.
- * -l (library search): Libraries/Search.
- * -l (load average): Parallel.
- * -m: Options Summary.
- * -M (to compiler): Automatic Dependencies.
- - * -n: Echoing.
- * -n: Options Summary.
- * -n: Instead of Execution.
- ! * -o: Options Summary.
- * -o: Avoiding Compilation.
- * -o, and recursion: Options/Recursion.
- * -p: Options Summary.
- * -q: Instead of Execution.
- --- 165,196 ----
- * -d: Options Summary.
- * -e: Options Summary.
- * -e (shell flag): Automatic Dependencies.
- * -f: Makefile Names.
- * -f: Options Summary.
- + * -f: Makefile Arguments.
- * -f, and recursion: Options/Recursion.
- * -h: Options Summary.
- * -i: Options Summary.
- + * -i: Errors.
- * -I: Options Summary.
- * -I: Include.
- * -I, and recursion: Options/Recursion.
- * -j: Parallel.
- + * -j: Options Summary.
- * -j, and recursion: Options/Recursion.
- + * -k: Errors.
- * -k: Testing.
- * -k: Options Summary.
- * -l: Options Summary.
- * -l (library search): Libraries/Search.
- * -l (load average): Parallel.
- * -m: Options Summary.
- * -M (to compiler): Automatic Dependencies.
- * -n: Options Summary.
- * -n: Instead of Execution.
- ! * -n: Echoing.
- * -o: Avoiding Compilation.
- + * -o: Options Summary.
- * -o, and recursion: Options/Recursion.
- * -p: Options Summary.
- * -q: Instead of Execution.
- ***************
- *** 203,218 ****
- * -t: Options Summary.
- * -t, and recursion: MAKE Variable.
- * -v: Options Summary.
- - * -W: Instead of Execution.
- - * -W: Options Summary.
- * -w: Options Summary.
- * -w, and -C: -w Option.
- - * -w, and recursion: -w Option.
- * -W, and recursion: Options/Recursion.
- * -w, disabling: -w Option.
- * - (in commands): Errors.
- * .a (archives): Archive Suffix Rules.
- - * .DEFAULT, used to override: Overriding Makefiles.
- * .d: Automatic Dependencies.
- * .PRECIOUS intermediate files: Chained Rules.
- * :: rules (double-colon): Double-Colon.
- --- 203,217 ----
- * -t: Options Summary.
- * -t, and recursion: MAKE Variable.
- * -v: Options Summary.
- * -w: Options Summary.
- + * -W: Options Summary.
- + * -W: Instead of Execution.
- * -w, and -C: -w Option.
- * -W, and recursion: Options/Recursion.
- + * -w, and recursion: -w Option.
- * -w, disabling: -w Option.
- * - (in commands): Errors.
- * .a (archives): Archive Suffix Rules.
- * .d: Automatic Dependencies.
- * .PRECIOUS intermediate files: Chained Rules.
- * :: rules (double-colon): Double-Colon.
- ***************
- *** 223,255 ****
- * cd (shell command): MAKE Variable.
- * check (standard target): Goals.
- * clean (standard target): Goals.
- - * clean target: Simple Makefile.
- * clean target: Cleanup.
- * clobber (standard target): Goals.
- * distclean (standard target): Goals.
- * dist (standard target): Goals.
- * FORCE: Force Targets.
- * install (standard target): Goals.
- * lint, rule to run: Catalogue of Rules.
- - * lpr (shell command): Empty Targets.
- * lpr (shell command): Wildcard Examples.
- * make depend: Automatic Dependencies.
- * mostlyclean (standard target): Goals.
- - * objects: Variables Simplify.
- * OBJECTS: Variables Simplify.
- ! * objs: Variables Simplify.
- * OBJS: Variables Simplify.
- * OBJ: Variables Simplify.
- * obj: Variables Simplify.
- * print (standard target): Goals.
- - * print target: Empty Targets.
- * print target: Wildcard Examples.
- * README: Makefile Names.
- * realclean (standard target): Goals.
- * rm (shell command): Wildcard Examples.
- - * rm (shell command): Simple Makefile.
- * rm (shell command): Errors.
- ! * rm (shell command): Phony Targets.
- * sed (shell command): Automatic Dependencies.
- * shar (standard target): Goals.
- * TAGS (standard target): Goals.
- --- 222,254 ----
- * cd (shell command): MAKE Variable.
- * check (standard target): Goals.
- * clean (standard target): Goals.
- * clean target: Cleanup.
- + * clean target: Simple Makefile.
- * clobber (standard target): Goals.
- * distclean (standard target): Goals.
- * dist (standard target): Goals.
- * FORCE: Force Targets.
- * install (standard target): Goals.
- * lint, rule to run: Catalogue of Rules.
- * lpr (shell command): Wildcard Examples.
- + * lpr (shell command): Empty Targets.
- * make depend: Automatic Dependencies.
- * mostlyclean (standard target): Goals.
- * OBJECTS: Variables Simplify.
- ! * objects: Variables Simplify.
- * OBJS: Variables Simplify.
- + * objs: Variables Simplify.
- * OBJ: Variables Simplify.
- * obj: Variables Simplify.
- * print (standard target): Goals.
- * print target: Wildcard Examples.
- + * print target: Empty Targets.
- * README: Makefile Names.
- * realclean (standard target): Goals.
- + * rm (shell command): Phony Targets.
- * rm (shell command): Wildcard Examples.
- * rm (shell command): Errors.
- ! * rm (shell command): Simple Makefile.
- * sed (shell command): Automatic Dependencies.
- * shar (standard target): Goals.
- * TAGS (standard target): Goals.
- ***************
- *** 263,271 ****
- * [...] (wildcard characters): Wildcards.
- * \ (backslash), for continuation lines: Simple Makefile.
- * \ (backslash), in commands: Execution.
- - * \ (backslash), to quote %: Selective Search.
- * \ (backslash), to quote %: Static Usage.
- * \ (backslash), to quote %: Text Functions.
- * __.SYMDEF: Archive Symbols.
- * ~ (tilde): Wildcards.
- * TeX, rule to run: Catalogue of Rules.
- --- 262,270 ----
- * [...] (wildcard characters): Wildcards.
- * \ (backslash), for continuation lines: Simple Makefile.
- * \ (backslash), in commands: Execution.
- * \ (backslash), to quote %: Static Usage.
- * \ (backslash), to quote %: Text Functions.
- + * \ (backslash), to quote %: Selective Search.
- * __.SYMDEF: Archive Symbols.
- * ~ (tilde): Wildcards.
- * TeX, rule to run: Catalogue of Rules.
- ***************
- *** 276,301 ****
- * archive symbol directory updating: Archive Symbols.
- * archive, suffix rule for: Archive Suffix Rules.
- * arguments of functions: Syntax of Functions.
- - * as: Implicit Variables.
- * as: Catalogue of Rules.
- * assembly, rule to compile: Catalogue of Rules.
- - * automatic generation of dependencies: Include.
- * automatic generation of dependencies: Automatic Dependencies.
- * automatic variables: Automatic.
- * backquotes: Shell Function.
- * backslash (\), for continuation lines: Simple Makefile.
- * backslash (\), in commands: Execution.
- * backslash (\), to quote %: Selective Search.
- * backslash (\), to quote %: Text Functions.
- - * backslash (\), to quote %: Static Usage.
- * basename: Filename Functions.
- * broken pipe: Parallel.
- * bugs, reporting: Bugs.
- * built-in special targets: Special Targets.
- * C++, rule to compile: Catalogue of Rules.
- * C, rule to compile: Catalogue of Rules.
- - * cc: Catalogue of Rules.
- * cc: Implicit Variables.
- * chains of rules: Chained Rules.
- * cleaning up: Cleanup.
- * co: Implicit Variables.
- --- 275,300 ----
- * archive symbol directory updating: Archive Symbols.
- * archive, suffix rule for: Archive Suffix Rules.
- * arguments of functions: Syntax of Functions.
- * as: Catalogue of Rules.
- + * as: Implicit Variables.
- * assembly, rule to compile: Catalogue of Rules.
- * automatic generation of dependencies: Automatic Dependencies.
- + * automatic generation of dependencies: Include.
- * automatic variables: Automatic.
- * backquotes: Shell Function.
- * backslash (\), for continuation lines: Simple Makefile.
- * backslash (\), in commands: Execution.
- + * backslash (\), to quote %: Static Usage.
- * backslash (\), to quote %: Selective Search.
- * backslash (\), to quote %: Text Functions.
- * basename: Filename Functions.
- * broken pipe: Parallel.
- * bugs, reporting: Bugs.
- * built-in special targets: Special Targets.
- * C++, rule to compile: Catalogue of Rules.
- * C, rule to compile: Catalogue of Rules.
- * cc: Implicit Variables.
- + * cc: Catalogue of Rules.
- * chains of rules: Chained Rules.
- * cleaning up: Cleanup.
- * co: Implicit Variables.
- ***************
- *** 327,334 ****
- * conventions for makefiles: Makefile Conventions.
- * ctangle: Implicit Variables.
- * ctangle: Catalogue of Rules.
- - * cweave: Catalogue of Rules.
- * cweave: Implicit Variables.
- * deducing commands (implicit rules): make Deduces.
- * default goal: How Make Works.
- * default goal: Rules.
- --- 326,333 ----
- * conventions for makefiles: Makefile Conventions.
- * ctangle: Implicit Variables.
- * ctangle: Catalogue of Rules.
- * cweave: Implicit Variables.
- + * cweave: Catalogue of Rules.
- * deducing commands (implicit rules): make Deduces.
- * default goal: How Make Works.
- * default goal: Rules.
- ***************
- *** 337,344 ****
- * defining variables verbatim: Defining.
- * deletion of target files: Interrupts.
- * dependencies: Rule Syntax.
- - * dependencies, automatic generation: Include.
- * dependencies, automatic generation: Automatic Dependencies.
- * dependencies, introduction to: Rule Introduction.
- * dependencies, list of all: Automatic.
- * dependencies, list of changed: Automatic.
- --- 336,343 ----
- * defining variables verbatim: Defining.
- * deletion of target files: Interrupts.
- * dependencies: Rule Syntax.
- * dependencies, automatic generation: Automatic Dependencies.
- + * dependencies, automatic generation: Include.
- * dependencies, introduction to: Rule Introduction.
- * dependencies, list of all: Automatic.
- * dependencies, list of changed: Automatic.
- ***************
- *** 376,383 ****
- * exit status (errors): Errors.
- * explicit rule, definition of: Makefile Contents.
- * exporting variables: Variables/Recursion.
- - * f77: Catalogue of Rules.
- * f77: Implicit Variables.
- * features of GNU make: Features.
- * features, missing: Missing.
- * file name functions: Filename Functions.
- --- 375,382 ----
- * exit status (errors): Errors.
- * explicit rule, definition of: Makefile Contents.
- * exporting variables: Variables/Recursion.
- * f77: Implicit Variables.
- + * f77: Catalogue of Rules.
- * features of GNU make: Features.
- * features, missing: Missing.
- * file name functions: Filename Functions.
- ***************
- *** 406,422 ****
- * functions, for file names: Filename Functions.
- * functions, for text: Text Functions.
- * functions, syntax of: Syntax of Functions.
- - * g++: Implicit Variables.
- * g++: Catalogue of Rules.
- * gcc: Catalogue of Rules.
- - * generating dependencies automatically: Include.
- * generating dependencies automatically: Automatic Dependencies.
- * get: Implicit Variables.
- * get: Catalogue of Rules.
- * globbing (wildcards): Wildcards.
- * goal: How Make Works.
- - * goal, default: Rules.
- * goal, default: How Make Works.
- * goal, how to specify: Goals.
- * home directory: Wildcards.
- * IEEE Standard 1003.2: Overview.
- --- 405,421 ----
- * functions, for file names: Filename Functions.
- * functions, for text: Text Functions.
- * functions, syntax of: Syntax of Functions.
- * g++: Catalogue of Rules.
- + * g++: Implicit Variables.
- * gcc: Catalogue of Rules.
- * generating dependencies automatically: Automatic Dependencies.
- + * generating dependencies automatically: Include.
- * get: Implicit Variables.
- * get: Catalogue of Rules.
- * globbing (wildcards): Wildcards.
- * goal: How Make Works.
- * goal, default: How Make Works.
- + * goal, default: Rules.
- * goal, how to specify: Goals.
- * home directory: Wildcards.
- * IEEE Standard 1003.2: Overview.
- ***************
- *** 442,449 ****
- * killing (interruption): Interrupts.
- * last-resort default rules: Last Resort.
- * ld: Catalogue of Rules.
- - * lex: Catalogue of Rules.
- * lex: Implicit Variables.
- * Lex, rule to run: Catalogue of Rules.
- * libraries for linking, directory search: Libraries/Search.
- * library archive, suffix rule for: Archive Suffix Rules.
- --- 441,448 ----
- * killing (interruption): Interrupts.
- * last-resort default rules: Last Resort.
- * ld: Catalogue of Rules.
- * lex: Implicit Variables.
- + * lex: Catalogue of Rules.
- * Lex, rule to run: Catalogue of Rules.
- * libraries for linking, directory search: Libraries/Search.
- * library archive, suffix rule for: Archive Suffix Rules.
- ***************
- *** 469,477 ****
- * makefile, overriding: Overriding Makefiles.
- * makefile, remaking of: Remaking Makefiles.
- * makefile, simple: Simple Makefile.
- - * makeinfo: Catalogue of Rules.
- * makeinfo: Implicit Variables.
- * match-anything rule: Match-Anything Rules.
- * missing features: Missing.
- * mistakes with wildcards: Wildcard Pitfall.
- * modified variable reference: Substitution Refs.
- --- 468,477 ----
- * makefile, overriding: Overriding Makefiles.
- * makefile, remaking of: Remaking Makefiles.
- * makefile, simple: Simple Makefile.
- * makeinfo: Implicit Variables.
- + * makeinfo: Catalogue of Rules.
- * match-anything rule: Match-Anything Rules.
- + * match-anything rule, used to override: Overriding Makefiles.
- * missing features: Missing.
- * mistakes with wildcards: Wildcard Pitfall.
- * modified variable reference: Substitution Refs.
- ***************
- *** 512,519 ****
- * precious targets: Special Targets.
- * prefix, adding: Filename Functions.
- * preserving intermediate files: Chained Rules.
- - * preserving with .PRECIOUS: Special Targets.
- * preserving with .PRECIOUS: Chained Rules.
- * printing directories: -w Option.
- * printing of commands: Echoing.
- * problems and bugs, reporting: Bugs.
- --- 512,519 ----
- * precious targets: Special Targets.
- * prefix, adding: Filename Functions.
- * preserving intermediate files: Chained Rules.
- * preserving with .PRECIOUS: Chained Rules.
- + * preserving with .PRECIOUS: Special Targets.
- * printing directories: -w Option.
- * printing of commands: Echoing.
- * problems and bugs, reporting: Bugs.
- ***************
- *** 546,553 ****
- * recursion, and printing directories: -w Option.
- * recursion, and variables: Variables/Recursion.
- * recursion, level of: Variables/Recursion.
- - * recursive variable expansion: Using Variables.
- * recursive variable expansion: Flavors.
- * recursively expanded variables: Flavors.
- * reference to variables: Reference.
- * reference to variables: Advanced.
- --- 546,553 ----
- * recursion, and printing directories: -w Option.
- * recursion, and variables: Variables/Recursion.
- * recursion, level of: Variables/Recursion.
- * recursive variable expansion: Flavors.
- + * recursive variable expansion: Using Variables.
- * recursively expanded variables: Flavors.
- * reference to variables: Reference.
- * reference to variables: Advanced.
- diff -rc --new-file make-3.71/read.c /gnu/src/amiga/make-3.71/read.c
- *** make-3.71/read.c Mon May 2 22:35:24 1994
- --- /gnu/src/amiga/make-3.71/read.c Tue Jan 17 22:24:03 1995
- ***************
- *** 81,90 ****
- --- 81,99 ----
-
- static char *default_include_directories[] =
- {
- + #ifndef amigados
- INCLUDEDIR,
- "/usr/gnu/include",
- "/usr/local/include",
- "/usr/include",
- + #else
- + "/gnu/include",
- + "/gnu/g++-include",
- + "/gnu/os-include",
- + "/local/include",
- + "/local/g++-include",
- + "/local/os-include",
- + #endif
- 0
- };
-
- ***************
- *** 698,703 ****
- --- 707,717 ----
- no_targets = 0;
-
- /* Is this a static pattern rule: `target: %targ: %dep; ...'? */
- + /* Note that this syntax makes it hard to use AmigaDOS style
- + file references (drive:path1/path2/file). For now, these
- + are probably more useful on the Amiga than are static patterns,
- + so disable static pattern processing. -fnf */
- + #ifndef __amigados__
- p = index (p2, ':');
- while (p != 0 && p[-1] == '\\')
- {
- ***************
- *** 727,732 ****
- --- 741,747 ----
- }
- else
- pattern = 0;
- + #endif
-
- /* Parse the dependencies. */
- deps = (struct dep *)
- diff -rc --new-file make-3.71/remake.c /gnu/src/amiga/make-3.71/remake.c
- *** make-3.71/remake.c Fri Apr 22 21:53:53 1994
- --- /gnu/src/amiga/make-3.71/remake.c Wed Jun 22 21:10:58 1994
- ***************
- *** 989,996 ****
- --- 989,1003 ----
- {
- static char *dirs[] =
- {
- + #ifndef amigados
- "/lib",
- "/usr/lib",
- + #else
- + "/gnu/lib",
- + "/gnu/lib/libb",
- + "/local/lib",
- + "/local/lib/libb",
- + #endif
- LIBDIR, /* Defined by configuration. */
- 0
- };
- ***************
- *** 999,1005 ****
- --- 1006,1016 ----
- time_t mtime;
-
- /* Buffer to construct possible names in. */
- + #ifndef amigados
- char *buf = xmalloc (sizeof (LIBDIR) + 8 + strlen (libname) + 4 + 2 + 1);
- + #else
- + char *buf = xmalloc (8 + strlen (libname) + 9 + 2 + 1);
- + #endif
- char *file, **dp;
-
- /* Look first for `libNAME.a' in the current directory. */
- diff -rc --new-file make-3.71/remote-cstms.c /gnu/src/amiga/make-3.71/remote-cstms.c
- *** make-3.71/remote-cstms.c Wed Mar 23 14:14:17 1994
- --- /gnu/src/amiga/make-3.71/remote-cstms.c Wed Jun 22 21:11:00 1994
- ***************
- *** 34,40 ****
-
- /* File name of the Customs `export' client command.
- A full path name can be used to avoid some path-searching overhead. */
- ! #define EXPORT_COMMAND "/usr/local/bin/export"
-
- /* ExportPermit gotten by start_remote_job_p, and used by start_remote_job. */
- static ExportPermit permit;
- --- 34,40 ----
-
- /* File name of the Customs `export' client command.
- A full path name can be used to avoid some path-searching overhead. */
- ! #define EXPORT_COMMAND "/gnu/bin/export"
-
- /* ExportPermit gotten by start_remote_job_p, and used by start_remote_job. */
- static ExportPermit permit;
- diff -rc --new-file make-3.71/vpath.c /gnu/src/amiga/make-3.71/vpath.c
- *** make-3.71/vpath.c Wed Mar 23 14:14:56 1994
- --- /gnu/src/amiga/make-3.71/vpath.c Wed Jan 18 07:48:36 1995
- ***************
- *** 20,25 ****
- --- 20,39 ----
- #include "file.h"
- #include "variable.h"
-
- + #ifdef __amigados__
- + /* Under AmigaDOS, the ':' character is a very useful part of standard
- + pathnames, so it's use here as a separator clashes with that standard
- + pathname use. I suppose you could also get similar problems on UNIX
- + if you had a name with a ':' character in it. One possible way to
- + avoid that would be to allow for quoting with a backslash, that is
- + removed during parsing of the path. For now, it's use in pathnames
- + on the Amiga is more useful than being able to have more than one
- + VPATH path, so just change the separator to something less likely
- + to collide. -fnf */
- + #define VPATH_SEPARATOR ';'
- + #else
- + #define VPATH_SEPARATOR ':'
- + #endif
-
- /* Structure used to represent a selective VPATH searchpath. */
-
- ***************
- *** 177,183 ****
- maxelem = 2;
- p = dirpath;
- while (*p != '\0')
- ! if (*p++ == ':' || isblank (*p))
- ++maxelem;
-
- vpath = (char **) xmalloc (maxelem * sizeof (char *));
- --- 191,197 ----
- maxelem = 2;
- p = dirpath;
- while (*p != '\0')
- ! if (*p++ == VPATH_SEPARATOR || isblank (*p))
- ++maxelem;
-
- vpath = (char **) xmalloc (maxelem * sizeof (char *));
- ***************
- *** 185,191 ****
-
- /* Skip over any initial colons and blanks. */
- p = dirpath;
- ! while (*p == ':' || isblank (*p))
- ++p;
-
- elem = 0;
- --- 199,205 ----
-
- /* Skip over any initial colons and blanks. */
- p = dirpath;
- ! while (*p == VPATH_SEPARATOR || isblank (*p))
- ++p;
-
- elem = 0;
- ***************
- *** 196,202 ****
-
- /* Find the end of this entry. */
- v = p;
- ! while (*p != '\0' && *p != ':' && !isblank (*p))
- ++p;
-
- len = p - v;
- --- 210,216 ----
-
- /* Find the end of this entry. */
- v = p;
- ! while (*p != '\0' && *p != VPATH_SEPARATOR && !isblank (*p))
- ++p;
-
- len = p - v;
- ***************
- *** 225,231 ****
- }
-
- /* Skip over colons and blanks between entries. */
- ! while (*p == ':' || isblank (*p))
- ++p;
- }
-
- --- 239,245 ----
- }
-
- /* Skip over colons and blanks between entries. */
- ! while (*p == VPATH_SEPARATOR || isblank (*p))
- ++p;
- }
-
- ***************
- *** 461,467 ****
-
- for (i = 0; v->searchpath[i] != 0; ++i)
- printf ("%s%c", v->searchpath[i],
- ! v->searchpath[i + 1] == 0 ? '\n' : ':');
- }
-
- if (vpaths == 0)
- --- 475,481 ----
-
- for (i = 0; v->searchpath[i] != 0; ++i)
- printf ("%s%c", v->searchpath[i],
- ! v->searchpath[i + 1] == 0 ? '\n' : VPATH_SEPARATOR);
- }
-
- if (vpaths == 0)
- ***************
- *** 479,484 ****
- fputs ("\n# General (`VPATH' variable) search path:\n# ", stdout);
-
- for (i = 0; path[i] != 0; ++i)
- ! printf ("%s%c", path[i], path[i + 1] == 0 ? '\n' : ':');
- }
- }
- --- 493,498 ----
- fputs ("\n# General (`VPATH' variable) search path:\n# ", stdout);
-
- for (i = 0; path[i] != 0; ++i)
- ! printf ("%s%c", path[i], path[i + 1] == 0 ? '\n' : VPATH_SEPARATOR);
- }
- }
-