home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / flex-2.5.2-diffs.gz / flex-2.5.2-diffs
Text File  |  1996-10-13  |  52KB  |  1,573 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/fsf/flex/INSTALL amiga/fsf/flex/INSTALL
  12. --- baseline/fsf/flex/INSTALL    Fri Nov 26 17:43:37 1993
  13. +++ amiga/fsf/flex/INSTALL    Sat Sep 28 00:00:00 1996
  14. @@ -33,8 +33,8 @@ In that case, run `configure' with the o
  15.  DIR is the directory that contains the source code.
  16.  
  17.  By default, `make install' will install the package's files in
  18. -/usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify
  19. -an installation prefix other than /usr/local by giving `configure' the
  20. +/gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify
  21. +an installation prefix other than /gnu by giving `configure' the
  22.  option `--prefix=PATH'.  Alternately, you can do so by giving a value
  23.  for the `prefix' variable when you run `make', e.g.,
  24.      make prefix=/usr/gnu
  25. diff -rup --new-file baseline/fsf/flex/Makefile.in amiga/fsf/flex/Makefile.in
  26. --- baseline/fsf/flex/Makefile.in    Fri Apr 21 11:53:21 1995
  27. +++ amiga/fsf/flex/Makefile.in    Sat Sep 28 00:00:00 1996
  28. @@ -17,7 +17,7 @@
  29.  CFLAGS = @CFLAGS@
  30.  CPPFLAGS = @CPPFLAGS@
  31.  DEFS = @DEFS@
  32. -LDFLAGS = 
  33. +LDFLAGS = @LDFLAGS@
  34.  LIBS = @LIBS@
  35.  
  36.  # Installation targeting.  Files will be installed under the tree
  37. @@ -47,7 +47,13 @@ SHELL = /bin/sh
  38.  srcdir = @srcdir@
  39.  VPATH = @srcdir@
  40.  
  41. -LN_S = @LN_S@
  42. +# For the Amiga, force LN_S to be just "cp" rather than "ln -s", so that a
  43. +# copy is made rather than a symbolic link.  We support symbolic links, but
  44. +# we don't want to use them in the installation because the "mkisofs" CD-ROM
  45. +# mastering software doesn't know what to do with them yet (convert to a
  46. +# copy on the fly).
  47. +#LN_S = @LN_S@
  48. +LN_S = cp
  49.  YACC = @YACC@
  50.  CC = @CC@
  51.  AR = ar
  52. diff -rup --new-file baseline/fsf/flex/NEWS amiga/fsf/flex/NEWS
  53. --- baseline/fsf/flex/NEWS    Mon Apr 24 13:26:09 1995
  54. +++ amiga/fsf/flex/NEWS    Sat Sep 28 00:00:00 1996
  55. @@ -600,9 +600,9 @@ Changes between release 2.4.3 (03Dec93) 
  56.        C++ scanners using g++ version 2.5.X.  The problem is due to an
  57.        unfortunate heuristic in g++ 2.5.X that attempts to discern between
  58.        C and C++ headers.  Because FlexLexer.h is installed (by default)
  59. -      in /usr/local/include and not /usr/local/lib/g++-include, g++ 2.5.X
  60. +      in /ade/include and not /ade/lib/g++-include, g++ 2.5.X
  61.        decides that it's a C header :-(.  So if you have problems, install
  62. -      the header in /usr/local/lib/g++-include instead.
  63. +      the header in /ade/lib/g++-include instead.
  64.  
  65.  
  66.  Changes between release 2.4.2 (01Dec93) and release 2.4.1:
  67. diff -rup --new-file baseline/fsf/flex/Product-Info amiga/fsf/flex/Product-Info
  68. --- baseline/fsf/flex/Product-Info    Wed Dec 31 17:00:00 1969
  69. +++ amiga/fsf/flex/Product-Info    Sat Sep 28 00:00:00 1996
  70. @@ -0,0 +1,31 @@
  71. +.name
  72. +flex
  73. +.fullname
  74. +Fast lexical analyzer generator
  75. +.type
  76. +Programmer Tool
  77. +.short
  78. +Fast lexical analyzer generator
  79. +.description
  80. +Flex is a tool for generating scanners, programs which recognized
  81. +lexical patterns in text.  Flex reads the given input files, or its
  82. +standard input if no file names are given, for a description of a
  83. +scanner to generate.  The description is in the form of pairs of
  84. +regular expressions and C code, called rules.  Flex generates as
  85. +output a C source file, lex.yy.c, which defines a routine yylex().
  86. +This file is compiled and linked with the -lfl library to produce an
  87. +executable.  When the executable is run, it analyzes its input for
  88. +occurrences of the regular expressions.  Whenever it finds one, it
  89. +executes the corresponding C code.
  90. +.version
  91. +2.5.2
  92. +.author
  93. +Vern Paxson
  94. +Van Jacobson
  95. +Jef Poskanzer
  96. +.requirements
  97. +Amiga binaries require ixemul.library.
  98. +.distribution
  99. +GNU Public License
  100. +.described-by
  101. +Fred Fish (fnf@amigalib.com)
  102. diff -rup --new-file baseline/fsf/flex/configure amiga/fsf/flex/configure
  103. --- baseline/fsf/flex/configure    Thu Apr 20 13:10:14 1995
  104. +++ amiga/fsf/flex/configure    Mon Sep 30 22:40:55 1996
  105. @@ -1,8 +1,8 @@
  106. -#!/bin/sh
  107. +#! /bin/sh
  108.  
  109.  # Guess values for system-dependent variables and create Makefiles.
  110. -# Generated automatically using autoconf version 2.1 
  111. -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  112. +# Generated automatically using autoconf version 2.10 
  113. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  114.  #
  115.  # This configure script is free software; the Free Software Foundation
  116.  # gives unlimited permission to copy, distribute and modify it.
  117. @@ -33,9 +33,25 @@ target=NONE
  118.  verbose=
  119.  x_includes=NONE
  120.  x_libraries=NONE
  121. +bindir='${exec_prefix}/bin'
  122. +sbindir='${exec_prefix}/sbin'
  123. +libexecdir='${exec_prefix}/libexec'
  124. +datadir='${prefix}/share'
  125. +sysconfdir='${prefix}/etc'
  126. +sharedstatedir='${prefix}/com'
  127. +localstatedir='${prefix}/var'
  128. +libdir='${exec_prefix}/lib'
  129. +includedir='${prefix}/include'
  130. +oldincludedir='/usr/include'
  131. +infodir='${prefix}/info'
  132. +guidedir='${prefix}/guide'
  133. +psdir='${prefix}/ps'
  134. +dvidir='${prefix}/dvi'
  135. +mandir='${prefix}/man'
  136.  
  137.  # Initialize some other variables.
  138.  subdirs=
  139. +MFLAGS= MAKEFLAGS=
  140.  
  141.  ac_prev=
  142.  for ac_option
  143. @@ -57,9 +73,14 @@ do
  144.  
  145.    case "$ac_option" in
  146.  
  147. -  -build | --build | --buil | --bui | --bu | --b)
  148. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  149. +    ac_prev=bindir ;;
  150. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  151. +    bindir="$ac_optarg" ;;
  152. +
  153. +  -build | --build | --buil | --bui | --bu)
  154.      ac_prev=build ;;
  155. -  -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  156. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  157.      build="$ac_optarg" ;;
  158.  
  159.    -cache-file | --cache-file | --cache-fil | --cache-fi \
  160. @@ -69,6 +90,12 @@ do
  161.    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  162.      cache_file="$ac_optarg" ;;
  163.  
  164. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  165. +    ac_prev=datadir ;;
  166. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  167. +  | --da=*)
  168. +    datadir="$ac_optarg" ;;
  169. +
  170.    -disable-* | --disable-*)
  171.      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  172.      # Reject names that are not valid shell variable names.
  173. @@ -119,12 +146,32 @@ Configuration:
  174.  Directory and file names:
  175.    --prefix=PREFIX         install architecture-independent files in PREFIX
  176.                            [$ac_default_prefix]
  177. -  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
  178. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  179.                            [same as prefix]
  180. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  181. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  182. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  183. +  --datadir=DIR           read-only architecture-independent data in DIR
  184. +                          [PREFIX/share]
  185. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  186. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  187. +                          [PREFIX/com]
  188. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  189. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  190. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  191. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  192. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  193. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  194. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  195. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  196. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  197.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  198.    --program-prefix=PREFIX prepend PREFIX to installed program names
  199.    --program-suffix=SUFFIX append SUFFIX to installed program names
  200. -  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  201. +  --program-transform-name=PROGRAM
  202. +                          run sed PROGRAM on installed program names
  203. +EOF
  204. +    cat << EOF
  205.  Host type:
  206.    --build=BUILD           configure for building on BUILD [BUILD=HOST]
  207.    --host=HOST             configure for HOST [guessed]
  208. @@ -136,8 +183,10 @@ Features and packages:
  209.    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  210.    --x-includes=DIR        X include files are in DIR
  211.    --x-libraries=DIR       X library files are in DIR
  212. ---enable and --with options recognized:$ac_help
  213.  EOF
  214. +    if test -n "$ac_help"; then
  215. +      echo "--enable and --with options recognized:$ac_help"
  216. +    fi
  217.      exit 0 ;;
  218.  
  219.    -host | --host | --hos | --ho)
  220. @@ -145,6 +194,56 @@ EOF
  221.    -host=* | --host=* | --hos=* | --ho=*)
  222.      host="$ac_optarg" ;;
  223.  
  224. +  -includedir | --includedir | --includedi | --included | --include \
  225. +  | --includ | --inclu | --incl | --inc)
  226. +    ac_prev=includedir ;;
  227. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  228. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  229. +    includedir="$ac_optarg" ;;
  230. +
  231. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  232. +    ac_prev=infodir ;;
  233. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  234. +    infodir="$ac_optarg" ;;
  235. +
  236. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  237. +   ac_prev=guidedir ;;
  238. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  239. +
  240. + -psdir | --psdir | --psdi | --psd | --ps)
  241. +   ac_prev=psdir ;;
  242. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  243. +
  244. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  245. +   ac_prev=dvidir ;;
  246. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  247. +
  248. +  -libdir | --libdir | --libdi | --libd)
  249. +    ac_prev=libdir ;;
  250. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  251. +    libdir="$ac_optarg" ;;
  252. +
  253. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  254. +  | --libexe | --libex | --libe)
  255. +    ac_prev=libexecdir ;;
  256. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  257. +  | --libexe=* | --libex=* | --libe=*)
  258. +    libexecdir="$ac_optarg" ;;
  259. +
  260. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  261. +  | --localstate | --localstat | --localsta | --localst \
  262. +  | --locals | --local | --loca | --loc | --lo)
  263. +    ac_prev=localstatedir ;;
  264. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  265. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  266. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  267. +    localstatedir="$ac_optarg" ;;
  268. +
  269. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  270. +    ac_prev=mandir ;;
  271. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  272. +    mandir="$ac_optarg" ;;
  273. +
  274.    -nfp | --nfp | --nf)
  275.      # Obsolete; use --without-fp.
  276.      with_fp=no ;;
  277. @@ -157,6 +256,15 @@ EOF
  278.    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  279.      no_recursion=yes ;;
  280.  
  281. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  282. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  283. +  | --oldin | --oldi | --old | --ol | --o)
  284. +    ac_prev=oldincludedir ;;
  285. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  286. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  287. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  288. +    oldincludedir="$ac_optarg" ;;
  289. +
  290.    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  291.      ac_prev=prefix ;;
  292.    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  293. @@ -197,6 +305,23 @@ EOF
  294.    | -silent | --silent | --silen | --sile | --sil)
  295.      silent=yes ;;
  296.  
  297. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  298. +    ac_prev=sbindir ;;
  299. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  300. +  | --sbi=* | --sb=*)
  301. +    sbindir="$ac_optarg" ;;
  302. +
  303. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  304. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  305. +  | --sharedst | --shareds | --shared | --share | --shar \
  306. +  | --sha | --sh)
  307. +    ac_prev=sharedstatedir ;;
  308. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  309. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  310. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  311. +  | --sha=* | --sh=*)
  312. +    sharedstatedir="$ac_optarg" ;;
  313. +
  314.    -site | --site | --sit)
  315.      ac_prev=site ;;
  316.    -site=* | --site=* | --sit=*)
  317. @@ -207,6 +332,13 @@ EOF
  318.    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  319.      srcdir="$ac_optarg" ;;
  320.  
  321. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  322. +  | --syscon | --sysco | --sysc | --sys | --sy)
  323. +    ac_prev=sysconfdir ;;
  324. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  325. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  326. +    sysconfdir="$ac_optarg" ;;
  327. +
  328.    -target | --target | --targe | --targ | --tar | --ta | --t)
  329.      ac_prev=target ;;
  330.    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  331. @@ -216,7 +348,7 @@ EOF
  332.      verbose=yes ;;
  333.  
  334.    -version | --version | --versio | --versi | --vers)
  335. -    echo "configure generated by autoconf version 2.1"
  336. +    echo "configure generated by autoconf version 2.10"
  337.      exit 0 ;;
  338.  
  339.    -with-* | --with-*)
  340. @@ -262,7 +394,7 @@ EOF
  341.    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  342.      ;;
  343.  
  344. -  *) 
  345. +  *)
  346.      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  347.        echo "configure: warning: $ac_option: invalid host type" 1>&2
  348.      fi
  349. @@ -279,19 +411,20 @@ if test -n "$ac_prev"; then
  350.    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  351.  fi
  352.  
  353. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  354. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  355.  
  356.  # File descriptor usage:
  357. -# 0 unused; standard input
  358. +# 0 standard input
  359.  # 1 file creation
  360.  # 2 errors and warnings
  361. -# 3 unused; some systems may open it to /dev/tty
  362. -# 4 checking for... messages and results
  363. +# 3 some systems may open it to /dev/tty
  364. +# 4 used on the Kubota Titan
  365. +# 6 checking for... messages and results
  366.  # 5 compiler messages saved in config.log
  367.  if test "$silent" = yes; then
  368. -  exec 4>/dev/null
  369. +  exec 6>/dev/null
  370.  else
  371. -  exec 4>&1
  372. +  exec 6>&1
  373.  fi
  374.  exec 5>./config.log
  375.  
  376. @@ -381,8 +514,8 @@ fi
  377.  ac_ext=c
  378.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  379.  ac_cpp='$CPP $CPPFLAGS'
  380. -ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  381. -ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  382. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  383. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  384.  
  385.  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  386.    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  387. @@ -399,9 +532,9 @@ fi
  388.  
  389.  
  390.  
  391. -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
  392. -if eval "test \"`echo '${'ac_cv_prog_LN_S'+set}'`\" = set"; then
  393. -  echo $ac_n "(cached) $ac_c" 1>&4
  394. +echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  395. +if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  396. +  echo $ac_n "(cached) $ac_c" 1>&6
  397.  else
  398.    rm -f conftestdata
  399.  if ln -s X conftestdata 2>/dev/null
  400. @@ -414,18 +547,18 @@ fi
  401.  fi
  402.  LN_S="$ac_cv_prog_LN_S"
  403.  if test "$ac_cv_prog_LN_S" = "ln -s"; then
  404. -  echo "$ac_t""yes" 1>&4
  405. +  echo "$ac_t""yes" 1>&6
  406.  else
  407. -  echo "$ac_t""no" 1>&4
  408. +  echo "$ac_t""no" 1>&6
  409.  fi
  410.  
  411.  for ac_prog in 'bison -y' byacc
  412.  do
  413.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  414.  set dummy $ac_prog; ac_word=$2
  415. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  416. -if eval "test \"`echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then
  417. -  echo $ac_n "(cached) $ac_c" 1>&4
  418. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  419. +if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
  420. +  echo $ac_n "(cached) $ac_c" 1>&6
  421.  else
  422.    if test -n "$YACC"; then
  423.    ac_cv_prog_YACC="$YACC" # Let the user override the test.
  424. @@ -443,9 +576,9 @@ fi
  425.  fi
  426.  YACC="$ac_cv_prog_YACC"
  427.  if test -n "$YACC"; then
  428. -  echo "$ac_t""$YACC" 1>&4
  429. +  echo "$ac_t""$YACC" 1>&6
  430.  else
  431. -  echo "$ac_t""no" 1>&4
  432. +  echo "$ac_t""no" 1>&6
  433.  fi
  434.  
  435.  test -n "$YACC" && break
  436. @@ -454,9 +587,9 @@ test -n "$YACC" || YACC="yacc"
  437.  
  438.  # Extract the first word of "gcc", so it can be a program name with args.
  439.  set dummy gcc; ac_word=$2
  440. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  441. -if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  442. -  echo $ac_n "(cached) $ac_c" 1>&4
  443. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  444. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  445. +  echo $ac_n "(cached) $ac_c" 1>&6
  446.  else
  447.    if test -n "$CC"; then
  448.    ac_cv_prog_CC="$CC" # Let the user override the test.
  449. @@ -470,39 +603,88 @@ else
  450.      fi
  451.    done
  452.    IFS="$ac_save_ifs"
  453. -  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
  454.  fi
  455.  fi
  456.  CC="$ac_cv_prog_CC"
  457.  if test -n "$CC"; then
  458. -  echo "$ac_t""$CC" 1>&4
  459. +  echo "$ac_t""$CC" 1>&6
  460. +else
  461. +  echo "$ac_t""no" 1>&6
  462. +fi
  463. +
  464. +if test -z "$CC"; then
  465. +  # Extract the first word of "cc", so it can be a program name with args.
  466. +set dummy cc; ac_word=$2
  467. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  468. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  469. +  echo $ac_n "(cached) $ac_c" 1>&6
  470. +else
  471. +  if test -n "$CC"; then
  472. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  473. +else
  474. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  475. +  ac_prog_rejected=no
  476. +  for ac_dir in $PATH; do
  477. +    test -z "$ac_dir" && ac_dir=.
  478. +    if test -f $ac_dir/$ac_word; then
  479. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  480. +        ac_prog_rejected=yes
  481. +    continue
  482. +      fi
  483. +      ac_cv_prog_CC="cc"
  484. +      break
  485. +    fi
  486. +  done
  487. +  IFS="$ac_save_ifs"
  488. +if test $ac_prog_rejected = yes; then
  489. +  # We found a bogon in the path, so make sure we never use it.
  490. +  set dummy $ac_cv_prog_CC
  491. +  shift
  492. +  if test $# -gt 0; then
  493. +    # We chose a different compiler from the bogus one.
  494. +    # However, it has the same basename, so the bogon will be chosen
  495. +    # first if we set CC to just the basename; use the full file name.
  496. +    shift
  497. +    set dummy "$ac_dir/$ac_word" "$@"
  498. +    shift
  499. +    ac_cv_prog_CC="$@"
  500. +  fi
  501. +fi
  502. +fi
  503. +fi
  504. +CC="$ac_cv_prog_CC"
  505. +if test -n "$CC"; then
  506. +  echo "$ac_t""$CC" 1>&6
  507.  else
  508. -  echo "$ac_t""no" 1>&4
  509. +  echo "$ac_t""no" 1>&6
  510.  fi
  511.  
  512. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  513. +fi
  514.  
  515. -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  516. -if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  517. -  echo $ac_n "(cached) $ac_c" 1>&4
  518. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  519. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  520. +  echo $ac_n "(cached) $ac_c" 1>&6
  521.  else
  522.    cat > conftest.c <<EOF
  523.  #ifdef __GNUC__
  524.    yes;
  525.  #endif
  526.  EOF
  527. -if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  528. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  529.    ac_cv_prog_gcc=yes
  530.  else
  531.    ac_cv_prog_gcc=no
  532.  fi
  533.  fi
  534. -echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  535. +
  536. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  537.  if test $ac_cv_prog_gcc = yes; then
  538.    GCC=yes
  539.    if test "${CFLAGS+set}" != set; then
  540. -    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  541. -if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  542. -  echo $ac_n "(cached) $ac_c" 1>&4
  543. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  544. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  545. +  echo $ac_n "(cached) $ac_c" 1>&6
  546.  else
  547.    echo 'void f(){}' > conftest.c
  548.  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  549. @@ -513,11 +695,12 @@ fi
  550.  rm -f conftest*
  551.  
  552.  fi
  553. -    echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  554. +
  555. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  556.      if test $ac_cv_prog_gcc_g = yes; then
  557. -      CFLAGS="-g -O"
  558. +      CFLAGS="-g -O2"
  559.      else
  560. -      CFLAGS="-O"
  561. +      CFLAGS="-O2"
  562.      fi
  563.    fi
  564.  else
  565. @@ -527,9 +710,9 @@ fi
  566.  
  567.  # Extract the first word of "ranlib", so it can be a program name with args.
  568.  set dummy ranlib; ac_word=$2
  569. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  570. -if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  571. -  echo $ac_n "(cached) $ac_c" 1>&4
  572. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  573. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  574. +  echo $ac_n "(cached) $ac_c" 1>&6
  575.  else
  576.    if test -n "$RANLIB"; then
  577.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  578. @@ -548,9 +731,9 @@ fi
  579.  fi
  580.  RANLIB="$ac_cv_prog_RANLIB"
  581.  if test -n "$RANLIB"; then
  582. -  echo "$ac_t""$RANLIB" 1>&4
  583. +  echo "$ac_t""$RANLIB" 1>&6
  584.  else
  585. -  echo "$ac_t""no" 1>&4
  586. +  echo "$ac_t""no" 1>&6
  587.  fi
  588.  
  589.  ac_aux_dir=
  590. @@ -579,18 +762,20 @@ ac_configure=$ac_aux_dir/configure # Thi
  591.  # SunOS /usr/etc/install
  592.  # IRIX /sbin/install
  593.  # AIX /bin/install
  594. +# AmigaOS /c/install
  595.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  596.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  597.  # ./install, which can be erroneously created by make from ./install.sh.
  598. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  599. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  600.  if test -z "$INSTALL"; then
  601. -if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  602. -  echo $ac_n "(cached) $ac_c" 1>&4
  603. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  604. +  echo $ac_n "(cached) $ac_c" 1>&6
  605.  else
  606.      IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  607.    for ac_dir in $PATH; do
  608. -    case "$ac_dir" in
  609. -    ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  610. +    # Account for people who put trailing slashes in PATH elements.
  611. +    case "$ac_dir/" in
  612. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  613.      *)
  614.        # OSF1 and SCO ODT 3.0 have their own names for install.
  615.        for ac_prog in ginstall installbsd scoinst install; do
  616. @@ -610,12 +795,19 @@ else
  617.      esac
  618.    done
  619.    IFS="$ac_save_ifs"
  620. -  # As a last resort, use the slow shell script.
  621. -  test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
  622. +
  623.  fi
  624. -  INSTALL="$ac_cv_path_install"
  625. +  if test "${ac_cv_path_install+set}" = set; then
  626. +    INSTALL="$ac_cv_path_install"
  627. +  else
  628. +    # As a last resort, use the slow shell script.  We don't cache a
  629. +    # path for INSTALL within a source directory, because that will
  630. +    # break other packages using the cache if that directory is
  631. +    # removed, or if the path is relative.
  632. +    INSTALL="$ac_install_sh"
  633. +  fi
  634.  fi
  635. -echo "$ac_t""$INSTALL" 1>&4
  636. +echo "$ac_t""$INSTALL" 1>&6
  637.  
  638.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  639.  # It thinks the first close brace ends the variable substitution.
  640. @@ -623,10 +815,10 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR
  641.  
  642.  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  643.  
  644. -echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  645. +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  646.  set dummy ${MAKE-make}; ac_make=$2
  647. -if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  648. -  echo $ac_n "(cached) $ac_c" 1>&4
  649. +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  650. +  echo $ac_n "(cached) $ac_c" 1>&6
  651.  else
  652.    cat > conftestmake <<\EOF
  653.  all:
  654. @@ -642,19 +834,19 @@ fi
  655.  rm -f conftestmake
  656.  fi
  657.  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  658. -  echo "$ac_t""yes" 1>&4
  659. +  echo "$ac_t""yes" 1>&6
  660.    SET_MAKE=
  661.  else
  662. -  echo "$ac_t""no" 1>&4
  663. +  echo "$ac_t""no" 1>&6
  664.    SET_MAKE="MAKE=${MAKE-make}"
  665.  fi
  666.  
  667. -echo $ac_n "checking for working const""... $ac_c" 1>&4
  668. -if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  669. -  echo $ac_n "(cached) $ac_c" 1>&4
  670. +echo $ac_n "checking for working const""... $ac_c" 1>&6
  671. +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  672. +  echo $ac_n "(cached) $ac_c" 1>&6
  673.  else
  674.    cat > conftest.$ac_ext <<EOF
  675. -#line 658 "configure"
  676. +#line 850 "configure"
  677.  #include "confdefs.h"
  678.  
  679.  int main() { return 0; }
  680. @@ -667,7 +859,7 @@ char const *const *ccp;
  681.  char **p;
  682.  /* NEC SVR4.0.2 mips cc rejects this.  */
  683.  struct point {int x, y;};
  684. -static struct point const zero;
  685. +static struct point const zero = {0,0};
  686.  /* AIX XL C 1.02.0.0 rejects this.
  687.     It does not let you subtract one const X* pointer from another in an arm
  688.     of an if-expression whose if-part is not a constant expression */
  689. @@ -704,7 +896,7 @@ ccp = (char const *const *) p;
  690.  
  691.  ; return 0; }
  692.  EOF
  693. -if eval $ac_compile; then
  694. +if { (eval echo configure:900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  695.    rm -rf conftest*
  696.    ac_cv_c_const=yes
  697.  else
  698. @@ -714,7 +906,8 @@ fi
  699.  rm -f conftest*
  700.  
  701.  fi
  702. -echo "$ac_t""$ac_cv_c_const" 1>&4
  703. +
  704. +echo "$ac_t""$ac_cv_c_const" 1>&6
  705.  if test $ac_cv_c_const = no; then
  706.    cat >> confdefs.h <<\EOF
  707.  #define const 
  708. @@ -722,14 +915,14 @@ EOF
  709.  
  710.  fi
  711.  
  712. -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  713. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  714.  # On Suns, sometimes $CPP names a directory.
  715.  if test -n "$CPP" && test -d "$CPP"; then
  716.    CPP=
  717.  fi
  718.  if test -z "$CPP"; then
  719. -if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  720. -  echo $ac_n "(cached) $ac_c" 1>&4
  721. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  722. +  echo $ac_n "(cached) $ac_c" 1>&6
  723.  else
  724.      # This must be in double quotes, not single quotes, because CPP may get
  725.    # substituted into the Makefile and "${CC-cc}" will confuse make.
  726. @@ -737,12 +930,13 @@ else
  727.    # On the NeXT, cc -E runs the code through the compiler's parser,
  728.    # not just through cpp.
  729.    cat > conftest.$ac_ext <<EOF
  730. -#line 741 "configure"
  731. +#line 934 "configure"
  732.  #include "confdefs.h"
  733.  #include <assert.h>
  734.  Syntax Error
  735.  EOF
  736. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  737. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  738. +{ (eval echo configure:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  739.  ac_err=`grep -v '^ *+' conftest.out`
  740.  if test -z "$ac_err"; then
  741.    :
  742. @@ -751,12 +945,13 @@ else
  743.    rm -rf conftest*
  744.    CPP="${CC-cc} -E -traditional-cpp"
  745.    cat > conftest.$ac_ext <<EOF
  746. -#line 755 "configure"
  747. +#line 949 "configure"
  748.  #include "confdefs.h"
  749.  #include <assert.h>
  750.  Syntax Error
  751.  EOF
  752. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  753. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  754. +{ (eval echo configure:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  755.  ac_err=`grep -v '^ *+' conftest.out`
  756.  if test -z "$ac_err"; then
  757.    :
  758. @@ -770,24 +965,26 @@ fi
  759.  rm -f conftest*
  760.    ac_cv_prog_CPP="$CPP"
  761.  fi
  762. +  CPP="$ac_cv_prog_CPP"
  763. +else
  764. +  ac_cv_prog_CPP="$CPP"
  765.  fi
  766. -CPP="$ac_cv_prog_CPP"
  767. -echo "$ac_t""$CPP" 1>&4
  768. +echo "$ac_t""$CPP" 1>&6
  769.  
  770.  # If we cannot run a trivial program, we must be cross compiling.
  771. -echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  772. -if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  773. -  echo $ac_n "(cached) $ac_c" 1>&4
  774. +echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
  775. +if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
  776. +  echo $ac_n "(cached) $ac_c" 1>&6
  777.  else
  778.    if test "$cross_compiling" = yes; then
  779. -  ac_cv_cross=yes
  780. +  ac_cv_c_cross=yes
  781.  else
  782.  cat > conftest.$ac_ext <<EOF
  783. -#line 787 "configure"
  784. +#line 984 "configure"
  785.  #include "confdefs.h"
  786.  main(){return(0);}
  787.  EOF
  788. -eval $ac_link
  789. +{ (eval echo configure:988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  790.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  791.    ac_cv_c_cross=no
  792.  else
  793. @@ -796,22 +993,24 @@ fi
  794.  fi
  795.  rm -fr conftest*
  796.  fi
  797. +
  798. +echo "$ac_t""$ac_cv_c_cross" 1>&6
  799.  cross_compiling=$ac_cv_c_cross
  800. -echo "$ac_t""$ac_cv_c_cross" 1>&4
  801.  
  802. -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  803. -if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  804. -  echo $ac_n "(cached) $ac_c" 1>&4
  805. +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  806. +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  807. +  echo $ac_n "(cached) $ac_c" 1>&6
  808.  else
  809.    cat > conftest.$ac_ext <<EOF
  810. -#line 808 "configure"
  811. +#line 1006 "configure"
  812.  #include "confdefs.h"
  813.  #include <stdlib.h>
  814.  #include <stdarg.h>
  815.  #include <string.h>
  816.  #include <float.h>
  817.  EOF
  818. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  819. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  820. +{ (eval echo configure:1014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  821.  ac_err=`grep -v '^ *+' conftest.out`
  822.  if test -z "$ac_err"; then
  823.    rm -rf conftest*
  824. @@ -826,7 +1025,7 @@ rm -f conftest*
  825.  if test $ac_cv_header_stdc = yes; then
  826.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  827.  cat > conftest.$ac_ext <<EOF
  828. -#line 830 "configure"
  829. +#line 1029 "configure"
  830.  #include "confdefs.h"
  831.  #include <string.h>
  832.  EOF
  833. @@ -844,7 +1043,7 @@ fi
  834.  if test $ac_cv_header_stdc = yes; then
  835.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  836.  cat > conftest.$ac_ext <<EOF
  837. -#line 848 "configure"
  838. +#line 1047 "configure"
  839.  #include "confdefs.h"
  840.  #include <stdlib.h>
  841.  EOF
  842. @@ -862,10 +1061,10 @@ fi
  843.  if test $ac_cv_header_stdc = yes; then
  844.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  845.  if test "$cross_compiling" = yes; then
  846. -  ac_cv_header_stdc=no
  847. +  :
  848.  else
  849.  cat > conftest.$ac_ext <<EOF
  850. -#line 869 "configure"
  851. +#line 1068 "configure"
  852.  #include "confdefs.h"
  853.  #include <ctype.h>
  854.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  855. @@ -876,7 +1075,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  856.  exit (0); }
  857.  
  858.  EOF
  859. -eval $ac_link
  860. +{ (eval echo configure:1079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  861.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  862.    :
  863.  else
  864. @@ -886,7 +1085,8 @@ fi
  865.  rm -fr conftest*
  866.  fi
  867.  fi
  868. -echo "$ac_t""$ac_cv_header_stdc" 1>&4
  869. +
  870. +echo "$ac_t""$ac_cv_header_stdc" 1>&6
  871.  if test $ac_cv_header_stdc = yes; then
  872.    cat >> confdefs.h <<\EOF
  873.  #define STDC_HEADERS 1
  874. @@ -894,12 +1094,12 @@ EOF
  875.  
  876.  fi
  877.  
  878. -echo $ac_n "checking for size_t""... $ac_c" 1>&4
  879. -if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  880. -  echo $ac_n "(cached) $ac_c" 1>&4
  881. +echo $ac_n "checking for size_t""... $ac_c" 1>&6
  882. +if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  883. +  echo $ac_n "(cached) $ac_c" 1>&6
  884.  else
  885.    cat > conftest.$ac_ext <<EOF
  886. -#line 903 "configure"
  887. +#line 1103 "configure"
  888.  #include "confdefs.h"
  889.  #include <sys/types.h>
  890.  #if STDC_HEADERS
  891. @@ -917,7 +1117,7 @@ fi
  892.  rm -f conftest*
  893.  
  894.  fi
  895. -echo "$ac_t""$ac_cv_type_size_t" 1>&4
  896. +echo "$ac_t""$ac_cv_type_size_t" 1>&6
  897.  if test $ac_cv_type_size_t = no; then
  898.    cat >> confdefs.h <<\EOF
  899.  #define size_t unsigned
  900. @@ -925,19 +1125,20 @@ EOF
  901.  
  902.  fi
  903.  
  904. -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  905. -if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  906. -  echo $ac_n "(cached) $ac_c" 1>&4
  907. +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  908. +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  909. +  echo $ac_n "(cached) $ac_c" 1>&6
  910.  else
  911.    cat > conftest.$ac_ext <<EOF
  912. -#line 934 "configure"
  913. +#line 1134 "configure"
  914.  #include "confdefs.h"
  915.  #include <stdlib.h>
  916.  #include <stdarg.h>
  917.  #include <string.h>
  918.  #include <float.h>
  919.  EOF
  920. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  921. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  922. +{ (eval echo configure:1142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  923.  ac_err=`grep -v '^ *+' conftest.out`
  924.  if test -z "$ac_err"; then
  925.    rm -rf conftest*
  926. @@ -952,7 +1153,7 @@ rm -f conftest*
  927.  if test $ac_cv_header_stdc = yes; then
  928.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  929.  cat > conftest.$ac_ext <<EOF
  930. -#line 956 "configure"
  931. +#line 1157 "configure"
  932.  #include "confdefs.h"
  933.  #include <string.h>
  934.  EOF
  935. @@ -970,7 +1171,7 @@ fi
  936.  if test $ac_cv_header_stdc = yes; then
  937.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  938.  cat > conftest.$ac_ext <<EOF
  939. -#line 974 "configure"
  940. +#line 1175 "configure"
  941.  #include "confdefs.h"
  942.  #include <stdlib.h>
  943.  EOF
  944. @@ -988,10 +1189,10 @@ fi
  945.  if test $ac_cv_header_stdc = yes; then
  946.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  947.  if test "$cross_compiling" = yes; then
  948. -  ac_cv_header_stdc=no
  949. +  :
  950.  else
  951.  cat > conftest.$ac_ext <<EOF
  952. -#line 995 "configure"
  953. +#line 1196 "configure"
  954.  #include "confdefs.h"
  955.  #include <ctype.h>
  956.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  957. @@ -1002,7 +1203,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  958.  exit (0); }
  959.  
  960.  EOF
  961. -eval $ac_link
  962. +{ (eval echo configure:1207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  963.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  964.    :
  965.  else
  966. @@ -1012,7 +1213,8 @@ fi
  967.  rm -fr conftest*
  968.  fi
  969.  fi
  970. -echo "$ac_t""$ac_cv_header_stdc" 1>&4
  971. +
  972. +echo "$ac_t""$ac_cv_header_stdc" 1>&6
  973.  if test $ac_cv_header_stdc = yes; then
  974.    cat >> confdefs.h <<\EOF
  975.  #define STDC_HEADERS 1
  976. @@ -1023,16 +1225,17 @@ fi
  977.  for ac_hdr in string.h malloc.h sys/types.h
  978.  do
  979.  ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  980. -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  981. -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  982. -  echo $ac_n "(cached) $ac_c" 1>&4
  983. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  984. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  985. +  echo $ac_n "(cached) $ac_c" 1>&6
  986.  else
  987.    cat > conftest.$ac_ext <<EOF
  988. -#line 1032 "configure"
  989. +#line 1234 "configure"
  990.  #include "confdefs.h"
  991.  #include <$ac_hdr>
  992.  EOF
  993. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  994. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  995. +{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  996.  ac_err=`grep -v '^ *+' conftest.out`
  997.  if test -z "$ac_err"; then
  998.    rm -rf conftest*
  999. @@ -1045,14 +1248,14 @@ fi
  1000.  rm -f conftest*
  1001.  fi
  1002.  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1003. -  echo "$ac_t""yes" 1>&4
  1004. -    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1005. +  echo "$ac_t""yes" 1>&6
  1006. +    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  1007.    cat >> confdefs.h <<EOF
  1008.  #define $ac_tr_hdr 1
  1009.  EOF
  1010.   
  1011.  else
  1012. -  echo "$ac_t""no" 1>&4
  1013. +  echo "$ac_t""no" 1>&6
  1014.  fi
  1015.  done
  1016.  
  1017. @@ -1061,20 +1264,20 @@ case "$YACC" in
  1018.  *bison*)
  1019.    # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1020.  # for constant arguments.  Useless!
  1021. -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  1022. -if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1023. -  echo $ac_n "(cached) $ac_c" 1>&4
  1024. +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  1025. +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1026. +  echo $ac_n "(cached) $ac_c" 1>&6
  1027.  else
  1028.    cat > conftest.$ac_ext <<EOF
  1029. -#line 1070 "configure"
  1030. +#line 1273 "configure"
  1031.  #include "confdefs.h"
  1032.  #include <alloca.h>
  1033. -int main() { return 0; }
  1034. +int main() { t(); return 0; }
  1035.  int t() {
  1036.  char *p = alloca(2 * sizeof(int));
  1037.  ; return 0; }
  1038.  EOF
  1039. -if eval $ac_link; then
  1040. +if { (eval echo configure:1281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1041.    rm -rf conftest*
  1042.    ac_cv_header_alloca_h=yes
  1043.  else
  1044. @@ -1084,7 +1287,8 @@ fi
  1045.  rm -f conftest*
  1046.  
  1047.  fi
  1048. -echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  1049. +
  1050. +echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
  1051.  if test $ac_cv_header_alloca_h = yes; then
  1052.    cat >> confdefs.h <<\EOF
  1053.  #define HAVE_ALLOCA_H 1
  1054. @@ -1092,12 +1296,12 @@ EOF
  1055.  
  1056.  fi
  1057.  
  1058. -echo $ac_n "checking for alloca""... $ac_c" 1>&4
  1059. -if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  1060. -  echo $ac_n "(cached) $ac_c" 1>&4
  1061. +echo $ac_n "checking for alloca""... $ac_c" 1>&6
  1062. +if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
  1063. +  echo $ac_n "(cached) $ac_c" 1>&6
  1064.  else
  1065.    cat > conftest.$ac_ext <<EOF
  1066. -#line 1101 "configure"
  1067. +#line 1305 "configure"
  1068.  #include "confdefs.h"
  1069.  
  1070.  #ifdef __GNUC__
  1071. @@ -1116,12 +1320,12 @@ char *alloca ();
  1072.  # endif
  1073.  #endif
  1074.  
  1075. -int main() { return 0; }
  1076. +int main() { t(); return 0; }
  1077.  int t() {
  1078.  char *p = (char *) alloca(1);
  1079.  ; return 0; }
  1080.  EOF
  1081. -if eval $ac_link; then
  1082. +if { (eval echo configure:1329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1083.    rm -rf conftest*
  1084.    ac_cv_func_alloca=yes
  1085.  else
  1086. @@ -1131,7 +1335,8 @@ fi
  1087.  rm -f conftest*
  1088.  
  1089.  fi
  1090. -echo "$ac_t""$ac_cv_func_alloca" 1>&4
  1091. +
  1092. +echo "$ac_t""$ac_cv_func_alloca" 1>&6
  1093.  if test $ac_cv_func_alloca = yes; then
  1094.    cat >> confdefs.h <<\EOF
  1095.  #define HAVE_ALLOCA 1
  1096. @@ -1150,12 +1355,12 @@ if test $ac_cv_func_alloca = no; then
  1097.  EOF
  1098.  
  1099.  
  1100. -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  1101. -if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  1102. -  echo $ac_n "(cached) $ac_c" 1>&4
  1103. +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  1104. +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  1105. +  echo $ac_n "(cached) $ac_c" 1>&6
  1106.  else
  1107.    cat > conftest.$ac_ext <<EOF
  1108. -#line 1159 "configure"
  1109. +#line 1364 "configure"
  1110.  #include "confdefs.h"
  1111.  #if defined(CRAY) && ! defined(CRAY2)
  1112.  webecray
  1113. @@ -1175,154 +1380,72 @@ fi
  1114.  rm -f conftest*
  1115.  
  1116.  fi
  1117. -echo "$ac_t""$ac_cv_os_cray" 1>&4
  1118. -if test $ac_cv_os_cray = yes; then
  1119. -echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  1120. -if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  1121. -  echo $ac_n "(cached) $ac_c" 1>&4
  1122. -else
  1123. -  cat > conftest.$ac_ext <<EOF
  1124. -#line 1186 "configure"
  1125. -#include "confdefs.h"
  1126. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1127. -/* Override any gcc2 internal prototype to avoid an error.  */
  1128. -char _getb67(); 
  1129. -
  1130. -int main() { return 0; }
  1131. -int t() {
  1132. -
  1133. -/* The GNU C library defines this for functions which it implements
  1134. -    to always fail with ENOSYS.  Some functions are actually named
  1135. -    something starting with __ and the normal name is an alias.  */
  1136. -#if defined (__stub__getb67) || defined (__stub____getb67)
  1137. -choke me
  1138. -#else
  1139. -_getb67();
  1140. -#endif
  1141. -
  1142. -; return 0; }
  1143. -EOF
  1144. -if eval $ac_link; then
  1145. -  rm -rf conftest*
  1146. -  eval "ac_cv_func__getb67=yes"
  1147. -else
  1148. -  rm -rf conftest*
  1149. -  eval "ac_cv_func__getb67=no"
  1150. -fi
  1151. -rm -f conftest*
  1152. -
  1153. -fi
  1154. -if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  1155. -  echo "$ac_t""yes" 1>&4
  1156. -  cat >> confdefs.h <<\EOF
  1157. -#define CRAY_STACKSEG_END _getb67
  1158. -EOF
  1159. -
  1160. -else
  1161. -  echo "$ac_t""no" 1>&4
  1162. -echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  1163. -if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  1164. -  echo $ac_n "(cached) $ac_c" 1>&4
  1165. -else
  1166. -  cat > conftest.$ac_ext <<EOF
  1167. -#line 1229 "configure"
  1168. -#include "confdefs.h"
  1169. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1170. -/* Override any gcc2 internal prototype to avoid an error.  */
  1171. -char GETB67(); 
  1172. -
  1173. -int main() { return 0; }
  1174. -int t() {
  1175.  
  1176. -/* The GNU C library defines this for functions which it implements
  1177. -    to always fail with ENOSYS.  Some functions are actually named
  1178. -    something starting with __ and the normal name is an alias.  */
  1179. -#if defined (__stub_GETB67) || defined (__stub___GETB67)
  1180. -choke me
  1181. -#else
  1182. -GETB67();
  1183. -#endif
  1184. -
  1185. -; return 0; }
  1186. -EOF
  1187. -if eval $ac_link; then
  1188. -  rm -rf conftest*
  1189. -  eval "ac_cv_func_GETB67=yes"
  1190. -else
  1191. -  rm -rf conftest*
  1192. -  eval "ac_cv_func_GETB67=no"
  1193. -fi
  1194. -rm -f conftest*
  1195. -
  1196. -fi
  1197. -if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  1198. -  echo "$ac_t""yes" 1>&4
  1199. -  cat >> confdefs.h <<\EOF
  1200. -#define CRAY_STACKSEG_END GETB67
  1201. -EOF
  1202. -
  1203. -else
  1204. -  echo "$ac_t""no" 1>&4
  1205. -echo $ac_n "checking for getb67""... $ac_c" 1>&4
  1206. -if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  1207. -  echo $ac_n "(cached) $ac_c" 1>&4
  1208. +echo "$ac_t""$ac_cv_os_cray" 1>&6
  1209. +if test $ac_cv_os_cray = yes; then
  1210. +for ac_func in _getb67 GETB67 getb67; do
  1211. +  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1212. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1213. +  echo $ac_n "(cached) $ac_c" 1>&6
  1214.  else
  1215.    cat > conftest.$ac_ext <<EOF
  1216. -#line 1272 "configure"
  1217. +#line 1393 "configure"
  1218.  #include "confdefs.h"
  1219. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1220. +/* System header to define __stub macros and hopefully few prototypes,
  1221. +    which can conflict with char $ac_func(); below.  */
  1222. +#include <assert.h>
  1223.  /* Override any gcc2 internal prototype to avoid an error.  */
  1224. -char getb67(); 
  1225. +/* We use char because int might match the return type of a gcc2
  1226. +    builtin and then its argument prototype would still apply.  */
  1227. +char $ac_func();
  1228.  
  1229. -int main() { return 0; }
  1230. +int main() { t(); return 0; }
  1231.  int t() {
  1232.  
  1233.  /* The GNU C library defines this for functions which it implements
  1234.      to always fail with ENOSYS.  Some functions are actually named
  1235.      something starting with __ and the normal name is an alias.  */
  1236. -#if defined (__stub_getb67) || defined (__stub___getb67)
  1237. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1238.  choke me
  1239.  #else
  1240. -getb67();
  1241. +$ac_func();
  1242.  #endif
  1243.  
  1244.  ; return 0; }
  1245.  EOF
  1246. -if eval $ac_link; then
  1247. +if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1248.    rm -rf conftest*
  1249. -  eval "ac_cv_func_getb67=yes"
  1250. +  eval "ac_cv_func_$ac_func=yes"
  1251.  else
  1252.    rm -rf conftest*
  1253. -  eval "ac_cv_func_getb67=no"
  1254. +  eval "ac_cv_func_$ac_func=no"
  1255.  fi
  1256.  rm -f conftest*
  1257.  
  1258.  fi
  1259. -if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  1260. -  echo "$ac_t""yes" 1>&4
  1261. -  cat >> confdefs.h <<\EOF
  1262. -#define CRAY_STACKSEG_END getb67
  1263. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1264. +  echo "$ac_t""yes" 1>&6
  1265. +  cat >> confdefs.h <<EOF
  1266. +#define CRAY_STACKSEG_END $ac_func
  1267.  EOF
  1268.  
  1269. +  break
  1270.  else
  1271. -  echo "$ac_t""no" 1>&4
  1272. -fi
  1273. -
  1274. -fi
  1275. -
  1276. +  echo "$ac_t""no" 1>&6
  1277.  fi
  1278.  
  1279. +done
  1280.  fi
  1281.  
  1282. -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  1283. -if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  1284. -  echo $ac_n "(cached) $ac_c" 1>&4
  1285. +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  1286. +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  1287. +  echo $ac_n "(cached) $ac_c" 1>&6
  1288.  else
  1289.    if test "$cross_compiling" = yes; then
  1290.    ac_cv_c_stack_direction=0
  1291.  else
  1292.  cat > conftest.$ac_ext <<EOF
  1293. -#line 1326 "configure"
  1294. +#line 1449 "configure"
  1295.  #include "confdefs.h"
  1296.  find_stack_direction ()
  1297.  {
  1298. @@ -1341,7 +1464,7 @@ main ()
  1299.    exit (find_stack_direction() < 0);
  1300.  }
  1301.  EOF
  1302. -eval $ac_link
  1303. +{ (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1304.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1305.    ac_cv_c_stack_direction=1
  1306.  else
  1307. @@ -1350,7 +1473,8 @@ fi
  1308.  fi
  1309.  rm -fr conftest*
  1310.  fi
  1311. -echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  1312. +
  1313. +echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
  1314.  cat >> confdefs.h <<EOF
  1315.  #define STACK_DIRECTION $ac_cv_c_stack_direction
  1316.  EOF
  1317. @@ -1361,9 +1485,7 @@ fi
  1318.  esac
  1319.  
  1320.  trap '' 1 2 15
  1321. -if test -w $cache_file; then
  1322. -echo "updating cache $cache_file"
  1323. -cat > $cache_file <<\EOF
  1324. +cat > confcache <<\EOF
  1325.  # This file is a shell script that caches the results of configure
  1326.  # tests run on this system so they can be shared between configure
  1327.  # scripts and configure runs.  It is not useful on other systems.
  1328. @@ -1379,15 +1501,24 @@ cat > $cache_file <<\EOF
  1329.  # --recheck option to rerun configure.
  1330.  #
  1331.  EOF
  1332. -# Ultrix sh set writes to stderr and can't be redirected directly.
  1333. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1334. +# and sets the high bit in the cache file unless we assign to the vars.
  1335.  (set) 2>&1 |
  1336. -  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  1337. -  >> $cache_file
  1338. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1339. +  >> confcache
  1340. +if cmp -s $cache_file confcache; then
  1341. +  :
  1342.  else
  1343. -echo "not updating unwritable cache $cache_file"
  1344. +  if test -w $cache_file; then
  1345. +    echo "updating cache $cache_file"
  1346. +    cat confcache > $cache_file
  1347. +  else
  1348. +    echo "not updating unwritable cache $cache_file"
  1349. +  fi
  1350.  fi
  1351. +rm -f confcache
  1352.  
  1353. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  1354. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1355.  
  1356.  test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1357.  # Let make expand exec_prefix.
  1358. @@ -1408,9 +1539,11 @@ DEFS=-DHAVE_CONFIG_H
  1359.  : ${CONFIG_STATUS=./config.status}
  1360.  
  1361.  echo creating $CONFIG_STATUS
  1362. -rm -f $CONFIG_STATUS
  1363. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1364. +# being executed, so just move it out of the way instead.
  1365. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1366.  cat > $CONFIG_STATUS <<EOF
  1367. -#!/bin/sh
  1368. +#! /bin/sh
  1369.  # Generated automatically by configure.
  1370.  # Run this file to recreate the current configuration.
  1371.  # This directory was configured as follows,
  1372. @@ -1429,7 +1562,7 @@ do
  1373.      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1374.      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1375.    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1376. -    echo "$CONFIG_STATUS generated by autoconf version 2.1"
  1377. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1378.      exit 0 ;;
  1379.    -help | --help | --hel | --he | --h)
  1380.      echo "\$ac_cs_usage"; exit 0 ;;
  1381. @@ -1440,11 +1573,13 @@ done
  1382.  ac_given_srcdir=$srcdir
  1383.  ac_given_INSTALL="$INSTALL"
  1384.  
  1385. -trap 'rm -fr Makefile config.h:conf.in conftest*; exit 1' 1 2 15
  1386. +trap 'rm -fr `echo "Makefile config.h:conf.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1387. +EOF
  1388. +cat >> $CONFIG_STATUS <<EOF
  1389.  
  1390. -# Protect against being on the right side of a sed subst in config.status. 
  1391. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
  1392. - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  1393. +# Protect against being on the right side of a sed subst in config.status.
  1394. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1395. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1396.  $ac_vpsub
  1397.  $extrasub
  1398.  s%@CFLAGS@%$CFLAGS%g
  1399. @@ -1456,6 +1591,21 @@ s%@LIBS@%$LIBS%g
  1400.  s%@exec_prefix@%$exec_prefix%g
  1401.  s%@prefix@%$prefix%g
  1402.  s%@program_transform_name@%$program_transform_name%g
  1403. +s%@bindir@%$bindir%g
  1404. +s%@sbindir@%$sbindir%g
  1405. +s%@libexecdir@%$libexecdir%g
  1406. +s%@datadir@%$datadir%g
  1407. +s%@sysconfdir@%$sysconfdir%g
  1408. +s%@sharedstatedir@%$sharedstatedir%g
  1409. +s%@localstatedir@%$localstatedir%g
  1410. +s%@libdir@%$libdir%g
  1411. +s%@includedir@%$includedir%g
  1412. +s%@oldincludedir@%$oldincludedir%g
  1413. +s%@infodir@%$infodir%g
  1414. +s%@guidedir@%$guidedir%g
  1415. +s%@psdir@%$psdir%g
  1416. +s%@dvidir@%$dvidir%g
  1417. +s%@mandir@%$mandir%g
  1418.  s%@LN_S@%$LN_S%g
  1419.  s%@YACC@%$YACC%g
  1420.  s%@CC@%$CC%g
  1421. @@ -1488,7 +1638,7 @@ for ac_file in .. $CONFIG_FILES; do if t
  1422.    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1423.      # The file is in a subdirectory.
  1424.      test ! -d "$ac_dir" && mkdir "$ac_dir"
  1425. -    ac_dir_suffix="/$ac_dir"
  1426. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1427.      # A "../" for each directory in $ac_dir_suffix.
  1428.      ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1429.    else
  1430. @@ -1563,13 +1713,13 @@ EOF
  1431.  
  1432.  # Transform confdefs.h into a sed script conftest.vals that substitutes
  1433.  # the proper values into config.h.in to produce config.h.  And first:
  1434. -# Protect against being on the right side of a sed subst in config.status. 
  1435. +# Protect against being on the right side of a sed subst in config.status.
  1436.  # Protect against being in an unquoted here document in config.status.
  1437.  rm -f conftest.vals
  1438.  cat > conftest.hdr <<\EOF
  1439.  s/[\\&%]/\\&/g
  1440.  s%[\\$`]%\\&%g
  1441. -s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  1442. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  1443.  s%ac_d%ac_u%gp
  1444.  s%ac_u%ac_e%gp
  1445.  EOF
  1446. @@ -1617,6 +1767,12 @@ cat >> $CONFIG_STATUS <<\EOF
  1447.      echo "$ac_file is unchanged"
  1448.      rm -f conftest.h
  1449.    else
  1450. +    # Remove last slash and all that follows it.  Not all systems have dirname.
  1451. +      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1452. +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1453. +      # The file is in a subdirectory.
  1454. +      test ! -d "$ac_dir" && mkdir "$ac_dir"
  1455. +    fi
  1456.      rm -f $ac_file
  1457.      mv conftest.h $ac_file
  1458.    fi
  1459. @@ -1627,6 +1783,7 @@ test -z "$CONFIG_HEADERS" || echo timest
  1460.  exit 0
  1461.  EOF
  1462.  chmod +x $CONFIG_STATUS
  1463. +rm -f CONFIG.STATUS.old
  1464.  rm -fr confdefs* $ac_clean_files
  1465. -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
  1466. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1467.  
  1468. diff -rup --new-file baseline/fsf/flex/manifests/bin amiga/fsf/flex/manifests/bin
  1469. --- baseline/fsf/flex/manifests/bin    Wed Dec 31 17:00:00 1969
  1470. +++ amiga/fsf/flex/manifests/bin    Sat Sep 28 00:00:00 1996
  1471. @@ -0,0 +1,7 @@
  1472. +COPYING
  1473. +COPYING.info
  1474. +bin/flex
  1475. +bin/flex++
  1476. +include/FlexLexer.h
  1477. +lib/libfl.a
  1478. +man/man1/flex.1
  1479. diff -rup --new-file baseline/fsf/flex/manifests/src amiga/fsf/flex/manifests/src
  1480. --- baseline/fsf/flex/manifests/src    Wed Dec 31 17:00:00 1969
  1481. +++ amiga/fsf/flex/manifests/src    Sat Sep 28 00:00:00 1996
  1482. @@ -0,0 +1,90 @@
  1483. +fsf/flex/COPYING
  1484. +fsf/flex/FlexLexer.h
  1485. +fsf/flex/INSTALL
  1486. +fsf/flex/MISC/Amiga/README.amiga
  1487. +fsf/flex/MISC/Amiga/SMakefile
  1488. +fsf/flex/MISC/Amiga/config.h
  1489. +fsf/flex/MISC/Amiga/libmain.ch
  1490. +fsf/flex/MISC/Amiga/libyywrap.ch
  1491. +fsf/flex/MISC/Amiga/parse.ych
  1492. +fsf/flex/MISC/Atari/Atari.patches
  1493. +fsf/flex/MISC/Borland.old/Borland-2.4
  1494. +fsf/flex/MISC/Borland.old/Turbo-C
  1495. +fsf/flex/MISC/Borland/Makefile
  1496. +fsf/flex/MISC/Borland/NOTES
  1497. +fsf/flex/MISC/Borland/config.h
  1498. +fsf/flex/MISC/EBCDIC
  1499. +fsf/flex/MISC/MSDOS/MSC70.make
  1500. +fsf/flex/MISC/MSDOS/configur.bat
  1501. +fsf/flex/MISC/MSDOS/djgpp.sed
  1502. +fsf/flex/MISC/MVS/MVS.mail
  1503. +fsf/flex/MISC/MVS/MVS.todo
  1504. +fsf/flex/MISC/MVS/MVS.uudecode
  1505. +fsf/flex/MISC/MVS/README
  1506. +fsf/flex/MISC/MVS/diffs
  1507. +fsf/flex/MISC/MVS/fixit.l
  1508. +fsf/flex/MISC/MVS/initscan-mvs.c
  1509. +fsf/flex/MISC/MVS/unfixit.l
  1510. +fsf/flex/MISC/Macintosh/THINK_C_notes
  1511. +fsf/flex/MISC/Macintosh/alloca.c
  1512. +fsf/flex/MISC/Macintosh/alloca.h
  1513. +fsf/flex/MISC/Macintosh/xmalloc.c
  1514. +fsf/flex/MISC/NT/Makefile
  1515. +fsf/flex/MISC/NT/config.h
  1516. +fsf/flex/MISC/NeXT
  1517. +fsf/flex/MISC/OS2/Makefile.os2
  1518. +fsf/flex/MISC/OS2/config.h
  1519. +fsf/flex/MISC/README
  1520. +fsf/flex/MISC/VMS/README.VMS
  1521. +fsf/flex/MISC/VMS/build.com
  1522. +fsf/flex/MISC/VMS/descrip.mms
  1523. +fsf/flex/MISC/VMS/mkskel.tpu
  1524. +fsf/flex/MISC/VMS/vms-code.c
  1525. +fsf/flex/MISC/VMS/vms-conf.h
  1526. +fsf/flex/MISC/alloca.c
  1527. +fsf/flex/MISC/debflex.awk
  1528. +fsf/flex/MISC/fastwc/README
  1529. +fsf/flex/MISC/fastwc/mywc.c
  1530. +fsf/flex/MISC/fastwc/wc1.l
  1531. +fsf/flex/MISC/fastwc/wc2.l
  1532. +fsf/flex/MISC/fastwc/wc3.l
  1533. +fsf/flex/MISC/fastwc/wc4.l
  1534. +fsf/flex/MISC/fastwc/wc5.l
  1535. +fsf/flex/MISC/flex.man
  1536. +fsf/flex/MISC/parse.c
  1537. +fsf/flex/MISC/parse.h
  1538. +fsf/flex/MISC/testxxLexer.l
  1539. +fsf/flex/MISC/texinfo/flex.info
  1540. +fsf/flex/MISC/texinfo/flex.texi
  1541. +fsf/flex/Makefile.in
  1542. +fsf/flex/NEWS
  1543. +fsf/flex/Product-Info
  1544. +fsf/flex/README
  1545. +fsf/flex/ccl.c
  1546. +fsf/flex/conf.in
  1547. +fsf/flex/configure
  1548. +fsf/flex/configure.in
  1549. +fsf/flex/dfa.c
  1550. +fsf/flex/ecs.c
  1551. +fsf/flex/flex.1
  1552. +fsf/flex/flex.skl
  1553. +fsf/flex/flexdef.h
  1554. +fsf/flex/gen.c
  1555. +fsf/flex/initscan.c
  1556. +fsf/flex/install.sh
  1557. +fsf/flex/libmain.c
  1558. +fsf/flex/libyywrap.c
  1559. +fsf/flex/main.c
  1560. +fsf/flex/manifests/bin
  1561. +fsf/flex/manifests/src
  1562. +fsf/flex/misc.c
  1563. +fsf/flex/mkinstalldirs
  1564. +fsf/flex/mkskel.sh
  1565. +fsf/flex/nfa.c
  1566. +fsf/flex/parse.y
  1567. +fsf/flex/scan.l
  1568. +fsf/flex/skel.c
  1569. +fsf/flex/sym.c
  1570. +fsf/flex/tblcmp.c
  1571. +fsf/flex/version.h
  1572. +fsf/flex/yylex.c
  1573.