home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / doschk-1.1-diffs.gz / doschk-1.1-diffs
Text File  |  1996-10-13  |  51KB  |  1,549 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/doschk/BeOS.diffs amiga/fsf/doschk/BeOS.diffs
  12. --- baseline/fsf/doschk/BeOS.diffs    Wed Dec 31 17:00:00 1969
  13. +++ amiga/fsf/doschk/BeOS.diffs    Sat Sep 28 00:00:00 1996
  14. @@ -0,0 +1,63 @@
  15. +This patch works around current bugs in the BeOS shell that affect
  16. +configure.
  17. +
  18. +============================================================================
  19. +
  20. +diff -rc doschk-ref/configure doschk/configure
  21. +*** doschk-ref/configure    Tue Sep 10 03:10:54 1996
  22. +--- doschk/configure    Fri Sep 27 23:12:25 1996
  23. +***************
  24. +*** 598,604 ****
  25. +    yes;
  26. +  #endif
  27. +  EOF
  28. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  29. +    ac_cv_prog_gcc=yes
  30. +  else
  31. +    ac_cv_prog_gcc=no
  32. +--- 598,604 ----
  33. +    yes;
  34. +  #endif
  35. +  EOF
  36. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:602: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
  37. +    ac_cv_prog_gcc=yes
  38. +  else
  39. +    ac_cv_prog_gcc=no
  40. +***************
  41. +*** 733,741 ****
  42. +  EOF
  43. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  44. +  # and sets the high bit in the cache file unless we assign to the vars.
  45. +! (set) 2>&1 |
  46. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  47. +!   >> confcache
  48. +  if cmp -s $cache_file confcache; then
  49. +    :
  50. +  else
  51. +--- 733,741 ----
  52. +  EOF
  53. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  54. +  # and sets the high bit in the cache file unless we assign to the vars.
  55. +! (set) >cache.tmp 2>&1 
  56. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  57. +!   <cache.tmp >> confcache
  58. +  if cmp -s $cache_file confcache; then
  59. +    :
  60. +  else
  61. +***************
  62. +*** 746,752 ****
  63. +      echo "not updating unwritable cache $cache_file"
  64. +    fi
  65. +  fi
  66. +! rm -f confcache
  67. +  
  68. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  69. +  
  70. +--- 746,752 ----
  71. +      echo "not updating unwritable cache $cache_file"
  72. +    fi
  73. +  fi
  74. +! rm -f confcache cache.tmp
  75. +  
  76. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  77. +  
  78. diff -rup --new-file baseline/fsf/doschk/Makefile.in amiga/fsf/doschk/Makefile.in
  79. --- baseline/fsf/doschk/Makefile.in    Fri May 21 12:14:09 1993
  80. +++ amiga/fsf/doschk/Makefile.in    Sat Sep 28 00:00:00 1996
  81. @@ -29,16 +29,17 @@ INSTALL_DATA = @INSTALL_DATA@
  82.  DEFS = @DEFS@
  83.  LIBS = @LIBS@
  84.  
  85. -CFLAGS = -g
  86. -LDFLAGS = -g
  87. +CFLAGS = -O2
  88. +LDFLAGS =
  89.  
  90. -prefix = /usr/local
  91. +prefix = @prefix@
  92.  exec_prefix = $(prefix)
  93.  
  94.  bindir = $(exec_prefix)/bin
  95.  datadir = $(prefix)/lib
  96.  libdir = $(prefix)/lib
  97.  infodir = $(prefix)/info
  98. +guidedir = $(prefix)/guide
  99.  
  100.  # Where to install the manual pages.
  101.  mandir = $(prefix)/man/man1
  102. @@ -110,6 +111,9 @@ check: doschk
  103.  
  104.  #doschk.dvi: doschk.texi
  105.  #    cd $(srcdir); texi2dvi doschk.texi
  106. +
  107. +doschk.guide: doschk.texi
  108. +    cd $(srcdir); makeinfo --amiga doschk.texi -o $@
  109.  
  110.  # Prevent GNU make v3 from overflowing arg limit on SysV.
  111.  .NOEXPORT:
  112. diff -rup --new-file baseline/fsf/doschk/Product-Info amiga/fsf/doschk/Product-Info
  113. --- baseline/fsf/doschk/Product-Info    Wed Dec 31 17:00:00 1969
  114. +++ amiga/fsf/doschk/Product-Info    Sat Sep 28 00:00:00 1996
  115. @@ -0,0 +1,25 @@
  116. +.name
  117. +doschk
  118. +.fullname
  119. +Check DOS/SYSV filenames
  120. +.type
  121. +Miscellaneous
  122. +.short
  123. +Check DOS/SYSV filename limits.
  124. +.description
  125. +This program is intended as a utility to help software developers
  126. +ensure that their source file names are distinguishable on MS-DOS and
  127. +14-character SYSV platforms.  To perform this task, doschk reads a
  128. +list of filenames and produces a report of all the conflicts that
  129. +would arise if the files were transferred to a MS-DOS or SYSV
  130. +platform.
  131. +.version
  132. +1.1
  133. +.author
  134. +DJ Delorie
  135. +.requirements
  136. +Amiga binary requires ixemul.library.
  137. +.distribution
  138. +GNU Public License
  139. +.described-by
  140. +Fred Fish (fnf@amigalib.com)
  141. diff -rup --new-file baseline/fsf/doschk/configure amiga/fsf/doschk/configure
  142. --- baseline/fsf/doschk/configure    Fri May 21 12:21:28 1993
  143. +++ amiga/fsf/doschk/configure    Mon Sep 30 22:39:31 1996
  144. @@ -1,260 +1,941 @@
  145. -#!/bin/sh
  146. -# Guess values for system-dependent variables and create Makefiles.
  147. -# Generated automatically using autoconf.
  148. -# Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  149. +#! /bin/sh
  150.  
  151. -# This program is free software; you can redistribute it and/or modify
  152. -# it under the terms of the GNU General Public License as published by
  153. -# the Free Software Foundation; either version 2, or (at your option)
  154. -# any later version.
  155. -
  156. -# This program is distributed in the hope that it will be useful,
  157. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  158. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  159. -# GNU General Public License for more details.
  160. -
  161. -# You should have received a copy of the GNU General Public License
  162. -# along with this program; if not, write to the Free Software
  163. -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  164. -
  165. -# Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  166. -#        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET]
  167. -# Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  168. -# --with-PACKAGE unless this script has special code to handle it.
  169. +# Guess values for system-dependent variables and create Makefiles.
  170. +# Generated automatically using autoconf version 2.10 
  171. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  172. +#
  173. +# This configure script is free software; the Free Software Foundation
  174. +# gives unlimited permission to copy, distribute and modify it.
  175.  
  176. +# Defaults:
  177. +ac_help=
  178. +ac_default_prefix=/usr/local
  179. +# Any additions from configure.in:
  180. +
  181. +# Initialize some variables set by options.
  182. +# The variables have the same names as the options, with
  183. +# dashes changed to underlines.
  184. +build=NONE
  185. +cache_file=./config.cache
  186. +exec_prefix=NONE
  187. +host=NONE
  188. +no_create=
  189. +nonopt=NONE
  190. +no_recursion=
  191. +prefix=NONE
  192. +program_prefix=NONE
  193. +program_suffix=NONE
  194. +program_transform_name=s,x,x,
  195. +silent=
  196. +site=
  197. +srcdir=
  198. +target=NONE
  199. +verbose=
  200. +x_includes=NONE
  201. +x_libraries=NONE
  202. +bindir='${exec_prefix}/bin'
  203. +sbindir='${exec_prefix}/sbin'
  204. +libexecdir='${exec_prefix}/libexec'
  205. +datadir='${prefix}/share'
  206. +sysconfdir='${prefix}/etc'
  207. +sharedstatedir='${prefix}/com'
  208. +localstatedir='${prefix}/var'
  209. +libdir='${exec_prefix}/lib'
  210. +includedir='${prefix}/include'
  211. +oldincludedir='/usr/include'
  212. +infodir='${prefix}/info'
  213. +guidedir='${prefix}/guide'
  214. +psdir='${prefix}/ps'
  215. +dvidir='${prefix}/dvi'
  216. +mandir='${prefix}/man'
  217. +
  218. +# Initialize some other variables.
  219. +subdirs=
  220. +MFLAGS= MAKEFLAGS=
  221.  
  222. -for arg
  223. +ac_prev=
  224. +for ac_option
  225.  do
  226. -  # Handle --exec-prefix with a space before the argument.
  227. -  if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  228. -  # Handle --host with a space before the argument.
  229. -  elif test x$next_host = xyes; then next_host=
  230. -  # Handle --prefix with a space before the argument.
  231. -  elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  232. -  # Handle --srcdir with a space before the argument.
  233. -  elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  234. -  else
  235. -    case $arg in
  236. -     # For backward compatibility, also recognize exact --exec_prefix.
  237. -     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  238. -    exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  239. -     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  240. -    next_exec_prefix=yes ;;
  241. -
  242. -     -gas | --gas | --ga | --g) ;;
  243. -
  244. -     -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  245. -     -host | --host | --hos | --ho | --h)
  246. -    next_host=yes ;;
  247. -
  248. -     -nfp | --nfp | --nf) ;;
  249. -
  250. -     -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  251. -        no_create=1 ;;
  252. -
  253. -     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  254. -    prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  255. -     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  256. -    next_prefix=yes ;;
  257. -
  258. -     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  259. -    srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  260. -     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  261. -    next_srcdir=yes ;;
  262. -
  263. -     -with-* | --with-*)
  264. -       package=`echo $arg|sed 's/-*with-//'`
  265. -       # Delete all the valid chars; see if any are left.
  266. -       if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then
  267. -         echo "configure: $package: invalid package name" >&2; exit 1
  268. -       fi
  269. -       eval "with_`echo $package|sed s/-/_/g`=1" ;;
  270.  
  271. -     -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  272. -       verbose=yes ;;
  273. +  # If the previous option needs an argument, assign it.
  274. +  if test -n "$ac_prev"; then
  275. +    eval "$ac_prev=\$ac_option"
  276. +    ac_prev=
  277. +    continue
  278. +  fi
  279. +
  280. +  case "$ac_option" in
  281. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  282. +  *) ac_optarg= ;;
  283. +  esac
  284. +
  285. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  286.  
  287. -     *) ;;
  288. +  case "$ac_option" in
  289. +
  290. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  291. +    ac_prev=bindir ;;
  292. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  293. +    bindir="$ac_optarg" ;;
  294. +
  295. +  -build | --build | --buil | --bui | --bu)
  296. +    ac_prev=build ;;
  297. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  298. +    build="$ac_optarg" ;;
  299. +
  300. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  301. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  302. +    ac_prev=cache_file ;;
  303. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  304. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  305. +    cache_file="$ac_optarg" ;;
  306. +
  307. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  308. +    ac_prev=datadir ;;
  309. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  310. +  | --da=*)
  311. +    datadir="$ac_optarg" ;;
  312. +
  313. +  -disable-* | --disable-*)
  314. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  315. +    # Reject names that are not valid shell variable names.
  316. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  317. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  318. +    fi
  319. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  320. +    eval "enable_${ac_feature}=no" ;;
  321. +
  322. +  -enable-* | --enable-*)
  323. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  324. +    # Reject names that are not valid shell variable names.
  325. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  326. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  327. +    fi
  328. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  329. +    case "$ac_option" in
  330. +      *=*) ;;
  331. +      *) ac_optarg=yes ;;
  332.      esac
  333. -  fi
  334. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  335. +
  336. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  337. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  338. +  | --exec | --exe | --ex)
  339. +    ac_prev=exec_prefix ;;
  340. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  341. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  342. +  | --exec=* | --exe=* | --ex=*)
  343. +    exec_prefix="$ac_optarg" ;;
  344. +
  345. +  -gas | --gas | --ga | --g)
  346. +    # Obsolete; use --with-gas.
  347. +    with_gas=yes ;;
  348. +
  349. +  -help | --help | --hel | --he)
  350. +    # Omit some internal or obsolete options to make the list less imposing.
  351. +    # This message is too long to be a string in the A/UX 3.1 sh.
  352. +    cat << EOF
  353. +Usage: configure [options] [host]
  354. +Options: [defaults in brackets after descriptions]
  355. +Configuration:
  356. +  --cache-file=FILE       cache test results in FILE
  357. +  --help                  print this message
  358. +  --no-create             do not create output files
  359. +  --quiet, --silent       do not print \`checking...' messages
  360. +  --version               print the version of autoconf that created configure
  361. +Directory and file names:
  362. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  363. +                          [$ac_default_prefix]
  364. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  365. +                          [same as prefix]
  366. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  367. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  368. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  369. +  --datadir=DIR           read-only architecture-independent data in DIR
  370. +                          [PREFIX/share]
  371. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  372. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  373. +                          [PREFIX/com]
  374. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  375. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  376. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  377. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  378. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  379. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  380. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  381. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  382. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  383. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  384. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  385. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  386. +  --program-transform-name=PROGRAM
  387. +                          run sed PROGRAM on installed program names
  388. +EOF
  389. +    cat << EOF
  390. +Host type:
  391. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  392. +  --host=HOST             configure for HOST [guessed]
  393. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  394. +Features and packages:
  395. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  396. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  397. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  398. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  399. +  --x-includes=DIR        X include files are in DIR
  400. +  --x-libraries=DIR       X library files are in DIR
  401. +EOF
  402. +    if test -n "$ac_help"; then
  403. +      echo "--enable and --with options recognized:$ac_help"
  404. +    fi
  405. +    exit 0 ;;
  406. +
  407. +  -host | --host | --hos | --ho)
  408. +    ac_prev=host ;;
  409. +  -host=* | --host=* | --hos=* | --ho=*)
  410. +    host="$ac_optarg" ;;
  411. +
  412. +  -includedir | --includedir | --includedi | --included | --include \
  413. +  | --includ | --inclu | --incl | --inc)
  414. +    ac_prev=includedir ;;
  415. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  416. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  417. +    includedir="$ac_optarg" ;;
  418. +
  419. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  420. +    ac_prev=infodir ;;
  421. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  422. +    infodir="$ac_optarg" ;;
  423. +
  424. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  425. +   ac_prev=guidedir ;;
  426. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  427. +
  428. + -psdir | --psdir | --psdi | --psd | --ps)
  429. +   ac_prev=psdir ;;
  430. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  431. +
  432. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  433. +   ac_prev=dvidir ;;
  434. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  435. +
  436. +  -libdir | --libdir | --libdi | --libd)
  437. +    ac_prev=libdir ;;
  438. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  439. +    libdir="$ac_optarg" ;;
  440. +
  441. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  442. +  | --libexe | --libex | --libe)
  443. +    ac_prev=libexecdir ;;
  444. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  445. +  | --libexe=* | --libex=* | --libe=*)
  446. +    libexecdir="$ac_optarg" ;;
  447. +
  448. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  449. +  | --localstate | --localstat | --localsta | --localst \
  450. +  | --locals | --local | --loca | --loc | --lo)
  451. +    ac_prev=localstatedir ;;
  452. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  453. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  454. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  455. +    localstatedir="$ac_optarg" ;;
  456. +
  457. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  458. +    ac_prev=mandir ;;
  459. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  460. +    mandir="$ac_optarg" ;;
  461. +
  462. +  -nfp | --nfp | --nf)
  463. +    # Obsolete; use --without-fp.
  464. +    with_fp=no ;;
  465. +
  466. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  467. +  | --no-cr | --no-c)
  468. +    no_create=yes ;;
  469. +
  470. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  471. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  472. +    no_recursion=yes ;;
  473. +
  474. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  475. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  476. +  | --oldin | --oldi | --old | --ol | --o)
  477. +    ac_prev=oldincludedir ;;
  478. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  479. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  480. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  481. +    oldincludedir="$ac_optarg" ;;
  482. +
  483. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  484. +    ac_prev=prefix ;;
  485. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  486. +    prefix="$ac_optarg" ;;
  487. +
  488. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  489. +  | --program-pre | --program-pr | --program-p)
  490. +    ac_prev=program_prefix ;;
  491. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  492. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  493. +    program_prefix="$ac_optarg" ;;
  494. +
  495. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  496. +  | --program-suf | --program-su | --program-s)
  497. +    ac_prev=program_suffix ;;
  498. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  499. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  500. +    program_suffix="$ac_optarg" ;;
  501. +
  502. +  -program-transform-name | --program-transform-name \
  503. +  | --program-transform-nam | --program-transform-na \
  504. +  | --program-transform-n | --program-transform- \
  505. +  | --program-transform | --program-transfor \
  506. +  | --program-transfo | --program-transf \
  507. +  | --program-trans | --program-tran \
  508. +  | --progr-tra | --program-tr | --program-t)
  509. +    ac_prev=program_transform_name ;;
  510. +  -program-transform-name=* | --program-transform-name=* \
  511. +  | --program-transform-nam=* | --program-transform-na=* \
  512. +  | --program-transform-n=* | --program-transform-=* \
  513. +  | --program-transform=* | --program-transfor=* \
  514. +  | --program-transfo=* | --program-transf=* \
  515. +  | --program-trans=* | --program-tran=* \
  516. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  517. +    program_transform_name="$ac_optarg" ;;
  518. +
  519. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  520. +  | -silent | --silent | --silen | --sile | --sil)
  521. +    silent=yes ;;
  522. +
  523. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  524. +    ac_prev=sbindir ;;
  525. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  526. +  | --sbi=* | --sb=*)
  527. +    sbindir="$ac_optarg" ;;
  528. +
  529. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  530. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  531. +  | --sharedst | --shareds | --shared | --share | --shar \
  532. +  | --sha | --sh)
  533. +    ac_prev=sharedstatedir ;;
  534. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  535. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  536. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  537. +  | --sha=* | --sh=*)
  538. +    sharedstatedir="$ac_optarg" ;;
  539. +
  540. +  -site | --site | --sit)
  541. +    ac_prev=site ;;
  542. +  -site=* | --site=* | --sit=*)
  543. +    site="$ac_optarg" ;;
  544. +
  545. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  546. +    ac_prev=srcdir ;;
  547. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  548. +    srcdir="$ac_optarg" ;;
  549. +
  550. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  551. +  | --syscon | --sysco | --sysc | --sys | --sy)
  552. +    ac_prev=sysconfdir ;;
  553. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  554. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  555. +    sysconfdir="$ac_optarg" ;;
  556. +
  557. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  558. +    ac_prev=target ;;
  559. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  560. +    target="$ac_optarg" ;;
  561. +
  562. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  563. +    verbose=yes ;;
  564. +
  565. +  -version | --version | --versio | --versi | --vers)
  566. +    echo "configure generated by autoconf version 2.10"
  567. +    exit 0 ;;
  568. +
  569. +  -with-* | --with-*)
  570. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  571. +    # Reject names that are not valid shell variable names.
  572. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  573. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  574. +    fi
  575. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  576. +    case "$ac_option" in
  577. +      *=*) ;;
  578. +      *) ac_optarg=yes ;;
  579. +    esac
  580. +    eval "with_${ac_package}='$ac_optarg'" ;;
  581. +
  582. +  -without-* | --without-*)
  583. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  584. +    # Reject names that are not valid shell variable names.
  585. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  586. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  587. +    fi
  588. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  589. +    eval "with_${ac_package}=no" ;;
  590. +
  591. +  --x)
  592. +    # Obsolete; use --with-x.
  593. +    with_x=yes ;;
  594. +
  595. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  596. +  | --x-incl | --x-inc | --x-in | --x-i)
  597. +    ac_prev=x_includes ;;
  598. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  599. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  600. +    x_includes="$ac_optarg" ;;
  601. +
  602. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  603. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  604. +    ac_prev=x_libraries ;;
  605. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  606. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  607. +    x_libraries="$ac_optarg" ;;
  608. +
  609. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  610. +    ;;
  611. +
  612. +  *)
  613. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  614. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  615. +    fi
  616. +    if test "x$nonopt" != xNONE; then
  617. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  618. +    fi
  619. +    nonopt="$ac_option"
  620. +    ;;
  621. +
  622. +  esac
  623.  done
  624.  
  625. -trap 'rm -f conftest* core; exit 1' 1 3 15
  626. +if test -n "$ac_prev"; then
  627. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  628. +fi
  629.  
  630. -rm -f conftest*
  631. -compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  632. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  633. +
  634. +# File descriptor usage:
  635. +# 0 standard input
  636. +# 1 file creation
  637. +# 2 errors and warnings
  638. +# 3 some systems may open it to /dev/tty
  639. +# 4 used on the Kubota Titan
  640. +# 6 checking for... messages and results
  641. +# 5 compiler messages saved in config.log
  642. +if test "$silent" = yes; then
  643. +  exec 6>/dev/null
  644. +else
  645. +  exec 6>&1
  646. +fi
  647. +exec 5>./config.log
  648. +
  649. +echo "\
  650. +This file contains any messages produced by compilers while
  651. +running configure, to aid debugging if configure makes a mistake.
  652. +" 1>&5
  653. +
  654. +# Strip out --no-create and --no-recursion so they do not pile up.
  655. +# Also quote any args containing shell metacharacters.
  656. +ac_configure_args=
  657. +for ac_arg
  658. +do
  659. +  case "$ac_arg" in
  660. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  661. +  | --no-cr | --no-c) ;;
  662. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  663. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  664. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  665. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  666. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  667. +  esac
  668. +done
  669. +
  670. +# NLS nuisances.
  671. +# Only set LANG and LC_ALL to C if already set.
  672. +# These must not be set unconditionally because not all systems understand
  673. +# e.g. LANG=C (notably SCO).
  674. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  675. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  676. +
  677. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  678. +rm -rf conftest* confdefs.h
  679. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  680. +echo > confdefs.h
  681.  
  682.  # A filename unique to this package, relative to the directory that
  683.  # configure is in, which we can look for to find out if srcdir is correct.
  684. -unique_file=doschk.c
  685. +ac_unique_file=doschk.c
  686.  
  687.  # Find the source files, if location was not specified.
  688.  if test -z "$srcdir"; then
  689. -  srcdirdefaulted=yes
  690. -  # Try the directory containing this script, then `..'.
  691. -  prog=$0
  692. -  confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  693. -  test "X$confdir" = "X$prog" && confdir=.
  694. -  srcdir=$confdir
  695. -  if test ! -r $srcdir/$unique_file; then
  696. +  ac_srcdir_defaulted=yes
  697. +  # Try the directory containing this script, then its parent.
  698. +  ac_prog=$0
  699. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  700. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  701. +  srcdir=$ac_confdir
  702. +  if test ! -r $srcdir/$ac_unique_file; then
  703.      srcdir=..
  704.    fi
  705. +else
  706. +  ac_srcdir_defaulted=no
  707. +fi
  708. +if test ! -r $srcdir/$ac_unique_file; then
  709. +  if test "$ac_srcdir_defaulted" = yes; then
  710. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  711. +  else
  712. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  713. +  fi
  714. +fi
  715. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  716. +
  717. +# Prefer explicitly selected file to automatically selected ones.
  718. +if test -z "$CONFIG_SITE"; then
  719. +  if test "x$prefix" != xNONE; then
  720. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  721. +  else
  722. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  723. +  fi
  724. +fi
  725. +for ac_site_file in $CONFIG_SITE; do
  726. +  if test -r "$ac_site_file"; then
  727. +    echo "loading site script $ac_site_file"
  728. +    . "$ac_site_file"
  729. +  fi
  730. +done
  731. +
  732. +if test -r "$cache_file"; then
  733. +  echo "loading cache $cache_file"
  734. +  . $cache_file
  735. +else
  736. +  echo "creating cache $cache_file"
  737. +  > $cache_file
  738.  fi
  739. -if test ! -r $srcdir/$unique_file; then
  740. -  if test x$srcdirdefaulted = xyes; then
  741. -    echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  742. +
  743. +ac_ext=c
  744. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  745. +ac_cpp='$CPP $CPPFLAGS'
  746. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  747. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  748. +
  749. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  750. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  751. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  752. +    ac_n= ac_c='
  753. +' ac_t='    '
  754.    else
  755. -    echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  756. +    ac_n=-n ac_c= ac_t=
  757.    fi
  758. -  exit 1
  759. +else
  760. +  ac_n= ac_c='\c' ac_t=
  761. +fi
  762. +
  763. +
  764. +# Extract the first word of "gcc", so it can be a program name with args.
  765. +set dummy gcc; ac_word=$2
  766. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  767. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  768. +  echo $ac_n "(cached) $ac_c" 1>&6
  769. +else
  770. +  if test -n "$CC"; then
  771. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  772. +else
  773. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  774. +  for ac_dir in $PATH; do
  775. +    test -z "$ac_dir" && ac_dir=.
  776. +    if test -f $ac_dir/$ac_word; then
  777. +      ac_cv_prog_CC="gcc"
  778. +      break
  779. +    fi
  780. +  done
  781. +  IFS="$ac_save_ifs"
  782. +fi
  783. +fi
  784. +CC="$ac_cv_prog_CC"
  785. +if test -n "$CC"; then
  786. +  echo "$ac_t""$CC" 1>&6
  787. +else
  788. +  echo "$ac_t""no" 1>&6
  789.  fi
  790. -# Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  791. -# But we can't avoid them for `..', to make subdirectories work.
  792. -case $srcdir in
  793. -  .|/*|~*) ;;
  794. -  *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  795. -esac
  796.  
  797.  if test -z "$CC"; then
  798. -  # Extract the first word of `gcc', so it can be a program name with args.
  799. -  set dummy gcc; word=$2
  800. -  echo checking for $word
  801. -  IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  802. -  for dir in $PATH; do
  803. -    test -z "$dir" && dir=.
  804. -    if test -f $dir/$word; then
  805. -      CC="gcc"
  806. +  # Extract the first word of "cc", so it can be a program name with args.
  807. +set dummy cc; ac_word=$2
  808. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  809. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  810. +  echo $ac_n "(cached) $ac_c" 1>&6
  811. +else
  812. +  if test -n "$CC"; then
  813. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  814. +else
  815. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  816. +  ac_prog_rejected=no
  817. +  for ac_dir in $PATH; do
  818. +    test -z "$ac_dir" && ac_dir=.
  819. +    if test -f $ac_dir/$ac_word; then
  820. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  821. +        ac_prog_rejected=yes
  822. +    continue
  823. +      fi
  824. +      ac_cv_prog_CC="cc"
  825.        break
  826.      fi
  827.    done
  828. -  IFS="$saveifs"
  829. +  IFS="$ac_save_ifs"
  830. +if test $ac_prog_rejected = yes; then
  831. +  # We found a bogon in the path, so make sure we never use it.
  832. +  set dummy $ac_cv_prog_CC
  833. +  shift
  834. +  if test $# -gt 0; then
  835. +    # We chose a different compiler from the bogus one.
  836. +    # However, it has the same basename, so the bogon will be chosen
  837. +    # first if we set CC to just the basename; use the full file name.
  838. +    shift
  839. +    set dummy "$ac_dir/$ac_word" "$@"
  840. +    shift
  841. +    ac_cv_prog_CC="$@"
  842. +  fi
  843. +fi
  844. +fi
  845. +fi
  846. +CC="$ac_cv_prog_CC"
  847. +if test -n "$CC"; then
  848. +  echo "$ac_t""$CC" 1>&6
  849. +else
  850. +  echo "$ac_t""no" 1>&6
  851.  fi
  852. -test -z "$CC" && CC="cc"
  853. -test -n "$CC" -a -n "$verbose" && echo "    setting CC to $CC"
  854.  
  855. -# Find out if we are using GNU C, under whatever name.
  856. -cat > conftest.c <<EOF
  857. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  858. +fi
  859. +
  860. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  861. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  862. +  echo $ac_n "(cached) $ac_c" 1>&6
  863. +else
  864. +  cat > conftest.c <<EOF
  865.  #ifdef __GNUC__
  866. -  yes
  867. +  yes;
  868.  #endif
  869.  EOF
  870. -${CC-cc} -E conftest.c > conftest.out 2>&1
  871. -if egrep yes conftest.out >/dev/null 2>&1; then
  872. -  GCC=1 # For later tests.
  873. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  874. +  ac_cv_prog_gcc=yes
  875. +else
  876. +  ac_cv_prog_gcc=no
  877. +fi
  878. +fi
  879. +
  880. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  881. +if test $ac_cv_prog_gcc = yes; then
  882. +  GCC=yes
  883. +  if test "${CFLAGS+set}" != set; then
  884. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  885. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  886. +  echo $ac_n "(cached) $ac_c" 1>&6
  887. +else
  888. +  echo 'void f(){}' > conftest.c
  889. +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  890. +  ac_cv_prog_gcc_g=yes
  891. +else
  892. +  ac_cv_prog_gcc_g=no
  893.  fi
  894.  rm -f conftest*
  895.  
  896. -# Make sure to not get the incompatible SysV /etc/install and
  897. -# /usr/sbin/install, which might be in PATH before a BSD-like install,
  898. -# or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  899. -# or the AFS install, which mishandles nonexistent args, or
  900. -# /usr/ucb/install on SVR4 (which tries to use the nonexistent group
  901. -# `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  902. -# anyway).  Sigh.
  903. -if test "z${INSTALL}" = "z" ; then
  904. -  echo checking for install
  905. -  IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  906. -  for dir in $PATH; do
  907. -    test -z "$dir" && dir=.
  908. -    case $dir in
  909. -    /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  910. +fi
  911. +
  912. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  913. +    if test $ac_cv_prog_gcc_g = yes; then
  914. +      CFLAGS="-g -O2"
  915. +    else
  916. +      CFLAGS="-O2"
  917. +    fi
  918. +  fi
  919. +else
  920. +  GCC=
  921. +  test "${CFLAGS+set}" = set || CFLAGS="-g"
  922. +fi
  923. +
  924. +ac_aux_dir=
  925. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  926. +  if test -f $ac_dir/install-sh; then
  927. +    ac_aux_dir=$ac_dir
  928. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  929. +    break
  930. +  elif test -f $ac_dir/install.sh; then
  931. +    ac_aux_dir=$ac_dir
  932. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  933. +    break
  934. +  fi
  935. +done
  936. +if test -z "$ac_aux_dir"; then
  937. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  938. +fi
  939. +ac_config_guess=$ac_aux_dir/config.guess
  940. +ac_config_sub=$ac_aux_dir/config.sub
  941. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  942. +
  943. +# Find a good install program.  We prefer a C program (faster),
  944. +# so one script is as good as another.  But avoid the broken or
  945. +# incompatible versions:
  946. +# SysV /etc/install, /usr/sbin/install
  947. +# SunOS /usr/etc/install
  948. +# IRIX /sbin/install
  949. +# AIX /bin/install
  950. +# AmigaOS /c/install
  951. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  952. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  953. +# ./install, which can be erroneously created by make from ./install.sh.
  954. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  955. +if test -z "$INSTALL"; then
  956. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  957. +  echo $ac_n "(cached) $ac_c" 1>&6
  958. +else
  959. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  960. +  for ac_dir in $PATH; do
  961. +    # Account for people who put trailing slashes in PATH elements.
  962. +    case "$ac_dir/" in
  963. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  964.      *)
  965. -      if test -f $dir/installbsd; then
  966. -    INSTALL="$dir/installbsd -c" # OSF1
  967. -    INSTALL_PROGRAM='$(INSTALL)'
  968. -    INSTALL_DATA='$(INSTALL) -m 644'
  969. -    break
  970. -      fi
  971. -      if test -f $dir/install; then
  972. -    if grep dspmsg $dir/install >/dev/null 2>&1; then
  973. -      : # AIX
  974. -    else
  975. -      INSTALL="$dir/install -c"
  976. -      INSTALL_PROGRAM='$(INSTALL)'
  977. -      INSTALL_DATA='$(INSTALL) -m 644'
  978. -      break
  979. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  980. +      for ac_prog in ginstall installbsd scoinst install; do
  981. +        if test -f $ac_dir/$ac_prog; then
  982. +      if test $ac_prog = install &&
  983. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  984. +        # AIX install.  It has an incompatible calling convention.
  985. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  986. +        :
  987. +      else
  988. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  989. +        break 2
  990. +      fi
  991.      fi
  992. -      fi
  993. +      done
  994.        ;;
  995.      esac
  996.    done
  997. -  IFS="$saveifs"
  998. +  IFS="$ac_save_ifs"
  999. +
  1000. +fi
  1001. +  if test "${ac_cv_path_install+set}" = set; then
  1002. +    INSTALL="$ac_cv_path_install"
  1003. +  else
  1004. +    # As a last resort, use the slow shell script.  We don't cache a
  1005. +    # path for INSTALL within a source directory, because that will
  1006. +    # break other packages using the cache if that directory is
  1007. +    # removed, or if the path is relative.
  1008. +    INSTALL="$ac_install_sh"
  1009. +  fi
  1010. +fi
  1011. +echo "$ac_t""$INSTALL" 1>&6
  1012. +
  1013. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1014. +# It thinks the first close brace ends the variable substitution.
  1015. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1016. +
  1017. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1018. +
  1019. +trap '' 1 2 15
  1020. +cat > confcache <<\EOF
  1021. +# This file is a shell script that caches the results of configure
  1022. +# tests run on this system so they can be shared between configure
  1023. +# scripts and configure runs.  It is not useful on other systems.
  1024. +# If it contains results you don't want to keep, you may remove or edit it.
  1025. +#
  1026. +# By default, configure uses ./config.cache as the cache file,
  1027. +# creating it if it does not exist already.  You can give configure
  1028. +# the --cache-file=FILE option to use a different cache file; that is
  1029. +# what configure does when it calls configure scripts in
  1030. +# subdirectories, so they share the cache.
  1031. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  1032. +# config.status only pays attention to the cache file if you give it the
  1033. +# --recheck option to rerun configure.
  1034. +#
  1035. +EOF
  1036. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1037. +# and sets the high bit in the cache file unless we assign to the vars.
  1038. +(set) 2>&1 |
  1039. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1040. +  >> confcache
  1041. +if cmp -s $cache_file confcache; then
  1042. +  :
  1043. +else
  1044. +  if test -w $cache_file; then
  1045. +    echo "updating cache $cache_file"
  1046. +    cat confcache > $cache_file
  1047. +  else
  1048. +    echo "not updating unwritable cache $cache_file"
  1049. +  fi
  1050. +fi
  1051. +rm -f confcache
  1052. +
  1053. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1054. +
  1055. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1056. +# Let make expand exec_prefix.
  1057. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1058. +
  1059. +# Any assignment to VPATH causes Sun make to only execute
  1060. +# the first set of double-colon rules, so remove it if not needed.
  1061. +# If there is a colon in the path, we need to keep it.
  1062. +if test "x$srcdir" = x.; then
  1063. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1064.  fi
  1065. -INSTALL=${INSTALL-cp}
  1066. -INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  1067. -INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  1068. -
  1069. -if test -n "$prefix"; then
  1070. -  test -z "$exec_prefix" && exec_prefix='${prefix}'
  1071. -  prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1072. -fi
  1073. -if test -n "$exec_prefix"; then
  1074. -  prsub="$prsub
  1075. -s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%\
  1076. -exec_prefix\\1=\\2$exec_prefix%"
  1077. -fi
  1078. -DEFS="`echo \"$DEFS\" | sed 's%[&\\\]%\\\&%g'`"
  1079. -
  1080. -trap 'rm -f config.status; exit 1' 1 3 15
  1081. -echo creating config.status
  1082. -rm -f config.status
  1083. -cat > config.status <<EOF
  1084. -#!/bin/sh
  1085. +
  1086. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1087. +
  1088. +# Transform confdefs.h into DEFS.
  1089. +# Protect against shell expansion while executing Makefile rules.
  1090. +# Protect against Makefile macro expansion.
  1091. +cat > conftest.defs <<\EOF
  1092. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1093. +s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1094. +s%\[%\\&%g
  1095. +s%\]%\\&%g
  1096. +s%\$%$$%g
  1097. +EOF
  1098. +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1099. +rm -f conftest.defs
  1100. +
  1101. +
  1102. +# Without the "./", some shells look in PATH for config.status.
  1103. +: ${CONFIG_STATUS=./config.status}
  1104. +
  1105. +echo creating $CONFIG_STATUS
  1106. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1107. +# being executed, so just move it out of the way instead.
  1108. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1109. +cat > $CONFIG_STATUS <<EOF
  1110. +#! /bin/sh
  1111.  # Generated automatically by configure.
  1112.  # Run this file to recreate the current configuration.
  1113.  # This directory was configured as follows,
  1114.  # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1115.  #
  1116. -# $0 $*
  1117. +# $0 $ac_configure_args
  1118. +#
  1119. +# Compiler output produced by configure, useful for debugging
  1120. +# configure, is in ./config.log if it exists.
  1121.  
  1122. -for arg
  1123. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1124. +for ac_option
  1125.  do
  1126. -  case "\$arg" in
  1127. -    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1128. -    exec /bin/sh $0 $* ;;
  1129. -    *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  1130. +  case "\$ac_option" in
  1131. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1132. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1133. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1134. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1135. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1136. +    exit 0 ;;
  1137. +  -help | --help | --hel | --he | --h)
  1138. +    echo "\$ac_cs_usage"; exit 0 ;;
  1139. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  1140.    esac
  1141.  done
  1142.  
  1143. -trap 'rm -f Makefile; exit 1' 1 3 15
  1144. -CC='$CC'
  1145. -INSTALL='$INSTALL'
  1146. -INSTALL_PROGRAM='$INSTALL_PROGRAM'
  1147. -INSTALL_DATA='$INSTALL_DATA'
  1148. -LIBS='$LIBS'
  1149. -srcdir='$srcdir'
  1150. -DEFS='$DEFS'
  1151. -prefix='$prefix'
  1152. -exec_prefix='$exec_prefix'
  1153. -prsub='$prsub'
  1154. +ac_given_srcdir=$srcdir
  1155. +ac_given_INSTALL="$INSTALL"
  1156. +
  1157. +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1158.  EOF
  1159. -cat >> config.status <<\EOF
  1160. +cat >> $CONFIG_STATUS <<EOF
  1161.  
  1162. -top_srcdir=$srcdir
  1163. -for file in .. Makefile; do if [ "x$file" != "x.." ]; then
  1164. -  srcdir=$top_srcdir
  1165. -  # Remove last slash and all that follows it.  Not all systems have dirname.
  1166. -  dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  1167. -  if test "$dir" != "$file"; then
  1168. -    test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  1169. -    test ! -d $dir && mkdir $dir
  1170. -  fi
  1171. -  echo creating $file
  1172. -  rm -f $file
  1173. -  echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  1174. -  sed -e "
  1175. -$prsub
  1176. +# Protect against being on the right side of a sed subst in config.status.
  1177. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1178. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1179. +$ac_vpsub
  1180. +$extrasub
  1181. +s%@CFLAGS@%$CFLAGS%g
  1182. +s%@CPPFLAGS@%$CPPFLAGS%g
  1183. +s%@CXXFLAGS@%$CXXFLAGS%g
  1184. +s%@DEFS@%$DEFS%g
  1185. +s%@LDFLAGS@%$LDFLAGS%g
  1186. +s%@LIBS@%$LIBS%g
  1187. +s%@exec_prefix@%$exec_prefix%g
  1188. +s%@prefix@%$prefix%g
  1189. +s%@program_transform_name@%$program_transform_name%g
  1190. +s%@bindir@%$bindir%g
  1191. +s%@sbindir@%$sbindir%g
  1192. +s%@libexecdir@%$libexecdir%g
  1193. +s%@datadir@%$datadir%g
  1194. +s%@sysconfdir@%$sysconfdir%g
  1195. +s%@sharedstatedir@%$sharedstatedir%g
  1196. +s%@localstatedir@%$localstatedir%g
  1197. +s%@libdir@%$libdir%g
  1198. +s%@includedir@%$includedir%g
  1199. +s%@oldincludedir@%$oldincludedir%g
  1200. +s%@infodir@%$infodir%g
  1201. +s%@guidedir@%$guidedir%g
  1202. +s%@psdir@%$psdir%g
  1203. +s%@dvidir@%$dvidir%g
  1204. +s%@mandir@%$mandir%g
  1205.  s%@CC@%$CC%g
  1206. -s%@INSTALL@%$INSTALL%g
  1207.  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1208.  s%@INSTALL_DATA@%$INSTALL_DATA%g
  1209. -s%@LIBS@%$LIBS%g
  1210. +
  1211. +CEOF
  1212. +EOF
  1213. +cat >> $CONFIG_STATUS <<EOF
  1214. +
  1215. +CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  1216. +EOF
  1217. +cat >> $CONFIG_STATUS <<\EOF
  1218. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1219. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  1220. +  case "$ac_file" in
  1221. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1222. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1223. +  *) ac_file_in="${ac_file}.in" ;;
  1224. +  esac
  1225. +
  1226. +  # Adjust relative srcdir, etc. for subdirectories.
  1227. +
  1228. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  1229. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1230. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1231. +    # The file is in a subdirectory.
  1232. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  1233. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1234. +    # A "../" for each directory in $ac_dir_suffix.
  1235. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1236. +  else
  1237. +    ac_dir_suffix= ac_dots=
  1238. +  fi
  1239. +
  1240. +  case "$ac_given_srcdir" in
  1241. +  .)  srcdir=.
  1242. +      if test -z "$ac_dots"; then top_srcdir=.
  1243. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1244. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1245. +  *) # Relative path.
  1246. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1247. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1248. +  esac
  1249. +
  1250. +  case "$ac_given_INSTALL" in
  1251. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1252. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1253. +  esac
  1254. +  echo creating "$ac_file"
  1255. +  rm -f "$ac_file"
  1256. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1257. +  case "$ac_file" in
  1258. +  *Makefile*) ac_comsub="1i\\
  1259. +# $configure_input" ;;
  1260. +  *) ac_comsub= ;;
  1261. +  esac
  1262. +  sed -e "$ac_comsub
  1263. +s%@configure_input@%$configure_input%g
  1264.  s%@srcdir@%$srcdir%g
  1265. -s%@DEFS@%$DEFS%
  1266. -" $top_srcdir/${file}.in >> $file
  1267. +s%@top_srcdir@%$top_srcdir%g
  1268. +s%@INSTALL@%$INSTALL%g
  1269. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  1270.  fi; done
  1271. +rm -f conftest.subs
  1272. +
  1273. +
  1274.  
  1275.  exit 0
  1276.  EOF
  1277. -chmod +x config.status
  1278. -test -n "$no_create" || ./config.status
  1279. +chmod +x $CONFIG_STATUS
  1280. +rm -f CONFIG.STATUS.old
  1281. +rm -fr confdefs* $ac_clean_files
  1282. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1283.  
  1284. diff -rup --new-file baseline/fsf/doschk/install-sh amiga/fsf/doschk/install-sh
  1285. --- baseline/fsf/doschk/install-sh    Wed Dec 31 17:00:00 1969
  1286. +++ amiga/fsf/doschk/install-sh    Sat Sep 28 00:00:00 1996
  1287. @@ -0,0 +1,238 @@
  1288. +#! /bin/sh
  1289. +#
  1290. +# install - install a program, script, or datafile
  1291. +# This comes from X11R5.
  1292. +#
  1293. +# Calling this script install-sh is preferred over install.sh, to prevent
  1294. +# `make' implicit rules from creating a file called install from it
  1295. +# when there is no Makefile.
  1296. +#
  1297. +# This script is compatible with the BSD install script, but was written
  1298. +# from scratch.
  1299. +#
  1300. +
  1301. +
  1302. +# set DOITPROG to echo to test this script
  1303. +
  1304. +# Don't use :- since 4.3BSD and earlier shells don't like it.
  1305. +doit="${DOITPROG-}"
  1306. +
  1307. +
  1308. +# put in absolute paths if you don't have them in your path; or use env. vars.
  1309. +
  1310. +mvprog="${MVPROG-mv}"
  1311. +cpprog="${CPPROG-cp}"
  1312. +chmodprog="${CHMODPROG-chmod}"
  1313. +chownprog="${CHOWNPROG-chown}"
  1314. +chgrpprog="${CHGRPPROG-chgrp}"
  1315. +stripprog="${STRIPPROG-strip}"
  1316. +rmprog="${RMPROG-rm}"
  1317. +mkdirprog="${MKDIRPROG-mkdir}"
  1318. +
  1319. +transformbasename=""
  1320. +transform_arg=""
  1321. +instcmd="$mvprog"
  1322. +chmodcmd="$chmodprog 0755"
  1323. +chowncmd=""
  1324. +chgrpcmd=""
  1325. +stripcmd=""
  1326. +rmcmd="$rmprog -f"
  1327. +mvcmd="$mvprog"
  1328. +src=""
  1329. +dst=""
  1330. +dir_arg=""
  1331. +
  1332. +while [ x"$1" != x ]; do
  1333. +    case $1 in
  1334. +    -c) instcmd="$cpprog"
  1335. +        shift
  1336. +        continue;;
  1337. +
  1338. +    -d) dir_arg=true
  1339. +        shift
  1340. +        continue;;
  1341. +
  1342. +    -m) chmodcmd="$chmodprog $2"
  1343. +        shift
  1344. +        shift
  1345. +        continue;;
  1346. +
  1347. +    -o) chowncmd="$chownprog $2"
  1348. +        shift
  1349. +        shift
  1350. +        continue;;
  1351. +
  1352. +    -g) chgrpcmd="$chgrpprog $2"
  1353. +        shift
  1354. +        shift
  1355. +        continue;;
  1356. +
  1357. +    -s) stripcmd="$stripprog"
  1358. +        shift
  1359. +        continue;;
  1360. +
  1361. +    -t=*) transformarg=`echo $1 | sed 's/-t=//'`
  1362. +        shift
  1363. +        continue;;
  1364. +
  1365. +    -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
  1366. +        shift
  1367. +        continue;;
  1368. +
  1369. +    *)  if [ x"$src" = x ]
  1370. +        then
  1371. +        src=$1
  1372. +        else
  1373. +        # this colon is to work around a 386BSD /bin/sh bug
  1374. +        :
  1375. +        dst=$1
  1376. +        fi
  1377. +        shift
  1378. +        continue;;
  1379. +    esac
  1380. +done
  1381. +
  1382. +if [ x"$src" = x ]
  1383. +then
  1384. +    echo "install:    no input file specified"
  1385. +    exit 1
  1386. +else
  1387. +    true
  1388. +fi
  1389. +
  1390. +if [ x"$dir_arg" != x ]; then
  1391. +    dst=$src
  1392. +    src=""
  1393. +    
  1394. +    if [ -d $dst ]; then
  1395. +        instcmd=:
  1396. +    else
  1397. +        instcmd=mkdir
  1398. +    fi
  1399. +else
  1400. +
  1401. +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
  1402. +# might cause directories to be created, which would be especially bad 
  1403. +# if $src (and thus $dsttmp) contains '*'.
  1404. +
  1405. +    if [ -f $src -o -d $src ]
  1406. +    then
  1407. +        true
  1408. +    else
  1409. +        echo "install:  $src does not exist"
  1410. +        exit 1
  1411. +    fi
  1412. +    
  1413. +    if [ x"$dst" = x ]
  1414. +    then
  1415. +        echo "install:    no destination specified"
  1416. +        exit 1
  1417. +    else
  1418. +        true
  1419. +    fi
  1420. +
  1421. +# If destination is a directory, append the input filename; if your system
  1422. +# does not like double slashes in filenames, you may need to add some logic
  1423. +
  1424. +    if [ -d $dst ]
  1425. +    then
  1426. +        dst="$dst"/`basename $src`
  1427. +    else
  1428. +        true
  1429. +    fi
  1430. +fi
  1431. +
  1432. +## this sed command emulates the dirname command
  1433. +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
  1434. +
  1435. +# Make sure that the destination directory exists.
  1436. +#  this part is taken from Noah Friedman's mkinstalldirs script
  1437. +
  1438. +# Skip lots of stat calls in the usual case.
  1439. +if [ ! -d "$dstdir" ]; then
  1440. +defaultIFS='    
  1441. +'
  1442. +IFS="${IFS-${defaultIFS}}"
  1443. +
  1444. +oIFS="${IFS}"
  1445. +# Some sh's can't handle IFS=/ for some reason.
  1446. +IFS='%'
  1447. +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
  1448. +IFS="${oIFS}"
  1449. +
  1450. +pathcomp=''
  1451. +
  1452. +while [ $# -ne 0 ] ; do
  1453. +    pathcomp="${pathcomp}${1}"
  1454. +    shift
  1455. +
  1456. +    if [ ! -d "${pathcomp}" ] ;
  1457. +        then
  1458. +        $mkdirprog "${pathcomp}"
  1459. +    else
  1460. +        true
  1461. +    fi
  1462. +
  1463. +    pathcomp="${pathcomp}/"
  1464. +done
  1465. +fi
  1466. +
  1467. +if [ x"$dir_arg" != x ]
  1468. +then
  1469. +    $doit $instcmd $dst &&
  1470. +
  1471. +    if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
  1472. +    if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
  1473. +    if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
  1474. +    if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
  1475. +else
  1476. +
  1477. +# If we're going to rename the final executable, determine the name now.
  1478. +
  1479. +    if [ x"$transformarg" = x ] 
  1480. +    then
  1481. +        dstfile=`basename $dst`
  1482. +    else
  1483. +        dstfile=`basename $dst $transformbasename | 
  1484. +            sed $transformarg`$transformbasename
  1485. +    fi
  1486. +
  1487. +# don't allow the sed command to completely eliminate the filename
  1488. +
  1489. +    if [ x"$dstfile" = x ] 
  1490. +    then
  1491. +        dstfile=`basename $dst`
  1492. +    else
  1493. +        true
  1494. +    fi
  1495. +
  1496. +# Make a temp file name in the proper directory.
  1497. +
  1498. +    dsttmp=$dstdir/#inst.$$#
  1499. +
  1500. +# Move or copy the file name to the temp name
  1501. +
  1502. +    $doit $instcmd $src $dsttmp &&
  1503. +
  1504. +    trap "rm -f ${dsttmp}" 0 &&
  1505. +
  1506. +# and set any options; do chmod last to preserve setuid bits
  1507. +
  1508. +# If any of these fail, we abort the whole thing.  If we want to
  1509. +# ignore errors from any of these, just make sure not to ignore
  1510. +# errors from the above "$doit $instcmd $src $dsttmp" command.
  1511. +
  1512. +    if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
  1513. +    if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
  1514. +    if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
  1515. +    if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
  1516. +
  1517. +# Now rename the file to the real destination.
  1518. +
  1519. +    $doit $rmcmd -f $dstdir/$dstfile &&
  1520. +    $doit $mvcmd $dsttmp $dstdir/$dstfile 
  1521. +
  1522. +fi &&
  1523. +
  1524. +
  1525. +exit 0
  1526. diff -rup --new-file baseline/fsf/doschk/manifests/bin amiga/fsf/doschk/manifests/bin
  1527. --- baseline/fsf/doschk/manifests/bin    Wed Dec 31 17:00:00 1969
  1528. +++ amiga/fsf/doschk/manifests/bin    Sat Sep 28 00:00:00 1996
  1529. @@ -0,0 +1,3 @@
  1530. +COPYING
  1531. +COPYING.info
  1532. +bin/doschk
  1533. diff -rup --new-file baseline/fsf/doschk/manifests/src amiga/fsf/doschk/manifests/src
  1534. --- baseline/fsf/doschk/manifests/src    Wed Dec 31 17:00:00 1969
  1535. +++ amiga/fsf/doschk/manifests/src    Sat Sep 28 00:00:00 1996
  1536. @@ -0,0 +1,12 @@
  1537. +fsf/doschk/BeOS.diffs
  1538. +fsf/doschk/COPYING
  1539. +fsf/doschk/ChangeLog
  1540. +fsf/doschk/Makefile.in
  1541. +fsf/doschk/Product-Info
  1542. +fsf/doschk/README
  1543. +fsf/doschk/configure
  1544. +fsf/doschk/configure.in
  1545. +fsf/doschk/doschk.c
  1546. +fsf/doschk/install-sh
  1547. +fsf/doschk/manifests/bin
  1548. +fsf/doschk/manifests/src
  1549.