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

  1. diff -rc --new-file indent-1.9.1/CONF-README /gnu/src/amiga/indent-1.9.1/CONF-README
  2. *** indent-1.9.1/CONF-README    Wed Sep 15 23:05:10 1993
  3. --- /gnu/src/amiga/indent-1.9.1/CONF-README    Wed Feb 23 10:17:32 1994
  4. ***************
  5. *** 35,42 ****
  6.   where DIR is the directory that contains the source code.
  7.   
  8.      By default, `make install' will install the package's files in
  9. ! `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  10. ! installation prefix other than `/usr/local' by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  12.   giving a value for the `prefix' variable when you run `make', e.g.,
  13.        make prefix=/usr/gnu
  14. --- 35,42 ----
  15.   where DIR is the directory that contains the source code.
  16.   
  17.      By default, `make install' will install the package's files in
  18. ! `/gnu/bin', `/gnu/man', etc.  You can specify an
  19. ! installation prefix other than `/gnu' by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  21.   giving a value for the `prefix' variable when you run `make', e.g.,
  22.        make prefix=/usr/gnu
  23. diff -rc --new-file indent-1.9.1/Product-Info /gnu/src/amiga/indent-1.9.1/Product-Info
  24. *** indent-1.9.1/Product-Info    Thu Jan  1 00:00:00 1970
  25. --- /gnu/src/amiga/indent-1.9.1/Product-Info    Tue Jul 12 17:27:29 1994
  26. ***************
  27. *** 0 ****
  28. --- 1,24 ----
  29. + .name
  30. + indent
  31. + .fullname
  32. + C code beautifier
  33. + .type
  34. + Programmer Tool
  35. + .short
  36. + C code beautifier
  37. + .description
  38. + The `indent' program can be used to make code easier to read.  It can
  39. + also convert from one style of writing C to another, and understands a
  40. + substantial amount about the syntax of C, but it also attempts to cope
  41. + with incomplete and misformed syntax.  In version 1.2 and more recent
  42. + versions, the GNU style of indenting is the default.
  43. + .version
  44. + 1.9.1
  45. + .author
  46. + Free Software Foundation
  47. + .requirements
  48. + Amiga binary requires ixemul.library.
  49. + .distribution
  50. + GNU Public License
  51. + .described-by
  52. + Fred Fish (fnf@amigalib.com)
  53. diff -rc --new-file indent-1.9.1/README /gnu/src/amiga/indent-1.9.1/README
  54. *** indent-1.9.1/README    Sun Jan 30 02:22:04 1994
  55. --- /gnu/src/amiga/indent-1.9.1/README    Wed Feb 23 10:16:44 1994
  56. ***************
  57. *** 10,17 ****
  58.     Once you have unpacked the tar file, simply type "make" in the source
  59.     directory to produce an executable copy of `indent' in that directory.
  60.     If you then type "make install", the program will be installed by
  61. !   default as /usr/local/bin/indent and the on-line help will be
  62. !   installed as /usr/local/info/indent.info (see DOCUMENTATION, below).
  63.   
  64.     It is possible to change these default installation paths.  To change
  65.     the place where `indent' is installed, you may specify the prefix
  66. --- 10,17 ----
  67.     Once you have unpacked the tar file, simply type "make" in the source
  68.     directory to produce an executable copy of `indent' in that directory.
  69.     If you then type "make install", the program will be installed by
  70. !   default as /gnu/bin/indent and the on-line help will be
  71. !   installed as /gnu/info/indent.info (see DOCUMENTATION, below).
  72.   
  73.     It is possible to change these default installation paths.  To change
  74.     the place where `indent' is installed, you may specify the prefix
  75. diff -rc --new-file indent-1.9.1/configure /gnu/src/amiga/indent-1.9.1/configure
  76. *** indent-1.9.1/configure    Thu Jul  8 23:57:50 1993
  77. --- /gnu/src/amiga/indent-1.9.1/configure    Mon Apr 25 21:31:10 1994
  78. ***************
  79. *** 1,144 ****
  80.   #!/bin/sh
  81.   # Guess values for system-dependent variables and create Makefiles.
  82. ! # Generated automatically using autoconf.
  83. ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  84.   
  85. ! # This program is free software; you can redistribute it and/or modify
  86. ! # it under the terms of the GNU General Public License as published by
  87. ! # the Free Software Foundation; either version 2, or (at your option)
  88.   # any later version.
  89.   
  90. ! # This program is distributed in the hope that it will be useful,
  91. ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
  92. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  93. ! # GNU General Public License for more details.
  94.   
  95.   # You should have received a copy of the GNU General Public License
  96.   # along with this program; if not, write to the Free Software
  97.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  98.   
  99. ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp] [--no-create]
  100. ! #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE] [TARGET]
  101. ! # Ignores all args except --srcdir, --prefix, --exec-prefix, --no-create, and
  102. ! # --with-PACKAGE unless this script has special code to handle it.
  103.   
  104.   
  105. ! for arg
  106.   do
  107. -   # Handle --exec-prefix with a space before the argument.
  108. -   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  109. -   # Handle --host with a space before the argument.
  110. -   elif test x$next_host = xyes; then next_host=
  111. -   # Handle --prefix with a space before the argument.
  112. -   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  113. -   # Handle --srcdir with a space before the argument.
  114. -   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  115. -   else
  116. -     case $arg in
  117. -      # For backward compatibility, also recognize exact --exec_prefix.
  118. -      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  119. -     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  120. -      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  121. -     next_exec_prefix=yes ;;
  122. -      -gas | --gas | --ga | --g) ;;
  123. -      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  124. -      -host | --host | --hos | --ho | --h)
  125. -     next_host=yes ;;
  126. -      -nfp | --nfp | --nf) ;;
  127. -      -no-create | --no-create | --no-creat | --no-crea | --no-cre | --no-cr | --no-c | --no- | --no)
  128. -         no_create=1 ;;
  129. -      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  130. -     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  131. -      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  132. -     next_prefix=yes ;;
  133. -      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  134. -     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  135. -      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  136. -     next_srcdir=yes ;;
  137. -      -with-* | --with-*)
  138. -        package=`echo $arg|sed 's/-*with-//'`
  139. -        # Delete all the valid chars; see if any are left.
  140. -        if test -n "`echo $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then
  141. -          echo "configure: $package: invalid package name" >&2; exit 1
  142. -        fi
  143. -        eval "with_`echo $package|sed s/-/_/g`=1" ;;
  144.   
  145. !      -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  146. !        verbose=yes ;;
  147.   
  148. !      *) ;;
  149.       esac
  150. !   fi
  151.   done
  152.   
  153. ! trap 'rm -fr conftest* core; exit 1' 1 3 15
  154.   
  155.   # NLS nuisances.
  156.   # These must not be set unconditionally because not all systems understand
  157.   # e.g. LANG=C (notably SCO).
  158. ! if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
  159. ! if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
  160.   
  161. ! rm -f conftest*
  162. ! compile='${CC-cc} $CFLAGS $DEFS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  163.   
  164.   # A filename unique to this package, relative to the directory that
  165.   # configure is in, which we can look for to find out if srcdir is correct.
  166. ! unique_file=indent.c
  167.   
  168.   # Find the source files, if location was not specified.
  169.   if test -z "$srcdir"; then
  170. !   srcdirdefaulted=yes
  171.     # Try the directory containing this script, then `..'.
  172. !   prog=$0
  173. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  174. !   test "X$confdir" = "X$prog" && confdir=.
  175. !   srcdir=$confdir
  176. !   if test ! -r $srcdir/$unique_file; then
  177.       srcdir=..
  178.     fi
  179.   fi
  180. ! if test ! -r $srcdir/$unique_file; then
  181. !   if test x$srcdirdefaulted = xyes; then
  182. !     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  183.     else
  184. !     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  185.     fi
  186. -   exit 1
  187.   fi
  188. ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  189. ! # But we can't avoid them for `..', to make subdirectories work.
  190. ! case $srcdir in
  191. !   .|/*|~*) ;;
  192. !   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  193. ! esac
  194.   
  195. - # Save the original args to write them into config.status later.
  196. - configure_args="$*"
  197.   
  198.   if test -z "$CC"; then
  199.     # Extract the first word of `gcc', so it can be a program name with args.
  200. !   set dummy gcc; word=$2
  201. !   echo checking for $word
  202. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  203. !   for dir in $PATH; do
  204. !     test -z "$dir" && dir=.
  205. !     if test -f $dir/$word; then
  206.         CC="gcc"
  207.         break
  208.       fi
  209.     done
  210. !   IFS="$saveifs"
  211.   fi
  212.   test -z "$CC" && CC="cc"
  213. ! test -n "$CC" -a -n "$verbose" && echo "    setting CC to $CC"
  214.   
  215.   # Find out if we are using GNU C, under whatever name.
  216.   cat > conftest.c <<EOF
  217. --- 1,335 ----
  218.   #!/bin/sh
  219.   # Guess values for system-dependent variables and create Makefiles.
  220. ! # Generated automatically using autoconf version 1.9 
  221. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  222.   
  223. ! # This configure script is free software; you can redistribute it and/or
  224. ! # modify it under the terms of the GNU General Public License as published
  225. ! # by the Free Software Foundation; either version 2, or (at your option)
  226.   # any later version.
  227.   
  228. ! # This script is distributed in the hope that it will be useful, but
  229. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  230. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  231. ! # Public License for more details.
  232.   
  233.   # You should have received a copy of the GNU General Public License
  234.   # along with this program; if not, write to the Free Software
  235.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  236.   
  237. ! # Save the original args to write them into config.status later.
  238. ! configure_args="$*"
  239.   
  240. + # Only options that might do something get documented.
  241. + ac_usage="Usage: configure [options] [host]
  242. + Options: [defaults in brackets after descriptions]
  243. + --build=BUILD        configure for building on BUILD [BUILD=HOST]
  244. + --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  245. + --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  246. + --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  247. + --help            print this message
  248. + --host=HOST        configure for HOST [guessed]
  249. + --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  250. + --quiet, --silent    do not print \`checking for...' messages
  251. + --srcdir=DIR        find the sources in DIR [configure dir or ..]
  252. + --target=TARGET        configure for TARGET [TARGET=HOST]
  253. + --verbose        print results of checks
  254. + --version        print the version of autoconf that created configure
  255. + --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  256. + --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  257. + --x-includes=DIR    X include files are in DIR
  258. + --x-libraries=DIR    X library files are in DIR"
  259. + # Initialize some variables set by options.
  260. + # The variables have the same names as the options, with
  261. + # dashes changed to underlines.
  262. + build=NONE
  263. + exec_prefix=
  264. + host=NONE
  265. + no_create=
  266. + nonopt=NONE
  267. + norecursion=
  268. + prefix=
  269. + program_prefix=
  270. + program_suffix=
  271. + program_transform_name=
  272. + silent=
  273. + srcdir=
  274. + target=NONE
  275. + verbose=
  276. + x_includes=
  277. + x_libraries=
  278.   
  279. ! ac_prev=
  280. ! for ac_option
  281.   do
  282.   
  283. !   # If the previous option needs an argument, assign it.
  284. !   if test -n "$ac_prev"; then
  285. !     eval "$ac_prev=\$ac_option"
  286. !     ac_prev=
  287. !     continue
  288. !   fi
  289. !   # Accept (but ignore some of) the important Cygnus configure
  290. !   # options, so we can diagnose typos.
  291. !   case "$ac_option" in
  292. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  293. !   *) ac_optarg= ;;
  294. !   esac
  295. !   case "$ac_option" in
  296. !   -build | --build | --buil | --bui | --bu | --b)
  297. !     ac_prev=build ;;
  298. !   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  299. !     build="$ac_optarg" ;;
  300. !   -disable-* | --disable-*)
  301. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  302. !     # Reject names that aren't valid shell variable names.
  303. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  304. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  305. !     fi
  306. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  307. !     eval "enable_${ac_feature}=no" ;;
  308.   
  309. !   -enable-* | --enable-*)
  310. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  311. !     # Reject names that aren't valid shell variable names.
  312. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  313. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  314. !     fi
  315. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  316. !     case "$ac_option" in
  317. !       *=*) ;;
  318. !       *) ac_optarg=yes ;;
  319.       esac
  320. !     eval "enable_${ac_feature}='$ac_optarg'" ;;
  321. !   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  322. !   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  323. !   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  324. !   | --exec | --exe | --ex)
  325. !     ac_prev=exec_prefix ;;
  326. !   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  327. !   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  328. !   | --exec=* | --exe=* | --ex=*)
  329. !     exec_prefix="$ac_optarg" ;;
  330. !   -gas | --gas | --ga | --g)
  331. !     with_gas=yes ;; # Obsolete; use --with-gas.
  332. !   -help | --help | --hel | --he)
  333. !     cat << EOF
  334. ! $ac_usage
  335. ! EOF
  336. !     exit 0 ;;
  337. !   -host | --host | --hos | --ho)
  338. !     ac_prev=host ;;
  339. !   -host=* | --host=* | --hos=* | --ho=*)
  340. !     host="$ac_optarg" ;;
  341. !   -nfp | --nfp | --nf)
  342. !     with_fp=no ;; # Obsolete; use --without-fp.
  343. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  344. !   | --no-cr | --no-c)
  345. !     no_create=yes ;;
  346. !   -norecursion | --norecursion | --norecursio | --norecursi \
  347. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  348. !     norecursion=yes ;;
  349. !   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  350. !     ac_prev=prefix ;;
  351. !   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  352. !     prefix="$ac_optarg" ;;
  353. !   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  354. !   | --program-pre | --program-pr | --program-p)
  355. !     ac_prev=program_prefix ;;
  356. !   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  357. !   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  358. !     program_prefix="$ac_optarg" ;;
  359. !   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  360. !   | --program-suf | --program-su | --program-s)
  361. !     ac_prev=program_suffix ;;
  362. !   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  363. !   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  364. !     program_suffix="$ac_optarg" ;;
  365. !   -program-transform-name | --program-transform-name \
  366. !   | --program-transform-nam | --program-transform-na \
  367. !   | --program-transform-n | --program-transform- \
  368. !   | --program-transform | --program-transfor \
  369. !   | --program-transfo | --program-transf \
  370. !   | --program-trans | --program-tran \
  371. !   | --progr-tra | --program-tr | --program-t)
  372. !     ac_prev=program_transform_name ;;
  373. !   -program-transform-name=* | --program-transform-name=* \
  374. !   | --program-transform-nam=* | --program-transform-na=* \
  375. !   | --program-transform-n=* | --program-transform-=* \
  376. !   | --program-transform=* | --program-transfor=* \
  377. !   | --program-transfo=* | --program-transf=* \
  378. !   | --program-trans=* | --program-tran=* \
  379. !   | --progr-tra=* | --program-tr=* | --program-t=*)
  380. !     program_transform_name="$ac_optarg" ;;
  381. !   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  382. !   | -silent | --silent | --silen | --sile | --sil)
  383. !     silent=yes ;;
  384. !   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  385. !     ac_prev=srcdir ;;
  386. !   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  387. !     srcdir="$ac_optarg" ;;
  388. !   -target | --target | --targe | --targ | --tar | --ta | --t)
  389. !     ac_prev=target ;;
  390. !   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  391. !     target="$ac_optarg" ;;
  392. !   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  393. !     verbose=yes ;;
  394. !   -version | --version | --versio | --versi | --vers)
  395. !     /bin/echo "configure generated by autoconf version 1.9"
  396. !     exit 0 ;;
  397. !   -with-* | --with-*)
  398. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  399. !     # Reject names that aren't valid shell variable names.
  400. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  401. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  402. !     fi
  403. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  404. !     case "$ac_option" in
  405. !       *=*) ;;
  406. !       *) ac_optarg=yes ;;
  407. !     esac
  408. !     eval "with_${ac_package}='$ac_optarg'" ;;
  409. !   -without-* | --without-*)
  410. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  411. !     # Reject names that aren't valid shell variable names.
  412. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  413. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  414. !     fi
  415. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  416. !     eval "with_${ac_package}=no" ;;
  417. !   --x) with_x=yes ;; # Obsolete; use --with-x.
  418. !   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  419. !   | --x-incl | --x-inc | --x-in | --x-i)
  420. !     ac_prev=x_includes ;;
  421. !   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  422. !   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  423. !     x_includes="$ac_optarg" ;;
  424. !   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  425. !   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  426. !     ac_prev=x_libraries ;;
  427. !   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  428. !   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  429. !     x_libraries="$ac_optarg" ;;
  430. !   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  431. !     ;;
  432. !   *) 
  433. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  434. !       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  435. !     fi
  436. !     if test "x$nonopt" != xNONE; then
  437. !       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  438. !     fi
  439. !     nonopt="$ac_option"
  440. !     ;;
  441. !   esac
  442.   done
  443.   
  444. ! if test -n "$ac_prev"; then
  445. !   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  446. ! fi
  447. ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  448. ! trap 'rm -fr confdefs* $ac_clean_files' 0
  449. ! # Save the original args if we used an alternate arg parser.
  450. ! ac_configure_temp="${configure_args-$*}"
  451. ! # Strip out --no-create and --norecursion so they don't pile up.
  452. ! configure_args=
  453. ! for ac_arg in $ac_configure_temp; do
  454. !   case "$ac_arg" in
  455. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  456. !   | --no-cr | --no-c) ;;
  457. !   -norecursion | --norecursion | --norecursio | --norecursi \
  458. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  459. !   *) configure_args="$configure_args $ac_arg" ;;
  460. !   esac
  461. ! done
  462.   
  463.   # NLS nuisances.
  464.   # These must not be set unconditionally because not all systems understand
  465.   # e.g. LANG=C (notably SCO).
  466. ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  467. ! if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  468.   
  469. ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
  470. ! rm -rf conftest* confdefs.h
  471. ! # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  472. ! /bin/echo > confdefs.h
  473.   
  474.   # A filename unique to this package, relative to the directory that
  475.   # configure is in, which we can look for to find out if srcdir is correct.
  476. ! ac_unique_file=indent.c
  477.   
  478.   # Find the source files, if location was not specified.
  479.   if test -z "$srcdir"; then
  480. !   ac_srcdir_defaulted=yes
  481.     # Try the directory containing this script, then `..'.
  482. !   ac_prog=$0
  483. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  484. !   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  485. !   srcdir=$ac_confdir
  486. !   if test ! -r $srcdir/$ac_unique_file; then
  487.       srcdir=..
  488.     fi
  489.   fi
  490. ! if test ! -r $srcdir/$ac_unique_file; then
  491. !   if test x$ac_srcdir_defaulted = xyes; then
  492. !     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  493.     else
  494. !     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  495.     fi
  496.   fi
  497. ! ac_ext=c
  498. ! ac_cpp='${CPP} $CFLAGS'
  499. ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  500.   
  501.   
  502.   if test -z "$CC"; then
  503.     # Extract the first word of `gcc', so it can be a program name with args.
  504. !   set ac_dummy gcc; ac_word=$2
  505. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  506. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  507. !   for ac_dir in $PATH; do
  508. !     test -z "$ac_dir" && ac_dir=.
  509. !     if test -f $ac_dir/$ac_word; then
  510.         CC="gcc"
  511.         break
  512.       fi
  513.     done
  514. !   IFS="$ac_save_ifs"
  515.   fi
  516.   test -z "$CC" && CC="cc"
  517. ! test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  518.   
  519.   # Find out if we are using GNU C, under whatever name.
  520.   cat > conftest.c <<EOF
  521. ***************
  522. *** 152,276 ****
  523.   fi
  524.   rm -f conftest*
  525.   
  526. ! echo checking how to run the C preprocessor
  527.   if test -z "$CPP"; then
  528.     # This must be in double quotes, not single quotes, because CPP may get
  529.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  530.     # make.  It must be expanded now.
  531.     CPP="${CC-cc} -E"
  532. !   cat > conftest.c <<EOF
  533.   #include <stdio.h>
  534.   Syntax Error
  535.   EOF
  536. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  537. ! if test -z "$err"; then
  538.     :
  539.   else
  540.     CPP=/lib/cpp
  541.   fi
  542.   rm -f conftest*
  543.   fi
  544. ! test ".${verbose}" != "." && echo "    setting CPP to $CPP"
  545.   
  546.   # Make sure to not get the incompatible SysV /etc/install and
  547.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  548.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  549.   # or the AFS install, which mishandles nonexistent args, or
  550.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  551. ! # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  552. ! # anyway.  Sigh.
  553.   if test "z${INSTALL}" = "z" ; then
  554. !   echo checking for install
  555. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  556. !   for dir in $PATH; do
  557. !     test -z "$dir" && dir=.
  558. !     case $dir in
  559. !     /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  560.       *)
  561. !       if test -f $dir/installbsd; then
  562. !     INSTALL="$dir/installbsd -c" # OSF1
  563. !     INSTALL_PROGRAM='$(INSTALL)'
  564. !     INSTALL_DATA='$(INSTALL) -m 644'
  565. !     break
  566. !       fi
  567. !       if test -f $dir/install; then
  568. !     if grep dspmsg $dir/install >/dev/null 2>&1; then
  569. !       : # AIX
  570. !     else
  571. !       INSTALL="$dir/install -c"
  572. !       INSTALL_PROGRAM='$(INSTALL)'
  573. !       INSTALL_DATA='$(INSTALL) -m 644'
  574. !       break
  575.       fi
  576. !       fi
  577.         ;;
  578.       esac
  579.     done
  580. !   IFS="$saveifs"
  581.   fi
  582. ! INSTALL=${INSTALL-cp}
  583. ! INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  584. ! INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  585. ! echo checking for AIX
  586. ! cat > conftest.c <<EOF
  587.   #ifdef _AIX
  588.     yes
  589.   #endif
  590.   
  591.   EOF
  592. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  593.   if egrep "yes" conftest.out >/dev/null 2>&1; then
  594. !   {
  595.   test -n "$verbose" && \
  596. ! echo '    defining' _ALL_SOURCE
  597.   DEFS="$DEFS -D_ALL_SOURCE=1"
  598.   }
  599.   
  600.   fi
  601.   rm -f conftest*
  602.   
  603.   
  604. ! echo checking for minix/config.h
  605. ! cat > conftest.c <<EOF
  606.   #include <minix/config.h>
  607.   EOF
  608. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  609. ! if test -z "$err"; then
  610.     MINIX=1
  611.   fi
  612.   rm -f conftest*
  613.   
  614.   # The Minix shell can't assign to the same variable on the same line!
  615.   if test -n "$MINIX"; then
  616. !   {
  617.   test -n "$verbose" && \
  618. ! echo '    defining' _POSIX_SOURCE
  619.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  620.   }
  621.   
  622. !   {
  623.   test -n "$verbose" && \
  624. ! echo '    defining' _POSIX_1_SOURCE to be '2'
  625.   DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  626.   }
  627.   
  628. !   {
  629.   test -n "$verbose" && \
  630. ! echo '    defining' _MINIX
  631.   DEFS="$DEFS -D_MINIX=1"
  632.   }
  633.   
  634.   fi
  635.   
  636. ! echo checking for POSIXized ISC
  637. ! if test -d /etc/conf/kconfig.d &&
  638. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  639.   then
  640.     ISC=1 # If later tests want to check for ISC.
  641. !   {
  642.   test -n "$verbose" && \
  643. ! echo '    defining' _POSIX_SOURCE
  644.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  645.   }
  646.   
  647. --- 343,525 ----
  648.   fi
  649.   rm -f conftest*
  650.   
  651. ! test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  652.   if test -z "$CPP"; then
  653.     # This must be in double quotes, not single quotes, because CPP may get
  654.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  655.     # make.  It must be expanded now.
  656.     CPP="${CC-cc} -E"
  657. !   cat > conftest.${ac_ext} <<EOF
  658. ! #include "confdefs.h"
  659.   #include <stdio.h>
  660.   Syntax Error
  661.   EOF
  662. ! # Some shells (Coherent) do redirections in the wrong order, so need
  663. ! # the parens.
  664. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  665. ! if test -z "$ac_err"; then
  666.     :
  667.   else
  668. +   rm -rf conftest*
  669. +   CPP="${CC-cc} -E -traditional-cpp"
  670. +   cat > conftest.${ac_ext} <<EOF
  671. + #include "confdefs.h"
  672. + #include <stdio.h>
  673. + Syntax Error
  674. + EOF
  675. + # Some shells (Coherent) do redirections in the wrong order, so need
  676. + # the parens.
  677. + ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  678. + if test -z "$ac_err"; then
  679. +   :
  680. + else
  681. +   rm -rf conftest*
  682.     CPP=/lib/cpp
  683.   fi
  684.   rm -f conftest*
  685.   fi
  686. ! rm -f conftest*
  687. ! fi
  688. ! test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  689.   
  690.   # Make sure to not get the incompatible SysV /etc/install and
  691.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  692.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  693.   # or the AFS install, which mishandles nonexistent args, or
  694.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  695. ! # `staff', or /sbin/install on IRIX which has incompatible command-line
  696. ! # syntax.  Sigh.
  697. ! #
  698. ! #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  699. ! #     anyway.
  700. ! # This turns out not to be true, so the mere pathname isn't an indication
  701. ! # of whether the program works.  What we really need is a set of tests for
  702. ! # the install program to see if it actually works in all the required ways.
  703. ! #
  704. ! # Avoid using ./install, which might have been erroneously created
  705. ! # by make from ./install.sh.
  706.   if test "z${INSTALL}" = "z" ; then
  707. !   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  708. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  709. !   for ac_dir in $PATH; do
  710. !     case "$ac_dir" in
  711. !     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  712.       *)
  713. !       # OSF1 and SCO ODT 3.0 have their own names for install.
  714. !       for ac_prog in installbsd scoinst install; do
  715. !         if test -f $ac_dir/$ac_prog; then
  716. !       if test $ac_prog = install &&
  717. !             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  718. !         # AIX install.  It has an incompatible calling convention.
  719. !         # OSF/1 installbsd also uses dspmsg, but is usable.
  720. !         :
  721. !       else
  722. !         INSTALL="$ac_dir/$ac_prog -c"
  723. !         INSTALL_PROGRAM='${INSTALL}'
  724. !         INSTALL_DATA='${INSTALL} -m 644'
  725. !         break 2
  726. !       fi
  727.       fi
  728. !       done
  729.         ;;
  730.       esac
  731.     done
  732. !   IFS="$ac_save_ifs"
  733.   fi
  734. ! if test -z "$INSTALL"; then
  735. !   if test -f ${srcdir}/install.sh; then
  736. !     # As a last resort, use the slow shell script.
  737. !     INSTALL='@top_srcdir@/install.sh -c'
  738. !   else
  739. !     /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
  740. !     INSTALL=cp
  741. !   fi
  742. ! fi
  743. ! test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  744. ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  745. ! # It thinks the first close brace ends the variable substitution.
  746. ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  747. ! test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  748. ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
  749. ! test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  750. ! test -n "$silent" || /bin/echo "checking for AIX"
  751. ! cat > conftest.${ac_ext} <<EOF
  752. ! #include "confdefs.h"
  753.   #ifdef _AIX
  754.     yes
  755.   #endif
  756.   
  757.   EOF
  758. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  759.   if egrep "yes" conftest.out >/dev/null 2>&1; then
  760. !   rm -rf conftest*
  761. !   
  762. ! {
  763.   test -n "$verbose" && \
  764. ! /bin/echo "    defining _ALL_SOURCE"
  765. ! /bin/echo "#define" _ALL_SOURCE "1" >> confdefs.h
  766.   DEFS="$DEFS -D_ALL_SOURCE=1"
  767.   }
  768.   
  769.   fi
  770.   rm -f conftest*
  771.   
  772.   
  773. ! test -n "$silent" || /bin/echo "checking for minix/config.h"
  774. ! cat > conftest.${ac_ext} <<EOF
  775. ! #include "confdefs.h"
  776.   #include <minix/config.h>
  777.   EOF
  778. ! # Some shells (Coherent) do redirections in the wrong order, so need
  779. ! # the parens.
  780. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  781. ! if test -z "$ac_err"; then
  782. !   rm -rf conftest*
  783.     MINIX=1
  784.   fi
  785.   rm -f conftest*
  786.   
  787.   # The Minix shell can't assign to the same variable on the same line!
  788.   if test -n "$MINIX"; then
  789. !   
  790. ! {
  791.   test -n "$verbose" && \
  792. ! /bin/echo "    defining _POSIX_SOURCE"
  793. ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  794.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  795.   }
  796.   
  797. !   
  798. ! {
  799.   test -n "$verbose" && \
  800. ! /bin/echo "    defining" _POSIX_1_SOURCE to be "2"
  801. ! /bin/echo "#define" _POSIX_1_SOURCE "2" >> confdefs.h
  802.   DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  803.   }
  804.   
  805. !   
  806. ! {
  807.   test -n "$verbose" && \
  808. ! /bin/echo "    defining _MINIX"
  809. ! /bin/echo "#define" _MINIX "1" >> confdefs.h
  810.   DEFS="$DEFS -D_MINIX=1"
  811.   }
  812.   
  813.   fi
  814.   
  815. ! test -n "$silent" || /bin/echo "checking for POSIXized ISC"
  816. ! if test -d /gnu/etc/conf/kconfig.d &&
  817. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  818.   then
  819.     ISC=1 # If later tests want to check for ISC.
  820. !   
  821. ! {
  822.   test -n "$verbose" && \
  823. ! /bin/echo "    defining _POSIX_SOURCE"
  824. ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  825.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  826.   }
  827.   
  828. ***************
  829. *** 281,459 ****
  830.     fi
  831.   fi
  832.   
  833. ! echo checking for BSD string and memory functions
  834. ! cat > conftest.c <<EOF
  835. ! #include <strings.h>
  836. ! int main() { exit(0); }
  837. ! int t() { rindex(0, 0); bzero(0, 0); }
  838. ! EOF
  839. ! if eval $compile; then
  840. !   :
  841. ! else
  842. !   {
  843. ! test -n "$verbose" && \
  844. ! echo '    defining' USG
  845. ! DEFS="$DEFS -DUSG=1"
  846. ! }
  847. ! fi
  848. ! rm -f conftest*
  849. ! for func in memcpy
  850.   do
  851. ! echo checking for ${func}
  852. ! cat > conftest.c <<EOF
  853.   #include <ctype.h>
  854. ! int main() { exit(0); }
  855.   int t() { 
  856.   /* The GNU C library defines this for functions which it implements
  857.       to always fail with ENOSYS.  Some functions are actually named
  858.       something starting with __ and the normal name is an alias.  */
  859. ! #if defined (__stub_${func}) || defined (__stub___${func})
  860.   choke me
  861.   #else
  862.   /* Override any gcc2 internal prototype to avoid an error.  */
  863. ! extern char ${func}(); ${func}();
  864.   #endif
  865. !  }
  866.   EOF
  867. ! if eval $compile; then
  868.     :
  869.   else
  870. !   LIBOBJS="$LIBOBJS ${func}.o"
  871. ! test -n "$verbose" && echo "    using ${func}.o instead"
  872.   fi
  873.   rm -f conftest*
  874.   
  875.   done
  876.   
  877. ! echo checking for unistd.h
  878. ! cat > conftest.c <<EOF
  879. ! #include <unistd.h>
  880. ! EOF
  881. ! err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  882. ! if test -z "$err"; then
  883. !   {
  884. ! test -n "$verbose" && \
  885. ! echo '    defining' HAVE_UNISTD_H
  886. ! DEFS="$DEFS -DHAVE_UNISTD_H=1"
  887.   }
  888.   
  889.   fi
  890.   rm -f conftest*
  891.   
  892. ! echo checking for directory library header
  893. ! dirheader=
  894. ! if test -z "$dirheader"; then
  895. !   echo checking for dirent.h
  896. ! cat > conftest.c <<EOF
  897.   #include <sys/types.h>
  898.   #include <dirent.h>
  899. ! int main() { exit(0); }
  900. ! int t() { DIR *dirp = opendir ("/"); }
  901.   EOF
  902. ! if eval $compile; then
  903. !   {
  904.   test -n "$verbose" && \
  905. ! echo '    defining' DIRENT
  906.   DEFS="$DEFS -DDIRENT=1"
  907.   }
  908. !  dirheader=dirent.h
  909.   fi
  910.   rm -f conftest*
  911.   fi
  912. ! if test -z "$dirheader"; then
  913. !   echo checking for sys/ndir.h
  914. ! cat > conftest.c <<EOF
  915.   #include <sys/types.h>
  916.   #include <sys/ndir.h>
  917. ! int main() { exit(0); }
  918. ! int t() { DIR *dirp = opendir ("/"); }
  919.   EOF
  920. ! if eval $compile; then
  921. !   {
  922.   test -n "$verbose" && \
  923. ! echo '    defining' SYSNDIR
  924.   DEFS="$DEFS -DSYSNDIR=1"
  925.   }
  926. !  dirheader=sys/ndir.h
  927.   fi
  928.   rm -f conftest*
  929.   fi
  930. ! if test -z "$dirheader"; then
  931. !   echo checking for sys/dir.h
  932. ! cat > conftest.c <<EOF
  933.   #include <sys/types.h>
  934.   #include <sys/dir.h>
  935. ! int main() { exit(0); }
  936. ! int t() { DIR *dirp = opendir ("/"); }
  937.   EOF
  938. ! if eval $compile; then
  939. !   {
  940.   test -n "$verbose" && \
  941. ! echo '    defining' SYSDIR
  942.   DEFS="$DEFS -DSYSDIR=1"
  943.   }
  944. !  dirheader=sys/dir.h
  945.   fi
  946.   rm -f conftest*
  947.   fi
  948. ! if test -z "$dirheader"; then
  949. !   echo checking for ndir.h
  950. ! cat > conftest.c <<EOF
  951.   #include <sys/types.h>
  952.   #include <ndir.h>
  953. ! int main() { exit(0); }
  954. ! int t() { DIR *dirp = opendir ("/"); }
  955.   EOF
  956. ! if eval $compile; then
  957. !   {
  958.   test -n "$verbose" && \
  959. ! echo '    defining' NDIR
  960.   DEFS="$DEFS -DNDIR=1"
  961.   }
  962. !  dirheader=ndir.h
  963.   fi
  964.   rm -f conftest*
  965.   fi
  966.   
  967. ! echo checking for closedir return value
  968. ! cat > conftest.c <<EOF
  969.   #include <sys/types.h>
  970. ! #include <$dirheader>
  971.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  972.   EOF
  973. ! eval $compile
  974.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  975.     :
  976.   else
  977. !   {
  978.   test -n "$verbose" && \
  979. ! echo '    defining' VOID_CLOSEDIR
  980.   DEFS="$DEFS -DVOID_CLOSEDIR=1"
  981.   }
  982.   
  983.   fi
  984. ! rm -f conftest*
  985.   
  986. ! if test -z "$dirheader"; then
  987. !   {
  988. ! test -n "$verbose" && \
  989. ! echo '    defining' NODIR
  990. ! DEFS="$DEFS -DNODIR=1"
  991. ! }
  992. ! fi
  993. ! echo checking for Xenix
  994. ! cat > conftest.c <<EOF
  995.   #if defined(M_XENIX) && !defined(M_UNIX)
  996.     yes
  997.   #endif
  998.   
  999.   EOF
  1000. ! eval "$CPP \$DEFS conftest.c > conftest.out 2>&1"
  1001.   if egrep "yes" conftest.out >/dev/null 2>&1; then
  1002.     XENIX=1
  1003.   fi
  1004.   rm -f conftest*
  1005.   
  1006. --- 530,721 ----
  1007.     fi
  1008.   fi
  1009.   
  1010. ! for ac_func in memcpy
  1011.   do
  1012. ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
  1013. ! cat > conftest.${ac_ext} <<EOF
  1014. ! #include "confdefs.h"
  1015.   #include <ctype.h>
  1016. ! int main() { return 0; }
  1017.   int t() { 
  1018.   /* The GNU C library defines this for functions which it implements
  1019.       to always fail with ENOSYS.  Some functions are actually named
  1020.       something starting with __ and the normal name is an alias.  */
  1021. ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  1022.   choke me
  1023.   #else
  1024.   /* Override any gcc2 internal prototype to avoid an error.  */
  1025. ! extern char ${ac_func}(); ${ac_func}();
  1026.   #endif
  1027. ! ; return 0; }
  1028.   EOF
  1029. ! if eval $ac_compile; then
  1030.     :
  1031.   else
  1032. !   rm -rf conftest*
  1033. !   LIBOBJS="$LIBOBJS ${ac_func}.o"
  1034. ! test -n "$verbose" && /bin/echo "    using ${ac_func}.o instead"
  1035.   fi
  1036.   rm -f conftest*
  1037.   
  1038.   done
  1039.   
  1040. ! for ac_hdr in unistd.h
  1041. ! do
  1042. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1043. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  1044. ! cat > conftest.${ac_ext} <<EOF
  1045. ! #include "confdefs.h"
  1046. ! #include <${ac_hdr}>
  1047. ! EOF
  1048. ! # Some shells (Coherent) do redirections in the wrong order, so need
  1049. ! # the parens.
  1050. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  1051. ! if test -z "$ac_err"; then
  1052. !   rm -rf conftest*
  1053. !   
  1054. ! {
  1055. ! test -n "$verbose" && \
  1056. ! /bin/echo "    defining ${ac_tr_hdr}"
  1057. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  1058. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  1059.   }
  1060.   
  1061.   fi
  1062.   rm -f conftest*
  1063. + done
  1064.   
  1065. ! test -n "$silent" || /bin/echo "checking for directory library header"
  1066. ! ac_dir_header=
  1067. ! if test -z "$ac_dir_header"; then
  1068. !   test -n "$silent" || /bin/echo "checking for dirent.h"
  1069. ! cat > conftest.${ac_ext} <<EOF
  1070. ! #include "confdefs.h"
  1071.   #include <sys/types.h>
  1072.   #include <dirent.h>
  1073. ! int main() { return 0; }
  1074. ! int t() { DIR *dirp = 0;; return 0; }
  1075.   EOF
  1076. ! if eval $ac_compile; then
  1077. !   rm -rf conftest*
  1078. !   
  1079. ! {
  1080.   test -n "$verbose" && \
  1081. ! /bin/echo "    defining DIRENT"
  1082. ! /bin/echo "#define" DIRENT "1" >> confdefs.h
  1083.   DEFS="$DEFS -DDIRENT=1"
  1084.   }
  1085. !  ac_dir_header=dirent.h
  1086.   fi
  1087.   rm -f conftest*
  1088.   fi
  1089. ! if test -z "$ac_dir_header"; then
  1090. !   test -n "$silent" || /bin/echo "checking for sys/ndir.h"
  1091. ! cat > conftest.${ac_ext} <<EOF
  1092. ! #include "confdefs.h"
  1093.   #include <sys/types.h>
  1094.   #include <sys/ndir.h>
  1095. ! int main() { return 0; }
  1096. ! int t() { DIR *dirp = 0;; return 0; }
  1097.   EOF
  1098. ! if eval $ac_compile; then
  1099. !   rm -rf conftest*
  1100. !   
  1101. ! {
  1102.   test -n "$verbose" && \
  1103. ! /bin/echo "    defining SYSNDIR"
  1104. ! /bin/echo "#define" SYSNDIR "1" >> confdefs.h
  1105.   DEFS="$DEFS -DSYSNDIR=1"
  1106.   }
  1107. !  ac_dir_header=sys/ndir.h
  1108.   fi
  1109.   rm -f conftest*
  1110.   fi
  1111. ! if test -z "$ac_dir_header"; then
  1112. !   test -n "$silent" || /bin/echo "checking for sys/dir.h"
  1113. ! cat > conftest.${ac_ext} <<EOF
  1114. ! #include "confdefs.h"
  1115.   #include <sys/types.h>
  1116.   #include <sys/dir.h>
  1117. ! int main() { return 0; }
  1118. ! int t() { DIR *dirp = 0;; return 0; }
  1119.   EOF
  1120. ! if eval $ac_compile; then
  1121. !   rm -rf conftest*
  1122. !   
  1123. ! {
  1124.   test -n "$verbose" && \
  1125. ! /bin/echo "    defining SYSDIR"
  1126. ! /bin/echo "#define" SYSDIR "1" >> confdefs.h
  1127.   DEFS="$DEFS -DSYSDIR=1"
  1128.   }
  1129. !  ac_dir_header=sys/dir.h
  1130.   fi
  1131.   rm -f conftest*
  1132.   fi
  1133. ! if test -z "$ac_dir_header"; then
  1134. !   test -n "$silent" || /bin/echo "checking for ndir.h"
  1135. ! cat > conftest.${ac_ext} <<EOF
  1136. ! #include "confdefs.h"
  1137.   #include <sys/types.h>
  1138.   #include <ndir.h>
  1139. ! int main() { return 0; }
  1140. ! int t() { DIR *dirp = 0;; return 0; }
  1141.   EOF
  1142. ! if eval $ac_compile; then
  1143. !   rm -rf conftest*
  1144. !   
  1145. ! {
  1146.   test -n "$verbose" && \
  1147. ! /bin/echo "    defining NDIR"
  1148. ! /bin/echo "#define" NDIR "1" >> confdefs.h
  1149.   DEFS="$DEFS -DNDIR=1"
  1150.   }
  1151. !  ac_dir_header=ndir.h
  1152.   fi
  1153.   rm -f conftest*
  1154.   fi
  1155.   
  1156. ! test -n "$silent" || /bin/echo "checking for closedir return value"
  1157. ! cat > conftest.${ac_ext} <<EOF
  1158. ! #include "confdefs.h"
  1159.   #include <sys/types.h>
  1160. ! #include <$ac_dir_header>
  1161.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  1162.   EOF
  1163. ! eval $ac_compile
  1164.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1165.     :
  1166.   else
  1167. !   
  1168. ! {
  1169.   test -n "$verbose" && \
  1170. ! /bin/echo "    defining VOID_CLOSEDIR"
  1171. ! /bin/echo "#define" VOID_CLOSEDIR "1" >> confdefs.h
  1172.   DEFS="$DEFS -DVOID_CLOSEDIR=1"
  1173.   }
  1174.   
  1175.   fi
  1176. ! rm -fr conftest*
  1177.   
  1178. ! test -n "$silent" || /bin/echo "checking for Xenix"
  1179. ! cat > conftest.${ac_ext} <<EOF
  1180. ! #include "confdefs.h"
  1181.   #if defined(M_XENIX) && !defined(M_UNIX)
  1182.     yes
  1183.   #endif
  1184.   
  1185.   EOF
  1186. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1187.   if egrep "yes" conftest.out >/dev/null 2>&1; then
  1188. +   rm -rf conftest*
  1189.     XENIX=1
  1190.   fi
  1191.   rm -f conftest*
  1192.   
  1193. ***************
  1194. *** 465,487 ****
  1195.     esac
  1196.   fi
  1197.   
  1198.   if test -n "$prefix"; then
  1199. !   test -z "$exec_prefix" && exec_prefix='${prefix}'
  1200. !   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1201.   fi
  1202.   if test -n "$exec_prefix"; then
  1203. !   prsub="$prsub
  1204.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1205.   fi
  1206.   cat >conftest.def <<EOF
  1207.   $DEFS
  1208.   EOF
  1209. ! escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1210. ! DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
  1211.   rm -f conftest.def
  1212.   
  1213. ! trap 'rm -f config.status; exit 1' 1 3 15
  1214. ! echo creating config.status
  1215.   rm -f config.status
  1216.   cat > config.status <<EOF
  1217.   #!/bin/sh
  1218. --- 727,759 ----
  1219.     esac
  1220.   fi
  1221.   
  1222. + # Set default prefixes.
  1223.   if test -n "$prefix"; then
  1224. !   test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
  1225. !   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1226.   fi
  1227.   if test -n "$exec_prefix"; then
  1228. !   ac_prsub="$ac_prsub
  1229.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1230.   fi
  1231. + # Any assignment to VPATH causes Sun make to only execute
  1232. + # the first set of double-colon rules, so remove it if not needed.
  1233. + # If there is a colon in the path, we need to keep it.
  1234. + if test "x$srcdir" = x.; then
  1235. +   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1236. + fi
  1237. + # Quote sed substitution magic chars in DEFS.
  1238.   cat >conftest.def <<EOF
  1239.   $DEFS
  1240.   EOF
  1241. ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1242. ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  1243.   rm -f conftest.def
  1244. + # Substitute for predefined variables.
  1245.   
  1246. ! trap 'rm -f config.status; exit 1' 1 2 15
  1247. ! /bin/echo creating config.status
  1248.   rm -f config.status
  1249.   cat > config.status <<EOF
  1250.   #!/bin/sh
  1251. ***************
  1252. *** 492,507 ****
  1253.   #
  1254.   # $0 $configure_args
  1255.   
  1256. ! for arg
  1257.   do
  1258. !   case "\$arg" in
  1259. !     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1260. !     exec /bin/sh $0 $configure_args ;;
  1261. !     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  1262.     esac
  1263.   done
  1264.   
  1265. ! trap 'rm -f makefile; exit 1' 1 3 15
  1266.   CC='$CC'
  1267.   CPP='$CPP'
  1268.   INSTALL='$INSTALL'
  1269. --- 764,786 ----
  1270.   #
  1271.   # $0 $configure_args
  1272.   
  1273. ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  1274. ! for ac_option
  1275.   do
  1276. !   case "\$ac_option" in
  1277. !   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1278. !     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  1279. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  1280. !   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1281. !     /bin/echo "config.status generated by autoconf version 1.9"
  1282. !     exit 0 ;;
  1283. !   -help | --help | --hel | --he | --h)
  1284. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  1285. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  1286.     esac
  1287.   done
  1288.   
  1289. ! trap 'rm -f makefile; exit 1' 1 2 15
  1290.   CC='$CC'
  1291.   CPP='$CPP'
  1292.   INSTALL='$INSTALL'
  1293. ***************
  1294. *** 510,540 ****
  1295.   LIBOBJS='$LIBOBJS'
  1296.   LIBS='$LIBS'
  1297.   srcdir='$srcdir'
  1298. ! DEFS='$DEFS'
  1299.   prefix='$prefix'
  1300.   exec_prefix='$exec_prefix'
  1301. ! prsub='$prsub'
  1302.   EOF
  1303.   cat >> config.status <<\EOF
  1304.   
  1305. ! top_srcdir=$srcdir
  1306. ! # Allow make-time overrides of the generated file list.
  1307. ! test -n "$gen_files" || gen_files="makefile"
  1308.   
  1309. ! for file in .. $gen_files; do if [ "x$file" != "x.." ]; then
  1310. !   srcdir=$top_srcdir
  1311.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1312. !   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  1313. !   if test "$dir" != "$file"; then
  1314. !     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  1315. !     test ! -d $dir && mkdir $dir
  1316.     fi
  1317. !   echo creating $file
  1318. !   rm -f $file
  1319. !   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  1320.     sed -e "
  1321. ! $prsub
  1322.   s%@CC@%$CC%g
  1323.   s%@CPP@%$CPP%g
  1324.   s%@INSTALL@%$INSTALL%g
  1325. --- 789,839 ----
  1326.   LIBOBJS='$LIBOBJS'
  1327.   LIBS='$LIBS'
  1328.   srcdir='$srcdir'
  1329. ! top_srcdir='$top_srcdir'
  1330.   prefix='$prefix'
  1331.   exec_prefix='$exec_prefix'
  1332. ! DEFS='$DEFS'
  1333. ! ac_prsub='$ac_prsub'
  1334. ! ac_vpsub='$ac_vpsub'
  1335. ! extrasub='$extrasub'
  1336.   EOF
  1337.   cat >> config.status <<\EOF
  1338.   
  1339. ! ac_given_srcdir=$srcdir
  1340.   
  1341. ! CONFIG_FILES=${CONFIG_FILES-"makefile"}
  1342. ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  1343.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1344. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1345. !   if test "$ac_dir" != "$ac_file"; then
  1346. !     # The file is in a subdirectory.
  1347. !     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1348. !     ac_dir_suffix="/$ac_dir"
  1349. !   else
  1350. !     ac_dir_suffix=
  1351.     fi
  1352. !   # A "../" for each directory in $ac_dir_suffix.
  1353. !   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1354. !   case "$ac_given_srcdir" in
  1355. !   .)  srcdir=.; top_srcdir="$ac_dots." ;;
  1356. !   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1357. !   *) # Relative path.
  1358. !     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1359. !     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1360. !   esac
  1361. !   /bin/echo creating "$ac_file"
  1362. !   rm -f "$ac_file"
  1363. !   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  1364. !   case "$ac_file" in
  1365. !     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  1366. !     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  1367. !   esac
  1368.     sed -e "
  1369. ! $ac_prsub
  1370. ! $ac_vpsub
  1371. ! $extrasub
  1372.   s%@CC@%$CC%g
  1373.   s%@CPP@%$CPP%g
  1374.   s%@INSTALL@%$INSTALL%g
  1375. ***************
  1376. *** 543,554 ****
  1377.   s%@LIBOBJS@%$LIBOBJS%g
  1378.   s%@LIBS@%$LIBS%g
  1379.   s%@srcdir@%$srcdir%g
  1380.   s%@DEFS@%$DEFS%
  1381. ! " $top_srcdir/${file}.in >> $file
  1382.   fi; done
  1383.   
  1384.   exit 0
  1385.   EOF
  1386.   chmod +x config.status
  1387. ! test -n "$no_create" || ./config.status
  1388.   
  1389. --- 842,857 ----
  1390.   s%@LIBOBJS@%$LIBOBJS%g
  1391.   s%@LIBS@%$LIBS%g
  1392.   s%@srcdir@%$srcdir%g
  1393. + s%@top_srcdir@%$top_srcdir%g
  1394. + s%@prefix@%$prefix%g
  1395. + s%@exec_prefix@%$exec_prefix%g
  1396.   s%@DEFS@%$DEFS%
  1397. ! " $ac_given_srcdir/${ac_file}.in >> $ac_file
  1398.   fi; done
  1399.   
  1400.   exit 0
  1401.   EOF
  1402.   chmod +x config.status
  1403. ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
  1404.   
  1405. diff -rc --new-file indent-1.9.1/configure.in /gnu/src/amiga/indent-1.9.1/configure.in
  1406. *** indent-1.9.1/configure.in    Wed Jun 16 18:50:22 1993
  1407. --- /gnu/src/amiga/indent-1.9.1/configure.in    Mon Apr 25 21:31:04 1994
  1408. ***************
  1409. *** 6,17 ****
  1410.   AC_AIX
  1411.   AC_MINIX
  1412.   AC_ISC_POSIX
  1413. - AC_USG
  1414.   AC_REPLACE_FUNCS(memcpy)
  1415. ! AC_UNISTD_H
  1416.   AC_DIR_HEADER
  1417. - if test -z "$dirheader"; then
  1418. -   AC_DEFINE(NODIR)
  1419. - fi
  1420.   AC_XENIX_DIR
  1421.   AC_OUTPUT(makefile)
  1422. --- 6,13 ----
  1423.   AC_AIX
  1424.   AC_MINIX
  1425.   AC_ISC_POSIX
  1426.   AC_REPLACE_FUNCS(memcpy)
  1427. ! AC_HAVE_HEADERS(unistd.h)
  1428.   AC_DIR_HEADER
  1429.   AC_XENIX_DIR
  1430.   AC_OUTPUT(makefile)
  1431. diff -rc --new-file indent-1.9.1/indent.1 /gnu/src/amiga/indent-1.9.1/indent.1
  1432. *** indent-1.9.1/indent.1    Wed Jul  1 23:15:21 1992
  1433. --- /gnu/src/amiga/indent-1.9.1/indent.1    Wed Feb 23 10:17:18 1994
  1434. ***************
  1435. *** 991,997 ****
  1436.   .br
  1437.   .nf
  1438.   .\" set tabstop to longest possible filename, plus a wee bit
  1439. ! .ta \w'/usr/lib/perl/getopts.pl   'u
  1440.   \fI$HOME/.indent.pro\fR    holds default options for indent.
  1441.   .SH AUTHOR
  1442.   The Free Software Foundation.
  1443. --- 991,997 ----
  1444.   .br
  1445.   .nf
  1446.   .\" set tabstop to longest possible filename, plus a wee bit
  1447. ! .ta \w'/gnu/lib/perl/getopts.pl   'u
  1448.   \fI$HOME/.indent.pro\fR    holds default options for indent.
  1449.   .SH AUTHOR
  1450.   The Free Software Foundation.
  1451. diff -rc --new-file indent-1.9.1/makefile.in /gnu/src/amiga/indent-1.9.1/makefile.in
  1452. *** indent-1.9.1/makefile.in    Sun Jan 30 02:48:43 1994
  1453. --- /gnu/src/amiga/indent-1.9.1/makefile.in    Wed Feb 23 10:15:27 1994
  1454. ***************
  1455. *** 40,53 ****
  1456.   DVITOGHOSTSCRIPT = dvi2ps indent.dvi > indent.ps
  1457.   CTAGS = etags
  1458.   
  1459. ! CFLAGS = -O
  1460. ! LDFLAGS = -g
  1461.   
  1462.   # C compiler -D options.
  1463.   DEFS = @DEFS@
  1464.   
  1465.   # Where to install indent and its documentation.
  1466. ! prefix = /usr/local
  1467.   exec_prefix = ${prefix}
  1468.   bindir = $(exec_prefix)/bin
  1469.   infodir = ${prefix}/info
  1470. --- 40,53 ----
  1471.   DVITOGHOSTSCRIPT = dvi2ps indent.dvi > indent.ps
  1472.   CTAGS = etags
  1473.   
  1474. ! CFLAGS = -O2
  1475. ! LDFLAGS =
  1476.   
  1477.   # C compiler -D options.
  1478.   DEFS = @DEFS@
  1479.   
  1480.   # Where to install indent and its documentation.
  1481. ! prefix = /gnu
  1482.   exec_prefix = ${prefix}
  1483.   bindir = $(exec_prefix)/bin
  1484.   infodir = ${prefix}/info
  1485.