home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / bison-1.22.diffs < prev    next >
Encoding:
Text File  |  1995-01-21  |  53.2 KB  |  1,826 lines

  1. diff -rc --new-file bison-1.22/INSTALL /gnu/src/amiga/bison-1.22/INSTALL
  2. *** bison-1.22/INSTALL    Fri May 14 23:31:53 1993
  3. --- /gnu/src/amiga/bison-1.22/INSTALL    Mon Feb 21 20:15:13 1994
  4. ***************
  5. *** 33,40 ****
  6.   DIR is the directory that contains the source code.
  7.   
  8.   By default, `make install' will install the package's files in
  9. ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify an
  10. ! installation prefix other than /usr/local by giving `configure' the option
  11.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  12.   for the `prefix' variable when you run `make', e.g.,
  13.       make prefix=/usr/gnu
  14. --- 33,40 ----
  15.   DIR is the directory that contains the source code.
  16.   
  17.   By default, `make install' will install the package's files in
  18. ! /gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify an
  19. ! installation prefix other than /gnu by giving `configure' the option
  20.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  21.   for the `prefix' variable when you run `make', e.g.,
  22.       make prefix=/usr/gnu
  23. diff -rc --new-file bison-1.22/Makefile.in /gnu/src/amiga/bison-1.22/Makefile.in
  24. *** bison-1.22/Makefile.in    Mon Sep  6 22:19:19 1993
  25. --- /gnu/src/amiga/bison-1.22/Makefile.in    Mon Feb 21 20:54:01 1994
  26. ***************
  27. *** 35,42 ****
  28.   # -DHAVE_STRERROR    If you have strerror function.
  29.   DEFS = @DEFS@
  30.   
  31. ! CFLAGS = -g
  32. ! LDFLAGS = -g
  33.   
  34.   LIBS = @LIBS@
  35.   
  36. --- 35,42 ----
  37.   # -DHAVE_STRERROR    If you have strerror function.
  38.   DEFS = @DEFS@
  39.   
  40. ! CFLAGS = -O2
  41. ! LDFLAGS =
  42.   
  43.   LIBS = @LIBS@
  44.   
  45. ***************
  46. *** 44,50 ****
  47.   # the GNU alloca.o here.
  48.   ALLOCA = @ALLOCA@
  49.   
  50. ! prefix = /usr/local
  51.   exec_prefix = $(prefix)
  52.   
  53.   # where the installed binary goes
  54. --- 44,50 ----
  55.   # the GNU alloca.o here.
  56.   ALLOCA = @ALLOCA@
  57.   
  58. ! prefix = /gnu
  59.   exec_prefix = $(prefix)
  60.   
  61.   # where the installed binary goes
  62. diff -rc --new-file bison-1.22/Product-Info /gnu/src/amiga/bison-1.22/Product-Info
  63. *** bison-1.22/Product-Info    Thu Jan  1 00:00:00 1970
  64. --- /gnu/src/amiga/bison-1.22/Product-Info    Mon Jul 11 23:13:41 1994
  65. ***************
  66. *** 0 ****
  67. --- 1,26 ----
  68. + .name
  69. + bison
  70. + .fullname
  71. + GNU parser generator
  72. + .type
  73. + Programmer Tool
  74. + .short
  75. + GNU parser generator yacc replacement
  76. + .description
  77. + Bison is a parser generator in the style of yacc (1).  It should be
  78. + upwardly compatible with input files designed for yacc.  Input files
  79. + should follow the yacc convention of ending in ".y".  Unlike yacc, the
  80. + generated files do not have fixed names, but instead use the prefix of
  81. + the input file.  For instance, a grammar description file named
  82. + parse.y would produce the generated parser in a file named
  83. + parse.tab.c, instead of yacc 's y.tab.c.
  84. + .version
  85. + 1.22
  86. + .author
  87. + Free Software Foundation
  88. + .requirements
  89. + Binary version requires ixemul.library.
  90. + .distribution
  91. + GNU Public License
  92. + .described-by
  93. + Fred Fish (fnf@amigalib.com)
  94. diff -rc --new-file bison-1.22/bison.1 /gnu/src/amiga/bison-1.22/bison.1
  95. *** bison-1.22/bison.1    Sat Jun 26 20:00:26 1993
  96. --- /gnu/src/amiga/bison-1.22/bison.1    Mon Feb 21 20:16:34 1994
  97. ***************
  98. *** 274,282 ****
  99.   for compatibility with previous releases.  Eventually support for `+'
  100.   will be removed, because it is incompatible with the POSIX.2 standard.
  101.   .SH FILES
  102. ! /usr/local/lib/bison.simple    simple parser
  103.   .br
  104. ! /usr/local/lib/bison.hairy    complicated parser
  105.   .SH SEE ALSO
  106.   .IR yacc (1)
  107.   .br
  108. --- 274,282 ----
  109.   for compatibility with previous releases.  Eventually support for `+'
  110.   will be removed, because it is incompatible with the POSIX.2 standard.
  111.   .SH FILES
  112. ! /gnu/lib/bison.simple    simple parser
  113.   .br
  114. ! /gnu/lib/bison.hairy    complicated parser
  115.   .SH SEE ALSO
  116.   .IR yacc (1)
  117.   .br
  118. diff -rc --new-file bison-1.22/configure /gnu/src/amiga/bison-1.22/configure
  119. *** bison-1.22/configure    Mon Aug 30 20:08:22 1993
  120. --- /gnu/src/amiga/bison-1.22/configure    Tue Jun 21 22:42:55 1994
  121. ***************
  122. *** 1,149 ****
  123.   #!/bin/sh
  124.   # Guess values for system-dependent variables and create Makefiles.
  125. ! # Generated automatically using autoconf.
  126. ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  127.   
  128. ! # This program is free software; you can redistribute it and/or modify
  129. ! # it under the terms of the GNU General Public License as published by
  130. ! # the Free Software Foundation; either version 2, or (at your option)
  131.   # any later version.
  132.   
  133. ! # This program is distributed in the hope that it will be useful,
  134. ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
  135. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  136. ! # GNU General Public License for more details.
  137.   
  138.   # You should have received a copy of the GNU General Public License
  139.   # along with this program; if not, write to the Free Software
  140.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  141.   
  142. ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  143. ! #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE[=VALUE]]
  144. ! # Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  145. ! # --with-PACKAGE[=VALUE] unless this script has special code to handle it.
  146.   
  147.   
  148. ! for arg
  149.   do
  150. -   # Handle --exec-prefix with a space before the argument.
  151. -   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  152. -   # Handle --host with a space before the argument.
  153. -   elif test x$next_host = xyes; then next_host=
  154. -   # Handle --prefix with a space before the argument.
  155. -   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  156. -   # Handle --srcdir with a space before the argument.
  157. -   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  158. -   else
  159. -     case $arg in
  160. -      # For backward compatibility, also recognize exact -exec_prefix.
  161. -      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  162. -     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  163. -      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  164. -     next_exec_prefix=yes ;;
  165. -      -gas | --gas | --ga | --g) ;;
  166. -      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  167. -      -host | --host | --hos | --ho | --h)
  168. -     next_host=yes ;;
  169. -      -nfp | --nfp | --nf) ;;
  170. -      -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  171. -         no_create=1 ;;
  172. -      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  173. -     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  174. -      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  175. -     next_prefix=yes ;;
  176. -      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  177. -     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  178. -      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  179. -     next_srcdir=yes ;;
  180. -      -with-* | --with-*)
  181. -        package=`echo $arg|sed -e 's/-*with-//' -e 's/=.*//'`
  182. -        # Reject names that aren't valid shell variable names.
  183. -        if test -n "`echo $package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  184. -          echo "configure: $package: invalid package name" >&2; exit 1
  185. -        fi
  186. -        package=`echo $package| sed 's/-/_/g'`
  187. -        case "$arg" in
  188. -          *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  189. -          *) val=1 ;;
  190. -        esac
  191. -        eval "with_$package='$val'" ;;
  192.   
  193. !      -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  194. !        verbose=yes ;;
  195.   
  196. !      *) ;;
  197.       esac
  198. !   fi
  199.   done
  200.   
  201. ! trap 'rm -fr conftest* core; exit 1' 1 3 15
  202.   
  203.   # NLS nuisances.
  204.   # These must not be set unconditionally because not all systems understand
  205.   # e.g. LANG=C (notably SCO).
  206. ! if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
  207. ! if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
  208.   
  209. ! rm -f conftest*
  210. ! compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  211.   
  212.   # A filename unique to this package, relative to the directory that
  213.   # configure is in, which we can look for to find out if srcdir is correct.
  214. ! unique_file=reduce.c
  215.   
  216.   # Find the source files, if location was not specified.
  217.   if test -z "$srcdir"; then
  218. !   srcdirdefaulted=yes
  219.     # Try the directory containing this script, then `..'.
  220. !   prog=$0
  221. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  222. !   test "X$confdir" = "X$prog" && confdir=.
  223. !   srcdir=$confdir
  224. !   if test ! -r $srcdir/$unique_file; then
  225.       srcdir=..
  226.     fi
  227.   fi
  228. ! if test ! -r $srcdir/$unique_file; then
  229. !   if test x$srcdirdefaulted = xyes; then
  230. !     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  231.     else
  232. !     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  233.     fi
  234. -   exit 1
  235.   fi
  236. ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  237. ! # But we can't avoid them for `..', to make subdirectories work.
  238. ! case $srcdir in
  239. !   .|/*|~*) ;;
  240. !   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  241. ! esac
  242.   
  243. - # Save the original args to write them into config.status later.
  244. - configure_args="$*"
  245.   
  246.   if test -z "$CC"; then
  247.     # Extract the first word of `gcc', so it can be a program name with args.
  248. !   set dummy gcc; word=$2
  249. !   echo checking for $word
  250. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  251. !   for dir in $PATH; do
  252. !     test -z "$dir" && dir=.
  253. !     if test -f $dir/$word; then
  254.         CC="gcc"
  255.         break
  256.       fi
  257.     done
  258. !   IFS="$saveifs"
  259.   fi
  260.   test -z "$CC" && CC="cc"
  261. ! test -n "$CC" -a -n "$verbose" && echo "    setting CC to $CC"
  262.   
  263.   # Find out if we are using GNU C, under whatever name.
  264.   cat > conftest.c <<EOF
  265. --- 1,336 ----
  266.   #!/bin/sh
  267.   # Guess values for system-dependent variables and create Makefiles.
  268. ! # Generated automatically using autoconf version 1.11 
  269. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  270.   
  271. ! # This configure script is free software; you can redistribute it and/or
  272. ! # modify it under the terms of the GNU General Public License as published
  273. ! # by the Free Software Foundation; either version 2, or (at your option)
  274.   # any later version.
  275.   
  276. ! # This script is distributed in the hope that it will be useful, but
  277. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  278. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  279. ! # Public License for more details.
  280.   
  281.   # You should have received a copy of the GNU General Public License
  282.   # along with this program; if not, write to the Free Software
  283.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  284.   
  285. ! # Save the original args to write them into config.status later.
  286. ! configure_args="$*"
  287.   
  288. + # Only options that might do something get documented.
  289. + ac_usage="Usage: configure [options] [host]
  290. + Options: [defaults in brackets after descriptions]
  291. + --build=BUILD        configure for building on BUILD [BUILD=HOST]
  292. + --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  293. + --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  294. + --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  295. + --help            print this message
  296. + --host=HOST        configure for HOST [guessed]
  297. + --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  298. + --quiet, --silent    do not print \`checking for...' messages
  299. + --srcdir=DIR        find the sources in DIR [configure dir or ..]
  300. + --target=TARGET        configure for TARGET [TARGET=HOST]
  301. + --verbose        print results of checks
  302. + --version        print the version of autoconf that created configure
  303. + --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  304. + --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  305. + --x-includes=DIR    X include files are in DIR
  306. + --x-libraries=DIR    X library files are in DIR"
  307. + # Initialize some variables set by options.
  308. + # The variables have the same names as the options, with
  309. + # dashes changed to underlines.
  310. + build=NONE
  311. + exec_prefix=
  312. + host=NONE
  313. + no_create=
  314. + nonopt=NONE
  315. + norecursion=
  316. + prefix=
  317. + program_prefix=
  318. + program_suffix=
  319. + program_transform_name=
  320. + silent=
  321. + srcdir=
  322. + target=NONE
  323. + verbose=
  324. + x_includes=
  325. + x_libraries=
  326.   
  327. ! ac_prev=
  328. ! for ac_option
  329.   do
  330.   
  331. !   # If the previous option needs an argument, assign it.
  332. !   if test -n "$ac_prev"; then
  333. !     eval "$ac_prev=\$ac_option"
  334. !     ac_prev=
  335. !     continue
  336. !   fi
  337. !   # Accept (but ignore some of) the important Cygnus configure
  338. !   # options, so we can diagnose typos.
  339. !   case "$ac_option" in
  340. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  341. !   *) ac_optarg= ;;
  342. !   esac
  343. !   case "$ac_option" in
  344. !   -build | --build | --buil | --bui | --bu | --b)
  345. !     ac_prev=build ;;
  346. !   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  347. !     build="$ac_optarg" ;;
  348. !   -disable-* | --disable-*)
  349. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  350. !     # Reject names that aren't valid shell variable names.
  351. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  352. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  353. !     fi
  354. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  355. !     eval "enable_${ac_feature}=no" ;;
  356.   
  357. !   -enable-* | --enable-*)
  358. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  359. !     # Reject names that aren't valid shell variable names.
  360. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  361. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  362. !     fi
  363. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  364. !     case "$ac_option" in
  365. !       *=*) ;;
  366. !       *) ac_optarg=yes ;;
  367.       esac
  368. !     eval "enable_${ac_feature}='$ac_optarg'" ;;
  369. !   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  370. !   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  371. !   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  372. !   | --exec | --exe | --ex)
  373. !     ac_prev=exec_prefix ;;
  374. !   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  375. !   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  376. !   | --exec=* | --exe=* | --ex=*)
  377. !     exec_prefix="$ac_optarg" ;;
  378. !   -gas | --gas | --ga | --g)
  379. !     with_gas=yes ;; # Obsolete; use --with-gas.
  380. !   -help | --help | --hel | --he)
  381. !     cat << EOF
  382. ! $ac_usage
  383. ! EOF
  384. !     exit 0 ;;
  385. !   -host | --host | --hos | --ho)
  386. !     ac_prev=host ;;
  387. !   -host=* | --host=* | --hos=* | --ho=*)
  388. !     host="$ac_optarg" ;;
  389. !   -nfp | --nfp | --nf)
  390. !     with_fp=no ;; # Obsolete; use --without-fp.
  391. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  392. !   | --no-cr | --no-c)
  393. !     no_create=yes ;;
  394. !   -norecursion | --norecursion | --norecursio | --norecursi \
  395. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  396. !     norecursion=yes ;;
  397. !   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  398. !     ac_prev=prefix ;;
  399. !   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  400. !     prefix="$ac_optarg" ;;
  401. !   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  402. !   | --program-pre | --program-pr | --program-p)
  403. !     ac_prev=program_prefix ;;
  404. !   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  405. !   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  406. !     program_prefix="$ac_optarg" ;;
  407. !   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  408. !   | --program-suf | --program-su | --program-s)
  409. !     ac_prev=program_suffix ;;
  410. !   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  411. !   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  412. !     program_suffix="$ac_optarg" ;;
  413. !   -program-transform-name | --program-transform-name \
  414. !   | --program-transform-nam | --program-transform-na \
  415. !   | --program-transform-n | --program-transform- \
  416. !   | --program-transform | --program-transfor \
  417. !   | --program-transfo | --program-transf \
  418. !   | --program-trans | --program-tran \
  419. !   | --progr-tra | --program-tr | --program-t)
  420. !     ac_prev=program_transform_name ;;
  421. !   -program-transform-name=* | --program-transform-name=* \
  422. !   | --program-transform-nam=* | --program-transform-na=* \
  423. !   | --program-transform-n=* | --program-transform-=* \
  424. !   | --program-transform=* | --program-transfor=* \
  425. !   | --program-transfo=* | --program-transf=* \
  426. !   | --program-trans=* | --program-tran=* \
  427. !   | --progr-tra=* | --program-tr=* | --program-t=*)
  428. !     program_transform_name="$ac_optarg" ;;
  429. !   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  430. !   | -silent | --silent | --silen | --sile | --sil)
  431. !     silent=yes ;;
  432. !   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  433. !     ac_prev=srcdir ;;
  434. !   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  435. !     srcdir="$ac_optarg" ;;
  436. !   -target | --target | --targe | --targ | --tar | --ta | --t)
  437. !     ac_prev=target ;;
  438. !   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  439. !     target="$ac_optarg" ;;
  440. !   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  441. !     verbose=yes ;;
  442. !   -version | --version | --versio | --versi | --vers)
  443. !     /bin/echo "configure generated by autoconf version 1.11"
  444. !     exit 0 ;;
  445. !   -with-* | --with-*)
  446. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  447. !     # Reject names that aren't valid shell variable names.
  448. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  449. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  450. !     fi
  451. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  452. !     case "$ac_option" in
  453. !       *=*) ;;
  454. !       *) ac_optarg=yes ;;
  455. !     esac
  456. !     eval "with_${ac_package}='$ac_optarg'" ;;
  457. !   -without-* | --without-*)
  458. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  459. !     # Reject names that aren't valid shell variable names.
  460. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  461. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  462. !     fi
  463. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  464. !     eval "with_${ac_package}=no" ;;
  465. !   --x) with_x=yes ;; # Obsolete; use --with-x.
  466. !   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  467. !   | --x-incl | --x-inc | --x-in | --x-i)
  468. !     ac_prev=x_includes ;;
  469. !   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  470. !   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  471. !     x_includes="$ac_optarg" ;;
  472. !   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  473. !   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  474. !     ac_prev=x_libraries ;;
  475. !   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  476. !   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  477. !     x_libraries="$ac_optarg" ;;
  478. !   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  479. !     ;;
  480. !   *) 
  481. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  482. !       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  483. !     fi
  484. !     if test "x$nonopt" != xNONE; then
  485. !       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  486. !     fi
  487. !     nonopt="$ac_option"
  488. !     ;;
  489. !   esac
  490.   done
  491.   
  492. ! if test -n "$ac_prev"; then
  493. !   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  494. ! fi
  495. ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  496. ! trap 'rm -fr confdefs* $ac_clean_files' 0
  497. ! # Save the original args if we used an alternate arg parser.
  498. ! ac_configure_temp="${configure_args-$*}"
  499. ! # Strip out --no-create and --norecursion so they don't pile up.
  500. ! configure_args=
  501. ! for ac_arg in $ac_configure_temp; do
  502. !   case "$ac_arg" in
  503. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  504. !   | --no-cr | --no-c) ;;
  505. !   -norecursion | --norecursion | --norecursio | --norecursi \
  506. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  507. !   *) configure_args="$configure_args $ac_arg" ;;
  508. !   esac
  509. ! done
  510.   
  511.   # NLS nuisances.
  512.   # These must not be set unconditionally because not all systems understand
  513.   # e.g. LANG=C (notably SCO).
  514. ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  515. ! if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  516.   
  517. ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
  518. ! rm -rf conftest* confdefs.h
  519. ! # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  520. ! /bin/echo > confdefs.h
  521.   
  522.   # A filename unique to this package, relative to the directory that
  523.   # configure is in, which we can look for to find out if srcdir is correct.
  524. ! ac_unique_file=reduce.c
  525.   
  526.   # Find the source files, if location was not specified.
  527.   if test -z "$srcdir"; then
  528. !   ac_srcdir_defaulted=yes
  529.     # Try the directory containing this script, then `..'.
  530. !   ac_prog=$0
  531. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  532. !   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  533. !   srcdir=$ac_confdir
  534. !   if test ! -r $srcdir/$ac_unique_file; then
  535.       srcdir=..
  536.     fi
  537.   fi
  538. ! if test ! -r $srcdir/$ac_unique_file; then
  539. !   if test x$ac_srcdir_defaulted = xyes; then
  540. !     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  541.     else
  542. !     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  543.     fi
  544.   fi
  545. ! ac_ext=c
  546. ! # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  547. ! ac_cpp='${CPP}'
  548. ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  549.   
  550.   
  551.   if test -z "$CC"; then
  552.     # Extract the first word of `gcc', so it can be a program name with args.
  553. !   set ac_dummy gcc; ac_word=$2
  554. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  555. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  556. !   for ac_dir in $PATH; do
  557. !     test -z "$ac_dir" && ac_dir=.
  558. !     if test -f $ac_dir/$ac_word; then
  559.         CC="gcc"
  560.         break
  561.       fi
  562.     done
  563. !   IFS="$ac_save_ifs"
  564.   fi
  565.   test -z "$CC" && CC="cc"
  566. ! test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  567.   
  568.   # Find out if we are using GNU C, under whatever name.
  569.   cat > conftest.c <<EOF
  570. ***************
  571. *** 157,232 ****
  572.   fi
  573.   rm -f conftest*
  574.   
  575. ! echo checking how to run the C preprocessor
  576.   if test -z "$CPP"; then
  577.     # This must be in double quotes, not single quotes, because CPP may get
  578.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  579.     # make.  It must be expanded now.
  580.     CPP="${CC-cc} -E"
  581. !   cat > conftest.c <<EOF
  582.   #include <stdio.h>
  583.   Syntax Error
  584.   EOF
  585. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  586. ! if test -z "$err"; then
  587.     :
  588.   else
  589.     CPP=/lib/cpp
  590.   fi
  591.   rm -f conftest*
  592.   fi
  593. ! test ".${verbose}" != "." && echo "    setting CPP to $CPP"
  594.   
  595.   # Make sure to not get the incompatible SysV /etc/install and
  596.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  597.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  598.   # or the AFS install, which mishandles nonexistent args, or
  599.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  600. ! # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  601. ! # anyway.  Sigh.
  602. ! if test "z${INSTALL}" = "z" ; then
  603. !   echo checking for install
  604. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  605. !   for dir in $PATH; do
  606. !     test -z "$dir" && dir=.
  607. !     case $dir in
  608. !     /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  609.       *)
  610. !       if test -f $dir/installbsd; then
  611. !     INSTALL="$dir/installbsd -c" # OSF1
  612. !     INSTALL_PROGRAM='$(INSTALL)'
  613. !     INSTALL_DATA='$(INSTALL) -m 644'
  614. !     break
  615. !       fi
  616. !       if test -f $dir/install; then
  617. !     if grep dspmsg $dir/install >/dev/null 2>&1; then
  618. !       : # AIX
  619. !     else
  620. !       INSTALL="$dir/install -c"
  621. !       INSTALL_PROGRAM='$(INSTALL)'
  622. !       INSTALL_DATA='$(INSTALL) -m 644'
  623. !       break
  624.       fi
  625. !       fi
  626.         ;;
  627.       esac
  628.     done
  629. !   IFS="$saveifs"
  630.   fi
  631. - INSTALL=${INSTALL-cp}
  632. - test -n "$verbose" && echo "    setting INSTALL to $INSTALL"
  633. - INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  634. - test -n "$verbose" && echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  635. - INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  636. - test -n "$verbose" && echo "    setting INSTALL_DATA to $INSTALL_DATA"
  637.   
  638. ! echo checking for minix/config.h
  639. ! cat > conftest.c <<EOF
  640.   #include <minix/config.h>
  641.   EOF
  642. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  643. ! if test -z "$err"; then
  644.     MINIX=1
  645.   fi
  646.   rm -f conftest*
  647.   
  648. --- 344,464 ----
  649.   fi
  650.   rm -f conftest*
  651.   
  652. ! test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  653.   if test -z "$CPP"; then
  654.     # This must be in double quotes, not single quotes, because CPP may get
  655.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  656.     # make.  It must be expanded now.
  657.     CPP="${CC-cc} -E"
  658. !   cat > conftest.${ac_ext} <<EOF
  659. ! #include "confdefs.h"
  660.   #include <stdio.h>
  661.   Syntax Error
  662.   EOF
  663. ! # Some shells (Coherent) do redirections in the wrong order, so need
  664. ! # the parens.
  665. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  666. ! if test -z "$ac_err"; then
  667.     :
  668.   else
  669. +   rm -rf conftest*
  670. +   CPP="${CC-cc} -E -traditional-cpp"
  671. +   cat > conftest.${ac_ext} <<EOF
  672. + #include "confdefs.h"
  673. + #include <stdio.h>
  674. + Syntax Error
  675. + EOF
  676. + # Some shells (Coherent) do redirections in the wrong order, so need
  677. + # the parens.
  678. + ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  679. + if test -z "$ac_err"; then
  680. +   :
  681. + else
  682. +   rm -rf conftest*
  683.     CPP=/lib/cpp
  684.   fi
  685.   rm -f conftest*
  686.   fi
  687. ! rm -f conftest*
  688. ! fi
  689. ! test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  690.   
  691.   # Make sure to not get the incompatible SysV /etc/install and
  692.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  693.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  694.   # or the AFS install, which mishandles nonexistent args, or
  695.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  696. ! # `staff', or /sbin/install on IRIX which has incompatible command-line
  697. ! # syntax.  Sigh.
  698. ! #
  699. ! #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  700. ! #     anyway.
  701. ! # This turns out not to be true, so the mere pathname isn't an indication
  702. ! # of whether the program works.  What we really need is a set of tests for
  703. ! # the install program to see if it actually works in all the required ways.
  704. ! #
  705. ! # Avoid using ./install, which might have been erroneously created
  706. ! # by make from ./install.sh.
  707. ! if test -z "${INSTALL}"; then
  708. !   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  709. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  710. !   for ac_dir in $PATH; do
  711. !     case "$ac_dir" in
  712. !     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  713.       *)
  714. !       # OSF1 and SCO ODT 3.0 have their own names for install.
  715. !       for ac_prog in installbsd scoinst install; do
  716. !         if test -f $ac_dir/$ac_prog; then
  717. !       if test $ac_prog = install &&
  718. !             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  719. !         # AIX install.  It has an incompatible calling convention.
  720. !         # OSF/1 installbsd also uses dspmsg, but is usable.
  721. !         :
  722. !       else
  723. !         INSTALL="$ac_dir/$ac_prog -c"
  724. !         break 2
  725. !       fi
  726.       fi
  727. !       done
  728.         ;;
  729.       esac
  730.     done
  731. !   IFS="$ac_save_ifs"
  732.   fi
  733.   
  734. ! if test -z "$INSTALL"; then
  735. !   # As a last resort, use the slow shell script.
  736. !   for ac_dir in ${srcdir} ${srcdir}/.. ${srcdir}/../..; do
  737. !     if test -f $ac_dir/install.sh; then
  738. !       INSTALL="$ac_dir/install.sh -c"; break
  739. !     fi
  740. !   done
  741. ! fi
  742. ! if test -z "$INSTALL"; then
  743. !   /bin/echo "configure: can not find install.sh in ${srcdir} or ${srcdir}/.. or ${srcdir}/../.." >&2; exit 1
  744. ! fi
  745. ! test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  746. ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  747. ! # It thinks the first close brace ends the variable substitution.
  748. ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  749. ! test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  750. ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  751. ! test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  752. ! test -n "$silent" || /bin/echo "checking for minix/config.h"
  753. ! cat > conftest.${ac_ext} <<EOF
  754. ! #include "confdefs.h"
  755.   #include <minix/config.h>
  756.   EOF
  757. ! # Some shells (Coherent) do redirections in the wrong order, so need
  758. ! # the parens.
  759. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  760. ! if test -z "$ac_err"; then
  761. !   rm -rf conftest*
  762.     MINIX=1
  763.   fi
  764.   rm -f conftest*
  765.   
  766. ***************
  767. *** 235,269 ****
  768.     
  769.   {
  770.   test -n "$verbose" && \
  771. ! echo "    defining _POSIX_SOURCE"
  772.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  773.   }
  774.   
  775.     
  776.   {
  777.   test -n "$verbose" && \
  778. ! echo "    defining _POSIX_1_SOURCE to be 2"
  779.   DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  780.   }
  781.   
  782.     
  783.   {
  784.   test -n "$verbose" && \
  785. ! echo "    defining _MINIX"
  786.   DEFS="$DEFS -D_MINIX=1"
  787.   }
  788.   
  789.   fi
  790.   
  791. ! echo checking for POSIXized ISC
  792. ! if test -d /etc/conf/kconfig.d &&
  793. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  794.   then
  795.     ISC=1 # If later tests want to check for ISC.
  796.     
  797.   {
  798.   test -n "$verbose" && \
  799. ! echo "    defining _POSIX_SOURCE"
  800.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  801.   }
  802.   
  803. --- 467,505 ----
  804.     
  805.   {
  806.   test -n "$verbose" && \
  807. ! /bin/echo "    defining _POSIX_SOURCE"
  808. ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  809.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  810.   }
  811.   
  812.     
  813.   {
  814.   test -n "$verbose" && \
  815. ! /bin/echo "    defining" _POSIX_1_SOURCE to be "2"
  816. ! /bin/echo "#define" _POSIX_1_SOURCE "2" >> confdefs.h
  817.   DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  818.   }
  819.   
  820.     
  821.   {
  822.   test -n "$verbose" && \
  823. ! /bin/echo "    defining _MINIX"
  824. ! /bin/echo "#define" _MINIX "1" >> confdefs.h
  825.   DEFS="$DEFS -D_MINIX=1"
  826.   }
  827.   
  828.   fi
  829.   
  830. ! test -n "$silent" || /bin/echo "checking for POSIXized ISC"
  831. ! if test -d /gnu/etc/conf/kconfig.d &&
  832. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  833.   then
  834.     ISC=1 # If later tests want to check for ISC.
  835.     
  836.   {
  837.   test -n "$verbose" && \
  838. ! /bin/echo "    defining _POSIX_SOURCE"
  839. ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  840.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  841.   }
  842.   
  843. ***************
  844. *** 274,280 ****
  845.     fi
  846.   fi
  847.   
  848. ! prog='/* Ultrix mips cc rejects this.  */
  849.   typedef int charset[2]; const charset x;
  850.   /* SunOS 4.1.1 cc rejects this.  */
  851.   char const *const *ccp;
  852. --- 510,516 ----
  853.     fi
  854.   fi
  855.   
  856. ! ac_prog='/* Ultrix mips cc rejects this.  */
  857.   typedef int charset[2]; const charset x;
  858.   /* SunOS 4.1.1 cc rejects this.  */
  859.   char const *const *ccp;
  860. ***************
  861. *** 308,348 ****
  862.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  863.     struct s { int j; const int *ap[3]; };
  864.     struct s *b; b->j = 5;
  865.   }'
  866. ! echo checking for working const
  867. ! cat > conftest.c <<EOF
  868.   
  869. ! int main() { exit(0); }
  870. ! int t() { $prog }
  871.   EOF
  872. ! if eval $compile; then
  873.     :
  874.   else
  875.     
  876.   {
  877.   test -n "$verbose" && \
  878. ! echo "    defining const to be empty"
  879.   DEFS="$DEFS -Dconst="
  880.   }
  881.   
  882.   fi
  883.   rm -f conftest*
  884.   
  885. ! echo checking for ANSI C header files
  886. ! cat > conftest.c <<EOF
  887.   #include <stdlib.h>
  888.   #include <stdarg.h>
  889.   #include <string.h>
  890.   #include <float.h>
  891.   EOF
  892. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  893. ! if test -z "$err"; then
  894.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  895. ! echo '#include <string.h>' > conftest.c
  896. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  897.   if egrep "memchr" conftest.out >/dev/null 2>&1; then
  898.     # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  899. ! cat > conftest.c <<EOF
  900.   #include <ctype.h>
  901.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  902.   #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  903. --- 544,597 ----
  904.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  905.     struct s { int j; const int *ap[3]; };
  906.     struct s *b; b->j = 5;
  907. + }
  908. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  909. +   const int foo = 10;
  910.   }'
  911. ! test -n "$silent" || /bin/echo "checking for lack of working const"
  912. ! cat > conftest.${ac_ext} <<EOF
  913. ! #include "confdefs.h"
  914.   
  915. ! int main() { return 0; }
  916. ! int t() { $ac_prog; return 0; }
  917.   EOF
  918. ! if eval $ac_compile; then
  919.     :
  920.   else
  921. +   rm -rf conftest*
  922.     
  923.   {
  924.   test -n "$verbose" && \
  925. ! /bin/echo "    defining" const to be empty
  926. ! /bin/echo "#define" const "" >> confdefs.h
  927.   DEFS="$DEFS -Dconst="
  928.   }
  929.   
  930.   fi
  931.   rm -f conftest*
  932.   
  933. ! test -n "$silent" || /bin/echo "checking for ANSI C header files"
  934. ! cat > conftest.${ac_ext} <<EOF
  935. ! #include "confdefs.h"
  936.   #include <stdlib.h>
  937.   #include <stdarg.h>
  938.   #include <string.h>
  939.   #include <float.h>
  940.   EOF
  941. ! # Some shells (Coherent) do redirections in the wrong order, so need
  942. ! # the parens.
  943. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  944. ! if test -z "$ac_err"; then
  945. !   rm -rf conftest*
  946.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  947. ! /bin/echo '#include "confdefs.h"
  948. ! #include <string.h>' > conftest.${ac_ext}
  949. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  950.   if egrep "memchr" conftest.out >/dev/null 2>&1; then
  951. +   rm -rf conftest*
  952.     # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  953. ! cat > conftest.${ac_ext} <<EOF
  954. ! #include "confdefs.h"
  955.   #include <ctype.h>
  956.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  957.   #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  958. ***************
  959. *** 352,444 ****
  960.   exit (0); }
  961.   
  962.   EOF
  963. ! eval $compile
  964.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  965.     
  966.   {
  967.   test -n "$verbose" && \
  968. ! echo "    defining STDC_HEADERS"
  969.   DEFS="$DEFS -DSTDC_HEADERS=1"
  970.   }
  971.   
  972.   fi
  973.   rm -f conftest*
  974.   fi
  975.   rm -f conftest*
  976.   
  977.   fi
  978.   rm -f conftest*
  979.   
  980. ! for hdr in string.h stdlib.h memory.h
  981.   do
  982. ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  983. ! echo checking for ${hdr}
  984. ! cat > conftest.c <<EOF
  985. ! #include <${hdr}>
  986.   EOF
  987. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  988. ! if test -z "$err"; then
  989.     
  990.   {
  991.   test -n "$verbose" && \
  992. ! echo "    defining ${trhdr}"
  993. ! DEFS="$DEFS -D${trhdr}=1"
  994.   }
  995.   
  996.   fi
  997.   rm -f conftest*
  998.   done
  999.   
  1000. ! for func in strerror
  1001.   do
  1002. ! trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
  1003. ! echo checking for ${func}
  1004. ! cat > conftest.c <<EOF
  1005.   #include <ctype.h>
  1006. ! int main() { exit(0); }
  1007.   int t() { 
  1008.   /* The GNU C library defines this for functions which it implements
  1009.       to always fail with ENOSYS.  Some functions are actually named
  1010.       something starting with __ and the normal name is an alias.  */
  1011. ! #if defined (__stub_${func}) || defined (__stub___${func})
  1012.   choke me
  1013.   #else
  1014.   /* Override any gcc2 internal prototype to avoid an error.  */
  1015. ! extern char ${func}(); ${func}();
  1016.   #endif
  1017. !  }
  1018.   EOF
  1019. ! if eval $compile; then
  1020.     {
  1021.   test -n "$verbose" && \
  1022. ! echo "    defining ${trfunc}"
  1023. ! DEFS="$DEFS -D${trfunc}=1"
  1024.   }
  1025.   
  1026.   fi
  1027.   rm -f conftest*
  1028.   done
  1029.   
  1030.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1031.   # for constant arguments.  Useless!
  1032. ! echo checking for working alloca.h
  1033. ! cat > conftest.c <<EOF
  1034.   #include <alloca.h>
  1035. ! int main() { exit(0); }
  1036. ! int t() { char *p = alloca(2 * sizeof(int)); }
  1037.   EOF
  1038. ! if eval $compile; then
  1039.     
  1040.   {
  1041.   test -n "$verbose" && \
  1042. ! echo "    defining HAVE_ALLOCA_H"
  1043.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1044.   }
  1045.   
  1046.   fi
  1047.   rm -f conftest*
  1048.   
  1049. ! decl="#ifdef __GNUC__
  1050.   #define alloca __builtin_alloca
  1051.   #else
  1052.   #if HAVE_ALLOCA_H
  1053. --- 601,721 ----
  1054.   exit (0); }
  1055.   
  1056.   EOF
  1057. ! eval $ac_compile
  1058.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1059. +   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1060. + /bin/echo '#include "confdefs.h"
  1061. + #include <stdlib.h>' > conftest.${ac_ext}
  1062. + eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1063. + if egrep "free" conftest.out >/dev/null 2>&1; then
  1064. +   rm -rf conftest*
  1065.     
  1066.   {
  1067.   test -n "$verbose" && \
  1068. ! /bin/echo "    defining STDC_HEADERS"
  1069. ! /bin/echo "#define" STDC_HEADERS "1" >> confdefs.h
  1070.   DEFS="$DEFS -DSTDC_HEADERS=1"
  1071.   }
  1072.   
  1073.   fi
  1074.   rm -f conftest*
  1075. + fi
  1076. + rm -fr conftest*
  1077.   fi
  1078.   rm -f conftest*
  1079.   
  1080.   fi
  1081.   rm -f conftest*
  1082.   
  1083. ! for ac_hdr in string.h stdlib.h memory.h
  1084.   do
  1085. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1086. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  1087. ! cat > conftest.${ac_ext} <<EOF
  1088. ! #include "confdefs.h"
  1089. ! #include <${ac_hdr}>
  1090.   EOF
  1091. ! # Some shells (Coherent) do redirections in the wrong order, so need
  1092. ! # the parens.
  1093. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  1094. ! if test -z "$ac_err"; then
  1095. !   rm -rf conftest*
  1096.     
  1097.   {
  1098.   test -n "$verbose" && \
  1099. ! /bin/echo "    defining ${ac_tr_hdr}"
  1100. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  1101. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  1102.   }
  1103.   
  1104.   fi
  1105.   rm -f conftest*
  1106.   done
  1107.   
  1108. ! for ac_func in strerror
  1109.   do
  1110. ! ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1111. ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
  1112. ! cat > conftest.${ac_ext} <<EOF
  1113. ! #include "confdefs.h"
  1114.   #include <ctype.h>
  1115. ! int main() { return 0; }
  1116.   int t() { 
  1117.   /* The GNU C library defines this for functions which it implements
  1118.       to always fail with ENOSYS.  Some functions are actually named
  1119.       something starting with __ and the normal name is an alias.  */
  1120. ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  1121.   choke me
  1122.   #else
  1123.   /* Override any gcc2 internal prototype to avoid an error.  */
  1124. ! extern char ${ac_func}(); ${ac_func}();
  1125.   #endif
  1126. ! ; return 0; }
  1127.   EOF
  1128. ! if eval $ac_compile; then
  1129. !   rm -rf conftest*
  1130.     {
  1131.   test -n "$verbose" && \
  1132. ! /bin/echo "    defining ${ac_tr_func}"
  1133. ! /bin/echo "#define" ${ac_tr_func} "1" >> confdefs.h
  1134. ! DEFS="$DEFS -D${ac_tr_func}=1"
  1135.   }
  1136.   
  1137.   fi
  1138.   rm -f conftest*
  1139.   done
  1140.   
  1141.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1142.   # for constant arguments.  Useless!
  1143. ! test -n "$silent" || /bin/echo "checking for working alloca.h"
  1144. ! cat > conftest.${ac_ext} <<EOF
  1145. ! #include "confdefs.h"
  1146.   #include <alloca.h>
  1147. ! int main() { return 0; }
  1148. ! int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  1149.   EOF
  1150. ! if eval $ac_compile; then
  1151. !   rm -rf conftest*
  1152.     
  1153.   {
  1154.   test -n "$verbose" && \
  1155. ! /bin/echo "    defining HAVE_ALLOCA_H"
  1156. ! /bin/echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
  1157.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1158.   }
  1159.   
  1160.   fi
  1161.   rm -f conftest*
  1162.   
  1163. ! ac_decl="#ifdef __GNUC__
  1164.   #define alloca __builtin_alloca
  1165.   #else
  1166.   #if HAVE_ALLOCA_H
  1167. ***************
  1168. *** 452,468 ****
  1169.   #endif
  1170.   #endif
  1171.   "
  1172. ! echo checking for alloca
  1173. ! cat > conftest.c <<EOF
  1174. ! $decl
  1175. ! int main() { exit(0); }
  1176. ! int t() { char *p = (char *) alloca(1); }
  1177.   EOF
  1178. ! if eval $compile; then
  1179. !   :
  1180.   else
  1181. !   alloca_missing=1
  1182. ! cat > conftest.c <<EOF
  1183.   
  1184.   #if defined(CRAY) && ! defined(CRAY2)
  1185.   winnitude
  1186. --- 729,757 ----
  1187.   #endif
  1188.   #endif
  1189.   "
  1190. ! test -n "$silent" || /bin/echo "checking for alloca"
  1191. ! cat > conftest.${ac_ext} <<EOF
  1192. ! #include "confdefs.h"
  1193. ! $ac_decl
  1194. ! int main() { return 0; }
  1195. ! int t() { char *p = (char *) alloca(1);; return 0; }
  1196.   EOF
  1197. ! if eval $ac_compile; then
  1198. !   rm -rf conftest*
  1199. !   
  1200. ! {
  1201. ! test -n "$verbose" && \
  1202. ! /bin/echo "    defining HAVE_ALLOCA"
  1203. ! /bin/echo "#define" HAVE_ALLOCA "1" >> confdefs.h
  1204. ! DEFS="$DEFS -DHAVE_ALLOCA=1"
  1205. ! }
  1206.   else
  1207. !   rm -rf conftest*
  1208. !   ac_alloca_missing=1
  1209. ! cat > conftest.${ac_ext} <<EOF
  1210. ! #include "confdefs.h"
  1211.   
  1212.   #if defined(CRAY) && ! defined(CRAY2)
  1213.   winnitude
  1214. ***************
  1215. *** 471,482 ****
  1216.   #endif
  1217.   
  1218.   EOF
  1219. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  1220.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1221. !   echo checking for _getb67
  1222. ! cat > conftest.c <<EOF
  1223.   #include <ctype.h>
  1224. ! int main() { exit(0); }
  1225.   int t() { 
  1226.   /* The GNU C library defines this for functions which it implements
  1227.       to always fail with ENOSYS.  Some functions are actually named
  1228. --- 760,773 ----
  1229.   #endif
  1230.   
  1231.   EOF
  1232. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1233.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1234. !   rm -rf conftest*
  1235. !   test -n "$silent" || /bin/echo "checking for _getb67"
  1236. ! cat > conftest.${ac_ext} <<EOF
  1237. ! #include "confdefs.h"
  1238.   #include <ctype.h>
  1239. ! int main() { return 0; }
  1240.   int t() { 
  1241.   /* The GNU C library defines this for functions which it implements
  1242.       to always fail with ENOSYS.  Some functions are actually named
  1243. ***************
  1244. *** 487,506 ****
  1245.   /* Override any gcc2 internal prototype to avoid an error.  */
  1246.   extern char _getb67(); _getb67();
  1247.   #endif
  1248. !  }
  1249.   EOF
  1250. ! if eval $compile; then
  1251.     {
  1252.   test -n "$verbose" && \
  1253. ! echo "    defining CRAY_STACKSEG_END to be _getb67"
  1254.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1255.   }
  1256.   
  1257.   else
  1258. !   echo checking for GETB67
  1259. ! cat > conftest.c <<EOF
  1260.   #include <ctype.h>
  1261. ! int main() { exit(0); }
  1262.   int t() { 
  1263.   /* The GNU C library defines this for functions which it implements
  1264.       to always fail with ENOSYS.  Some functions are actually named
  1265. --- 778,802 ----
  1266.   /* Override any gcc2 internal prototype to avoid an error.  */
  1267.   extern char _getb67(); _getb67();
  1268.   #endif
  1269. ! ; return 0; }
  1270.   EOF
  1271. ! if eval $ac_compile; then
  1272. !   rm -rf conftest*
  1273.     {
  1274.   test -n "$verbose" && \
  1275. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "_getb67"
  1276. ! /bin/echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
  1277.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1278.   }
  1279.   
  1280.   else
  1281. !   rm -rf conftest*
  1282. !   test -n "$silent" || /bin/echo "checking for GETB67"
  1283. ! cat > conftest.${ac_ext} <<EOF
  1284. ! #include "confdefs.h"
  1285.   #include <ctype.h>
  1286. ! int main() { return 0; }
  1287.   int t() { 
  1288.   /* The GNU C library defines this for functions which it implements
  1289.       to always fail with ENOSYS.  Some functions are actually named
  1290. ***************
  1291. *** 511,530 ****
  1292.   /* Override any gcc2 internal prototype to avoid an error.  */
  1293.   extern char GETB67(); GETB67();
  1294.   #endif
  1295. !  }
  1296.   EOF
  1297. ! if eval $compile; then
  1298.     {
  1299.   test -n "$verbose" && \
  1300. ! echo "    defining CRAY_STACKSEG_END to be GETB67"
  1301.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1302.   }
  1303.   
  1304.   else
  1305. !   echo checking for getb67
  1306. ! cat > conftest.c <<EOF
  1307.   #include <ctype.h>
  1308. ! int main() { exit(0); }
  1309.   int t() { 
  1310.   /* The GNU C library defines this for functions which it implements
  1311.       to always fail with ENOSYS.  Some functions are actually named
  1312. --- 807,831 ----
  1313.   /* Override any gcc2 internal prototype to avoid an error.  */
  1314.   extern char GETB67(); GETB67();
  1315.   #endif
  1316. ! ; return 0; }
  1317.   EOF
  1318. ! if eval $ac_compile; then
  1319. !   rm -rf conftest*
  1320.     {
  1321.   test -n "$verbose" && \
  1322. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "GETB67"
  1323. ! /bin/echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
  1324.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1325.   }
  1326.   
  1327.   else
  1328. !   rm -rf conftest*
  1329. !   test -n "$silent" || /bin/echo "checking for getb67"
  1330. ! cat > conftest.${ac_ext} <<EOF
  1331. ! #include "confdefs.h"
  1332.   #include <ctype.h>
  1333. ! int main() { return 0; }
  1334.   int t() { 
  1335.   /* The GNU C library defines this for functions which it implements
  1336.       to always fail with ENOSYS.  Some functions are actually named
  1337. ***************
  1338. *** 535,549 ****
  1339.   /* Override any gcc2 internal prototype to avoid an error.  */
  1340.   extern char getb67(); getb67();
  1341.   #endif
  1342. !  }
  1343.   EOF
  1344. ! if eval $compile; then
  1345.     {
  1346.   test -n "$verbose" && \
  1347. ! echo "    defining CRAY_STACKSEG_END to be getb67"
  1348.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1349.   }
  1350.   
  1351.   fi
  1352.   rm -f conftest*
  1353.   
  1354. --- 836,853 ----
  1355.   /* Override any gcc2 internal prototype to avoid an error.  */
  1356.   extern char getb67(); getb67();
  1357.   #endif
  1358. ! ; return 0; }
  1359.   EOF
  1360. ! if eval $ac_compile; then
  1361. !   rm -rf conftest*
  1362.     {
  1363.   test -n "$verbose" && \
  1364. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "getb67"
  1365. ! /bin/echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
  1366.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1367.   }
  1368.   
  1369.   fi
  1370.   rm -f conftest*
  1371.   
  1372. ***************
  1373. *** 553,558 ****
  1374. --- 857,863 ----
  1375.   fi
  1376.   rm -f conftest*
  1377.   
  1378.   fi
  1379.   rm -f conftest*
  1380.   
  1381. ***************
  1382. *** 560,597 ****
  1383.   fi
  1384.   rm -f conftest*
  1385.   
  1386. ! if test -n "$alloca_missing"; then
  1387.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1388.     # that cause trouble.  Some versions do not even contain alloca or
  1389.     # contain a buggy version.  If you still want to use their alloca,
  1390.     # use ar to extract alloca.o from them instead of compiling alloca.c.
  1391.     ALLOCA=alloca.o
  1392.   
  1393. !   echo 'checking stack direction for C alloca'
  1394. !   echo checking whether cross-compiling
  1395.   # If we cannot run a trivial program, we must be cross compiling.
  1396. ! cat > conftest.c <<EOF
  1397.   main(){exit(0);}
  1398.   EOF
  1399. ! eval $compile
  1400.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1401.     :
  1402.   else
  1403.     cross_compiling=1
  1404.   fi
  1405. ! rm -f conftest*
  1406.   
  1407.   if test -n "$cross_compiling"
  1408.   then
  1409.     
  1410.   {
  1411.   test -n "$verbose" && \
  1412. ! echo "    defining STACK_DIRECTION to be 0"
  1413.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1414.   }
  1415.   
  1416.   else
  1417. ! cat > conftest.c <<EOF
  1418.   find_stack_direction ()
  1419.   {
  1420.     static char *addr = 0;
  1421. --- 865,913 ----
  1422.   fi
  1423.   rm -f conftest*
  1424.   
  1425. ! if test -n "$ac_alloca_missing"; then
  1426.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1427.     # that cause trouble.  Some versions do not even contain alloca or
  1428.     # contain a buggy version.  If you still want to use their alloca,
  1429.     # use ar to extract alloca.o from them instead of compiling alloca.c.
  1430.     ALLOCA=alloca.o
  1431. +   
  1432. + {
  1433. + test -n "$verbose" && \
  1434. + /bin/echo "    defining C_ALLOCA"
  1435. + /bin/echo "#define" C_ALLOCA "1" >> confdefs.h
  1436. + DEFS="$DEFS -DC_ALLOCA=1"
  1437. + }
  1438.   
  1439. !   test -n "$silent" || /bin/echo "checking stack direction for C alloca"
  1440. !   test -n "$silent" || /bin/echo "checking whether cross-compiling"
  1441.   # If we cannot run a trivial program, we must be cross compiling.
  1442. ! cat > conftest.${ac_ext} <<EOF
  1443. ! #include "confdefs.h"
  1444.   main(){exit(0);}
  1445.   EOF
  1446. ! eval $ac_compile
  1447.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1448.     :
  1449.   else
  1450.     cross_compiling=1
  1451.   fi
  1452. ! rm -fr conftest*
  1453.   
  1454.   if test -n "$cross_compiling"
  1455.   then
  1456.     
  1457.   {
  1458.   test -n "$verbose" && \
  1459. ! /bin/echo "    defining" STACK_DIRECTION to be "0"
  1460. ! /bin/echo "#define" STACK_DIRECTION "0" >> confdefs.h
  1461.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1462.   }
  1463.   
  1464.   else
  1465. ! cat > conftest.${ac_ext} <<EOF
  1466. ! #include "confdefs.h"
  1467.   find_stack_direction ()
  1468.   {
  1469.     static char *addr = 0;
  1470. ***************
  1471. *** 609,654 ****
  1472.     exit (find_stack_direction() < 0);
  1473.   }
  1474.   EOF
  1475. ! eval $compile
  1476.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1477.     
  1478.   {
  1479.   test -n "$verbose" && \
  1480. ! echo "    defining STACK_DIRECTION to be 1"
  1481.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1482.   }
  1483.   
  1484.   else
  1485.     
  1486.   {
  1487.   test -n "$verbose" && \
  1488. ! echo "    defining STACK_DIRECTION to be -1"
  1489.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1490.   }
  1491.   
  1492.   fi
  1493.   fi
  1494. ! rm -f conftest*
  1495.   fi
  1496.   
  1497.   if test -n "$prefix"; then
  1498. !   test -z "$exec_prefix" && exec_prefix='${prefix}'
  1499. !   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1500.   fi
  1501.   if test -n "$exec_prefix"; then
  1502. !   prsub="$prsub
  1503.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1504.   fi
  1505.   cat >conftest.def <<EOF
  1506.   $DEFS
  1507.   EOF
  1508. ! escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1509. ! DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
  1510.   rm -f conftest.def
  1511.   
  1512. ! trap 'rm -f config.status; exit 1' 1 3 15
  1513. ! echo creating config.status
  1514. ! rm -f config.status
  1515.   cat > config.status <<EOF
  1516.   #!/bin/sh
  1517.   # Generated automatically by configure.
  1518. --- 925,990 ----
  1519.     exit (find_stack_direction() < 0);
  1520.   }
  1521.   EOF
  1522. ! eval $ac_compile
  1523.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1524.     
  1525.   {
  1526.   test -n "$verbose" && \
  1527. ! /bin/echo "    defining" STACK_DIRECTION to be "1"
  1528. ! /bin/echo "#define" STACK_DIRECTION "1" >> confdefs.h
  1529.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1530.   }
  1531.   
  1532.   else
  1533.     
  1534.   {
  1535.   test -n "$verbose" && \
  1536. ! /bin/echo "    defining" STACK_DIRECTION to be "-1"
  1537. ! /bin/echo "#define" STACK_DIRECTION "-1" >> confdefs.h
  1538.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1539.   }
  1540.   
  1541.   fi
  1542.   fi
  1543. ! rm -fr conftest*
  1544.   fi
  1545.   
  1546. + # The preferred way to propogate these variables is regular @ substitutions.
  1547.   if test -n "$prefix"; then
  1548. !   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1549. ! else
  1550. !   prefix=/usr/local
  1551.   fi
  1552.   if test -n "$exec_prefix"; then
  1553. !   ac_prsub="$ac_prsub
  1554.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1555. + else
  1556. +   exec_prefix='${prefix}' # Let make expand it.
  1557. + fi
  1558. + # Any assignment to VPATH causes Sun make to only execute
  1559. + # the first set of double-colon rules, so remove it if not needed.
  1560. + # If there is a colon in the path, we need to keep it.
  1561. + if test "x$srcdir" = x.; then
  1562. +   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1563.   fi
  1564. + # Quote sed substitution magic chars in DEFS.
  1565.   cat >conftest.def <<EOF
  1566.   $DEFS
  1567.   EOF
  1568. ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1569. ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  1570.   rm -f conftest.def
  1571. + # Substitute for predefined variables.
  1572.   
  1573. ! trap 'rm -f config.status; exit 1' 1 2 15
  1574. ! /bin/echo creating config.status
  1575. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  1576. ! # being executed, so just move it out of the way instead.
  1577. ! if test -f config.status; then mv config.status config.status.old; else true; fi
  1578.   cat > config.status <<EOF
  1579.   #!/bin/sh
  1580.   # Generated automatically by configure.
  1581. ***************
  1582. *** 658,674 ****
  1583.   #
  1584.   # $0 $configure_args
  1585.   
  1586. ! for arg
  1587.   do
  1588. !   case "\$arg" in
  1589. !     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1590. !     echo running /bin/sh $0 $configure_args
  1591. !     exec /bin/sh $0 $configure_args ;;
  1592. !     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  1593.     esac
  1594.   done
  1595.   
  1596. ! trap 'rm -f Makefile; exit 1' 1 3 15
  1597.   CC='$CC'
  1598.   CPP='$CPP'
  1599.   INSTALL='$INSTALL'
  1600. --- 994,1016 ----
  1601.   #
  1602.   # $0 $configure_args
  1603.   
  1604. ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  1605. ! for ac_option
  1606.   do
  1607. !   case "\$ac_option" in
  1608. !   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1609. !     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  1610. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  1611. !   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1612. !     /bin/echo "config.status generated by autoconf version 1.11"
  1613. !     exit 0 ;;
  1614. !   -help | --help | --hel | --he | --h)
  1615. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  1616. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  1617.     esac
  1618.   done
  1619.   
  1620. ! trap 'rm -f Makefile; exit 1' 1 2 15
  1621.   CC='$CC'
  1622.   CPP='$CPP'
  1623.   INSTALL='$INSTALL'
  1624. ***************
  1625. *** 677,707 ****
  1626.   ALLOCA='$ALLOCA'
  1627.   LIBS='$LIBS'
  1628.   srcdir='$srcdir'
  1629. ! DEFS='$DEFS'
  1630.   prefix='$prefix'
  1631.   exec_prefix='$exec_prefix'
  1632. ! prsub='$prsub'
  1633.   EOF
  1634.   cat >> config.status <<\EOF
  1635.   
  1636. ! top_srcdir=$srcdir
  1637. ! # Allow make-time overrides of the generated file list.
  1638. ! test -n "$gen_files" || gen_files="Makefile"
  1639.   
  1640. ! for file in .. $gen_files; do if [ "x$file" != "x.." ]; then
  1641. !   srcdir=$top_srcdir
  1642.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1643. !   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  1644. !   if test "$dir" != "$file"; then
  1645. !     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  1646. !     test ! -d $dir && mkdir $dir
  1647.     fi
  1648. !   echo creating $file
  1649. !   rm -f $file
  1650. !   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  1651.     sed -e "
  1652. ! $prsub
  1653.   s%@CC@%$CC%g
  1654.   s%@CPP@%$CPP%g
  1655.   s%@INSTALL@%$INSTALL%g
  1656. --- 1019,1071 ----
  1657.   ALLOCA='$ALLOCA'
  1658.   LIBS='$LIBS'
  1659.   srcdir='$srcdir'
  1660. ! top_srcdir='$top_srcdir'
  1661.   prefix='$prefix'
  1662.   exec_prefix='$exec_prefix'
  1663. ! DEFS='$DEFS'
  1664. ! ac_prsub='$ac_prsub'
  1665. ! ac_vpsub='$ac_vpsub'
  1666. ! extrasub='$extrasub'
  1667.   EOF
  1668.   cat >> config.status <<\EOF
  1669.   
  1670. ! ac_given_srcdir=$srcdir
  1671.   
  1672. ! CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  1673. ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  1674.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1675. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1676. !   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1677. !     # The file is in a subdirectory.
  1678. !     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1679. !     ac_dir_suffix="/$ac_dir"
  1680. !   else
  1681. !     ac_dir_suffix=
  1682.     fi
  1683. !   # A "../" for each directory in $ac_dir_suffix.
  1684. !   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1685. !   case "$ac_given_srcdir" in
  1686. !   .)  srcdir=.
  1687. !       if test -z "$ac_dir_suffix"; then top_srcdir=.
  1688. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  1689. !   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1690. !   *) # Relative path.
  1691. !     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1692. !     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1693. !   esac
  1694. !   /bin/echo creating "$ac_file"
  1695. !   rm -f "$ac_file"
  1696. !   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  1697. !   case "$ac_file" in
  1698. !     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  1699. !     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  1700. !   esac
  1701.     sed -e "
  1702. ! $ac_prsub
  1703. ! $ac_vpsub
  1704. ! $extrasub
  1705.   s%@CC@%$CC%g
  1706.   s%@CPP@%$CPP%g
  1707.   s%@INSTALL@%$INSTALL%g
  1708. ***************
  1709. *** 710,721 ****
  1710.   s%@ALLOCA@%$ALLOCA%g
  1711.   s%@LIBS@%$LIBS%g
  1712.   s%@srcdir@%$srcdir%g
  1713.   s%@DEFS@%$DEFS%
  1714. ! " $top_srcdir/${file}.in >> $file
  1715.   fi; done
  1716.   
  1717.   exit 0
  1718.   EOF
  1719.   chmod +x config.status
  1720. ! test -n "$no_create" || ./config.status
  1721.   
  1722. --- 1074,1090 ----
  1723.   s%@ALLOCA@%$ALLOCA%g
  1724.   s%@LIBS@%$LIBS%g
  1725.   s%@srcdir@%$srcdir%g
  1726. + s%@top_srcdir@%$top_srcdir%g
  1727. + s%@prefix@%$prefix%g
  1728. + s%@exec_prefix@%$exec_prefix%g
  1729.   s%@DEFS@%$DEFS%
  1730. ! " $ac_given_srcdir/${ac_file}.in >> $ac_file
  1731.   fi; done
  1732.   
  1733.   exit 0
  1734.   EOF
  1735.   chmod +x config.status
  1736. ! # Some shells look in PATH for config.status without the "./".
  1737. ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} ./config.status
  1738.   
  1739. diff -rc --new-file bison-1.22/output.c /gnu/src/amiga/bison-1.22/output.c
  1740. *** bison-1.22/output.c    Thu Mar 25 02:45:46 1993
  1741. --- /gnu/src/amiga/bison-1.22/output.c    Wed May  4 16:19:34 1994
  1742. ***************
  1743. *** 247,253 ****
  1744.     fprintf(ftable, "#include <stdio.h>\n\n");
  1745.   
  1746.     /* Make "const" do nothing if not in ANSI C.  */
  1747. !   fprintf (ftable, "#ifndef __cplusplus\n#ifndef __STDC__\n#define const\n#endif\n#endif\n\n");
  1748.   
  1749.     free_itemsets();
  1750.     output_defines();
  1751. --- 247,254 ----
  1752.     fprintf(ftable, "#include <stdio.h>\n\n");
  1753.   
  1754.     /* Make "const" do nothing if not in ANSI C.  */
  1755. !   /* However don't override a previous #define if one exists.  -fnf */
  1756. !   fprintf (ftable, "#ifndef __cplusplus\n#ifndef __STDC__\n#ifndef const\n#define const\n#endif\n#endif\n#endif\n\n");
  1757.   
  1758.     free_itemsets();
  1759.     output_defines();
  1760.