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
Text File  |  1994-09-07  |  78KB  |  2,783 lines

  1. diff -rc --new-file rcs-5.6.0.1/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/Makefile.in
  2. *** rcs-5.6.0.1/Makefile.in    Thu Jan  1 00:00:00 1970
  3. --- /gnu/src/amiga/rcs-5.6.0.1/Makefile.in    Sun Jul 10 10:31:46 1994
  4. ***************
  5. *** 0 ****
  6. --- 1,19 ----
  7. + SUBDIR=    src man
  8. + all: ${SUBDIR}
  9. + ${SUBDIR}: FRC
  10. +     @cd $@; make ${MFLAGS}
  11. + install:
  12. +     @for i in ${SUBDIR}; do \
  13. +         (cd $$i; make ${MFLAGS} install); \
  14. +     done
  15. + clean:
  16. +     @for i in ${SUBDIR}; do \
  17. +         (cd $$i; make ${MFLAGS} clean); \
  18. +     done
  19. + FRC:
  20. diff -rc --new-file rcs-5.6.0.1/Product-Info /gnu/src/amiga/rcs-5.6.0.1/Product-Info
  21. *** rcs-5.6.0.1/Product-Info    Thu Jan  1 00:00:00 1970
  22. --- /gnu/src/amiga/rcs-5.6.0.1/Product-Info    Tue Jul 12 17:43:07 1994
  23. ***************
  24. *** 0 ****
  25. --- 1,22 ----
  26. + .name
  27. + rcs
  28. + .fullname
  29. + Revision Control System
  30. + .type
  31. + Programmer Tool
  32. + .short
  33. + Revision Control System
  34. + .description
  35. + RCS, the Revision Control System, manages multiple revisions of files.
  36. + RCS can store, retrieve, log, identify, and merge revisions.  It is
  37. + useful for files that are revised frequently, e.g. programs,
  38. + documentation, graphics, and papers.
  39. + .version
  40. + 5.6.0.1
  41. + .author
  42. + Walter F. Tichy
  43. + et. al.
  44. + .distribution
  45. + GNU Public License
  46. + .described-by
  47. + Fred Fish (fnf@amigalib.com)
  48. diff -rc --new-file rcs-5.6.0.1/configure /gnu/src/amiga/rcs-5.6.0.1/configure
  49. *** rcs-5.6.0.1/configure    Thu Jan  1 00:00:00 1970
  50. --- /gnu/src/amiga/rcs-5.6.0.1/configure    Mon May  2 19:48:17 1994
  51. ***************
  52. *** 0 ****
  53. --- 1,623 ----
  54. + #!/bin/sh
  55. + # Guess values for system-dependent variables and create Makefiles.
  56. + # Generated automatically using autoconf version 1.9 
  57. + # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  58. + # This configure script is free software; you can redistribute it and/or
  59. + # modify it under the terms of the GNU General Public License as published
  60. + # by the Free Software Foundation; either version 2, or (at your option)
  61. + # any later version.
  62. + # This script is distributed in the hope that it will be useful, but
  63. + # WITHOUT ANY WARRANTY; without even the implied warranty of
  64. + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  65. + # Public License for more details.
  66. + # You should have received a copy of the GNU General Public License
  67. + # along with this program; if not, write to the Free Software
  68. + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  69. + # Save the original args to write them into config.status later.
  70. + configure_args="$*"
  71. + # Only options that might do something get documented.
  72. + ac_usage="Usage: configure [options] [host]
  73. + Options: [defaults in brackets after descriptions]
  74. + --build=BUILD        configure for building on BUILD [BUILD=HOST]
  75. + --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  76. + --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  77. + --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  78. + --help            print this message
  79. + --host=HOST        configure for HOST [guessed]
  80. + --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  81. + --quiet, --silent    do not print \`checking for...' messages
  82. + --srcdir=DIR        find the sources in DIR [configure dir or ..]
  83. + --target=TARGET        configure for TARGET [TARGET=HOST]
  84. + --verbose        print results of checks
  85. + --version        print the version of autoconf that created configure
  86. + --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  87. + --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  88. + --x-includes=DIR    X include files are in DIR
  89. + --x-libraries=DIR    X library files are in DIR"
  90. + # Initialize some variables set by options.
  91. + # The variables have the same names as the options, with
  92. + # dashes changed to underlines.
  93. + build=NONE
  94. + exec_prefix=
  95. + host=NONE
  96. + no_create=
  97. + nonopt=NONE
  98. + norecursion=
  99. + prefix=
  100. + program_prefix=
  101. + program_suffix=
  102. + program_transform_name=
  103. + silent=
  104. + srcdir=
  105. + target=NONE
  106. + verbose=
  107. + x_includes=
  108. + x_libraries=
  109. + ac_prev=
  110. + for ac_option
  111. + do
  112. +   # If the previous option needs an argument, assign it.
  113. +   if test -n "$ac_prev"; then
  114. +     eval "$ac_prev=\$ac_option"
  115. +     ac_prev=
  116. +     continue
  117. +   fi
  118. +   # Accept (but ignore some of) the important Cygnus configure
  119. +   # options, so we can diagnose typos.
  120. +   case "$ac_option" in
  121. +   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  122. +   *) ac_optarg= ;;
  123. +   esac
  124. +   case "$ac_option" in
  125. +   -build | --build | --buil | --bui | --bu | --b)
  126. +     ac_prev=build ;;
  127. +   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  128. +     build="$ac_optarg" ;;
  129. +   -disable-* | --disable-*)
  130. +     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  131. +     # Reject names that aren't valid shell variable names.
  132. +     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  133. +       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  134. +     fi
  135. +     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  136. +     eval "enable_${ac_feature}=no" ;;
  137. +   -enable-* | --enable-*)
  138. +     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  139. +     # Reject names that aren't valid shell variable names.
  140. +     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  141. +       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  142. +     fi
  143. +     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  144. +     case "$ac_option" in
  145. +       *=*) ;;
  146. +       *) ac_optarg=yes ;;
  147. +     esac
  148. +     eval "enable_${ac_feature}='$ac_optarg'" ;;
  149. +   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  150. +   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  151. +   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  152. +   | --exec | --exe | --ex)
  153. +     ac_prev=exec_prefix ;;
  154. +   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  155. +   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  156. +   | --exec=* | --exe=* | --ex=*)
  157. +     exec_prefix="$ac_optarg" ;;
  158. +   -gas | --gas | --ga | --g)
  159. +     with_gas=yes ;; # Obsolete; use --with-gas.
  160. +   -help | --help | --hel | --he)
  161. +     cat << EOF
  162. + $ac_usage
  163. + EOF
  164. +     exit 0 ;;
  165. +   -host | --host | --hos | --ho)
  166. +     ac_prev=host ;;
  167. +   -host=* | --host=* | --hos=* | --ho=*)
  168. +     host="$ac_optarg" ;;
  169. +   -nfp | --nfp | --nf)
  170. +     with_fp=no ;; # Obsolete; use --without-fp.
  171. +   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  172. +   | --no-cr | --no-c)
  173. +     no_create=yes ;;
  174. +   -norecursion | --norecursion | --norecursio | --norecursi \
  175. +   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  176. +     norecursion=yes ;;
  177. +   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  178. +     ac_prev=prefix ;;
  179. +   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  180. +     prefix="$ac_optarg" ;;
  181. +   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  182. +   | --program-pre | --program-pr | --program-p)
  183. +     ac_prev=program_prefix ;;
  184. +   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  185. +   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  186. +     program_prefix="$ac_optarg" ;;
  187. +   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  188. +   | --program-suf | --program-su | --program-s)
  189. +     ac_prev=program_suffix ;;
  190. +   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  191. +   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  192. +     program_suffix="$ac_optarg" ;;
  193. +   -program-transform-name | --program-transform-name \
  194. +   | --program-transform-nam | --program-transform-na \
  195. +   | --program-transform-n | --program-transform- \
  196. +   | --program-transform | --program-transfor \
  197. +   | --program-transfo | --program-transf \
  198. +   | --program-trans | --program-tran \
  199. +   | --progr-tra | --program-tr | --program-t)
  200. +     ac_prev=program_transform_name ;;
  201. +   -program-transform-name=* | --program-transform-name=* \
  202. +   | --program-transform-nam=* | --program-transform-na=* \
  203. +   | --program-transform-n=* | --program-transform-=* \
  204. +   | --program-transform=* | --program-transfor=* \
  205. +   | --program-transfo=* | --program-transf=* \
  206. +   | --program-trans=* | --program-tran=* \
  207. +   | --progr-tra=* | --program-tr=* | --program-t=*)
  208. +     program_transform_name="$ac_optarg" ;;
  209. +   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  210. +   | -silent | --silent | --silen | --sile | --sil)
  211. +     silent=yes ;;
  212. +   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  213. +     ac_prev=srcdir ;;
  214. +   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  215. +     srcdir="$ac_optarg" ;;
  216. +   -target | --target | --targe | --targ | --tar | --ta | --t)
  217. +     ac_prev=target ;;
  218. +   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  219. +     target="$ac_optarg" ;;
  220. +   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  221. +     verbose=yes ;;
  222. +   -version | --version | --versio | --versi | --vers)
  223. +     /bin/echo "configure generated by autoconf version 1.9"
  224. +     exit 0 ;;
  225. +   -with-* | --with-*)
  226. +     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  227. +     # Reject names that aren't valid shell variable names.
  228. +     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  229. +       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  230. +     fi
  231. +     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  232. +     case "$ac_option" in
  233. +       *=*) ;;
  234. +       *) ac_optarg=yes ;;
  235. +     esac
  236. +     eval "with_${ac_package}='$ac_optarg'" ;;
  237. +   -without-* | --without-*)
  238. +     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  239. +     # Reject names that aren't valid shell variable names.
  240. +     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  241. +       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  242. +     fi
  243. +     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  244. +     eval "with_${ac_package}=no" ;;
  245. +   --x) with_x=yes ;; # Obsolete; use --with-x.
  246. +   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  247. +   | --x-incl | --x-inc | --x-in | --x-i)
  248. +     ac_prev=x_includes ;;
  249. +   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  250. +   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  251. +     x_includes="$ac_optarg" ;;
  252. +   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  253. +   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  254. +     ac_prev=x_libraries ;;
  255. +   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  256. +   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  257. +     x_libraries="$ac_optarg" ;;
  258. +   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  259. +     ;;
  260. +   *) 
  261. +     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  262. +       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  263. +     fi
  264. +     if test "x$nonopt" != xNONE; then
  265. +       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  266. +     fi
  267. +     nonopt="$ac_option"
  268. +     ;;
  269. +   esac
  270. + done
  271. + if test -n "$ac_prev"; then
  272. +   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  273. + fi
  274. + trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  275. + trap 'rm -fr confdefs* $ac_clean_files' 0
  276. + # Save the original args if we used an alternate arg parser.
  277. + ac_configure_temp="${configure_args-$*}"
  278. + # Strip out --no-create and --norecursion so they don't pile up.
  279. + configure_args=
  280. + for ac_arg in $ac_configure_temp; do
  281. +   case "$ac_arg" in
  282. +   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  283. +   | --no-cr | --no-c) ;;
  284. +   -norecursion | --norecursion | --norecursio | --norecursi \
  285. +   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  286. +   *) configure_args="$configure_args $ac_arg" ;;
  287. +   esac
  288. + done
  289. + # NLS nuisances.
  290. + # These must not be set unconditionally because not all systems understand
  291. + # e.g. LANG=C (notably SCO).
  292. + if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  293. + if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  294. + # confdefs.h avoids OS command line length limits that DEFS can exceed.
  295. + rm -rf conftest* confdefs.h
  296. + # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  297. + /bin/echo > confdefs.h
  298. + # A filename unique to this package, relative to the directory that
  299. + # configure is in, which we can look for to find out if srcdir is correct.
  300. + ac_unique_file=rcs.ms
  301. + # Find the source files, if location was not specified.
  302. + if test -z "$srcdir"; then
  303. +   ac_srcdir_defaulted=yes
  304. +   # Try the directory containing this script, then `..'.
  305. +   ac_prog=$0
  306. +   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  307. +   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  308. +   srcdir=$ac_confdir
  309. +   if test ! -r $srcdir/$ac_unique_file; then
  310. +     srcdir=..
  311. +   fi
  312. + fi
  313. + if test ! -r $srcdir/$ac_unique_file; then
  314. +   if test x$ac_srcdir_defaulted = xyes; then
  315. +     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  316. +   else
  317. +     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  318. +   fi
  319. + fi
  320. + ac_ext=c
  321. + ac_cpp='${CPP} $CFLAGS'
  322. + ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  323. + # We want these before the checks, so the checks can modify their values.
  324. + test -z "$CFLAGS" && CFLAGS= auto_cflags=1
  325. + test -z "$LDFLAGS" && LDFLAGS=
  326. + if test -z "$CC"; then
  327. +   # Extract the first word of `gcc', so it can be a program name with args.
  328. +   set ac_dummy gcc; ac_word=$2
  329. +   test -n "$silent" || /bin/echo "checking for $ac_word"
  330. +   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  331. +   for ac_dir in $PATH; do
  332. +     test -z "$ac_dir" && ac_dir=.
  333. +     if test -f $ac_dir/$ac_word; then
  334. +       CC="gcc"
  335. +       break
  336. +     fi
  337. +   done
  338. +   IFS="$ac_save_ifs"
  339. + fi
  340. + test -z "$CC" && CC="cc"
  341. + test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  342. + # Find out if we are using GNU C, under whatever name.
  343. + cat > conftest.c <<EOF
  344. + #ifdef __GNUC__
  345. +   yes
  346. + #endif
  347. + EOF
  348. + ${CC-cc} -E conftest.c > conftest.out 2>&1
  349. + if egrep yes conftest.out >/dev/null 2>&1; then
  350. +   GCC=1 # For later tests.
  351. + fi
  352. + rm -f conftest*
  353. + # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
  354. + test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
  355. + test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  356. + if test -z "$CPP"; then
  357. +   # This must be in double quotes, not single quotes, because CPP may get
  358. +   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  359. +   # make.  It must be expanded now.
  360. +   CPP="${CC-cc} -E"
  361. +   cat > conftest.${ac_ext} <<EOF
  362. + #include "confdefs.h"
  363. + #include <stdio.h>
  364. + Syntax Error
  365. + EOF
  366. + # Some shells (Coherent) do redirections in the wrong order, so need
  367. + # the parens.
  368. + ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  369. + if test -z "$ac_err"; then
  370. +   :
  371. + else
  372. +   rm -rf conftest*
  373. +   CPP="${CC-cc} -E -traditional-cpp"
  374. +   cat > conftest.${ac_ext} <<EOF
  375. + #include "confdefs.h"
  376. + #include <stdio.h>
  377. + Syntax Error
  378. + EOF
  379. + # Some shells (Coherent) do redirections in the wrong order, so need
  380. + # the parens.
  381. + ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  382. + if test -z "$ac_err"; then
  383. +   :
  384. + else
  385. +   rm -rf conftest*
  386. +   CPP=/lib/cpp
  387. + fi
  388. + rm -f conftest*
  389. + fi
  390. + rm -f conftest*
  391. + fi
  392. + test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  393. + if test -n "$GCC"; then
  394. +   test -n "$silent" || /bin/echo "checking whether -traditional is needed"
  395. +   ac_pattern="Autoconf.*'x'"
  396. +   ac_prog='#include <sgtty.h>
  397. + Autoconf TIOCGETP'
  398. +   cat > conftest.${ac_ext} <<EOF
  399. + #include "confdefs.h"
  400. + $ac_prog
  401. + EOF
  402. + eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  403. + if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  404. +   rm -rf conftest*
  405. +   ac_need_trad=1
  406. + fi
  407. + rm -f conftest*
  408. +   if test -z "$ac_need_trad"; then
  409. +     ac_prog='#include <termio.h>
  410. + Autoconf TCGETA'
  411. +     cat > conftest.${ac_ext} <<EOF
  412. + #include "confdefs.h"
  413. + $ac_prog
  414. + EOF
  415. + eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  416. + if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  417. +   rm -rf conftest*
  418. +   ac_need_trad=1
  419. + fi
  420. + rm -f conftest*
  421. +   fi
  422. +   test -n "$ac_need_trad" && CC="$CC -traditional"
  423. + fi
  424. + # Make sure to not get the incompatible SysV /etc/install and
  425. + # /usr/sbin/install, which might be in PATH before a BSD-like install,
  426. + # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  427. + # or the AFS install, which mishandles nonexistent args, or
  428. + # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  429. + # `staff', or /sbin/install on IRIX which has incompatible command-line
  430. + # syntax.  Sigh.
  431. + #
  432. + #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  433. + #     anyway.
  434. + # This turns out not to be true, so the mere pathname isn't an indication
  435. + # of whether the program works.  What we really need is a set of tests for
  436. + # the install program to see if it actually works in all the required ways.
  437. + #
  438. + # Avoid using ./install, which might have been erroneously created
  439. + # by make from ./install.sh.
  440. + if test "z${INSTALL}" = "z" ; then
  441. +   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  442. +   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  443. +   for ac_dir in $PATH; do
  444. +     case "$ac_dir" in
  445. +     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  446. +     *)
  447. +       # OSF1 and SCO ODT 3.0 have their own names for install.
  448. +       for ac_prog in installbsd scoinst install; do
  449. +         if test -f $ac_dir/$ac_prog; then
  450. +       if test $ac_prog = install &&
  451. +             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  452. +         # AIX install.  It has an incompatible calling convention.
  453. +         # OSF/1 installbsd also uses dspmsg, but is usable.
  454. +         :
  455. +       else
  456. +         INSTALL="$ac_dir/$ac_prog -c"
  457. +         INSTALL_PROGRAM='${INSTALL}'
  458. +         INSTALL_DATA='${INSTALL} -m 644'
  459. +         break 2
  460. +       fi
  461. +     fi
  462. +       done
  463. +       ;;
  464. +     esac
  465. +   done
  466. +   IFS="$ac_save_ifs"
  467. + fi
  468. + if test -z "$INSTALL"; then
  469. +   if test -f ${srcdir}/install.sh; then
  470. +     # As a last resort, use the slow shell script.
  471. +     INSTALL='@top_srcdir@/install.sh -c'
  472. +   else
  473. +     /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
  474. +     INSTALL=cp
  475. +   fi
  476. + fi
  477. + test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  478. + # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  479. + # It thinks the first close brace ends the variable substitution.
  480. + test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  481. + test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  482. + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
  483. + test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  484. + # Set default prefixes.
  485. + if test -n "$prefix"; then
  486. +   test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
  487. +   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  488. + fi
  489. + if test -n "$exec_prefix"; then
  490. +   ac_prsub="$ac_prsub
  491. + s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  492. + fi
  493. + # Any assignment to VPATH causes Sun make to only execute
  494. + # the first set of double-colon rules, so remove it if not needed.
  495. + # If there is a colon in the path, we need to keep it.
  496. + if test "x$srcdir" = x.; then
  497. +   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  498. + fi
  499. + # Quote sed substitution magic chars in DEFS.
  500. + cat >conftest.def <<EOF
  501. + $DEFS
  502. + EOF
  503. + ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  504. + DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  505. + rm -f conftest.def
  506. + # Substitute for predefined variables.
  507. + trap 'rm -f config.status; exit 1' 1 2 15
  508. + /bin/echo creating config.status
  509. + rm -f config.status
  510. + cat > config.status <<EOF
  511. + #!/bin/sh
  512. + # Generated automatically by configure.
  513. + # Run this file to recreate the current configuration.
  514. + # This directory was configured as follows,
  515. + # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  516. + #
  517. + # $0 $configure_args
  518. + ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  519. + for ac_option
  520. + do
  521. +   case "\$ac_option" in
  522. +   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  523. +     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  524. +     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  525. +   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  526. +     /bin/echo "config.status generated by autoconf version 1.9"
  527. +     exit 0 ;;
  528. +   -help | --help | --hel | --he | --h)
  529. +     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  530. +   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  531. +   esac
  532. + done
  533. + trap 'rm -f Makefile src/Makefile man/Makefile; exit 1' 1 2 15
  534. + CC='$CC'
  535. + CFLAGS='$CFLAGS'
  536. + LDFLAGS='$LDFLAGS'
  537. + CPP='$CPP'
  538. + INSTALL='$INSTALL'
  539. + INSTALL_PROGRAM='$INSTALL_PROGRAM'
  540. + INSTALL_DATA='$INSTALL_DATA'
  541. + LIBS='$LIBS'
  542. + srcdir='$srcdir'
  543. + top_srcdir='$top_srcdir'
  544. + prefix='$prefix'
  545. + exec_prefix='$exec_prefix'
  546. + DEFS='$DEFS'
  547. + ac_prsub='$ac_prsub'
  548. + ac_vpsub='$ac_vpsub'
  549. + extrasub='$extrasub'
  550. + EOF
  551. + cat >> config.status <<\EOF
  552. + ac_given_srcdir=$srcdir
  553. + CONFIG_FILES=${CONFIG_FILES-"Makefile src/Makefile man/Makefile"}
  554. + for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  555. +   # Remove last slash and all that follows it.  Not all systems have dirname.
  556. +   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  557. +   if test "$ac_dir" != "$ac_file"; then
  558. +     # The file is in a subdirectory.
  559. +     test ! -d "$ac_dir" && mkdir "$ac_dir"
  560. +     ac_dir_suffix="/$ac_dir"
  561. +   else
  562. +     ac_dir_suffix=
  563. +   fi
  564. +   # A "../" for each directory in $ac_dir_suffix.
  565. +   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  566. +   case "$ac_given_srcdir" in
  567. +   .)  srcdir=.; top_srcdir="$ac_dots." ;;
  568. +   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  569. +   *) # Relative path.
  570. +     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  571. +     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  572. +   esac
  573. +   /bin/echo creating "$ac_file"
  574. +   rm -f "$ac_file"
  575. +   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  576. +   case "$ac_file" in
  577. +     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  578. +     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  579. +   esac
  580. +   sed -e "
  581. + $ac_prsub
  582. + $ac_vpsub
  583. + $extrasub
  584. + s%@CC@%$CC%g
  585. + s%@CFLAGS@%$CFLAGS%g
  586. + s%@LDFLAGS@%$LDFLAGS%g
  587. + s%@CPP@%$CPP%g
  588. + s%@INSTALL@%$INSTALL%g
  589. + s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  590. + s%@INSTALL_DATA@%$INSTALL_DATA%g
  591. + s%@LIBS@%$LIBS%g
  592. + s%@srcdir@%$srcdir%g
  593. + s%@top_srcdir@%$top_srcdir%g
  594. + s%@prefix@%$prefix%g
  595. + s%@exec_prefix@%$exec_prefix%g
  596. + s%@DEFS@%$DEFS%
  597. + " $ac_given_srcdir/${ac_file}.in >> $ac_file
  598. + fi; done
  599. + exit 0
  600. + EOF
  601. + chmod +x config.status
  602. + test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
  603. diff -rc --new-file rcs-5.6.0.1/configure.in /gnu/src/amiga/rcs-5.6.0.1/configure.in
  604. *** rcs-5.6.0.1/configure.in    Thu Jan  1 00:00:00 1970
  605. --- /gnu/src/amiga/rcs-5.6.0.1/configure.in    Mon May  2 19:48:17 1994
  606. ***************
  607. *** 0 ****
  608. --- 1,20 ----
  609. + dnl Process this file with autoconf to produce a configure script.
  610. + AC_INIT(rcs.ms)
  611. + # We want these before the checks, so the checks can modify their values.
  612. + test -z "$CFLAGS" && CFLAGS= auto_cflags=1
  613. + test -z "$LDFLAGS" && LDFLAGS=
  614. + AC_PROG_CC
  615. + # If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
  616. + test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
  617. + AC_SUBST(CFLAGS)dnl
  618. + AC_SUBST(LDFLAGS)dnl
  619. + AC_PROG_CPP
  620. + AC_GCC_TRADITIONAL
  621. + AC_PROG_INSTALL
  622. + AC_OUTPUT(Makefile src/Makefile man/Makefile)
  623. diff -rc --new-file rcs-5.6.0.1/man/Makefile /gnu/src/amiga/rcs-5.6.0.1/man/Makefile
  624. *** rcs-5.6.0.1/man/Makefile    Fri Nov 22 15:25:19 1991
  625. --- /gnu/src/amiga/rcs-5.6.0.1/man/Makefile    Thu Feb 24 09:42:47 1994
  626. ***************
  627. *** 2,8 ****
  628.   
  629.   #    $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
  630.   
  631. ! MANDIR = /usr/man
  632.   
  633.   install = install -c -m 444
  634.   
  635. --- 2,8 ----
  636.   
  637.   #    $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
  638.   
  639. ! MANDIR = /gnu/man
  640.   
  641.   install = install -c -m 444
  642.   
  643. diff -rc --new-file rcs-5.6.0.1/man/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/man/Makefile.in
  644. *** rcs-5.6.0.1/man/Makefile.in    Thu Jan  1 00:00:00 1970
  645. --- /gnu/src/amiga/rcs-5.6.0.1/man/Makefile.in    Tue May  3 14:30:51 1994
  646. ***************
  647. *** 0 ****
  648. --- 1,39 ----
  649. + # Make RCS man pages.
  650. + #    $Id: Makefile,v 5.2 1991/08/19 03:13:55 eggert Exp $
  651. + #### Start of system configuration section. ####
  652. + VPATH = @srcdir@
  653. + srcdir = @srcdir@
  654. + # Common prefix for machine-independent installed files.
  655. + prefix = /gnu
  656. + # Directory to install the Info files in.
  657. + infodir = $(prefix)/info
  658. + # Directory to install the man page in.
  659. + mandir1 = $(prefix)/man/man1
  660. + mandir5 = $(prefix)/man/man5
  661. + # Program to install data like man pages.
  662. + INSTALL_DATA = @INSTALL_DATA@
  663. + # Generic install program.
  664. + INSTALL = @INSTALL@
  665. + #### End of system configuration section. ####
  666. + all clean ::
  667. + install ::
  668. +     $(INSTALL_DATA) $(srcdir)/ci.1 $(mandir1)/ci.1
  669. +     $(INSTALL_DATA) $(srcdir)/co.1 $(mandir1)/co.1
  670. +     $(INSTALL_DATA) $(srcdir)/ident.1 $(mandir1)/ident.1
  671. +     $(INSTALL_DATA) $(srcdir)/merge.1 $(mandir1)/merge.1
  672. +     $(INSTALL_DATA) $(srcdir)/rcs.1 $(mandir1)/rcs.1
  673. +     $(INSTALL_DATA) $(srcdir)/rcsdiff.1 $(mandir1)/rcsdiff.1
  674. +     $(INSTALL_DATA) $(srcdir)/rcsintro.1 $(mandir1)/rcsintro.1
  675. +     $(INSTALL_DATA) $(srcdir)/rcsmerge.1 $(mandir1)/rcsmerg.1
  676. +     $(INSTALL_DATA) $(srcdir)/rlog.1 $(mandir1)/rlog.1
  677. +     $(INSTALL_DATA) $(srcdir)/rcsfile.5 $(mandir5)/rcsfile.5
  678. diff -rc --new-file rcs-5.6.0.1/src/Makefile /gnu/src/amiga/rcs-5.6.0.1/src/Makefile
  679. *** rcs-5.6.0.1/src/Makefile    Thu Mar 25 04:36:22 1993
  680. --- /gnu/src/amiga/rcs-5.6.0.1/src/Makefile    Thu Feb 24 09:37:30 1994
  681. ***************
  682. *** 32,45 ****
  683.   
  684.   #(Unix
  685.   
  686. !  CC = cc
  687.   #CC = bsdcc -qlanglvl=ansi# AIX
  688.   #CC = cc -g# debug
  689.   #CC = gcc -g# GCC
  690.   
  691.    CC_D =
  692.   
  693. !  CC_O = -O
  694.   #CC_O =# debug
  695.   #CC_O = -O -R# BSD compilers that do not support `const'
  696.   #CC_O = -O -fdelayed-branch -finline-functions -fomit-frame-pointer -fstrength-reduce# GCC options for brave souls
  697. --- 32,45 ----
  698.   
  699.   #(Unix
  700.   
  701. !  CC = gcc
  702.   #CC = bsdcc -qlanglvl=ansi# AIX
  703.   #CC = cc -g# debug
  704.   #CC = gcc -g# GCC
  705.   
  706.    CC_D =
  707.   
  708. !  CC_O = -O2
  709.   #CC_O =# debug
  710.   #CC_O = -O -R# BSD compilers that do not support `const'
  711.   #CC_O = -O -fdelayed-branch -finline-functions -fomit-frame-pointer -fstrength-reduce# GCC options for brave souls
  712. ***************
  713. *** 55,61 ****
  714.    DIFF = $(DIFFPREFIX)diff
  715.   #DIFF = $(DIFFPREFIX)rdiff# short for ``RCS diff'' on some hosts
  716.   
  717. !  DIFFPREFIX = /usr/local/gnu/# GNU diff -- must be version 1.15 or later
  718.   #DIFFPREFIX = /bin/# traditional diff
  719.   #DIFFPREFIX = /usr/bin/# traditional diff (alternate name)
  720.   
  721. --- 55,61 ----
  722.    DIFF = $(DIFFPREFIX)diff
  723.   #DIFF = $(DIFFPREFIX)rdiff# short for ``RCS diff'' on some hosts
  724.   
  725. !  DIFFPREFIX = /gnu/bin/# GNU diff -- must be version 1.15 or later
  726.   #DIFFPREFIX = /bin/# traditional diff
  727.   #DIFFPREFIX = /usr/bin/# traditional diff (alternate name)
  728.   
  729. ***************
  730. *** 84,94 ****
  731.    DIFF3_BIN = 1# GNU diff
  732.   #DIFF3_BIN = 0# traditional diff
  733.   
  734. !  ED = /bin/ed
  735.   
  736.    EXECUTABLE_GROUP = staff# BSD unix installation
  737.    EXECUTABLE_PERMISSIONS = -g $(EXECUTABLE_GROUP) -m 775# BSD unix installation
  738. !  INSTALL = install -c $(EXECUTABLE_PERMISSIONS)# BSD unix installation
  739.   #INSTALL = cp# traditional Unix installation
  740.   
  741.    LDFLAGS =
  742. --- 84,94 ----
  743.    DIFF3_BIN = 1# GNU diff
  744.   #DIFF3_BIN = 0# traditional diff
  745.   
  746. !  ED = /gnu/bin/emacs
  747.   
  748.    EXECUTABLE_GROUP = staff# BSD unix installation
  749.    EXECUTABLE_PERMISSIONS = -g $(EXECUTABLE_GROUP) -m 775# BSD unix installation
  750. !  INSTALL = /gnu/bin/install -c $(EXECUTABLE_PERMISSIONS)# BSD unix installation
  751.   #INSTALL = cp# traditional Unix installation
  752.   
  753.    LDFLAGS =
  754. ***************
  755. *** 104,110 ****
  756.   
  757.    OTHER_OBJECT =
  758.   
  759. !  RCSDIR = /usr/local/bin
  760.   #RCSDIR = /bin
  761.   #RCSDIR = /usr/bin
  762.   
  763. --- 104,110 ----
  764.   
  765.    OTHER_OBJECT =
  766.   
  767. !  RCSDIR = /gnu/bin
  768.   #RCSDIR = /bin
  769.   #RCSDIR = /usr/bin
  770.   
  771. ***************
  772. *** 113,119 ****
  773.   
  774.    REMOVE = rm -f
  775.   
  776. !  SENDMAIL = "/bin/mail"
  777.   #SENDMAIL = "/etc/delivermail", "-w"
  778.   #SENDMAIL = "/usr/bin/mail"
  779.   #SENDMAIL = "/usr/lib/sendmail"
  780. --- 113,119 ----
  781.   
  782.    REMOVE = rm -f
  783.   
  784. !  SENDMAIL =
  785.   #SENDMAIL = "/etc/delivermail", "-w"
  786.   #SENDMAIL = "/usr/bin/mail"
  787.   #SENDMAIL = "/usr/lib/sendmail"
  788. ***************
  789. *** 175,181 ****
  790.       LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
  791.       RCSPREFIX='$(RCSPREFIX)' \
  792.       SENDMAIL='$(SENDMAIL)' \
  793. !     sh -x conf.sh >a.h 2>conf.error
  794.       mv a.h $@
  795.       $(REMOVE) a.*
  796.   #)
  797. --- 175,181 ----
  798.       LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
  799.       RCSPREFIX='$(RCSPREFIX)' \
  800.       SENDMAIL='$(SENDMAIL)' \
  801. !     sh -x conf.sh 2>conf.error
  802.       mv a.h $@
  803.       $(REMOVE) a.*
  804.   #)
  805. diff -rc --new-file rcs-5.6.0.1/src/Makefile.in /gnu/src/amiga/rcs-5.6.0.1/src/Makefile.in
  806. *** rcs-5.6.0.1/src/Makefile.in    Thu Jan  1 00:00:00 1970
  807. --- /gnu/src/amiga/rcs-5.6.0.1/src/Makefile.in    Tue May  3 14:28:05 1994
  808. ***************
  809. *** 0 ****
  810. --- 1,178 ----
  811. + # $Id: Makefile,v 5.16.0.1 1993/03/25 04:36:22 eggert Exp $
  812. + # Copyright (C) 1982, 1988, 1989 Walter Tichy
  813. + # Copyright 1990, 1991 by Paul Eggert
  814. + #   Distributed under license by the Free Software Foundation, Inc.
  815. + #
  816. + # This file is part of RCS.
  817. + #
  818. + # RCS is free software; you can redistribute it and/or modify
  819. + # it under the terms of the GNU General Public License as published by
  820. + # the Free Software Foundation; either version 2, or (at your option)
  821. + # any later version.
  822. + #
  823. + # RCS is distributed in the hope that it will be useful,
  824. + # but WITHOUT ANY WARRANTY; without even the implied warranty of
  825. + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  826. + # GNU General Public License for more details.
  827. + #
  828. + # You should have received a copy of the GNU General Public License
  829. + # along with RCS; see the file COPYING.  If not, write to
  830. + # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  831. + #
  832. + # Report problems and direct all questions to:
  833. + #
  834. + #    rcs-bugs@cs.purdue.edu
  835. + #
  836. + #### Start of system configuration section. ####
  837. + VPATH =        @srcdir@
  838. + srcdir =    @srcdir@
  839. + # Common prefix for machine-independent installed files.
  840. + prefix =    /gnu
  841. + # Common prefix for machine-dependent installed files.
  842. + exec_prefix =    $(prefix)
  843. + # Directory to install executables in.
  844. + bindir =    $(exec_prefix)/bin
  845. + # Program to install executables.
  846. + INSTALL_PROGRAM = @INSTALL_PROGRAM@
  847. + # Program to install data like man pages.
  848. + INSTALL_DATA =    @INSTALL_DATA@
  849. + # Generic install program.
  850. + INSTALL =    @INSTALL@
  851. + CC =        @CC@
  852. + DEFS =        @DEFS@
  853. + CFLAGS =    @CFLAGS@
  854. + LDFLAGS =    @LDFLAGS@
  855. + LIBS =        @LIBS@
  856. + SHELL =        /bin/sh
  857. + LINT =        lint -abchx# traditional and BSD lint
  858. + MAKE =        make
  859. + REMOVE =    rm -f
  860. + #### End of system configuration section. ####
  861. + SOURCE=        ci.c co.c ident.c maketime.c merge.c merger.c partime.c \
  862. +         rcs.c rcsclean.c rcsdiff.c rcsedit.c rcsfcmp.c rcsfnms.c \
  863. +         rcsgen.c rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsmerge.c \
  864. +         rcsrev.c rcssyn.c rcsutil.c rlog.c
  865. + OBJECT=        ci.o co.o ident.o maketime.o merge.o merger.o partime.o \
  866. +         rcs.o rcsclean.o rcsdiff.o rcsedit.o rcsfcmp.o rcsfnms.o \
  867. +         rcsgen.o rcskeep.o rcskeys.o rcslex.o rcsmap.o rcsmerge.o \
  868. +         rcsrev.o rcssyn.o rcsutil.o rlog.o
  869. + CI_OBJ =    ci.o rcslex.o rcssyn.o rcsgen.o rcsedit.o rcskeys.o \
  870. +         rcsmap.o rcsrev.o rcsutil.o rcsfnms.o partime.o maketime.o \
  871. +         rcskeep.o rcsfcmp.o $(OTHER_OBJECT)
  872. + CO_OBJ =    co.o rcslex.o rcssyn.o rcsgen.o rcsedit.o rcskeys.o \
  873. +         rcsmap.o rcsrev.o rcsutil.o rcsfnms.o partime.o maketime.o \
  874. +         rcskeep.o $(OTHER_OBJECT)
  875. + IDENT_OBJ =    ident.o rcsmap.o $(OTHER_OBJECT)
  876. + MERGE_OBJ =    merge.o merger.o rcsfnms.o rcslex.o rcsmap.o rcsrev.o \
  877. +         rcssyn.o rcsutil.o rcskeep.o rcskeys.o $(OTHER_OBJECT)
  878. + RLOG_OBJ =    rlog.o rcslex.o rcsmap.o rcssyn.o rcsrev.o rcsutil.o \
  879. +         partime.o maketime.o rcsfnms.o rcskeep.o rcskeys.o \
  880. +         $(OTHER_OBJECT)
  881. + RCS_OBJ =    rcs.o rcslex.o rcssyn.o rcsrev.o rcsutil.o rcsgen.o \
  882. +         rcsedit.o rcskeys.o rcsmap.o rcsfnms.o rcskeep.o \
  883. +         $(OTHER_OBJECT)
  884. + RCSCLEAN_OBJ =    rcsclean.o rcsedit.o rcsfcmp.o rcsfnms.o rcsgen.o \
  885. +         rcskeys.o rcslex.o rcsmap.o rcsrev.o rcssyn.o rcsutil.o \
  886. +         rcskeep.o $(OTHER_OBJECT)
  887. + RCSDIFF_OBJ =    rcsdiff.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o rcssyn.o \
  888. +         rcslex.o maketime.o partime.o rcskeep.o rcskeys.o \
  889. +         $(OTHER_OBJECT)
  890. + RCSMERGE_OBJ =    rcsmerge.o merger.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o \
  891. +         rcssyn.o rcslex.o rcskeep.o rcskeys.o $(OTHER_OBJECT)
  892. + RCSCOMMANDS =    ci co ident merge rcs rcsdiff rcsmerge rlog
  893. + RCSTEST =    PATH=$(RCSDIR):$(bindir)/.:$$PATH sh $(TESTPREFIX)rcstest
  894. + # "-I." is needed to find conf.h in the build directory.
  895. + .c.o:
  896. +         $(CC) -c -I. -I$(srcdir) $(DEFS) $(CFLAGS) $< $(OUTPUT_OPTION)
  897. + default ::    all
  898. + all ::        $(RCSCOMMANDS)
  899. + ci :        $(CI_OBJ)
  900. +         $(CC) $(LDFLAGS) $(CI_OBJ) $(LIBS) -o $@
  901. + co :        $(CO_OBJ)
  902. +         $(CC) $(LDFLAGS) $(CO_OBJ) $(LIBS) -o $@
  903. + ident :        $(IDENT_OBJ)
  904. +         $(CC) $(LDFLAGS) $(IDENT_OBJ) $(LIBS) -o $@
  905. + merge :        $(MERGE_OBJ)
  906. +         $(CC) $(LDFLAGS) $(MERGE_OBJ) $(LIBS) -o $@
  907. + rlog :        $(RLOG_OBJ)
  908. +         $(CC) $(LDFLAGS) $(RLOG_OBJ) $(LIBS) -o $@
  909. + rcs :        $(RCS_OBJ)
  910. +         $(CC) $(LDFLAGS) $(RCS_OBJ) $(LIBS) -o $@
  911. + rcsclean :    $(RCSCLEAN_OBJ)
  912. +         $(CC) $(LDFLAGS) $(RCSCLEAN_OBJ) $(LIBS) -o $@
  913. + rcsdiff :    $(RCSDIFF_OBJ)
  914. +         $(CC) $(LDFLAGS) $(RCSDIFF_OBJ) $(LIBS) -o $@
  915. + rcsmerge :    $(RCSMERGE_OBJ)
  916. +         $(CC) $(LDFLAGS) $(RCSMERGE_OBJ) $(LIBS) -o $@
  917. + lint ::        conf.h
  918. +         $(LINT) $(CC_D) -Dlint=1 $(SOURCE)
  919. + $(OBJECT) :     conf.h rcsbase.h
  920. + install :: all
  921. +         $(INSTALL_PROGRAM) ci $(bindir)/ci
  922. +         $(INSTALL_PROGRAM) co $(bindir)/co
  923. +         $(INSTALL_PROGRAM) ident $(bindir)/ident
  924. +         $(INSTALL_PROGRAM) merge $(bindir)/merge
  925. +         $(INSTALL_PROGRAM) rcs $(bindir)/rcs
  926. +         $(INSTALL_PROGRAM) rcsdiff $(bindir)/rcsdiff
  927. +         $(INSTALL_PROGRAM) rcsmerge $(bindir)/rcsmerge
  928. +         $(INSTALL_PROGRAM) rlog $(bindir)/rlog
  929. + # Install RCS and (if applicable) GNU diff before running these tests.
  930. + # To test RCS before installing it, see README.
  931. + installtest ::
  932. +         $(RCSTEST)
  933. + installdebug ::
  934. +         $(RCSTEST) -v
  935. + clean ::
  936. +         $(REMOVE) a.* *.o conf.h conf.error
  937. +         $(REMOVE) $(RCSCOMMANDS) rcsclean
  938. diff -rc --new-file rcs-5.6.0.1/src/conf.h /gnu/src/amiga/rcs-5.6.0.1/src/conf.h
  939. *** rcs-5.6.0.1/src/conf.h    Thu Jan  1 00:00:00 1970
  940. --- /gnu/src/amiga/rcs-5.6.0.1/src/conf.h    Mon May  2 19:47:58 1994
  941. ***************
  942. *** 0 ****
  943. --- 1,498 ----
  944. + /* ***NOTE***  This file cannot yet be easily generated on the Amiga.  -fnf */
  945. + /* RCS compile-time configuration */
  946. +     /* $Id: conf.sh,v 5.14.0.1 1993/03/25 04:24:49 eggert Exp $ */
  947. + /*
  948. +  * This file is generated automatically.
  949. +  * If you edit it by hand your changes may be lost.
  950. +  * Instead, please try to fix conf.sh,
  951. +  * and send your fixes to rcs-bugs@cs.purdue.edu.
  952. +  */
  953. + #define exitmain(n) return n /* how to exit from main() */
  954. + /* #define _POSIX_SOURCE */ /* Define this if Posix + strict Standard C.  */
  955. + #include <errno.h>
  956. + #include <stdio.h>
  957. + #include <time.h>
  958. + /* Comment out #include lines below that do not work.  */
  959. + #include <sys/types.h>
  960. + #include <sys/stat.h>
  961. + #include <dirent.h>
  962. + #include <fcntl.h>
  963. + #include <limits.h>
  964. + #include <pwd.h>
  965. + #include <signal.h>
  966. + #include <stdlib.h>
  967. + #include <string.h>
  968. + /* #include <sys/mman.h> */
  969. + #include <sys/wait.h>
  970. + #include <unistd.h>
  971. + #include <utime.h>
  972. + /* #include <vfork.h> */
  973. + /* Define the following symbols to be 1 or 0.  */
  974. + #define has_sys_dir_h 1 /* Does #include <sys/dir.h> work?  */
  975. + #define has_sys_param_h 1 /* Does #include <sys/param.h> work?  */
  976. + #define has_readlink 1 /* Does readlink() work?  */
  977. + /* #undef NAME_MAX */ /* Uncomment this if NAME_MAX is broken.  */
  978. + #if !defined(NAME_MAX) && !defined(_POSIX_NAME_MAX)
  979. + #    if has_sys_dir_h
  980. + #        include <sys/dir.h>
  981. + #    endif
  982. + #    ifndef NAME_MAX
  983. + #        ifndef MAXNAMLEN
  984. + #            define MAXNAMLEN 14
  985. + #        endif
  986. + #        define NAME_MAX MAXNAMLEN
  987. + #    endif
  988. + #endif
  989. + #if !defined(PATH_MAX) && !defined(_POSIX_PATH_MAX)
  990. + #    if has_sys_param_h
  991. + #        include <sys/param.h>
  992. + #        define included_sys_param_h 1
  993. + #    endif
  994. + #    ifndef PATH_MAX
  995. + #        ifndef MAXPATHLEN
  996. + #            define MAXPATHLEN 1024
  997. + #        endif
  998. + #        define PATH_MAX (MAXPATHLEN-1)
  999. + #    endif
  1000. + #endif
  1001. + #if has_readlink && !defined(MAXSYMLINKS)
  1002. + #    if has_sys_param_h && !included_sys_param_h
  1003. + #        include <sys/param.h>
  1004. + #    endif
  1005. + #    ifndef MAXSYMLINKS
  1006. + #        define MAXSYMLINKS 20 /* BSD; not standard yet */
  1007. + #    endif
  1008. + #endif
  1009. + /* Comment out the keyword definitions below if the keywords work.  */
  1010. + /* #define const */
  1011. + /* #define volatile */
  1012. + /* Comment out the typedefs below if the types are already declared.  */
  1013. + /* Fix any uncommented typedefs that are wrong.  */
  1014. + /* typedef int mode_t; */
  1015. + /* typedef int pid_t; */
  1016. + typedef int sig_atomic_t;
  1017. + /* typedef unsigned size_t; */
  1018. + /* typedef int ssize_t; */
  1019. + /* typedef long time_t; */
  1020. + /* typedef int uid_t; */
  1021. + /* Define the following symbols to be 1 or 0.  */
  1022. + #define has_prototypes 1 /* Do function prototypes work?  */
  1023. + #define has_stdarg 1 /* Does <stdarg.h> work?  */
  1024. + #define has_varargs 0 /* Does <varargs.h> work?  */
  1025. + #define va_start_args 2 /* How many args does va_start() take?  */
  1026. + #if has_prototypes
  1027. + #    define P(params) params
  1028. + #else
  1029. + #    define P(params) ()
  1030. + #endif
  1031. + #if has_stdarg
  1032. + #    include <stdarg.h>
  1033. + #else
  1034. + #    if has_varargs
  1035. + #        include <varargs.h>
  1036. + #    else
  1037. +         typedef char *va_list;
  1038. + #        define va_dcl int va_alist;
  1039. + #        define va_start(ap) ((ap) = (va_list)&va_alist)
  1040. + #        define va_arg(ap,t) (((t*) ((ap)+=sizeof(t)))  [-1])
  1041. + #        define va_end(ap)
  1042. + #    endif
  1043. + #endif
  1044. + #if va_start_args == 2
  1045. + #    define vararg_start va_start
  1046. + #else
  1047. + #    define vararg_start(ap,p) va_start(ap)
  1048. + #endif
  1049. + #define text_equals_binary_stdio 1 /* Does stdio treat text like binary?  */
  1050. + #define text_work_stdio 0 /* Text i/o for working file, binary for RCS file?  */
  1051. + #if text_equals_binary_stdio
  1052. +     /* Text and binary i/o behave the same, or binary i/o does not work.  */
  1053. + #    define FOPEN_R "r"
  1054. + #    define FOPEN_W "w"
  1055. + #    define FOPEN_WPLUS "w+"
  1056. + #else
  1057. +     /* Text and binary i/o behave differently.  */
  1058. +     /* This is incompatible with Posix and Unix.  */
  1059. + #    define FOPEN_R "rb"
  1060. + #    define FOPEN_W "wb"
  1061. + #    define FOPEN_WPLUS "w+b"
  1062. + #endif
  1063. + #if text_work_stdio
  1064. + #    define FOPEN_R_WORK "r"
  1065. + #    define FOPEN_W_WORK "w"
  1066. + #    define FOPEN_WPLUS_WORK "w+"
  1067. + #else
  1068. + #    define FOPEN_R_WORK FOPEN_R
  1069. + #    define FOPEN_W_WORK FOPEN_W
  1070. + #    define FOPEN_WPLUS_WORK FOPEN_WPLUS
  1071. + #endif
  1072. + /* Define or comment out the following symbols as needed.  */
  1073. + #define bad_fopen_wplus 0 /* Does fopen(f,FOPEN_WPLUS) fail to truncate f?  */
  1074. + #define getlogin_is_secure 0 /* Is getlogin() secure?  Usually it's not.  */
  1075. + #define has_dirent 1 /* Do opendir(), readdir(), closedir() work?  */
  1076. + #define has_fchmod 1 /* Does fchmod() work?  */
  1077. + #define has_fputs 0 /* Does fputs() work?  */
  1078. + #define has_ftruncate 0 /* Does ftruncate() work?  */
  1079. + #define has_getuid 1 /* Does getuid() work?  */
  1080. + #define has_getpwuid 1 /* Does getpwuid() work?  */
  1081. + #define has_link 1 /* Does link() work?  */
  1082. + #define has_memcmp 1 /* Does memcmp() work?  */
  1083. + #define has_memcpy 1 /* Does memcpy() work?  */
  1084. + #define has_memmove 1 /* Does memmove() work?  */
  1085. + #define has_madvise 0 /* Does madvise() work?  */
  1086. + #define has_mmap 0 /* Does mmap() work on regular files?  */
  1087. + #define has_rename 1 /* Does rename() work?  */
  1088. + #define bad_a_rename 0 /* Does rename(A,B) fail if A is unwritable?  */
  1089. + #define bad_b_rename 0 /* Does rename(A,B) fail if B is unwritable?  */
  1090. + #define VOID (void) /* 'VOID e;' discards the value of an expression 'e'.  */
  1091. + #define has_seteuid 0 /* Does seteuid() work?  See README.  */
  1092. + #define has_setuid 1 /* Does setuid() exist?  */
  1093. + #define has_signal 1 /* Does signal() work?  */
  1094. + #define signal_args P((int)) /* arguments of signal handlers */
  1095. + #define signal_type void /* type returned by signal handlers */
  1096. + #define sig_zaps_handler 0 /* Must a signal handler reinvoke signal()?  */
  1097. + #define has_sigaction 0 /* Does struct sigaction work?  */
  1098. + #define has_sigblock 1 /* Does sigblock() work?  */
  1099. + /* #define sigmask(s) (1 << ((s)-1)) */ /* Yield mask for signal number.  */
  1100. + #define has_sys_siglist 0 /* Does sys_siglist[] work?  */
  1101. + typedef ssize_t fread_type; /* type returned by fread() and fwrite() */
  1102. + typedef size_t freadarg_type; /* type of their size arguments */
  1103. + typedef void *malloc_type; /* type returned by malloc() */
  1104. + #define has_getcwd 1 /* Does getcwd() work?  */
  1105. + /* #define has_getwd ? */ /* Does getwd() work?  */
  1106. + #define has_mktemp 1 /* Does mktemp() work?  */
  1107. + #define has_NFS 1 /* Might NFS be used?  */
  1108. + /* #define strchr index */ /* Use old-fashioned name for strchr()?  */
  1109. + /* #define strrchr rindex */ /* Use old-fashioned name for strrchr()?  */
  1110. + #define bad_unlink 0 /* Does unlink() fail on unwritable files?  */
  1111. + #define has_vfork 1 /* Does vfork() work?  */
  1112. + #define has_fork 1 /* Does fork() work?  */
  1113. + #define has_spawn 0 /* Does spawn*() work?  */
  1114. + #define has_wait 1 /* Does wait() work?  */
  1115. + #define has_waitpid 1 /* Does waitpid() work?  */
  1116. + #define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */
  1117. + #define has_vfprintf 1 /* Does vfprintf() work?  */
  1118. + /* #define has__doprintf ? */ /* Does _doprintf() work?  */
  1119. + /* #define has__doprnt ? */ /* Does _doprnt() work?  */
  1120. + /* #undef EXIT_FAILURE */ /* Uncomment this if EXIT_FAILURE is broken.  */
  1121. + #define large_memory 0 /* Can main memory hold entire RCS files?  */
  1122. + /* #undef ULONG_MAX */ /* Uncomment this if ULONG_MAX is broken (e.g. < 0).  */
  1123. + /* struct utimbuf { time_t actime, modtime; }; */ /* Uncomment this if needed.  */
  1124. + #define CO "/gnu/bin/co" /* name of 'co' program */
  1125. + #define COMPAT2 0 /* Are version 2 files supported?  */
  1126. + #define DATEFORM "%.2d.%.2d.%.2d.%.2d.%.2d.%.2d" /* e.g. 01.01.01.01.01.01 */
  1127. + #define DIFF "/gnu/bin/diff" /* name of 'diff' program */
  1128. + #define DIFF3 "/gnu/bin/diff3" /* name of 'diff3' program */
  1129. + #define DIFF3_A 1 /* Does diff3 have an -A option?  */
  1130. + #define DIFF3_BIN 1 /* Is diff3 user-visible (not the /usr/lib auxiliary)?  */
  1131. + #define DIFF_FLAGS , "-an" /* Make diff output suitable for RCS.  */
  1132. + #define DIFF_L 1 /* Does diff -L work? */
  1133. + #define DIFF_SUCCESS 0 /* DIFF status if no differences are found */
  1134. + #define DIFF_FAILURE 1 /* DIFF status if differences are found */
  1135. + #define DIFF_TROUBLE 2 /* DIFF status if trouble */
  1136. + #define ED "/gnu/bin/ed" /* name of 'ed' program (used only if !DIFF3_BIN) */
  1137. + #define MERGE "/gnu/bin/merge" /* name of 'merge' program */
  1138. + #define TMPDIR "/tmp" /* default directory for temporary files */
  1139. + #define SLASH '/' /* principal pathname separator */
  1140. + #define SLASHes '/' /* `case SLASHes:' labels all pathname separators */
  1141. + #define isSLASH(c) ((c) == SLASH) /* Is arg a pathname separator?  */
  1142. + #define ROOTPATH(p) isSLASH((p)[0]) /* Is p an absolute pathname?  */
  1143. + #define X_DEFAULT ",v/" /* default value for -x option */
  1144. + #define DIFF_ABSOLUTE 1 /* Is ROOTPATH(DIFF) true?  */
  1145. + #define ALL_ABSOLUTE 1 /* Are all subprograms absolute pathnames?  */
  1146. + /* #define SENDMAIL  */ /* how to send mail */
  1147. + #define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work?  */
  1148. + /* Adjust the following declarations as needed.  */
  1149. + #if __GNUC__ && !__STRICT_ANSI__
  1150. + #    define exiting volatile /* GCC extension: function cannot return */
  1151. + #else
  1152. + #    define exiting
  1153. + #endif
  1154. + #if has_ftruncate
  1155. +     int ftruncate P((int,off_t));
  1156. + #endif
  1157. + /* <sys/mman.h> */
  1158. + #if has_madvise
  1159. +     int madvise P((caddr_t,size_t,int));
  1160. + #endif
  1161. + #if has_mmap
  1162. +     caddr_t mmap P((caddr_t,size_t,int,int,int,off_t));
  1163. +     int munmap P((caddr_t,size_t));
  1164. + #endif
  1165. + /* Posix (ISO/IEC 9945-1: 1990 / IEEE Std 1003.1-1990) */
  1166. + /* These definitions are for the benefit of non-Posix hosts, and */
  1167. + /* Posix hosts that have Standard C compilers but traditional include files.  */
  1168. + /* Unfortunately, mixed-up hosts are all too common.  */
  1169. + /* <fcntl.h> */
  1170. + #ifdef F_DUPFD
  1171. +     int fcntl P((int,int,...));
  1172. + #else
  1173. +     int dup2 P((int,int));
  1174. + #endif
  1175. + #ifndef O_BINARY /* some non-Posix hosts need O_BINARY */
  1176. + #    define O_BINARY 0 /* no effect on Posix */
  1177. + #endif
  1178. + #ifdef O_CREAT
  1179. + #    define open_can_creat 1
  1180. + #else
  1181. + #    define open_can_creat 0
  1182. + #    define O_RDONLY 0
  1183. + #    define O_WRONLY 1
  1184. + #    define O_RDWR 2
  1185. + #    define O_CREAT 01000
  1186. + #    define O_TRUNC 02000
  1187. +     int creat P((char const*,mode_t));
  1188. + #endif
  1189. + #ifndef O_EXCL
  1190. + #    define O_EXCL 0
  1191. + #endif
  1192. + /* <pwd.h> */
  1193. + #if has_getpwuid
  1194. +     struct passwd *getpwuid P((uid_t));
  1195. + #endif
  1196. + /* <signal.h> */
  1197. + #if has_sigaction
  1198. +     int sigaction P((int,struct sigaction const*,struct sigaction*));
  1199. +     int sigaddset P((sigset_t*,int));
  1200. +     int sigemptyset P((sigset_t*));
  1201. + #else
  1202. + #if has_sigblock
  1203. +     /* BSD */
  1204. +     int sigblock P((int));
  1205. +     int sigmask P((int));
  1206. +     int sigsetmask P((int));
  1207. + #endif
  1208. + #endif
  1209. + /* <stdio.h> */
  1210. + FILE *fdopen P((int,char const*));
  1211. + int fileno P((FILE*));
  1212. + /* <sys/stat.h> */
  1213. + int chmod P((char const*,mode_t));
  1214. + int fstat P((int,struct stat*));
  1215. + int stat P((char const*,struct stat*));
  1216. + mode_t umask P((mode_t));
  1217. + #if has_fchmod
  1218. +     int fchmod P((int,mode_t));
  1219. + #endif
  1220. + #ifndef S_IRUSR
  1221. + #    ifdef S_IREAD
  1222. + #        define S_IRUSR S_IREAD
  1223. + #    else
  1224. + #        define S_IRUSR 0400
  1225. + #    endif
  1226. + #    ifdef S_IWRITE
  1227. + #        define S_IWUSR S_IWRITE
  1228. + #    else
  1229. + #        define S_IWUSR (S_IRUSR/2)
  1230. + #    endif
  1231. + #endif
  1232. + #ifndef S_IRGRP
  1233. + #    if has_getuid
  1234. + #        define S_IRGRP (S_IRUSR / 0010)
  1235. + #        define S_IWGRP (S_IWUSR / 0010)
  1236. + #        define S_IROTH (S_IRUSR / 0100)
  1237. + #        define S_IWOTH (S_IWUSR / 0100)
  1238. + #    else
  1239. +         /* single user OS -- not Posix or Unix */
  1240. + #        define S_IRGRP 0
  1241. + #        define S_IWGRP 0
  1242. + #        define S_IROTH 0
  1243. + #        define S_IWOTH 0
  1244. + #    endif
  1245. + #endif
  1246. + #ifndef S_ISREG
  1247. + #    define S_ISREG(n) (((n) & S_IFMT) == S_IFREG)
  1248. + #endif
  1249. + /* <sys/wait.h> */
  1250. + #if has_wait
  1251. +     pid_t wait P((int*));
  1252. + #endif
  1253. + #ifndef WEXITSTATUS
  1254. + #    define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  1255. + #    undef WIFEXITED /* Avoid 4.3BSD incompatibility with Posix.  */
  1256. + #endif
  1257. + #ifndef WIFEXITED
  1258. + #    define WIFEXITED(stat_val) (!((stat_val) & 255))
  1259. + #endif
  1260. + /* <unistd.h> */
  1261. + char *getlogin P((void));
  1262. + int close P((int));
  1263. + int isatty P((int));
  1264. + int link P((char const*,char const*));
  1265. + int open P((char const*,int,...));
  1266. + int unlink P((char const*));
  1267. + int _filbuf P((FILE*)); /* keeps lint quiet in traditional C */
  1268. + int _flsbuf P((int,FILE*)); /* keeps lint quiet in traditional C */
  1269. + long pathconf P((char const*,int));
  1270. + ssize_t write P((int,void const*,size_t));
  1271. + #ifndef STDIN_FILENO
  1272. + #    define STDIN_FILENO 0
  1273. + #    define STDOUT_FILENO 1
  1274. + #    define STDERR_FILENO 2
  1275. + #endif
  1276. + #if has_fork
  1277. + #    if !has_vfork
  1278. + #        undef vfork
  1279. + #        define vfork fork
  1280. + #    endif
  1281. +     pid_t vfork P((void)); /* vfork is nonstandard but faster */
  1282. + #endif
  1283. + #if has_getcwd || !has_getwd
  1284. +     char *getcwd P((char*,size_t));
  1285. + #else
  1286. +     char *getwd P((char*));
  1287. + #endif
  1288. + #if has_getuid
  1289. +     uid_t getuid P((void));
  1290. + #endif
  1291. + #if has_readlink
  1292. +     ssize_t readlink P((char const*,char*,size_t)); /* BSD; not standard yet */
  1293. + #endif
  1294. + #if has_setuid
  1295. + #    if !has_seteuid
  1296. + #        undef seteuid
  1297. + #        define seteuid setuid
  1298. + #    endif
  1299. +     int seteuid P((uid_t));
  1300. +     uid_t geteuid P((void));
  1301. + #endif
  1302. + #if has_spawn
  1303. +     int spawnv P((int,char const*,char*const*));
  1304. + #    if ALL_ABSOLUTE
  1305. + #        define spawn_RCS spawnv
  1306. + #    else
  1307. + #        define spawn_RCS spawnvp
  1308. +         int spawnvp P((int,char const*,char*const*));
  1309. + #    endif
  1310. + #else
  1311. +     int execv P((char const*,char*const*));
  1312. + #    if ALL_ABSOLUTE
  1313. + #        define exec_RCS execv
  1314. + #    else
  1315. + #        define exec_RCS execvp
  1316. +         int execvp P((char const*,char*const*));
  1317. + #    endif
  1318. + #endif
  1319. + /* utime.h */
  1320. + int utime P((char const*,struct utimbuf const*));
  1321. + /* Standard C library */
  1322. + /* These definitions are for the benefit of hosts that have */
  1323. + /* traditional C include files, possibly with Standard C compilers.  */
  1324. + /* Unfortunately, mixed-up hosts are all too common.  */
  1325. + /* <errno.h> */
  1326. + extern int errno;
  1327. + /* <limits.h> */
  1328. + #ifndef ULONG_MAX
  1329. +     /* This does not work in #ifs, but it's good enough for us.  */
  1330. + #    define ULONG_MAX ((unsigned long)-1)
  1331. + #endif
  1332. + /* <signal.h> */
  1333. + #if has_signal
  1334. +     signal_type (*signal P((int,signal_type(*)signal_args)))signal_args;
  1335. + #endif
  1336. + /* <stdio.h> */
  1337. + FILE *fopen P((char const*,char const*));
  1338. + fread_type fread P((void*,freadarg_type,freadarg_type,FILE*));
  1339. + fread_type fwrite P((void const*,freadarg_type,freadarg_type,FILE*));
  1340. + int fclose P((FILE*));
  1341. + int feof P((FILE*));
  1342. + int ferror P((FILE*));
  1343. + int fflush P((FILE*));
  1344. + int fprintf P((FILE*,char const*,...));
  1345. + int fputs P((char const*,FILE*));
  1346. + int fseek P((FILE*,long,int));
  1347. + int printf P((char const*,...));
  1348. + int rename P((char const*,char const*));
  1349. + int sprintf P((char*,char const*,...));
  1350. + /*long ftell P((FILE*));*/
  1351. + void clearerr P((FILE*));
  1352. + void perror P((char const*));
  1353. + #ifndef L_tmpnam
  1354. + #    define L_tmpnam 32 /* power of 2 > sizeof("/tmp/xxxxxxxxxxxxxxx") */
  1355. + #endif
  1356. + #ifndef SEEK_SET
  1357. + #    define SEEK_SET 0
  1358. + #endif
  1359. + #if has_mktemp
  1360. +     char *mktemp P((char*)); /* traditional */
  1361. + #else
  1362. +     char *tmpnam P((char*));
  1363. + #endif
  1364. + #if has_vfprintf
  1365. + /*    int vfprintf P((FILE*,char const*,va_list));*/
  1366. + #else
  1367. + #if has__doprintf
  1368. +     void _doprintf P((FILE*,char const*,va_list)); /* Minix */
  1369. + #else
  1370. +     void _doprnt P((char const*,va_list,FILE*)); /* BSD */
  1371. + #endif
  1372. + #endif
  1373. + /* <stdlib.h> */
  1374. + char *getenv P((char const*));
  1375. + /* exiting void _exit P((int)); */
  1376. + /* exiting void exit P((int)); */
  1377. + malloc_type malloc P((size_t));
  1378. + malloc_type realloc P((malloc_type,size_t));
  1379. + void free P((malloc_type));
  1380. + #ifndef EXIT_FAILURE
  1381. + #    define EXIT_FAILURE 1
  1382. + #endif
  1383. + #ifndef EXIT_SUCCESS
  1384. + #    define EXIT_SUCCESS 0
  1385. + #endif
  1386. + #if !has_fork && !has_spawn
  1387. +     int system P((char const*));
  1388. + #endif
  1389. + /* <string.h> */
  1390. + char *strcpy P((char*,char const*));
  1391. + char *strchr P((char const*,int));
  1392. + char *strrchr P((char const*,int));
  1393. + int memcmp P((void const*,void const*,size_t));
  1394. + int strcmp P((char const*,char const*));
  1395. + size_t strlen P((char const*));
  1396. + void *memcpy P((void*,void const*,size_t));
  1397. + #if has_memmove
  1398. +     void *memmove P((void*,void const*,size_t));
  1399. + #endif
  1400. + /* <time.h> */
  1401. + time_t time P((time_t*));
  1402. diff -rc --new-file rcs-5.6.0.1/src/conf.sh /gnu/src/amiga/rcs-5.6.0.1/src/conf.sh
  1403. *** rcs-5.6.0.1/src/conf.sh    Thu Mar 25 04:24:49 1993
  1404. --- /gnu/src/amiga/rcs-5.6.0.1/src/conf.sh    Thu Feb 24 09:41:30 1994
  1405. ***************
  1406. *** 24,32 ****
  1407.   #
  1408.   #     rcs-bugs@cs.purdue.edu
  1409.   
  1410.   
  1411. ! # Standard output should already be directed to "a.h";
  1412. ! # later parts of this procedure need it.
  1413.   # Standard error can be ignored if a.h is OK,
  1414.   # and can be inspected for clues otherwise.
  1415.   
  1416. --- 24,49 ----
  1417.   #
  1418.   #     rcs-bugs@cs.purdue.edu
  1419.   
  1420. + CC='gcc'
  1421. + CFLAGS=' -O2 '
  1422. + COMPAT2='0'
  1423. + DIFF3='/gnu/bin/diff3'
  1424. + DIFF3_A='1'
  1425. + DIFF3_BIN='1'
  1426. + DIFF='/gnu/bin/diff'
  1427. + DIFF_FLAGS='-an'
  1428. + DIFF_L='1'
  1429. + DIFF_SUCCESS='0'
  1430. + DIFF_FAILURE='1'
  1431. + DIFF_TROUBLE='2'
  1432. + ED='/gnu/bin/emacs'
  1433. + LDFLAGS=''
  1434. + LDLIBS=''
  1435. + RCSPREFIX='/gnu/bin/'
  1436. + SENDMAIL=''
  1437.   
  1438. ! # Take care of doing redirection to a.h ourself, since some systems may have
  1439. ! # problems reading a file that is already open for write.
  1440.   # Standard error can be ignored if a.h is OK,
  1441.   # and can be inspected for clues otherwise.
  1442.   
  1443. ***************
  1444. *** 51,57 ****
  1445.   L=$LDLIBS
  1446.   RM='rm -f a.out'
  1447.   
  1448. ! cat <<EOF
  1449.   /* RCS compile-time configuration */
  1450.   
  1451.       /* $Id */
  1452. --- 68,74 ----
  1453.   L=$LDLIBS
  1454.   RM='rm -f a.out'
  1455.   
  1456. ! cat >>a.h <<'EOF'
  1457.   /* RCS compile-time configuration */
  1458.   
  1459.       /* $Id */
  1460. ***************
  1461. *** 66,72 ****
  1462.   EOF
  1463.   
  1464.   : exitmain
  1465. ! cat >a.c <<EOF
  1466.   #include "a.h"
  1467.   int main(argc,argv) int argc; char **argv; { return argc-1; }
  1468.   EOF
  1469. --- 83,89 ----
  1470.   EOF
  1471.   
  1472.   : exitmain
  1473. ! cat >a.c <<'EOF'
  1474.   #include "a.h"
  1475.   int main(argc,argv) int argc; char **argv; { return argc-1; }
  1476.   EOF
  1477. ***************
  1478. *** 77,83 ****
  1479.   elif ./a.out
  1480.   then e=n
  1481.   fi
  1482. ! echo "#define exitmain(n) return $e /* how to exit from main() */"
  1483.   
  1484.   : _POSIX_SOURCE
  1485.   cat >a.c <<'EOF'
  1486. --- 94,100 ----
  1487.   elif ./a.out
  1488.   then e=n
  1489.   fi
  1490. ! echo >>a.h "#define exitmain(n) return $e /* how to exit from main() */"
  1491.   
  1492.   : _POSIX_SOURCE
  1493.   cat >a.c <<'EOF'
  1494. ***************
  1495. *** 92,98 ****
  1496.   elif $RM || exit; ($CL -D_POSIX_SOURCE a.c $L && ./a.out) >&2
  1497.   then a= z=
  1498.   fi
  1499. ! cat <<EOF
  1500.   $a#define _POSIX_SOURCE $z/* Define this if Posix + strict Standard C.  */
  1501.   
  1502.   #include <errno.h>
  1503. --- 109,115 ----
  1504.   elif $RM || exit; ($CL -D_POSIX_SOURCE a.c $L && ./a.out) >&2
  1505.   then a= z=
  1506.   fi
  1507. ! cat >>a.h <<'EOF'
  1508.   $a#define _POSIX_SOURCE $z/* Define this if Posix + strict Standard C.  */
  1509.   
  1510.   #include <errno.h>
  1511. ***************
  1512. *** 100,106 ****
  1513.   #include <time.h>
  1514.   EOF
  1515.   
  1516. ! cat <<'EOF'
  1517.   
  1518.   /* Comment out #include lines below that do not work.  */
  1519.   EOF
  1520. --- 117,123 ----
  1521.   #include <time.h>
  1522.   EOF
  1523.   
  1524. ! cat >>a.h <<'EOF'
  1525.   
  1526.   /* Comment out #include lines below that do not work.  */
  1527.   EOF
  1528. ***************
  1529. *** 123,129 ****
  1530.   do
  1531.       i="#include <$h.h>"
  1532.       : $i
  1533. !     cat >a.c <<EOF
  1534.   #include "a.h"
  1535.   $i
  1536.   int main(){ exitmain(0); }
  1537. --- 140,146 ----
  1538.   do
  1539.       i="#include <$h.h>"
  1540.       : $i
  1541. !     cat >a.c <<'EOF'
  1542.   #include "a.h"
  1543.   $i
  1544.   int main(){ exitmain(0); }
  1545. ***************
  1546. *** 140,149 ****
  1547.           signal) has_signal=0
  1548.           esac
  1549.       }
  1550. !     echo "$i"
  1551.   done
  1552.   
  1553. ! cat <<'EOF'
  1554.   
  1555.   /* Define the following symbols to be 1 or 0.  */
  1556.   EOF
  1557. --- 157,166 ----
  1558.           signal) has_signal=0
  1559.           esac
  1560.       }
  1561. !     echo >>a.h "$i"
  1562.   done
  1563.   
  1564. ! cat >>a.h <<'EOF'
  1565.   
  1566.   /* Define the following symbols to be 1 or 0.  */
  1567.   EOF
  1568. ***************
  1569. *** 152,158 ****
  1570.   for H in dir param
  1571.   do
  1572.       : has_sys_${H}_h
  1573. !     cat >a.c <<EOF
  1574.   #include "a.h"
  1575.   #include <sys/$H.h>
  1576.   int main() { exitmain(0); }
  1577. --- 169,175 ----
  1578.   for H in dir param
  1579.   do
  1580.       : has_sys_${H}_h
  1581. !     cat >a.c <<'EOF'
  1582.   #include "a.h"
  1583.   #include <sys/$H.h>
  1584.   int main() { exitmain(0); }
  1585. ***************
  1586. *** 162,168 ****
  1587.       then h=1
  1588.       else h=0
  1589.       fi
  1590. !     echo "#define has_sys_${H}_h $h /* Does #include <sys/$H.h> work?  */"
  1591.   done
  1592.   
  1593.   
  1594. --- 179,185 ----
  1595.       then h=1
  1596.       else h=0
  1597.       fi
  1598. !     echo >>a.h "#define has_sys_${H}_h $h /* Does #include <sys/$H.h> work?  */"
  1599.   done
  1600.   
  1601.   
  1602. ***************
  1603. *** 208,214 ****
  1604.   then h=1
  1605.   else h=0
  1606.   fi
  1607. ! cat <<EOF
  1608.   #define has_readlink $h /* Does readlink() work?  */
  1609.   
  1610.   $a#undef NAME_MAX $z/* Uncomment this if NAME_MAX is broken.  */
  1611. --- 225,231 ----
  1612.   then h=1
  1613.   else h=0
  1614.   fi
  1615. ! cat >>a.h <<'EOF'
  1616.   #define has_readlink $h /* Does readlink() work?  */
  1617.   
  1618.   $a#undef NAME_MAX $z/* Uncomment this if NAME_MAX is broken.  */
  1619. ***************
  1620. *** 246,252 ****
  1621.   #endif
  1622.   EOF
  1623.   
  1624. ! cat <<'EOF'
  1625.   
  1626.   /* Comment out the keyword definitions below if the keywords work.  */
  1627.   EOF
  1628. --- 263,269 ----
  1629.   #endif
  1630.   EOF
  1631.   
  1632. ! cat >>a.h <<'EOF'
  1633.   
  1634.   /* Comment out the keyword definitions below if the keywords work.  */
  1635.   EOF
  1636. ***************
  1637. *** 254,260 ****
  1638.   : const, volatile
  1639.   for i in const volatile
  1640.   do
  1641. !     cat >a.c <<EOF
  1642.   #    include "a.h"
  1643.       enum Boolean { false, true };
  1644.       static enum Boolean $i zero;
  1645. --- 271,277 ----
  1646.   : const, volatile
  1647.   for i in const volatile
  1648.   do
  1649. !     cat >a.c <<'EOF'
  1650.   #    include "a.h"
  1651.       enum Boolean { false, true };
  1652.       static enum Boolean $i zero;
  1653. ***************
  1654. *** 265,271 ****
  1655.       a= z=
  1656.       if $CS a.c $LS >&2
  1657.       then
  1658. !         cat >a.c <<EOF
  1659.               typedef unsigned char $i *Iptr_type;
  1660.               struct { Iptr_type lim; } s, *f = &s;
  1661.               int main() {
  1662. --- 282,288 ----
  1663.       a= z=
  1664.       if $CS a.c $LS >&2
  1665.       then
  1666. !         cat >a.c <<'EOF'
  1667.               typedef unsigned char $i *Iptr_type;
  1668.               struct { Iptr_type lim; } s, *f = &s;
  1669.               int main() {
  1670. ***************
  1671. *** 278,288 ****
  1672.           then a='/* ' z=' */'
  1673.           fi
  1674.       fi
  1675. !     echo "$a#define $i$z"
  1676.   done
  1677.   
  1678.   # *_t
  1679. ! cat <<'EOF'
  1680.   
  1681.   /* Comment out the typedefs below if the types are already declared.  */
  1682.   /* Fix any uncommented typedefs that are wrong.  */
  1683. --- 295,305 ----
  1684.           then a='/* ' z=' */'
  1685.           fi
  1686.       fi
  1687. !     echo >>a.h "$a#define $i$z"
  1688.   done
  1689.   
  1690.   # *_t
  1691. ! cat >>a.h <<'EOF'
  1692.   
  1693.   /* Comment out the typedefs below if the types are already declared.  */
  1694.   /* Fix any uncommented typedefs that are wrong.  */
  1695. ***************
  1696. *** 304,310 ****
  1697.       then a='/* ' z=' */'
  1698.       else a= z=
  1699.       fi
  1700. !     echo "${a}typedef $i $t;$z"
  1701.   done
  1702.   
  1703.   : has_prototypes, has_stdarg, has_varargs, va_start_args
  1704. --- 321,327 ----
  1705.       then a='/* ' z=' */'
  1706.       else a= z=
  1707.       fi
  1708. !     echo >>a.h "${a}typedef $i $t;$z"
  1709.   done
  1710.   
  1711.   : has_prototypes, has_stdarg, has_varargs, va_start_args
  1712. ***************
  1713. *** 381,387 ****
  1714.       echo >&2 "cannot deduce has_prototypes, has_stdarg, va_start_args"
  1715.       exit 1
  1716.   }
  1717. ! cat - a.ha <<EOF
  1718.   
  1719.   /* Define the following symbols to be 1 or 0.  */
  1720.   #define has_prototypes $has_prototypes /* Do function prototypes work?  */
  1721. --- 398,404 ----
  1722.       echo >&2 "cannot deduce has_prototypes, has_stdarg, va_start_args"
  1723.       exit 1
  1724.   }
  1725. ! cat >>a.h - a.ha <<'EOF'
  1726.   
  1727.   /* Define the following symbols to be 1 or 0.  */
  1728.   #define has_prototypes $has_prototypes /* Do function prototypes work?  */
  1729. ***************
  1730. *** 413,419 ****
  1731.   $CL a.c $L >&2 && ./a.out && cmp a.out a.d && {
  1732.       cmp a.out a.e || e=0
  1733.   }
  1734. ! cat <<EOF
  1735.   
  1736.   #define text_equals_binary_stdio $e /* Does stdio treat text like binary?  */
  1737.   #define text_work_stdio 0 /* Text i/o for working file, binary for RCS file?  */
  1738. --- 430,436 ----
  1739.   $CL a.c $L >&2 && ./a.out && cmp a.out a.d && {
  1740.       cmp a.out a.e || e=0
  1741.   }
  1742. ! cat >>a.h <<'EOF'
  1743.   
  1744.   #define text_equals_binary_stdio $e /* Does stdio treat text like binary?  */
  1745.   #define text_work_stdio 0 /* Text i/o for working file, binary for RCS file?  */
  1746. ***************
  1747. *** 452,461 ****
  1748.   then b=0
  1749.   else b=1
  1750.   fi
  1751. ! echo "#define bad_fopen_wplus $b /* Does fopen(f,FOPEN_WPLUS) fail to truncate f?  */"
  1752.   
  1753.   : getlogin_is_secure
  1754. ! echo "#define getlogin_is_secure 0 /* Is getlogin() secure?  Usually it's not.  */"
  1755.   
  1756.   : has_dirent
  1757.   cat >a.c <<'EOF'
  1758. --- 469,478 ----
  1759.   then b=0
  1760.   else b=1
  1761.   fi
  1762. ! echo >>a.h "#define bad_fopen_wplus $b /* Does fopen(f,FOPEN_WPLUS) fail to truncate f?  */"
  1763.   
  1764.   : getlogin_is_secure
  1765. ! echo >>a.h "#define getlogin_is_secure 0 /* Is getlogin() secure?  Usually it's not.  */"
  1766.   
  1767.   : has_dirent
  1768.   cat >a.c <<'EOF'
  1769. ***************
  1770. *** 474,480 ****
  1771.   then h=1
  1772.   else h=0
  1773.   fi
  1774. ! echo "#define has_dirent $h /* Do opendir(), readdir(), closedir() work?  */"
  1775.   
  1776.   : has_fchmod
  1777.   cat >a.c <<'EOF'
  1778. --- 491,497 ----
  1779.   then h=1
  1780.   else h=0
  1781.   fi
  1782. ! echo >>a.h "#define has_dirent $h /* Do opendir(), readdir(), closedir() work?  */"
  1783.   
  1784.   : has_fchmod
  1785.   cat >a.c <<'EOF'
  1786. ***************
  1787. *** 486,492 ****
  1788.   then h=1
  1789.   else h=0
  1790.   fi
  1791. ! echo "#define has_fchmod $h /* Does fchmod() work?  */"
  1792.   rm -f a.c || exit
  1793.   
  1794.   : has_fputs
  1795. --- 503,509 ----
  1796.   then h=1
  1797.   else h=0
  1798.   fi
  1799. ! echo >>a.h "#define has_fchmod $h /* Does fchmod() work?  */"
  1800.   rm -f a.c || exit
  1801.   
  1802.   : has_fputs
  1803. ***************
  1804. *** 501,507 ****
  1805.   then h=1
  1806.   else h=0
  1807.   fi
  1808. ! echo "#define has_fputs $h /* Does fputs() work?  */"
  1809.   
  1810.   : has_ftruncate
  1811.   cat >a.c <<'EOF'
  1812. --- 518,524 ----
  1813.   then h=1
  1814.   else h=0
  1815.   fi
  1816. ! echo >>a.h "#define has_fputs $h /* Does fputs() work?  */"
  1817.   
  1818.   : has_ftruncate
  1819.   cat >a.c <<'EOF'
  1820. ***************
  1821. *** 530,536 ****
  1822.       done
  1823.   else h=0
  1824.   fi
  1825. ! echo "#define has_ftruncate $h /* Does ftruncate() work?  */"
  1826.   
  1827.   : has_getuid
  1828.   cat >a.c <<'EOF'
  1829. --- 547,553 ----
  1830.       done
  1831.   else h=0
  1832.   fi
  1833. ! echo >>a.h "#define has_ftruncate $h /* Does ftruncate() work?  */"
  1834.   
  1835.   : has_getuid
  1836.   cat >a.c <<'EOF'
  1837. ***************
  1838. *** 545,551 ****
  1839.   then has_getuid=1
  1840.   else has_getuid=0
  1841.   fi
  1842. ! echo "#define has_getuid $has_getuid /* Does getuid() work?  */"
  1843.   
  1844.   : has_getpwuid
  1845.   case $has_getuid in
  1846. --- 562,568 ----
  1847.   then has_getuid=1
  1848.   else has_getuid=0
  1849.   fi
  1850. ! echo >>a.h "#define has_getuid $has_getuid /* Does getuid() work?  */"
  1851.   
  1852.   : has_getpwuid
  1853.   case $has_getuid in
  1854. ***************
  1855. *** 563,569 ****
  1856.       else h=0
  1857.       fi
  1858.   esac
  1859. ! echo "$a#define has_getpwuid $h $z/* Does getpwuid() work?  */"
  1860.   
  1861.   : has_link
  1862.   cat >a.c <<'EOF'
  1863. --- 580,586 ----
  1864.       else h=0
  1865.       fi
  1866.   esac
  1867. ! echo >>a.h "$a#define has_getpwuid $h $z/* Does getpwuid() work?  */"
  1868.   
  1869.   : has_link
  1870.   cat >a.c <<'EOF'
  1871. ***************
  1872. *** 576,582 ****
  1873.   else h=0
  1874.   fi
  1875.   rm -f a.d || exit
  1876. ! echo "#define has_link $h /* Does link() work?  */"
  1877.   
  1878.   : has_memcmp
  1879.   cat >a.c <<'EOF'
  1880. --- 593,599 ----
  1881.   else h=0
  1882.   fi
  1883.   rm -f a.d || exit
  1884. ! echo >>a.h "#define has_link $h /* Does link() work?  */"
  1885.   
  1886.   : has_memcmp
  1887.   cat >a.c <<'EOF'
  1888. ***************
  1889. *** 588,594 ****
  1890.   then h=1
  1891.   else h=0
  1892.   fi
  1893. ! echo "#define has_memcmp $h /* Does memcmp() work?  */"
  1894.   
  1895.   : has_memcpy
  1896.   cat >a.c <<'EOF'
  1897. --- 605,611 ----
  1898.   then h=1
  1899.   else h=0
  1900.   fi
  1901. ! echo >>a.h "#define has_memcmp $h /* Does memcmp() work?  */"
  1902.   
  1903.   : has_memcpy
  1904.   cat >a.c <<'EOF'
  1905. ***************
  1906. *** 604,610 ****
  1907.   then h=1
  1908.   else h=0
  1909.   fi
  1910. ! echo "#define has_memcpy $h /* Does memcpy() work?  */"
  1911.   
  1912.   : has_memmove
  1913.   cat >a.c <<'EOF'
  1914. --- 621,627 ----
  1915.   then h=1
  1916.   else h=0
  1917.   fi
  1918. ! echo >>a.h "#define has_memcpy $h /* Does memcpy() work?  */"
  1919.   
  1920.   : has_memmove
  1921.   cat >a.c <<'EOF'
  1922. ***************
  1923. *** 621,627 ****
  1924.   then h=1
  1925.   else h=0
  1926.   fi
  1927. ! echo "#define has_memmove $h /* Does memmove() work?  */"
  1928.   
  1929.   : has_mmap, has_madvise
  1930.   cat >a.c <<'EOF'
  1931. --- 638,644 ----
  1932.   then h=1
  1933.   else h=0
  1934.   fi
  1935. ! echo >>a.h "#define has_memmove $h /* Does memmove() work?  */"
  1936.   
  1937.   : has_mmap, has_madvise
  1938.   cat >a.c <<'EOF'
  1939. ***************
  1940. *** 659,666 ****
  1941.       $RM || exit
  1942.       ($CL a.c $L && ./a.out <a.c) >&2 && a=1
  1943.   fi
  1944. ! echo "#define has_madvise $a /* Does madvise() work?  */"
  1945. ! echo "#define has_mmap $has_mmap /* Does mmap() work on regular files?  */"
  1946.   
  1947.   : has_rename, bad_a_rename, bad_b_rename
  1948.   cat >a.c <<'EOF'
  1949. --- 676,683 ----
  1950.       $RM || exit
  1951.       ($CL a.c $L && ./a.out <a.c) >&2 && a=1
  1952.   fi
  1953. ! echo >>a.h "#define has_madvise $a /* Does madvise() work?  */"
  1954. ! echo >>a.h "#define has_mmap $has_mmap /* Does mmap() work on regular files?  */"
  1955.   
  1956.   : has_rename, bad_a_rename, bad_b_rename
  1957.   cat >a.c <<'EOF'
  1958. ***************
  1959. *** 686,694 ****
  1960.       rm -f a.a a.b || exit
  1961.   else h=0 a=0 b=0
  1962.   fi
  1963. ! echo "#define has_rename $h /* Does rename() work?  */"
  1964. ! echo "#define bad_a_rename $a /* Does rename(A,B) fail if A is unwritable?  */"
  1965. ! echo "#define bad_b_rename $b /* Does rename(A,B) fail if B is unwritable?  */"
  1966.   
  1967.   : void, VOID
  1968.   cat >a.c <<'EOF'
  1969. --- 703,711 ----
  1970.       rm -f a.a a.b || exit
  1971.   else h=0 a=0 b=0
  1972.   fi
  1973. ! echo >>a.h "#define has_rename $h /* Does rename() work?  */"
  1974. ! echo >>a.h "#define bad_a_rename $a /* Does rename(A,B) fail if A is unwritable?  */"
  1975. ! echo >>a.h "#define bad_b_rename $b /* Does rename(A,B) fail if B is unwritable?  */"
  1976.   
  1977.   : void, VOID
  1978.   cat >a.c <<'EOF'
  1979. ***************
  1980. *** 701,709 ****
  1981.       v='(void) '
  1982.   else
  1983.       v=
  1984. !     echo 'typedef int void;'
  1985.   fi
  1986. ! echo "#define VOID $v/* 'VOID e;' discards the value of an expression 'e'.  */"
  1987.   
  1988.   : has_seteuid
  1989.   case $has_getuid in
  1990. --- 718,726 ----
  1991.       v='(void) '
  1992.   else
  1993.       v=
  1994. !     echo >>a.h 'typedef int void;'
  1995.   fi
  1996. ! echo >>a.h "#define VOID $v/* 'VOID e;' discards the value of an expression 'e'.  */"
  1997.   
  1998.   : has_seteuid
  1999.   case $has_getuid in
  2000. ***************
  2001. *** 732,738 ****
  2002.       else has_seteuid=0
  2003.       fi
  2004.   esac
  2005. ! echo "$a#define has_seteuid $has_seteuid $z/* Does seteuid() work?  See README.  */"
  2006.   
  2007.   : has_setuid
  2008.   h=$has_seteuid
  2009. --- 749,755 ----
  2010.       else has_seteuid=0
  2011.       fi
  2012.   esac
  2013. ! echo >>a.h "$a#define has_seteuid $has_seteuid $z/* Does seteuid() work?  See README.  */"
  2014.   
  2015.   : has_setuid
  2016.   h=$has_seteuid
  2017. ***************
  2018. *** 748,754 ****
  2019.       $RM || exit
  2020.       ($CL a.c $L && ./a.out) >&2 && h=1
  2021.   esac
  2022. ! echo "$a#define has_setuid $h $z/* Does setuid() exist?  */"
  2023.   
  2024.   : has_signal, signal_args, signal_type, sig_zaps_handler
  2025.   cat >a.c <<'EOF'
  2026. --- 765,771 ----
  2027.       $RM || exit
  2028.       ($CL a.c $L && ./a.out) >&2 && h=1
  2029.   esac
  2030. ! echo >>a.h "$a#define has_setuid $h $z/* Does setuid() exist?  */"
  2031.   
  2032.   : has_signal, signal_args, signal_type, sig_zaps_handler
  2033.   cat >a.c <<'EOF'
  2034. ***************
  2035. *** 790,796 ****
  2036.   then z=0
  2037.   else z=1
  2038.   fi
  2039. ! cat <<EOF
  2040.   #define has_signal $has_signal /* Does signal() work?  */
  2041.   #define signal_args $signal_args /* arguments of signal handlers */
  2042.   #define signal_type $signal_type /* type returned by signal handlers */
  2043. --- 807,813 ----
  2044.   then z=0
  2045.   else z=1
  2046.   fi
  2047. ! cat >>a.h <<'EOF'
  2048.   #define has_signal $has_signal /* Does signal() work?  */
  2049.   #define signal_args $signal_args /* arguments of signal handlers */
  2050.   #define signal_type $signal_type /* type returned by signal handlers */
  2051. ***************
  2052. *** 826,832 ****
  2053.   then has_sigaction=1
  2054.   else has_sigaction=0
  2055.   fi
  2056. ! echo "#define has_sigaction $has_sigaction /* Does struct sigaction work?  */"
  2057.   
  2058.   : has_sigblock, sigmask
  2059.   a='/* ' z='*/ '
  2060. --- 843,849 ----
  2061.   then has_sigaction=1
  2062.   else has_sigaction=0
  2063.   fi
  2064. ! echo >>a.h "#define has_sigaction $has_sigaction /* Does struct sigaction work?  */"
  2065.   
  2066.   : has_sigblock, sigmask
  2067.   a='/* ' z='*/ '
  2068. ***************
  2069. *** 855,862 ****
  2070.       else h=0
  2071.       fi
  2072.   esac
  2073. ! echo "$a#define has_sigblock $h $z/* Does sigblock() work?  */"
  2074. ! echo "$b#define sigmask(s) (1 << ((s)-1)) $y/* Yield mask for signal number.  */"
  2075.   
  2076.   : has_sys_siglist
  2077.   cat >a.c <<'EOF'
  2078. --- 872,879 ----
  2079.       else h=0
  2080.       fi
  2081.   esac
  2082. ! echo >>a.h "$a#define has_sigblock $h $z/* Does sigblock() work?  */"
  2083. ! echo >>a.h "$b#define sigmask(s) (1 << ((s)-1)) $y/* Yield mask for signal number.  */"
  2084.   
  2085.   : has_sys_siglist
  2086.   cat >a.c <<'EOF'
  2087. ***************
  2088. *** 871,877 ****
  2089.   then h=1
  2090.   else h=0
  2091.   fi
  2092. ! echo "#define has_sys_siglist $h /* Does sys_siglist[] work?  */"
  2093.   
  2094.   : fread_type, Fread, Fwrite
  2095.   cat >a.c <<'EOF'
  2096. --- 888,894 ----
  2097.   then h=1
  2098.   else h=0
  2099.   fi
  2100. ! echo >>a.h "#define has_sys_siglist $h /* Does sys_siglist[] work?  */"
  2101.   
  2102.   : fread_type, Fread, Fwrite
  2103.   cat >a.c <<'EOF'
  2104. ***************
  2105. *** 910,916 ****
  2106.       echo >&2 "cannot deduce fread types"
  2107.       exit 1
  2108.   }
  2109. ! cat <<EOF
  2110.   typedef $fread_type fread_type; /* type returned by fread() and fwrite() */
  2111.   typedef $freadarg_type freadarg_type; /* type of their size arguments */
  2112.   EOF
  2113. --- 927,933 ----
  2114.       echo >&2 "cannot deduce fread types"
  2115.       exit 1
  2116.   }
  2117. ! cat >>a.h <<'EOF'
  2118.   typedef $fread_type fread_type; /* type returned by fread() and fwrite() */
  2119.   typedef $freadarg_type freadarg_type; /* type of their size arguments */
  2120.   EOF
  2121. ***************
  2122. *** 928,934 ****
  2123.   then t=void
  2124.   else t=char
  2125.   fi
  2126. ! echo "typedef $t *malloc_type; /* type returned by malloc() */"
  2127.   
  2128.   : has_getcwd
  2129.   cat >a.c <<'EOF'
  2130. --- 945,951 ----
  2131.   then t=void
  2132.   else t=char
  2133.   fi
  2134. ! echo >>a.h "typedef $t *malloc_type; /* type returned by malloc() */"
  2135.   
  2136.   : has_getcwd
  2137.   cat >a.c <<'EOF'
  2138. ***************
  2139. *** 944,950 ****
  2140.   then has_getcwd=1
  2141.   else has_getcwd=0
  2142.   fi
  2143. ! echo "#define has_getcwd $has_getcwd /* Does getcwd() work?  */"
  2144.   
  2145.   : has_getwd
  2146.   case $has_getcwd in
  2147. --- 961,967 ----
  2148.   then has_getcwd=1
  2149.   else has_getcwd=0
  2150.   fi
  2151. ! echo >>a.h "#define has_getcwd $has_getcwd /* Does getcwd() work?  */"
  2152.   
  2153.   : has_getwd
  2154.   case $has_getcwd in
  2155. ***************
  2156. *** 967,973 ****
  2157.       else h=0
  2158.       fi
  2159.   esac
  2160. ! echo "$a#define has_getwd $h $z/* Does getwd() work?  */"
  2161.   
  2162.   : has_mktemp
  2163.   cat >a.c <<'EOF'
  2164. --- 984,990 ----
  2165.       else h=0
  2166.       fi
  2167.   esac
  2168. ! echo >>a.h "$a#define has_getwd $h $z/* Does getwd() work?  */"
  2169.   
  2170.   : has_mktemp
  2171.   cat >a.c <<'EOF'
  2172. ***************
  2173. *** 987,996 ****
  2174.   then h=1
  2175.   else h=0
  2176.   fi
  2177. ! echo "#define has_mktemp $h /* Does mktemp() work?  */"
  2178.   
  2179.   : has_NFS
  2180. ! echo "#define has_NFS 1 /* Might NFS be used?  */"
  2181.   
  2182.   : strchr
  2183.   cat >a.c <<'EOF'
  2184. --- 1004,1013 ----
  2185.   then h=1
  2186.   else h=0
  2187.   fi
  2188. ! echo >>a.h "#define has_mktemp $h /* Does mktemp() work?  */"
  2189.   
  2190.   : has_NFS
  2191. ! echo >>a.h "#define has_NFS 1 /* Might NFS be used?  */"
  2192.   
  2193.   : strchr
  2194.   cat >a.c <<'EOF'
  2195. ***************
  2196. *** 1005,1011 ****
  2197.   then a='/* ' z='*/ '
  2198.   else a= z=
  2199.   fi
  2200. ! echo "$a#define strchr index $z/* Use old-fashioned name for strchr()?  */"
  2201.   
  2202.   : strrchr
  2203.   cat >a.c <<'EOF'
  2204. --- 1022,1028 ----
  2205.   then a='/* ' z='*/ '
  2206.   else a= z=
  2207.   fi
  2208. ! echo >>a.h "$a#define strchr index $z/* Use old-fashioned name for strchr()?  */"
  2209.   
  2210.   : strrchr
  2211.   cat >a.c <<'EOF'
  2212. ***************
  2213. *** 1020,1026 ****
  2214.   then a='/* ' z='*/ '
  2215.   else a= z=
  2216.   fi
  2217. ! echo "$a#define strrchr rindex $z/* Use old-fashioned name for strrchr()?  */"
  2218.   
  2219.   : bad_unlink
  2220.   cat >a.c <<'EOF'
  2221. --- 1037,1043 ----
  2222.   then a='/* ' z='*/ '
  2223.   else a= z=
  2224.   fi
  2225. ! echo >>a.h "$a#define strrchr rindex $z/* Use old-fashioned name for strrchr()?  */"
  2226.   
  2227.   : bad_unlink
  2228.   cat >a.c <<'EOF'
  2229. ***************
  2230. *** 1033,1039 ****
  2231.   else b=1
  2232.   fi
  2233.   rm -f a.c || exit
  2234. ! echo "#define bad_unlink $b /* Does unlink() fail on unwritable files?  */"
  2235.   
  2236.   : has_vfork, has_fork, has_spawn, has_wait, has_waitpid, RCS_SHELL
  2237.   cat >a.c <<'EOF'
  2238. --- 1050,1056 ----
  2239.   else b=1
  2240.   fi
  2241.   rm -f a.c || exit
  2242. ! echo >>a.h "#define bad_unlink $b /* Does unlink() fail on unwritable files?  */"
  2243.   
  2244.   : has_vfork, has_fork, has_spawn, has_wait, has_waitpid, RCS_SHELL
  2245.   cat >a.c <<'EOF'
  2246. ***************
  2247. *** 1092,1114 ****
  2248.   then has_vfork=1
  2249.   else has_vfork=0
  2250.   fi
  2251. ! echo "#define has_vfork $has_vfork /* Does vfork() work?  */"
  2252.   h=$has_vfork
  2253.   case $h in
  2254.   0)
  2255.       $RM || exit
  2256.       ($CL a.c $L && ./a.out) >&2 && h=1
  2257.   esac
  2258. ! echo "#define has_fork $h /* Does fork() work?  */"
  2259.   $RM || exit
  2260.   if ($CL -DTRY_VFORK=$has_vfork -DTRY_WAITPID=1 a.c $L && ./a.out) >&2
  2261.   then h=1
  2262.   else h=0
  2263.   fi
  2264. ! echo "#define has_spawn 0 /* Does spawn*() work?  */"
  2265. ! echo "#define has_wait 1 /* Does wait() work?  */"
  2266. ! echo "#define has_waitpid $h /* Does waitpid() work?  */"
  2267. ! echo '#define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */'
  2268.   
  2269.   : has_vfprintf
  2270.   cat >a.c <<'EOF'
  2271. --- 1109,1131 ----
  2272.   then has_vfork=1
  2273.   else has_vfork=0
  2274.   fi
  2275. ! echo >>a.h "#define has_vfork $has_vfork /* Does vfork() work?  */"
  2276.   h=$has_vfork
  2277.   case $h in
  2278.   0)
  2279.       $RM || exit
  2280.       ($CL a.c $L && ./a.out) >&2 && h=1
  2281.   esac
  2282. ! echo >>a.h "#define has_fork $h /* Does fork() work?  */"
  2283.   $RM || exit
  2284.   if ($CL -DTRY_VFORK=$has_vfork -DTRY_WAITPID=1 a.c $L && ./a.out) >&2
  2285.   then h=1
  2286.   else h=0
  2287.   fi
  2288. ! echo >>a.h "#define has_spawn 0 /* Does spawn*() work?  */"
  2289. ! echo >>a.h "#define has_wait 1 /* Does wait() work?  */"
  2290. ! echo >>a.h "#define has_waitpid $h /* Does waitpid() work?  */"
  2291. ! echo >>a.h '#define RCS_SHELL "/bin/sh" /* shell to run RCS subprograms */'
  2292.   
  2293.   : has_vfprintf
  2294.   cat >a.c <<'EOF'
  2295. ***************
  2296. *** 1133,1139 ****
  2297.   then h=1
  2298.   else h=0
  2299.   fi
  2300. ! echo "#define has_vfprintf $h /* Does vfprintf() work?  */"
  2301.   
  2302.   : has__doprintf, has__doprnt
  2303.   case $h in
  2304. --- 1150,1156 ----
  2305.   then h=1
  2306.   else h=0
  2307.   fi
  2308. ! echo >>a.h "#define has_vfprintf $h /* Does vfprintf() work?  */"
  2309.   
  2310.   : has__doprintf, has__doprnt
  2311.   case $h in
  2312. ***************
  2313. *** 1166,1172 ****
  2314.       else h=0
  2315.       fi
  2316.   esac
  2317. ! echo "$a#define has__doprintf $h $z/* Does _doprintf() work?  */"
  2318.   case $h in
  2319.   0)
  2320.       $RM || exit
  2321. --- 1183,1189 ----
  2322.       else h=0
  2323.       fi
  2324.   esac
  2325. ! echo >>a.h "$a#define has__doprintf $h $z/* Does _doprintf() work?  */"
  2326.   case $h in
  2327.   0)
  2328.       $RM || exit
  2329. ***************
  2330. *** 1178,1184 ****
  2331.   *)
  2332.       h=? a='/* ' z='*/ '
  2333.   esac
  2334. ! echo "$a#define has__doprnt $h $z/* Does _doprnt() work?  */"
  2335.   
  2336.   : EXIT_FAILURE
  2337.   cat >a.c <<'EOF'
  2338. --- 1195,1201 ----
  2339.   *)
  2340.       h=? a='/* ' z='*/ '
  2341.   esac
  2342. ! echo >>a.h "$a#define has__doprnt $h $z/* Does _doprnt() work?  */"
  2343.   
  2344.   : EXIT_FAILURE
  2345.   cat >a.c <<'EOF'
  2346. ***************
  2347. *** 1190,1199 ****
  2348.   then a= z=
  2349.   else a='/* ' z='*/ '
  2350.   fi
  2351. ! echo "$a#undef EXIT_FAILURE $z/* Uncomment this if EXIT_FAILURE is broken.  */"
  2352.   
  2353.   : large_memory
  2354. ! echo "#define large_memory $has_mmap /* Can main memory hold entire RCS files?  */"
  2355.   
  2356.   : ULONG_MAX
  2357.   cat >a.c <<'EOF'
  2358. --- 1207,1216 ----
  2359.   then a= z=
  2360.   else a='/* ' z='*/ '
  2361.   fi
  2362. ! echo >>a.h "$a#undef EXIT_FAILURE $z/* Uncomment this if EXIT_FAILURE is broken.  */"
  2363.   
  2364.   : large_memory
  2365. ! echo >>a.h "#define large_memory $has_mmap /* Can main memory hold entire RCS files?  */"
  2366.   
  2367.   : ULONG_MAX
  2368.   cat >a.c <<'EOF'
  2369. ***************
  2370. *** 1213,1219 ****
  2371.   then a='/* ' z='*/ '
  2372.   else a= z=
  2373.   fi
  2374. ! echo "$a#undef ULONG_MAX $z/* Uncomment this if ULONG_MAX is broken (e.g. < 0).  */"
  2375.   
  2376.   : struct utimbuf
  2377.   cat >a.c <<'EOF'
  2378. --- 1230,1236 ----
  2379.   then a='/* ' z='*/ '
  2380.   else a= z=
  2381.   fi
  2382. ! echo >>a.h "$a#undef ULONG_MAX $z/* Uncomment this if ULONG_MAX is broken (e.g. < 0).  */"
  2383.   
  2384.   : struct utimbuf
  2385.   cat >a.c <<'EOF'
  2386. ***************
  2387. *** 1226,1238 ****
  2388.   then a='/* ' z=' */'
  2389.   else a= z=
  2390.   fi
  2391. ! echo "${a}struct utimbuf { time_t actime, modtime; };$z /* Uncomment this if needed.  */"
  2392.   
  2393.   : CO
  2394. ! echo "#define CO \"${RCSPREFIX}co\" /* name of 'co' program */"
  2395.   
  2396.   : COMPAT2
  2397. ! echo "#define COMPAT2 $COMPAT2 /* Are version 2 files supported?  */"
  2398.   
  2399.   : DATEFORM
  2400.   cat >a.c <<'EOF'
  2401. --- 1243,1255 ----
  2402.   then a='/* ' z=' */'
  2403.   else a= z=
  2404.   fi
  2405. ! echo >>a.h "${a}struct utimbuf { time_t actime, modtime; };$z /* Uncomment this if needed.  */"
  2406.   
  2407.   : CO
  2408. ! echo >>a.h "#define CO \"${RCSPREFIX}co\" /* name of 'co' program */"
  2409.   
  2410.   : COMPAT2
  2411. ! echo >>a.h "#define COMPAT2 $COMPAT2 /* Are version 2 files supported?  */"
  2412.   
  2413.   : DATEFORM
  2414.   cat >a.c <<'EOF'
  2415. ***************
  2416. *** 1244,1283 ****
  2417.   01)    f=%.2d;;
  2418.   *)    f=%02d
  2419.   esac
  2420. ! echo "#define DATEFORM \"$f.$f.$f.$f.$f.${f}\" /* e.g. 01.01.01.01.01.01 */"
  2421.   
  2422.   : DIFF
  2423. ! echo "#define DIFF \"${DIFF}\" /* name of 'diff' program */"
  2424.   
  2425.   : DIFF3
  2426. ! echo "#define DIFF3 \"${DIFF3}\" /* name of 'diff3' program */"
  2427.   
  2428. ! echo "#define DIFF3_A $DIFF3_A /* Does diff3 have an -A option?  */"
  2429.   
  2430. ! echo "#define DIFF3_BIN $DIFF3_BIN /* Is diff3 user-visible (not the /usr/lib auxiliary)?  */"
  2431.   
  2432.   : DIFF_FLAGS
  2433.   dfs=
  2434.   for df in $DIFF_FLAGS
  2435.   do dfs="$dfs, \"${df}\""
  2436.   done
  2437. ! echo "#define DIFF_FLAGS $dfs /* Make diff output suitable for RCS.  */"
  2438.   
  2439.   : DIFF_L
  2440. ! echo "#define DIFF_L $DIFF_L /* Does diff -L work? */"
  2441.   
  2442.   : DIFF_SUCCESS, DIFF_FAILURE, DIFF_TROUBLE
  2443. ! cat <<EOF
  2444.   #define DIFF_SUCCESS $DIFF_SUCCESS /* DIFF status if no differences are found */
  2445.   #define DIFF_FAILURE $DIFF_FAILURE /* DIFF status if differences are found */
  2446.   #define DIFF_TROUBLE $DIFF_TROUBLE /* DIFF status if trouble */
  2447.   EOF
  2448.   
  2449.   : ED
  2450. ! echo "#define ED \"${ED}\" /* name of 'ed' program (used only if !DIFF3_BIN) */"
  2451.   
  2452.   : MERGE
  2453. ! echo "#define MERGE \"${RCSPREFIX}merge\" /* name of 'merge' program */"
  2454.   
  2455.   : '*SLASH*', ROOTPATH, TMPDIR, X_DEFAULT
  2456.   case ${PWD-`pwd`} in
  2457. --- 1261,1300 ----
  2458.   01)    f=%.2d;;
  2459.   *)    f=%02d
  2460.   esac
  2461. ! echo >>a.h "#define DATEFORM \"$f.$f.$f.$f.$f.${f}\" /* e.g. 01.01.01.01.01.01 */"
  2462.   
  2463.   : DIFF
  2464. ! echo >>a.h "#define DIFF \"${DIFF}\" /* name of 'diff' program */"
  2465.   
  2466.   : DIFF3
  2467. ! echo >>a.h "#define DIFF3 \"${DIFF3}\" /* name of 'diff3' program */"
  2468.   
  2469. ! echo >>a.h "#define DIFF3_A $DIFF3_A /* Does diff3 have an -A option?  */"
  2470.   
  2471. ! echo >>a.h "#define DIFF3_BIN $DIFF3_BIN /* Is diff3 user-visible (not the /usr/lib auxiliary)?  */"
  2472.   
  2473.   : DIFF_FLAGS
  2474.   dfs=
  2475.   for df in $DIFF_FLAGS
  2476.   do dfs="$dfs, \"${df}\""
  2477.   done
  2478. ! echo >>a.h "#define DIFF_FLAGS $dfs /* Make diff output suitable for RCS.  */"
  2479.   
  2480.   : DIFF_L
  2481. ! echo >>a.h "#define DIFF_L $DIFF_L /* Does diff -L work? */"
  2482.   
  2483.   : DIFF_SUCCESS, DIFF_FAILURE, DIFF_TROUBLE
  2484. ! cat >>a.h <<'EOF'
  2485.   #define DIFF_SUCCESS $DIFF_SUCCESS /* DIFF status if no differences are found */
  2486.   #define DIFF_FAILURE $DIFF_FAILURE /* DIFF status if differences are found */
  2487.   #define DIFF_TROUBLE $DIFF_TROUBLE /* DIFF status if trouble */
  2488.   EOF
  2489.   
  2490.   : ED
  2491. ! echo >>a.h "#define ED \"${ED}\" /* name of 'ed' program (used only if !DIFF3_BIN) */"
  2492.   
  2493.   : MERGE
  2494. ! echo >>a.h "#define MERGE \"${RCSPREFIX}merge\" /* name of 'merge' program */"
  2495.   
  2496.   : '*SLASH*', ROOTPATH, TMPDIR, X_DEFAULT
  2497.   case ${PWD-`pwd`} in
  2498. ***************
  2499. *** 1298,1304 ****
  2500.   *)
  2501.       echo >&2 "cannot deduce SLASH"; exit 1
  2502.   esac
  2503. ! cat <<EOF
  2504.   #define TMPDIR "${SLASH}tmp" /* default directory for temporary files */
  2505.   #define SLASH $qSLASH /* principal pathname separator */
  2506.   #define SLASHes $SLASHes /* \`case SLASHes:' labels all pathname separators */
  2507. --- 1315,1321 ----
  2508.   *)
  2509.       echo >&2 "cannot deduce SLASH"; exit 1
  2510.   esac
  2511. ! cat >>a.h <<'EOF'
  2512.   #define TMPDIR "${SLASH}tmp" /* default directory for temporary files */
  2513.   #define SLASH $qSLASH /* principal pathname separator */
  2514.   #define SLASHes $SLASHes /* \`case SLASHes:' labels all pathname separators */
  2515. ***************
  2516. *** 1312,1318 ****
  2517.   "$SLASH"*) a=1;;
  2518.   *) a=0
  2519.   esac
  2520. ! echo "#define DIFF_ABSOLUTE $a /* Is ROOTPATH(DIFF) true?  */"
  2521.   
  2522.   : ALL_ABSOLUTE
  2523.   a=1
  2524. --- 1329,1335 ----
  2525.   "$SLASH"*) a=1;;
  2526.   *) a=0
  2527.   esac
  2528. ! echo >>a.h "#define DIFF_ABSOLUTE $a /* Is ROOTPATH(DIFF) true?  */"
  2529.   
  2530.   : ALL_ABSOLUTE
  2531.   a=1
  2532. ***************
  2533. *** 1323,1344 ****
  2534.       *) a=0 break
  2535.       esac
  2536.   done
  2537. ! echo "#define ALL_ABSOLUTE $a /* Are all subprograms absolute pathnames?  */"
  2538.   
  2539.   : SENDMAIL
  2540.   case $SENDMAIL in
  2541.   '') a='/* ' z='*/ ';;
  2542.   *) a= z=
  2543.   esac
  2544. ! echo "$a#define SENDMAIL $SENDMAIL $z/* how to send mail */"
  2545.   
  2546.   : TZ_must_be_set
  2547. ! echo "#define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work?  */"
  2548.   
  2549.   
  2550.   : standard function declarations
  2551.   
  2552. ! cat <<'EOF'
  2553.   
  2554.   
  2555.   
  2556. --- 1340,1361 ----
  2557.       *) a=0 break
  2558.       esac
  2559.   done
  2560. ! echo >>a.h "#define ALL_ABSOLUTE $a /* Are all subprograms absolute pathnames?  */"
  2561.   
  2562.   : SENDMAIL
  2563.   case $SENDMAIL in
  2564.   '') a='/* ' z='*/ ';;
  2565.   *) a= z=
  2566.   esac
  2567. ! echo >>a.h "$a#define SENDMAIL $SENDMAIL $z/* how to send mail */"
  2568.   
  2569.   : TZ_must_be_set
  2570. ! echo >>a.h "#define TZ_must_be_set 0 /* Must TZ be set for gmtime() to work?  */"
  2571.   
  2572.   
  2573.   : standard function declarations
  2574.   
  2575. ! cat >>a.h <<'EOF'
  2576.   
  2577.   
  2578.   
  2579. ***************
  2580. *** 1352,1358 ****
  2581.   #endif
  2582.   EOF
  2583.   
  2584. ! cat >a.ha <<EOF
  2585.   
  2586.   #if has_ftruncate
  2587.       int ftruncate P((int,off_t));
  2588. --- 1369,1375 ----
  2589.   #endif
  2590.   EOF
  2591.   
  2592. ! cat >a.ha <<'EOF'
  2593.   
  2594.   #if has_ftruncate
  2595.       int ftruncate P((int,off_t));
  2596.