home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
bbs
/
gnu
/
rcs-5.6.0.1-diffs.lha
/
GNU
/
src
/
diffs
/
rcs-5.6.0.1.diffs
Wrap
Text File
|
1994-09-07
|
78KB
|
2,783 lines
diff -rc --new-file rcs-5.6.0.1/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/Makefile.in
*** rcs-5.6.0.1/Makefile.in Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/Makefile.in Sun Jul 10 10:31:46 1994
***************
*** 0 ****
--- 1,19 ----
+ SUBDIR= src man
+
+ all: ${SUBDIR}
+
+ ${SUBDIR}: FRC
+ @cd $@; make ${MFLAGS}
+
+ install:
+ @for i in ${SUBDIR}; do \
+ (cd $$i; make ${MFLAGS} install); \
+ done
+
+ clean:
+ @for i in ${SUBDIR}; do \
+ (cd $$i; make ${MFLAGS} clean); \
+ done
+
+ FRC:
+
diff -rc --new-file rcs-5.6.0.1/Product-Info /gnu/src/amiga/rcs-5.6.0.1/Product-Info
*** rcs-5.6.0.1/Product-Info Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/Product-Info Tue Jul 12 17:43:07 1994
***************
*** 0 ****
--- 1,22 ----
+ .name
+ rcs
+ .fullname
+ Revision Control System
+ .type
+ Programmer Tool
+ .short
+ Revision Control System
+ .description
+ RCS, the Revision Control System, manages multiple revisions of files.
+ RCS can store, retrieve, log, identify, and merge revisions. It is
+ useful for files that are revised frequently, e.g. programs,
+ documentation, graphics, and papers.
+ .version
+ 5.6.0.1
+ .author
+ Walter F. Tichy
+ et. al.
+ .distribution
+ GNU Public License
+ .described-by
+ Fred Fish (fnf@amigalib.com)
diff -rc --new-file rcs-5.6.0.1/configure /gnu/src/amiga/rcs-5.6.0.1/configure
*** rcs-5.6.0.1/configure Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/configure Mon May 2 19:48:17 1994
***************
*** 0 ****
--- 1,623 ----
+ #!/bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated automatically using autoconf version 1.9
+ # 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
+ do
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval "$ac_prev=\$ac_option"
+ ac_prev=
+ continue
+ fi
+
+ # Accept (but ignore some of) the important Cygnus configure
+ # options, so we can diagnose typos.
+
+ case "$ac_option" in
+ -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) ac_optarg= ;;
+ esac
+
+ case "$ac_option" in
+
+ -build | --build | --buil | --bui | --bu | --b)
+ ac_prev=build ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
+ build="$ac_optarg" ;;
+
+ -disable-* | --disable-*)
+ ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
+ # Reject names that aren't valid shell variable names.
+ if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ /bin/echo "configure: $ac_feature: invalid feature name" >&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 aren't valid shell variable names.
+ if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ /bin/echo "configure: $ac_feature: invalid feature name" >&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'" ;;
+
+ # 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)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ 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 ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ 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 ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix="$ac_optarg" ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix="$ac_optarg" ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix="$ac_optarg" ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name="$ac_optarg" ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir="$ac_optarg" ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target="$ac_optarg" ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers)
+ /bin/echo "configure generated by autoconf version 1.9"
+ exit 0 ;;
+
+ -with-* | --with-*)
+ ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
+ # Reject names that aren't valid shell variable names.
+ if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
+ fi
+ ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
+ case "$ac_option" in
+ *=*) ;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "with_${ac_package}='$ac_optarg'" ;;
+
+ -without-* | --without-*)
+ ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
+ # Reject names that aren't valid shell variable names.
+ if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
+ fi
+ ac_package=`/bin/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)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes="$ac_optarg" ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries="$ac_optarg" ;;
+
+ -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
+ ;;
+
+ *)
+ if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+ /bin/echo "configure: warning: $ac_option: invalid host type" >&2
+ fi
+ if test "x$nonopt" != xNONE; then
+ /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
+ fi
+ nonopt="$ac_option"
+ ;;
+
+ esac
+ done
+
+ if test -n "$ac_prev"; then
+ /bin/echo "configure: missing argument to --`/bin/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.
+ /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.
+ ac_unique_file=rcs.ms
+
+ # 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=`/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
+ fi
+ if test ! -r $srcdir/$ac_unique_file; then
+ if test x$ac_srcdir_defaulted = xyes; then
+ /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
+ else
+ /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
+ fi
+ fi
+ ac_ext=c
+ ac_cpp='${CPP} $CFLAGS'
+ 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= auto_cflags=1
+ test -z "$LDFLAGS" && LDFLAGS=
+
+ 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" || /bin/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" && /bin/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*
+
+
+ # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
+ test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
+
+
+ test -n "$silent" || /bin/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" && /bin/echo " setting CPP to $CPP"
+
+ if test -n "$GCC"; then
+ test -n "$silent" || /bin/echo "checking whether -traditional is needed"
+ ac_pattern="Autoconf.*'x'"
+ ac_prog='#include <sgtty.h>
+ Autoconf TIOCGETP'
+ cat > conftest.${ac_ext} <<EOF
+ #include "confdefs.h"
+ $ac_prog
+ EOF
+ eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
+ if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_need_trad=1
+
+ fi
+ rm -f conftest*
+
+
+ if test -z "$ac_need_trad"; then
+ ac_prog='#include <termio.h>
+ Autoconf TCGETA'
+ cat > conftest.${ac_ext} <<EOF
+ #include "confdefs.h"
+ $ac_prog
+ EOF
+ eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
+ if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_need_trad=1
+
+ fi
+ rm -f conftest*
+
+ fi
+ test -n "$ac_need_trad" && CC="$CC -traditional"
+ fi
+
+ # 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}" = "z" ; then
+ test -n "$silent" || /bin/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
+ ''|.|/gnu/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
+ # AIX install. It has an incompatible calling convention.
+ # OSF/1 installbsd also uses dspmsg, but is usable.
+ :
+ else
+ INSTALL="$ac_dir/$ac_prog -c"
+ INSTALL_PROGRAM='${INSTALL}'
+ INSTALL_DATA='${INSTALL} -m 644'
+ break 2
+ fi
+ fi
+ done
+ ;;
+ esac
+ done
+ IFS="$ac_save_ifs"
+ fi
+ if test -z "$INSTALL"; then
+ if test -f ${srcdir}/install.sh; then
+ # As a last resort, use the slow shell script.
+ INSTALL='@top_srcdir@/install.sh -c'
+ else
+ /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
+ INSTALL=cp
+ fi
+ fi
+ test -n "$verbose" && /bin/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" && /bin/echo " setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
+ test -n "$verbose" && /bin/echo " setting INSTALL_DATA to $INSTALL_DATA"
+
+
+ # Set default prefixes.
+ if test -n "$prefix"; then
+ test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
+ ac_prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%"
+ fi
+ if test -n "$exec_prefix"; then
+ ac_prsub="$ac_prsub
+ s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
+ 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.
+ if test "x$srcdir" = x.; then
+ 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
+ /bin/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)
+ /bin/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)
+ /bin/echo "config.status generated by autoconf version 1.9"
+ exit 0 ;;
+ -help | --help | --hel | --he | --h)
+ /bin/echo "\$ac_cs_usage"; exit 0 ;;
+ *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
+ esac
+ done
+
+ trap 'rm -f Makefile src/Makefile man/Makefile; exit 1' 1 2 15
+ CC='$CC'
+ CFLAGS='$CFLAGS'
+ LDFLAGS='$LDFLAGS'
+ CPP='$CPP'
+ INSTALL='$INSTALL'
+ INSTALL_PROGRAM='$INSTALL_PROGRAM'
+ INSTALL_DATA='$INSTALL_DATA'
+ LIBS='$LIBS'
+ srcdir='$srcdir'
+ top_srcdir='$top_srcdir'
+ prefix='$prefix'
+ exec_prefix='$exec_prefix'
+ DEFS='$DEFS'
+ ac_prsub='$ac_prsub'
+ ac_vpsub='$ac_vpsub'
+ extrasub='$extrasub'
+ EOF
+ cat >> config.status <<\EOF
+
+ ac_given_srcdir=$srcdir
+
+ CONFIG_FILES=${CONFIG_FILES-"Makefile src/Makefile man/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=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
+ if test "$ac_dir" != "$ac_file"; 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=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
+ case "$ac_given_srcdir" in
+ .) srcdir=.; top_srcdir="$ac_dots." ;;
+ /*) 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
+
+ /bin/echo creating "$ac_file"
+ rm -f "$ac_file"
+ comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
+ case "$ac_file" in
+ *.c | *.h | *.C | *.cc | *.m ) /bin/echo "/* $comment_str */" > "$ac_file" ;;
+ * ) /bin/echo "# $comment_str" > "$ac_file" ;;
+ esac
+ sed -e "
+ $ac_prsub
+ $ac_vpsub
+ $extrasub
+ s%@CC@%$CC%g
+ s%@CFLAGS@%$CFLAGS%g
+ s%@LDFLAGS@%$LDFLAGS%g
+ s%@CPP@%$CPP%g
+ s%@INSTALL@%$INSTALL%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%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@%$DEFS%
+ " $ac_given_srcdir/${ac_file}.in >> $ac_file
+ fi; done
+
+
+ exit 0
+ EOF
+ chmod +x config.status
+ test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
+
diff -rc --new-file rcs-5.6.0.1/configure.in /gnu/src/amiga/rcs-5.6.0.1/configure.in
*** rcs-5.6.0.1/configure.in Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/configure.in Mon May 2 19:48:17 1994
***************
*** 0 ****
--- 1,20 ----
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(rcs.ms)
+
+ # We want these before the checks, so the checks can modify their values.
+ test -z "$CFLAGS" && CFLAGS= auto_cflags=1
+ test -z "$LDFLAGS" && LDFLAGS=
+
+ AC_PROG_CC
+
+ # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
+ test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
+
+ AC_SUBST(CFLAGS)dnl
+ AC_SUBST(LDFLAGS)dnl
+
+ AC_PROG_CPP
+ AC_GCC_TRADITIONAL
+ AC_PROG_INSTALL
+
+ AC_OUTPUT(Makefile src/Makefile man/Makefile)
diff -rc --new-file rcs-5.6.0.1/man/Makefile /gnu/src/amiga/rcs-5.6.0.1/man/Makefile
*** rcs-5.6.0.1/man/Makefile Fri Nov 22 15:25:19 1991
--- /gnu/src/amiga/rcs-5.6.0.1/man/Makefile Thu Feb 24 09:42:47 1994
***************
*** 2,8 ****
# $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
! MANDIR = /usr/man
install = install -c -m 444
--- 2,8 ----
# $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
! MANDIR = /gnu/man
install = install -c -m 444
diff -rc --new-file rcs-5.6.0.1/man/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/man/Makefile.in
*** rcs-5.6.0.1/man/Makefile.in Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/man/Makefile.in Tue May 3 14:30:51 1994
***************
*** 0 ****
--- 1,39 ----
+ # Make RCS man pages.
+
+ # $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
+
+ #### Start of system configuration section. ####
+
+ VPATH = @srcdir@
+ srcdir = @srcdir@
+
+ # Common prefix for machine-independent installed files.
+ prefix = /gnu
+
+ # Directory to install the Info files in.
+ infodir = $(prefix)/info
+
+ # Directory to install the man page in.
+ mandir1 = $(prefix)/man/man1
+ mandir5 = $(prefix)/man/man5
+
+ # Program to install data like man pages.
+ INSTALL_DATA = @INSTALL_DATA@
+ # Generic install program.
+ INSTALL = @INSTALL@
+
+ #### End of system configuration section. ####
+
+ all clean ::
+
+ install ::
+ $(INSTALL_DATA) $(srcdir)/ci.1 $(mandir1)/ci.1
+ $(INSTALL_DATA) $(srcdir)/co.1 $(mandir1)/co.1
+ $(INSTALL_DATA) $(srcdir)/ident.1 $(mandir1)/ident.1
+ $(INSTALL_DATA) $(srcdir)/merge.1 $(mandir1)/merge.1
+ $(INSTALL_DATA) $(srcdir)/rcs.1 $(mandir1)/rcs.1
+ $(INSTALL_DATA) $(srcdir)/rcsdiff.1 $(mandir1)/rcsdiff.1
+ $(INSTALL_DATA) $(srcdir)/rcsintro.1 $(mandir1)/rcsintro.1
+ $(INSTALL_DATA) $(srcdir)/rcsmerge.1 $(mandir1)/rcsmerg.1
+ $(INSTALL_DATA) $(srcdir)/rlog.1 $(mandir1)/rlog.1
+ $(INSTALL_DATA) $(srcdir)/rcsfile.5 $(mandir5)/rcsfile.5
diff -rc --new-file rcs-5.6.0.1/src/Makefile /gnu/src/amiga/rcs-5.6.0.1/src/Makefile
*** rcs-5.6.0.1/src/Makefile Thu Mar 25 04:36:22 1993
--- /gnu/src/amiga/rcs-5.6.0.1/src/Makefile Thu Feb 24 09:37:30 1994
***************
*** 32,45 ****
#(Unix
! CC = cc
#CC = bsdcc -qlanglvl=ansi# AIX
#CC = cc -g# debug
#CC = gcc -g# GCC
CC_D =
! CC_O = -O
#CC_O =# debug
#CC_O = -O -R# BSD compilers that do not support `const'
#CC_O = -O -fdelayed-branch -finline-functions -fomit-frame-pointer -fstrength-reduce# GCC options for brave souls
--- 32,45 ----
#(Unix
! CC = gcc
#CC = bsdcc -qlanglvl=ansi# AIX
#CC = cc -g# debug
#CC = gcc -g# GCC
CC_D =
! CC_O = -O2
#CC_O =# debug
#CC_O = -O -R# BSD compilers that do not support `const'
#CC_O = -O -fdelayed-branch -finline-functions -fomit-frame-pointer -fstrength-reduce# GCC options for brave souls
***************
*** 55,61 ****
DIFF = $(DIFFPREFIX)diff
#DIFF = $(DIFFPREFIX)rdiff# short for ``RCS diff'' on some hosts
! DIFFPREFIX = /usr/local/gnu/# GNU diff -- must be version 1.15 or later
#DIFFPREFIX = /bin/# traditional diff
#DIFFPREFIX = /usr/bin/# traditional diff (alternate name)
--- 55,61 ----
DIFF = $(DIFFPREFIX)diff
#DIFF = $(DIFFPREFIX)rdiff# short for ``RCS diff'' on some hosts
! DIFFPREFIX = /gnu/bin/# GNU diff -- must be version 1.15 or later
#DIFFPREFIX = /bin/# traditional diff
#DIFFPREFIX = /usr/bin/# traditional diff (alternate name)
***************
*** 84,94 ****
DIFF3_BIN = 1# GNU diff
#DIFF3_BIN = 0# traditional diff
! ED = /bin/ed
EXECUTABLE_GROUP = staff# BSD unix installation
EXECUTABLE_PERMISSIONS = -g $(EXECUTABLE_GROUP) -m 775# BSD unix installation
! INSTALL = install -c $(EXECUTABLE_PERMISSIONS)# BSD unix installation
#INSTALL = cp# traditional Unix installation
LDFLAGS =
--- 84,94 ----
DIFF3_BIN = 1# GNU diff
#DIFF3_BIN = 0# traditional diff
! ED = /gnu/bin/emacs
EXECUTABLE_GROUP = staff# BSD unix installation
EXECUTABLE_PERMISSIONS = -g $(EXECUTABLE_GROUP) -m 775# BSD unix installation
! INSTALL = /gnu/bin/install -c $(EXECUTABLE_PERMISSIONS)# BSD unix installation
#INSTALL = cp# traditional Unix installation
LDFLAGS =
***************
*** 104,110 ****
OTHER_OBJECT =
! RCSDIR = /usr/local/bin
#RCSDIR = /bin
#RCSDIR = /usr/bin
--- 104,110 ----
OTHER_OBJECT =
! RCSDIR = /gnu/bin
#RCSDIR = /bin
#RCSDIR = /usr/bin
***************
*** 113,119 ****
REMOVE = rm -f
! SENDMAIL = "/bin/mail"
#SENDMAIL = "/etc/delivermail", "-w"
#SENDMAIL = "/usr/bin/mail"
#SENDMAIL = "/usr/lib/sendmail"
--- 113,119 ----
REMOVE = rm -f
! SENDMAIL =
#SENDMAIL = "/etc/delivermail", "-w"
#SENDMAIL = "/usr/bin/mail"
#SENDMAIL = "/usr/lib/sendmail"
***************
*** 175,181 ****
LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
RCSPREFIX='$(RCSPREFIX)' \
SENDMAIL='$(SENDMAIL)' \
! sh -x conf.sh >a.h 2>conf.error
mv a.h $@
$(REMOVE) a.*
#)
--- 175,181 ----
LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
RCSPREFIX='$(RCSPREFIX)' \
SENDMAIL='$(SENDMAIL)' \
! sh -x conf.sh 2>conf.error
mv a.h $@
$(REMOVE) a.*
#)
diff -rc --new-file rcs-5.6.0.1/src/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/src/Makefile.in
*** rcs-5.6.0.1/src/Makefile.in Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/src/Makefile.in Tue May 3 14:28:05 1994
***************
*** 0 ****
--- 1,178 ----
+ # $Id: Makefile,v 5.16.0.1 1993/03/25 04:36:22 eggert Exp $
+ # Copyright (C) 1982, 1988, 1989 Walter Tichy
+ # Copyright 1990, 1991 by Paul Eggert
+ # Distributed under license by the Free Software Foundation, Inc.
+ #
+ # This file is part of RCS.
+ #
+ # RCS 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.
+ #
+ # RCS 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 RCS; see the file COPYING. If not, write to
+ # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ #
+ # Report problems and direct all questions to:
+ #
+ # rcs-bugs@cs.purdue.edu
+ #
+
+ #### Start of system configuration section. ####
+
+ VPATH = @srcdir@
+ srcdir = @srcdir@
+
+ # Common prefix for machine-independent installed files.
+
+ prefix = /gnu
+
+ # Common prefix for machine-dependent installed files.
+
+ exec_prefix = $(prefix)
+
+ # Directory to install executables in.
+
+ bindir = $(exec_prefix)/bin
+
+ # Program to install executables.
+
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+
+ # Program to install data like man pages.
+
+ INSTALL_DATA = @INSTALL_DATA@
+
+ # Generic install program.
+
+ INSTALL = @INSTALL@
+
+ CC = @CC@
+ DEFS = @DEFS@
+ CFLAGS = @CFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+
+ SHELL = /bin/sh
+ LINT = lint -abchx# traditional and BSD lint
+ MAKE = make
+ REMOVE = rm -f
+
+ #### End of system configuration section. ####
+
+ SOURCE= ci.c co.c ident.c maketime.c merge.c merger.c partime.c \
+ rcs.c rcsclean.c rcsdiff.c rcsedit.c rcsfcmp.c rcsfnms.c \
+ rcsgen.c rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsmerge.c \
+ rcsrev.c rcssyn.c rcsutil.c rlog.c
+
+ OBJECT= ci.o co.o ident.o maketime.o merge.o merger.o partime.o \
+ rcs.o rcsclean.o rcsdiff.o rcsedit.o rcsfcmp.o rcsfnms.o \
+ rcsgen.o rcskeep.o rcskeys.o rcslex.o rcsmap.o rcsmerge.o \
+ rcsrev.o rcssyn.o rcsutil.o rlog.o
+
+ CI_OBJ = ci.o rcslex.o rcssyn.o rcsgen.o rcsedit.o rcskeys.o \
+ rcsmap.o rcsrev.o rcsutil.o rcsfnms.o partime.o maketime.o \
+ rcskeep.o rcsfcmp.o $(OTHER_OBJECT)
+
+ CO_OBJ = co.o rcslex.o rcssyn.o rcsgen.o rcsedit.o rcskeys.o \
+ rcsmap.o rcsrev.o rcsutil.o rcsfnms.o partime.o maketime.o \
+ rcskeep.o $(OTHER_OBJECT)
+
+ IDENT_OBJ = ident.o rcsmap.o $(OTHER_OBJECT)
+
+ MERGE_OBJ = merge.o merger.o rcsfnms.o rcslex.o rcsmap.o rcsrev.o \
+ rcssyn.o rcsutil.o rcskeep.o rcskeys.o $(OTHER_OBJECT)
+
+ RLOG_OBJ = rlog.o rcslex.o rcsmap.o rcssyn.o rcsrev.o rcsutil.o \
+ partime.o maketime.o rcsfnms.o rcskeep.o rcskeys.o \
+ $(OTHER_OBJECT)
+
+ RCS_OBJ = rcs.o rcslex.o rcssyn.o rcsrev.o rcsutil.o rcsgen.o \
+ rcsedit.o rcskeys.o rcsmap.o rcsfnms.o rcskeep.o \
+ $(OTHER_OBJECT)
+
+ RCSCLEAN_OBJ = rcsclean.o rcsedit.o rcsfcmp.o rcsfnms.o rcsgen.o \
+ rcskeys.o rcslex.o rcsmap.o rcsrev.o rcssyn.o rcsutil.o \
+ rcskeep.o $(OTHER_OBJECT)
+
+ RCSDIFF_OBJ = rcsdiff.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o rcssyn.o \
+ rcslex.o maketime.o partime.o rcskeep.o rcskeys.o \
+ $(OTHER_OBJECT)
+
+ RCSMERGE_OBJ = rcsmerge.o merger.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o \
+ rcssyn.o rcslex.o rcskeep.o rcskeys.o $(OTHER_OBJECT)
+
+ RCSCOMMANDS = ci co ident merge rcs rcsdiff rcsmerge rlog
+
+ RCSTEST = PATH=$(RCSDIR):$(bindir)/.:$$PATH sh $(TESTPREFIX)rcstest
+
+ # "-I." is needed to find conf.h in the build directory.
+
+ .c.o:
+ $(CC) -c -I. -I$(srcdir) $(DEFS) $(CFLAGS) $< $(OUTPUT_OPTION)
+
+ default :: all
+
+ all :: $(RCSCOMMANDS)
+
+ ci : $(CI_OBJ)
+ $(CC) $(LDFLAGS) $(CI_OBJ) $(LIBS) -o $@
+
+ co : $(CO_OBJ)
+ $(CC) $(LDFLAGS) $(CO_OBJ) $(LIBS) -o $@
+
+ ident : $(IDENT_OBJ)
+ $(CC) $(LDFLAGS) $(IDENT_OBJ) $(LIBS) -o $@
+
+ merge : $(MERGE_OBJ)
+ $(CC) $(LDFLAGS) $(MERGE_OBJ) $(LIBS) -o $@
+
+ rlog : $(RLOG_OBJ)
+ $(CC) $(LDFLAGS) $(RLOG_OBJ) $(LIBS) -o $@
+
+ rcs : $(RCS_OBJ)
+ $(CC) $(LDFLAGS) $(RCS_OBJ) $(LIBS) -o $@
+
+ rcsclean : $(RCSCLEAN_OBJ)
+ $(CC) $(LDFLAGS) $(RCSCLEAN_OBJ) $(LIBS) -o $@
+
+ rcsdiff : $(RCSDIFF_OBJ)
+ $(CC) $(LDFLAGS) $(RCSDIFF_OBJ) $(LIBS) -o $@
+
+ rcsmerge : $(RCSMERGE_OBJ)
+ $(CC) $(LDFLAGS) $(RCSMERGE_OBJ) $(LIBS) -o $@
+
+ lint :: conf.h
+ $(LINT) $(CC_D) -Dlint=1 $(SOURCE)
+
+ $(OBJECT) : conf.h rcsbase.h
+
+ install :: all
+ $(INSTALL_PROGRAM) ci $(bindir)/ci
+ $(INSTALL_PROGRAM) co $(bindir)/co
+ $(INSTALL_PROGRAM) ident $(bindir)/ident
+ $(INSTALL_PROGRAM) merge $(bindir)/merge
+ $(INSTALL_PROGRAM) rcs $(bindir)/rcs
+ $(INSTALL_PROGRAM) rcsdiff $(bindir)/rcsdiff
+ $(INSTALL_PROGRAM) rcsmerge $(bindir)/rcsmerge
+ $(INSTALL_PROGRAM) rlog $(bindir)/rlog
+
+ # Install RCS and (if applicable) GNU diff before running these tests.
+ # To test RCS before installing it, see README.
+
+ installtest ::
+ $(RCSTEST)
+
+ installdebug ::
+ $(RCSTEST) -v
+
+ clean ::
+ $(REMOVE) a.* *.o conf.h conf.error
+ $(REMOVE) $(RCSCOMMANDS) rcsclean
+
diff -rc --new-file rcs-5.6.0.1/src/conf.h /gnu/src/amiga/rcs-5.6.0.1/src/conf.h
*** rcs-5.6.0.1/src/conf.h Thu Jan 1 00:00:00 1970
--- /gnu/src/amiga/rcs-5.6.0.1/src/conf.h Mon May 2 19:47:58 1994
***************
*** 0 ****
--- 1,498 ----
+ /* ***NOTE*** This file cannot yet be easily generated on the Amiga. -fnf */
+
+ /* RCS compile-time configuration */
+
+ /* $Id: conf.sh,v 5.14.0.1 1993/03/25 04:24:49 eggert Exp $ */
+
+ /*
+ * This file is generated automatically.
+ * If you edit it by hand your changes may be lost.
+ * Instead, please try to fix conf.sh,
+ * and send your fixes to rcs-bugs@cs.purdue.edu.
+ */
+
+ #define exitmain(n) return n /* how to exit from main() */
+ /* #define _POSIX_SOURCE */ /* Define this if Posix + strict Standard C. */
+
+ #include <errno.h>
+ #include <stdio.h>
+ #include <time.h>
+
+ /* Comment out #include lines below that do not work. */
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
+ #include <fcntl.h>
+ #include <limits.h>
+ #include <pwd.h>
+ #include <signal.h>
+ #include <stdlib.h>
+ #include <string.h>
+ /* #include <sys/mman.h> */
+ #include <sys/wait.h>
+ #include <unistd.h>
+ #include <utime.h>
+ /* #include <vfork.h> */
+
+ /* Define the following symbols to be 1 or 0. */
+ #define has_sys_dir_h 1 /* Does #include <sys/dir.h> work? */
+ #define has_sys_param_h 1 /* Does #include <sys/param.h> work? */
+ #define has_readlink 1 /* Does readlink() work? */
+
+ /* #undef NAME_MAX */ /* Uncomment this if NAME_MAX is broken. */
+
+ #if !defined(NAME_MAX) && !defined(_POSIX_NAME_MAX)
+ # if has_sys_dir_h
+ # include <sys/dir.h>
+ # endif
+ # ifndef NAME_MAX
+ # ifndef MAXNAMLEN
+ # define MAXNAMLEN 14
+ # endif
+ # define NAME_MAX MAXNAMLEN
+ # endif
+ #endif
+ #if !defined(PATH_MAX) && !defined(_POSIX_PATH_MAX)
+ # if has_sys_param_h
+ # include <sys/param.h>
+ # define included_sys_param_h 1
+ # endif
+ # ifndef PATH_MAX
+ # ifndef MAXPATHLEN
+ # define MAXPATHLEN 1024
+ # endif
+ # define PATH_MAX (MAXPATHLEN-1)
+ # endif
+ #endif
+ #if has_readlink && !defined(MAXSYMLINKS)
+ # if has_sys_param_h && !included_sys_param_h
+ # include <sys/param.h>
+ # endif
+ # ifndef MAXSYMLINKS
+ # define MAXSYMLINKS 20 /* BSD; not standard yet */
+ # endif
+ #endif
+
+ /* Comment out the keyword definitions below if the keywords work. */
+ /* #define const */
+ /* #define volatile */
+
+ /* Comment out the typedefs below if the types are already declared. */
+ /* Fix any uncommented typedefs that are wrong. */
+ /* typedef int mode_t; */
+ /* typedef int pid_t; */
+ typedef int sig_atomic_t;
+ /* typedef unsigned size_t; */
+ /* typedef int ssize_t; */
+ /* typedef long time_t; */
+ /* typedef int uid_t; */
+
+ /* Define the following symbols to be 1 or 0. */
+ #define has_prototypes 1 /* Do function prototypes work? */
+ #define has_stdarg 1 /* Does <stdarg.h> work? */
+ #define has_varargs 0 /* Does <varargs.h> work? */
+ #define va_start_args 2 /* How many args does va_start() take? */
+ #if has_prototypes
+ # define P(params) params
+ #else
+ # define P(params) ()
+ #endif
+ #if has_stdarg
+ # include <stdarg.h>
+ #else
+ # if has_varargs
+ # include <varargs.h>
+ # else
+ typedef char *va_list;
+ # define va_dcl int va_alist;
+ # define va_start(ap) ((ap) = (va_list)&va_alist)
+ # define va_arg(ap,t) (((t*) ((ap)+=sizeof(t))) [-1])
+ # define va_end(ap)
+ # endif
+ #endif
+ #if va_start_args == 2
+ # define vararg_start va_start
+ #else
+ # define vararg_start(ap,p) va_start(ap)
+ #endif
+
+ #define text_equals_binary_stdio 1 /* Does stdio treat text like binary? */
+ #define text_work_stdio 0 /* Text i/o for working file, binary for RCS file? */
+ #if text_equals_binary_stdio
+ /* Text and binary i/o behave the same, or binary i/o does not work. */
+ # define FOPEN_R "r"
+ # define FOPEN_W "w"
+ # define FOPEN_WPLUS "w+"
+ #else
+ /* Text and binary i/o behave differently. */
+ /* This is incompatible with Posix and Unix. */
+ # define FOPEN_R "rb"
+ # define FOPEN_W "wb"
+ # define FOPEN_WPLUS "w+b"
+ #endif
+ #if text_work_stdio
+ # define FOPEN_R_WORK "r"
+ # define FOPEN_W_WORK "w"
+ # define FOPEN_WPLUS_WORK "w+"
+ #else
+ # define FOPEN_R_WORK FOPEN_R
+ # define FOPEN_W_WORK FOPEN_W
+ # define FOPEN_WPLUS_WORK FOPEN_WPLUS
+ #endif
+
+ /* Define or comment out the following symbols as needed. */
+ #define bad_fopen_wplus 0 /* Does fopen(f,FOPEN_WPLUS) fail to truncate f? */
+ #define getlogin_is_secure 0 /* Is getlogin() secure? Usually it's not. */
+ #define has_dirent 1 /* Do opendir(), readdir(), closedir() work? */
+ #define has_fchmod 1 /* Does fchmod() work? */
+ #define has_fputs 0 /* Does fputs() work? */
+ #define has_ftruncate 0 /* Does ftruncate() work? */
+ #define has_getuid 1 /* Does getuid() work? */
+ #define has_getpwuid 1 /* Does getpwuid() work? */
+ #define has_link 1 /* Does link() work? */
+ #define has_memcmp 1 /* Does memcmp() work? */
+ #define has_memcpy 1 /* Does memcpy() work? */
+ #define has_memmove 1 /* Does memmove() work? */
+ #define has_madvise 0 /* Does madvise() work? */
+ #define has_mmap 0 /* Does mmap() work on regular files? */
+ #define has_rename 1 /* Does rename() work? */
+ #define bad_a_rename 0 /* Does rename(A,B) fail if A is unwritable? */
+ #define bad_b_rename 0 /* Does rename(A,B) fail if B is unwritable? */
+ #define VOID (void) /* 'VOID e;' discards the value of an expression 'e'. */
+ #define has_seteuid 0 /* Does seteuid() work? See README. */
+ #define has_setuid 1 /* Does setuid() exist? */
+ #define has_signal 1 /* Does signal() work? */
+ #define signal_args P((int)) /* arguments of signal handlers */
+ #define signal_type void /* type returned by signal handlers */
+ #define sig_zaps_handler 0 /* Must a signal handler reinvoke signal()? */
+ #define has_sigaction 0 /* Does struct sigaction work? */
+ #define has_sigblock 1 /* Does sigblock() work? */
+ /* #define sigmask(s) (1 << ((s)-1)) */ /* Yield mask for signal number. */
+ #define has_sys_siglist 0 /* Does sys_siglist[] work? */
+ typedef ssize_t fread_type; /* type returned by fread() and fwrite() */
+ typedef size_t freadarg_type; /* type of their size arguments */
+ typedef void *malloc_type; /* type returned by malloc() */
+ #define has_getcwd 1 /* Does getcwd() work? */
+ /* #define has_getwd ? */ /* Does getwd() work? */
+ #define has_mktemp 1 /* Does mktemp() work? */
+ #define has_NFS 1 /* Might NFS be used? */
+ /* #define strchr index */ /* Use old-fashioned name for strchr()? */
+ /* #define strrchr rindex */ /* Use old-fashioned name for strrchr()? */
+ #define bad_unlink 0 /* Does unlink() fail on unwritable files? */
+ #define has_vfork 1 /* Does vfork() work? */
+ #define has_fork 1 /* Does fork() work? */
+ #define has_spawn 0 /* Does spawn*() work? */
+ #define has_wait 1 /* Does wait() work? */
+ #define has_waitpid 1 /* Does waitpid() work? */
+ #define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */
+ #define has_vfprintf 1 /* Does vfprintf() work? */
+ /* #define has__doprintf ? */ /* Does _doprintf() work? */
+ /* #define has__doprnt ? */ /* Does _doprnt() work? */
+ /* #undef EXIT_FAILURE */ /* Uncomment this if EXIT_FAILURE is broken. */
+ #define large_memory 0 /* Can main memory hold entire RCS files? */
+ /* #undef ULONG_MAX */ /* Uncomment this if ULONG_MAX is broken (e.g. < 0). */
+ /* struct utimbuf { time_t actime, modtime; }; */ /* Uncomment this if needed. */
+ #define CO "/gnu/bin/co" /* name of 'co' program */
+ #define COMPAT2 0 /* Are version 2 files supported? */
+ #define DATEFORM "%.2d.%.2d.%.2d.%.2d.%.2d.%.2d" /* e.g. 01.01.01.01.01.01 */
+ #define DIFF "/gnu/bin/diff" /* name of 'diff' program */
+ #define DIFF3 "/gnu/bin/diff3" /* name of 'diff3' program */
+ #define DIFF3_A 1 /* Does diff3 have an -A option? */
+ #define DIFF3_BIN 1 /* Is diff3 user-visible (not the /usr/lib auxiliary)? */
+ #define DIFF_FLAGS , "-an" /* Make diff output suitable for RCS. */
+ #define DIFF_L 1 /* Does diff -L work? */
+ #define DIFF_SUCCESS 0 /* DIFF status if no differences are found */
+ #define DIFF_FAILURE 1 /* DIFF status if differences are found */
+ #define DIFF_TROUBLE 2 /* DIFF status if trouble */
+ #define ED "/gnu/bin/ed" /* name of 'ed' program (used only if !DIFF3_BIN) */
+ #define MERGE "/gnu/bin/merge" /* name of 'merge' program */
+ #define TMPDIR "/tmp" /* default directory for temporary files */
+ #define SLASH '/' /* principal pathname separator */
+ #define SLASHes '/' /* `case SLASHes:' labels all pathname separators */
+ #define isSLASH(c) ((c) == SLASH) /* Is arg a pathname separator? */
+ #define ROOTPATH(p) isSLASH((p)[0]) /* Is p an absolute pathname? */
+ #define X_DEFAULT ",v/" /* default value for -x option */
+ #define DIFF_ABSOLUTE 1 /* Is ROOTPATH(DIFF) true? */
+ #define ALL_ABSOLUTE 1 /* Are all subprograms absolute pathnames? */
+ /* #define SENDMAIL */ /* how to send mail */
+ #define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work? */
+
+
+
+ /* Adjust the following declarations as needed. */
+
+
+ #if __GNUC__ && !__STRICT_ANSI__
+ # define exiting volatile /* GCC extension: function cannot return */
+ #else
+ # define exiting
+ #endif
+
+ #if has_ftruncate
+ int ftruncate P((int,off_t));
+ #endif
+
+ /* <sys/mman.h> */
+ #if has_madvise
+ int madvise P((caddr_t,size_t,int));
+ #endif
+ #if has_mmap
+ caddr_t mmap P((caddr_t,size_t,int,int,int,off_t));
+ int munmap P((caddr_t,size_t));
+ #endif
+
+
+ /* Posix (ISO/IEC 9945-1: 1990 / IEEE Std 1003.1-1990) */
+ /* These definitions are for the benefit of non-Posix hosts, and */
+ /* Posix hosts that have Standard C compilers but traditional include files. */
+ /* Unfortunately, mixed-up hosts are all too common. */
+
+ /* <fcntl.h> */
+ #ifdef F_DUPFD
+ int fcntl P((int,int,...));
+ #else
+ int dup2 P((int,int));
+ #endif
+ #ifndef O_BINARY /* some non-Posix hosts need O_BINARY */
+ # define O_BINARY 0 /* no effect on Posix */
+ #endif
+ #ifdef O_CREAT
+ # define open_can_creat 1
+ #else
+ # define open_can_creat 0
+ # define O_RDONLY 0
+ # define O_WRONLY 1
+ # define O_RDWR 2
+ # define O_CREAT 01000
+ # define O_TRUNC 02000
+ int creat P((char const*,mode_t));
+ #endif
+ #ifndef O_EXCL
+ # define O_EXCL 0
+ #endif
+
+ /* <pwd.h> */
+ #if has_getpwuid
+ struct passwd *getpwuid P((uid_t));
+ #endif
+
+ /* <signal.h> */
+ #if has_sigaction
+ int sigaction P((int,struct sigaction const*,struct sigaction*));
+ int sigaddset P((sigset_t*,int));
+ int sigemptyset P((sigset_t*));
+ #else
+ #if has_sigblock
+ /* BSD */
+ int sigblock P((int));
+ int sigmask P((int));
+ int sigsetmask P((int));
+ #endif
+ #endif
+
+ /* <stdio.h> */
+ FILE *fdopen P((int,char const*));
+ int fileno P((FILE*));
+
+ /* <sys/stat.h> */
+ int chmod P((char const*,mode_t));
+ int fstat P((int,struct stat*));
+ int stat P((char const*,struct stat*));
+ mode_t umask P((mode_t));
+ #if has_fchmod
+ int fchmod P((int,mode_t));
+ #endif
+ #ifndef S_IRUSR
+ # ifdef S_IREAD
+ # define S_IRUSR S_IREAD
+ # else
+ # define S_IRUSR 0400
+ # endif
+ # ifdef S_IWRITE
+ # define S_IWUSR S_IWRITE
+ # else
+ # define S_IWUSR (S_IRUSR/2)
+ # endif
+ #endif
+ #ifndef S_IRGRP
+ # if has_getuid
+ # define S_IRGRP (S_IRUSR / 0010)
+ # define S_IWGRP (S_IWUSR / 0010)
+ # define S_IROTH (S_IRUSR / 0100)
+ # define S_IWOTH (S_IWUSR / 0100)
+ # else
+ /* single user OS -- not Posix or Unix */
+ # define S_IRGRP 0
+ # define S_IWGRP 0
+ # define S_IROTH 0
+ # define S_IWOTH 0
+ # endif
+ #endif
+ #ifndef S_ISREG
+ # define S_ISREG(n) (((n) & S_IFMT) == S_IFREG)
+ #endif
+
+ /* <sys/wait.h> */
+ #if has_wait
+ pid_t wait P((int*));
+ #endif
+ #ifndef WEXITSTATUS
+ # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
+ # undef WIFEXITED /* Avoid 4.3BSD incompatibility with Posix. */
+ #endif
+ #ifndef WIFEXITED
+ # define WIFEXITED(stat_val) (!((stat_val) & 255))
+ #endif
+
+ /* <unistd.h> */
+ char *getlogin P((void));
+ int close P((int));
+ int isatty P((int));
+ int link P((char const*,char const*));
+ int open P((char const*,int,...));
+ int unlink P((char const*));
+ int _filbuf P((FILE*)); /* keeps lint quiet in traditional C */
+ int _flsbuf P((int,FILE*)); /* keeps lint quiet in traditional C */
+ long pathconf P((char const*,int));
+ ssize_t write P((int,void const*,size_t));
+ #ifndef STDIN_FILENO
+ # define STDIN_FILENO 0
+ # define STDOUT_FILENO 1
+ # define STDERR_FILENO 2
+ #endif
+ #if has_fork
+ # if !has_vfork
+ # undef vfork
+ # define vfork fork
+ # endif
+ pid_t vfork P((void)); /* vfork is nonstandard but faster */
+ #endif
+ #if has_getcwd || !has_getwd
+ char *getcwd P((char*,size_t));
+ #else
+ char *getwd P((char*));
+ #endif
+ #if has_getuid
+ uid_t getuid P((void));
+ #endif
+ #if has_readlink
+ ssize_t readlink P((char const*,char*,size_t)); /* BSD; not standard yet */
+ #endif
+ #if has_setuid
+ # if !has_seteuid
+ # undef seteuid
+ # define seteuid setuid
+ # endif
+ int seteuid P((uid_t));
+ uid_t geteuid P((void));
+ #endif
+ #if has_spawn
+ int spawnv P((int,char const*,char*const*));
+ # if ALL_ABSOLUTE
+ # define spawn_RCS spawnv
+ # else
+ # define spawn_RCS spawnvp
+ int spawnvp P((int,char const*,char*const*));
+ # endif
+ #else
+ int execv P((char const*,char*const*));
+ # if ALL_ABSOLUTE
+ # define exec_RCS execv
+ # else
+ # define exec_RCS execvp
+ int execvp P((char const*,char*const*));
+ # endif
+ #endif
+
+ /* utime.h */
+ int utime P((char const*,struct utimbuf const*));
+
+
+ /* Standard C library */
+ /* These definitions are for the benefit of hosts that have */
+ /* traditional C include files, possibly with Standard C compilers. */
+ /* Unfortunately, mixed-up hosts are all too common. */
+
+ /* <errno.h> */
+ extern int errno;
+
+ /* <limits.h> */
+ #ifndef ULONG_MAX
+ /* This does not work in #ifs, but it's good enough for us. */
+ # define ULONG_MAX ((unsigned long)-1)
+ #endif
+
+ /* <signal.h> */
+ #if has_signal
+ signal_type (*signal P((int,signal_type(*)signal_args)))signal_args;
+ #endif
+
+ /* <stdio.h> */
+ FILE *fopen P((char const*,char const*));
+ fread_type fread P((void*,freadarg_type,freadarg_type,FILE*));
+ fread_type fwrite P((void const*,freadarg_type,freadarg_type,FILE*));
+ int fclose P((FILE*));
+ int feof P((FILE*));
+ int ferror P((FILE*));
+ int fflush P((FILE*));
+ int fprintf P((FILE*,char const*,...));
+ int fputs P((char const*,FILE*));
+ int fseek P((FILE*,long,int));
+ int printf P((char const*,...));
+ int rename P((char const*,char const*));
+ int sprintf P((char*,char const*,...));
+ /*long ftell P((FILE*));*/
+ void clearerr P((FILE*));
+ void perror P((char const*));
+ #ifndef L_tmpnam
+ # define L_tmpnam 32 /* power of 2 > sizeof("/tmp/xxxxxxxxxxxxxxx") */
+ #endif
+ #ifndef SEEK_SET
+ # define SEEK_SET 0
+ #endif
+ #if has_mktemp
+ char *mktemp P((char*)); /* traditional */
+ #else
+ char *tmpnam P((char*));
+ #endif
+ #if has_vfprintf
+ /* int vfprintf P((FILE*,char const*,va_list));*/
+ #else
+ #if has__doprintf
+ void _doprintf P((FILE*,char const*,va_list)); /* Minix */
+ #else
+ void _doprnt P((char const*,va_list,FILE*)); /* BSD */
+ #endif
+ #endif
+
+ /* <stdlib.h> */
+ char *getenv P((char const*));
+ /* exiting void _exit P((int)); */
+ /* exiting void exit P((int)); */
+ malloc_type malloc P((size_t));
+ malloc_type realloc P((malloc_type,size_t));
+ void free P((malloc_type));
+ #ifndef EXIT_FAILURE
+ # define EXIT_FAILURE 1
+ #endif
+ #ifndef EXIT_SUCCESS
+ # define EXIT_SUCCESS 0
+ #endif
+ #if !has_fork && !has_spawn
+ int system P((char const*));
+ #endif
+
+ /* <string.h> */
+ char *strcpy P((char*,char const*));
+ char *strchr P((char const*,int));
+ char *strrchr P((char const*,int));
+ int memcmp P((void const*,void const*,size_t));
+ int strcmp P((char const*,char const*));
+ size_t strlen P((char const*));
+ void *memcpy P((void*,void const*,size_t));
+ #if has_memmove
+ void *memmove P((void*,void const*,size_t));
+ #endif
+
+ /* <time.h> */
+ time_t time P((time_t*));
diff -rc --new-file rcs-5.6.0.1/src/conf.sh /gnu/src/amiga/rcs-5.6.0.1/src/conf.sh
*** rcs-5.6.0.1/src/conf.sh Thu Mar 25 04:24:49 1993
--- /gnu/src/amiga/rcs-5.6.0.1/src/conf.sh Thu Feb 24 09:41:30 1994
***************
*** 24,32 ****
#
# rcs-bugs@cs.purdue.edu
! # Standard output should already be directed to "a.h";
! # later parts of this procedure need it.
# Standard error can be ignored if a.h is OK,
# and can be inspected for clues otherwise.
--- 24,49 ----
#
# rcs-bugs@cs.purdue.edu
+ CC='gcc'
+ CFLAGS=' -O2 '
+ COMPAT2='0'
+ DIFF3='/gnu/bin/diff3'
+ DIFF3_A='1'
+ DIFF3_BIN='1'
+ DIFF='/gnu/bin/diff'
+ DIFF_FLAGS='-an'
+ DIFF_L='1'
+ DIFF_SUCCESS='0'
+ DIFF_FAILURE='1'
+ DIFF_TROUBLE='2'
+ ED='/gnu/bin/emacs'
+ LDFLAGS=''
+ LDLIBS=''
+ RCSPREFIX='/gnu/bin/'
+ SENDMAIL=''
! # Take care of doing redirection to a.h ourself, since some systems may have
! # problems reading a file that is already open for write.
# Standard error can be ignored if a.h is OK,
# and can be inspected for clues otherwise.
***************
*** 51,57 ****
L=$LDLIBS
RM='rm -f a.out'
! cat <<EOF
/* RCS compile-time configuration */
/* $Id */
--- 68,74 ----
L=$LDLIBS
RM='rm -f a.out'
! cat >>a.h <<'EOF'
/* RCS compile-time configuration */
/* $Id */
***************
*** 66,72 ****
EOF
: exitmain
! cat >a.c <<EOF
#include "a.h"
int main(argc,argv) int argc; char **argv; { return argc-1; }
EOF
--- 83,89 ----
EOF
: exitmain
! cat >a.c <<'EOF'
#include "a.h"
int main(argc,argv) int argc; char **argv; { return argc-1; }
EOF
***************
*** 77,83 ****
elif ./a.out
then e=n
fi
! echo "#define exitmain(n) return $e /* how to exit from main() */"
: _POSIX_SOURCE
cat >a.c <<'EOF'
--- 94,100 ----
elif ./a.out
then e=n
fi
! echo >>a.h "#define exitmain(n) return $e /* how to exit from main() */"
: _POSIX_SOURCE
cat >a.c <<'EOF'
***************
*** 92,98 ****
elif $RM || exit; ($CL -D_POSIX_SOURCE a.c $L && ./a.out) >&2
then a= z=
fi
! cat <<EOF
$a#define _POSIX_SOURCE $z/* Define this if Posix + strict Standard C. */
#include <errno.h>
--- 109,115 ----
elif $RM || exit; ($CL -D_POSIX_SOURCE a.c $L && ./a.out) >&2
then a= z=
fi
! cat >>a.h <<'EOF'
$a#define _POSIX_SOURCE $z/* Define this if Posix + strict Standard C. */
#include <errno.h>
***************
*** 100,106 ****
#include <time.h>
EOF
! cat <<'EOF'
/* Comment out #include lines below that do not work. */
EOF
--- 117,123 ----
#include <time.h>
EOF
! cat >>a.h <<'EOF'
/* Comment out #include lines below that do not work. */
EOF
***************
*** 123,129 ****
do
i="#include <$h.h>"
: $i
! cat >a.c <<EOF
#include "a.h"
$i
int main(){ exitmain(0); }
--- 140,146 ----
do
i="#include <$h.h>"
: $i
! cat >a.c <<'EOF'
#include "a.h"
$i
int main(){ exitmain(0); }
***************
*** 140,149 ****
signal) has_signal=0
esac
}
! echo "$i"
done
! cat <<'EOF'
/* Define the following symbols to be 1 or 0. */
EOF
--- 157,166 ----
signal) has_signal=0
esac
}
! echo >>a.h "$i"
done
! cat >>a.h <<'EOF'
/* Define the following symbols to be 1 or 0. */
EOF
***************
*** 152,158 ****
for H in dir param
do
: has_sys_${H}_h
! cat >a.c <<EOF
#include "a.h"
#include <sys/$H.h>
int main() { exitmain(0); }
--- 169,175 ----
for H in dir param
do
: has_sys_${H}_h
! cat >a.c <<'EOF'
#include "a.h"
#include <sys/$H.h>
int main() { exitmain(0); }
***************
*** 162,168 ****
then h=1
else h=0
fi
! echo "#define has_sys_${H}_h $h /* Does #include <sys/$H.h> work? */"
done
--- 179,185 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_sys_${H}_h $h /* Does #include <sys/$H.h> work? */"
done
***************
*** 208,214 ****
then h=1
else h=0
fi
! cat <<EOF
#define has_readlink $h /* Does readlink() work? */
$a#undef NAME_MAX $z/* Uncomment this if NAME_MAX is broken. */
--- 225,231 ----
then h=1
else h=0
fi
! cat >>a.h <<'EOF'
#define has_readlink $h /* Does readlink() work? */
$a#undef NAME_MAX $z/* Uncomment this if NAME_MAX is broken. */
***************
*** 246,252 ****
#endif
EOF
! cat <<'EOF'
/* Comment out the keyword definitions below if the keywords work. */
EOF
--- 263,269 ----
#endif
EOF
! cat >>a.h <<'EOF'
/* Comment out the keyword definitions below if the keywords work. */
EOF
***************
*** 254,260 ****
: const, volatile
for i in const volatile
do
! cat >a.c <<EOF
# include "a.h"
enum Boolean { false, true };
static enum Boolean $i zero;
--- 271,277 ----
: const, volatile
for i in const volatile
do
! cat >a.c <<'EOF'
# include "a.h"
enum Boolean { false, true };
static enum Boolean $i zero;
***************
*** 265,271 ****
a= z=
if $CS a.c $LS >&2
then
! cat >a.c <<EOF
typedef unsigned char $i *Iptr_type;
struct { Iptr_type lim; } s, *f = &s;
int main() {
--- 282,288 ----
a= z=
if $CS a.c $LS >&2
then
! cat >a.c <<'EOF'
typedef unsigned char $i *Iptr_type;
struct { Iptr_type lim; } s, *f = &s;
int main() {
***************
*** 278,288 ****
then a='/* ' z=' */'
fi
fi
! echo "$a#define $i$z"
done
# *_t
! cat <<'EOF'
/* Comment out the typedefs below if the types are already declared. */
/* Fix any uncommented typedefs that are wrong. */
--- 295,305 ----
then a='/* ' z=' */'
fi
fi
! echo >>a.h "$a#define $i$z"
done
# *_t
! cat >>a.h <<'EOF'
/* Comment out the typedefs below if the types are already declared. */
/* Fix any uncommented typedefs that are wrong. */
***************
*** 304,310 ****
then a='/* ' z=' */'
else a= z=
fi
! echo "${a}typedef $i $t;$z"
done
: has_prototypes, has_stdarg, has_varargs, va_start_args
--- 321,327 ----
then a='/* ' z=' */'
else a= z=
fi
! echo >>a.h "${a}typedef $i $t;$z"
done
: has_prototypes, has_stdarg, has_varargs, va_start_args
***************
*** 381,387 ****
echo >&2 "cannot deduce has_prototypes, has_stdarg, va_start_args"
exit 1
}
! cat - a.ha <<EOF
/* Define the following symbols to be 1 or 0. */
#define has_prototypes $has_prototypes /* Do function prototypes work? */
--- 398,404 ----
echo >&2 "cannot deduce has_prototypes, has_stdarg, va_start_args"
exit 1
}
! cat >>a.h - a.ha <<'EOF'
/* Define the following symbols to be 1 or 0. */
#define has_prototypes $has_prototypes /* Do function prototypes work? */
***************
*** 413,419 ****
$CL a.c $L >&2 && ./a.out && cmp a.out a.d && {
cmp a.out a.e || e=0
}
! cat <<EOF
#define text_equals_binary_stdio $e /* Does stdio treat text like binary? */
#define text_work_stdio 0 /* Text i/o for working file, binary for RCS file? */
--- 430,436 ----
$CL a.c $L >&2 && ./a.out && cmp a.out a.d && {
cmp a.out a.e || e=0
}
! cat >>a.h <<'EOF'
#define text_equals_binary_stdio $e /* Does stdio treat text like binary? */
#define text_work_stdio 0 /* Text i/o for working file, binary for RCS file? */
***************
*** 452,461 ****
then b=0
else b=1
fi
! echo "#define bad_fopen_wplus $b /* Does fopen(f,FOPEN_WPLUS) fail to truncate f? */"
: getlogin_is_secure
! echo "#define getlogin_is_secure 0 /* Is getlogin() secure? Usually it's not. */"
: has_dirent
cat >a.c <<'EOF'
--- 469,478 ----
then b=0
else b=1
fi
! echo >>a.h "#define bad_fopen_wplus $b /* Does fopen(f,FOPEN_WPLUS) fail to truncate f? */"
: getlogin_is_secure
! echo >>a.h "#define getlogin_is_secure 0 /* Is getlogin() secure? Usually it's not. */"
: has_dirent
cat >a.c <<'EOF'
***************
*** 474,480 ****
then h=1
else h=0
fi
! echo "#define has_dirent $h /* Do opendir(), readdir(), closedir() work? */"
: has_fchmod
cat >a.c <<'EOF'
--- 491,497 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_dirent $h /* Do opendir(), readdir(), closedir() work? */"
: has_fchmod
cat >a.c <<'EOF'
***************
*** 486,492 ****
then h=1
else h=0
fi
! echo "#define has_fchmod $h /* Does fchmod() work? */"
rm -f a.c || exit
: has_fputs
--- 503,509 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_fchmod $h /* Does fchmod() work? */"
rm -f a.c || exit
: has_fputs
***************
*** 501,507 ****
then h=1
else h=0
fi
! echo "#define has_fputs $h /* Does fputs() work? */"
: has_ftruncate
cat >a.c <<'EOF'
--- 518,524 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_fputs $h /* Does fputs() work? */"
: has_ftruncate
cat >a.c <<'EOF'
***************
*** 530,536 ****
done
else h=0
fi
! echo "#define has_ftruncate $h /* Does ftruncate() work? */"
: has_getuid
cat >a.c <<'EOF'
--- 547,553 ----
done
else h=0
fi
! echo >>a.h "#define has_ftruncate $h /* Does ftruncate() work? */"
: has_getuid
cat >a.c <<'EOF'
***************
*** 545,551 ****
then has_getuid=1
else has_getuid=0
fi
! echo "#define has_getuid $has_getuid /* Does getuid() work? */"
: has_getpwuid
case $has_getuid in
--- 562,568 ----
then has_getuid=1
else has_getuid=0
fi
! echo >>a.h "#define has_getuid $has_getuid /* Does getuid() work? */"
: has_getpwuid
case $has_getuid in
***************
*** 563,569 ****
else h=0
fi
esac
! echo "$a#define has_getpwuid $h $z/* Does getpwuid() work? */"
: has_link
cat >a.c <<'EOF'
--- 580,586 ----
else h=0
fi
esac
! echo >>a.h "$a#define has_getpwuid $h $z/* Does getpwuid() work? */"
: has_link
cat >a.c <<'EOF'
***************
*** 576,582 ****
else h=0
fi
rm -f a.d || exit
! echo "#define has_link $h /* Does link() work? */"
: has_memcmp
cat >a.c <<'EOF'
--- 593,599 ----
else h=0
fi
rm -f a.d || exit
! echo >>a.h "#define has_link $h /* Does link() work? */"
: has_memcmp
cat >a.c <<'EOF'
***************
*** 588,594 ****
then h=1
else h=0
fi
! echo "#define has_memcmp $h /* Does memcmp() work? */"
: has_memcpy
cat >a.c <<'EOF'
--- 605,611 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_memcmp $h /* Does memcmp() work? */"
: has_memcpy
cat >a.c <<'EOF'
***************
*** 604,610 ****
then h=1
else h=0
fi
! echo "#define has_memcpy $h /* Does memcpy() work? */"
: has_memmove
cat >a.c <<'EOF'
--- 621,627 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_memcpy $h /* Does memcpy() work? */"
: has_memmove
cat >a.c <<'EOF'
***************
*** 621,627 ****
then h=1
else h=0
fi
! echo "#define has_memmove $h /* Does memmove() work? */"
: has_mmap, has_madvise
cat >a.c <<'EOF'
--- 638,644 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_memmove $h /* Does memmove() work? */"
: has_mmap, has_madvise
cat >a.c <<'EOF'
***************
*** 659,666 ****
$RM || exit
($CL a.c $L && ./a.out <a.c) >&2 && a=1
fi
! echo "#define has_madvise $a /* Does madvise() work? */"
! echo "#define has_mmap $has_mmap /* Does mmap() work on regular files? */"
: has_rename, bad_a_rename, bad_b_rename
cat >a.c <<'EOF'
--- 676,683 ----
$RM || exit
($CL a.c $L && ./a.out <a.c) >&2 && a=1
fi
! echo >>a.h "#define has_madvise $a /* Does madvise() work? */"
! echo >>a.h "#define has_mmap $has_mmap /* Does mmap() work on regular files? */"
: has_rename, bad_a_rename, bad_b_rename
cat >a.c <<'EOF'
***************
*** 686,694 ****
rm -f a.a a.b || exit
else h=0 a=0 b=0
fi
! echo "#define has_rename $h /* Does rename() work? */"
! echo "#define bad_a_rename $a /* Does rename(A,B) fail if A is unwritable? */"
! echo "#define bad_b_rename $b /* Does rename(A,B) fail if B is unwritable? */"
: void, VOID
cat >a.c <<'EOF'
--- 703,711 ----
rm -f a.a a.b || exit
else h=0 a=0 b=0
fi
! echo >>a.h "#define has_rename $h /* Does rename() work? */"
! echo >>a.h "#define bad_a_rename $a /* Does rename(A,B) fail if A is unwritable? */"
! echo >>a.h "#define bad_b_rename $b /* Does rename(A,B) fail if B is unwritable? */"
: void, VOID
cat >a.c <<'EOF'
***************
*** 701,709 ****
v='(void) '
else
v=
! echo 'typedef int void;'
fi
! echo "#define VOID $v/* 'VOID e;' discards the value of an expression 'e'. */"
: has_seteuid
case $has_getuid in
--- 718,726 ----
v='(void) '
else
v=
! echo >>a.h 'typedef int void;'
fi
! echo >>a.h "#define VOID $v/* 'VOID e;' discards the value of an expression 'e'. */"
: has_seteuid
case $has_getuid in
***************
*** 732,738 ****
else has_seteuid=0
fi
esac
! echo "$a#define has_seteuid $has_seteuid $z/* Does seteuid() work? See README. */"
: has_setuid
h=$has_seteuid
--- 749,755 ----
else has_seteuid=0
fi
esac
! echo >>a.h "$a#define has_seteuid $has_seteuid $z/* Does seteuid() work? See README. */"
: has_setuid
h=$has_seteuid
***************
*** 748,754 ****
$RM || exit
($CL a.c $L && ./a.out) >&2 && h=1
esac
! echo "$a#define has_setuid $h $z/* Does setuid() exist? */"
: has_signal, signal_args, signal_type, sig_zaps_handler
cat >a.c <<'EOF'
--- 765,771 ----
$RM || exit
($CL a.c $L && ./a.out) >&2 && h=1
esac
! echo >>a.h "$a#define has_setuid $h $z/* Does setuid() exist? */"
: has_signal, signal_args, signal_type, sig_zaps_handler
cat >a.c <<'EOF'
***************
*** 790,796 ****
then z=0
else z=1
fi
! cat <<EOF
#define has_signal $has_signal /* Does signal() work? */
#define signal_args $signal_args /* arguments of signal handlers */
#define signal_type $signal_type /* type returned by signal handlers */
--- 807,813 ----
then z=0
else z=1
fi
! cat >>a.h <<'EOF'
#define has_signal $has_signal /* Does signal() work? */
#define signal_args $signal_args /* arguments of signal handlers */
#define signal_type $signal_type /* type returned by signal handlers */
***************
*** 826,832 ****
then has_sigaction=1
else has_sigaction=0
fi
! echo "#define has_sigaction $has_sigaction /* Does struct sigaction work? */"
: has_sigblock, sigmask
a='/* ' z='*/ '
--- 843,849 ----
then has_sigaction=1
else has_sigaction=0
fi
! echo >>a.h "#define has_sigaction $has_sigaction /* Does struct sigaction work? */"
: has_sigblock, sigmask
a='/* ' z='*/ '
***************
*** 855,862 ****
else h=0
fi
esac
! echo "$a#define has_sigblock $h $z/* Does sigblock() work? */"
! echo "$b#define sigmask(s) (1 << ((s)-1)) $y/* Yield mask for signal number. */"
: has_sys_siglist
cat >a.c <<'EOF'
--- 872,879 ----
else h=0
fi
esac
! echo >>a.h "$a#define has_sigblock $h $z/* Does sigblock() work? */"
! echo >>a.h "$b#define sigmask(s) (1 << ((s)-1)) $y/* Yield mask for signal number. */"
: has_sys_siglist
cat >a.c <<'EOF'
***************
*** 871,877 ****
then h=1
else h=0
fi
! echo "#define has_sys_siglist $h /* Does sys_siglist[] work? */"
: fread_type, Fread, Fwrite
cat >a.c <<'EOF'
--- 888,894 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_sys_siglist $h /* Does sys_siglist[] work? */"
: fread_type, Fread, Fwrite
cat >a.c <<'EOF'
***************
*** 910,916 ****
echo >&2 "cannot deduce fread types"
exit 1
}
! cat <<EOF
typedef $fread_type fread_type; /* type returned by fread() and fwrite() */
typedef $freadarg_type freadarg_type; /* type of their size arguments */
EOF
--- 927,933 ----
echo >&2 "cannot deduce fread types"
exit 1
}
! cat >>a.h <<'EOF'
typedef $fread_type fread_type; /* type returned by fread() and fwrite() */
typedef $freadarg_type freadarg_type; /* type of their size arguments */
EOF
***************
*** 928,934 ****
then t=void
else t=char
fi
! echo "typedef $t *malloc_type; /* type returned by malloc() */"
: has_getcwd
cat >a.c <<'EOF'
--- 945,951 ----
then t=void
else t=char
fi
! echo >>a.h "typedef $t *malloc_type; /* type returned by malloc() */"
: has_getcwd
cat >a.c <<'EOF'
***************
*** 944,950 ****
then has_getcwd=1
else has_getcwd=0
fi
! echo "#define has_getcwd $has_getcwd /* Does getcwd() work? */"
: has_getwd
case $has_getcwd in
--- 961,967 ----
then has_getcwd=1
else has_getcwd=0
fi
! echo >>a.h "#define has_getcwd $has_getcwd /* Does getcwd() work? */"
: has_getwd
case $has_getcwd in
***************
*** 967,973 ****
else h=0
fi
esac
! echo "$a#define has_getwd $h $z/* Does getwd() work? */"
: has_mktemp
cat >a.c <<'EOF'
--- 984,990 ----
else h=0
fi
esac
! echo >>a.h "$a#define has_getwd $h $z/* Does getwd() work? */"
: has_mktemp
cat >a.c <<'EOF'
***************
*** 987,996 ****
then h=1
else h=0
fi
! echo "#define has_mktemp $h /* Does mktemp() work? */"
: has_NFS
! echo "#define has_NFS 1 /* Might NFS be used? */"
: strchr
cat >a.c <<'EOF'
--- 1004,1013 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_mktemp $h /* Does mktemp() work? */"
: has_NFS
! echo >>a.h "#define has_NFS 1 /* Might NFS be used? */"
: strchr
cat >a.c <<'EOF'
***************
*** 1005,1011 ****
then a='/* ' z='*/ '
else a= z=
fi
! echo "$a#define strchr index $z/* Use old-fashioned name for strchr()? */"
: strrchr
cat >a.c <<'EOF'
--- 1022,1028 ----
then a='/* ' z='*/ '
else a= z=
fi
! echo >>a.h "$a#define strchr index $z/* Use old-fashioned name for strchr()? */"
: strrchr
cat >a.c <<'EOF'
***************
*** 1020,1026 ****
then a='/* ' z='*/ '
else a= z=
fi
! echo "$a#define strrchr rindex $z/* Use old-fashioned name for strrchr()? */"
: bad_unlink
cat >a.c <<'EOF'
--- 1037,1043 ----
then a='/* ' z='*/ '
else a= z=
fi
! echo >>a.h "$a#define strrchr rindex $z/* Use old-fashioned name for strrchr()? */"
: bad_unlink
cat >a.c <<'EOF'
***************
*** 1033,1039 ****
else b=1
fi
rm -f a.c || exit
! echo "#define bad_unlink $b /* Does unlink() fail on unwritable files? */"
: has_vfork, has_fork, has_spawn, has_wait, has_waitpid, RCS_SHELL
cat >a.c <<'EOF'
--- 1050,1056 ----
else b=1
fi
rm -f a.c || exit
! echo >>a.h "#define bad_unlink $b /* Does unlink() fail on unwritable files? */"
: has_vfork, has_fork, has_spawn, has_wait, has_waitpid, RCS_SHELL
cat >a.c <<'EOF'
***************
*** 1092,1114 ****
then has_vfork=1
else has_vfork=0
fi
! echo "#define has_vfork $has_vfork /* Does vfork() work? */"
h=$has_vfork
case $h in
0)
$RM || exit
($CL a.c $L && ./a.out) >&2 && h=1
esac
! echo "#define has_fork $h /* Does fork() work? */"
$RM || exit
if ($CL -DTRY_VFORK=$has_vfork -DTRY_WAITPID=1 a.c $L && ./a.out) >&2
then h=1
else h=0
fi
! echo "#define has_spawn 0 /* Does spawn*() work? */"
! echo "#define has_wait 1 /* Does wait() work? */"
! echo "#define has_waitpid $h /* Does waitpid() work? */"
! echo '#define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */'
: has_vfprintf
cat >a.c <<'EOF'
--- 1109,1131 ----
then has_vfork=1
else has_vfork=0
fi
! echo >>a.h "#define has_vfork $has_vfork /* Does vfork() work? */"
h=$has_vfork
case $h in
0)
$RM || exit
($CL a.c $L && ./a.out) >&2 && h=1
esac
! echo >>a.h "#define has_fork $h /* Does fork() work? */"
$RM || exit
if ($CL -DTRY_VFORK=$has_vfork -DTRY_WAITPID=1 a.c $L && ./a.out) >&2
then h=1
else h=0
fi
! echo >>a.h "#define has_spawn 0 /* Does spawn*() work? */"
! echo >>a.h "#define has_wait 1 /* Does wait() work? */"
! echo >>a.h "#define has_waitpid $h /* Does waitpid() work? */"
! echo >>a.h '#define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */'
: has_vfprintf
cat >a.c <<'EOF'
***************
*** 1133,1139 ****
then h=1
else h=0
fi
! echo "#define has_vfprintf $h /* Does vfprintf() work? */"
: has__doprintf, has__doprnt
case $h in
--- 1150,1156 ----
then h=1
else h=0
fi
! echo >>a.h "#define has_vfprintf $h /* Does vfprintf() work? */"
: has__doprintf, has__doprnt
case $h in
***************
*** 1166,1172 ****
else h=0
fi
esac
! echo "$a#define has__doprintf $h $z/* Does _doprintf() work? */"
case $h in
0)
$RM || exit
--- 1183,1189 ----
else h=0
fi
esac
! echo >>a.h "$a#define has__doprintf $h $z/* Does _doprintf() work? */"
case $h in
0)
$RM || exit
***************
*** 1178,1184 ****
*)
h=? a='/* ' z='*/ '
esac
! echo "$a#define has__doprnt $h $z/* Does _doprnt() work? */"
: EXIT_FAILURE
cat >a.c <<'EOF'
--- 1195,1201 ----
*)
h=? a='/* ' z='*/ '
esac
! echo >>a.h "$a#define has__doprnt $h $z/* Does _doprnt() work? */"
: EXIT_FAILURE
cat >a.c <<'EOF'
***************
*** 1190,1199 ****
then a= z=
else a='/* ' z='*/ '
fi
! echo "$a#undef EXIT_FAILURE $z/* Uncomment this if EXIT_FAILURE is broken. */"
: large_memory
! echo "#define large_memory $has_mmap /* Can main memory hold entire RCS files? */"
: ULONG_MAX
cat >a.c <<'EOF'
--- 1207,1216 ----
then a= z=
else a='/* ' z='*/ '
fi
! echo >>a.h "$a#undef EXIT_FAILURE $z/* Uncomment this if EXIT_FAILURE is broken. */"
: large_memory
! echo >>a.h "#define large_memory $has_mmap /* Can main memory hold entire RCS files? */"
: ULONG_MAX
cat >a.c <<'EOF'
***************
*** 1213,1219 ****
then a='/* ' z='*/ '
else a= z=
fi
! echo "$a#undef ULONG_MAX $z/* Uncomment this if ULONG_MAX is broken (e.g. < 0). */"
: struct utimbuf
cat >a.c <<'EOF'
--- 1230,1236 ----
then a='/* ' z='*/ '
else a= z=
fi
! echo >>a.h "$a#undef ULONG_MAX $z/* Uncomment this if ULONG_MAX is broken (e.g. < 0). */"
: struct utimbuf
cat >a.c <<'EOF'
***************
*** 1226,1238 ****
then a='/* ' z=' */'
else a= z=
fi
! echo "${a}struct utimbuf { time_t actime, modtime; };$z /* Uncomment this if needed. */"
: CO
! echo "#define CO \"${RCSPREFIX}co\" /* name of 'co' program */"
: COMPAT2
! echo "#define COMPAT2 $COMPAT2 /* Are version 2 files supported? */"
: DATEFORM
cat >a.c <<'EOF'
--- 1243,1255 ----
then a='/* ' z=' */'
else a= z=
fi
! echo >>a.h "${a}struct utimbuf { time_t actime, modtime; };$z /* Uncomment this if needed. */"
: CO
! echo >>a.h "#define CO \"${RCSPREFIX}co\" /* name of 'co' program */"
: COMPAT2
! echo >>a.h "#define COMPAT2 $COMPAT2 /* Are version 2 files supported? */"
: DATEFORM
cat >a.c <<'EOF'
***************
*** 1244,1283 ****
01) f=%.2d;;
*) f=%02d
esac
! echo "#define DATEFORM \"$f.$f.$f.$f.$f.${f}\" /* e.g. 01.01.01.01.01.01 */"
: DIFF
! echo "#define DIFF \"${DIFF}\" /* name of 'diff' program */"
: DIFF3
! echo "#define DIFF3 \"${DIFF3}\" /* name of 'diff3' program */"
! echo "#define DIFF3_A $DIFF3_A /* Does diff3 have an -A option? */"
! echo "#define DIFF3_BIN $DIFF3_BIN /* Is diff3 user-visible (not the /usr/lib auxiliary)? */"
: DIFF_FLAGS
dfs=
for df in $DIFF_FLAGS
do dfs="$dfs, \"${df}\""
done
! echo "#define DIFF_FLAGS $dfs /* Make diff output suitable for RCS. */"
: DIFF_L
! echo "#define DIFF_L $DIFF_L /* Does diff -L work? */"
: DIFF_SUCCESS, DIFF_FAILURE, DIFF_TROUBLE
! cat <<EOF
#define DIFF_SUCCESS $DIFF_SUCCESS /* DIFF status if no differences are found */
#define DIFF_FAILURE $DIFF_FAILURE /* DIFF status if differences are found */
#define DIFF_TROUBLE $DIFF_TROUBLE /* DIFF status if trouble */
EOF
: ED
! echo "#define ED \"${ED}\" /* name of 'ed' program (used only if !DIFF3_BIN) */"
: MERGE
! echo "#define MERGE \"${RCSPREFIX}merge\" /* name of 'merge' program */"
: '*SLASH*', ROOTPATH, TMPDIR, X_DEFAULT
case ${PWD-`pwd`} in
--- 1261,1300 ----
01) f=%.2d;;
*) f=%02d
esac
! echo >>a.h "#define DATEFORM \"$f.$f.$f.$f.$f.${f}\" /* e.g. 01.01.01.01.01.01 */"
: DIFF
! echo >>a.h "#define DIFF \"${DIFF}\" /* name of 'diff' program */"
: DIFF3
! echo >>a.h "#define DIFF3 \"${DIFF3}\" /* name of 'diff3' program */"
! echo >>a.h "#define DIFF3_A $DIFF3_A /* Does diff3 have an -A option? */"
! echo >>a.h "#define DIFF3_BIN $DIFF3_BIN /* Is diff3 user-visible (not the /usr/lib auxiliary)? */"
: DIFF_FLAGS
dfs=
for df in $DIFF_FLAGS
do dfs="$dfs, \"${df}\""
done
! echo >>a.h "#define DIFF_FLAGS $dfs /* Make diff output suitable for RCS. */"
: DIFF_L
! echo >>a.h "#define DIFF_L $DIFF_L /* Does diff -L work? */"
: DIFF_SUCCESS, DIFF_FAILURE, DIFF_TROUBLE
! cat >>a.h <<'EOF'
#define DIFF_SUCCESS $DIFF_SUCCESS /* DIFF status if no differences are found */
#define DIFF_FAILURE $DIFF_FAILURE /* DIFF status if differences are found */
#define DIFF_TROUBLE $DIFF_TROUBLE /* DIFF status if trouble */
EOF
: ED
! echo >>a.h "#define ED \"${ED}\" /* name of 'ed' program (used only if !DIFF3_BIN) */"
: MERGE
! echo >>a.h "#define MERGE \"${RCSPREFIX}merge\" /* name of 'merge' program */"
: '*SLASH*', ROOTPATH, TMPDIR, X_DEFAULT
case ${PWD-`pwd`} in
***************
*** 1298,1304 ****
*)
echo >&2 "cannot deduce SLASH"; exit 1
esac
! cat <<EOF
#define TMPDIR "${SLASH}tmp" /* default directory for temporary files */
#define SLASH $qSLASH /* principal pathname separator */
#define SLASHes $SLASHes /* \`case SLASHes:' labels all pathname separators */
--- 1315,1321 ----
*)
echo >&2 "cannot deduce SLASH"; exit 1
esac
! cat >>a.h <<'EOF'
#define TMPDIR "${SLASH}tmp" /* default directory for temporary files */
#define SLASH $qSLASH /* principal pathname separator */
#define SLASHes $SLASHes /* \`case SLASHes:' labels all pathname separators */
***************
*** 1312,1318 ****
"$SLASH"*) a=1;;
*) a=0
esac
! echo "#define DIFF_ABSOLUTE $a /* Is ROOTPATH(DIFF) true? */"
: ALL_ABSOLUTE
a=1
--- 1329,1335 ----
"$SLASH"*) a=1;;
*) a=0
esac
! echo >>a.h "#define DIFF_ABSOLUTE $a /* Is ROOTPATH(DIFF) true? */"
: ALL_ABSOLUTE
a=1
***************
*** 1323,1344 ****
*) a=0 break
esac
done
! echo "#define ALL_ABSOLUTE $a /* Are all subprograms absolute pathnames? */"
: SENDMAIL
case $SENDMAIL in
'') a='/* ' z='*/ ';;
*) a= z=
esac
! echo "$a#define SENDMAIL $SENDMAIL $z/* how to send mail */"
: TZ_must_be_set
! echo "#define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work? */"
: standard function declarations
! cat <<'EOF'
--- 1340,1361 ----
*) a=0 break
esac
done
! echo >>a.h "#define ALL_ABSOLUTE $a /* Are all subprograms absolute pathnames? */"
: SENDMAIL
case $SENDMAIL in
'') a='/* ' z='*/ ';;
*) a= z=
esac
! echo >>a.h "$a#define SENDMAIL $SENDMAIL $z/* how to send mail */"
: TZ_must_be_set
! echo >>a.h "#define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work? */"
: standard function declarations
! cat >>a.h <<'EOF'
***************
*** 1352,1358 ****
#endif
EOF
! cat >a.ha <<EOF
#if has_ftruncate
int ftruncate P((int,off_t));
--- 1369,1375 ----
#endif
EOF
! cat >a.ha <<'EOF'
#if has_ftruncate
int ftruncate P((int,off_t));