home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / patch-2.1-diffs.gz / patch-2.1-diffs
Text File  |  1996-10-13  |  90KB  |  2,886 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/patch/INSTALL amiga/fsf/patch/INSTALL
  12. --- baseline/fsf/patch/INSTALL    Fri May 14 16:31:53 1993
  13. +++ amiga/fsf/patch/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 an
  19. -installation prefix other than /usr/local by giving `configure' the option
  20. +/gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify an
  21. +installation prefix other than /gnu by giving `configure' the option
  22.  `--prefix=PATH'.  Alternately, you can do so by consistently 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/patch/Makefile.in amiga/fsf/patch/Makefile.in
  26. --- baseline/fsf/patch/Makefile.in    Thu Jun 10 21:25:47 1993
  27. +++ amiga/fsf/patch/Makefile.in    Sat Sep 28 00:00:00 1996
  28. @@ -13,10 +13,10 @@ INSTALL_DATA = @INSTALL_DATA@
  29.  
  30.  LIBS = @LIBS@
  31.  
  32. -CFLAGS = -g
  33. -LDFLAGS = -g
  34. +CFLAGS = -O2
  35. +LDFLAGS =
  36.  
  37. -prefix = /usr/local
  38. +prefix = /ade
  39.  exec_prefix = $(prefix)
  40.  
  41.  bindir = $(exec_prefix)/bin
  42. diff -rup --new-file baseline/fsf/patch/Product-Info amiga/fsf/patch/Product-Info
  43. --- baseline/fsf/patch/Product-Info    Wed Dec 31 17:00:00 1969
  44. +++ amiga/fsf/patch/Product-Info    Sat Sep 28 00:00:00 1996
  45. @@ -0,0 +1,26 @@
  46. +.name
  47. +patch
  48. +.fullname
  49. +patch
  50. +.type
  51. +Programmer Tool
  52. +.short
  53. +Apply diff files
  54. +.description
  55. +Patch will take a patch file containing any of the four forms of
  56. +difference listing produced by the diff program and apply those
  57. +differences to an original file, producing a patched version.  By
  58. +default, the patched version is put in place of the original, with the
  59. +original file backed up to another name.
  60. +.version
  61. +2.1
  62. +.author
  63. +Larry Wall
  64. +.requirements
  65. +Amiga binary requires the ixemul.library.
  66. +.distribution
  67. +GNU Public License
  68. +.email
  69. +lwall@netlabs.com
  70. +.described-by
  71. +Fred Fish (fnf@amigalib.com)
  72. diff -rup --new-file baseline/fsf/patch/configure amiga/fsf/patch/configure
  73. --- baseline/fsf/patch/configure    Thu Jun 10 22:01:03 1993
  74. +++ amiga/fsf/patch/configure    Mon Sep 30 22:48:50 1996
  75. @@ -1,271 +1,828 @@
  76. -#!/bin/sh
  77. -# Guess values for system-dependent variables and create Makefiles.
  78. -# Generated automatically using autoconf.
  79. -# Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  80. +#! /bin/sh
  81.  
  82. -# This program is free software; you can redistribute it and/or modify
  83. -# it under the terms of the GNU General Public License as published by
  84. -# the Free Software Foundation; either version 2, or (at your option)
  85. -# any later version.
  86. -
  87. -# This program is distributed in the hope that it will be useful,
  88. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  89. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  90. -# GNU General Public License for more details.
  91. -
  92. -# You should have received a copy of the GNU General Public License
  93. -# along with this program; if not, write to the Free Software
  94. -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  95. -
  96. -# Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  97. -#        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET]
  98. -# Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  99. -# --with-PACKAGE unless this script has special code to handle it.
  100. +# Guess values for system-dependent variables and create Makefiles.
  101. +# Generated automatically using autoconf version 2.10 
  102. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  103. +#
  104. +# This configure script is free software; the Free Software Foundation
  105. +# gives unlimited permission to copy, distribute and modify it.
  106.  
  107. +# Defaults:
  108. +ac_help=
  109. +ac_default_prefix=/usr/local
  110. +# Any additions from configure.in:
  111. +
  112. +# Initialize some variables set by options.
  113. +# The variables have the same names as the options, with
  114. +# dashes changed to underlines.
  115. +build=NONE
  116. +cache_file=./config.cache
  117. +exec_prefix=NONE
  118. +host=NONE
  119. +no_create=
  120. +nonopt=NONE
  121. +no_recursion=
  122. +prefix=NONE
  123. +program_prefix=NONE
  124. +program_suffix=NONE
  125. +program_transform_name=s,x,x,
  126. +silent=
  127. +site=
  128. +srcdir=
  129. +target=NONE
  130. +verbose=
  131. +x_includes=NONE
  132. +x_libraries=NONE
  133. +bindir='${exec_prefix}/bin'
  134. +sbindir='${exec_prefix}/sbin'
  135. +libexecdir='${exec_prefix}/libexec'
  136. +datadir='${prefix}/share'
  137. +sysconfdir='${prefix}/etc'
  138. +sharedstatedir='${prefix}/com'
  139. +localstatedir='${prefix}/var'
  140. +libdir='${exec_prefix}/lib'
  141. +includedir='${prefix}/include'
  142. +oldincludedir='/usr/include'
  143. +infodir='${prefix}/info'
  144. +guidedir='${prefix}/guide'
  145. +psdir='${prefix}/ps'
  146. +dvidir='${prefix}/dvi'
  147. +mandir='${prefix}/man'
  148. +
  149. +# Initialize some other variables.
  150. +subdirs=
  151. +MFLAGS= MAKEFLAGS=
  152.  
  153. -for arg
  154. +ac_prev=
  155. +for ac_option
  156.  do
  157. -  # Handle --exec-prefix with a space before the argument.
  158. -  if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  159. -  # Handle --host with a space before the argument.
  160. -  elif test x$next_host = xyes; then next_host=
  161. -  # Handle --prefix with a space before the argument.
  162. -  elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  163. -  # Handle --srcdir with a space before the argument.
  164. -  elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  165. -  else
  166. -    case $arg in
  167. -     # For backward compatibility, also recognize exact --exec_prefix.
  168. -     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  169. -    exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  170. -     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  171. -    next_exec_prefix=yes ;;
  172. -
  173. -     -gas | --gas | --ga | --g) ;;
  174. -
  175. -     -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  176. -     -host | --host | --hos | --ho | --h)
  177. -    next_host=yes ;;
  178. -
  179. -     -nfp | --nfp | --nf) ;;
  180. -
  181. -     -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  182. -        no_create=1 ;;
  183. -
  184. -     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  185. -    prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  186. -     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  187. -    next_prefix=yes ;;
  188. -
  189. -     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  190. -    srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  191. -     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  192. -    next_srcdir=yes ;;
  193. -
  194. -     -with-* | --with-*)
  195. -       package=`echo $arg|sed 's/-*with-//'`
  196. -       # Delete all the valid chars; see if any are left.
  197. -       if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then
  198. -         echo "configure: $package: invalid package name" >&2; exit 1
  199. -       fi
  200. -       eval "with_`echo $package|sed s/-/_/g`=1" ;;
  201.  
  202. -     -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  203. -       verbose=yes ;;
  204. +  # If the previous option needs an argument, assign it.
  205. +  if test -n "$ac_prev"; then
  206. +    eval "$ac_prev=\$ac_option"
  207. +    ac_prev=
  208. +    continue
  209. +  fi
  210. +
  211. +  case "$ac_option" in
  212. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  213. +  *) ac_optarg= ;;
  214. +  esac
  215. +
  216. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  217. +
  218. +  case "$ac_option" in
  219. +
  220. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  221. +    ac_prev=bindir ;;
  222. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  223. +    bindir="$ac_optarg" ;;
  224. +
  225. +  -build | --build | --buil | --bui | --bu)
  226. +    ac_prev=build ;;
  227. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  228. +    build="$ac_optarg" ;;
  229. +
  230. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  231. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  232. +    ac_prev=cache_file ;;
  233. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  234. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  235. +    cache_file="$ac_optarg" ;;
  236. +
  237. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  238. +    ac_prev=datadir ;;
  239. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  240. +  | --da=*)
  241. +    datadir="$ac_optarg" ;;
  242. +
  243. +  -disable-* | --disable-*)
  244. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  245. +    # Reject names that are not valid shell variable names.
  246. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  247. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  248. +    fi
  249. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  250. +    eval "enable_${ac_feature}=no" ;;
  251.  
  252. -     *) ;;
  253. +  -enable-* | --enable-*)
  254. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  255. +    # Reject names that are not valid shell variable names.
  256. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  257. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  258. +    fi
  259. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  260. +    case "$ac_option" in
  261. +      *=*) ;;
  262. +      *) ac_optarg=yes ;;
  263.      esac
  264. -  fi
  265. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  266. +
  267. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  268. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  269. +  | --exec | --exe | --ex)
  270. +    ac_prev=exec_prefix ;;
  271. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  272. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  273. +  | --exec=* | --exe=* | --ex=*)
  274. +    exec_prefix="$ac_optarg" ;;
  275. +
  276. +  -gas | --gas | --ga | --g)
  277. +    # Obsolete; use --with-gas.
  278. +    with_gas=yes ;;
  279. +
  280. +  -help | --help | --hel | --he)
  281. +    # Omit some internal or obsolete options to make the list less imposing.
  282. +    # This message is too long to be a string in the A/UX 3.1 sh.
  283. +    cat << EOF
  284. +Usage: configure [options] [host]
  285. +Options: [defaults in brackets after descriptions]
  286. +Configuration:
  287. +  --cache-file=FILE       cache test results in FILE
  288. +  --help                  print this message
  289. +  --no-create             do not create output files
  290. +  --quiet, --silent       do not print \`checking...' messages
  291. +  --version               print the version of autoconf that created configure
  292. +Directory and file names:
  293. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  294. +                          [$ac_default_prefix]
  295. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  296. +                          [same as prefix]
  297. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  298. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  299. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  300. +  --datadir=DIR           read-only architecture-independent data in DIR
  301. +                          [PREFIX/share]
  302. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  303. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  304. +                          [PREFIX/com]
  305. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  306. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  307. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  308. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  309. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  310. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  311. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  312. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  313. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  314. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  315. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  316. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  317. +  --program-transform-name=PROGRAM
  318. +                          run sed PROGRAM on installed program names
  319. +EOF
  320. +    cat << EOF
  321. +Host type:
  322. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  323. +  --host=HOST             configure for HOST [guessed]
  324. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  325. +Features and packages:
  326. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  327. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  328. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  329. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  330. +  --x-includes=DIR        X include files are in DIR
  331. +  --x-libraries=DIR       X library files are in DIR
  332. +EOF
  333. +    if test -n "$ac_help"; then
  334. +      echo "--enable and --with options recognized:$ac_help"
  335. +    fi
  336. +    exit 0 ;;
  337. +
  338. +  -host | --host | --hos | --ho)
  339. +    ac_prev=host ;;
  340. +  -host=* | --host=* | --hos=* | --ho=*)
  341. +    host="$ac_optarg" ;;
  342. +
  343. +  -includedir | --includedir | --includedi | --included | --include \
  344. +  | --includ | --inclu | --incl | --inc)
  345. +    ac_prev=includedir ;;
  346. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  347. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  348. +    includedir="$ac_optarg" ;;
  349. +
  350. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  351. +    ac_prev=infodir ;;
  352. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  353. +    infodir="$ac_optarg" ;;
  354. +
  355. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  356. +   ac_prev=guidedir ;;
  357. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  358. +
  359. + -psdir | --psdir | --psdi | --psd | --ps)
  360. +   ac_prev=psdir ;;
  361. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  362. +
  363. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  364. +   ac_prev=dvidir ;;
  365. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  366. +
  367. +  -libdir | --libdir | --libdi | --libd)
  368. +    ac_prev=libdir ;;
  369. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  370. +    libdir="$ac_optarg" ;;
  371. +
  372. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  373. +  | --libexe | --libex | --libe)
  374. +    ac_prev=libexecdir ;;
  375. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  376. +  | --libexe=* | --libex=* | --libe=*)
  377. +    libexecdir="$ac_optarg" ;;
  378. +
  379. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  380. +  | --localstate | --localstat | --localsta | --localst \
  381. +  | --locals | --local | --loca | --loc | --lo)
  382. +    ac_prev=localstatedir ;;
  383. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  384. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  385. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  386. +    localstatedir="$ac_optarg" ;;
  387. +
  388. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  389. +    ac_prev=mandir ;;
  390. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  391. +    mandir="$ac_optarg" ;;
  392. +
  393. +  -nfp | --nfp | --nf)
  394. +    # Obsolete; use --without-fp.
  395. +    with_fp=no ;;
  396. +
  397. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  398. +  | --no-cr | --no-c)
  399. +    no_create=yes ;;
  400. +
  401. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  402. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  403. +    no_recursion=yes ;;
  404. +
  405. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  406. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  407. +  | --oldin | --oldi | --old | --ol | --o)
  408. +    ac_prev=oldincludedir ;;
  409. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  410. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  411. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  412. +    oldincludedir="$ac_optarg" ;;
  413. +
  414. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  415. +    ac_prev=prefix ;;
  416. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  417. +    prefix="$ac_optarg" ;;
  418. +
  419. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  420. +  | --program-pre | --program-pr | --program-p)
  421. +    ac_prev=program_prefix ;;
  422. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  423. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  424. +    program_prefix="$ac_optarg" ;;
  425. +
  426. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  427. +  | --program-suf | --program-su | --program-s)
  428. +    ac_prev=program_suffix ;;
  429. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  430. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  431. +    program_suffix="$ac_optarg" ;;
  432. +
  433. +  -program-transform-name | --program-transform-name \
  434. +  | --program-transform-nam | --program-transform-na \
  435. +  | --program-transform-n | --program-transform- \
  436. +  | --program-transform | --program-transfor \
  437. +  | --program-transfo | --program-transf \
  438. +  | --program-trans | --program-tran \
  439. +  | --progr-tra | --program-tr | --program-t)
  440. +    ac_prev=program_transform_name ;;
  441. +  -program-transform-name=* | --program-transform-name=* \
  442. +  | --program-transform-nam=* | --program-transform-na=* \
  443. +  | --program-transform-n=* | --program-transform-=* \
  444. +  | --program-transform=* | --program-transfor=* \
  445. +  | --program-transfo=* | --program-transf=* \
  446. +  | --program-trans=* | --program-tran=* \
  447. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  448. +    program_transform_name="$ac_optarg" ;;
  449. +
  450. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  451. +  | -silent | --silent | --silen | --sile | --sil)
  452. +    silent=yes ;;
  453. +
  454. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  455. +    ac_prev=sbindir ;;
  456. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  457. +  | --sbi=* | --sb=*)
  458. +    sbindir="$ac_optarg" ;;
  459. +
  460. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  461. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  462. +  | --sharedst | --shareds | --shared | --share | --shar \
  463. +  | --sha | --sh)
  464. +    ac_prev=sharedstatedir ;;
  465. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  466. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  467. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  468. +  | --sha=* | --sh=*)
  469. +    sharedstatedir="$ac_optarg" ;;
  470. +
  471. +  -site | --site | --sit)
  472. +    ac_prev=site ;;
  473. +  -site=* | --site=* | --sit=*)
  474. +    site="$ac_optarg" ;;
  475. +
  476. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  477. +    ac_prev=srcdir ;;
  478. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  479. +    srcdir="$ac_optarg" ;;
  480. +
  481. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  482. +  | --syscon | --sysco | --sysc | --sys | --sy)
  483. +    ac_prev=sysconfdir ;;
  484. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  485. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  486. +    sysconfdir="$ac_optarg" ;;
  487. +
  488. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  489. +    ac_prev=target ;;
  490. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  491. +    target="$ac_optarg" ;;
  492. +
  493. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  494. +    verbose=yes ;;
  495. +
  496. +  -version | --version | --versio | --versi | --vers)
  497. +    echo "configure generated by autoconf version 2.10"
  498. +    exit 0 ;;
  499. +
  500. +  -with-* | --with-*)
  501. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  502. +    # Reject names that are not valid shell variable names.
  503. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  504. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  505. +    fi
  506. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  507. +    case "$ac_option" in
  508. +      *=*) ;;
  509. +      *) ac_optarg=yes ;;
  510. +    esac
  511. +    eval "with_${ac_package}='$ac_optarg'" ;;
  512. +
  513. +  -without-* | --without-*)
  514. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  515. +    # Reject names that are not valid shell variable names.
  516. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  517. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  518. +    fi
  519. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  520. +    eval "with_${ac_package}=no" ;;
  521. +
  522. +  --x)
  523. +    # Obsolete; use --with-x.
  524. +    with_x=yes ;;
  525. +
  526. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  527. +  | --x-incl | --x-inc | --x-in | --x-i)
  528. +    ac_prev=x_includes ;;
  529. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  530. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  531. +    x_includes="$ac_optarg" ;;
  532. +
  533. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  534. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  535. +    ac_prev=x_libraries ;;
  536. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  537. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  538. +    x_libraries="$ac_optarg" ;;
  539. +
  540. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  541. +    ;;
  542. +
  543. +  *)
  544. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  545. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  546. +    fi
  547. +    if test "x$nonopt" != xNONE; then
  548. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  549. +    fi
  550. +    nonopt="$ac_option"
  551. +    ;;
  552. +
  553. +  esac
  554.  done
  555.  
  556. -trap 'rm -f conftest* core; exit 1' 1 3 15
  557. +if test -n "$ac_prev"; then
  558. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  559. +fi
  560. +
  561. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  562.  
  563. -# Needed for some versions of `tr' so that character classes in `[]' work.
  564. -if test "${LANG+set}" = "set" ; then
  565. -   LANG=C
  566. +# File descriptor usage:
  567. +# 0 standard input
  568. +# 1 file creation
  569. +# 2 errors and warnings
  570. +# 3 some systems may open it to /dev/tty
  571. +# 4 used on the Kubota Titan
  572. +# 6 checking for... messages and results
  573. +# 5 compiler messages saved in config.log
  574. +if test "$silent" = yes; then
  575. +  exec 6>/dev/null
  576. +else
  577. +  exec 6>&1
  578.  fi
  579. +exec 5>./config.log
  580.  
  581. -rm -f conftest*
  582. -compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  583. +echo "\
  584. +This file contains any messages produced by compilers while
  585. +running configure, to aid debugging if configure makes a mistake.
  586. +" 1>&5
  587. +
  588. +# Strip out --no-create and --no-recursion so they do not pile up.
  589. +# Also quote any args containing shell metacharacters.
  590. +ac_configure_args=
  591. +for ac_arg
  592. +do
  593. +  case "$ac_arg" in
  594. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  595. +  | --no-cr | --no-c) ;;
  596. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  597. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  598. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  599. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  600. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  601. +  esac
  602. +done
  603. +
  604. +# NLS nuisances.
  605. +# Only set LANG and LC_ALL to C if already set.
  606. +# These must not be set unconditionally because not all systems understand
  607. +# e.g. LANG=C (notably SCO).
  608. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  609. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  610. +
  611. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  612. +rm -rf conftest* confdefs.h
  613. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  614. +echo > confdefs.h
  615.  
  616.  # A filename unique to this package, relative to the directory that
  617.  # configure is in, which we can look for to find out if srcdir is correct.
  618. -unique_file=patch.c
  619. +ac_unique_file=patch.c
  620.  
  621.  # Find the source files, if location was not specified.
  622.  if test -z "$srcdir"; then
  623. -  srcdirdefaulted=yes
  624. -  # Try the directory containing this script, then `..'.
  625. -  prog=$0
  626. -  confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  627. -  test "X$confdir" = "X$prog" && confdir=.
  628. -  srcdir=$confdir
  629. -  if test ! -r $srcdir/$unique_file; then
  630. +  ac_srcdir_defaulted=yes
  631. +  # Try the directory containing this script, then its parent.
  632. +  ac_prog=$0
  633. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  634. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  635. +  srcdir=$ac_confdir
  636. +  if test ! -r $srcdir/$ac_unique_file; then
  637.      srcdir=..
  638.    fi
  639. +else
  640. +  ac_srcdir_defaulted=no
  641. +fi
  642. +if test ! -r $srcdir/$ac_unique_file; then
  643. +  if test "$ac_srcdir_defaulted" = yes; then
  644. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  645. +  else
  646. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  647. +  fi
  648.  fi
  649. -if test ! -r $srcdir/$unique_file; then
  650. -  if test x$srcdirdefaulted = xyes; then
  651. -    echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  652. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  653. +
  654. +# Prefer explicitly selected file to automatically selected ones.
  655. +if test -z "$CONFIG_SITE"; then
  656. +  if test "x$prefix" != xNONE; then
  657. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  658.    else
  659. -    echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  660. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  661.    fi
  662. -  exit 1
  663.  fi
  664. -# Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  665. -# But we can't avoid them for `..', to make subdirectories work.
  666. -case $srcdir in
  667. -  .|/*|~*) ;;
  668. -  *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  669. -esac
  670. +for ac_site_file in $CONFIG_SITE; do
  671. +  if test -r "$ac_site_file"; then
  672. +    echo "loading site script $ac_site_file"
  673. +    . "$ac_site_file"
  674. +  fi
  675. +done
  676.  
  677. -# Save the original args to write them into config.status later.
  678. -configure_args="$*"
  679. +if test -r "$cache_file"; then
  680. +  echo "loading cache $cache_file"
  681. +  . $cache_file
  682. +else
  683. +  echo "creating cache $cache_file"
  684. +  > $cache_file
  685. +fi
  686. +
  687. +ac_ext=c
  688. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  689. +ac_cpp='$CPP $CPPFLAGS'
  690. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  691. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  692. +
  693. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  694. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  695. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  696. +    ac_n= ac_c='
  697. +' ac_t='    '
  698. +  else
  699. +    ac_n=-n ac_c= ac_t=
  700. +  fi
  701. +else
  702. +  ac_n= ac_c='\c' ac_t=
  703. +fi
  704.  
  705.  
  706. +
  707. +# Extract the first word of "gcc", so it can be a program name with args.
  708. +set dummy gcc; ac_word=$2
  709. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  710. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  711. +  echo $ac_n "(cached) $ac_c" 1>&6
  712. +else
  713. +  if test -n "$CC"; then
  714. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  715. +else
  716. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  717. +  for ac_dir in $PATH; do
  718. +    test -z "$ac_dir" && ac_dir=.
  719. +    if test -f $ac_dir/$ac_word; then
  720. +      ac_cv_prog_CC="gcc"
  721. +      break
  722. +    fi
  723. +  done
  724. +  IFS="$ac_save_ifs"
  725. +fi
  726. +fi
  727. +CC="$ac_cv_prog_CC"
  728. +if test -n "$CC"; then
  729. +  echo "$ac_t""$CC" 1>&6
  730. +else
  731. +  echo "$ac_t""no" 1>&6
  732. +fi
  733. +
  734.  if test -z "$CC"; then
  735. -  # Extract the first word of `gcc', so it can be a program name with args.
  736. -  set dummy gcc; word=$2
  737. -  echo checking for $word
  738. -  IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  739. -  for dir in $PATH; do
  740. -    test -z "$dir" && dir=.
  741. -    if test -f $dir/$word; then
  742. -      CC="gcc"
  743. +  # Extract the first word of "cc", so it can be a program name with args.
  744. +set dummy cc; ac_word=$2
  745. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  746. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  747. +  echo $ac_n "(cached) $ac_c" 1>&6
  748. +else
  749. +  if test -n "$CC"; then
  750. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  751. +else
  752. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  753. +  ac_prog_rejected=no
  754. +  for ac_dir in $PATH; do
  755. +    test -z "$ac_dir" && ac_dir=.
  756. +    if test -f $ac_dir/$ac_word; then
  757. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  758. +        ac_prog_rejected=yes
  759. +    continue
  760. +      fi
  761. +      ac_cv_prog_CC="cc"
  762.        break
  763.      fi
  764.    done
  765. -  IFS="$saveifs"
  766. +  IFS="$ac_save_ifs"
  767. +if test $ac_prog_rejected = yes; then
  768. +  # We found a bogon in the path, so make sure we never use it.
  769. +  set dummy $ac_cv_prog_CC
  770. +  shift
  771. +  if test $# -gt 0; then
  772. +    # We chose a different compiler from the bogus one.
  773. +    # However, it has the same basename, so the bogon will be chosen
  774. +    # first if we set CC to just the basename; use the full file name.
  775. +    shift
  776. +    set dummy "$ac_dir/$ac_word" "$@"
  777. +    shift
  778. +    ac_cv_prog_CC="$@"
  779. +  fi
  780. +fi
  781. +fi
  782. +fi
  783. +CC="$ac_cv_prog_CC"
  784. +if test -n "$CC"; then
  785. +  echo "$ac_t""$CC" 1>&6
  786. +else
  787. +  echo "$ac_t""no" 1>&6
  788. +fi
  789. +
  790. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  791.  fi
  792. -test -z "$CC" && CC="cc"
  793. -test -n "$CC" -a -n "$verbose" && echo "    setting CC to $CC"
  794.  
  795. -# Find out if we are using GNU C, under whatever name.
  796. -cat > conftest.c <<EOF
  797. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  798. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  799. +  echo $ac_n "(cached) $ac_c" 1>&6
  800. +else
  801. +  cat > conftest.c <<EOF
  802.  #ifdef __GNUC__
  803. -  yes
  804. +  yes;
  805.  #endif
  806.  EOF
  807. -${CC-cc} -E conftest.c > conftest.out 2>&1
  808. -if egrep yes conftest.out >/dev/null 2>&1; then
  809. -  GCC=1 # For later tests.
  810. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  811. +  ac_cv_prog_gcc=yes
  812. +else
  813. +  ac_cv_prog_gcc=no
  814. +fi
  815. +fi
  816. +
  817. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  818. +if test $ac_cv_prog_gcc = yes; then
  819. +  GCC=yes
  820. +  if test "${CFLAGS+set}" != set; then
  821. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  822. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  823. +  echo $ac_n "(cached) $ac_c" 1>&6
  824. +else
  825. +  echo 'void f(){}' > conftest.c
  826. +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  827. +  ac_cv_prog_gcc_g=yes
  828. +else
  829. +  ac_cv_prog_gcc_g=no
  830.  fi
  831.  rm -f conftest*
  832.  
  833. -echo checking how to run the C preprocessor
  834. +fi
  835. +
  836. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  837. +    if test $ac_cv_prog_gcc_g = yes; then
  838. +      CFLAGS="-g -O2"
  839. +    else
  840. +      CFLAGS="-O2"
  841. +    fi
  842. +  fi
  843. +else
  844. +  GCC=
  845. +  test "${CFLAGS+set}" = set || CFLAGS="-g"
  846. +fi
  847. +
  848. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  849. +# On Suns, sometimes $CPP names a directory.
  850. +if test -n "$CPP" && test -d "$CPP"; then
  851. +  CPP=
  852. +fi
  853.  if test -z "$CPP"; then
  854. -  CPP='${CC-cc} -E'
  855. -  cat > conftest.c <<EOF
  856. -#include <stdio.h>
  857. -EOF
  858. -err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  859. -if test -z "$err"; then
  860. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  861. +  echo $ac_n "(cached) $ac_c" 1>&6
  862. +else
  863. +    # This must be in double quotes, not single quotes, because CPP may get
  864. +  # substituted into the Makefile and "${CC-cc}" will confuse make.
  865. +  CPP="${CC-cc} -E"
  866. +  # On the NeXT, cc -E runs the code through the compiler's parser,
  867. +  # not just through cpp.
  868. +  cat > conftest.$ac_ext <<EOF
  869. +#line 673 "configure"
  870. +#include "confdefs.h"
  871. +#include <assert.h>
  872. +Syntax Error
  873. +EOF
  874. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  875. +{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  876. +ac_err=`grep -v '^ *+' conftest.out`
  877. +if test -z "$ac_err"; then
  878. +  :
  879. +else
  880. +  echo "$ac_err" >&5
  881. +  rm -rf conftest*
  882. +  CPP="${CC-cc} -E -traditional-cpp"
  883. +  cat > conftest.$ac_ext <<EOF
  884. +#line 688 "configure"
  885. +#include "confdefs.h"
  886. +#include <assert.h>
  887. +Syntax Error
  888. +EOF
  889. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  890. +{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  891. +ac_err=`grep -v '^ *+' conftest.out`
  892. +if test -z "$ac_err"; then
  893.    :
  894.  else
  895. +  echo "$ac_err" >&5
  896. +  rm -rf conftest*
  897.    CPP=/lib/cpp
  898.  fi
  899.  rm -f conftest*
  900.  fi
  901. +rm -f conftest*
  902. +  ac_cv_prog_CPP="$CPP"
  903. +fi
  904. +  CPP="$ac_cv_prog_CPP"
  905. +else
  906. +  ac_cv_prog_CPP="$CPP"
  907. +fi
  908. +echo "$ac_t""$CPP" 1>&6
  909.  
  910. -echo checking for AIX
  911. -cat > conftest.c <<EOF
  912. +echo $ac_n "checking for AIX""... $ac_c" 1>&6
  913. +cat > conftest.$ac_ext <<EOF
  914. +#line 716 "configure"
  915. +#include "confdefs.h"
  916.  #ifdef _AIX
  917.    yes
  918.  #endif
  919.  
  920.  EOF
  921. -eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  922. -if egrep "yes" conftest.out >/dev/null 2>&1; then
  923. -  {
  924. -test -n "$verbose" && \
  925. -echo '    defining' _ALL_SOURCE
  926. -DEFS="$DEFS -D_ALL_SOURCE=1"
  927. -SEDDEFS="${SEDDEFS}\${SEDdA}_ALL_SOURCE\${SEDdB}_ALL_SOURCE\${SEDdC}1\${SEDdD}
  928. -\${SEDuA}_ALL_SOURCE\${SEDuB}_ALL_SOURCE\${SEDuC}1\${SEDuD}
  929. -\${SEDeA}_ALL_SOURCE\${SEDeB}_ALL_SOURCE\${SEDeC}1\${SEDeD}
  930. -"
  931. -}
  932. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  933. +  egrep "yes" >/dev/null 2>&1; then
  934. +  rm -rf conftest*
  935. +  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  936. +#define _ALL_SOURCE 1
  937. +EOF
  938.  
  939. +else
  940. +  rm -rf conftest*
  941. +  echo "$ac_t""no" 1>&6
  942.  fi
  943.  rm -f conftest*
  944.  
  945.  
  946. -echo checking for minix/config.h
  947. -cat > conftest.c <<EOF
  948. +ac_safe=`echo "minix/config.h" | tr './\055' '___'`
  949. +echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
  950. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  951. +  echo $ac_n "(cached) $ac_c" 1>&6
  952. +else
  953. +  cat > conftest.$ac_ext <<EOF
  954. +#line 743 "configure"
  955. +#include "confdefs.h"
  956.  #include <minix/config.h>
  957.  EOF
  958. -err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  959. -if test -z "$err"; then
  960. -  MINIX=1
  961. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  962. +{ (eval echo configure:748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  963. +ac_err=`grep -v '^ *+' conftest.out`
  964. +if test -z "$ac_err"; then
  965. +  rm -rf conftest*
  966. +  eval "ac_cv_header_$ac_safe=yes"
  967. +else
  968. +  echo "$ac_err" >&5
  969. +  rm -rf conftest*
  970. +  eval "ac_cv_header_$ac_safe=no"
  971.  fi
  972.  rm -f conftest*
  973. +fi
  974. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  975. +  echo "$ac_t""yes" 1>&6
  976. +  MINIX=yes
  977. +else
  978. +  echo "$ac_t""no" 1>&6
  979. +MINIX=
  980. +fi
  981.  
  982. -# The Minix shell can't assign to the same variable on the same line!
  983. -if test -n "$MINIX"; then
  984. -  {
  985. -test -n "$verbose" && \
  986. -echo '    defining' _POSIX_SOURCE
  987. -DEFS="$DEFS -D_POSIX_SOURCE=1"
  988. -SEDDEFS="${SEDDEFS}\${SEDdA}_POSIX_SOURCE\${SEDdB}_POSIX_SOURCE\${SEDdC}1\${SEDdD}
  989. -\${SEDuA}_POSIX_SOURCE\${SEDuB}_POSIX_SOURCE\${SEDuC}1\${SEDuD}
  990. -\${SEDeA}_POSIX_SOURCE\${SEDeB}_POSIX_SOURCE\${SEDeC}1\${SEDeD}
  991. -"
  992. -}
  993. +if test "$MINIX" = yes; then
  994. +  cat >> confdefs.h <<\EOF
  995. +#define _POSIX_SOURCE 1
  996. +EOF
  997.  
  998. -  {
  999. -test -n "$verbose" && \
  1000. -echo '    defining' _POSIX_1_SOURCE to be '2'
  1001. -DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  1002. -SEDDEFS="${SEDDEFS}\${SEDdA}_POSIX_1_SOURCE\${SEDdB}_POSIX_1_SOURCE\${SEDdC}2\${SEDdD}
  1003. -\${SEDuA}_POSIX_1_SOURCE\${SEDuB}_POSIX_1_SOURCE\${SEDuC}2\${SEDuD}
  1004. -\${SEDeA}_POSIX_1_SOURCE\${SEDeB}_POSIX_1_SOURCE\${SEDeC}2\${SEDeD}
  1005. -"
  1006. -}
  1007. +  cat >> confdefs.h <<\EOF
  1008. +#define _POSIX_1_SOURCE 2
  1009. +EOF
  1010.  
  1011. -  {
  1012. -test -n "$verbose" && \
  1013. -echo '    defining' _MINIX
  1014. -DEFS="$DEFS -D_MINIX=1"
  1015. -SEDDEFS="${SEDDEFS}\${SEDdA}_MINIX\${SEDdB}_MINIX\${SEDdC}1\${SEDdD}
  1016. -\${SEDuA}_MINIX\${SEDuB}_MINIX\${SEDuC}1\${SEDuD}
  1017. -\${SEDeA}_MINIX\${SEDeB}_MINIX\${SEDeC}1\${SEDeD}
  1018. -"
  1019. -}
  1020. +  cat >> confdefs.h <<\EOF
  1021. +#define _MINIX 1
  1022. +EOF
  1023.  
  1024.  fi
  1025.  
  1026. -echo checking for POSIXized ISC
  1027. +echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
  1028.  if test -d /etc/conf/kconfig.d &&
  1029.    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  1030.  then
  1031. -  ISC=1 # If later tests want to check for ISC.
  1032. -  {
  1033. -test -n "$verbose" && \
  1034. -echo '    defining' _POSIX_SOURCE
  1035. -DEFS="$DEFS -D_POSIX_SOURCE=1"
  1036. -SEDDEFS="${SEDDEFS}\${SEDdA}_POSIX_SOURCE\${SEDdB}_POSIX_SOURCE\${SEDdC}1\${SEDdD}
  1037. -\${SEDuA}_POSIX_SOURCE\${SEDuB}_POSIX_SOURCE\${SEDuC}1\${SEDuD}
  1038. -\${SEDeA}_POSIX_SOURCE\${SEDeB}_POSIX_SOURCE\${SEDeC}1\${SEDeD}
  1039. -"
  1040. -}
  1041. +  echo "$ac_t""yes" 1>&6
  1042. +  ISC=yes # If later tests want to check for ISC.
  1043. +  cat >> confdefs.h <<\EOF
  1044. +#define _POSIX_SOURCE 1
  1045. +EOF
  1046.  
  1047. -  if test -n "$GCC"; then
  1048. +  if test "$GCC" = yes; then
  1049.      CC="$CC -posix"
  1050.    else
  1051.      CC="$CC -Xp"
  1052.    fi
  1053. +else
  1054. +  echo "$ac_t""no" 1>&6
  1055. +  ISC=
  1056.  fi
  1057.  
  1058. -prog='/* Ultrix mips cc rejects this.  */
  1059. +echo $ac_n "checking for working const""... $ac_c" 1>&6
  1060. +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1061. +  echo $ac_n "(cached) $ac_c" 1>&6
  1062. +else
  1063. +  cat > conftest.$ac_ext <<EOF
  1064. +#line 808 "configure"
  1065. +#include "confdefs.h"
  1066. +
  1067. +int main() { return 0; }
  1068. +int t() {
  1069. +
  1070. +/* Ultrix mips cc rejects this.  */
  1071.  typedef int charset[2]; const charset x;
  1072.  /* SunOS 4.1.1 cc rejects this.  */
  1073.  char const *const *ccp;
  1074.  char **p;
  1075. +/* NEC SVR4.0.2 mips cc rejects this.  */
  1076. +struct point {int x, y;};
  1077. +static struct point const zero = {0,0};
  1078.  /* AIX XL C 1.02.0.0 rejects this.
  1079.     It does not let you subtract one const X* pointer from another in an arm
  1080.     of an if-expression whose if-part is not a constant expression */
  1081.  const char *g = "string";
  1082. -p = &g + (g ? g-g : 0);
  1083. +ccp = &g + (g ? g-g : 0);
  1084.  /* HPUX 7.0 cc rejects these. */
  1085.  ++ccp;
  1086.  p = (char**) ccp;
  1087. @@ -277,7 +834,7 @@ ccp = (char const *const *) p;
  1088.    *t++ = 0;
  1089.  }
  1090.  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  1091. -  int x[] = {25,17};
  1092. +  int x[] = {25, 17};
  1093.    const int *foo = &x[0];
  1094.    ++foo;
  1095.  }
  1096. @@ -290,570 +847,724 @@ ccp = (char const *const *) p;
  1097.       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1098.    struct s { int j; const int *ap[3]; };
  1099.    struct s *b; b->j = 5;
  1100. -}'
  1101. -echo checking for working const
  1102. -cat > conftest.c <<EOF
  1103. +}
  1104. +{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1105. +  const int foo = 10;
  1106. +}
  1107.  
  1108. -int main() { exit(0); }
  1109. -int t() { $prog }
  1110. +; return 0; }
  1111.  EOF
  1112. -if eval $compile; then
  1113. -  :
  1114. +if { (eval echo configure:858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1115. +  rm -rf conftest*
  1116. +  ac_cv_c_const=yes
  1117.  else
  1118. -  {
  1119. -test -n "$verbose" && \
  1120. -echo '    defining' const to be 'empty'
  1121. -DEFS="$DEFS -Dconst="
  1122. -SEDDEFS="${SEDDEFS}\${SEDdA}const\${SEDdB}const\${SEDdC}\${SEDdD}
  1123. -\${SEDuA}const\${SEDuB}const\${SEDuC}\${SEDuD}
  1124. -\${SEDeA}const\${SEDeB}const\${SEDeC}\${SEDeD}
  1125. -"
  1126. -}
  1127. -
  1128. +  rm -rf conftest*
  1129. +  ac_cv_c_const=no
  1130.  fi
  1131.  rm -f conftest*
  1132.  
  1133. -# Make sure to not get the incompatible SysV /etc/install and
  1134. -# /usr/sbin/install, which might be in PATH before a BSD-like install,
  1135. -# or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  1136. -# or the AFS install, which mishandles nonexistent args, or
  1137. -# /usr/ucb/install on SVR4, which tries to use the nonexistent group
  1138. -# `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  1139. -# anyway.  Sigh.
  1140. -if test "z${INSTALL}" = "z" ; then
  1141. -  echo checking for install
  1142. -  IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  1143. -  for dir in $PATH; do
  1144. -    test -z "$dir" && dir=.
  1145. -    case $dir in
  1146. -    /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  1147. +fi
  1148. +
  1149. +echo "$ac_t""$ac_cv_c_const" 1>&6
  1150. +if test $ac_cv_c_const = no; then
  1151. +  cat >> confdefs.h <<\EOF
  1152. +#define const 
  1153. +EOF
  1154. +
  1155. +fi
  1156. +
  1157. +ac_aux_dir=
  1158. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1159. +  if test -f $ac_dir/install-sh; then
  1160. +    ac_aux_dir=$ac_dir
  1161. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1162. +    break
  1163. +  elif test -f $ac_dir/install.sh; then
  1164. +    ac_aux_dir=$ac_dir
  1165. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1166. +    break
  1167. +  fi
  1168. +done
  1169. +if test -z "$ac_aux_dir"; then
  1170. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1171. +fi
  1172. +ac_config_guess=$ac_aux_dir/config.guess
  1173. +ac_config_sub=$ac_aux_dir/config.sub
  1174. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  1175. +
  1176. +# Find a good install program.  We prefer a C program (faster),
  1177. +# so one script is as good as another.  But avoid the broken or
  1178. +# incompatible versions:
  1179. +# SysV /etc/install, /usr/sbin/install
  1180. +# SunOS /usr/etc/install
  1181. +# IRIX /sbin/install
  1182. +# AIX /bin/install
  1183. +# AmigaOS /c/install
  1184. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1185. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1186. +# ./install, which can be erroneously created by make from ./install.sh.
  1187. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1188. +if test -z "$INSTALL"; then
  1189. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1190. +  echo $ac_n "(cached) $ac_c" 1>&6
  1191. +else
  1192. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1193. +  for ac_dir in $PATH; do
  1194. +    # Account for people who put trailing slashes in PATH elements.
  1195. +    case "$ac_dir/" in
  1196. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1197.      *)
  1198. -      if test -f $dir/installbsd; then
  1199. -    INSTALL="$dir/installbsd -c" # OSF1
  1200. -    INSTALL_PROGRAM='$(INSTALL)'
  1201. -    INSTALL_DATA='$(INSTALL) -m 644'
  1202. -    break
  1203. -      fi
  1204. -      if test -f $dir/install; then
  1205. -    if grep dspmsg $dir/install >/dev/null 2>&1; then
  1206. -      : # AIX
  1207. -    else
  1208. -      INSTALL="$dir/install -c"
  1209. -      INSTALL_PROGRAM='$(INSTALL)'
  1210. -      INSTALL_DATA='$(INSTALL) -m 644'
  1211. -      break
  1212. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  1213. +      for ac_prog in ginstall installbsd scoinst install; do
  1214. +        if test -f $ac_dir/$ac_prog; then
  1215. +      if test $ac_prog = install &&
  1216. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1217. +        # AIX install.  It has an incompatible calling convention.
  1218. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  1219. +        :
  1220. +      else
  1221. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  1222. +        break 2
  1223. +      fi
  1224.      fi
  1225. -      fi
  1226. +      done
  1227.        ;;
  1228.      esac
  1229.    done
  1230. -  IFS="$saveifs"
  1231. +  IFS="$ac_save_ifs"
  1232. +
  1233.  fi
  1234. -INSTALL=${INSTALL-cp}
  1235. -INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  1236. -INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  1237. -
  1238. -echo checking for directory library header
  1239. -dirheader=
  1240. -if test -z "$dirheader"; then
  1241. -  echo checking for dirent.h
  1242. -cat > conftest.c <<EOF
  1243. -#include <sys/types.h>
  1244. -#include <dirent.h>
  1245. -int main() { exit(0); }
  1246. -int t() { DIR *dirp = opendir ("/"); }
  1247. -EOF
  1248. -if eval $compile; then
  1249. -  {
  1250. -test -n "$verbose" && \
  1251. -echo '    defining' DIRENT
  1252. -DEFS="$DEFS -DDIRENT=1"
  1253. -SEDDEFS="${SEDDEFS}\${SEDdA}DIRENT\${SEDdB}DIRENT\${SEDdC}1\${SEDdD}
  1254. -\${SEDuA}DIRENT\${SEDuB}DIRENT\${SEDuC}1\${SEDuD}
  1255. -\${SEDeA}DIRENT\${SEDeB}DIRENT\${SEDeC}1\${SEDeD}
  1256. -"
  1257. -}
  1258. - dirheader=dirent.h
  1259. +  if test "${ac_cv_path_install+set}" = set; then
  1260. +    INSTALL="$ac_cv_path_install"
  1261. +  else
  1262. +    # As a last resort, use the slow shell script.  We don't cache a
  1263. +    # path for INSTALL within a source directory, because that will
  1264. +    # break other packages using the cache if that directory is
  1265. +    # removed, or if the path is relative.
  1266. +    INSTALL="$ac_install_sh"
  1267. +  fi
  1268.  fi
  1269. -rm -f conftest*
  1270. +echo "$ac_t""$INSTALL" 1>&6
  1271. +
  1272. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1273. +# It thinks the first close brace ends the variable substitution.
  1274. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1275. +
  1276. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1277. +
  1278. +# If we cannot run a trivial program, we must be cross compiling.
  1279. +echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
  1280. +if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
  1281. +  echo $ac_n "(cached) $ac_c" 1>&6
  1282. +else
  1283. +  if test "$cross_compiling" = yes; then
  1284. +  ac_cv_c_cross=yes
  1285. +else
  1286. +cat > conftest.$ac_ext <<EOF
  1287. +#line 965 "configure"
  1288. +#include "confdefs.h"
  1289. +main(){return(0);}
  1290. +EOF
  1291. +{ (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1292. +if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1293. +  ac_cv_c_cross=no
  1294. +else
  1295. +  ac_cv_c_cross=yes
  1296.  fi
  1297. -if test -z "$dirheader"; then
  1298. -  echo checking for sys/ndir.h
  1299. -cat > conftest.c <<EOF
  1300. -#include <sys/types.h>
  1301. -#include <sys/ndir.h>
  1302. -int main() { exit(0); }
  1303. -int t() { DIR *dirp = opendir ("/"); }
  1304. -EOF
  1305. -if eval $compile; then
  1306. -  {
  1307. -test -n "$verbose" && \
  1308. -echo '    defining' SYSNDIR
  1309. -DEFS="$DEFS -DSYSNDIR=1"
  1310. -SEDDEFS="${SEDDEFS}\${SEDdA}SYSNDIR\${SEDdB}SYSNDIR\${SEDdC}1\${SEDdD}
  1311. -\${SEDuA}SYSNDIR\${SEDuB}SYSNDIR\${SEDuC}1\${SEDuD}
  1312. -\${SEDeA}SYSNDIR\${SEDeB}SYSNDIR\${SEDeC}1\${SEDeD}
  1313. -"
  1314. -}
  1315. - dirheader=sys/ndir.h
  1316.  fi
  1317. -rm -f conftest*
  1318. +rm -fr conftest*
  1319.  fi
  1320. -if test -z "$dirheader"; then
  1321. -  echo checking for sys/dir.h
  1322. -cat > conftest.c <<EOF
  1323. +
  1324. +echo "$ac_t""$ac_cv_c_cross" 1>&6
  1325. +cross_compiling=$ac_cv_c_cross
  1326. +
  1327. +ac_header_dirent=no
  1328. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  1329. +  ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  1330. +echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
  1331. +if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1332. +  echo $ac_n "(cached) $ac_c" 1>&6
  1333. +else
  1334. +  cat > conftest.$ac_ext <<EOF
  1335. +#line 990 "configure"
  1336. +#include "confdefs.h"
  1337.  #include <sys/types.h>
  1338. -#include <sys/dir.h>
  1339. -int main() { exit(0); }
  1340. -int t() { DIR *dirp = opendir ("/"); }
  1341. -EOF
  1342. -if eval $compile; then
  1343. -  {
  1344. -test -n "$verbose" && \
  1345. -echo '    defining' SYSDIR
  1346. -DEFS="$DEFS -DSYSDIR=1"
  1347. -SEDDEFS="${SEDDEFS}\${SEDdA}SYSDIR\${SEDdB}SYSDIR\${SEDdC}1\${SEDdD}
  1348. -\${SEDuA}SYSDIR\${SEDuB}SYSDIR\${SEDuC}1\${SEDuD}
  1349. -\${SEDeA}SYSDIR\${SEDeB}SYSDIR\${SEDeC}1\${SEDeD}
  1350. -"
  1351. -}
  1352. - dirheader=sys/dir.h
  1353. +#include <$ac_hdr>
  1354. +int main() { return 0; }
  1355. +int t() {
  1356. +DIR *dirp = 0;
  1357. +; return 0; }
  1358. +EOF
  1359. +if { (eval echo configure:999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1360. +  rm -rf conftest*
  1361. +  eval "ac_cv_header_dirent_$ac_safe=yes"
  1362. +else
  1363. +  rm -rf conftest*
  1364. +  eval "ac_cv_header_dirent_$ac_safe=no"
  1365.  fi
  1366.  rm -f conftest*
  1367. +
  1368.  fi
  1369. -if test -z "$dirheader"; then
  1370. -  echo checking for ndir.h
  1371. -cat > conftest.c <<EOF
  1372. -#include <sys/types.h>
  1373. -#include <ndir.h>
  1374. -int main() { exit(0); }
  1375. -int t() { DIR *dirp = opendir ("/"); }
  1376. -EOF
  1377. -if eval $compile; then
  1378. -  {
  1379. -test -n "$verbose" && \
  1380. -echo '    defining' NDIR
  1381. -DEFS="$DEFS -DNDIR=1"
  1382. -SEDDEFS="${SEDDEFS}\${SEDdA}NDIR\${SEDdB}NDIR\${SEDdC}1\${SEDdD}
  1383. -\${SEDuA}NDIR\${SEDuB}NDIR\${SEDuC}1\${SEDuD}
  1384. -\${SEDeA}NDIR\${SEDeB}NDIR\${SEDeC}1\${SEDeD}
  1385. -"
  1386. -}
  1387. - dirheader=ndir.h
  1388. -fi
  1389. -rm -f conftest*
  1390. +if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1391. +  echo "$ac_t""yes" 1>&6
  1392. +  ac_header_dirent=$ac_hdr; break
  1393. +else
  1394. +  echo "$ac_t""no" 1>&6
  1395.  fi
  1396.  
  1397. -echo checking for closedir return value
  1398. -cat > conftest.c <<EOF
  1399. +done
  1400. +
  1401. +case "$ac_header_dirent" in
  1402. +dirent.h) cat >> confdefs.h <<\EOF
  1403. +#define DIRENT 1
  1404. +EOF
  1405. + ;;
  1406. +sys/ndir.h) cat >> confdefs.h <<\EOF
  1407. +#define SYSNDIR 1
  1408. +EOF
  1409. + ;;
  1410. +sys/dir.h) cat >> confdefs.h <<\EOF
  1411. +#define SYSDIR 1
  1412. +EOF
  1413. + ;;
  1414. +ndir.h) cat >> confdefs.h <<\EOF
  1415. +#define NDIR 1
  1416. +EOF
  1417. + ;;
  1418. +esac
  1419. +
  1420. +echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6
  1421. +if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then
  1422. +  echo $ac_n "(cached) $ac_c" 1>&6
  1423. +else
  1424. +  if test "$cross_compiling" = yes; then
  1425. +  ac_cv_func_closedir_void=yes
  1426. +else
  1427. +cat > conftest.$ac_ext <<EOF
  1428. +#line 1045 "configure"
  1429. +#include "confdefs.h"
  1430.  #include <sys/types.h>
  1431. -#include <$dirheader>
  1432. +#include <$ac_header_dirent>
  1433.  int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  1434.  EOF
  1435. -eval $compile
  1436. +{ (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1437.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1438. -  :
  1439. +  ac_cv_func_closedir_void=no
  1440.  else
  1441. -  {
  1442. -test -n "$verbose" && \
  1443. -echo '    defining' VOID_CLOSEDIR
  1444. -DEFS="$DEFS -DVOID_CLOSEDIR=1"
  1445. -SEDDEFS="${SEDDEFS}\${SEDdA}VOID_CLOSEDIR\${SEDdB}VOID_CLOSEDIR\${SEDdC}1\${SEDdD}
  1446. -\${SEDuA}VOID_CLOSEDIR\${SEDuB}VOID_CLOSEDIR\${SEDuC}1\${SEDuD}
  1447. -\${SEDeA}VOID_CLOSEDIR\${SEDeB}VOID_CLOSEDIR\${SEDeC}1\${SEDeD}
  1448. -"
  1449. -}
  1450. -
  1451. +  ac_cv_func_closedir_void=yes
  1452. +fi
  1453. +fi
  1454. +rm -fr conftest*
  1455.  fi
  1456. -rm -f conftest*
  1457.  
  1458. -if test -z "$dirheader"; then
  1459. -  {
  1460. -test -n "$verbose" && \
  1461. -echo '    defining' NODIR
  1462. -DEFS="$DEFS -DNODIR=1"
  1463. -SEDDEFS="${SEDDEFS}\${SEDdA}NODIR\${SEDdB}NODIR\${SEDdC}1\${SEDdD}
  1464. -\${SEDuA}NODIR\${SEDuB}NODIR\${SEDuC}1\${SEDuD}
  1465. -\${SEDeA}NODIR\${SEDeB}NODIR\${SEDeC}1\${SEDeD}
  1466. -"
  1467. -}
  1468. +echo "$ac_t""$ac_cv_func_closedir_void" 1>&6
  1469. +if test $ac_cv_func_closedir_void = yes; then
  1470. +  cat >> confdefs.h <<\EOF
  1471. +#define VOID_CLOSEDIR 1
  1472. +EOF
  1473.  
  1474.  fi
  1475. -echo checking for return type of signal handlers
  1476. -cat > conftest.c <<EOF
  1477. +
  1478. +echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
  1479. +if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  1480. +  echo $ac_n "(cached) $ac_c" 1>&6
  1481. +else
  1482. +  cat > conftest.$ac_ext <<EOF
  1483. +#line 1074 "configure"
  1484. +#include "confdefs.h"
  1485.  #include <sys/types.h>
  1486.  #include <signal.h>
  1487.  #ifdef signal
  1488.  #undef signal
  1489.  #endif
  1490. -extern void (*signal ()) ();
  1491. -int main() { exit(0); }
  1492. -int t() { int i; }
  1493. -EOF
  1494. -if eval $compile; then
  1495. -  {
  1496. -test -n "$verbose" && \
  1497. -echo '    defining' RETSIGTYPE to be 'void'
  1498. -DEFS="$DEFS -DRETSIGTYPE=void"
  1499. -SEDDEFS="${SEDDEFS}\${SEDdA}RETSIGTYPE\${SEDdB}RETSIGTYPE\${SEDdC}void\${SEDdD}
  1500. -\${SEDuA}RETSIGTYPE\${SEDuB}RETSIGTYPE\${SEDuC}void\${SEDuD}
  1501. -\${SEDeA}RETSIGTYPE\${SEDeB}RETSIGTYPE\${SEDeC}void\${SEDeD}
  1502. -"
  1503. -}
  1504. +#ifdef __cplusplus
  1505. +extern "C" void (*signal (int, void (*)(int)))(int);
  1506. +#else
  1507. +void (*signal ()) ();
  1508. +#endif
  1509.  
  1510. +int main() { return 0; }
  1511. +int t() {
  1512. +int i;
  1513. +; return 0; }
  1514. +EOF
  1515. +if { (eval echo configure:1092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1516. +  rm -rf conftest*
  1517. +  ac_cv_type_signal=void
  1518.  else
  1519. -  {
  1520. -test -n "$verbose" && \
  1521. -echo '    defining' RETSIGTYPE to be 'int'
  1522. -DEFS="$DEFS -DRETSIGTYPE=int"
  1523. -SEDDEFS="${SEDDEFS}\${SEDdA}RETSIGTYPE\${SEDdB}RETSIGTYPE\${SEDdC}int\${SEDdD}
  1524. -\${SEDuA}RETSIGTYPE\${SEDuB}RETSIGTYPE\${SEDuC}int\${SEDuD}
  1525. -\${SEDeA}RETSIGTYPE\${SEDeB}RETSIGTYPE\${SEDeC}int\${SEDeD}
  1526. -"
  1527. -}
  1528. -
  1529. +  rm -rf conftest*
  1530. +  ac_cv_type_signal=int
  1531.  fi
  1532.  rm -f conftest*
  1533.  
  1534. +fi
  1535. +
  1536. +echo "$ac_t""$ac_cv_type_signal" 1>&6
  1537. +cat >> confdefs.h <<EOF
  1538. +#define RETSIGTYPE $ac_cv_type_signal
  1539. +EOF
  1540. +
  1541.  
  1542. -echo checking for ANSI C header files
  1543. -cat > conftest.c <<EOF
  1544. +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  1545. +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  1546. +  echo $ac_n "(cached) $ac_c" 1>&6
  1547. +else
  1548. +  cat > conftest.$ac_ext <<EOF
  1549. +#line 1114 "configure"
  1550. +#include "confdefs.h"
  1551.  #include <stdlib.h>
  1552.  #include <stdarg.h>
  1553.  #include <string.h>
  1554.  #include <float.h>
  1555.  EOF
  1556. -err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  1557. -if test -z "$err"; then
  1558. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1559. +{ (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1560. +ac_err=`grep -v '^ *+' conftest.out`
  1561. +if test -z "$ac_err"; then
  1562. +  rm -rf conftest*
  1563. +  ac_cv_header_stdc=yes
  1564. +else
  1565. +  echo "$ac_err" >&5
  1566. +  rm -rf conftest*
  1567. +  ac_cv_header_stdc=no
  1568. +fi
  1569. +rm -f conftest*
  1570. +
  1571. +if test $ac_cv_header_stdc = yes; then
  1572.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1573. -echo '#include <string.h>' > conftest.c
  1574. -eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  1575. -if egrep "memchr" conftest.out >/dev/null 2>&1; then
  1576. -  # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1577. -cat > conftest.c <<EOF
  1578. +cat > conftest.$ac_ext <<EOF
  1579. +#line 1137 "configure"
  1580. +#include "confdefs.h"
  1581. +#include <string.h>
  1582. +EOF
  1583. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1584. +  egrep "memchr" >/dev/null 2>&1; then
  1585. +  :
  1586. +else
  1587. +  rm -rf conftest*
  1588. +  ac_cv_header_stdc=no
  1589. +fi
  1590. +rm -f conftest*
  1591. +
  1592. +fi
  1593. +
  1594. +if test $ac_cv_header_stdc = yes; then
  1595. +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1596. +cat > conftest.$ac_ext <<EOF
  1597. +#line 1155 "configure"
  1598. +#include "confdefs.h"
  1599. +#include <stdlib.h>
  1600. +EOF
  1601. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1602. +  egrep "free" >/dev/null 2>&1; then
  1603. +  :
  1604. +else
  1605. +  rm -rf conftest*
  1606. +  ac_cv_header_stdc=no
  1607. +fi
  1608. +rm -f conftest*
  1609. +
  1610. +fi
  1611. +
  1612. +if test $ac_cv_header_stdc = yes; then
  1613. +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1614. +if test "$cross_compiling" = yes; then
  1615. +  :
  1616. +else
  1617. +cat > conftest.$ac_ext <<EOF
  1618. +#line 1176 "configure"
  1619. +#include "confdefs.h"
  1620.  #include <ctype.h>
  1621.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1622.  #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1623. -#define XOR(e,f) (((e) && !(f)) || (!(e) && (f)))
  1624. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1625.  int main () { int i; for (i = 0; i < 256; i++)
  1626.  if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  1627.  exit (0); }
  1628.  
  1629.  EOF
  1630. -eval $compile
  1631. +{ (eval echo configure:1187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1632.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1633. -  {
  1634. -test -n "$verbose" && \
  1635. -echo '    defining' STDC_HEADERS
  1636. -DEFS="$DEFS -DSTDC_HEADERS=1"
  1637. -SEDDEFS="${SEDDEFS}\${SEDdA}STDC_HEADERS\${SEDdB}STDC_HEADERS\${SEDdC}1\${SEDdD}
  1638. -\${SEDuA}STDC_HEADERS\${SEDuB}STDC_HEADERS\${SEDuC}1\${SEDuD}
  1639. -\${SEDeA}STDC_HEADERS\${SEDeB}STDC_HEADERS\${SEDeC}1\${SEDeD}
  1640. -"
  1641. -}
  1642. -
  1643. +  :
  1644. +else
  1645. +  ac_cv_header_stdc=no
  1646.  fi
  1647. -rm -f conftest*
  1648.  fi
  1649. -rm -f conftest*
  1650. -
  1651. +rm -fr conftest*
  1652. +fi
  1653.  fi
  1654. -rm -f conftest*
  1655.  
  1656. -echo checking for unistd.h
  1657. -cat > conftest.c <<EOF
  1658. -#include <unistd.h>
  1659. -EOF
  1660. -err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  1661. -if test -z "$err"; then
  1662. -  {
  1663. -test -n "$verbose" && \
  1664. -echo '    defining' HAVE_UNISTD_H
  1665. -DEFS="$DEFS -DHAVE_UNISTD_H=1"
  1666. -SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_UNISTD_H\${SEDdB}HAVE_UNISTD_H\${SEDdC}1\${SEDdD}
  1667. -\${SEDuA}HAVE_UNISTD_H\${SEDuB}HAVE_UNISTD_H\${SEDuC}1\${SEDuD}
  1668. -\${SEDeA}HAVE_UNISTD_H\${SEDeB}HAVE_UNISTD_H\${SEDeC}1\${SEDeD}
  1669. -"
  1670. -}
  1671. +echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1672. +if test $ac_cv_header_stdc = yes; then
  1673. +  cat >> confdefs.h <<\EOF
  1674. +#define STDC_HEADERS 1
  1675. +EOF
  1676.  
  1677.  fi
  1678. -rm -f conftest*
  1679.  
  1680. -for hdr in string.h fcntl.h
  1681. +for ac_hdr in unistd.h
  1682.  do
  1683. -trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  1684. -echo checking for ${hdr}
  1685. -cat > conftest.c <<EOF
  1686. -#include <${hdr}>
  1687. -EOF
  1688. -err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  1689. -if test -z "$err"; then
  1690. -  {
  1691. -test -n "$verbose" && \
  1692. -echo '    defining' ${trhdr}
  1693. -DEFS="$DEFS -D${trhdr}=1"
  1694. -SEDDEFS="${SEDDEFS}\${SEDdA}${trhdr}\${SEDdB}${trhdr}\${SEDdC}1\${SEDdD}
  1695. -\${SEDuA}${trhdr}\${SEDuB}${trhdr}\${SEDuC}1\${SEDuD}
  1696. -\${SEDeA}${trhdr}\${SEDeB}${trhdr}\${SEDeC}1\${SEDeD}
  1697. -"
  1698. -}
  1699. +ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  1700. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1701. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1702. +  echo $ac_n "(cached) $ac_c" 1>&6
  1703. +else
  1704. +  cat > conftest.$ac_ext <<EOF
  1705. +#line 1214 "configure"
  1706. +#include "confdefs.h"
  1707. +#include <$ac_hdr>
  1708. +EOF
  1709. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1710. +{ (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1711. +ac_err=`grep -v '^ *+' conftest.out`
  1712. +if test -z "$ac_err"; then
  1713. +  rm -rf conftest*
  1714. +  eval "ac_cv_header_$ac_safe=yes"
  1715. +else
  1716. +  echo "$ac_err" >&5
  1717. +  rm -rf conftest*
  1718. +  eval "ac_cv_header_$ac_safe=no"
  1719. +fi
  1720. +rm -f conftest*
  1721. +fi
  1722. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1723. +  echo "$ac_t""yes" 1>&6
  1724. +    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  1725. +  cat >> confdefs.h <<EOF
  1726. +#define $ac_tr_hdr 1
  1727. +EOF
  1728. +else
  1729. +  echo "$ac_t""no" 1>&6
  1730. +fi
  1731. +done
  1732.  
  1733. +for ac_hdr in string.h fcntl.h
  1734. +do
  1735. +ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  1736. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1737. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1738. +  echo $ac_n "(cached) $ac_c" 1>&6
  1739. +else
  1740. +  cat > conftest.$ac_ext <<EOF
  1741. +#line 1251 "configure"
  1742. +#include "confdefs.h"
  1743. +#include <$ac_hdr>
  1744. +EOF
  1745. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1746. +{ (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1747. +ac_err=`grep -v '^ *+' conftest.out`
  1748. +if test -z "$ac_err"; then
  1749. +  rm -rf conftest*
  1750. +  eval "ac_cv_header_$ac_safe=yes"
  1751. +else
  1752. +  echo "$ac_err" >&5
  1753. +  rm -rf conftest*
  1754. +  eval "ac_cv_header_$ac_safe=no"
  1755.  fi
  1756.  rm -f conftest*
  1757. +fi
  1758. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1759. +  echo "$ac_t""yes" 1>&6
  1760. +    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  1761. +  cat >> confdefs.h <<EOF
  1762. +#define $ac_tr_hdr 1
  1763. +EOF
  1764. +else
  1765. +  echo "$ac_t""no" 1>&6
  1766. +fi
  1767.  done
  1768.  
  1769. -for func in rename
  1770. +for ac_func in rename
  1771.  do
  1772. -echo checking for ${func}
  1773. -cat > conftest.c <<EOF
  1774. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1775. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1776. +  echo $ac_n "(cached) $ac_c" 1>&6
  1777. +else
  1778. +  cat > conftest.$ac_ext <<EOF
  1779. +#line 1287 "configure"
  1780. +#include "confdefs.h"
  1781. +/* System header to define __stub macros and hopefully few prototypes,
  1782. +    which can conflict with char $ac_func(); below.  */
  1783. +#include <assert.h>
  1784. +/* Override any gcc2 internal prototype to avoid an error.  */
  1785. +/* We use char because int might match the return type of a gcc2
  1786. +    builtin and then its argument prototype would still apply.  */
  1787. +char $ac_func();
  1788. +
  1789. +int main() { t(); return 0; }
  1790. +int t() {
  1791.  
  1792. -int main() { exit(0); }
  1793. -int t() { /* The GNU C library defines this for functions which it implements
  1794. +/* The GNU C library defines this for functions which it implements
  1795.      to always fail with ENOSYS.  Some functions are actually named
  1796.      something starting with __ and the normal name is an alias.  */
  1797. -#if defined (__stub_${func}) || defined (__stub___${func})
  1798. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1799.  choke me
  1800.  #else
  1801. -/* Override any gcc2 internal prototype to avoid an error.  */
  1802. -extern char ${func}(); ${func}();
  1803. +$ac_func();
  1804.  #endif
  1805. - }
  1806. +
  1807. +; return 0; }
  1808.  EOF
  1809. -if eval $compile; then
  1810. -  :
  1811. +if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1812. +  rm -rf conftest*
  1813. +  eval "ac_cv_func_$ac_func=yes"
  1814.  else
  1815. -  LIBOBJS="$LIBOBJS ${func}.o"
  1816. -test -n "$verbose" && echo "    using ${func}.o instead"
  1817. +  rm -rf conftest*
  1818. +  eval "ac_cv_func_$ac_func=no"
  1819.  fi
  1820.  rm -f conftest*
  1821.  
  1822. +fi
  1823. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1824. +  echo "$ac_t""yes" 1>&6
  1825. +  :
  1826. +else
  1827. +  echo "$ac_t""no" 1>&6
  1828. +LIBOBJS="$LIBOBJS ${ac_func}.o"
  1829. +fi
  1830. +
  1831.  done
  1832.  
  1833. -for func in pathconf strerror
  1834. +for ac_func in pathconf strerror
  1835.  do
  1836. -trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
  1837. -echo checking for ${func}
  1838. -cat > conftest.c <<EOF
  1839. -#include <ctype.h>
  1840. -int main() { exit(0); }
  1841. -int t() { 
  1842. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1843. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1844. +  echo $ac_n "(cached) $ac_c" 1>&6
  1845. +else
  1846. +  cat > conftest.$ac_ext <<EOF
  1847. +#line 1338 "configure"
  1848. +#include "confdefs.h"
  1849. +/* System header to define __stub macros and hopefully few prototypes,
  1850. +    which can conflict with char $ac_func(); below.  */
  1851. +#include <assert.h>
  1852. +/* Override any gcc2 internal prototype to avoid an error.  */
  1853. +/* We use char because int might match the return type of a gcc2
  1854. +    builtin and then its argument prototype would still apply.  */
  1855. +char $ac_func();
  1856. +
  1857. +int main() { t(); return 0; }
  1858. +int t() {
  1859. +
  1860.  /* The GNU C library defines this for functions which it implements
  1861.      to always fail with ENOSYS.  Some functions are actually named
  1862.      something starting with __ and the normal name is an alias.  */
  1863. -#if defined (__stub_${func}) || defined (__stub___${func})
  1864. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1865.  choke me
  1866.  #else
  1867. -/* Override any gcc2 internal prototype to avoid an error.  */
  1868. -extern char ${func}(); ${func}();
  1869. +$ac_func();
  1870.  #endif
  1871. - }
  1872. -EOF
  1873. -if eval $compile; then
  1874. -  {
  1875. -test -n "$verbose" && \
  1876. -echo '    defining' ${trfunc}
  1877. -DEFS="$DEFS -D${trfunc}=1"
  1878. -SEDDEFS="${SEDDEFS}\${SEDdA}${trfunc}\${SEDdB}${trfunc}\${SEDdC}1\${SEDdD}
  1879. -\${SEDuA}${trfunc}\${SEDuB}${trfunc}\${SEDuC}1\${SEDuD}
  1880. -\${SEDeA}${trfunc}\${SEDeB}${trfunc}\${SEDeC}1\${SEDeD}
  1881. -"
  1882. -}
  1883.  
  1884. +; return 0; }
  1885. +EOF
  1886. +if { (eval echo configure:1362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1887. +  rm -rf conftest*
  1888. +  eval "ac_cv_func_$ac_func=yes"
  1889. +else
  1890. +  rm -rf conftest*
  1891. +  eval "ac_cv_func_$ac_func=no"
  1892.  fi
  1893.  rm -f conftest*
  1894. +
  1895. +fi
  1896. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1897. +  echo "$ac_t""yes" 1>&6
  1898. +    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1899. +  cat >> confdefs.h <<EOF
  1900. +#define $ac_tr_func 1
  1901. +EOF
  1902. +else
  1903. +  echo "$ac_t""no" 1>&6
  1904. +fi
  1905.  done
  1906.  
  1907.  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1908.  # for constant arguments.  Useless!
  1909. -echo checking for working alloca.h
  1910. -cat > conftest.c <<EOF
  1911. +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  1912. +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1913. +  echo $ac_n "(cached) $ac_c" 1>&6
  1914. +else
  1915. +  cat > conftest.$ac_ext <<EOF
  1916. +#line 1391 "configure"
  1917. +#include "confdefs.h"
  1918.  #include <alloca.h>
  1919. -int main() { exit(0); }
  1920. -int t() { char *p = alloca(2 * sizeof(int)); }
  1921. +int main() { t(); return 0; }
  1922. +int t() {
  1923. +char *p = alloca(2 * sizeof(int));
  1924. +; return 0; }
  1925. +EOF
  1926. +if { (eval echo configure:1399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1927. +  rm -rf conftest*
  1928. +  ac_cv_header_alloca_h=yes
  1929. +else
  1930. +  rm -rf conftest*
  1931. +  ac_cv_header_alloca_h=no
  1932. +fi
  1933. +rm -f conftest*
  1934. +
  1935. +fi
  1936. +
  1937. +echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
  1938. +if test $ac_cv_header_alloca_h = yes; then
  1939. +  cat >> confdefs.h <<\EOF
  1940. +#define HAVE_ALLOCA_H 1
  1941.  EOF
  1942. -if eval $compile; then
  1943. -  {
  1944. -test -n "$verbose" && \
  1945. -echo '    defining' HAVE_ALLOCA_H
  1946. -DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1947. -SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_ALLOCA_H\${SEDdB}HAVE_ALLOCA_H\${SEDdC}1\${SEDdD}
  1948. -\${SEDuA}HAVE_ALLOCA_H\${SEDuB}HAVE_ALLOCA_H\${SEDuC}1\${SEDuD}
  1949. -\${SEDeA}HAVE_ALLOCA_H\${SEDeB}HAVE_ALLOCA_H\${SEDeC}1\${SEDeD}
  1950. -"
  1951. -}
  1952.  
  1953.  fi
  1954. -rm -f conftest*
  1955.  
  1956. -decl="#ifdef __GNUC__
  1957. -#define alloca __builtin_alloca
  1958. -#else
  1959. -#if HAVE_ALLOCA_H
  1960. -#include <alloca.h>
  1961. +echo $ac_n "checking for alloca""... $ac_c" 1>&6
  1962. +if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
  1963. +  echo $ac_n "(cached) $ac_c" 1>&6
  1964. +else
  1965. +  cat > conftest.$ac_ext <<EOF
  1966. +#line 1423 "configure"
  1967. +#include "confdefs.h"
  1968. +
  1969. +#ifdef __GNUC__
  1970. +# define alloca __builtin_alloca
  1971.  #else
  1972. -#ifdef _AIX
  1973. +# if HAVE_ALLOCA_H
  1974. +#  include <alloca.h>
  1975. +# else
  1976. +#  ifdef _AIX
  1977.   #pragma alloca
  1978. -#else
  1979. +#  else
  1980. +#   ifndef alloca /* predefined by HP cc +Olibcalls */
  1981.  char *alloca ();
  1982. +#   endif
  1983. +#  endif
  1984. +# endif
  1985.  #endif
  1986. -#endif
  1987. -#endif
  1988. -"
  1989. -echo checking for alloca
  1990. -cat > conftest.c <<EOF
  1991. -$decl
  1992. -int main() { exit(0); }
  1993. -int t() { char *p = (char *) alloca(1); }
  1994. -EOF
  1995. -if eval $compile; then
  1996. -  :
  1997. +
  1998. +int main() { t(); return 0; }
  1999. +int t() {
  2000. +char *p = (char *) alloca(1);
  2001. +; return 0; }
  2002. +EOF
  2003. +if { (eval echo configure:1447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2004. +  rm -rf conftest*
  2005. +  ac_cv_func_alloca=yes
  2006.  else
  2007. -  alloca_missing=1
  2008. -cat > conftest.c <<EOF
  2009. +  rm -rf conftest*
  2010. +  ac_cv_func_alloca=no
  2011. +fi
  2012. +rm -f conftest*
  2013.  
  2014. -#if defined(CRAY) && ! defined(CRAY2)
  2015. -winnitude
  2016. -#else
  2017. -lossage
  2018. -#endif
  2019. +fi
  2020.  
  2021. +echo "$ac_t""$ac_cv_func_alloca" 1>&6
  2022. +if test $ac_cv_func_alloca = yes; then
  2023. +  cat >> confdefs.h <<\EOF
  2024. +#define HAVE_ALLOCA 1
  2025.  EOF
  2026. -eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  2027. -if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  2028. -  echo checking for _getb67
  2029. -cat > conftest.c <<EOF
  2030. -#include <ctype.h>
  2031. -int main() { exit(0); }
  2032. -int t() { 
  2033. -/* The GNU C library defines this for functions which it implements
  2034. -    to always fail with ENOSYS.  Some functions are actually named
  2035. -    something starting with __ and the normal name is an alias.  */
  2036. -#if defined (__stub__getb67) || defined (__stub____getb67)
  2037. -choke me
  2038. -#else
  2039. -/* Override any gcc2 internal prototype to avoid an error.  */
  2040. -extern char _getb67(); _getb67();
  2041. -#endif
  2042. - }
  2043. +
  2044. +fi
  2045. +
  2046. +if test $ac_cv_func_alloca = no; then
  2047. +  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  2048. +  # that cause trouble.  Some versions do not even contain alloca or
  2049. +  # contain a buggy version.  If you still want to use their alloca,
  2050. +  # use ar to extract alloca.o from them instead of compiling alloca.c.
  2051. +  ALLOCA=alloca.o
  2052. +  cat >> confdefs.h <<\EOF
  2053. +#define C_ALLOCA 1
  2054.  EOF
  2055. -if eval $compile; then
  2056. -  {
  2057. -test -n "$verbose" && \
  2058. -echo '    defining' CRAY_STACKSEG_END to be '_getb67'
  2059. -DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  2060. -SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}_getb67\${SEDdD}
  2061. -\${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}_getb67\${SEDuD}
  2062. -\${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}_getb67\${SEDeD}
  2063. -"
  2064. -}
  2065.  
  2066. +
  2067. +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  2068. +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  2069. +  echo $ac_n "(cached) $ac_c" 1>&6
  2070.  else
  2071. -  echo checking for GETB67
  2072. -cat > conftest.c <<EOF
  2073. -#include <ctype.h>
  2074. -int main() { exit(0); }
  2075. -int t() { 
  2076. -/* The GNU C library defines this for functions which it implements
  2077. -    to always fail with ENOSYS.  Some functions are actually named
  2078. -    something starting with __ and the normal name is an alias.  */
  2079. -#if defined (__stub_GETB67) || defined (__stub___GETB67)
  2080. -choke me
  2081. +  cat > conftest.$ac_ext <<EOF
  2082. +#line 1482 "configure"
  2083. +#include "confdefs.h"
  2084. +#if defined(CRAY) && ! defined(CRAY2)
  2085. +webecray
  2086.  #else
  2087. -/* Override any gcc2 internal prototype to avoid an error.  */
  2088. -extern char GETB67(); GETB67();
  2089. +wenotbecray
  2090.  #endif
  2091. - }
  2092. +
  2093.  EOF
  2094. -if eval $compile; then
  2095. -  {
  2096. -test -n "$verbose" && \
  2097. -echo '    defining' CRAY_STACKSEG_END to be 'GETB67'
  2098. -DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  2099. -SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}GETB67\${SEDdD}
  2100. -\${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}GETB67\${SEDuD}
  2101. -\${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}GETB67\${SEDeD}
  2102. -"
  2103. -}
  2104. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2105. +  egrep "webecray" >/dev/null 2>&1; then
  2106. +  rm -rf conftest*
  2107. +  ac_cv_os_cray=yes
  2108. +else
  2109. +  rm -rf conftest*
  2110. +  ac_cv_os_cray=no
  2111. +fi
  2112. +rm -f conftest*
  2113.  
  2114. +fi
  2115. +
  2116. +echo "$ac_t""$ac_cv_os_cray" 1>&6
  2117. +if test $ac_cv_os_cray = yes; then
  2118. +for ac_func in _getb67 GETB67 getb67; do
  2119. +  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  2120. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2121. +  echo $ac_n "(cached) $ac_c" 1>&6
  2122.  else
  2123. -  echo checking for getb67
  2124. -cat > conftest.c <<EOF
  2125. -#include <ctype.h>
  2126. -int main() { exit(0); }
  2127. -int t() { 
  2128. +  cat > conftest.$ac_ext <<EOF
  2129. +#line 1511 "configure"
  2130. +#include "confdefs.h"
  2131. +/* System header to define __stub macros and hopefully few prototypes,
  2132. +    which can conflict with char $ac_func(); below.  */
  2133. +#include <assert.h>
  2134. +/* Override any gcc2 internal prototype to avoid an error.  */
  2135. +/* We use char because int might match the return type of a gcc2
  2136. +    builtin and then its argument prototype would still apply.  */
  2137. +char $ac_func();
  2138. +
  2139. +int main() { t(); return 0; }
  2140. +int t() {
  2141. +
  2142.  /* The GNU C library defines this for functions which it implements
  2143.      to always fail with ENOSYS.  Some functions are actually named
  2144.      something starting with __ and the normal name is an alias.  */
  2145. -#if defined (__stub_getb67) || defined (__stub___getb67)
  2146. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2147.  choke me
  2148.  #else
  2149. -/* Override any gcc2 internal prototype to avoid an error.  */
  2150. -extern char getb67(); getb67();
  2151. +$ac_func();
  2152.  #endif
  2153. - }
  2154. -EOF
  2155. -if eval $compile; then
  2156. -  {
  2157. -test -n "$verbose" && \
  2158. -echo '    defining' CRAY_STACKSEG_END to be 'getb67'
  2159. -DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  2160. -SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}getb67\${SEDdD}
  2161. -\${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}getb67\${SEDuD}
  2162. -\${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}getb67\${SEDeD}
  2163. -"
  2164. -}
  2165. -
  2166. -fi
  2167. -rm -f conftest*
  2168.  
  2169. +; return 0; }
  2170. +EOF
  2171. +if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2172. +  rm -rf conftest*
  2173. +  eval "ac_cv_func_$ac_func=yes"
  2174. +else
  2175. +  rm -rf conftest*
  2176. +  eval "ac_cv_func_$ac_func=no"
  2177.  fi
  2178.  rm -f conftest*
  2179.  
  2180.  fi
  2181. -rm -f conftest*
  2182. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2183. +  echo "$ac_t""yes" 1>&6
  2184. +  cat >> confdefs.h <<EOF
  2185. +#define CRAY_STACKSEG_END $ac_func
  2186. +EOF
  2187.  
  2188. +  break
  2189. +else
  2190. +  echo "$ac_t""no" 1>&6
  2191.  fi
  2192. -rm -f conftest*
  2193. -
  2194.  
  2195. +done
  2196.  fi
  2197. -rm -f conftest*
  2198.  
  2199. -if test -n "$alloca_missing"; then
  2200. -  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  2201. -  # that cause trouble.  Some versions do not even contain alloca or
  2202. -  # contain a buggy version.  If you still want to use their alloca,
  2203. -  # use ar to extract alloca.o from them instead of compiling alloca.c.
  2204. -  ALLOCA=alloca.o
  2205. -
  2206. -  echo 'checking stack direction for C alloca'
  2207. -  echo checking whether cross-compiling
  2208. -# If we cannot run a trivial program, we must be cross compiling.
  2209. -cat > conftest.c <<EOF
  2210. -main(){exit(0);}
  2211. -EOF
  2212. -eval $compile
  2213. -if test -s conftest && (./conftest; exit) 2>/dev/null; then
  2214. -  :
  2215. +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  2216. +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2217. +  echo $ac_n "(cached) $ac_c" 1>&6
  2218.  else
  2219. -  cross_compiling=1
  2220. -fi
  2221. -rm -f conftest*
  2222. -
  2223. -if test -n "$cross_compiling"
  2224. -then
  2225. -  {
  2226. -test -n "$verbose" && \
  2227. -echo '    defining' STACK_DIRECTION to be '0'
  2228. -DEFS="$DEFS -DSTACK_DIRECTION=0"
  2229. -SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}0\${SEDdD}
  2230. -\${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}0\${SEDuD}
  2231. -\${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}0\${SEDeD}
  2232. -"
  2233. -}
  2234. -
  2235. +  if test "$cross_compiling" = yes; then
  2236. +  ac_cv_c_stack_direction=0
  2237.  else
  2238. -cat > conftest.c <<EOF
  2239. +cat > conftest.$ac_ext <<EOF
  2240. +#line 1567 "configure"
  2241. +#include "confdefs.h"
  2242.  find_stack_direction ()
  2243.  {
  2244.    static char *addr = 0;
  2245. @@ -871,255 +1582,381 @@ main ()
  2246.    exit (find_stack_direction() < 0);
  2247.  }
  2248.  EOF
  2249. -eval $compile
  2250. +{ (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  2251.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  2252. -  {
  2253. -test -n "$verbose" && \
  2254. -echo '    defining' STACK_DIRECTION to be '1'
  2255. -DEFS="$DEFS -DSTACK_DIRECTION=1"
  2256. -SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}1\${SEDdD}
  2257. -\${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}1\${SEDuD}
  2258. -\${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}1\${SEDeD}
  2259. -"
  2260. -}
  2261. -
  2262. +  ac_cv_c_stack_direction=1
  2263.  else
  2264. -  {
  2265. -test -n "$verbose" && \
  2266. -echo '    defining' STACK_DIRECTION to be '-1'
  2267. -DEFS="$DEFS -DSTACK_DIRECTION=-1"
  2268. -SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}-1\${SEDdD}
  2269. -\${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}-1\${SEDuD}
  2270. -\${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}-1\${SEDeD}
  2271. -"
  2272. -}
  2273. -
  2274. +  ac_cv_c_stack_direction=-1
  2275.  fi
  2276.  fi
  2277. -rm -f conftest*
  2278. +rm -fr conftest*
  2279.  fi
  2280.  
  2281. -echo checking for long file names
  2282. -lost=false
  2283. +echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
  2284. +cat >> confdefs.h <<EOF
  2285. +#define STACK_DIRECTION $ac_cv_c_stack_direction
  2286. +EOF
  2287. +
  2288. +fi
  2289. +
  2290. +echo $ac_n "checking for long file names""... $ac_c" 1>&6
  2291. +if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
  2292. +  echo $ac_n "(cached) $ac_c" 1>&6
  2293. +else
  2294. +  ac_cv_sys_long_file_names=yes
  2295.  # Test for long file names in all the places we know might matter:
  2296.  #      .        the current directory, where building will happen
  2297.  #      /tmp        where it might want to write temporary files
  2298. +#      /var/tmp        likewise
  2299.  #      /usr/tmp        likewise
  2300. -#      $prefix        where we will be installing things
  2301. -#      $exec_prefix    likewise
  2302. -for dir in . /tmp /usr/tmp $prefix $exec_prefix ; do
  2303. -  (echo 1 > $dir/conftest9012345) 2>/dev/null
  2304. -  (echo 2 > $dir/conftest9012346) 2>/dev/null
  2305. -  val=`cat $dir/conftest9012345 2>/dev/null`
  2306. -  test -f $dir/conftest9012345 && test "$val" = 1 || lost=true
  2307. -  rm -f $dir/conftest9012345 $dir/conftest9012346
  2308. +#      $prefix/lib    where we will be installing things
  2309. +#      $exec_prefix/lib    likewise
  2310. +# eval it to expand exec_prefix.
  2311. +for ac_dir in `eval echo . /tmp /var/tmp /usr/tmp $prefix/lib $exec_prefix/lib` ; do
  2312. +  test -d $ac_dir || continue
  2313. +  test -w $ac_dir || continue # It is less confusing to not echo anything here.
  2314. +  (echo 1 > $ac_dir/conftest9012345) 2>/dev/null
  2315. +  (echo 2 > $ac_dir/conftest9012346) 2>/dev/null
  2316. +  val=`cat $ac_dir/conftest9012345 2>/dev/null`
  2317. +  if test ! -f $ac_dir/conftest9012345 || test "$val" != 1; then
  2318. +    ac_cv_sys_long_file_names=no
  2319. +    rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null
  2320. +    break
  2321. +  fi
  2322. +  rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null
  2323.  done
  2324. -$lost || {
  2325. -test -n "$verbose" && \
  2326. -echo '    defining' HAVE_LONG_FILE_NAMES
  2327. -DEFS="$DEFS -DHAVE_LONG_FILE_NAMES=1"
  2328. -SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_LONG_FILE_NAMES\${SEDdB}HAVE_LONG_FILE_NAMES\${SEDdC}1\${SEDdD}
  2329. -\${SEDuA}HAVE_LONG_FILE_NAMES\${SEDuB}HAVE_LONG_FILE_NAMES\${SEDuC}1\${SEDuD}
  2330. -\${SEDeA}HAVE_LONG_FILE_NAMES\${SEDeB}HAVE_LONG_FILE_NAMES\${SEDeC}1\${SEDeD}
  2331. -"
  2332. -}
  2333. +fi
  2334. +
  2335. +echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
  2336. +if test $ac_cv_sys_long_file_names = yes; then
  2337. +  cat >> confdefs.h <<\EOF
  2338. +#define HAVE_LONG_FILE_NAMES 1
  2339. +EOF
  2340.  
  2341. +fi
  2342.  
  2343. -echo checking for Xenix
  2344. -cat > conftest.c <<EOF
  2345. +echo $ac_n "checking for Xenix""... $ac_c" 1>&6
  2346. +cat > conftest.$ac_ext <<EOF
  2347. +#line 1641 "configure"
  2348. +#include "confdefs.h"
  2349.  #if defined(M_XENIX) && !defined(M_UNIX)
  2350.    yes
  2351.  #endif
  2352.  
  2353.  EOF
  2354. -eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  2355. -if egrep "yes" conftest.out >/dev/null 2>&1; then
  2356. -  XENIX=1
  2357. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2358. +  egrep "yes" >/dev/null 2>&1; then
  2359. +  rm -rf conftest*
  2360. +  echo "$ac_t""yes" 1>&6; XENIX=yes
  2361. +else
  2362. +  rm -rf conftest*
  2363. +  echo "$ac_t""no" 1>&6; XENIX=
  2364.  fi
  2365.  rm -f conftest*
  2366.  
  2367. -if test -n "$XENIX"; then
  2368. +if test "$XENIX" = yes; then
  2369. +  # Make sure -ldir precedes -lx.
  2370. +  test $ac_header_dirent = dirent.h && LIBS="-ldir $LIBS"
  2371.    LIBS="$LIBS -lx"
  2372. -  case "$DEFS" in
  2373. -  *SYSNDIR*) ;;
  2374. -  *) LIBS="-ldir $LIBS" ;; # Make sure -ldir precedes any -lx.
  2375. -  esac
  2376.  fi
  2377.  
  2378. -if test -n "$prefix"; then
  2379. -  test -z "$exec_prefix" && exec_prefix='${prefix}'
  2380. -  prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  2381. -fi
  2382. -if test -n "$exec_prefix"; then
  2383. -  prsub="$prsub
  2384. -s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  2385. -fi
  2386. -cat >conftest.def <<EOF
  2387. -$DEFS
  2388. -EOF
  2389. -escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  2390. -DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
  2391. -rm -f conftest.def
  2392. -
  2393. -trap 'rm -f config.status; exit 1' 1 3 15
  2394. -echo creating config.status
  2395. -rm -f config.status
  2396. -cat > config.status <<EOF
  2397. -#!/bin/sh
  2398. +trap '' 1 2 15
  2399. +cat > confcache <<\EOF
  2400. +# This file is a shell script that caches the results of configure
  2401. +# tests run on this system so they can be shared between configure
  2402. +# scripts and configure runs.  It is not useful on other systems.
  2403. +# If it contains results you don't want to keep, you may remove or edit it.
  2404. +#
  2405. +# By default, configure uses ./config.cache as the cache file,
  2406. +# creating it if it does not exist already.  You can give configure
  2407. +# the --cache-file=FILE option to use a different cache file; that is
  2408. +# what configure does when it calls configure scripts in
  2409. +# subdirectories, so they share the cache.
  2410. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  2411. +# config.status only pays attention to the cache file if you give it the
  2412. +# --recheck option to rerun configure.
  2413. +#
  2414. +EOF
  2415. +# Ultrix sh set writes to stderr and can't be redirected directly,
  2416. +# and sets the high bit in the cache file unless we assign to the vars.
  2417. +(set) 2>&1 |
  2418. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  2419. +  >> confcache
  2420. +if cmp -s $cache_file confcache; then
  2421. +  :
  2422. +else
  2423. +  if test -w $cache_file; then
  2424. +    echo "updating cache $cache_file"
  2425. +    cat confcache > $cache_file
  2426. +  else
  2427. +    echo "not updating unwritable cache $cache_file"
  2428. +  fi
  2429. +fi
  2430. +rm -f confcache
  2431. +
  2432. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2433. +
  2434. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2435. +# Let make expand exec_prefix.
  2436. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2437. +
  2438. +# Any assignment to VPATH causes Sun make to only execute
  2439. +# the first set of double-colon rules, so remove it if not needed.
  2440. +# If there is a colon in the path, we need to keep it.
  2441. +if test "x$srcdir" = x.; then
  2442. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  2443. +fi
  2444. +
  2445. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  2446. +
  2447. +DEFS=-DHAVE_CONFIG_H
  2448. +
  2449. +# Without the "./", some shells look in PATH for config.status.
  2450. +: ${CONFIG_STATUS=./config.status}
  2451. +
  2452. +echo creating $CONFIG_STATUS
  2453. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  2454. +# being executed, so just move it out of the way instead.
  2455. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  2456. +cat > $CONFIG_STATUS <<EOF
  2457. +#! /bin/sh
  2458.  # Generated automatically by configure.
  2459.  # Run this file to recreate the current configuration.
  2460.  # This directory was configured as follows,
  2461.  # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2462.  #
  2463. -# $0 $configure_args
  2464. +# $0 $ac_configure_args
  2465. +#
  2466. +# Compiler output produced by configure, useful for debugging
  2467. +# configure, is in ./config.log if it exists.
  2468.  
  2469. -for arg
  2470. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  2471. +for ac_option
  2472.  do
  2473. -  case "\$arg" in
  2474. -    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2475. -    exec /bin/sh $0 $configure_args ;;
  2476. -    *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  2477. +  case "\$ac_option" in
  2478. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2479. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2480. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2481. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2482. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  2483. +    exit 0 ;;
  2484. +  -help | --help | --hel | --he | --h)
  2485. +    echo "\$ac_cs_usage"; exit 0 ;;
  2486. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  2487.    esac
  2488.  done
  2489.  
  2490. -trap 'rm -f Makefile config.h conftest*; exit 1' 1 3 15
  2491. -CC='$CC'
  2492. -CPP='$CPP'
  2493. -INSTALL='$INSTALL'
  2494. -INSTALL_PROGRAM='$INSTALL_PROGRAM'
  2495. -INSTALL_DATA='$INSTALL_DATA'
  2496. -LIBOBJS='$LIBOBJS'
  2497. -ALLOCA='$ALLOCA'
  2498. -LIBS='$LIBS'
  2499. -srcdir='$srcdir'
  2500. -prefix='$prefix'
  2501. -exec_prefix='$exec_prefix'
  2502. -prsub='$prsub'
  2503. -EOF
  2504. -cat >> config.status <<\EOF
  2505. -
  2506. -top_srcdir=$srcdir
  2507. +ac_given_srcdir=$srcdir
  2508. +ac_given_INSTALL="$INSTALL"
  2509.  
  2510. -# Allow make-time overrides of the generated file list.
  2511. -test -n "$gen_files" || gen_files="Makefile"
  2512. +trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  2513. +EOF
  2514. +cat >> $CONFIG_STATUS <<EOF
  2515.  
  2516. -for file in .. $gen_files; do if [ "x$file" != "x.." ]; then
  2517. -  srcdir=$top_srcdir
  2518. -  # Remove last slash and all that follows it.  Not all systems have dirname.
  2519. -  dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  2520. -  if test "$dir" != "$file"; then
  2521. -    test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  2522. -    test ! -d $dir && mkdir $dir
  2523. -  fi
  2524. -  echo creating $file
  2525. -  rm -f $file
  2526. -  echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  2527. -  sed -e "
  2528. -$prsub
  2529. +# Protect against being on the right side of a sed subst in config.status.
  2530. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  2531. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  2532. +$ac_vpsub
  2533. +$extrasub
  2534. +s%@CFLAGS@%$CFLAGS%g
  2535. +s%@CPPFLAGS@%$CPPFLAGS%g
  2536. +s%@CXXFLAGS@%$CXXFLAGS%g
  2537. +s%@DEFS@%$DEFS%g
  2538. +s%@LDFLAGS@%$LDFLAGS%g
  2539. +s%@LIBS@%$LIBS%g
  2540. +s%@exec_prefix@%$exec_prefix%g
  2541. +s%@prefix@%$prefix%g
  2542. +s%@program_transform_name@%$program_transform_name%g
  2543. +s%@bindir@%$bindir%g
  2544. +s%@sbindir@%$sbindir%g
  2545. +s%@libexecdir@%$libexecdir%g
  2546. +s%@datadir@%$datadir%g
  2547. +s%@sysconfdir@%$sysconfdir%g
  2548. +s%@sharedstatedir@%$sharedstatedir%g
  2549. +s%@localstatedir@%$localstatedir%g
  2550. +s%@libdir@%$libdir%g
  2551. +s%@includedir@%$includedir%g
  2552. +s%@oldincludedir@%$oldincludedir%g
  2553. +s%@infodir@%$infodir%g
  2554. +s%@guidedir@%$guidedir%g
  2555. +s%@psdir@%$psdir%g
  2556. +s%@dvidir@%$dvidir%g
  2557. +s%@mandir@%$mandir%g
  2558.  s%@CC@%$CC%g
  2559.  s%@CPP@%$CPP%g
  2560. -s%@INSTALL@%$INSTALL%g
  2561.  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  2562.  s%@INSTALL_DATA@%$INSTALL_DATA%g
  2563.  s%@LIBOBJS@%$LIBOBJS%g
  2564.  s%@ALLOCA@%$ALLOCA%g
  2565. -s%@LIBS@%$LIBS%g
  2566. +
  2567. +CEOF
  2568. +EOF
  2569. +cat >> $CONFIG_STATUS <<EOF
  2570. +
  2571. +CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  2572. +EOF
  2573. +cat >> $CONFIG_STATUS <<\EOF
  2574. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2575. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  2576. +  case "$ac_file" in
  2577. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2578. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2579. +  *) ac_file_in="${ac_file}.in" ;;
  2580. +  esac
  2581. +
  2582. +  # Adjust relative srcdir, etc. for subdirectories.
  2583. +
  2584. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  2585. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2586. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2587. +    # The file is in a subdirectory.
  2588. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  2589. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2590. +    # A "../" for each directory in $ac_dir_suffix.
  2591. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2592. +  else
  2593. +    ac_dir_suffix= ac_dots=
  2594. +  fi
  2595. +
  2596. +  case "$ac_given_srcdir" in
  2597. +  .)  srcdir=.
  2598. +      if test -z "$ac_dots"; then top_srcdir=.
  2599. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2600. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2601. +  *) # Relative path.
  2602. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2603. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2604. +  esac
  2605. +
  2606. +  case "$ac_given_INSTALL" in
  2607. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2608. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2609. +  esac
  2610. +  echo creating "$ac_file"
  2611. +  rm -f "$ac_file"
  2612. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2613. +  case "$ac_file" in
  2614. +  *Makefile*) ac_comsub="1i\\
  2615. +# $configure_input" ;;
  2616. +  *) ac_comsub= ;;
  2617. +  esac
  2618. +  sed -e "$ac_comsub
  2619. +s%@configure_input@%$configure_input%g
  2620.  s%@srcdir@%$srcdir%g
  2621. -s%@DEFS@%-DHAVE_CONFIG_H%" $top_srcdir/${file}.in >> $file
  2622. +s%@top_srcdir@%$top_srcdir%g
  2623. +s%@INSTALL@%$INSTALL%g
  2624. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  2625.  fi; done
  2626. -test -n "$gen_config" || gen_config=config.h
  2627. -echo creating $gen_config
  2628. -# These sed commands are put into SEDDEFS when defining a macro.
  2629. -# They are broken into pieces to make the sed script easier to manage.
  2630. -# They are passed to sed as "A NAME B NAME C VALUE D", where NAME
  2631. -# is the cpp macro being defined and VALUE is the value it is being given.
  2632. -# Each defining turns into a single global substitution command.
  2633. +rm -f conftest.subs
  2634. +
  2635. +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  2636. +# NAME is the cpp macro being defined and VALUE is the value it is being given.
  2637.  #
  2638. -# SEDd sets the value in "#define NAME VALUE" lines.
  2639. -SEDdA='s@^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  2640. -SEDdB='\([     ][     ]*\)[^     ]*@\1#\2'
  2641. -SEDdC='\3'
  2642. -SEDdD='@g'
  2643. -# SEDu turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2644. -SEDuA='s@^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2645. -SEDuB='\([     ]\)@\1#\2define\3'
  2646. -SEDuC=' '
  2647. -SEDuD='\4@g'
  2648. -# SEDe turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2649. -SEDeA='s@^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2650. -SEDeB='$@\1#\2define\3'
  2651. -SEDeC=' '
  2652. -SEDeD='@g'
  2653. -rm -f conftest.sed
  2654. -EOF
  2655. -# Turn off quoting long enough to insert the sed commands.
  2656. -rm -f conftest.sh
  2657. -cat > conftest.sh <<EOF
  2658. -$SEDDEFS
  2659. -EOF
  2660. +# ac_d sets the value in "#define NAME VALUE" lines.
  2661. +ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  2662. +ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  2663. +ac_dC='\3'
  2664. +ac_dD='%g'
  2665. +# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2666. +ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2667. +ac_uB='\([     ]\)%\1#\2define\3'
  2668. +ac_uC=' '
  2669. +ac_uD='\4%g'
  2670. +# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2671. +ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2672. +ac_eB='$%\1#\2define\3'
  2673. +ac_eC=' '
  2674. +ac_eD='%g'
  2675. +
  2676. +CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
  2677. +for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2678. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  2679. +  case "$ac_file" in
  2680. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2681. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2682. +  *) ac_file_in="${ac_file}.in" ;;
  2683. +  esac
  2684.  
  2685. -# Maximum number of lines to put in a single here document.
  2686. -maxshlines=9
  2687. +  echo creating $ac_file
  2688.  
  2689. -# Break up $SEDDEFS (now in conftest.sh) because some shells have a limit
  2690. -# on the size of here documents.
  2691. +  rm -f conftest.frag conftest.in conftest.out
  2692. +  cp $ac_given_srcdir/$ac_file_in conftest.in
  2693.  
  2694. -while :
  2695. -do
  2696. -  lines=`grep -c . conftest.sh`
  2697. -  if test -z "$lines" || test "$lines" -eq 0; then break; fi
  2698. -  rm -f conftest.s1 conftest.s2
  2699. -  sed ${maxshlines}q conftest.sh > conftest.s1 # Like head -20.
  2700. -  sed 1,${maxshlines}d conftest.sh > conftest.s2 # Like tail +21.
  2701. -  # Write a limited-size here document to append to conftest.sed.
  2702. -  echo 'cat >> conftest.sed <<CONFEOF' >> config.status
  2703. -  cat conftest.s1 >> config.status
  2704. -  echo 'CONFEOF' >> config.status
  2705. -  rm -f conftest.s1 conftest.sh
  2706. -  mv conftest.s2 conftest.sh
  2707. -done
  2708. -rm -f conftest.sh
  2709. +EOF
  2710.  
  2711. -# Now back to your regularly scheduled config.status.
  2712. -cat >> config.status <<\EOF
  2713. -# This sed command replaces #undef's with comments.  This is necessary, for
  2714. +# Transform confdefs.h into a sed script conftest.vals that substitutes
  2715. +# the proper values into config.h.in to produce config.h.  And first:
  2716. +# Protect against being on the right side of a sed subst in config.status.
  2717. +# Protect against being in an unquoted here document in config.status.
  2718. +rm -f conftest.vals
  2719. +cat > conftest.hdr <<\EOF
  2720. +s/[\\&%]/\\&/g
  2721. +s%[\\$`]%\\&%g
  2722. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  2723. +s%ac_d%ac_u%gp
  2724. +s%ac_u%ac_e%gp
  2725. +EOF
  2726. +sed -n -f conftest.hdr confdefs.h > conftest.vals
  2727. +rm -f conftest.hdr
  2728. +
  2729. +# This sed command replaces #undef with comments.  This is necessary, for
  2730.  # example, in the case of _POSIX_SOURCE, which is predefined and required
  2731. -# on some systems where configure will not decide to define it in
  2732. -# config.h.
  2733. -cat >> conftest.sed <<\CONFEOF
  2734. -s,^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  2735. -CONFEOF
  2736. -rm -f conftest.h
  2737. -# Break up the sed commands because old seds have small limits.
  2738. -maxsedlines=20
  2739. -cp $top_srcdir/$gen_config.in conftest.h1
  2740. +# on some systems where configure will not decide to define it.
  2741. +cat >> conftest.vals <<\EOF
  2742. +s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  2743. +EOF
  2744. +
  2745. +# Break up conftest.vals because some shells have a limit on
  2746. +# the size of here documents, and old seds have small limits too.
  2747. +# Maximum number of lines to put in a single here document.
  2748. +ac_max_here_lines=12
  2749. +
  2750. +rm -f conftest.tail
  2751.  while :
  2752.  do
  2753. -  lines=`grep -c . conftest.sed`
  2754. -  if test -z "$lines" || test "$lines" -eq 0; then break; fi
  2755. -  rm -f conftest.s1 conftest.s2 conftest.h2
  2756. -  sed ${maxsedlines}q conftest.sed > conftest.s1 # Like head -20.
  2757. -  sed 1,${maxsedlines}d conftest.sed > conftest.s2 # Like tail +21.
  2758. -  sed -f conftest.s1 < conftest.h1 > conftest.h2
  2759. -  rm -f conftest.s1 conftest.h1 conftest.sed
  2760. -  mv conftest.h2 conftest.h1
  2761. -  mv conftest.s2 conftest.sed
  2762. +  ac_lines=`grep -c . conftest.vals`
  2763. +  # grep -c gives empty output for an empty file on some AIX systems.
  2764. +  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2765. +  # Write a limited-size here document to conftest.frag.
  2766. +  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  2767. +  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  2768. +  echo 'CEOF
  2769. +  sed -f conftest.frag conftest.in > conftest.out
  2770. +  rm -f conftest.in
  2771. +  mv conftest.out conftest.in
  2772. +' >> $CONFIG_STATUS
  2773. +  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  2774. +  rm -f conftest.vals
  2775. +  mv conftest.tail conftest.vals
  2776.  done
  2777. -rm -f conftest.sed conftest.h
  2778. -echo "/* $gen_config.  Generated automatically by configure.  */" > conftest.h
  2779. -cat conftest.h1 >> conftest.h
  2780. -rm -f conftest.h1
  2781. -if cmp -s $gen_config conftest.h 2>/dev/null; then
  2782. -  # The file exists and we would not be changing it.
  2783. -  rm -f conftest.h
  2784. -else
  2785. -  rm -f $gen_config
  2786. -  mv conftest.h $gen_config
  2787. -fi
  2788. +rm -f conftest.vals
  2789. +
  2790. +cat >> $CONFIG_STATUS <<\EOF
  2791. +  rm -f conftest.frag conftest.h
  2792. +  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  2793. +  cat conftest.in >> conftest.h
  2794. +  rm -f conftest.in
  2795. +  if cmp -s $ac_file conftest.h 2>/dev/null; then
  2796. +    echo "$ac_file is unchanged"
  2797. +    rm -f conftest.h
  2798. +  else
  2799. +    # Remove last slash and all that follows it.  Not all systems have dirname.
  2800. +      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2801. +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2802. +      # The file is in a subdirectory.
  2803. +      test ! -d "$ac_dir" && mkdir "$ac_dir"
  2804. +    fi
  2805. +    rm -f $ac_file
  2806. +    mv conftest.h $ac_file
  2807. +  fi
  2808. +fi; done
  2809. +
  2810.  
  2811.  
  2812.  exit 0
  2813.  EOF
  2814. -chmod +x config.status
  2815. -test -n "$no_create" || ./config.status
  2816. +chmod +x $CONFIG_STATUS
  2817. +rm -f CONFIG.STATUS.old
  2818. +rm -fr confdefs* $ac_clean_files
  2819. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2820.  
  2821. diff -rup --new-file baseline/fsf/patch/configure.in amiga/fsf/patch/configure.in
  2822. --- baseline/fsf/patch/configure.in    Mon May 31 12:39:03 1993
  2823. +++ amiga/fsf/patch/configure.in    Sat Sep 28 00:00:00 1996
  2824. @@ -9,12 +9,9 @@ AC_ISC_POSIX
  2825.  AC_CONST
  2826.  AC_PROG_INSTALL
  2827.  AC_DIR_HEADER
  2828. -if test -z "$dirheader"; then
  2829. -  AC_DEFINE(NODIR)
  2830. -fi
  2831.  AC_RETSIGTYPE
  2832.  AC_STDC_HEADERS
  2833. -AC_UNISTD_H
  2834. +AC_HAVE_HEADERS(unistd.h)
  2835.  AC_HAVE_HEADERS(string.h fcntl.h)
  2836.  AC_REPLACE_FUNCS(rename)
  2837.  AC_HAVE_FUNCS(pathconf strerror)
  2838. diff -rup --new-file baseline/fsf/patch/manifests/bin amiga/fsf/patch/manifests/bin
  2839. --- baseline/fsf/patch/manifests/bin    Wed Dec 31 17:00:00 1969
  2840. +++ amiga/fsf/patch/manifests/bin    Sat Sep 28 00:00:00 1996
  2841. @@ -0,0 +1,4 @@
  2842. +COPYING
  2843. +COPYING.info
  2844. +bin/patch
  2845. +man/man1/patch.1
  2846. diff -rup --new-file baseline/fsf/patch/manifests/src amiga/fsf/patch/manifests/src
  2847. --- baseline/fsf/patch/manifests/src    Wed Dec 31 17:00:00 1969
  2848. +++ amiga/fsf/patch/manifests/src    Sat Sep 28 00:00:00 1996
  2849. @@ -0,0 +1,33 @@
  2850. +fsf/patch/COPYING
  2851. +fsf/patch/ChangeLog
  2852. +fsf/patch/EXTERN.h
  2853. +fsf/patch/INSTALL
  2854. +fsf/patch/INTERN.h
  2855. +fsf/patch/Makefile.in
  2856. +fsf/patch/NEWS
  2857. +fsf/patch/Product-Info
  2858. +fsf/patch/README
  2859. +fsf/patch/alloca.c
  2860. +fsf/patch/backupfile.c
  2861. +fsf/patch/backupfile.h
  2862. +fsf/patch/common.h
  2863. +fsf/patch/config.h.in
  2864. +fsf/patch/configure
  2865. +fsf/patch/configure.in
  2866. +fsf/patch/getopt.c
  2867. +fsf/patch/getopt.h
  2868. +fsf/patch/getopt1.c
  2869. +fsf/patch/inp.c
  2870. +fsf/patch/inp.h
  2871. +fsf/patch/manifests/bin
  2872. +fsf/patch/manifests/src
  2873. +fsf/patch/patch.c
  2874. +fsf/patch/patch.man
  2875. +fsf/patch/patchlevel.h
  2876. +fsf/patch/pch.c
  2877. +fsf/patch/pch.h
  2878. +fsf/patch/rename.c
  2879. +fsf/patch/util.c
  2880. +fsf/patch/util.h
  2881. +fsf/patch/version.c
  2882. +fsf/patch/version.h
  2883.