home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / m4-1.4-diffs.gz / m4-1.4-diffs
Text File  |  1996-10-13  |  73KB  |  2,290 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/m4/INSTALL amiga/fsf/m4/INSTALL
  12. --- baseline/fsf/m4/INSTALL    Tue Oct 18 13:30:28 1994
  13. +++ amiga/fsf/m4/INSTALL    Sat Sep 28 00:00:00 1996
  14. @@ -76,8 +76,8 @@ Installation Names
  15.  ==================
  16.  
  17.     By default, `make install' will install the package's files in
  18. -`/usr/local/bin', `/usr/local/man', etc.  You can specify an
  19. -installation prefix other than `/usr/local' by giving `configure' the
  20. +`/gnu/bin', `/gnu/man', etc.  You can specify an
  21. +installation prefix other than `/gnu' by giving `configure' the
  22.  option `--prefix=PATH'.
  23.  
  24.     You can specify separate installation prefixes for
  25. diff -rup --new-file baseline/fsf/m4/Makefile.in amiga/fsf/m4/Makefile.in
  26. --- baseline/fsf/m4/Makefile.in    Sat Nov  5 16:19:53 1994
  27. +++ amiga/fsf/m4/Makefile.in    Sat Sep 28 00:00:00 1996
  28. @@ -42,10 +42,11 @@ prefix = @prefix@
  29.  exec_prefix = @exec_prefix@
  30.  bindir = $(exec_prefix)/bin
  31.  infodir = $(prefix)/info
  32. +guidedir = @guidedir@
  33.  
  34.  MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
  35.  prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
  36. -bindir='$(bindir)' infodir='$(infodir)'
  37. +bindir='$(bindir)' infodir='$(infodir)' guidedir='$(guidedir)'
  38.  
  39.  SUBDIRS = doc lib src checks examples
  40.  
  41. @@ -61,7 +62,7 @@ all install uninstall: config.h
  42.        (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
  43.      done
  44.  
  45. -info dvi:
  46. +info guide dvi:
  47.      cd doc && $(MAKE) $@
  48.  
  49.  check: all
  50. diff -rup --new-file baseline/fsf/m4/Product-Info amiga/fsf/m4/Product-Info
  51. --- baseline/fsf/m4/Product-Info    Wed Dec 31 17:00:00 1969
  52. +++ amiga/fsf/m4/Product-Info    Sat Sep 28 00:00:00 1996
  53. @@ -0,0 +1,22 @@
  54. +.name
  55. +m4
  56. +.fullname
  57. +GNU macro processor
  58. +.type
  59. +Programmer Tool
  60. +.short
  61. +GNU macro processor
  62. +.description
  63. +This is GNU m4, a program which copies its input to the output,
  64. +expanding macros as it goes.  m4 has built-in functions for including
  65. +named files, running Unix commands, doing integer arithmetic,
  66. +manipulating text in various ways, recursion, etc...  Macros can also
  67. +be user-defined, and can take any number of arguments.
  68. +.version
  69. +1.4
  70. +.author
  71. +Rene' Seindal
  72. +.distribution
  73. +GNU Public License
  74. +.described-by
  75. +Fred Fish (fnf@amigalib.com)
  76. diff -rup --new-file baseline/fsf/m4/configure amiga/fsf/m4/configure
  77. --- baseline/fsf/m4/configure    Sat Nov  5 20:44:17 1994
  78. +++ amiga/fsf/m4/configure    Mon Sep 30 22:47:20 1996
  79. @@ -1,8 +1,8 @@
  80. -#!/bin/sh
  81. +#! /bin/sh
  82.  
  83.  # Guess values for system-dependent variables and create Makefiles.
  84. -# Generated automatically using autoconf version 2.1 
  85. -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  86. +# Generated automatically using autoconf version 2.10 
  87. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  88.  #
  89.  # This configure script is free software; the Free Software Foundation
  90.  # gives unlimited permission to copy, distribute and modify it.
  91. @@ -38,9 +38,25 @@ target=NONE
  92.  verbose=
  93.  x_includes=NONE
  94.  x_libraries=NONE
  95. +bindir='${exec_prefix}/bin'
  96. +sbindir='${exec_prefix}/sbin'
  97. +libexecdir='${exec_prefix}/libexec'
  98. +datadir='${prefix}/share'
  99. +sysconfdir='${prefix}/etc'
  100. +sharedstatedir='${prefix}/com'
  101. +localstatedir='${prefix}/var'
  102. +libdir='${exec_prefix}/lib'
  103. +includedir='${prefix}/include'
  104. +oldincludedir='/usr/include'
  105. +infodir='${prefix}/info'
  106. +guidedir='${prefix}/guide'
  107. +psdir='${prefix}/ps'
  108. +dvidir='${prefix}/dvi'
  109. +mandir='${prefix}/man'
  110.  
  111.  # Initialize some other variables.
  112.  subdirs=
  113. +MFLAGS= MAKEFLAGS=
  114.  
  115.  ac_prev=
  116.  for ac_option
  117. @@ -62,9 +78,14 @@ do
  118.  
  119.    case "$ac_option" in
  120.  
  121. -  -build | --build | --buil | --bui | --bu | --b)
  122. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  123. +    ac_prev=bindir ;;
  124. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  125. +    bindir="$ac_optarg" ;;
  126. +
  127. +  -build | --build | --buil | --bui | --bu)
  128.      ac_prev=build ;;
  129. -  -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  130. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  131.      build="$ac_optarg" ;;
  132.  
  133.    -cache-file | --cache-file | --cache-fil | --cache-fi \
  134. @@ -74,6 +95,12 @@ do
  135.    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  136.      cache_file="$ac_optarg" ;;
  137.  
  138. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  139. +    ac_prev=datadir ;;
  140. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  141. +  | --da=*)
  142. +    datadir="$ac_optarg" ;;
  143. +
  144.    -disable-* | --disable-*)
  145.      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  146.      # Reject names that are not valid shell variable names.
  147. @@ -124,12 +151,32 @@ Configuration:
  148.  Directory and file names:
  149.    --prefix=PREFIX         install architecture-independent files in PREFIX
  150.                            [$ac_default_prefix]
  151. -  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
  152. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  153.                            [same as prefix]
  154. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  155. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  156. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  157. +  --datadir=DIR           read-only architecture-independent data in DIR
  158. +                          [PREFIX/share]
  159. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  160. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  161. +                          [PREFIX/com]
  162. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  163. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  164. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  165. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  166. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  167. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  168. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  169. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  170. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  171.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  172.    --program-prefix=PREFIX prepend PREFIX to installed program names
  173.    --program-suffix=SUFFIX append SUFFIX to installed program names
  174. -  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  175. +  --program-transform-name=PROGRAM
  176. +                          run sed PROGRAM on installed program names
  177. +EOF
  178. +    cat << EOF
  179.  Host type:
  180.    --build=BUILD           configure for building on BUILD [BUILD=HOST]
  181.    --host=HOST             configure for HOST [guessed]
  182. @@ -141,8 +188,10 @@ Features and packages:
  183.    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  184.    --x-includes=DIR        X include files are in DIR
  185.    --x-libraries=DIR       X library files are in DIR
  186. ---enable and --with options recognized:$ac_help
  187.  EOF
  188. +    if test -n "$ac_help"; then
  189. +      echo "--enable and --with options recognized:$ac_help"
  190. +    fi
  191.      exit 0 ;;
  192.  
  193.    -host | --host | --hos | --ho)
  194. @@ -150,6 +199,56 @@ EOF
  195.    -host=* | --host=* | --hos=* | --ho=*)
  196.      host="$ac_optarg" ;;
  197.  
  198. +  -includedir | --includedir | --includedi | --included | --include \
  199. +  | --includ | --inclu | --incl | --inc)
  200. +    ac_prev=includedir ;;
  201. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  202. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  203. +    includedir="$ac_optarg" ;;
  204. +
  205. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  206. +    ac_prev=infodir ;;
  207. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  208. +    infodir="$ac_optarg" ;;
  209. +
  210. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  211. +   ac_prev=guidedir ;;
  212. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  213. +
  214. + -psdir | --psdir | --psdi | --psd | --ps)
  215. +   ac_prev=psdir ;;
  216. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  217. +
  218. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  219. +   ac_prev=dvidir ;;
  220. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  221. +
  222. +  -libdir | --libdir | --libdi | --libd)
  223. +    ac_prev=libdir ;;
  224. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  225. +    libdir="$ac_optarg" ;;
  226. +
  227. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  228. +  | --libexe | --libex | --libe)
  229. +    ac_prev=libexecdir ;;
  230. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  231. +  | --libexe=* | --libex=* | --libe=*)
  232. +    libexecdir="$ac_optarg" ;;
  233. +
  234. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  235. +  | --localstate | --localstat | --localsta | --localst \
  236. +  | --locals | --local | --loca | --loc | --lo)
  237. +    ac_prev=localstatedir ;;
  238. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  239. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  240. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  241. +    localstatedir="$ac_optarg" ;;
  242. +
  243. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  244. +    ac_prev=mandir ;;
  245. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  246. +    mandir="$ac_optarg" ;;
  247. +
  248.    -nfp | --nfp | --nf)
  249.      # Obsolete; use --without-fp.
  250.      with_fp=no ;;
  251. @@ -162,6 +261,15 @@ EOF
  252.    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  253.      no_recursion=yes ;;
  254.  
  255. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  256. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  257. +  | --oldin | --oldi | --old | --ol | --o)
  258. +    ac_prev=oldincludedir ;;
  259. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  260. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  261. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  262. +    oldincludedir="$ac_optarg" ;;
  263. +
  264.    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  265.      ac_prev=prefix ;;
  266.    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  267. @@ -202,6 +310,23 @@ EOF
  268.    | -silent | --silent | --silen | --sile | --sil)
  269.      silent=yes ;;
  270.  
  271. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  272. +    ac_prev=sbindir ;;
  273. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  274. +  | --sbi=* | --sb=*)
  275. +    sbindir="$ac_optarg" ;;
  276. +
  277. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  278. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  279. +  | --sharedst | --shareds | --shared | --share | --shar \
  280. +  | --sha | --sh)
  281. +    ac_prev=sharedstatedir ;;
  282. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  283. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  284. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  285. +  | --sha=* | --sh=*)
  286. +    sharedstatedir="$ac_optarg" ;;
  287. +
  288.    -site | --site | --sit)
  289.      ac_prev=site ;;
  290.    -site=* | --site=* | --sit=*)
  291. @@ -212,6 +337,13 @@ EOF
  292.    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  293.      srcdir="$ac_optarg" ;;
  294.  
  295. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  296. +  | --syscon | --sysco | --sysc | --sys | --sy)
  297. +    ac_prev=sysconfdir ;;
  298. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  299. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  300. +    sysconfdir="$ac_optarg" ;;
  301. +
  302.    -target | --target | --targe | --targ | --tar | --ta | --t)
  303.      ac_prev=target ;;
  304.    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  305. @@ -221,7 +353,7 @@ EOF
  306.      verbose=yes ;;
  307.  
  308.    -version | --version | --versio | --versi | --vers)
  309. -    echo "configure generated by autoconf version 2.1"
  310. +    echo "configure generated by autoconf version 2.10"
  311.      exit 0 ;;
  312.  
  313.    -with-* | --with-*)
  314. @@ -267,7 +399,7 @@ EOF
  315.    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  316.      ;;
  317.  
  318. -  *) 
  319. +  *)
  320.      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  321.        echo "configure: warning: $ac_option: invalid host type" 1>&2
  322.      fi
  323. @@ -284,19 +416,20 @@ if test -n "$ac_prev"; then
  324.    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  325.  fi
  326.  
  327. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  328. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  329.  
  330.  # File descriptor usage:
  331. -# 0 unused; standard input
  332. +# 0 standard input
  333.  # 1 file creation
  334.  # 2 errors and warnings
  335. -# 3 unused; some systems may open it to /dev/tty
  336. -# 4 checking for... messages and results
  337. +# 3 some systems may open it to /dev/tty
  338. +# 4 used on the Kubota Titan
  339. +# 6 checking for... messages and results
  340.  # 5 compiler messages saved in config.log
  341.  if test "$silent" = yes; then
  342. -  exec 4>/dev/null
  343. +  exec 6>/dev/null
  344.  else
  345. -  exec 4>&1
  346. +  exec 6>&1
  347.  fi
  348.  exec 5>./config.log
  349.  
  350. @@ -386,8 +519,8 @@ fi
  351.  ac_ext=c
  352.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  353.  ac_cpp='$CPP $CPPFLAGS'
  354. -ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  355. -ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  356. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  357. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  358.  
  359.  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  360.    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  361. @@ -406,8 +539,10 @@ fi
  362.  if test "$program_transform_name" = s,x,x,; then
  363.    program_transform_name=
  364.  else
  365. -  # Double any \ or $.
  366. -  echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  367. +  # Double any \ or $.  echo might interpret backslashes.
  368. +  cat <<\EOF_SED > conftestsed
  369. +s,\\,\\\\,g; s,\$,$$,g
  370. +EOF_SED
  371.    program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  372.    rm -f conftestsed
  373.  fi
  374. @@ -438,9 +573,9 @@ for ac_prog in mawk gawk nawk awk
  375.  do
  376.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  377.  set dummy $ac_prog; ac_word=$2
  378. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  379. -if eval "test \"`echo '${'ac_cv_prog_AWK'+set}'`\" = set"; then
  380. -  echo $ac_n "(cached) $ac_c" 1>&4
  381. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  382. +if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  383. +  echo $ac_n "(cached) $ac_c" 1>&6
  384.  else
  385.    if test -n "$AWK"; then
  386.    ac_cv_prog_AWK="$AWK" # Let the user override the test.
  387. @@ -458,9 +593,9 @@ fi
  388.  fi
  389.  AWK="$ac_cv_prog_AWK"
  390.  if test -n "$AWK"; then
  391. -  echo "$ac_t""$AWK" 1>&4
  392. +  echo "$ac_t""$AWK" 1>&6
  393.  else
  394. -  echo "$ac_t""no" 1>&4
  395. +  echo "$ac_t""no" 1>&6
  396.  fi
  397.  
  398.  test -n "$AWK" && break
  399. @@ -468,9 +603,9 @@ done
  400.  
  401.  # Extract the first word of "gcc", so it can be a program name with args.
  402.  set dummy gcc; ac_word=$2
  403. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  404. -if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  405. -  echo $ac_n "(cached) $ac_c" 1>&4
  406. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  407. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  408. +  echo $ac_n "(cached) $ac_c" 1>&6
  409.  else
  410.    if test -n "$CC"; then
  411.    ac_cv_prog_CC="$CC" # Let the user override the test.
  412. @@ -484,39 +619,88 @@ else
  413.      fi
  414.    done
  415.    IFS="$ac_save_ifs"
  416. -  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
  417.  fi
  418.  fi
  419.  CC="$ac_cv_prog_CC"
  420.  if test -n "$CC"; then
  421. -  echo "$ac_t""$CC" 1>&4
  422. +  echo "$ac_t""$CC" 1>&6
  423. +else
  424. +  echo "$ac_t""no" 1>&6
  425. +fi
  426. +
  427. +if test -z "$CC"; then
  428. +  # Extract the first word of "cc", so it can be a program name with args.
  429. +set dummy cc; ac_word=$2
  430. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  431. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  432. +  echo $ac_n "(cached) $ac_c" 1>&6
  433. +else
  434. +  if test -n "$CC"; then
  435. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  436. +else
  437. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  438. +  ac_prog_rejected=no
  439. +  for ac_dir in $PATH; do
  440. +    test -z "$ac_dir" && ac_dir=.
  441. +    if test -f $ac_dir/$ac_word; then
  442. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  443. +        ac_prog_rejected=yes
  444. +    continue
  445. +      fi
  446. +      ac_cv_prog_CC="cc"
  447. +      break
  448. +    fi
  449. +  done
  450. +  IFS="$ac_save_ifs"
  451. +if test $ac_prog_rejected = yes; then
  452. +  # We found a bogon in the path, so make sure we never use it.
  453. +  set dummy $ac_cv_prog_CC
  454. +  shift
  455. +  if test $# -gt 0; then
  456. +    # We chose a different compiler from the bogus one.
  457. +    # However, it has the same basename, so the bogon will be chosen
  458. +    # first if we set CC to just the basename; use the full file name.
  459. +    shift
  460. +    set dummy "$ac_dir/$ac_word" "$@"
  461. +    shift
  462. +    ac_cv_prog_CC="$@"
  463. +  fi
  464. +fi
  465. +fi
  466. +fi
  467. +CC="$ac_cv_prog_CC"
  468. +if test -n "$CC"; then
  469. +  echo "$ac_t""$CC" 1>&6
  470.  else
  471. -  echo "$ac_t""no" 1>&4
  472. +  echo "$ac_t""no" 1>&6
  473.  fi
  474.  
  475. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  476. +fi
  477.  
  478. -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  479. -if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  480. -  echo $ac_n "(cached) $ac_c" 1>&4
  481. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  482. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  483. +  echo $ac_n "(cached) $ac_c" 1>&6
  484.  else
  485.    cat > conftest.c <<EOF
  486.  #ifdef __GNUC__
  487.    yes;
  488.  #endif
  489.  EOF
  490. -if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  491. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  492.    ac_cv_prog_gcc=yes
  493.  else
  494.    ac_cv_prog_gcc=no
  495.  fi
  496.  fi
  497. -echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  498. +
  499. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  500.  if test $ac_cv_prog_gcc = yes; then
  501.    GCC=yes
  502.    if test "${CFLAGS+set}" != set; then
  503. -    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  504. -if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  505. -  echo $ac_n "(cached) $ac_c" 1>&4
  506. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  507. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  508. +  echo $ac_n "(cached) $ac_c" 1>&6
  509.  else
  510.    echo 'void f(){}' > conftest.c
  511.  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  512. @@ -527,11 +711,12 @@ fi
  513.  rm -f conftest*
  514.  
  515.  fi
  516. -    echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  517. +
  518. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  519.      if test $ac_cv_prog_gcc_g = yes; then
  520. -      CFLAGS="-g -O"
  521. +      CFLAGS="-g -O2"
  522.      else
  523. -      CFLAGS="-O"
  524. +      CFLAGS="-O2"
  525.      fi
  526.    fi
  527.  else
  528. @@ -565,18 +750,20 @@ ac_configure=$ac_aux_dir/configure # Thi
  529.  # SunOS /usr/etc/install
  530.  # IRIX /sbin/install
  531.  # AIX /bin/install
  532. +# AmigaOS /c/install
  533.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  534.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  535.  # ./install, which can be erroneously created by make from ./install.sh.
  536. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  537. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  538.  if test -z "$INSTALL"; then
  539. -if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  540. -  echo $ac_n "(cached) $ac_c" 1>&4
  541. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  542. +  echo $ac_n "(cached) $ac_c" 1>&6
  543.  else
  544.      IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  545.    for ac_dir in $PATH; do
  546. -    case "$ac_dir" in
  547. -    ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  548. +    # Account for people who put trailing slashes in PATH elements.
  549. +    case "$ac_dir/" in
  550. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  551.      *)
  552.        # OSF1 and SCO ODT 3.0 have their own names for install.
  553.        for ac_prog in ginstall installbsd scoinst install; do
  554. @@ -596,12 +783,19 @@ else
  555.      esac
  556.    done
  557.    IFS="$ac_save_ifs"
  558. -  # As a last resort, use the slow shell script.
  559. -  test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
  560. +
  561.  fi
  562. -  INSTALL="$ac_cv_path_install"
  563. +  if test "${ac_cv_path_install+set}" = set; then
  564. +    INSTALL="$ac_cv_path_install"
  565. +  else
  566. +    # As a last resort, use the slow shell script.  We don't cache a
  567. +    # path for INSTALL within a source directory, because that will
  568. +    # break other packages using the cache if that directory is
  569. +    # removed, or if the path is relative.
  570. +    INSTALL="$ac_install_sh"
  571. +  fi
  572.  fi
  573. -echo "$ac_t""$INSTALL" 1>&4
  574. +echo "$ac_t""$INSTALL" 1>&6
  575.  
  576.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  577.  # It thinks the first close brace ends the variable substitution.
  578. @@ -609,10 +803,10 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR
  579.  
  580.  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  581.  
  582. -echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  583. +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  584.  set dummy ${MAKE-make}; ac_make=$2
  585. -if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  586. -  echo $ac_n "(cached) $ac_c" 1>&4
  587. +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  588. +  echo $ac_n "(cached) $ac_c" 1>&6
  589.  else
  590.    cat > conftestmake <<\EOF
  591.  all:
  592. @@ -628,18 +822,18 @@ fi
  593.  rm -f conftestmake
  594.  fi
  595.  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  596. -  echo "$ac_t""yes" 1>&4
  597. +  echo "$ac_t""yes" 1>&6
  598.    SET_MAKE=
  599.  else
  600. -  echo "$ac_t""no" 1>&4
  601. +  echo "$ac_t""no" 1>&6
  602.    SET_MAKE="MAKE=${MAKE-make}"
  603.  fi
  604.  
  605.  # Extract the first word of "ranlib", so it can be a program name with args.
  606.  set dummy ranlib; ac_word=$2
  607. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  608. -if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  609. -  echo $ac_n "(cached) $ac_c" 1>&4
  610. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  611. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  612. +  echo $ac_n "(cached) $ac_c" 1>&6
  613.  else
  614.    if test -n "$RANLIB"; then
  615.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  616. @@ -658,20 +852,20 @@ fi
  617.  fi
  618.  RANLIB="$ac_cv_prog_RANLIB"
  619.  if test -n "$RANLIB"; then
  620. -  echo "$ac_t""$RANLIB" 1>&4
  621. +  echo "$ac_t""$RANLIB" 1>&6
  622.  else
  623. -  echo "$ac_t""no" 1>&4
  624. +  echo "$ac_t""no" 1>&6
  625.  fi
  626.  
  627.  
  628. -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  629. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  630.  # On Suns, sometimes $CPP names a directory.
  631.  if test -n "$CPP" && test -d "$CPP"; then
  632.    CPP=
  633.  fi
  634.  if test -z "$CPP"; then
  635. -if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  636. -  echo $ac_n "(cached) $ac_c" 1>&4
  637. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  638. +  echo $ac_n "(cached) $ac_c" 1>&6
  639.  else
  640.      # This must be in double quotes, not single quotes, because CPP may get
  641.    # substituted into the Makefile and "${CC-cc}" will confuse make.
  642. @@ -679,12 +873,13 @@ else
  643.    # On the NeXT, cc -E runs the code through the compiler's parser,
  644.    # not just through cpp.
  645.    cat > conftest.$ac_ext <<EOF
  646. -#line 683 "configure"
  647. +#line 877 "configure"
  648.  #include "confdefs.h"
  649.  #include <assert.h>
  650.  Syntax Error
  651.  EOF
  652. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  653. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  654. +{ (eval echo configure:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  655.  ac_err=`grep -v '^ *+' conftest.out`
  656.  if test -z "$ac_err"; then
  657.    :
  658. @@ -693,12 +888,13 @@ else
  659.    rm -rf conftest*
  660.    CPP="${CC-cc} -E -traditional-cpp"
  661.    cat > conftest.$ac_ext <<EOF
  662. -#line 697 "configure"
  663. +#line 892 "configure"
  664.  #include "confdefs.h"
  665.  #include <assert.h>
  666.  Syntax Error
  667.  EOF
  668. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  669. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  670. +{ (eval echo configure:898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  671.  ac_err=`grep -v '^ *+' conftest.out`
  672.  if test -z "$ac_err"; then
  673.    :
  674. @@ -712,13 +908,15 @@ fi
  675.  rm -f conftest*
  676.    ac_cv_prog_CPP="$CPP"
  677.  fi
  678. +  CPP="$ac_cv_prog_CPP"
  679. +else
  680. +  ac_cv_prog_CPP="$CPP"
  681.  fi
  682. -CPP="$ac_cv_prog_CPP"
  683. -echo "$ac_t""$CPP" 1>&4
  684. +echo "$ac_t""$CPP" 1>&6
  685.  
  686. -echo $ac_n "checking for AIX""... $ac_c" 1>&4
  687. +echo $ac_n "checking for AIX""... $ac_c" 1>&6
  688.  cat > conftest.$ac_ext <<EOF
  689. -#line 722 "configure"
  690. +#line 920 "configure"
  691.  #include "confdefs.h"
  692.  #ifdef _AIX
  693.    yes
  694. @@ -728,22 +926,22 @@ EOF
  695.  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  696.    egrep "yes" >/dev/null 2>&1; then
  697.    rm -rf conftest*
  698. -  echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  699. +  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  700.  #define _ALL_SOURCE 1
  701.  EOF
  702.  
  703.  else
  704.    rm -rf conftest*
  705. -  echo "$ac_t""no" 1>&4
  706. +  echo "$ac_t""no" 1>&6
  707.  fi
  708.  rm -f conftest*
  709.  
  710.  
  711. -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  712. +echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
  713.  if test -d /etc/conf/kconfig.d &&
  714.    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  715.  then
  716. -  echo "$ac_t""yes" 1>&4
  717. +  echo "$ac_t""yes" 1>&6
  718.    ISC=yes # If later tests want to check for ISC.
  719.    cat >> confdefs.h <<\EOF
  720.  #define _POSIX_SOURCE 1
  721. @@ -755,21 +953,22 @@ EOF
  722.      CC="$CC -Xp"
  723.    fi
  724.  else
  725. -  echo "$ac_t""no" 1>&4
  726. +  echo "$ac_t""no" 1>&6
  727.    ISC=
  728.  fi
  729.  
  730.  ac_safe=`echo "minix/config.h" | tr './\055' '___'`
  731. -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  732. -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  733. -  echo $ac_n "(cached) $ac_c" 1>&4
  734. +echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
  735. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  736. +  echo $ac_n "(cached) $ac_c" 1>&6
  737.  else
  738.    cat > conftest.$ac_ext <<EOF
  739. -#line 769 "configure"
  740. +#line 967 "configure"
  741.  #include "confdefs.h"
  742.  #include <minix/config.h>
  743.  EOF
  744. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  745. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  746. +{ (eval echo configure:972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  747.  ac_err=`grep -v '^ *+' conftest.out`
  748.  if test -z "$ac_err"; then
  749.    rm -rf conftest*
  750. @@ -782,10 +981,10 @@ fi
  751.  rm -f conftest*
  752.  fi
  753.  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  754. -  echo "$ac_t""yes" 1>&4
  755. +  echo "$ac_t""yes" 1>&6
  756.    MINIX=yes
  757.  else
  758. -  echo "$ac_t""no" 1>&4
  759. +  echo "$ac_t""no" 1>&6
  760.  MINIX=
  761.  fi
  762.  
  763. @@ -804,9 +1003,9 @@ EOF
  764.  
  765.  fi
  766.  
  767. -echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&4
  768. -if eval "test \"`echo '${'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
  769. -  echo $ac_n "(cached) $ac_c" 1>&4
  770. +echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
  771. +if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
  772. +  echo $ac_n "(cached) $ac_c" 1>&6
  773.  else
  774.    ac_cv_prog_cc_stdc=no
  775.  ac_save_CFLAGS="$CFLAGS"
  776. @@ -820,7 +1019,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 "-
  777.  do
  778.    CFLAGS="$ac_save_CFLAGS $ac_arg"
  779.    cat > conftest.$ac_ext <<EOF
  780. -#line 824 "configure"
  781. +#line 1023 "configure"
  782.  #include "confdefs.h"
  783.  #if !defined(__STDC__) || __STDC__ != 1
  784.  choke me
  785. @@ -833,7 +1032,7 @@ struct s1 {int (*f) (int a);};
  786.  struct s2 {int (*f) (double a);};
  787.  ; return 0; }
  788.  EOF
  789. -if eval $ac_compile; then
  790. +if { (eval echo configure:1036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  791.    rm -rf conftest*
  792.    ac_cv_prog_cc_stdc="$ac_arg"; break
  793.  fi
  794. @@ -844,32 +1043,32 @@ CFLAGS="$ac_save_CFLAGS"
  795.  
  796.  fi
  797.  
  798. -echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&4
  799. +echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6
  800.  case "x$ac_cv_prog_cc_stdc" in
  801.    x|xno) ;;
  802.    *) CC="$CC $ac_cv_prog_cc_stdc" ;;
  803.  esac
  804.  
  805.  
  806. -echo $ac_n "checking for function prototypes""... $ac_c" 1>&4
  807. +echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
  808.  if test "$ac_cv_prog_cc_stdc" != no; then
  809. -  echo "$ac_t""yes" 1>&4
  810. +  echo "$ac_t""yes" 1>&6
  811.    cat >> confdefs.h <<\EOF
  812.  #define PROTOTYPES 1
  813.  EOF
  814.  
  815.    U= ANSI2KNR=
  816.  else
  817. -  echo "$ac_t""no" 1>&4
  818. +  echo "$ac_t""no" 1>&6
  819.    U=_ ANSI2KNR=ansi2knr
  820.  fi
  821.  
  822. -echo $ac_n "checking for working const""... $ac_c" 1>&4
  823. -if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  824. -  echo $ac_n "(cached) $ac_c" 1>&4
  825. +echo $ac_n "checking for working const""... $ac_c" 1>&6
  826. +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  827. +  echo $ac_n "(cached) $ac_c" 1>&6
  828.  else
  829.    cat > conftest.$ac_ext <<EOF
  830. -#line 873 "configure"
  831. +#line 1072 "configure"
  832.  #include "confdefs.h"
  833.  
  834.  int main() { return 0; }
  835. @@ -882,7 +1081,7 @@ char const *const *ccp;
  836.  char **p;
  837.  /* NEC SVR4.0.2 mips cc rejects this.  */
  838.  struct point {int x, y;};
  839. -static struct point const zero;
  840. +static struct point const zero = {0,0};
  841.  /* AIX XL C 1.02.0.0 rejects this.
  842.     It does not let you subtract one const X* pointer from another in an arm
  843.     of an if-expression whose if-part is not a constant expression */
  844. @@ -919,7 +1118,7 @@ ccp = (char const *const *) p;
  845.  
  846.  ; return 0; }
  847.  EOF
  848. -if eval $ac_compile; then
  849. +if { (eval echo configure:1122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  850.    rm -rf conftest*
  851.    ac_cv_c_const=yes
  852.  else
  853. @@ -929,7 +1128,8 @@ fi
  854.  rm -f conftest*
  855.  
  856.  fi
  857. -echo "$ac_t""$ac_cv_c_const" 1>&4
  858. +
  859. +echo "$ac_t""$ac_cv_c_const" 1>&6
  860.  if test $ac_cv_c_const = no; then
  861.    cat >> confdefs.h <<\EOF
  862.  #define const 
  863. @@ -941,16 +1141,17 @@ fi
  864.  for ac_hdr in limits.h memory.h siginfo.h string.h unistd.h
  865.  do
  866.  ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  867. -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  868. -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  869. -  echo $ac_n "(cached) $ac_c" 1>&4
  870. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  871. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  872. +  echo $ac_n "(cached) $ac_c" 1>&6
  873.  else
  874.    cat > conftest.$ac_ext <<EOF
  875. -#line 950 "configure"
  876. +#line 1150 "configure"
  877.  #include "confdefs.h"
  878.  #include <$ac_hdr>
  879.  EOF
  880. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  881. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  882. +{ (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  883.  ac_err=`grep -v '^ *+' conftest.out`
  884.  if test -z "$ac_err"; then
  885.    rm -rf conftest*
  886. @@ -963,31 +1164,31 @@ fi
  887.  rm -f conftest*
  888.  fi
  889.  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  890. -  echo "$ac_t""yes" 1>&4
  891. -    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  892. +  echo "$ac_t""yes" 1>&6
  893. +    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  894.    cat >> confdefs.h <<EOF
  895.  #define $ac_tr_hdr 1
  896.  EOF
  897.   
  898.  else
  899. -  echo "$ac_t""no" 1>&4
  900. +  echo "$ac_t""no" 1>&6
  901.  fi
  902.  done
  903.  
  904.  # If we cannot run a trivial program, we must be cross compiling.
  905. -echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  906. -if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  907. -  echo $ac_n "(cached) $ac_c" 1>&4
  908. +echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
  909. +if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
  910. +  echo $ac_n "(cached) $ac_c" 1>&6
  911.  else
  912.    if test "$cross_compiling" = yes; then
  913. -  ac_cv_cross=yes
  914. +  ac_cv_c_cross=yes
  915.  else
  916.  cat > conftest.$ac_ext <<EOF
  917. -#line 987 "configure"
  918. +#line 1188 "configure"
  919.  #include "confdefs.h"
  920.  main(){return(0);}
  921.  EOF
  922. -eval $ac_link
  923. +{ (eval echo configure:1192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  924.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  925.    ac_cv_c_cross=no
  926.  else
  927. @@ -996,22 +1197,24 @@ fi
  928.  fi
  929.  rm -fr conftest*
  930.  fi
  931. +
  932. +echo "$ac_t""$ac_cv_c_cross" 1>&6
  933.  cross_compiling=$ac_cv_c_cross
  934. -echo "$ac_t""$ac_cv_c_cross" 1>&4
  935.  
  936. -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  937. -if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  938. -  echo $ac_n "(cached) $ac_c" 1>&4
  939. +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  940. +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  941. +  echo $ac_n "(cached) $ac_c" 1>&6
  942.  else
  943.    cat > conftest.$ac_ext <<EOF
  944. -#line 1008 "configure"
  945. +#line 1210 "configure"
  946.  #include "confdefs.h"
  947.  #include <stdlib.h>
  948.  #include <stdarg.h>
  949.  #include <string.h>
  950.  #include <float.h>
  951.  EOF
  952. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  953. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  954. +{ (eval echo configure:1218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  955.  ac_err=`grep -v '^ *+' conftest.out`
  956.  if test -z "$ac_err"; then
  957.    rm -rf conftest*
  958. @@ -1026,7 +1229,7 @@ rm -f conftest*
  959.  if test $ac_cv_header_stdc = yes; then
  960.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  961.  cat > conftest.$ac_ext <<EOF
  962. -#line 1030 "configure"
  963. +#line 1233 "configure"
  964.  #include "confdefs.h"
  965.  #include <string.h>
  966.  EOF
  967. @@ -1044,7 +1247,7 @@ fi
  968.  if test $ac_cv_header_stdc = yes; then
  969.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  970.  cat > conftest.$ac_ext <<EOF
  971. -#line 1048 "configure"
  972. +#line 1251 "configure"
  973.  #include "confdefs.h"
  974.  #include <stdlib.h>
  975.  EOF
  976. @@ -1062,10 +1265,10 @@ fi
  977.  if test $ac_cv_header_stdc = yes; then
  978.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  979.  if test "$cross_compiling" = yes; then
  980. -  ac_cv_header_stdc=no
  981. +  :
  982.  else
  983.  cat > conftest.$ac_ext <<EOF
  984. -#line 1069 "configure"
  985. +#line 1272 "configure"
  986.  #include "confdefs.h"
  987.  #include <ctype.h>
  988.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  989. @@ -1076,7 +1279,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  990.  exit (0); }
  991.  
  992.  EOF
  993. -eval $ac_link
  994. +{ (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  995.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  996.    :
  997.  else
  998. @@ -1086,7 +1289,8 @@ fi
  999.  rm -fr conftest*
  1000.  fi
  1001.  fi
  1002. -echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1003. +
  1004. +echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1005.  if test $ac_cv_header_stdc = yes; then
  1006.    cat >> confdefs.h <<\EOF
  1007.  #define STDC_HEADERS 1
  1008. @@ -1094,25 +1298,30 @@ EOF
  1009.  
  1010.  fi
  1011.  
  1012. -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
  1013. -if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then
  1014. -  echo $ac_n "(cached) $ac_c" 1>&4
  1015. +echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
  1016. +if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  1017. +  echo $ac_n "(cached) $ac_c" 1>&6
  1018.  else
  1019.    cat > conftest.$ac_ext <<EOF
  1020. -#line 1103 "configure"
  1021. +#line 1307 "configure"
  1022.  #include "confdefs.h"
  1023.  #include <sys/types.h>
  1024.  #include <signal.h>
  1025.  #ifdef signal
  1026.  #undef signal
  1027.  #endif
  1028. -extern void (*signal ()) ();
  1029. +#ifdef __cplusplus
  1030. +extern "C" void (*signal (int, void (*)(int)))(int);
  1031. +#else
  1032. +void (*signal ()) ();
  1033. +#endif
  1034. +
  1035.  int main() { return 0; }
  1036.  int t() {
  1037.  int i;
  1038.  ; return 0; }
  1039.  EOF
  1040. -if eval $ac_compile; then
  1041. +if { (eval echo configure:1325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1042.    rm -rf conftest*
  1043.    ac_cv_type_signal=void
  1044.  else
  1045. @@ -1122,18 +1331,19 @@ fi
  1046.  rm -f conftest*
  1047.  
  1048.  fi
  1049. -echo "$ac_t""$ac_cv_type_signal" 1>&4
  1050. +
  1051. +echo "$ac_t""$ac_cv_type_signal" 1>&6
  1052.  cat >> confdefs.h <<EOF
  1053.  #define RETSIGTYPE $ac_cv_type_signal
  1054.  EOF
  1055.  
  1056.  
  1057. -echo $ac_n "checking for size_t""... $ac_c" 1>&4
  1058. -if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  1059. -  echo $ac_n "(cached) $ac_c" 1>&4
  1060. +echo $ac_n "checking for size_t""... $ac_c" 1>&6
  1061. +if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  1062. +  echo $ac_n "(cached) $ac_c" 1>&6
  1063.  else
  1064.    cat > conftest.$ac_ext <<EOF
  1065. -#line 1137 "configure"
  1066. +#line 1347 "configure"
  1067.  #include "confdefs.h"
  1068.  #include <sys/types.h>
  1069.  #if STDC_HEADERS
  1070. @@ -1151,7 +1361,7 @@ fi
  1071.  rm -f conftest*
  1072.  
  1073.  fi
  1074. -echo "$ac_t""$ac_cv_type_size_t" 1>&4
  1075. +echo "$ac_t""$ac_cv_type_size_t" 1>&6
  1076.  if test $ac_cv_type_size_t = no; then
  1077.    cat >> confdefs.h <<\EOF
  1078.  #define size_t unsigned
  1079. @@ -1162,18 +1372,22 @@ fi
  1080.  
  1081.  for ac_func in mkstemp sigaction sigaltstack sigstack sigvec strerror tmpfile
  1082.  do
  1083. -echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1084. -if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1085. -  echo $ac_n "(cached) $ac_c" 1>&4
  1086. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1087. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1088. +  echo $ac_n "(cached) $ac_c" 1>&6
  1089.  else
  1090.    cat > conftest.$ac_ext <<EOF
  1091. -#line 1171 "configure"
  1092. +#line 1381 "configure"
  1093.  #include "confdefs.h"
  1094. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1095. +/* System header to define __stub macros and hopefully few prototypes,
  1096. +    which can conflict with char $ac_func(); below.  */
  1097. +#include <assert.h>
  1098.  /* Override any gcc2 internal prototype to avoid an error.  */
  1099. -char $ac_func(); 
  1100. +/* We use char because int might match the return type of a gcc2
  1101. +    builtin and then its argument prototype would still apply.  */
  1102. +char $ac_func();
  1103.  
  1104. -int main() { return 0; }
  1105. +int main() { t(); return 0; }
  1106.  int t() {
  1107.  
  1108.  /* The GNU C library defines this for functions which it implements
  1109. @@ -1187,7 +1401,7 @@ $ac_func();
  1110.  
  1111.  ; return 0; }
  1112.  EOF
  1113. -if eval $ac_link; then
  1114. +if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1115.    rm -rf conftest*
  1116.    eval "ac_cv_func_$ac_func=yes"
  1117.  else
  1118. @@ -1198,33 +1412,33 @@ rm -f conftest*
  1119.  
  1120.  fi
  1121.  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1122. -  echo "$ac_t""yes" 1>&4
  1123. -    ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1124. +  echo "$ac_t""yes" 1>&6
  1125. +    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1126.    cat >> confdefs.h <<EOF
  1127.  #define $ac_tr_func 1
  1128.  EOF
  1129.   
  1130.  else
  1131. -  echo "$ac_t""no" 1>&4
  1132. +  echo "$ac_t""no" 1>&6
  1133.  fi
  1134.  done
  1135.  
  1136.  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1137.  # for constant arguments.  Useless!
  1138. -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  1139. -if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1140. -  echo $ac_n "(cached) $ac_c" 1>&4
  1141. +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  1142. +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1143. +  echo $ac_n "(cached) $ac_c" 1>&6
  1144.  else
  1145.    cat > conftest.$ac_ext <<EOF
  1146. -#line 1220 "configure"
  1147. +#line 1434 "configure"
  1148.  #include "confdefs.h"
  1149.  #include <alloca.h>
  1150. -int main() { return 0; }
  1151. +int main() { t(); return 0; }
  1152.  int t() {
  1153.  char *p = alloca(2 * sizeof(int));
  1154.  ; return 0; }
  1155.  EOF
  1156. -if eval $ac_link; then
  1157. +if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1158.    rm -rf conftest*
  1159.    ac_cv_header_alloca_h=yes
  1160.  else
  1161. @@ -1234,7 +1448,8 @@ fi
  1162.  rm -f conftest*
  1163.  
  1164.  fi
  1165. -echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  1166. +
  1167. +echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
  1168.  if test $ac_cv_header_alloca_h = yes; then
  1169.    cat >> confdefs.h <<\EOF
  1170.  #define HAVE_ALLOCA_H 1
  1171. @@ -1242,12 +1457,12 @@ EOF
  1172.  
  1173.  fi
  1174.  
  1175. -echo $ac_n "checking for alloca""... $ac_c" 1>&4
  1176. -if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  1177. -  echo $ac_n "(cached) $ac_c" 1>&4
  1178. +echo $ac_n "checking for alloca""... $ac_c" 1>&6
  1179. +if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
  1180. +  echo $ac_n "(cached) $ac_c" 1>&6
  1181.  else
  1182.    cat > conftest.$ac_ext <<EOF
  1183. -#line 1251 "configure"
  1184. +#line 1466 "configure"
  1185.  #include "confdefs.h"
  1186.  
  1187.  #ifdef __GNUC__
  1188. @@ -1266,12 +1481,12 @@ char *alloca ();
  1189.  # endif
  1190.  #endif
  1191.  
  1192. -int main() { return 0; }
  1193. +int main() { t(); return 0; }
  1194.  int t() {
  1195.  char *p = (char *) alloca(1);
  1196.  ; return 0; }
  1197.  EOF
  1198. -if eval $ac_link; then
  1199. +if { (eval echo configure:1490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1200.    rm -rf conftest*
  1201.    ac_cv_func_alloca=yes
  1202.  else
  1203. @@ -1281,7 +1496,8 @@ fi
  1204.  rm -f conftest*
  1205.  
  1206.  fi
  1207. -echo "$ac_t""$ac_cv_func_alloca" 1>&4
  1208. +
  1209. +echo "$ac_t""$ac_cv_func_alloca" 1>&6
  1210.  if test $ac_cv_func_alloca = yes; then
  1211.    cat >> confdefs.h <<\EOF
  1212.  #define HAVE_ALLOCA 1
  1213. @@ -1300,12 +1516,12 @@ if test $ac_cv_func_alloca = no; then
  1214.  EOF
  1215.  
  1216.  
  1217. -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  1218. -if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  1219. -  echo $ac_n "(cached) $ac_c" 1>&4
  1220. +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  1221. +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  1222. +  echo $ac_n "(cached) $ac_c" 1>&6
  1223.  else
  1224.    cat > conftest.$ac_ext <<EOF
  1225. -#line 1309 "configure"
  1226. +#line 1525 "configure"
  1227.  #include "confdefs.h"
  1228.  #if defined(CRAY) && ! defined(CRAY2)
  1229.  webecray
  1230. @@ -1325,154 +1541,72 @@ fi
  1231.  rm -f conftest*
  1232.  
  1233.  fi
  1234. -echo "$ac_t""$ac_cv_os_cray" 1>&4
  1235. -if test $ac_cv_os_cray = yes; then
  1236. -echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  1237. -if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  1238. -  echo $ac_n "(cached) $ac_c" 1>&4
  1239. -else
  1240. -  cat > conftest.$ac_ext <<EOF
  1241. -#line 1336 "configure"
  1242. -#include "confdefs.h"
  1243. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1244. -/* Override any gcc2 internal prototype to avoid an error.  */
  1245. -char _getb67(); 
  1246. -
  1247. -int main() { return 0; }
  1248. -int t() {
  1249.  
  1250. -/* The GNU C library defines this for functions which it implements
  1251. -    to always fail with ENOSYS.  Some functions are actually named
  1252. -    something starting with __ and the normal name is an alias.  */
  1253. -#if defined (__stub__getb67) || defined (__stub____getb67)
  1254. -choke me
  1255. -#else
  1256. -_getb67();
  1257. -#endif
  1258. -
  1259. -; return 0; }
  1260. -EOF
  1261. -if eval $ac_link; then
  1262. -  rm -rf conftest*
  1263. -  eval "ac_cv_func__getb67=yes"
  1264. -else
  1265. -  rm -rf conftest*
  1266. -  eval "ac_cv_func__getb67=no"
  1267. -fi
  1268. -rm -f conftest*
  1269. -
  1270. -fi
  1271. -if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  1272. -  echo "$ac_t""yes" 1>&4
  1273. -  cat >> confdefs.h <<\EOF
  1274. -#define CRAY_STACKSEG_END _getb67
  1275. -EOF
  1276. -
  1277. -else
  1278. -  echo "$ac_t""no" 1>&4
  1279. -echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  1280. -if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  1281. -  echo $ac_n "(cached) $ac_c" 1>&4
  1282. -else
  1283. -  cat > conftest.$ac_ext <<EOF
  1284. -#line 1379 "configure"
  1285. -#include "confdefs.h"
  1286. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1287. -/* Override any gcc2 internal prototype to avoid an error.  */
  1288. -char GETB67(); 
  1289. -
  1290. -int main() { return 0; }
  1291. -int t() {
  1292. -
  1293. -/* The GNU C library defines this for functions which it implements
  1294. -    to always fail with ENOSYS.  Some functions are actually named
  1295. -    something starting with __ and the normal name is an alias.  */
  1296. -#if defined (__stub_GETB67) || defined (__stub___GETB67)
  1297. -choke me
  1298. -#else
  1299. -GETB67();
  1300. -#endif
  1301. -
  1302. -; return 0; }
  1303. -EOF
  1304. -if eval $ac_link; then
  1305. -  rm -rf conftest*
  1306. -  eval "ac_cv_func_GETB67=yes"
  1307. -else
  1308. -  rm -rf conftest*
  1309. -  eval "ac_cv_func_GETB67=no"
  1310. -fi
  1311. -rm -f conftest*
  1312. -
  1313. -fi
  1314. -if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  1315. -  echo "$ac_t""yes" 1>&4
  1316. -  cat >> confdefs.h <<\EOF
  1317. -#define CRAY_STACKSEG_END GETB67
  1318. -EOF
  1319. -
  1320. -else
  1321. -  echo "$ac_t""no" 1>&4
  1322. -echo $ac_n "checking for getb67""... $ac_c" 1>&4
  1323. -if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  1324. -  echo $ac_n "(cached) $ac_c" 1>&4
  1325. +echo "$ac_t""$ac_cv_os_cray" 1>&6
  1326. +if test $ac_cv_os_cray = yes; then
  1327. +for ac_func in _getb67 GETB67 getb67; do
  1328. +  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1329. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1330. +  echo $ac_n "(cached) $ac_c" 1>&6
  1331.  else
  1332.    cat > conftest.$ac_ext <<EOF
  1333. -#line 1422 "configure"
  1334. +#line 1554 "configure"
  1335.  #include "confdefs.h"
  1336. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1337. +/* System header to define __stub macros and hopefully few prototypes,
  1338. +    which can conflict with char $ac_func(); below.  */
  1339. +#include <assert.h>
  1340.  /* Override any gcc2 internal prototype to avoid an error.  */
  1341. -char getb67(); 
  1342. +/* We use char because int might match the return type of a gcc2
  1343. +    builtin and then its argument prototype would still apply.  */
  1344. +char $ac_func();
  1345.  
  1346. -int main() { return 0; }
  1347. +int main() { t(); return 0; }
  1348.  int t() {
  1349.  
  1350.  /* The GNU C library defines this for functions which it implements
  1351.      to always fail with ENOSYS.  Some functions are actually named
  1352.      something starting with __ and the normal name is an alias.  */
  1353. -#if defined (__stub_getb67) || defined (__stub___getb67)
  1354. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1355.  choke me
  1356.  #else
  1357. -getb67();
  1358. +$ac_func();
  1359.  #endif
  1360.  
  1361.  ; return 0; }
  1362.  EOF
  1363. -if eval $ac_link; then
  1364. +if { (eval echo configure:1578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1365.    rm -rf conftest*
  1366. -  eval "ac_cv_func_getb67=yes"
  1367. +  eval "ac_cv_func_$ac_func=yes"
  1368.  else
  1369.    rm -rf conftest*
  1370. -  eval "ac_cv_func_getb67=no"
  1371. +  eval "ac_cv_func_$ac_func=no"
  1372.  fi
  1373.  rm -f conftest*
  1374.  
  1375.  fi
  1376. -if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  1377. -  echo "$ac_t""yes" 1>&4
  1378. -  cat >> confdefs.h <<\EOF
  1379. -#define CRAY_STACKSEG_END getb67
  1380. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1381. +  echo "$ac_t""yes" 1>&6
  1382. +  cat >> confdefs.h <<EOF
  1383. +#define CRAY_STACKSEG_END $ac_func
  1384.  EOF
  1385.  
  1386. +  break
  1387.  else
  1388. -  echo "$ac_t""no" 1>&4
  1389. -fi
  1390. -
  1391. -fi
  1392. -
  1393. +  echo "$ac_t""no" 1>&6
  1394.  fi
  1395.  
  1396. +done
  1397.  fi
  1398.  
  1399. -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  1400. -if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  1401. -  echo $ac_n "(cached) $ac_c" 1>&4
  1402. +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  1403. +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  1404. +  echo $ac_n "(cached) $ac_c" 1>&6
  1405.  else
  1406.    if test "$cross_compiling" = yes; then
  1407.    ac_cv_c_stack_direction=0
  1408.  else
  1409.  cat > conftest.$ac_ext <<EOF
  1410. -#line 1476 "configure"
  1411. +#line 1610 "configure"
  1412.  #include "confdefs.h"
  1413.  find_stack_direction ()
  1414.  {
  1415. @@ -1491,7 +1625,7 @@ main ()
  1416.    exit (find_stack_direction() < 0);
  1417.  }
  1418.  EOF
  1419. -eval $ac_link
  1420. +{ (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1421.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1422.    ac_cv_c_stack_direction=1
  1423.  else
  1424. @@ -1500,25 +1634,30 @@ fi
  1425.  fi
  1426.  rm -fr conftest*
  1427.  fi
  1428. -echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  1429. +
  1430. +echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
  1431.  cat >> confdefs.h <<EOF
  1432.  #define STACK_DIRECTION $ac_cv_c_stack_direction
  1433.  EOF
  1434.  
  1435.  fi
  1436.  
  1437. -echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  1438. -if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  1439. -  echo $ac_n "(cached) $ac_c" 1>&4
  1440. +echo $ac_n "checking for vprintf""... $ac_c" 1>&6
  1441. +if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
  1442. +  echo $ac_n "(cached) $ac_c" 1>&6
  1443.  else
  1444.    cat > conftest.$ac_ext <<EOF
  1445. -#line 1516 "configure"
  1446. +#line 1651 "configure"
  1447.  #include "confdefs.h"
  1448. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1449. +/* System header to define __stub macros and hopefully few prototypes,
  1450. +    which can conflict with char vprintf(); below.  */
  1451. +#include <assert.h>
  1452.  /* Override any gcc2 internal prototype to avoid an error.  */
  1453. -char vprintf(); 
  1454. +/* We use char because int might match the return type of a gcc2
  1455. +    builtin and then its argument prototype would still apply.  */
  1456. +char vprintf();
  1457.  
  1458. -int main() { return 0; }
  1459. +int main() { t(); return 0; }
  1460.  int t() {
  1461.  
  1462.  /* The GNU C library defines this for functions which it implements
  1463. @@ -1532,7 +1671,7 @@ vprintf();
  1464.  
  1465.  ; return 0; }
  1466.  EOF
  1467. -if eval $ac_link; then
  1468. +if { (eval echo configure:1675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1469.    rm -rf conftest*
  1470.    eval "ac_cv_func_vprintf=yes"
  1471.  else
  1472. @@ -1543,28 +1682,32 @@ rm -f conftest*
  1473.  
  1474.  fi
  1475.  if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  1476. -  echo "$ac_t""yes" 1>&4
  1477. +  echo "$ac_t""yes" 1>&6
  1478.    cat >> confdefs.h <<\EOF
  1479.  #define HAVE_VPRINTF 1
  1480.  EOF
  1481.  
  1482.  else
  1483. -  echo "$ac_t""no" 1>&4
  1484. +  echo "$ac_t""no" 1>&6
  1485.  fi
  1486.  
  1487.  if test "$ac_cv_func_vprintf" != yes; then
  1488. -echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  1489. -if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  1490. -  echo $ac_n "(cached) $ac_c" 1>&4
  1491. +echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
  1492. +if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
  1493. +  echo $ac_n "(cached) $ac_c" 1>&6
  1494.  else
  1495.    cat > conftest.$ac_ext <<EOF
  1496. -#line 1562 "configure"
  1497. +#line 1701 "configure"
  1498.  #include "confdefs.h"
  1499. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1500. +/* System header to define __stub macros and hopefully few prototypes,
  1501. +    which can conflict with char _doprnt(); below.  */
  1502. +#include <assert.h>
  1503.  /* Override any gcc2 internal prototype to avoid an error.  */
  1504. -char _doprnt(); 
  1505. +/* We use char because int might match the return type of a gcc2
  1506. +    builtin and then its argument prototype would still apply.  */
  1507. +char _doprnt();
  1508.  
  1509. -int main() { return 0; }
  1510. +int main() { t(); return 0; }
  1511.  int t() {
  1512.  
  1513.  /* The GNU C library defines this for functions which it implements
  1514. @@ -1578,7 +1721,7 @@ _doprnt();
  1515.  
  1516.  ; return 0; }
  1517.  EOF
  1518. -if eval $ac_link; then
  1519. +if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1520.    rm -rf conftest*
  1521.    eval "ac_cv_func__doprnt=yes"
  1522.  else
  1523. @@ -1589,31 +1732,35 @@ rm -f conftest*
  1524.  
  1525.  fi
  1526.  if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  1527. -  echo "$ac_t""yes" 1>&4
  1528. +  echo "$ac_t""yes" 1>&6
  1529.    cat >> confdefs.h <<\EOF
  1530.  #define HAVE_DOPRNT 1
  1531.  EOF
  1532.  
  1533.  else
  1534. -  echo "$ac_t""no" 1>&4
  1535. +  echo "$ac_t""no" 1>&6
  1536.  fi
  1537.  
  1538.  fi
  1539.  
  1540.  for ac_func in strtol
  1541.  do
  1542. -echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1543. -if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1544. -  echo $ac_n "(cached) $ac_c" 1>&4
  1545. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1546. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1547. +  echo $ac_n "(cached) $ac_c" 1>&6
  1548.  else
  1549.    cat > conftest.$ac_ext <<EOF
  1550. -#line 1611 "configure"
  1551. +#line 1754 "configure"
  1552.  #include "confdefs.h"
  1553. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1554. +/* System header to define __stub macros and hopefully few prototypes,
  1555. +    which can conflict with char $ac_func(); below.  */
  1556. +#include <assert.h>
  1557.  /* Override any gcc2 internal prototype to avoid an error.  */
  1558. -char $ac_func(); 
  1559. +/* We use char because int might match the return type of a gcc2
  1560. +    builtin and then its argument prototype would still apply.  */
  1561. +char $ac_func();
  1562.  
  1563. -int main() { return 0; }
  1564. +int main() { t(); return 0; }
  1565.  int t() {
  1566.  
  1567.  /* The GNU C library defines this for functions which it implements
  1568. @@ -1627,7 +1774,7 @@ $ac_func();
  1569.  
  1570.  ; return 0; }
  1571.  EOF
  1572. -if eval $ac_link; then
  1573. +if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1574.    rm -rf conftest*
  1575.    eval "ac_cv_func_$ac_func=yes"
  1576.  else
  1577. @@ -1638,44 +1785,48 @@ rm -f conftest*
  1578.  
  1579.  fi
  1580.  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1581. -  echo "$ac_t""yes" 1>&4
  1582. +  echo "$ac_t""yes" 1>&6
  1583.    :
  1584.  else
  1585. -  echo "$ac_t""no" 1>&4
  1586. +  echo "$ac_t""no" 1>&6
  1587.  LIBOBJS="$LIBOBJS ${ac_func}.o"
  1588.  fi
  1589.  
  1590.  done
  1591.  
  1592. -echo $ac_n "checking ecvt declaration""... $ac_c" 1>&4
  1593. +echo $ac_n "checking ecvt declaration""... $ac_c" 1>&6
  1594.  cat > conftest.$ac_ext <<EOF
  1595. -#line 1653 "configure"
  1596. +#line 1800 "configure"
  1597.  #include "confdefs.h"
  1598.  #include <stdlib.h>
  1599.  EOF
  1600.  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1601.    egrep "ecvt" >/dev/null 2>&1; then
  1602.    rm -rf conftest*
  1603. -  echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  1604. +  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  1605.  #define HAVE_EFGCVT 2
  1606.  EOF
  1607.  
  1608.  else
  1609.    rm -rf conftest*
  1610. -  echo "$ac_t""no" 1>&4; for ac_func in ecvt
  1611. +  echo "$ac_t""no" 1>&6; for ac_func in ecvt
  1612.  do
  1613. -echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1614. -if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1615. -  echo $ac_n "(cached) $ac_c" 1>&4
  1616. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1617. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1618. +  echo $ac_n "(cached) $ac_c" 1>&6
  1619.  else
  1620.    cat > conftest.$ac_ext <<EOF
  1621. -#line 1673 "configure"
  1622. +#line 1820 "configure"
  1623.  #include "confdefs.h"
  1624. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1625. +/* System header to define __stub macros and hopefully few prototypes,
  1626. +    which can conflict with char $ac_func(); below.  */
  1627. +#include <assert.h>
  1628.  /* Override any gcc2 internal prototype to avoid an error.  */
  1629. -char $ac_func(); 
  1630. +/* We use char because int might match the return type of a gcc2
  1631. +    builtin and then its argument prototype would still apply.  */
  1632. +char $ac_func();
  1633.  
  1634. -int main() { return 0; }
  1635. +int main() { t(); return 0; }
  1636.  int t() {
  1637.  
  1638.  /* The GNU C library defines this for functions which it implements
  1639. @@ -1689,7 +1840,7 @@ $ac_func();
  1640.  
  1641.  ; return 0; }
  1642.  EOF
  1643. -if eval $ac_link; then
  1644. +if { (eval echo configure:1844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1645.    rm -rf conftest*
  1646.    eval "ac_cv_func_$ac_func=yes"
  1647.  else
  1648. @@ -1700,14 +1851,14 @@ rm -f conftest*
  1649.  
  1650.  fi
  1651.  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1652. -  echo "$ac_t""yes" 1>&4
  1653. -    ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1654. +  echo "$ac_t""yes" 1>&6
  1655. +    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1656.    cat >> confdefs.h <<EOF
  1657.  #define $ac_tr_func 1
  1658.  EOF
  1659.   
  1660.  else
  1661. -  echo "$ac_t""no" 1>&4
  1662. +  echo "$ac_t""no" 1>&6
  1663.  fi
  1664.  done
  1665.  
  1666. @@ -1715,7 +1866,7 @@ fi
  1667.  rm -f conftest*
  1668.  
  1669.  
  1670. -echo $ac_n "checking if stack overflow is detectable""... $ac_c" 1>&4
  1671. +echo $ac_n "checking if stack overflow is detectable""... $ac_c" 1>&6
  1672.  # Code from Jim Avera <jima@netcom.com>.
  1673.  # stackovf.c requires:
  1674.  #  1. Either sigaction with SA_ONSTACK, or sigvec with SV_ONSTACK
  1675. @@ -1725,12 +1876,12 @@ use_stackovf=no
  1676.  if test "$ac_cv_func_sigaction" = yes || test "$ac_cv_func_sigvec" = yes; then
  1677.    if test "$ac_cv_func_sigaltstack" = yes || test "$ac_cv_func_sigstack" = yes; then
  1678.      cat > conftest.$ac_ext <<EOF
  1679. -#line 1729 "configure"
  1680. +#line 1880 "configure"
  1681.  #include "confdefs.h"
  1682.  #include <sys/time.h>
  1683.  #include <sys/resource.h>
  1684.  #include <signal.h>
  1685. -int main() { return 0; }
  1686. +int main() { t(); return 0; }
  1687.  int t() {
  1688.  struct rlimit r; int i; getrlimit (RLIMIT_STACK, &r)
  1689.  #if (!defined(HAVE_SIGACTION) || !defined(SA_ONSTACK)) \
  1690. @@ -1739,7 +1890,7 @@ choke me        /* SA_ONSTACK and/or SV_ONSTAC
  1691.  #endif
  1692.  ; return 0; }
  1693.  EOF
  1694. -if eval $ac_link; then
  1695. +if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1696.    rm -rf conftest*
  1697.    use_stackovf=yes
  1698.  fi
  1699. @@ -1747,7 +1898,8 @@ rm -f conftest*
  1700.  
  1701.    fi
  1702.  fi
  1703. -echo "$ac_t""$use_stackovf" 1>&4
  1704. +echo "$ac_t""$use_stackovf" 1>&6
  1705. +use_stackovf=no  # Amiga hack - suppress use; we can't do it right yet.
  1706.  if test "$use_stackovf" = yes; then
  1707.    cat >> confdefs.h <<\EOF
  1708.  #define USE_STACKOVF 1
  1709. @@ -1756,7 +1908,7 @@ EOF
  1710.    STACKOVF=stackovf.${U}o
  1711.    
  1712.    cat > conftest.$ac_ext <<EOF
  1713. -#line 1760 "configure"
  1714. +#line 1912 "configure"
  1715.  #include "confdefs.h"
  1716.  #include <sys/resource.h>
  1717.  EOF
  1718. @@ -1773,7 +1925,7 @@ fi
  1719.  rm -f conftest*
  1720.  
  1721.    cat > conftest.$ac_ext <<EOF
  1722. -#line 1777 "configure"
  1723. +#line 1929 "configure"
  1724.  #include "confdefs.h"
  1725.  #include <signal.h>
  1726.  EOF
  1727. @@ -1790,7 +1942,7 @@ fi
  1728.  rm -f conftest*
  1729.  
  1730.    cat > conftest.$ac_ext <<EOF
  1731. -#line 1794 "configure"
  1732. +#line 1946 "configure"
  1733.  #include "confdefs.h"
  1734.  #include <signal.h>
  1735.  EOF
  1736. @@ -1806,30 +1958,30 @@ rm -f conftest*
  1737.  
  1738.  fi
  1739.  
  1740. -echo $ac_n "checking if changeword is wanted""... $ac_c" 1>&4
  1741. +echo $ac_n "checking if changeword is wanted""... $ac_c" 1>&6
  1742.  # Check whether --enable-changeword or --disable-changeword was given.
  1743. -enableval="$enable_changeword"
  1744. -if test -n "$enableval"; then
  1745. +if test "${enable_changeword+set}" = set; then
  1746. +  enableval="$enable_changeword"
  1747.    if test "$enableval" = yes; then
  1748. -  echo "$ac_t""yes" 1>&4
  1749. +  echo "$ac_t""yes" 1>&6
  1750.    cat >> confdefs.h <<\EOF
  1751.  #define ENABLE_CHANGEWORD 1
  1752.  EOF
  1753.  
  1754.  else
  1755. -  echo "$ac_t""no" 1>&4
  1756. +  echo "$ac_t""no" 1>&6
  1757.  fi
  1758.  else
  1759. -  echo "$ac_t""no" 1>&4
  1760. +  echo "$ac_t""no" 1>&6
  1761.  fi
  1762.  
  1763.  
  1764. -echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&4
  1765. +echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
  1766.  # Check whether --with-dmalloc or --without-dmalloc was given.
  1767. -withval="$with_dmalloc"
  1768. -if test -n "$withval"; then
  1769. +if test "${with_dmalloc+set}" = set; then
  1770. +  withval="$with_dmalloc"
  1771.    if test "$withval" = yes; then
  1772. -  echo "$ac_t""yes" 1>&4
  1773. +  echo "$ac_t""yes" 1>&6
  1774.    cat >> confdefs.h <<\EOF
  1775.  #define WITH_DMALLOC 1
  1776.  EOF
  1777. @@ -1837,17 +1989,15 @@ EOF
  1778.    LIBS="$LIBS -ldmalloc"
  1779.    LDFLAGS="$LDFLAGS -g"
  1780.  else
  1781. -  echo "$ac_t""no" 1>&4
  1782. +  echo "$ac_t""no" 1>&6
  1783.  fi
  1784.  else
  1785. -  echo "$ac_t""no" 1>&4
  1786. +  echo "$ac_t""no" 1>&6
  1787.  fi
  1788.  
  1789.  
  1790.  trap '' 1 2 15
  1791. -if test -w $cache_file; then
  1792. -echo "updating cache $cache_file"
  1793. -cat > $cache_file <<\EOF
  1794. +cat > confcache <<\EOF
  1795.  # This file is a shell script that caches the results of configure
  1796.  # tests run on this system so they can be shared between configure
  1797.  # scripts and configure runs.  It is not useful on other systems.
  1798. @@ -1863,15 +2013,24 @@ cat > $cache_file <<\EOF
  1799.  # --recheck option to rerun configure.
  1800.  #
  1801.  EOF
  1802. -# Ultrix sh set writes to stderr and can't be redirected directly.
  1803. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1804. +# and sets the high bit in the cache file unless we assign to the vars.
  1805.  (set) 2>&1 |
  1806. -  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  1807. -  >> $cache_file
  1808. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1809. +  >> confcache
  1810. +if cmp -s $cache_file confcache; then
  1811. +  :
  1812.  else
  1813. -echo "not updating unwritable cache $cache_file"
  1814. +  if test -w $cache_file; then
  1815. +    echo "updating cache $cache_file"
  1816. +    cat confcache > $cache_file
  1817. +  else
  1818. +    echo "not updating unwritable cache $cache_file"
  1819. +  fi
  1820.  fi
  1821. +rm -f confcache
  1822.  
  1823. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  1824. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1825.  
  1826.  test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1827.  # Let make expand exec_prefix.
  1828. @@ -1892,9 +2051,11 @@ DEFS=-DHAVE_CONFIG_H
  1829.  : ${CONFIG_STATUS=./config.status}
  1830.  
  1831.  echo creating $CONFIG_STATUS
  1832. -rm -f $CONFIG_STATUS
  1833. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1834. +# being executed, so just move it out of the way instead.
  1835. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1836.  cat > $CONFIG_STATUS <<EOF
  1837. -#!/bin/sh
  1838. +#! /bin/sh
  1839.  # Generated automatically by configure.
  1840.  # Run this file to recreate the current configuration.
  1841.  # This directory was configured as follows,
  1842. @@ -1913,7 +2074,7 @@ do
  1843.      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1844.      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1845.    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1846. -    echo "$CONFIG_STATUS generated by autoconf version 2.1"
  1847. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1848.      exit 0 ;;
  1849.    -help | --help | --hel | --he | --h)
  1850.      echo "\$ac_cs_usage"; exit 0 ;;
  1851. @@ -1924,12 +2085,14 @@ done
  1852.  ac_given_srcdir=$srcdir
  1853.  ac_given_INSTALL="$INSTALL"
  1854.  
  1855. -trap 'rm -fr Makefile doc/Makefile lib/Makefile src/Makefile \
  1856. -checks/Makefile examples/Makefile config.h conftest*; exit 1' 1 2 15
  1857. +trap 'rm -fr `echo "Makefile doc/Makefile lib/Makefile src/Makefile \
  1858. +checks/Makefile examples/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1859. +EOF
  1860. +cat >> $CONFIG_STATUS <<EOF
  1861.  
  1862. -# Protect against being on the right side of a sed subst in config.status. 
  1863. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
  1864. - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  1865. +# Protect against being on the right side of a sed subst in config.status.
  1866. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1867. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1868.  $ac_vpsub
  1869.  $extrasub
  1870.  s%@CFLAGS@%$CFLAGS%g
  1871. @@ -1941,6 +2104,21 @@ s%@LIBS@%$LIBS%g
  1872.  s%@exec_prefix@%$exec_prefix%g
  1873.  s%@prefix@%$prefix%g
  1874.  s%@program_transform_name@%$program_transform_name%g
  1875. +s%@bindir@%$bindir%g
  1876. +s%@sbindir@%$sbindir%g
  1877. +s%@libexecdir@%$libexecdir%g
  1878. +s%@datadir@%$datadir%g
  1879. +s%@sysconfdir@%$sysconfdir%g
  1880. +s%@sharedstatedir@%$sharedstatedir%g
  1881. +s%@localstatedir@%$localstatedir%g
  1882. +s%@libdir@%$libdir%g
  1883. +s%@includedir@%$includedir%g
  1884. +s%@oldincludedir@%$oldincludedir%g
  1885. +s%@infodir@%$infodir%g
  1886. +s%@guidedir@%$guidedir%g
  1887. +s%@psdir@%$psdir%g
  1888. +s%@dvidir@%$dvidir%g
  1889. +s%@mandir@%$mandir%g
  1890.  s%@PRODUCT@%$PRODUCT%g
  1891.  s%@VERSION@%$VERSION%g
  1892.  s%@AWK@%$AWK%g
  1893. @@ -1979,7 +2157,7 @@ for ac_file in .. $CONFIG_FILES; do if t
  1894.    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1895.      # The file is in a subdirectory.
  1896.      test ! -d "$ac_dir" && mkdir "$ac_dir"
  1897. -    ac_dir_suffix="/$ac_dir"
  1898. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1899.      # A "../" for each directory in $ac_dir_suffix.
  1900.      ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1901.    else
  1902. @@ -2054,13 +2232,13 @@ EOF
  1903.  
  1904.  # Transform confdefs.h into a sed script conftest.vals that substitutes
  1905.  # the proper values into config.h.in to produce config.h.  And first:
  1906. -# Protect against being on the right side of a sed subst in config.status. 
  1907. +# Protect against being on the right side of a sed subst in config.status.
  1908.  # Protect against being in an unquoted here document in config.status.
  1909.  rm -f conftest.vals
  1910.  cat > conftest.hdr <<\EOF
  1911.  s/[\\&%]/\\&/g
  1912.  s%[\\$`]%\\&%g
  1913. -s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  1914. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  1915.  s%ac_d%ac_u%gp
  1916.  s%ac_u%ac_e%gp
  1917.  EOF
  1918. @@ -2108,6 +2286,12 @@ cat >> $CONFIG_STATUS <<\EOF
  1919.      echo "$ac_file is unchanged"
  1920.      rm -f conftest.h
  1921.    else
  1922. +    # Remove last slash and all that follows it.  Not all systems have dirname.
  1923. +      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1924. +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1925. +      # The file is in a subdirectory.
  1926. +      test ! -d "$ac_dir" && mkdir "$ac_dir"
  1927. +    fi
  1928.      rm -f $ac_file
  1929.      mv conftest.h $ac_file
  1930.    fi
  1931. @@ -2118,6 +2302,7 @@ test -z "$CONFIG_HEADERS" || date > stam
  1932.  exit 0
  1933.  EOF
  1934.  chmod +x $CONFIG_STATUS
  1935. +rm -f CONFIG.STATUS.old
  1936.  rm -fr confdefs* $ac_clean_files
  1937. -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
  1938. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1939.  
  1940. diff -rup --new-file baseline/fsf/m4/configure.in amiga/fsf/m4/configure.in
  1941. --- baseline/fsf/m4/configure.in    Sat Nov  5 20:40:38 1994
  1942. +++ amiga/fsf/m4/configure.in    Sat Sep 28 00:00:00 1996
  1943. @@ -62,6 +62,7 @@ choke me        /* SA_ONSTACK and/or SV_ONSTAC
  1944.    fi
  1945.  fi
  1946.  AC_MSG_RESULT($use_stackovf)
  1947. +use_stackovf=no  # Amiga hack - suppress use; we can't do it right yet.
  1948.  if test "$use_stackovf" = yes; then
  1949.    AC_DEFINE(USE_STACKOVF)
  1950.    STACKOVF=stackovf.${U}o
  1951. diff -rup --new-file baseline/fsf/m4/doc/Makefile.in amiga/fsf/m4/doc/Makefile.in
  1952. --- baseline/fsf/m4/doc/Makefile.in    Sat Nov  5 13:52:26 1994
  1953. +++ amiga/fsf/m4/doc/Makefile.in    Sat Sep 28 00:00:00 1996
  1954. @@ -29,19 +29,25 @@ TEXI2DVI = texi2dvi
  1955.  
  1956.  prefix = @prefix@
  1957.  infodir = $(prefix)/info
  1958. +guidedir = @guidedir@
  1959.  
  1960.  .SUFFIXES:
  1961.  
  1962.  DISTFILES = Makefile.in m4.texinfo texinfo.tex \
  1963.  stamp-vti version.texi m4.info m4.info-1 m4.info-2 m4.info-3
  1964.  
  1965. -all: m4.info
  1966. +all: m4.info m4.guide
  1967.  
  1968.  info: m4.info
  1969.  
  1970. +guide: m4.guide
  1971. +
  1972.  m4.info: m4.texinfo version.texi
  1973.      cd $(srcdir) && $(MAKEINFO) m4.texinfo
  1974.  
  1975. +m4.guide: m4.texinfo version.texi
  1976. +    $(MAKEINFO) -I$(srcdir) --amiga-39 $(srcdir)/m4.texinfo -o m4.guide
  1977. +
  1978.  dvi: m4.dvi
  1979.  
  1980.  m4.dvi: m4.texinfo version.texi
  1981. @@ -57,13 +63,16 @@ stamp-vti: m4.texinfo ../configure.in
  1982.      date > $(srcdir)/stamp-vti
  1983.  
  1984.  install: all
  1985. -    $(srcdir)/../mkinstalldirs $(infodir)
  1986. +    $(srcdir)/../mkinstalldirs $(infodir) $(guidedir)
  1987.      cd $(srcdir) && for file in m4.info*; do \
  1988.        $(INSTALL_DATA) $$file $(infodir)/$$file; \
  1989.      done
  1990. +    for file in m4.guide ; do \
  1991. +      $(INSTALL_DATA) $$file $(guidedir)/$$file; \
  1992. +    done
  1993.  
  1994.  uninstall:
  1995. -    rm -f $(infodir)/m4.info*
  1996. +    rm -f $(infodir)/m4.info* $(guidedir)/m4.guide
  1997.  
  1998.  mostlyclean:
  1999.      rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
  2000. @@ -75,7 +84,7 @@ distclean: clean
  2001.      rm -f Makefile
  2002.  
  2003.  realclean: distclean
  2004. -    rm -f stamp-vti version.texi m4.info*
  2005. +    rm -f stamp-vti version.texi m4.info* m4.guide
  2006.  
  2007.  dist: $(DISTFILES)
  2008.      @echo "Copying distribution files"
  2009. diff -rup --new-file baseline/fsf/m4/doc/m4.info amiga/fsf/m4/doc/m4.info
  2010. --- baseline/fsf/m4/doc/m4.info    Sat Nov  5 21:13:42 1994
  2011. +++ amiga/fsf/m4/doc/m4.info    Sat Sep 28 00:00:00 1996
  2012. @@ -1,4 +1,4 @@
  2013. -This is Info file m4.info, produced by Makeinfo-1.55 from the input
  2014. +This is Info file m4.info, produced by Makeinfo-1.63 from the input
  2015.  file m4.texinfo.
  2016.  
  2017.  START-INFO-DIR-ENTRY
  2018. diff -rup --new-file baseline/fsf/m4/doc/m4.info-1 amiga/fsf/m4/doc/m4.info-1
  2019. --- baseline/fsf/m4/doc/m4.info-1    Sat Nov  5 21:13:42 1994
  2020. +++ amiga/fsf/m4/doc/m4.info-1    Sat Sep 28 00:00:00 1996
  2021. @@ -1,4 +1,4 @@
  2022. -This is Info file m4.info, produced by Makeinfo-1.55 from the input
  2023. +This is Info file m4.info, produced by Makeinfo-1.63 from the input
  2024.  file m4.texinfo.
  2025.  
  2026.  START-INFO-DIR-ENTRY
  2027. diff -rup --new-file baseline/fsf/m4/doc/m4.info-2 amiga/fsf/m4/doc/m4.info-2
  2028. --- baseline/fsf/m4/doc/m4.info-2    Sat Nov  5 21:13:42 1994
  2029. +++ amiga/fsf/m4/doc/m4.info-2    Sat Sep 28 00:00:00 1996
  2030. @@ -1,4 +1,4 @@
  2031. -This is Info file m4.info, produced by Makeinfo-1.55 from the input
  2032. +This is Info file m4.info, produced by Makeinfo-1.63 from the input
  2033.  file m4.texinfo.
  2034.  
  2035.  START-INFO-DIR-ENTRY
  2036. diff -rup --new-file baseline/fsf/m4/doc/m4.info-3 amiga/fsf/m4/doc/m4.info-3
  2037. --- baseline/fsf/m4/doc/m4.info-3    Sat Nov  5 21:13:42 1994
  2038. +++ amiga/fsf/m4/doc/m4.info-3    Sat Sep 28 00:00:00 1996
  2039. @@ -1,4 +1,4 @@
  2040. -This is Info file m4.info, produced by Makeinfo-1.55 from the input
  2041. +This is Info file m4.info, produced by Makeinfo-1.63 from the input
  2042.  file m4.texinfo.
  2043.  
  2044.  START-INFO-DIR-ENTRY
  2045. @@ -79,7 +79,7 @@ Concept index
  2046.  * expressions, evaluation of integer:   Eval.
  2047.  * extracting substrings:                Substr.
  2048.  * fast loading of frozen files:         Frozen files.
  2049. -* file inclusion:                       Undivert.
  2050. +* file inclusion <1>:                   Undivert.
  2051.  * file inclusion:                       File Inclusion.
  2052.  * filenames, on the command line:       Invoking m4.
  2053.  * files, diverting output to:           Divert.
  2054. @@ -87,22 +87,22 @@ Concept index
  2055.  * forloops:                             Loops.
  2056.  * formatted output:                     Format.
  2057.  * frozen files for fast loading:        Frozen files.
  2058. -* GNU extensions:                       Extensions.
  2059. -* GNU extensions:                       Frozen files.
  2060. -* GNU extensions:                       Esyscmd.
  2061. -* GNU extensions:                       Format.
  2062. -* GNU extensions:                       Patsubst.
  2063. -* GNU extensions:                       Regexp.
  2064. -* GNU extensions:                       Undivert.
  2065. -* GNU extensions:                       Search Path.
  2066. -* GNU extensions:                       Debug Output.
  2067. +* GNU extensions <1>:                   Indir.
  2068. +* GNU extensions <1>:                   Search Path.
  2069. +* GNU extensions <1>:                   Undivert.
  2070. +* GNU extensions <1>:                   Esyscmd.
  2071. +* GNU extensions <1>:                   Regexp.
  2072. +* GNU extensions <1>:                   Builtin.
  2073. +* GNU extensions <1>:                   Arguments.
  2074. +* GNU extensions <1>:                   Extensions.
  2075. +* GNU extensions <1>:                   Patsubst.
  2076. +* GNU extensions <1>:                   Frozen files.
  2077. +* GNU extensions <1>:                   Format.
  2078. +* GNU extensions <1>:                   Debug Output.
  2079.  * GNU extensions:                       Debug Levels.
  2080. -* GNU extensions:                       Builtin.
  2081. -* GNU extensions:                       Indir.
  2082. -* GNU extensions:                       Arguments.
  2083.  * included files, search path for:      Search Path.
  2084. +* inclusion, of files <1>:              File Inclusion.
  2085.  * inclusion, of files:                  Undivert.
  2086. -* inclusion, of files:                  File Inclusion.
  2087.  * increment operator:                   Incr.
  2088.  * indirect call of builtins:            Builtin.
  2089.  * indirect call of macros:              Indir.
  2090. @@ -118,7 +118,7 @@ Concept index
  2091.  * macro definitions, on the command line: Invoking m4.
  2092.  * macro expansion, tracing:             Trace.
  2093.  * macro invocation:                     Invocation.
  2094. -* macros, arguments to:                 Arguments.
  2095. +* macros, arguments to <1>:             Arguments.
  2096.  * macros, arguments to:                 Macro Arguments.
  2097.  * macros, displaying definitions:       Dumpdef.
  2098.  * macros, expansion of:                 Macro expansion.
  2099. @@ -144,7 +144,7 @@ Concept index
  2100.  * quoted string:                        Quoted strings.
  2101.  * recursive macros:                     Loops.
  2102.  * redefinition of macros, temporary:    Pushdef.
  2103. -* regular expressions:                  Patsubst.
  2104. +* regular expressions <1>:              Patsubst.
  2105.  * regular expressions:                  Regexp.
  2106.  * reloading a frozen file:              Frozen files.
  2107.  * renaming macros:                      Defn.
  2108. diff -rup --new-file baseline/fsf/m4/doc/stamp-vti amiga/fsf/m4/doc/stamp-vti
  2109. --- baseline/fsf/m4/doc/stamp-vti    Sat Nov  5 20:46:26 1994
  2110. +++ amiga/fsf/m4/doc/stamp-vti    Sat Sep 28 00:00:00 1996
  2111. @@ -1 +1 @@
  2112. -Sat Nov  5 22:46:26 EST 1994
  2113. +Sat Nov 12 15:26:39  1994
  2114. diff -rup --new-file baseline/fsf/m4/manifests/bin amiga/fsf/m4/manifests/bin
  2115. --- baseline/fsf/m4/manifests/bin    Wed Dec 31 17:00:00 1969
  2116. +++ amiga/fsf/m4/manifests/bin    Wed Oct  9 23:32:11 1996
  2117. @@ -0,0 +1,8 @@
  2118. +COPYING
  2119. +COPYING.info
  2120. +bin/m4
  2121. +guide/m4.guide
  2122. +info/m4.info
  2123. +info/m4.info-1
  2124. +info/m4.info-2
  2125. +info/m4.info-3
  2126. diff -rup --new-file baseline/fsf/m4/manifests/src amiga/fsf/m4/manifests/src
  2127. --- baseline/fsf/m4/manifests/src    Wed Dec 31 17:00:00 1969
  2128. +++ amiga/fsf/m4/manifests/src    Sat Sep 28 00:00:00 1996
  2129. @@ -0,0 +1,154 @@
  2130. +fsf/m4/BACKLOG
  2131. +fsf/m4/COPYING
  2132. +fsf/m4/ChangeLog
  2133. +fsf/m4/INSTALL
  2134. +fsf/m4/Makefile.in
  2135. +fsf/m4/NEWS
  2136. +fsf/m4/Product-Info
  2137. +fsf/m4/README
  2138. +fsf/m4/THANKS
  2139. +fsf/m4/TODO
  2140. +fsf/m4/acconfig.h
  2141. +fsf/m4/aclocal.m4
  2142. +fsf/m4/c-boxes.el
  2143. +fsf/m4/checks/01.define
  2144. +fsf/m4/checks/02.arguments
  2145. +fsf/m4/checks/03.arguments
  2146. +fsf/m4/checks/04.arguments
  2147. +fsf/m4/checks/05.arguments
  2148. +fsf/m4/checks/06.pseudo_argu
  2149. +fsf/m4/checks/07.pseudo_argu
  2150. +fsf/m4/checks/08.pseudo_argu
  2151. +fsf/m4/checks/09.pseudo_argu
  2152. +fsf/m4/checks/10.pseudo_argu
  2153. +fsf/m4/checks/11.undefine
  2154. +fsf/m4/checks/12.defn
  2155. +fsf/m4/checks/13.pushdef
  2156. +fsf/m4/checks/14.pushdef
  2157. +fsf/m4/checks/15.indir
  2158. +fsf/m4/checks/16.ifdef
  2159. +fsf/m4/checks/17.ifelse
  2160. +fsf/m4/checks/18.ifelse
  2161. +fsf/m4/checks/19.loops
  2162. +fsf/m4/checks/20.loops
  2163. +fsf/m4/checks/21.dumpdef
  2164. +fsf/m4/checks/22.trace
  2165. +fsf/m4/checks/23.dnl
  2166. +fsf/m4/checks/24.changequote
  2167. +fsf/m4/checks/25.changequote
  2168. +fsf/m4/checks/26.changequote
  2169. +fsf/m4/checks/27.changecom
  2170. +fsf/m4/checks/28.changecom
  2171. +fsf/m4/checks/29.m4wrap
  2172. +fsf/m4/checks/30.include
  2173. +fsf/m4/checks/31.include
  2174. +fsf/m4/checks/32.include
  2175. +fsf/m4/checks/33.divert
  2176. +fsf/m4/checks/34.divert
  2177. +fsf/m4/checks/35.undivert
  2178. +fsf/m4/checks/36.undivert
  2179. +fsf/m4/checks/37.undivert
  2180. +fsf/m4/checks/38.divnum
  2181. +fsf/m4/checks/39.cleardiv
  2182. +fsf/m4/checks/40.cleardiv
  2183. +fsf/m4/checks/41.len
  2184. +fsf/m4/checks/42.index
  2185. +fsf/m4/checks/43.regexp
  2186. +fsf/m4/checks/44.regexp
  2187. +fsf/m4/checks/45.substr
  2188. +fsf/m4/checks/46.translit
  2189. +fsf/m4/checks/47.patsubst
  2190. +fsf/m4/checks/48.patsubst
  2191. +fsf/m4/checks/49.format
  2192. +fsf/m4/checks/50.incr
  2193. +fsf/m4/checks/51.eval
  2194. +fsf/m4/checks/52.eval
  2195. +fsf/m4/checks/53.esyscmd
  2196. +fsf/m4/checks/54.sysval
  2197. +fsf/m4/checks/55.errprint
  2198. +fsf/m4/checks/56.errprint
  2199. +fsf/m4/checks/57.m4exit
  2200. +fsf/m4/checks/Makefile.in
  2201. +fsf/m4/checks/check-them
  2202. +fsf/m4/checks/foo
  2203. +fsf/m4/checks/get-them
  2204. +fsf/m4/checks/incl.m4
  2205. +fsf/m4/checks/stamp-checks
  2206. +fsf/m4/config.h.in
  2207. +fsf/m4/configure
  2208. +fsf/m4/configure.in
  2209. +fsf/m4/doc/Makefile.in
  2210. +fsf/m4/doc/m4.info
  2211. +fsf/m4/doc/m4.info-1
  2212. +fsf/m4/doc/m4.info-2
  2213. +fsf/m4/doc/m4.info-3
  2214. +fsf/m4/doc/m4.texinfo
  2215. +fsf/m4/doc/stamp-vti
  2216. +fsf/m4/doc/texinfo.tex
  2217. +fsf/m4/doc/version.texi
  2218. +fsf/m4/examples/Makefile.in
  2219. +fsf/m4/examples/capitalize.m4
  2220. +fsf/m4/examples/comments.m4
  2221. +fsf/m4/examples/ddivert.m4
  2222. +fsf/m4/examples/debug.m4
  2223. +fsf/m4/examples/esyscmd.m4
  2224. +fsf/m4/examples/exp.m4
  2225. +fsf/m4/examples/file.m4
  2226. +fsf/m4/examples/foreach.m4
  2227. +fsf/m4/examples/forloop.m4
  2228. +fsf/m4/examples/fstab.m4
  2229. +fsf/m4/examples/hanoi.m4
  2230. +fsf/m4/examples/incl-test.m4
  2231. +fsf/m4/examples/include.m4
  2232. +fsf/m4/examples/indir.m4
  2233. +fsf/m4/examples/misc.m4
  2234. +fsf/m4/examples/multiquotes.m4
  2235. +fsf/m4/examples/patsubst.m4
  2236. +fsf/m4/examples/pushpop.m4
  2237. +fsf/m4/examples/regexp.m4
  2238. +fsf/m4/examples/reverse.m4
  2239. +fsf/m4/examples/stackovf.sh
  2240. +fsf/m4/examples/sync-lines.m4
  2241. +fsf/m4/examples/sysv-args.m4
  2242. +fsf/m4/examples/trace.m4
  2243. +fsf/m4/examples/translit.m4
  2244. +fsf/m4/examples/undivert.incl
  2245. +fsf/m4/examples/undivert.m4
  2246. +fsf/m4/examples/wrap.m4
  2247. +fsf/m4/install-sh
  2248. +fsf/m4/lib/COPYING.LIB
  2249. +fsf/m4/lib/Makefile.in
  2250. +fsf/m4/lib/TAGS
  2251. +fsf/m4/lib/alloca.c
  2252. +fsf/m4/lib/error.c
  2253. +fsf/m4/lib/getopt.c
  2254. +fsf/m4/lib/getopt.h
  2255. +fsf/m4/lib/getopt1.c
  2256. +fsf/m4/lib/obstack.c
  2257. +fsf/m4/lib/obstack.h
  2258. +fsf/m4/lib/regex.c
  2259. +fsf/m4/lib/regex.h
  2260. +fsf/m4/lib/strtol.c
  2261. +fsf/m4/lib/xmalloc.c
  2262. +fsf/m4/lib/xstrdup.c
  2263. +fsf/m4/manifests/bin
  2264. +fsf/m4/manifests/src
  2265. +fsf/m4/mkinstalldirs
  2266. +fsf/m4/src/Makefile.in
  2267. +fsf/m4/src/TAGS
  2268. +fsf/m4/src/ansi2knr.1
  2269. +fsf/m4/src/ansi2knr.c
  2270. +fsf/m4/src/builtin.c
  2271. +fsf/m4/src/debug.c
  2272. +fsf/m4/src/eval.c
  2273. +fsf/m4/src/format.c
  2274. +fsf/m4/src/freeze.c
  2275. +fsf/m4/src/input.c
  2276. +fsf/m4/src/m4.c
  2277. +fsf/m4/src/m4.h
  2278. +fsf/m4/src/macro.c
  2279. +fsf/m4/src/output.c
  2280. +fsf/m4/src/path.c
  2281. +fsf/m4/src/stackovf.c
  2282. +fsf/m4/src/symtab.c
  2283. +fsf/m4/stamp-h.in
  2284. diff -rup --new-file baseline/fsf/m4/stamp-h.in amiga/fsf/m4/stamp-h.in
  2285. --- baseline/fsf/m4/stamp-h.in    Sat Nov  5 20:45:51 1994
  2286. +++ amiga/fsf/m4/stamp-h.in    Sat Sep 28 00:00:00 1996
  2287. @@ -1 +1 @@
  2288. -Sat Nov  5 22:45:51 EST 1994
  2289. +Mon Sep 16 14:07:09 GMT+0100 1996
  2290.