home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / ispell-4.0.diffs < prev    next >
Encoding:
Text File  |  1995-01-21  |  65.5 KB  |  2,397 lines

  1. diff -rc --new-file ispell-4.0/INSTALL /gnu/src/amiga/ispell-4.0/INSTALL
  2. *** ispell-4.0/INSTALL    Fri Apr 16 21:46:56 1993
  3. --- /gnu/src/amiga/ispell-4.0/INSTALL    Thu Feb 24 00:22:50 1994
  4. ***************
  5. *** 37,44 ****
  6.   DIR is the directory that contains the source code.
  7.   
  8.   By default, `make install' will install the Ispell files in
  9. ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify
  10. ! an installation prefix other than /usr/local by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by giving a value
  12.   for the `prefix' variable when you run `make', e.g.,
  13.       make prefix=/usr/gnu
  14. --- 37,44 ----
  15.   DIR is the directory that contains the source code.
  16.   
  17.   By default, `make install' will install the Ispell files in
  18. ! /gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify
  19. ! an installation prefix other than /gnu by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by giving a value
  21.   for the `prefix' variable when you run `make', e.g.,
  22.       make prefix=/usr/gnu
  23. ***************
  24. *** 100,113 ****
  25.   
  26.   The files that get installed are (directories vary):
  27.   
  28. !     /usr/local/lib/ispell/ispell.dict
  29. !     /usr/local/lib/ispell/ispell.words
  30. !     /usr/local/bin/ispell
  31. !     /usr/local/bin/look
  32. !     /usr/local/lib/elisp/ispell.el
  33. !     /usr/local/lib/elisp/ispell.elc
  34. !     /usr/local/lib/emacs/info/ispell
  35. !     /usr/local/man/man1/ispell.1
  36.   
  37.   
  38.   4.  You can remove the program binaries and object files from the
  39. --- 100,113 ----
  40.   
  41.   The files that get installed are (directories vary):
  42.   
  43. !     /gnu/lib/ispell/ispell.dict
  44. !     /gnu/lib/ispell/ispell.words
  45. !     /gnu/bin/ispell
  46. !     /gnu/bin/look
  47. !     /gnu/lib/elisp/ispell.el
  48. !     /gnu/lib/elisp/ispell.elc
  49. !     /gnu/lib/emacs/info/ispell
  50. !     /gnu/man/man1/ispell.1
  51.   
  52.   
  53.   4.  You can remove the program binaries and object files from the
  54. diff -rc --new-file ispell-4.0/Makefile.in /gnu/src/amiga/ispell-4.0/Makefile.in
  55. *** ispell-4.0/Makefile.in    Tue Jun  1 09:54:52 1993
  56. --- /gnu/src/amiga/ispell-4.0/Makefile.in    Sat Sep  3 10:44:20 1994
  57. ***************
  58. *** 32,41 ****
  59.   CHARSET = @CHARSET@
  60.   ALLOCA = @ALLOCA@
  61.   
  62. ! CFLAGS = -g
  63. ! LDFLAGS = -g
  64.   
  65. ! prefix = /usr/local
  66.   exec_prefix = $(prefix)
  67.   
  68.   bindir = $(exec_prefix)/bin
  69. --- 32,41 ----
  70.   CHARSET = @CHARSET@
  71.   ALLOCA = @ALLOCA@
  72.   
  73. ! CFLAGS = -O2
  74. ! LDFLAGS =
  75.   
  76. ! prefix = /gnu
  77.   exec_prefix = $(prefix)
  78.   
  79.   bindir = $(exec_prefix)/bin
  80. ***************
  81. *** 89,95 ****
  82.   .c.o:
  83.       $(CC) -c -I$(srcdir) $(DEFS) -DDICT_LIB=\"$(DICT_LIB)\" $(CPPFLAGS) $(CFLAGS) $<
  84.   
  85. ! all: build look ispell ispell.dict ispell.words ispell.info
  86.   
  87.   ### targets required by GNU Coding standards ###
  88.   
  89. --- 89,95 ----
  90.   .c.o:
  91.       $(CC) -c -I$(srcdir) $(DEFS) -DDICT_LIB=\"$(DICT_LIB)\" $(CPPFLAGS) $(CFLAGS) $<
  92.   
  93. ! all: build look ispell ispell.dict ispell.words ispell.info ispell.elc
  94.   
  95.   ### targets required by GNU Coding standards ###
  96.   
  97. ***************
  98. *** 117,123 ****
  99.   realclean: distclean mostlyclean
  100.       rm -f TAGS ispell.info configure
  101.   
  102. ! install: all ispell.info installdirs
  103.       $(INSTALL_PROGRAM) ispell $(bindir)/ispell
  104.       $(INSTALL_PROGRAM) look $(bindir)/look
  105.       $(INSTALL_DATA) ispell.dict $(datadir)/ispell.dict
  106. --- 117,123 ----
  107.   realclean: distclean mostlyclean
  108.       rm -f TAGS ispell.info configure
  109.   
  110. ! install: all installdirs
  111.       $(INSTALL_PROGRAM) ispell $(bindir)/ispell
  112.       $(INSTALL_PROGRAM) look $(bindir)/look
  113.       $(INSTALL_DATA) ispell.dict $(datadir)/ispell.dict
  114. ***************
  115. *** 211,219 ****
  116.   charset.c: $(CHARSET)
  117.       cp $(srcdir)/$(CHARSET) charset.c
  118.   
  119. ! ispell.elc: ispell.el
  120. !     emacs -batch -l $(srcdir)/ispell.el -f batch-make-ispell
  121.   
  122.   
  123.   force:
  124.   
  125. --- 211,229 ----
  126.   charset.c: $(CHARSET)
  127.       cp $(srcdir)/$(CHARSET) charset.c
  128.   
  129. ! # If $(srcdir) is not the build directory, the emacs -batch command
  130. ! # fails, at least for the AmigaDOS version.  So if there is no ispell.el
  131. ! # in the build directory, copy one from the source directory.
  132.   
  133. + ispell.elc: ispell.el
  134. +     -if [ ! -f ispell.el ]; then \
  135. +         cp $(srcdir)/ispell.el ispell.el; \
  136. +         touch tmp-ispell.el; \
  137. +     fi
  138. +     emacs -batch -l ispell.el -f batch-make-ispell
  139. +     -if [ -f tmp-ispell.el ]; then \
  140. +         rm ispell.el tmp-ispell.el; \
  141. +     fi
  142.   
  143.   force:
  144.   
  145. diff -rc --new-file ispell-4.0/Product-Info /gnu/src/amiga/ispell-4.0/Product-Info
  146. *** ispell-4.0/Product-Info    Thu Jan  1 00:00:00 1970
  147. --- /gnu/src/amiga/ispell-4.0/Product-Info    Tue Jul 12 17:28:32 1994
  148. ***************
  149. *** 0 ****
  150. --- 1,51 ----
  151. + .name
  152. + ispell
  153. + .fullname
  154. + GNU spelling checker
  155. + .type
  156. + Miscellaneous
  157. + .short
  158. + GNU spelling checker
  159. + .description
  160. + Ispell is a program that helps you to correct typos in a file, and to
  161. + find the correct spelling of words.  When presented with a word that
  162. + is not in the dictionary, ispell attempts to find near misses that
  163. + might include the word you meant.
  164. + The best way to use ispell is with GNU EMACS.  For documentation about
  165. + this mode, see the info topic "ispell".
  166. + Ispell can also be used by itself, and in this case the most common
  167. + usage is "ispell filename".  If ispell finds a word that is not in the
  168. + dictionary, it is printed at the top of the screen.  Ispell then
  169. + checks the dictionary for near misses \- words that differ only by a
  170. + single letter, a missing or extra letter, or a pair of transposed
  171. + letters.  Any that are found are printed on the following lines, and
  172. + finally, two lines of context containing the word are printed at the
  173. + bottom of the screen.  If your terminal can type in reverse video, the
  174. + word itself is highlighted.
  175. + If you think the word is correct as it stands, you can type either
  176. + "Space" to accept it this one time, "A" to accept it for the rest of
  177. + this file, or "I" to accept it and put it in your private dictionary.
  178. + If one of the near misses is the word you want, type the corresponding
  179. + number.  Finally, you can type "R" and you will be prompted for a
  180. + replacement word.  The string you type will be broken into words, and
  181. + each one will also be checked.  You can also type "?" for help.
  182. + If ispell is started with no arguments, it enters a loop reading words
  183. + from the standard input, and printing messages about them on the
  184. + standard output.  You can use this mode to find the spelling of a
  185. + problem word.
  186. + .version
  187. + 4.0
  188. + .author
  189. + Pace Willisson
  190. + .requirements
  191. + Amiga binary requires ixemul.library.
  192. + .distribution
  193. + GNU Public License
  194. + .email
  195. + pace@mit-vax
  196. + .described-by
  197. + Fred Fish (fnf@amigalib.com)
  198. diff -rc --new-file ispell-4.0/configure /gnu/src/amiga/ispell-4.0/configure
  199. *** ispell-4.0/configure    Tue Jun  1 08:10:18 1993
  200. --- /gnu/src/amiga/ispell-4.0/configure    Mon Apr 25 21:50:56 1994
  201. ***************
  202. *** 1,143 ****
  203.   #!/bin/sh
  204.   # Guess values for system-dependent variables and create Makefiles.
  205. ! # Generated automatically using autoconf.
  206. ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  207.   
  208. ! # This program is free software; you can redistribute it and/or modify
  209. ! # it under the terms of the GNU General Public License as published by
  210. ! # the Free Software Foundation; either version 2, or (at your option)
  211.   # any later version.
  212.   
  213. ! # This program is distributed in the hope that it will be useful,
  214. ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
  215. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  216. ! # GNU General Public License for more details.
  217.   
  218.   # You should have received a copy of the GNU General Public License
  219.   # along with this program; if not, write to the Free Software
  220.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  221.   
  222. ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  223. ! #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET]
  224. ! # Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  225. ! # --with-PACKAGE unless this script has special code to handle it.
  226.   
  227.   
  228. ! for arg
  229.   do
  230. -   # Handle --exec-prefix with a space before the argument.
  231. -   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  232. -   # Handle --host with a space before the argument.
  233. -   elif test x$next_host = xyes; then next_host=
  234. -   # Handle --prefix with a space before the argument.
  235. -   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  236. -   # Handle --srcdir with a space before the argument.
  237. -   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  238. -   else
  239. -     case $arg in
  240. -      # For backward compatibility, also recognize exact --exec_prefix.
  241. -      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  242. -     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  243. -      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  244. -     next_exec_prefix=yes ;;
  245. -      -gas | --gas | --ga | --g) ;;
  246. -      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  247. -      -host | --host | --hos | --ho | --h)
  248. -     next_host=yes ;;
  249. -      -nfp | --nfp | --nf) ;;
  250. -      -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  251. -         no_create=1 ;;
  252. -      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  253. -     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  254. -      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  255. -     next_prefix=yes ;;
  256. -      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  257. -     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  258. -      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  259. -     next_srcdir=yes ;;
  260. -      -with-* | --with-*)
  261. -        package=`echo $arg|sed 's/-*with-//'`
  262. -        # Delete all the valid chars; see if any are left.
  263. -        if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then
  264. -          echo "configure: $package: invalid package name" >&2; exit 1
  265. -        fi
  266. -        eval "with_`echo $package|sed s/-/_/g`=1" ;;
  267.   
  268. !      -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  269. !        verbose=yes ;;
  270.   
  271. !      *) ;;
  272.       esac
  273. !   fi
  274. ! done
  275.   
  276. ! trap 'rm -f conftest* core; exit 1' 1 3 15
  277.   
  278. ! # Needed for some versions of `tr' so that character classes in `[]' work.
  279. ! if test "${LANG+set}" = "set" ; then
  280. !    LANG=C
  281.   fi
  282.   
  283. ! rm -f conftest*
  284. ! compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  285.   
  286.   # A filename unique to this package, relative to the directory that
  287.   # configure is in, which we can look for to find out if srcdir is correct.
  288. ! unique_file=ispell.c
  289.   
  290.   # Find the source files, if location was not specified.
  291.   if test -z "$srcdir"; then
  292. !   srcdirdefaulted=yes
  293.     # Try the directory containing this script, then `..'.
  294. !   prog=$0
  295. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  296. !   test "X$confdir" = "X$prog" && confdir=.
  297. !   srcdir=$confdir
  298. !   if test ! -r $srcdir/$unique_file; then
  299.       srcdir=..
  300.     fi
  301.   fi
  302. ! if test ! -r $srcdir/$unique_file; then
  303. !   if test x$srcdirdefaulted = xyes; then
  304. !     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  305.     else
  306. !     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  307.     fi
  308. -   exit 1
  309.   fi
  310. ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  311. ! # But we can't avoid them for `..', to make subdirectories work.
  312. ! case $srcdir in
  313. !   .|/*|~*) ;;
  314. !   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  315. ! esac
  316.   
  317. - # Save the original args to write them into config.status later.
  318. - configure_args="$*"
  319.   
  320.   if test -z "$CC"; then
  321.     # Extract the first word of `gcc', so it can be a program name with args.
  322. !   set dummy gcc; word=$2
  323. !   echo checking for $word
  324. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  325. !   for dir in $PATH; do
  326. !     test -z "$dir" && dir=.
  327. !     if test -f $dir/$word; then
  328.         CC="gcc"
  329.         break
  330.       fi
  331.     done
  332. !   IFS="$saveifs"
  333.   fi
  334.   test -z "$CC" && CC="cc"
  335. ! test -n "$CC" -a -n "$verbose" && echo "    setting CC to $CC"
  336.   
  337.   # Find out if we are using GNU C, under whatever name.
  338.   cat > conftest.c <<EOF
  339. --- 1,335 ----
  340.   #!/bin/sh
  341.   # Guess values for system-dependent variables and create Makefiles.
  342. ! # Generated automatically using autoconf version 1.9 
  343. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  344.   
  345. ! # This configure script is free software; you can redistribute it and/or
  346. ! # modify it under the terms of the GNU General Public License as published
  347. ! # by the Free Software Foundation; either version 2, or (at your option)
  348.   # any later version.
  349.   
  350. ! # This script is distributed in the hope that it will be useful, but
  351. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  352. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  353. ! # Public License for more details.
  354.   
  355.   # You should have received a copy of the GNU General Public License
  356.   # along with this program; if not, write to the Free Software
  357.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  358.   
  359. ! # Save the original args to write them into config.status later.
  360. ! configure_args="$*"
  361.   
  362. + # Only options that might do something get documented.
  363. + ac_usage="Usage: configure [options] [host]
  364. + Options: [defaults in brackets after descriptions]
  365. + --build=BUILD        configure for building on BUILD [BUILD=HOST]
  366. + --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  367. + --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  368. + --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  369. + --help            print this message
  370. + --host=HOST        configure for HOST [guessed]
  371. + --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  372. + --quiet, --silent    do not print \`checking for...' messages
  373. + --srcdir=DIR        find the sources in DIR [configure dir or ..]
  374. + --target=TARGET        configure for TARGET [TARGET=HOST]
  375. + --verbose        print results of checks
  376. + --version        print the version of autoconf that created configure
  377. + --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  378. + --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  379. + --x-includes=DIR    X include files are in DIR
  380. + --x-libraries=DIR    X library files are in DIR"
  381. + # Initialize some variables set by options.
  382. + # The variables have the same names as the options, with
  383. + # dashes changed to underlines.
  384. + build=NONE
  385. + exec_prefix=
  386. + host=NONE
  387. + no_create=
  388. + nonopt=NONE
  389. + norecursion=
  390. + prefix=
  391. + program_prefix=
  392. + program_suffix=
  393. + program_transform_name=
  394. + silent=
  395. + srcdir=
  396. + target=NONE
  397. + verbose=
  398. + x_includes=
  399. + x_libraries=
  400.   
  401. ! ac_prev=
  402. ! for ac_option
  403.   do
  404.   
  405. !   # If the previous option needs an argument, assign it.
  406. !   if test -n "$ac_prev"; then
  407. !     eval "$ac_prev=\$ac_option"
  408. !     ac_prev=
  409. !     continue
  410. !   fi
  411. !   # Accept (but ignore some of) the important Cygnus configure
  412. !   # options, so we can diagnose typos.
  413.   
  414. !   case "$ac_option" in
  415. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  416. !   *) ac_optarg= ;;
  417. !   esac
  418. !   case "$ac_option" in
  419. !   -build | --build | --buil | --bui | --bu | --b)
  420. !     ac_prev=build ;;
  421. !   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  422. !     build="$ac_optarg" ;;
  423. !   -disable-* | --disable-*)
  424. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  425. !     # Reject names that aren't valid shell variable names.
  426. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  427. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  428. !     fi
  429. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  430. !     eval "enable_${ac_feature}=no" ;;
  431. !   -enable-* | --enable-*)
  432. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  433. !     # Reject names that aren't valid shell variable names.
  434. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  435. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  436. !     fi
  437. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  438. !     case "$ac_option" in
  439. !       *=*) ;;
  440. !       *) ac_optarg=yes ;;
  441.       esac
  442. !     eval "enable_${ac_feature}='$ac_optarg'" ;;
  443. !   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  444. !   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  445. !   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  446. !   | --exec | --exe | --ex)
  447. !     ac_prev=exec_prefix ;;
  448. !   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  449. !   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  450. !   | --exec=* | --exe=* | --ex=*)
  451. !     exec_prefix="$ac_optarg" ;;
  452. !   -gas | --gas | --ga | --g)
  453. !     with_gas=yes ;; # Obsolete; use --with-gas.
  454. !   -help | --help | --hel | --he)
  455. !     cat << EOF
  456. ! $ac_usage
  457. ! EOF
  458. !     exit 0 ;;
  459. !   -host | --host | --hos | --ho)
  460. !     ac_prev=host ;;
  461. !   -host=* | --host=* | --hos=* | --ho=*)
  462. !     host="$ac_optarg" ;;
  463. !   -nfp | --nfp | --nf)
  464. !     with_fp=no ;; # Obsolete; use --without-fp.
  465. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  466. !   | --no-cr | --no-c)
  467. !     no_create=yes ;;
  468. !   -norecursion | --norecursion | --norecursio | --norecursi \
  469. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  470. !     norecursion=yes ;;
  471. !   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  472. !     ac_prev=prefix ;;
  473. !   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  474. !     prefix="$ac_optarg" ;;
  475. !   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  476. !   | --program-pre | --program-pr | --program-p)
  477. !     ac_prev=program_prefix ;;
  478. !   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  479. !   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  480. !     program_prefix="$ac_optarg" ;;
  481. !   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  482. !   | --program-suf | --program-su | --program-s)
  483. !     ac_prev=program_suffix ;;
  484. !   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  485. !   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  486. !     program_suffix="$ac_optarg" ;;
  487. !   -program-transform-name | --program-transform-name \
  488. !   | --program-transform-nam | --program-transform-na \
  489. !   | --program-transform-n | --program-transform- \
  490. !   | --program-transform | --program-transfor \
  491. !   | --program-transfo | --program-transf \
  492. !   | --program-trans | --program-tran \
  493. !   | --progr-tra | --program-tr | --program-t)
  494. !     ac_prev=program_transform_name ;;
  495. !   -program-transform-name=* | --program-transform-name=* \
  496. !   | --program-transform-nam=* | --program-transform-na=* \
  497. !   | --program-transform-n=* | --program-transform-=* \
  498. !   | --program-transform=* | --program-transfor=* \
  499. !   | --program-transfo=* | --program-transf=* \
  500. !   | --program-trans=* | --program-tran=* \
  501. !   | --progr-tra=* | --program-tr=* | --program-t=*)
  502. !     program_transform_name="$ac_optarg" ;;
  503. !   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  504. !   | -silent | --silent | --silen | --sile | --sil)
  505. !     silent=yes ;;
  506. !   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  507. !     ac_prev=srcdir ;;
  508. !   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  509. !     srcdir="$ac_optarg" ;;
  510. !   -target | --target | --targe | --targ | --tar | --ta | --t)
  511. !     ac_prev=target ;;
  512. !   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  513. !     target="$ac_optarg" ;;
  514. !   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  515. !     verbose=yes ;;
  516. !   -version | --version | --versio | --versi | --vers)
  517. !     /bin/echo "configure generated by autoconf version 1.9"
  518. !     exit 0 ;;
  519. !   -with-* | --with-*)
  520. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  521. !     # Reject names that aren't valid shell variable names.
  522. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  523. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  524. !     fi
  525. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  526. !     case "$ac_option" in
  527. !       *=*) ;;
  528. !       *) ac_optarg=yes ;;
  529. !     esac
  530. !     eval "with_${ac_package}='$ac_optarg'" ;;
  531. !   -without-* | --without-*)
  532. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  533. !     # Reject names that aren't valid shell variable names.
  534. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  535. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  536. !     fi
  537. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  538. !     eval "with_${ac_package}=no" ;;
  539.   
  540. !   --x) with_x=yes ;; # Obsolete; use --with-x.
  541.   
  542. !   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  543. !   | --x-incl | --x-inc | --x-in | --x-i)
  544. !     ac_prev=x_includes ;;
  545. !   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  546. !   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  547. !     x_includes="$ac_optarg" ;;
  548. !   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  549. !   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  550. !     ac_prev=x_libraries ;;
  551. !   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  552. !   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  553. !     x_libraries="$ac_optarg" ;;
  554. !   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  555. !     ;;
  556. !   *) 
  557. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  558. !       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  559. !     fi
  560. !     if test "x$nonopt" != xNONE; then
  561. !       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  562. !     fi
  563. !     nonopt="$ac_option"
  564. !     ;;
  565. !   esac
  566. ! done
  567. ! if test -n "$ac_prev"; then
  568. !   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  569.   fi
  570.   
  571. ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  572. ! trap 'rm -fr confdefs* $ac_clean_files' 0
  573. ! # Save the original args if we used an alternate arg parser.
  574. ! ac_configure_temp="${configure_args-$*}"
  575. ! # Strip out --no-create and --norecursion so they don't pile up.
  576. ! configure_args=
  577. ! for ac_arg in $ac_configure_temp; do
  578. !   case "$ac_arg" in
  579. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  580. !   | --no-cr | --no-c) ;;
  581. !   -norecursion | --norecursion | --norecursio | --norecursi \
  582. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  583. !   *) configure_args="$configure_args $ac_arg" ;;
  584. !   esac
  585. ! done
  586. ! # NLS nuisances.
  587. ! # These must not be set unconditionally because not all systems understand
  588. ! # e.g. LANG=C (notably SCO).
  589. ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  590. ! if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  591. ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
  592. ! rm -rf conftest* confdefs.h
  593. ! # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  594. ! /bin/echo > confdefs.h
  595.   
  596.   # A filename unique to this package, relative to the directory that
  597.   # configure is in, which we can look for to find out if srcdir is correct.
  598. ! ac_unique_file=ispell.c
  599.   
  600.   # Find the source files, if location was not specified.
  601.   if test -z "$srcdir"; then
  602. !   ac_srcdir_defaulted=yes
  603.     # Try the directory containing this script, then `..'.
  604. !   ac_prog=$0
  605. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  606. !   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  607. !   srcdir=$ac_confdir
  608. !   if test ! -r $srcdir/$ac_unique_file; then
  609.       srcdir=..
  610.     fi
  611.   fi
  612. ! if test ! -r $srcdir/$ac_unique_file; then
  613. !   if test x$ac_srcdir_defaulted = xyes; then
  614. !     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  615.     else
  616. !     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  617.     fi
  618.   fi
  619. ! ac_ext=c
  620. ! ac_cpp='${CPP} $CFLAGS'
  621. ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  622.   
  623.   
  624.   if test -z "$CC"; then
  625.     # Extract the first word of `gcc', so it can be a program name with args.
  626. !   set ac_dummy gcc; ac_word=$2
  627. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  628. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  629. !   for ac_dir in $PATH; do
  630. !     test -z "$ac_dir" && ac_dir=.
  631. !     if test -f $ac_dir/$ac_word; then
  632.         CC="gcc"
  633.         break
  634.       fi
  635.     done
  636. !   IFS="$ac_save_ifs"
  637.   fi
  638.   test -z "$CC" && CC="cc"
  639. ! test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  640.   
  641.   # Find out if we are using GNU C, under whatever name.
  642.   cat > conftest.c <<EOF
  643. ***************
  644. *** 151,200 ****
  645.   fi
  646.   rm -f conftest*
  647.   
  648. ! echo checking how to run the C preprocessor
  649.   if test -z "$CPP"; then
  650. !   CPP='${CC-cc} -E'
  651. !   cat > conftest.c <<EOF
  652.   #include <stdio.h>
  653.   EOF
  654. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  655. ! if test -z "$err"; then
  656.     :
  657.   else
  658.     CPP=/lib/cpp
  659.   fi
  660.   rm -f conftest*
  661.   fi
  662.   
  663.   if test -n "$GCC"; then
  664. !   echo checking whether -traditional is needed
  665. !   pattern="Autoconf.*'x'"
  666. !   prog='#include <sgtty.h>
  667.   Autoconf TIOCGETP'
  668. !   cat > conftest.c <<EOF
  669. ! $prog
  670.   EOF
  671. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  672. ! if egrep "$pattern" conftest.out >/dev/null 2>&1; then
  673. !   need_trad=1
  674.   fi
  675.   rm -f conftest*
  676.   
  677.   
  678. !   if test -z "$need_trad"; then
  679. !     prog='#include <termio.h>
  680.   Autoconf TCGETA'
  681. !     cat > conftest.c <<EOF
  682. ! $prog
  683. ! EOF
  684. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  685. ! if egrep "$pattern" conftest.out >/dev/null 2>&1; then
  686. !   need_trad=1
  687.   fi
  688.   rm -f conftest*
  689.   
  690.     fi
  691. !   test -n "$need_trad" && CC="$CC -traditional"
  692.   fi
  693.   
  694.   # Make sure to not get the incompatible SysV /etc/install and
  695. --- 343,422 ----
  696.   fi
  697.   rm -f conftest*
  698.   
  699. ! test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  700.   if test -z "$CPP"; then
  701. !   # This must be in double quotes, not single quotes, because CPP may get
  702. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  703. !   # make.  It must be expanded now.
  704. !   CPP="${CC-cc} -E"
  705. !   cat > conftest.${ac_ext} <<EOF
  706. ! #include "confdefs.h"
  707. ! #include <stdio.h>
  708. ! Syntax Error
  709. ! EOF
  710. ! # Some shells (Coherent) do redirections in the wrong order, so need
  711. ! # the parens.
  712. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  713. ! if test -z "$ac_err"; then
  714. !   :
  715. ! else
  716. !   rm -rf conftest*
  717. !   CPP="${CC-cc} -E -traditional-cpp"
  718. !   cat > conftest.${ac_ext} <<EOF
  719. ! #include "confdefs.h"
  720.   #include <stdio.h>
  721. + Syntax Error
  722.   EOF
  723. ! # Some shells (Coherent) do redirections in the wrong order, so need
  724. ! # the parens.
  725. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  726. ! if test -z "$ac_err"; then
  727.     :
  728.   else
  729. +   rm -rf conftest*
  730.     CPP=/lib/cpp
  731.   fi
  732.   rm -f conftest*
  733.   fi
  734. + rm -f conftest*
  735. + fi
  736. + test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  737.   
  738.   if test -n "$GCC"; then
  739. !   test -n "$silent" || /bin/echo "checking whether -traditional is needed"
  740. !   ac_pattern="Autoconf.*'x'"
  741. !   ac_prog='#include <sgtty.h>
  742.   Autoconf TIOCGETP'
  743. !   cat > conftest.${ac_ext} <<EOF
  744. ! #include "confdefs.h"
  745. ! $ac_prog
  746.   EOF
  747. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  748. ! if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  749. !   rm -rf conftest*
  750. !   ac_need_trad=1
  751.   fi
  752.   rm -f conftest*
  753.   
  754.   
  755. !   if test -z "$ac_need_trad"; then
  756. !     ac_prog='#include <termio.h>
  757.   Autoconf TCGETA'
  758. !     cat > conftest.${ac_ext} <<EOF
  759. ! #include "confdefs.h"
  760. ! $ac_prog
  761. ! EOF
  762. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  763. ! if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  764. !   rm -rf conftest*
  765. !   ac_need_trad=1
  766.   fi
  767.   rm -f conftest*
  768.   
  769.     fi
  770. !   test -n "$ac_need_trad" && CC="$CC -traditional"
  771.   fi
  772.   
  773.   # Make sure to not get the incompatible SysV /etc/install and
  774. ***************
  775. *** 202,288 ****
  776.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  777.   # or the AFS install, which mishandles nonexistent args, or
  778.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  779. ! # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  780. ! # anyway.  Sigh.
  781.   if test "z${INSTALL}" = "z" ; then
  782. !   echo checking for install
  783. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  784. !   for dir in $PATH; do
  785. !     test -z "$dir" && dir=.
  786. !     case $dir in
  787. !     /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  788.       *)
  789. !       if test -f $dir/installbsd; then
  790. !     INSTALL="$dir/installbsd -c" # OSF1
  791. !     INSTALL_PROGRAM='$(INSTALL)'
  792. !     INSTALL_DATA='$(INSTALL) -m 644'
  793. !     break
  794. !       fi
  795. !       if test -f $dir/install; then
  796. !     if grep dspmsg $dir/install >/dev/null 2>&1; then
  797. !       : # AIX
  798. !     else
  799. !       INSTALL="$dir/install -c"
  800. !       INSTALL_PROGRAM='$(INSTALL)'
  801. !       INSTALL_DATA='$(INSTALL) -m 644'
  802. !       break
  803.       fi
  804. !       fi
  805.         ;;
  806.       esac
  807.     done
  808. !   IFS="$saveifs"
  809.   fi
  810. ! INSTALL=${INSTALL-cp}
  811. ! INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  812. ! INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  813. ! echo checking for BSD string and memory functions
  814. ! cat > conftest.c <<EOF
  815. ! #include <strings.h>
  816. ! int main() { exit(0); }
  817. ! int t() { rindex(0, 0); bzero(0, 0); }
  818. ! EOF
  819. ! if eval $compile; then
  820. !   :
  821. ! else
  822. !   {
  823. ! test -n "$verbose" && \
  824. ! echo '    defining' USG
  825. ! DEFS="$DEFS -DUSG=1"
  826. ! }
  827.   fi
  828. ! rm -f conftest*
  829.   
  830. - if test "z$USG" = "z" ; then
  831. -    echo checking for BSD
  832. -    ( test -f /vmunix || test -f /sdmach || test -f /../../mach ) && {
  833. - test -n "$verbose" && \
  834. - echo '    defining' BSD
  835. - DEFS="$DEFS -DBSD=1"
  836. - }
  837. - fi
  838.   
  839.   CHARSET="c-generic.c"
  840.   if test -z "$i386_host_p"; then
  841.     # Extract the first word of `i386', so it can be a program name with args.
  842. !   set dummy i386; word=$2
  843. !   echo checking for $word
  844. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  845. !   for dir in $PATH; do
  846. !     test -z "$dir" && dir=.
  847. !     if test -f $dir/$word; then
  848.         i386_host_p="t"
  849.         break
  850.       fi
  851.     done
  852. !   IFS="$saveifs"
  853.   fi
  854.   test -z "$i386_host_p" && i386_host_p="nil"
  855. ! test -n "$i386_host_p" -a -n "$verbose" && echo "    setting i386_host_p to $i386_host_p"
  856.   
  857.   if test "${i386_host_p}" = "t" && i386 > /dev/null 2>&1; then
  858.      CHARSET="c-ibmpc.c"
  859. --- 424,503 ----
  860.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  861.   # or the AFS install, which mishandles nonexistent args, or
  862.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  863. ! # `staff', or /sbin/install on IRIX which has incompatible command-line
  864. ! # syntax.  Sigh.
  865. ! #
  866. ! #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  867. ! #     anyway.
  868. ! # This turns out not to be true, so the mere pathname isn't an indication
  869. ! # of whether the program works.  What we really need is a set of tests for
  870. ! # the install program to see if it actually works in all the required ways.
  871. ! #
  872. ! # Avoid using ./install, which might have been erroneously created
  873. ! # by make from ./install.sh.
  874.   if test "z${INSTALL}" = "z" ; then
  875. !   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  876. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  877. !   for ac_dir in $PATH; do
  878. !     case "$ac_dir" in
  879. !     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  880.       *)
  881. !       # OSF1 and SCO ODT 3.0 have their own names for install.
  882. !       for ac_prog in installbsd scoinst install; do
  883. !         if test -f $ac_dir/$ac_prog; then
  884. !       if test $ac_prog = install &&
  885. !             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  886. !         # AIX install.  It has an incompatible calling convention.
  887. !         # OSF/1 installbsd also uses dspmsg, but is usable.
  888. !         :
  889. !       else
  890. !         INSTALL="$ac_dir/$ac_prog -c"
  891. !         INSTALL_PROGRAM='${INSTALL}'
  892. !         INSTALL_DATA='${INSTALL} -m 644'
  893. !         break 2
  894. !       fi
  895.       fi
  896. !       done
  897.         ;;
  898.       esac
  899.     done
  900. !   IFS="$ac_save_ifs"
  901.   fi
  902. ! if test -z "$INSTALL"; then
  903. !   if test -f ${srcdir}/install.sh; then
  904. !     # As a last resort, use the slow shell script.
  905. !     INSTALL='@top_srcdir@/install.sh -c'
  906. !   else
  907. !     /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
  908. !     INSTALL=cp
  909. !   fi
  910.   fi
  911. ! test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  912. ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  913. ! # It thinks the first close brace ends the variable substitution.
  914. ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  915. ! test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  916. ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
  917. ! test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  918.   
  919.   
  920.   CHARSET="c-generic.c"
  921.   if test -z "$i386_host_p"; then
  922.     # Extract the first word of `i386', so it can be a program name with args.
  923. !   set ac_dummy i386; ac_word=$2
  924. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  925. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  926. !   for ac_dir in $PATH; do
  927. !     test -z "$ac_dir" && ac_dir=.
  928. !     if test -f $ac_dir/$ac_word; then
  929.         i386_host_p="t"
  930.         break
  931.       fi
  932.     done
  933. !   IFS="$ac_save_ifs"
  934.   fi
  935.   test -z "$i386_host_p" && i386_host_p="nil"
  936. ! test -n "$i386_host_p" && test -n "$verbose" && /bin/echo "    setting i386_host_p to $i386_host_p"
  937.   
  938.   if test "${i386_host_p}" = "t" && i386 > /dev/null 2>&1; then
  939.      CHARSET="c-ibmpc.c"
  940. ***************
  941. *** 291,311 ****
  942.   # Systems that have -ltermlib should use that before -ltermcap (e.g. SVR4)
  943.   found_termlib=''
  944.   for termlib in termlib termcap terminfo curses ; do
  945. !    LIBS_save="${LIBS}"
  946.   LIBS="${LIBS} -l${termlib}"
  947. ! have_lib=""
  948. ! echo checking for -l${termlib}
  949. ! cat > conftest.c <<EOF
  950.   
  951. ! int main() { exit(0); }
  952. ! int t() { main(); }
  953.   EOF
  954. ! if eval $compile; then
  955. !   have_lib="1"
  956.   fi
  957.   rm -f conftest*
  958. ! LIBS="${LIBS_save}"
  959. ! if test -n "${have_lib}"; then
  960.      :; LIBS="${LIBS} -l${termlib}"
  961.   else
  962.      :; 
  963. --- 506,529 ----
  964.   # Systems that have -ltermlib should use that before -ltermcap (e.g. SVR4)
  965.   found_termlib=''
  966.   for termlib in termlib termcap terminfo curses ; do
  967. !    ac_save_LIBS="${LIBS}"
  968.   LIBS="${LIBS} -l${termlib}"
  969. ! ac_have_lib=""
  970. ! test -n "$silent" || /bin/echo "checking for -l${termlib}"
  971. ! cat > conftest.${ac_ext} <<EOF
  972. ! #include "confdefs.h"
  973.   
  974. ! int main() { return 0; }
  975. ! int t() { main();; return 0; }
  976.   EOF
  977. ! if eval $ac_compile; then
  978. !   rm -rf conftest*
  979. !   ac_have_lib="1"
  980.   fi
  981.   rm -f conftest*
  982. ! LIBS="${ac_save_LIBS}"
  983. ! if test -n "${ac_have_lib}"; then
  984.      :; LIBS="${LIBS} -l${termlib}"
  985.   else
  986.      :; 
  987. ***************
  988. *** 316,364 ****
  989.      esac
  990.   done
  991.   if test ".${found_termlib}" = "." ; then 
  992. !    {
  993.   test -n "$verbose" && \
  994. ! echo '    defining' NO_TERMCAP
  995.   DEFS="$DEFS -DNO_TERMCAP=1"
  996.   }
  997.   
  998.   fi
  999.   
  1000. ! LIBS_save="${LIBS}"
  1001.   LIBS="${LIBS} -lBSD"
  1002. ! have_lib=""
  1003. ! echo checking for -lBSD
  1004. ! cat > conftest.c <<EOF
  1005.   
  1006. ! int main() { exit(0); }
  1007. ! int t() { main(); }
  1008.   EOF
  1009. ! if eval $compile; then
  1010. !   have_lib="1"
  1011.   fi
  1012.   rm -f conftest*
  1013. ! LIBS="${LIBS_save}"
  1014. ! if test -n "${have_lib}"; then
  1015.      :; LIBS="${LIBS} -lBSD"
  1016.   else
  1017.      :; 
  1018.   fi
  1019.   
  1020. ! LIBS_save="${LIBS}"
  1021.   LIBS="${LIBS} -lc"
  1022. ! have_lib=""
  1023. ! echo checking for -lc
  1024. ! cat > conftest.c <<EOF
  1025.   
  1026. ! int main() { exit(0); }
  1027. ! int t() { main(); }
  1028.   EOF
  1029. ! if eval $compile; then
  1030. !   have_lib="1"
  1031.   fi
  1032.   rm -f conftest*
  1033. ! LIBS="${LIBS_save}"
  1034. ! if test -n "${have_lib}"; then
  1035.      :; LIBS="${LIBS} -lc"
  1036.   else
  1037.      :; 
  1038. --- 534,590 ----
  1039.      esac
  1040.   done
  1041.   if test ".${found_termlib}" = "." ; then 
  1042. !    
  1043. ! {
  1044.   test -n "$verbose" && \
  1045. ! /bin/echo "    defining NO_TERMCAP"
  1046. ! /bin/echo "#define" NO_TERMCAP "1" >> confdefs.h
  1047.   DEFS="$DEFS -DNO_TERMCAP=1"
  1048.   }
  1049.   
  1050.   fi
  1051.   
  1052. ! ac_save_LIBS="${LIBS}"
  1053.   LIBS="${LIBS} -lBSD"
  1054. ! ac_have_lib=""
  1055. ! test -n "$silent" || /bin/echo "checking for -lBSD"
  1056. ! cat > conftest.${ac_ext} <<EOF
  1057. ! #include "confdefs.h"
  1058.   
  1059. ! int main() { return 0; }
  1060. ! int t() { main();; return 0; }
  1061.   EOF
  1062. ! if eval $ac_compile; then
  1063. !   rm -rf conftest*
  1064. !   ac_have_lib="1"
  1065.   fi
  1066.   rm -f conftest*
  1067. ! LIBS="${ac_save_LIBS}"
  1068. ! if test -n "${ac_have_lib}"; then
  1069.      :; LIBS="${LIBS} -lBSD"
  1070.   else
  1071.      :; 
  1072.   fi
  1073.   
  1074. ! ac_save_LIBS="${LIBS}"
  1075.   LIBS="${LIBS} -lc"
  1076. ! ac_have_lib=""
  1077. ! test -n "$silent" || /bin/echo "checking for -lc"
  1078. ! cat > conftest.${ac_ext} <<EOF
  1079. ! #include "confdefs.h"
  1080.   
  1081. ! int main() { return 0; }
  1082. ! int t() { main();; return 0; }
  1083.   EOF
  1084. ! if eval $ac_compile; then
  1085. !   rm -rf conftest*
  1086. !   ac_have_lib="1"
  1087.   fi
  1088.   rm -f conftest*
  1089. ! LIBS="${ac_save_LIBS}"
  1090. ! if test -n "${ac_have_lib}"; then
  1091.      :; LIBS="${LIBS} -lc"
  1092.   else
  1093.      :; 
  1094. ***************
  1095. *** 367,387 ****
  1096.   
  1097.   # Needed by Solaris 2.x to resolve references in libucb.  (and maybe other
  1098.   # SVR4 systems need this too?)
  1099. ! LIBS_save="${LIBS}"
  1100.   LIBS="${LIBS} -lelf"
  1101. ! have_lib=""
  1102. ! echo checking for -lelf
  1103. ! cat > conftest.c <<EOF
  1104.   
  1105. ! int main() { exit(0); }
  1106. ! int t() { main(); }
  1107.   EOF
  1108. ! if eval $compile; then
  1109. !   have_lib="1"
  1110.   fi
  1111.   rm -f conftest*
  1112. ! LIBS="${LIBS_save}"
  1113. ! if test -n "${have_lib}"; then
  1114.      :; LIBS="${LIBS} -lelf"
  1115.   else
  1116.      :; 
  1117. --- 593,616 ----
  1118.   
  1119.   # Needed by Solaris 2.x to resolve references in libucb.  (and maybe other
  1120.   # SVR4 systems need this too?)
  1121. ! ac_save_LIBS="${LIBS}"
  1122.   LIBS="${LIBS} -lelf"
  1123. ! ac_have_lib=""
  1124. ! test -n "$silent" || /bin/echo "checking for -lelf"
  1125. ! cat > conftest.${ac_ext} <<EOF
  1126. ! #include "confdefs.h"
  1127.   
  1128. ! int main() { return 0; }
  1129. ! int t() { main();; return 0; }
  1130.   EOF
  1131. ! if eval $ac_compile; then
  1132. !   rm -rf conftest*
  1133. !   ac_have_lib="1"
  1134.   fi
  1135.   rm -f conftest*
  1136. ! LIBS="${ac_save_LIBS}"
  1137. ! if test -n "${ac_have_lib}"; then
  1138.      :; LIBS="${LIBS} -lelf"
  1139.   else
  1140.      :; 
  1141. ***************
  1142. *** 390,411 ****
  1143.   
  1144.   # Needed for SVR4
  1145.   my_LIBS_save="${LIBS}"
  1146. ! LIBS="${LIBS} -L/usr/ucblib"
  1147. ! LIBS_save="${LIBS}"
  1148.   LIBS="${LIBS} -lucb"
  1149. ! have_lib=""
  1150. ! echo checking for -lucb
  1151. ! cat > conftest.c <<EOF
  1152.   
  1153. ! int main() { exit(0); }
  1154. ! int t() { main(); }
  1155.   EOF
  1156. ! if eval $compile; then
  1157. !   have_lib="1"
  1158.   fi
  1159.   rm -f conftest*
  1160. ! LIBS="${LIBS_save}"
  1161. ! if test -n "${have_lib}"; then
  1162.      :; LIBS="${LIBS} -lucb"
  1163.   else
  1164.      :; LIBS="${my_LIBS_save}"
  1165. --- 619,643 ----
  1166.   
  1167.   # Needed for SVR4
  1168.   my_LIBS_save="${LIBS}"
  1169. ! LIBS="${LIBS} -L/gnu/ucblib"
  1170. ! ac_save_LIBS="${LIBS}"
  1171.   LIBS="${LIBS} -lucb"
  1172. ! ac_have_lib=""
  1173. ! test -n "$silent" || /bin/echo "checking for -lucb"
  1174. ! cat > conftest.${ac_ext} <<EOF
  1175. ! #include "confdefs.h"
  1176.   
  1177. ! int main() { return 0; }
  1178. ! int t() { main();; return 0; }
  1179.   EOF
  1180. ! if eval $ac_compile; then
  1181. !   rm -rf conftest*
  1182. !   ac_have_lib="1"
  1183.   fi
  1184.   rm -f conftest*
  1185. ! LIBS="${ac_save_LIBS}"
  1186. ! if test -n "${ac_have_lib}"; then
  1187.      :; LIBS="${LIBS} -lucb"
  1188.   else
  1189.      :; LIBS="${my_LIBS_save}"
  1190. ***************
  1191. *** 414,446 ****
  1192.   case " ${LIBS} " in
  1193.      *' -lucb '* ) 
  1194.         echo "*** Note: You may need to set LD_LIBRARY_PATH or LD_PATH to" 1>&2
  1195. !       echo "*** contain /usr/ucblib for the ispell executables to work." 1>&2
  1196.         echo "*** (don't blame us, this is SVR4 lossage)" 1>&2
  1197.        ;;
  1198.   esac   
  1199.   
  1200. ! echo checking for return type of signal handlers
  1201. ! cat > conftest.c <<EOF
  1202.   #include <sys/types.h>
  1203.   #include <signal.h>
  1204.   #ifdef signal
  1205.   #undef signal
  1206.   #endif
  1207.   extern void (*signal ()) ();
  1208. ! int main() { exit(0); }
  1209. ! int t() { int i; }
  1210.   EOF
  1211. ! if eval $compile; then
  1212. !   {
  1213.   test -n "$verbose" && \
  1214. ! echo '    defining' RETSIGTYPE to be 'void'
  1215.   DEFS="$DEFS -DRETSIGTYPE=void"
  1216.   }
  1217.   
  1218.   else
  1219. !   {
  1220.   test -n "$verbose" && \
  1221. ! echo '    defining' RETSIGTYPE to be 'int'
  1222.   DEFS="$DEFS -DRETSIGTYPE=int"
  1223.   }
  1224.   
  1225. --- 646,686 ----
  1226.   case " ${LIBS} " in
  1227.      *' -lucb '* ) 
  1228.         echo "*** Note: You may need to set LD_LIBRARY_PATH or LD_PATH to" 1>&2
  1229. !       echo "*** contain /gnu/ucblib for the ispell executables to work." 1>&2
  1230.         echo "*** (don't blame us, this is SVR4 lossage)" 1>&2
  1231.        ;;
  1232.   esac   
  1233.   
  1234. ! test -n "$silent" || /bin/echo "checking for return type of signal handlers"
  1235. ! cat > conftest.${ac_ext} <<EOF
  1236. ! #include "confdefs.h"
  1237.   #include <sys/types.h>
  1238.   #include <signal.h>
  1239.   #ifdef signal
  1240.   #undef signal
  1241.   #endif
  1242.   extern void (*signal ()) ();
  1243. ! int main() { return 0; }
  1244. ! int t() { int i;; return 0; }
  1245.   EOF
  1246. ! if eval $ac_compile; then
  1247. !   rm -rf conftest*
  1248. !   
  1249. ! {
  1250.   test -n "$verbose" && \
  1251. ! /bin/echo "    defining" RETSIGTYPE to be "void"
  1252. ! /bin/echo "#define" RETSIGTYPE "void" >> confdefs.h
  1253.   DEFS="$DEFS -DRETSIGTYPE=void"
  1254.   }
  1255.   
  1256.   else
  1257. !   rm -rf conftest*
  1258. !   
  1259. ! {
  1260.   test -n "$verbose" && \
  1261. ! /bin/echo "    defining" RETSIGTYPE to be "int"
  1262. ! /bin/echo "#define" RETSIGTYPE "int" >> confdefs.h
  1263.   DEFS="$DEFS -DRETSIGTYPE=int"
  1264.   }
  1265.   
  1266. ***************
  1267. *** 448,454 ****
  1268.   rm -f conftest*
  1269.   
  1270.   
  1271. ! prog='/* Ultrix mips cc rejects this.  */
  1272.   typedef int charset[2]; const charset x;
  1273.   /* SunOS 4.1.1 cc rejects this.  */
  1274.   char const *const *ccp;
  1275. --- 688,694 ----
  1276.   rm -f conftest*
  1277.   
  1278.   
  1279. ! ac_prog='/* Ultrix mips cc rejects this.  */
  1280.   typedef int charset[2]; const charset x;
  1281.   /* SunOS 4.1.1 cc rejects this.  */
  1282.   char const *const *ccp;
  1283. ***************
  1284. *** 457,463 ****
  1285.      It does not let you subtract one const X* pointer from another in an arm
  1286.      of an if-expression whose if-part is not a constant expression */
  1287.   const char *g = "string";
  1288. ! p = &g + (g ? g-g : 0);
  1289.   /* HPUX 7.0 cc rejects these. */
  1290.   ++ccp;
  1291.   p = (char**) ccp;
  1292. --- 697,703 ----
  1293.      It does not let you subtract one const X* pointer from another in an arm
  1294.      of an if-expression whose if-part is not a constant expression */
  1295.   const char *g = "string";
  1296. ! ccp = &g + (g ? g-g : 0);
  1297.   /* HPUX 7.0 cc rejects these. */
  1298.   ++ccp;
  1299.   p = (char**) ccp;
  1300. ***************
  1301. *** 482,500 ****
  1302.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1303.     struct s { int j; const int *ap[3]; };
  1304.     struct s *b; b->j = 5;
  1305.   }'
  1306. ! echo checking for working const
  1307. ! cat > conftest.c <<EOF
  1308.   
  1309. ! int main() { exit(0); }
  1310. ! int t() { $prog }
  1311.   EOF
  1312. ! if eval $compile; then
  1313.     :
  1314.   else
  1315. !   {
  1316.   test -n "$verbose" && \
  1317. ! echo '    defining' const to be 'empty'
  1318.   DEFS="$DEFS -Dconst="
  1319.   }
  1320.   
  1321. --- 722,747 ----
  1322.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1323.     struct s { int j; const int *ap[3]; };
  1324.     struct s *b; b->j = 5;
  1325. + }
  1326. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1327. +   const int foo = 10;
  1328.   }'
  1329. ! test -n "$silent" || /bin/echo "checking for lack of working const"
  1330. ! cat > conftest.${ac_ext} <<EOF
  1331. ! #include "confdefs.h"
  1332.   
  1333. ! int main() { return 0; }
  1334. ! int t() { $ac_prog; return 0; }
  1335.   EOF
  1336. ! if eval $ac_compile; then
  1337.     :
  1338.   else
  1339. !   rm -rf conftest*
  1340. !   
  1341. ! {
  1342.   test -n "$verbose" && \
  1343. ! /bin/echo "    defining" const to be empty
  1344. ! /bin/echo "#define" const "" >> confdefs.h
  1345.   DEFS="$DEFS -Dconst="
  1346.   }
  1347.   
  1348. ***************
  1349. *** 502,519 ****
  1350.   rm -f conftest*
  1351.   
  1352.   if test -n "$GCC"; then
  1353. ! echo checking for inline
  1354. ! cat > conftest.c <<EOF
  1355.   
  1356. ! int main() { exit(0); }
  1357. ! int t() { } inline foo() { }
  1358.   EOF
  1359. ! if eval $compile; then
  1360.     :
  1361.   else
  1362. !   {
  1363.   test -n "$verbose" && \
  1364. ! echo '    defining' inline to be '__inline'
  1365.   DEFS="$DEFS -Dinline=__inline"
  1366.   }
  1367.   
  1368. --- 749,770 ----
  1369.   rm -f conftest*
  1370.   
  1371.   if test -n "$GCC"; then
  1372. ! test -n "$silent" || /bin/echo "checking for inline"
  1373. ! cat > conftest.${ac_ext} <<EOF
  1374. ! #include "confdefs.h"
  1375.   
  1376. ! int main() { return 0; }
  1377. ! int t() { } inline foo() {; return 0; }
  1378.   EOF
  1379. ! if eval $ac_compile; then
  1380.     :
  1381.   else
  1382. !   rm -rf conftest*
  1383. !   
  1384. ! {
  1385.   test -n "$verbose" && \
  1386. ! /bin/echo "    defining" inline to be "__inline"
  1387. ! /bin/echo "#define" inline "__inline" >> confdefs.h
  1388.   DEFS="$DEFS -Dinline=__inline"
  1389.   }
  1390.   
  1391. ***************
  1392. *** 524,546 ****
  1393.   
  1394.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1395.   # for constant arguments.  Useless!
  1396. ! echo checking for working alloca.h
  1397. ! cat > conftest.c <<EOF
  1398.   #include <alloca.h>
  1399. ! int main() { exit(0); }
  1400. ! int t() { char *p = alloca(2 * sizeof(int)); }
  1401.   EOF
  1402. ! if eval $compile; then
  1403. !   {
  1404.   test -n "$verbose" && \
  1405. ! echo '    defining' HAVE_ALLOCA_H
  1406.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1407.   }
  1408.   
  1409.   fi
  1410.   rm -f conftest*
  1411.   
  1412. ! decl="#ifdef __GNUC__
  1413.   #define alloca __builtin_alloca
  1414.   #else
  1415.   #if HAVE_ALLOCA_H
  1416. --- 775,802 ----
  1417.   
  1418.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1419.   # for constant arguments.  Useless!
  1420. ! test -n "$silent" || /bin/echo "checking for working alloca.h"
  1421. ! cat > conftest.${ac_ext} <<EOF
  1422. ! #include "confdefs.h"
  1423.   #include <alloca.h>
  1424. ! int main() { return 0; }
  1425. ! int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  1426.   EOF
  1427. ! if eval $ac_compile; then
  1428. !   rm -rf conftest*
  1429. !   
  1430. ! {
  1431.   test -n "$verbose" && \
  1432. ! /bin/echo "    defining HAVE_ALLOCA_H"
  1433. ! /bin/echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
  1434.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1435.   }
  1436.   
  1437.   fi
  1438.   rm -f conftest*
  1439.   
  1440. ! ac_decl="#ifdef __GNUC__
  1441.   #define alloca __builtin_alloca
  1442.   #else
  1443.   #if HAVE_ALLOCA_H
  1444. ***************
  1445. *** 554,570 ****
  1446.   #endif
  1447.   #endif
  1448.   "
  1449. ! echo checking for alloca
  1450. ! cat > conftest.c <<EOF
  1451. ! $decl
  1452. ! int main() { exit(0); }
  1453. ! int t() { char *p = (char *) alloca(1); }
  1454. ! EOF
  1455. ! if eval $compile; then
  1456. !   :
  1457.   else
  1458. !   alloca_missing=1
  1459. ! cat > conftest.c <<EOF
  1460.   
  1461.   #if defined(CRAY) && ! defined(CRAY2)
  1462.   winnitude
  1463. --- 810,838 ----
  1464.   #endif
  1465.   #endif
  1466.   "
  1467. ! test -n "$silent" || /bin/echo "checking for alloca"
  1468. ! cat > conftest.${ac_ext} <<EOF
  1469. ! #include "confdefs.h"
  1470. ! $ac_decl
  1471. ! int main() { return 0; }
  1472. ! int t() { char *p = (char *) alloca(1);; return 0; }
  1473. ! EOF
  1474. ! if eval $ac_compile; then
  1475. !   rm -rf conftest*
  1476. !   
  1477. ! {
  1478. ! test -n "$verbose" && \
  1479. ! /bin/echo "    defining HAVE_ALLOCA"
  1480. ! /bin/echo "#define" HAVE_ALLOCA "1" >> confdefs.h
  1481. ! DEFS="$DEFS -DHAVE_ALLOCA=1"
  1482. ! }
  1483.   else
  1484. !   rm -rf conftest*
  1485. !   ac_alloca_missing=1
  1486. ! cat > conftest.${ac_ext} <<EOF
  1487. ! #include "confdefs.h"
  1488.   
  1489.   #if defined(CRAY) && ! defined(CRAY2)
  1490.   winnitude
  1491. ***************
  1492. *** 573,584 ****
  1493.   #endif
  1494.   
  1495.   EOF
  1496. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  1497.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1498. !   echo checking for _getb67
  1499. ! cat > conftest.c <<EOF
  1500.   #include <ctype.h>
  1501. ! int main() { exit(0); }
  1502.   int t() { 
  1503.   /* The GNU C library defines this for functions which it implements
  1504.       to always fail with ENOSYS.  Some functions are actually named
  1505. --- 841,854 ----
  1506.   #endif
  1507.   
  1508.   EOF
  1509. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1510.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1511. !   rm -rf conftest*
  1512. !   test -n "$silent" || /bin/echo "checking for _getb67"
  1513. ! cat > conftest.${ac_ext} <<EOF
  1514. ! #include "confdefs.h"
  1515.   #include <ctype.h>
  1516. ! int main() { return 0; }
  1517.   int t() { 
  1518.   /* The GNU C library defines this for functions which it implements
  1519.       to always fail with ENOSYS.  Some functions are actually named
  1520. ***************
  1521. *** 589,608 ****
  1522.   /* Override any gcc2 internal prototype to avoid an error.  */
  1523.   extern char _getb67(); _getb67();
  1524.   #endif
  1525. !  }
  1526.   EOF
  1527. ! if eval $compile; then
  1528.     {
  1529.   test -n "$verbose" && \
  1530. ! echo '    defining' CRAY_STACKSEG_END to be '_getb67'
  1531.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1532.   }
  1533.   
  1534.   else
  1535. !   echo checking for GETB67
  1536. ! cat > conftest.c <<EOF
  1537.   #include <ctype.h>
  1538. ! int main() { exit(0); }
  1539.   int t() { 
  1540.   /* The GNU C library defines this for functions which it implements
  1541.       to always fail with ENOSYS.  Some functions are actually named
  1542. --- 859,883 ----
  1543.   /* Override any gcc2 internal prototype to avoid an error.  */
  1544.   extern char _getb67(); _getb67();
  1545.   #endif
  1546. ! ; return 0; }
  1547.   EOF
  1548. ! if eval $ac_compile; then
  1549. !   rm -rf conftest*
  1550.     {
  1551.   test -n "$verbose" && \
  1552. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "_getb67"
  1553. ! /bin/echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
  1554.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1555.   }
  1556.   
  1557.   else
  1558. !   rm -rf conftest*
  1559. !   test -n "$silent" || /bin/echo "checking for GETB67"
  1560. ! cat > conftest.${ac_ext} <<EOF
  1561. ! #include "confdefs.h"
  1562.   #include <ctype.h>
  1563. ! int main() { return 0; }
  1564.   int t() { 
  1565.   /* The GNU C library defines this for functions which it implements
  1566.       to always fail with ENOSYS.  Some functions are actually named
  1567. ***************
  1568. *** 613,632 ****
  1569.   /* Override any gcc2 internal prototype to avoid an error.  */
  1570.   extern char GETB67(); GETB67();
  1571.   #endif
  1572. !  }
  1573.   EOF
  1574. ! if eval $compile; then
  1575.     {
  1576.   test -n "$verbose" && \
  1577. ! echo '    defining' CRAY_STACKSEG_END to be 'GETB67'
  1578.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1579.   }
  1580.   
  1581.   else
  1582. !   echo checking for getb67
  1583. ! cat > conftest.c <<EOF
  1584.   #include <ctype.h>
  1585. ! int main() { exit(0); }
  1586.   int t() { 
  1587.   /* The GNU C library defines this for functions which it implements
  1588.       to always fail with ENOSYS.  Some functions are actually named
  1589. --- 888,912 ----
  1590.   /* Override any gcc2 internal prototype to avoid an error.  */
  1591.   extern char GETB67(); GETB67();
  1592.   #endif
  1593. ! ; return 0; }
  1594.   EOF
  1595. ! if eval $ac_compile; then
  1596. !   rm -rf conftest*
  1597.     {
  1598.   test -n "$verbose" && \
  1599. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "GETB67"
  1600. ! /bin/echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
  1601.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1602.   }
  1603.   
  1604.   else
  1605. !   rm -rf conftest*
  1606. !   test -n "$silent" || /bin/echo "checking for getb67"
  1607. ! cat > conftest.${ac_ext} <<EOF
  1608. ! #include "confdefs.h"
  1609.   #include <ctype.h>
  1610. ! int main() { return 0; }
  1611.   int t() { 
  1612.   /* The GNU C library defines this for functions which it implements
  1613.       to always fail with ENOSYS.  Some functions are actually named
  1614. ***************
  1615. *** 637,651 ****
  1616.   /* Override any gcc2 internal prototype to avoid an error.  */
  1617.   extern char getb67(); getb67();
  1618.   #endif
  1619. !  }
  1620.   EOF
  1621. ! if eval $compile; then
  1622.     {
  1623.   test -n "$verbose" && \
  1624. ! echo '    defining' CRAY_STACKSEG_END to be 'getb67'
  1625.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1626.   }
  1627.   
  1628.   fi
  1629.   rm -f conftest*
  1630.   
  1631. --- 917,934 ----
  1632.   /* Override any gcc2 internal prototype to avoid an error.  */
  1633.   extern char getb67(); getb67();
  1634.   #endif
  1635. ! ; return 0; }
  1636.   EOF
  1637. ! if eval $ac_compile; then
  1638. !   rm -rf conftest*
  1639.     {
  1640.   test -n "$verbose" && \
  1641. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "getb67"
  1642. ! /bin/echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
  1643.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1644.   }
  1645.   
  1646.   fi
  1647.   rm -f conftest*
  1648.   
  1649. ***************
  1650. *** 655,660 ****
  1651. --- 938,944 ----
  1652.   fi
  1653.   rm -f conftest*
  1654.   
  1655.   fi
  1656.   rm -f conftest*
  1657.   
  1658. ***************
  1659. *** 662,698 ****
  1660.   fi
  1661.   rm -f conftest*
  1662.   
  1663. ! if test -n "$alloca_missing"; then
  1664.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1665.     # that cause trouble.  Some versions do not even contain alloca or
  1666.     # contain a buggy version.  If you still want to use their alloca,
  1667.     # use ar to extract alloca.o from them instead of compiling alloca.c.
  1668.     ALLOCA=alloca.o
  1669.   
  1670. !   echo 'checking stack direction for C alloca'
  1671. !   echo checking whether cross-compiling
  1672.   # If we cannot run a trivial program, we must be cross compiling.
  1673. ! cat > conftest.c <<EOF
  1674.   main(){exit(0);}
  1675.   EOF
  1676. ! eval $compile
  1677.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1678.     :
  1679.   else
  1680.     cross_compiling=1
  1681.   fi
  1682. ! rm -f conftest*
  1683.   
  1684.   if test -n "$cross_compiling"
  1685.   then
  1686. !   {
  1687.   test -n "$verbose" && \
  1688. ! echo '    defining' STACK_DIRECTION to be '0'
  1689.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1690.   }
  1691.   
  1692.   else
  1693. ! cat > conftest.c <<EOF
  1694.   find_stack_direction ()
  1695.   {
  1696.     static char *addr = 0;
  1697. --- 946,994 ----
  1698.   fi
  1699.   rm -f conftest*
  1700.   
  1701. ! if test -n "$ac_alloca_missing"; then
  1702.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1703.     # that cause trouble.  Some versions do not even contain alloca or
  1704.     # contain a buggy version.  If you still want to use their alloca,
  1705.     # use ar to extract alloca.o from them instead of compiling alloca.c.
  1706.     ALLOCA=alloca.o
  1707. +   
  1708. + {
  1709. + test -n "$verbose" && \
  1710. + /bin/echo "    defining C_ALLOCA"
  1711. + /bin/echo "#define" C_ALLOCA "1" >> confdefs.h
  1712. + DEFS="$DEFS -DC_ALLOCA=1"
  1713. + }
  1714.   
  1715. !   test -n "$silent" || /bin/echo "checking stack direction for C alloca"
  1716. !   test -n "$silent" || /bin/echo "checking whether cross-compiling"
  1717.   # If we cannot run a trivial program, we must be cross compiling.
  1718. ! cat > conftest.${ac_ext} <<EOF
  1719. ! #include "confdefs.h"
  1720.   main(){exit(0);}
  1721.   EOF
  1722. ! eval $ac_compile
  1723.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1724.     :
  1725.   else
  1726.     cross_compiling=1
  1727.   fi
  1728. ! rm -fr conftest*
  1729.   
  1730.   if test -n "$cross_compiling"
  1731.   then
  1732. !   
  1733. ! {
  1734.   test -n "$verbose" && \
  1735. ! /bin/echo "    defining" STACK_DIRECTION to be "0"
  1736. ! /bin/echo "#define" STACK_DIRECTION "0" >> confdefs.h
  1737.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1738.   }
  1739.   
  1740.   else
  1741. ! cat > conftest.${ac_ext} <<EOF
  1742. ! #include "confdefs.h"
  1743.   find_stack_direction ()
  1744.   {
  1745.     static char *addr = 0;
  1746. ***************
  1747. *** 710,758 ****
  1748.     exit (find_stack_direction() < 0);
  1749.   }
  1750.   EOF
  1751. ! eval $compile
  1752.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1753. !   {
  1754.   test -n "$verbose" && \
  1755. ! echo '    defining' STACK_DIRECTION to be '1'
  1756.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1757.   }
  1758.   
  1759.   else
  1760. !   {
  1761.   test -n "$verbose" && \
  1762. ! echo '    defining' STACK_DIRECTION to be '-1'
  1763.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1764.   }
  1765.   
  1766.   fi
  1767.   fi
  1768. ! rm -f conftest*
  1769.   fi
  1770.   
  1771.   
  1772. ! for hdr in malloc.h termios.h termio.h string.h strings.h
  1773.   do
  1774. ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  1775. ! echo checking for ${hdr}
  1776. ! cat > conftest.c <<EOF
  1777. ! #include <${hdr}>
  1778. ! EOF
  1779. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  1780. ! if test -z "$err"; then
  1781. !   {
  1782.   test -n "$verbose" && \
  1783. ! echo '    defining' ${trhdr}
  1784. ! DEFS="$DEFS -D${trhdr}=1"
  1785.   }
  1786.   
  1787.   fi
  1788.   rm -f conftest*
  1789.   done
  1790.   
  1791.   
  1792. ! echo checking for checking for broken TIOCGWINSZ
  1793. ! cat > conftest.c <<EOF
  1794.   
  1795.   #include <sys/ioctl.h>
  1796.   #ifdef HAVE_TERMIOS_H
  1797. --- 1006,1068 ----
  1798.     exit (find_stack_direction() < 0);
  1799.   }
  1800.   EOF
  1801. ! eval $ac_compile
  1802.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1803. !   
  1804. ! {
  1805.   test -n "$verbose" && \
  1806. ! /bin/echo "    defining" STACK_DIRECTION to be "1"
  1807. ! /bin/echo "#define" STACK_DIRECTION "1" >> confdefs.h
  1808.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1809.   }
  1810.   
  1811.   else
  1812. !   
  1813. ! {
  1814.   test -n "$verbose" && \
  1815. ! /bin/echo "    defining" STACK_DIRECTION to be "-1"
  1816. ! /bin/echo "#define" STACK_DIRECTION "-1" >> confdefs.h
  1817.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1818.   }
  1819.   
  1820.   fi
  1821.   fi
  1822. ! rm -fr conftest*
  1823.   fi
  1824.   
  1825.   
  1826. ! #Disable check for termio.h and termios.h by removing from list.
  1827. ! for ac_hdr in malloc.h string.h strings.h
  1828.   do
  1829. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1830. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  1831. ! cat > conftest.${ac_ext} <<EOF
  1832. ! #include "confdefs.h"
  1833. ! #include <${ac_hdr}>
  1834. ! EOF
  1835. ! # Some shells (Coherent) do redirections in the wrong order, so need
  1836. ! # the parens.
  1837. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  1838. ! if test -z "$ac_err"; then
  1839. !   rm -rf conftest*
  1840. !   
  1841. ! {
  1842.   test -n "$verbose" && \
  1843. ! /bin/echo "    defining ${ac_tr_hdr}"
  1844. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  1845. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  1846.   }
  1847.   
  1848.   fi
  1849.   rm -f conftest*
  1850.   done
  1851.   
  1852.   
  1853. ! test -n "$silent" || /bin/echo "checking for checking for broken TIOCGWINSZ"
  1854. ! cat > conftest.${ac_ext} <<EOF
  1855. ! #include "confdefs.h"
  1856.   
  1857.   #include <sys/ioctl.h>
  1858.   #ifdef HAVE_TERMIOS_H
  1859. ***************
  1860. *** 765,783 ****
  1861.   #endif
  1862.   #endif
  1863.   
  1864. ! int main() { exit(0); }
  1865.   int t() { 
  1866.   #ifdef TIOCGWINSZ
  1867.   struct winsize    wsize;
  1868.   #endif /* TIOCGWINSZ */
  1869. !  }
  1870.   EOF
  1871. ! if eval $compile; then
  1872.     :
  1873.   else
  1874. !   {
  1875.   test -n "$verbose" && \
  1876. ! echo '    defining' BROKEN_TIOCGWINSZ
  1877.   DEFS="$DEFS -DBROKEN_TIOCGWINSZ=1"
  1878.   }
  1879.   
  1880. --- 1075,1098 ----
  1881.   #endif
  1882.   #endif
  1883.   
  1884. ! int main() { return 0; }
  1885.   int t() { 
  1886.   #ifdef TIOCGWINSZ
  1887.   struct winsize    wsize;
  1888.   #endif /* TIOCGWINSZ */
  1889. ! ; return 0; }
  1890.   EOF
  1891. ! if eval $ac_compile; then
  1892. !   rm -rf conftest*
  1893.     :
  1894.   else
  1895. !   rm -rf conftest*
  1896. !   
  1897. ! {
  1898.   test -n "$verbose" && \
  1899. ! /bin/echo "    defining BROKEN_TIOCGWINSZ"
  1900. ! /bin/echo "#define" BROKEN_TIOCGWINSZ "1" >> confdefs.h
  1901.   DEFS="$DEFS -DBROKEN_TIOCGWINSZ=1"
  1902.   }
  1903.   
  1904. ***************
  1905. *** 787,805 ****
  1906.   
  1907.   
  1908.   
  1909.   if test -n "$prefix"; then
  1910. !   test -z "$exec_prefix" && exec_prefix='${prefix}'
  1911. !   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1912.   fi
  1913.   if test -n "$exec_prefix"; then
  1914. !   prsub="$prsub
  1915. ! s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%\
  1916. ! exec_prefix\\1=\\2$exec_prefix%"
  1917.   fi
  1918. ! DEFS="`echo \"$DEFS\" | sed 's%[&\\\]%\\\&%g'`"
  1919.   
  1920. ! trap 'rm -f config.status; exit 1' 1 3 15
  1921. ! echo creating config.status
  1922.   rm -f config.status
  1923.   cat > config.status <<EOF
  1924.   #!/bin/sh
  1925. --- 1102,1134 ----
  1926.   
  1927.   
  1928.   
  1929. + # Set default prefixes.
  1930.   if test -n "$prefix"; then
  1931. !   test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
  1932. !   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1933.   fi
  1934.   if test -n "$exec_prefix"; then
  1935. !   ac_prsub="$ac_prsub
  1936. ! s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1937.   fi
  1938. ! # Any assignment to VPATH causes Sun make to only execute
  1939. ! # the first set of double-colon rules, so remove it if not needed.
  1940. ! # If there is a colon in the path, we need to keep it.
  1941. ! if test "x$srcdir" = x.; then
  1942. !   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1943. ! fi
  1944. ! # Quote sed substitution magic chars in DEFS.
  1945. ! cat >conftest.def <<EOF
  1946. ! $DEFS
  1947. ! EOF
  1948. ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1949. ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  1950. ! rm -f conftest.def
  1951. ! # Substitute for predefined variables.
  1952.   
  1953. ! trap 'rm -f config.status; exit 1' 1 2 15
  1954. ! /bin/echo creating config.status
  1955.   rm -f config.status
  1956.   cat > config.status <<EOF
  1957.   #!/bin/sh
  1958. ***************
  1959. *** 810,825 ****
  1960.   #
  1961.   # $0 $configure_args
  1962.   
  1963. ! for arg
  1964.   do
  1965. !   case "\$arg" in
  1966. !     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1967. !     exec /bin/sh $0 $configure_args ;;
  1968. !     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  1969.     esac
  1970.   done
  1971.   
  1972. ! trap 'rm -f Makefile; exit 1' 1 3 15
  1973.   CC='$CC'
  1974.   CPP='$CPP'
  1975.   INSTALL='$INSTALL'
  1976. --- 1139,1161 ----
  1977.   #
  1978.   # $0 $configure_args
  1979.   
  1980. ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  1981. ! for ac_option
  1982.   do
  1983. !   case "\$ac_option" in
  1984. !   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1985. !     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  1986. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  1987. !   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1988. !     /bin/echo "config.status generated by autoconf version 1.9"
  1989. !     exit 0 ;;
  1990. !   -help | --help | --hel | --he | --h)
  1991. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  1992. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  1993.     esac
  1994.   done
  1995.   
  1996. ! trap 'rm -f Makefile; exit 1' 1 2 15
  1997.   CC='$CC'
  1998.   CPP='$CPP'
  1999.   INSTALL='$INSTALL'
  2000. ***************
  2001. *** 830,860 ****
  2002.   CHARSET='$CHARSET'
  2003.   LIBS='$LIBS'
  2004.   srcdir='$srcdir'
  2005. ! DEFS='$DEFS'
  2006.   prefix='$prefix'
  2007.   exec_prefix='$exec_prefix'
  2008. ! prsub='$prsub'
  2009.   EOF
  2010.   cat >> config.status <<\EOF
  2011.   
  2012. ! top_srcdir=$srcdir
  2013. ! # Allow make-time overrides of the generated file list.
  2014. ! test -n "$gen_files" || gen_files="Makefile"
  2015.   
  2016. ! for file in .. $gen_files; do if [ "x$file" != "x.." ]; then
  2017. !   srcdir=$top_srcdir
  2018.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2019. !   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  2020. !   if test "$dir" != "$file"; then
  2021. !     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  2022. !     test ! -d $dir && mkdir $dir
  2023.     fi
  2024. !   echo creating $file
  2025. !   rm -f $file
  2026. !   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  2027.     sed -e "
  2028. ! $prsub
  2029.   s%@CC@%$CC%g
  2030.   s%@CPP@%$CPP%g
  2031.   s%@INSTALL@%$INSTALL%g
  2032. --- 1166,1216 ----
  2033.   CHARSET='$CHARSET'
  2034.   LIBS='$LIBS'
  2035.   srcdir='$srcdir'
  2036. ! top_srcdir='$top_srcdir'
  2037.   prefix='$prefix'
  2038.   exec_prefix='$exec_prefix'
  2039. ! DEFS='$DEFS'
  2040. ! ac_prsub='$ac_prsub'
  2041. ! ac_vpsub='$ac_vpsub'
  2042. ! extrasub='$extrasub'
  2043.   EOF
  2044.   cat >> config.status <<\EOF
  2045.   
  2046. ! ac_given_srcdir=$srcdir
  2047.   
  2048. ! CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  2049. ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  2050.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2051. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2052. !   if test "$ac_dir" != "$ac_file"; then
  2053. !     # The file is in a subdirectory.
  2054. !     test ! -d "$ac_dir" && mkdir "$ac_dir"
  2055. !     ac_dir_suffix="/$ac_dir"
  2056. !   else
  2057. !     ac_dir_suffix=
  2058.     fi
  2059. !   # A "../" for each directory in $ac_dir_suffix.
  2060. !   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2061. !   case "$ac_given_srcdir" in
  2062. !   .)  srcdir=.; top_srcdir="$ac_dots." ;;
  2063. !   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2064. !   *) # Relative path.
  2065. !     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2066. !     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2067. !   esac
  2068. !   /bin/echo creating "$ac_file"
  2069. !   rm -f "$ac_file"
  2070. !   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  2071. !   case "$ac_file" in
  2072. !     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  2073. !     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  2074. !   esac
  2075.     sed -e "
  2076. ! $ac_prsub
  2077. ! $ac_vpsub
  2078. ! $extrasub
  2079.   s%@CC@%$CC%g
  2080.   s%@CPP@%$CPP%g
  2081.   s%@INSTALL@%$INSTALL%g
  2082. ***************
  2083. *** 865,876 ****
  2084.   s%@CHARSET@%$CHARSET%g
  2085.   s%@LIBS@%$LIBS%g
  2086.   s%@srcdir@%$srcdir%g
  2087.   s%@DEFS@%$DEFS%
  2088. ! " $top_srcdir/${file}.in >> $file
  2089.   fi; done
  2090.   
  2091.   exit 0
  2092.   EOF
  2093.   chmod +x config.status
  2094. ! test -n "$no_create" || ./config.status
  2095.   
  2096. --- 1221,1236 ----
  2097.   s%@CHARSET@%$CHARSET%g
  2098.   s%@LIBS@%$LIBS%g
  2099.   s%@srcdir@%$srcdir%g
  2100. + s%@top_srcdir@%$top_srcdir%g
  2101. + s%@prefix@%$prefix%g
  2102. + s%@exec_prefix@%$exec_prefix%g
  2103.   s%@DEFS@%$DEFS%
  2104. ! " $ac_given_srcdir/${ac_file}.in >> $ac_file
  2105.   fi; done
  2106.   
  2107.   exit 0
  2108.   EOF
  2109.   chmod +x config.status
  2110. ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
  2111.   
  2112. diff -rc --new-file ispell-4.0/configure.in /gnu/src/amiga/ispell-4.0/configure.in
  2113. *** ispell-4.0/configure.in    Tue Jun  1 05:37:54 1993
  2114. --- /gnu/src/amiga/ispell-4.0/configure.in    Mon Apr 25 21:50:49 1994
  2115. ***************
  2116. *** 4,15 ****
  2117.   AC_GCC_TRADITIONAL
  2118.   AC_PROG_INSTALL
  2119.   
  2120. - AC_USG
  2121. - if test "z$USG" = "z" ; then
  2122. -    echo checking for BSD
  2123. -    ( test -f /vmunix || test -f /sdmach || test -f /../../mach ) && AC_DEFINE(BSD)
  2124. - fi
  2125.   CHARSET="c-generic.c"
  2126.   AC_PROGRAM_CHECK(i386_host_p, i386, t, nil)
  2127.   if test "${i386_host_p}" = "t" && i386 > /dev/null 2>&1; then
  2128. --- 4,9 ----
  2129. ***************
  2130. *** 37,48 ****
  2131.   
  2132.   # Needed for SVR4
  2133.   my_LIBS_save="${LIBS}"
  2134. ! LIBS="${LIBS} -L/usr/ucblib"
  2135.   AC_HAVE_LIBRARY(-lucb, [LIBS="${LIBS} -lucb"], [LIBS="${my_LIBS_save}"])
  2136.   case " ${LIBS} " in
  2137.      *' -lucb '* ) 
  2138.         echo "*** Note: You may need to set LD_LIBRARY_PATH or LD_PATH to" 1>&2
  2139. !       echo "*** contain /usr/ucblib for the ispell executables to work." 1>&2
  2140.         echo "*** (don't blame us, this is SVR4 lossage)" 1>&2
  2141.        ;;
  2142.   esac   
  2143. --- 31,42 ----
  2144.   
  2145.   # Needed for SVR4
  2146.   my_LIBS_save="${LIBS}"
  2147. ! LIBS="${LIBS} -L/gnu/ucblib"
  2148.   AC_HAVE_LIBRARY(-lucb, [LIBS="${LIBS} -lucb"], [LIBS="${my_LIBS_save}"])
  2149.   case " ${LIBS} " in
  2150.      *' -lucb '* ) 
  2151.         echo "*** Note: You may need to set LD_LIBRARY_PATH or LD_PATH to" 1>&2
  2152. !       echo "*** contain /gnu/ucblib for the ispell executables to work." 1>&2
  2153.         echo "*** (don't blame us, this is SVR4 lossage)" 1>&2
  2154.        ;;
  2155.   esac   
  2156. ***************
  2157. *** 52,58 ****
  2158.   AC_INLINE
  2159.   AC_ALLOCA
  2160.   
  2161. ! AC_HAVE_HEADERS(malloc.h termios.h termio.h string.h strings.h)
  2162.   
  2163.   AC_COMPILE_CHECK([checking for broken TIOCGWINSZ],[
  2164.   #include <sys/ioctl.h>
  2165. --- 46,53 ----
  2166.   AC_INLINE
  2167.   AC_ALLOCA
  2168.   
  2169. ! #Disable check for termio.h and termios.h by removing from list.
  2170. ! AC_HAVE_HEADERS(malloc.h string.h strings.h)
  2171.   
  2172.   AC_COMPILE_CHECK([checking for broken TIOCGWINSZ],[
  2173.   #include <sys/ioctl.h>
  2174. diff -rc --new-file ispell-4.0/ispell.1 /gnu/src/amiga/ispell-4.0/ispell.1
  2175. *** ispell-4.0/ispell.1    Fri Jul 22 22:14:53 1988
  2176. --- /gnu/src/amiga/ispell-4.0/ispell.1    Thu Feb 24 00:23:38 1994
  2177. ***************
  2178. *** 85,91 ****
  2179.   .SH FILES
  2180.   .PD 0
  2181.   .TP 40
  2182. ! /usr/lib/ispell.dict
  2183.   System dictionary
  2184.   .TP 40
  2185.   $HOME/ispell.words
  2186. --- 85,91 ----
  2187.   .SH FILES
  2188.   .PD 0
  2189.   .TP 40
  2190. ! /gnu/lib/ispell.dict
  2191.   System dictionary
  2192.   .TP 40
  2193.   $HOME/ispell.words
  2194. diff -rc --new-file ispell-4.0/ispell.el /gnu/src/amiga/ispell-4.0/ispell.el
  2195. *** ispell-4.0/ispell.el    Tue Jun  1 09:37:34 1993
  2196. --- /gnu/src/amiga/ispell-4.0/ispell.el    Thu Feb 24 00:23:52 1994
  2197. ***************
  2198. *** 220,226 ****
  2199.         (unwind-protect
  2200.         (progn
  2201.           (cond ((null filename)
  2202. !            (setq filename (make-temp-name "/usr/tmp/ispell"))
  2203.              (setq delete-temp t)
  2204.              (write-region (point-min) (point-max) filename))
  2205.             ((and (buffer-modified-p buf)
  2206. --- 220,226 ----
  2207.         (unwind-protect
  2208.         (progn
  2209.           (cond ((null filename)
  2210. !            (setq filename (make-temp-name "/tmp/ispell"))
  2211.              (setq delete-temp t)
  2212.              (write-region (point-min) (point-max) filename))
  2213.             ((and (buffer-modified-p buf)
  2214. diff -rc --new-file ispell-4.0/look.c /gnu/src/amiga/ispell-4.0/look.c
  2215. *** ispell-4.0/look.c    Tue Jun  1 01:04:05 1993
  2216. --- /gnu/src/amiga/ispell-4.0/look.c    Thu Feb 24 00:24:03 1994
  2217. ***************
  2218. *** 51,57 ****
  2219.   char *dict_lib = DICT_LIB;
  2220.   char *dict_name = "ispell.words";
  2221.   #else
  2222. ! char *dict_lib = "/usr/dict";
  2223.   char *dict_name = "words";
  2224.   #endif
  2225.   
  2226. --- 51,57 ----
  2227.   char *dict_lib = DICT_LIB;
  2228.   char *dict_name = "ispell.words";
  2229.   #else
  2230. ! char *dict_lib = "/gnu/dict";
  2231.   char *dict_name = "words";
  2232.   #endif
  2233.   
  2234. diff -rc --new-file ispell-4.0/screen.c /gnu/src/amiga/ispell-4.0/screen.c
  2235. *** ispell-4.0/screen.c    Mon May 31 23:45:29 1993
  2236. --- /gnu/src/amiga/ispell-4.0/screen.c    Thu Feb 24 00:24:32 1994
  2237. ***************
  2238. *** 136,142 ****
  2239.         return;
  2240.       }
  2241.   
  2242. !   (void) strcpy (tempfile, "/usr/tmp/ispellXXXXXX");
  2243.     (void) mktemp (tempfile);
  2244.     if ((out = fopen (tempfile, "w")) == NULL)
  2245.       {
  2246. --- 136,142 ----
  2247.         return;
  2248.       }
  2249.   
  2250. !   (void) strcpy (tempfile, "/tmp/ispellXXXXXX");
  2251.     (void) mktemp (tempfile);
  2252.     if ((out = fopen (tempfile, "w")) == NULL)
  2253.       {
  2254. ***************
  2255. *** 253,259 ****
  2256.             while (*end && !isspace (*end))
  2257.           end++;
  2258.             *end = 0;
  2259. !           if (strncmp (n, "/usr/lib", 8) == 0)
  2260.           continue;
  2261.             if (nxflag)
  2262.           {
  2263. --- 253,259 ----
  2264.             while (*end && !isspace (*end))
  2265.           end++;
  2266.             *end = 0;
  2267. !           if (strncmp (n, "/gnu/lib", 8) == 0)
  2268.           continue;
  2269.             if (nxflag)
  2270.           {
  2271. ***************
  2272. *** 939,945 ****
  2273.   
  2274.     lookcmd = "egrep";
  2275.     lookarg1 = str;
  2276. !   lookarg2 = "/usr/lib/ispell.words";
  2277.     dochild (lookfun);
  2278.   }
  2279.   
  2280. --- 939,945 ----
  2281.   
  2282.     lookcmd = "egrep";
  2283.     lookarg1 = str;
  2284. !   lookarg2 = "/gnu/lib/ispell.words";
  2285.     dochild (lookfun);
  2286.   }
  2287.   
  2288. diff -rc --new-file ispell-4.0/term.c /gnu/src/amiga/ispell-4.0/term.c
  2289. *** ispell-4.0/term.c    Mon May 31 23:43:29 1993
  2290. --- /gnu/src/amiga/ispell-4.0/term.c    Wed May  4 16:10:28 1994
  2291. ***************
  2292. *** 151,157 ****
  2293.   terminit ()
  2294.   {
  2295.     int tpgrp;
  2296. !   int onstop ();
  2297.   
  2298.   retry:
  2299.     sigsetmask (1 << SIGTSTP | 1 << SIGTTIN | 1 << SIGTTOU);
  2300. --- 151,157 ----
  2301.   terminit ()
  2302.   {
  2303.     int tpgrp;
  2304. !   RETSIGTYPE onstop ();
  2305.   
  2306.   retry:
  2307.     sigsetmask (1 << SIGTSTP | 1 << SIGTTIN | 1 << SIGTTOU);
  2308. ***************
  2309. *** 269,275 ****
  2310.   #endif
  2311.   
  2312.   #ifdef SIGTTIN
  2313. ! void
  2314.   onstop (signo)
  2315.     int signo;
  2316.   {
  2317. --- 269,275 ----
  2318.   #endif
  2319.   
  2320.   #ifdef SIGTTIN
  2321. ! RETSIGTYPE
  2322.   onstop (signo)
  2323.     int signo;
  2324.   {
  2325.