home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / diffutils-2.6-diffs.lha / src / diffs / diffutils-2.6.diffs
Text File  |  1994-07-12  |  91KB  |  2,949 lines

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