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

  1. diff -rc --new-file /src/baseline/gdbm-1.7.3/INSTALL gdbm-1.7.3/INSTALL
  2. *** /src/baseline/gdbm-1.7.3/INSTALL    Fri Oct 29 09:13:35 1993
  3. --- gdbm-1.7.3/INSTALL    Wed Jun 22 15:17:44 1994
  4. ***************
  5. *** 66,73 ****
  6.   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/lib, /usr/local/man, etc.  You can specify an
  10. ! installation prefix other than /usr/local by giving `configure' the option
  11.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  12.   for the `prefix' variable when you run `make', e.g.,
  13.       make prefix=/usr/gnu
  14. --- 66,73 ----
  15.   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/lib, /gnu/man, etc.  You can specify an
  19. ! installation prefix other than /gnu by giving `configure' the option
  20.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  21.   for the `prefix' variable when you run `make', e.g.,
  22.       make prefix=/usr/gnu
  23. diff -rc --new-file /src/baseline/gdbm-1.7.3/Makefile.in gdbm-1.7.3/Makefile.in
  24. *** /src/baseline/gdbm-1.7.3/Makefile.in    Sun May 15 05:28:49 1994
  25. --- gdbm-1.7.3/Makefile.in    Wed Jun 22 15:40:38 1994
  26. ***************
  27. *** 19,29 ****
  28.   LIBS = @LIBS@ -lc
  29.   
  30.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  31. ! CFLAGS = -O
  32.   LDFLAGS =
  33.   
  34.   # Common prefix for installation directories
  35. ! prefix = /usr/local
  36.   exec_prefix = $(prefix)
  37.   binprefix = $(exec_prefix)
  38.   manprefix = $(prefix)
  39. --- 19,29 ----
  40.   LIBS = @LIBS@ -lc
  41.   
  42.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  43. ! CFLAGS = -O2
  44.   LDFLAGS =
  45.   
  46.   # Common prefix for installation directories
  47. ! prefix = /gnu
  48.   exec_prefix = $(prefix)
  49.   binprefix = $(exec_prefix)
  50.   manprefix = $(prefix)
  51. ***************
  52. *** 44,50 ****
  53.   
  54.   SHELL = /bin/sh
  55.   
  56. ! PROGS = libgdbm.a testgdbm testdbm testndbm tndbm tdbm conv2gdbm
  57.   
  58.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  59.   
  60. --- 44,50 ----
  61.   
  62.   SHELL = /bin/sh
  63.   
  64. ! PROGS = libgdbm.a testgdbm testdbm testndbm # tndbm tdbm conv2gdbm
  65.   
  66.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  67.   
  68. ***************
  69. *** 93,104 ****
  70. --- 93,109 ----
  71.   progs: $(PROGS)
  72.   
  73.   install: libgdbm.a gdbm.h gdbm.info
  74. +     -if [ -d $(libdir) ] ; then true ; else mkdir -p $(libdir) ; fi
  75.       $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a
  76. +     -if [ -d $(includedir) ] ; then true ; else mkdir -p $(includedir) ; fi
  77.       $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h
  78. +     -if [ -d $(man3dir) ] ; then true ; else mkdir -p $(man3dir) ; fi
  79.       $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3
  80. +     -if [ -d $(infodir) ] ; then true ; else mkdir -p $(infodir) ; fi
  81.       $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info
  82.   
  83.   install-compat:
  84. +     -if [ -d $(includedir) ] ; then true ; else mkdir -p $(includedir) ; fi
  85.       $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h
  86.       $(INSTALL_DATA) $(srcdir/ndbm.h $(includedir)/ndbm.h
  87.   
  88. diff -rc --new-file /src/baseline/gdbm-1.7.3/Product-Info gdbm-1.7.3/Product-Info
  89. *** /src/baseline/gdbm-1.7.3/Product-Info    Thu Jan  1 00:00:00 1970
  90. --- gdbm-1.7.3/Product-Info    Tue Jul 12 17:17:41 1994
  91. ***************
  92. *** 0 ****
  93. --- 1,21 ----
  94. + .name
  95. + gdbm
  96. + .fullname
  97. + GNU database manager library
  98. + .type
  99. + Library
  100. + .short
  101. + GNU database manager library
  102. + .description
  103. + GNU dbm is a library of routines that manages data files that contain
  104. + key/data pairs.  The access provided is that of storing, retrieval,
  105. + and deletion by key and a non-sorted traversal of all keys.  A process
  106. + is allowed to use multiple data files at the same time.
  107. + .version
  108. + 1.7.3
  109. + .author
  110. + Philip A. Nelson
  111. + .distribution
  112. + GNU Public License
  113. + .described-by
  114. + Fred Fish (fnf@amigalib.com)
  115. diff -rc --new-file /src/baseline/gdbm-1.7.3/configure gdbm-1.7.3/configure
  116. *** /src/baseline/gdbm-1.7.3/configure    Sun May 15 05:28:57 1994
  117. --- gdbm-1.7.3/configure    Wed Jun 22 15:26:42 1994
  118. ***************
  119. *** 1,150 ****
  120.   #!/bin/sh
  121.   # Guess values for system-dependent variables and create Makefiles.
  122. ! # Generated automatically using autoconf.
  123. ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  124.   
  125. ! # This program is free software; you can redistribute it and/or modify
  126. ! # it under the terms of the GNU General Public License as published by
  127. ! # the Free Software Foundation; either version 2, or (at your option)
  128.   # any later version.
  129.   
  130. ! # This program is distributed in the hope that it will be useful,
  131. ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
  132. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  133. ! # GNU General Public License for more details.
  134.   
  135.   # You should have received a copy of the GNU General Public License
  136.   # along with this program; if not, write to the Free Software
  137.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  138.   
  139. ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp]
  140. ! #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE[=VALUE]]
  141. ! # Ignores all args except --srcdir, --prefix, --exec-prefix, and
  142. ! # --with-PACKAGE[=VALUE] unless this script has special code to handle it.
  143.   
  144. ! for arg
  145.   do
  146. -   # Handle --exec-prefix with a space before the argument.
  147. -   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  148. -   # Handle --host with a space before the argument.
  149. -   elif test x$next_host = xyes; then next_host=
  150. -   # Handle --prefix with a space before the argument.
  151. -   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  152. -   # Handle --srcdir with a space before the argument.
  153. -   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  154. -   else
  155. -     case $arg in
  156. -      # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  157. -      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  158. -     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  159. -      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  160. -     next_exec_prefix=yes ;;
  161. -      -gas | --gas | --ga | --g) ;;
  162. -      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  163. -      -host | --host | --hos | --ho | --h)
  164. -     next_host=yes ;;
  165. -      -nfp | --nfp | --nf) ;;
  166. -      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  167. -     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  168. -      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  169. -     next_prefix=yes ;;
  170. -      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  171. -     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  172. -      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  173. -     next_srcdir=yes ;;
  174. -      -with-* | --with-*)
  175. -        package=`echo $arg|sed -e 's/-*with-//' -e 's/=.*//'`
  176. -        # Reject names that aren't valid shell variable names.
  177. -        if test -n "`echo $package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  178. -          echo "configure: $package: invalid package name" >&2; exit 1
  179. -        fi
  180. -        package=`echo $package| sed 's/-/_/g'`
  181. -        case "$arg" in
  182. -          *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  183. -          *) val=1 ;;
  184. -        esac
  185. -        eval "with_$package='$val'" ;;
  186.   
  187. !      -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  188. !        verbose=yes ;;
  189.   
  190. !      *) ;;
  191.       esac
  192. !   fi
  193.   done
  194.   
  195. ! trap 'rm -fr conftest* confdefs* core; exit 1' 1 3 15
  196. ! trap 'rm -f confdefs*' 0
  197.   
  198.   # NLS nuisances.
  199.   # These must not be set unconditionally because not all systems understand
  200.   # e.g. LANG=C (notably SCO).
  201. ! if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
  202. ! if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
  203.   
  204. ! rm -f conftest* confdefs.h
  205.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  206. ! echo > confdefs.h
  207. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  208.   
  209.   # A filename unique to this package, relative to the directory that
  210.   # configure is in, which we can look for to find out if srcdir is correct.
  211. ! unique_file=gdbmdefs.h
  212.   
  213.   # Find the source files, if location was not specified.
  214.   if test -z "$srcdir"; then
  215. !   srcdirdefaulted=yes
  216.     # Try the directory containing this script, then `..'.
  217. !   prog=$0
  218. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  219. !   test "X$confdir" = "X$prog" && confdir=.
  220. !   srcdir=$confdir
  221. !   if test ! -r $srcdir/$unique_file; then
  222.       srcdir=..
  223.     fi
  224.   fi
  225. ! if test ! -r $srcdir/$unique_file; then
  226. !   if test x$srcdirdefaulted = xyes; then
  227. !     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  228.     else
  229. !     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  230.     fi
  231. -   exit 1
  232.   fi
  233. ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  234. ! # But we can't avoid them for `..', to make subdirectories work.
  235. ! case $srcdir in
  236. !   .|/*|~*) ;;
  237. !   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  238. ! esac
  239.   
  240. - # Save the original args to write them into config.status later.
  241. - configure_args="$*"
  242.   
  243.   
  244.   if test -z "$CC"; then
  245.     # Extract the first word of `gcc', so it can be a program name with args.
  246. !   set dummy gcc; word=$2
  247. !   echo checking for $word
  248. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  249. !   for dir in $PATH; do
  250. !     test -z "$dir" && dir=.
  251. !     if test -f $dir/$word; then
  252.         CC="gcc"
  253.         break
  254.       fi
  255.     done
  256. !   IFS="$saveifs"
  257.   fi
  258.   test -z "$CC" && CC="cc"
  259. ! test -n "$CC" && test -n "$verbose" && echo "    setting CC to $CC"
  260.   
  261.   # Find out if we are using GNU C, under whatever name.
  262.   cat > conftest.c <<EOF
  263. --- 1,337 ----
  264.   #!/bin/sh
  265.   # Guess values for system-dependent variables and create Makefiles.
  266. ! # Generated automatically using autoconf version 1.11 
  267. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  268.   
  269. ! # This configure script is free software; you can redistribute it and/or
  270. ! # modify it under the terms of the GNU General Public License as published
  271. ! # by the Free Software Foundation; either version 2, or (at your option)
  272.   # any later version.
  273.   
  274. ! # This script is distributed in the hope that it will be useful, but
  275. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  276. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  277. ! # Public License for more details.
  278.   
  279.   # You should have received a copy of the GNU General Public License
  280.   # along with this program; if not, write to the Free Software
  281.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  282.   
  283. ! # Save the original args to write them into config.status later.
  284. ! configure_args="$*"
  285.   
  286. ! # Only options that might do something get documented.
  287. ! ac_usage="Usage: configure [options] [host]
  288. ! Options: [defaults in brackets after descriptions]
  289. ! --build=BUILD        configure for building on BUILD [BUILD=HOST]
  290. ! --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  291. ! --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  292. ! --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  293. ! --help            print this message
  294. ! --host=HOST        configure for HOST [guessed]
  295. ! --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  296. ! --quiet, --silent    do not print \`checking for...' messages
  297. ! --srcdir=DIR        find the sources in DIR [configure dir or ..]
  298. ! --target=TARGET        configure for TARGET [TARGET=HOST]
  299. ! --verbose        print results of checks
  300. ! --version        print the version of autoconf that created configure
  301. ! --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  302. ! --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  303. ! --x-includes=DIR    X include files are in DIR
  304. ! --x-libraries=DIR    X library files are in DIR"
  305. ! # Initialize some variables set by options.
  306. ! # The variables have the same names as the options, with
  307. ! # dashes changed to underlines.
  308. ! build=NONE
  309. ! exec_prefix=
  310. ! host=NONE
  311. ! no_create=
  312. ! nonopt=NONE
  313. ! norecursion=
  314. ! prefix=
  315. ! program_prefix=
  316. ! program_suffix=
  317. ! program_transform_name=
  318. ! silent=
  319. ! srcdir=
  320. ! target=NONE
  321. ! verbose=
  322. ! x_includes=
  323. ! x_libraries=
  324. ! ac_prev=
  325. ! for ac_option
  326.   do
  327.   
  328. !   # If the previous option needs an argument, assign it.
  329. !   if test -n "$ac_prev"; then
  330. !     eval "$ac_prev=\$ac_option"
  331. !     ac_prev=
  332. !     continue
  333. !   fi
  334. !   # Accept (but ignore some of) the important Cygnus configure
  335. !   # options, so we can diagnose typos.
  336. !   case "$ac_option" in
  337. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  338. !   *) ac_optarg= ;;
  339. !   esac
  340. !   case "$ac_option" in
  341. !   -build | --build | --buil | --bui | --bu | --b)
  342. !     ac_prev=build ;;
  343. !   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  344. !     build="$ac_optarg" ;;
  345. !   -disable-* | --disable-*)
  346. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  347. !     # Reject names that aren't valid shell variable names.
  348. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  349. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  350. !     fi
  351. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  352. !     eval "enable_${ac_feature}=no" ;;
  353. !   -enable-* | --enable-*)
  354. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  355. !     # Reject names that aren't valid shell variable names.
  356. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  357. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  358. !     fi
  359. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  360. !     case "$ac_option" in
  361. !       *=*) ;;
  362. !       *) ac_optarg=yes ;;
  363. !     esac
  364. !     eval "enable_${ac_feature}='$ac_optarg'" ;;
  365.   
  366. !   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  367. !   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  368. !   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  369. !   | --exec | --exe | --ex)
  370. !     ac_prev=exec_prefix ;;
  371. !   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  372. !   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  373. !   | --exec=* | --exe=* | --ex=*)
  374. !     exec_prefix="$ac_optarg" ;;
  375. !   -gas | --gas | --ga | --g)
  376. !     with_gas=yes ;; # Obsolete; use --with-gas.
  377. !   -help | --help | --hel | --he)
  378. !     cat << EOF
  379. ! $ac_usage
  380. ! EOF
  381. !     exit 0 ;;
  382. !   -host | --host | --hos | --ho)
  383. !     ac_prev=host ;;
  384. !   -host=* | --host=* | --hos=* | --ho=*)
  385. !     host="$ac_optarg" ;;
  386. !   -nfp | --nfp | --nf)
  387. !     with_fp=no ;; # Obsolete; use --without-fp.
  388. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  389. !   | --no-cr | --no-c)
  390. !     no_create=yes ;;
  391. !   -norecursion | --norecursion | --norecursio | --norecursi \
  392. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  393. !     norecursion=yes ;;
  394. !   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  395. !     ac_prev=prefix ;;
  396. !   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  397. !     prefix="$ac_optarg" ;;
  398. !   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  399. !   | --program-pre | --program-pr | --program-p)
  400. !     ac_prev=program_prefix ;;
  401. !   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  402. !   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  403. !     program_prefix="$ac_optarg" ;;
  404. !   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  405. !   | --program-suf | --program-su | --program-s)
  406. !     ac_prev=program_suffix ;;
  407. !   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  408. !   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  409. !     program_suffix="$ac_optarg" ;;
  410. !   -program-transform-name | --program-transform-name \
  411. !   | --program-transform-nam | --program-transform-na \
  412. !   | --program-transform-n | --program-transform- \
  413. !   | --program-transform | --program-transfor \
  414. !   | --program-transfo | --program-transf \
  415. !   | --program-trans | --program-tran \
  416. !   | --progr-tra | --program-tr | --program-t)
  417. !     ac_prev=program_transform_name ;;
  418. !   -program-transform-name=* | --program-transform-name=* \
  419. !   | --program-transform-nam=* | --program-transform-na=* \
  420. !   | --program-transform-n=* | --program-transform-=* \
  421. !   | --program-transform=* | --program-transfor=* \
  422. !   | --program-transfo=* | --program-transf=* \
  423. !   | --program-trans=* | --program-tran=* \
  424. !   | --progr-tra=* | --program-tr=* | --program-t=*)
  425. !     program_transform_name="$ac_optarg" ;;
  426. !   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  427. !   | -silent | --silent | --silen | --sile | --sil)
  428. !     silent=yes ;;
  429. !   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  430. !     ac_prev=srcdir ;;
  431. !   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  432. !     srcdir="$ac_optarg" ;;
  433. !   -target | --target | --targe | --targ | --tar | --ta | --t)
  434. !     ac_prev=target ;;
  435. !   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  436. !     target="$ac_optarg" ;;
  437. !   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  438. !     verbose=yes ;;
  439. !   -version | --version | --versio | --versi | --vers)
  440. !     /bin/echo "configure generated by autoconf version 1.11"
  441. !     exit 0 ;;
  442. !   -with-* | --with-*)
  443. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  444. !     # Reject names that aren't valid shell variable names.
  445. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  446. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  447. !     fi
  448. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  449. !     case "$ac_option" in
  450. !       *=*) ;;
  451. !       *) ac_optarg=yes ;;
  452.       esac
  453. !     eval "with_${ac_package}='$ac_optarg'" ;;
  454. !   -without-* | --without-*)
  455. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  456. !     # Reject names that aren't valid shell variable names.
  457. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  458. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  459. !     fi
  460. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  461. !     eval "with_${ac_package}=no" ;;
  462. !   --x) with_x=yes ;; # Obsolete; use --with-x.
  463. !   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  464. !   | --x-incl | --x-inc | --x-in | --x-i)
  465. !     ac_prev=x_includes ;;
  466. !   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  467. !   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  468. !     x_includes="$ac_optarg" ;;
  469. !   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  470. !   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  471. !     ac_prev=x_libraries ;;
  472. !   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  473. !   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  474. !     x_libraries="$ac_optarg" ;;
  475. !   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  476. !     ;;
  477. !   *) 
  478. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  479. !       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  480. !     fi
  481. !     if test "x$nonopt" != xNONE; then
  482. !       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  483. !     fi
  484. !     nonopt="$ac_option"
  485. !     ;;
  486. !   esac
  487.   done
  488.   
  489. ! if test -n "$ac_prev"; then
  490. !   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  491. ! fi
  492. ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  493. ! trap 'rm -fr confdefs* $ac_clean_files' 0
  494. ! # Save the original args if we used an alternate arg parser.
  495. ! ac_configure_temp="${configure_args-$*}"
  496. ! # Strip out --no-create and --norecursion so they don't pile up.
  497. ! configure_args=
  498. ! for ac_arg in $ac_configure_temp; do
  499. !   case "$ac_arg" in
  500. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  501. !   | --no-cr | --no-c) ;;
  502. !   -norecursion | --norecursion | --norecursio | --norecursi \
  503. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  504. !   *) configure_args="$configure_args $ac_arg" ;;
  505. !   esac
  506. ! done
  507.   
  508.   # NLS nuisances.
  509.   # These must not be set unconditionally because not all systems understand
  510.   # e.g. LANG=C (notably SCO).
  511. ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  512. ! if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  513.   
  514. ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
  515. ! rm -rf conftest* confdefs.h
  516.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  517. ! /bin/echo > confdefs.h
  518.   
  519.   # A filename unique to this package, relative to the directory that
  520.   # configure is in, which we can look for to find out if srcdir is correct.
  521. ! ac_unique_file=gdbmdefs.h
  522.   
  523.   # Find the source files, if location was not specified.
  524.   if test -z "$srcdir"; then
  525. !   ac_srcdir_defaulted=yes
  526.     # Try the directory containing this script, then `..'.
  527. !   ac_prog=$0
  528. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  529. !   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  530. !   srcdir=$ac_confdir
  531. !   if test ! -r $srcdir/$ac_unique_file; then
  532.       srcdir=..
  533.     fi
  534.   fi
  535. ! if test ! -r $srcdir/$ac_unique_file; then
  536. !   if test x$ac_srcdir_defaulted = xyes; then
  537. !     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  538.     else
  539. !     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  540.     fi
  541.   fi
  542. ! ac_ext=c
  543. ! # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  544. ! ac_cpp='${CPP}'
  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. --- 345,378 ----
  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,293 ****
  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.   if test -z "$RANLIB"; then
  675.     # Extract the first word of `ranlib', so it can be a program name with args.
  676. !   set dummy ranlib; word=$2
  677. !   echo checking for $word
  678. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  679. !   for dir in $PATH; do
  680. !     test -z "$dir" && dir=.
  681. !     if test -f $dir/$word; then
  682.         RANLIB="ranlib"
  683.         break
  684.       fi
  685.     done
  686. !   IFS="$saveifs"
  687.   fi
  688.   test -z "$RANLIB" && RANLIB=":"
  689. ! test -n "$RANLIB" && test -n "$verbose" && echo "    setting RANLIB to $RANLIB"
  690.   
  691. ! echo checking integer size
  692. ! cat > conftest.c <<EOF
  693.   #include "confdefs.h"
  694. ! main() { exit(sizeof(int) != 2); }
  695.   EOF
  696. ! eval $compile
  697.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  698. !   
  699.   {
  700.   test -n "$verbose" && \
  701. ! echo "    defining INT_16_BITS"
  702. ! echo "#define" INT_16_BITS 1 >> confdefs.h
  703. ! DEFS="$DEFS -DINT_16_BITS=1"
  704. ! SEDDEFS="${SEDDEFS}\${SEDdA}INT_16_BITS\${SEDdB}INT_16_BITS\${SEDdC}1\${SEDdD}
  705. ! \${SEDuA}INT_16_BITS\${SEDuB}INT_16_BITS\${SEDuC}1\${SEDuD}
  706. ! \${SEDeA}INT_16_BITS\${SEDeB}INT_16_BITS\${SEDeC}1\${SEDeD}
  707.   "
  708.   }
  709.   
  710.   
  711.   fi
  712.   rm -fr conftest*
  713.   
  714. - echo checking for 64-bit long ints
  715. - cat > conftest.c <<EOF
  716. - #include "confdefs.h"
  717. - main() { exit(sizeof(long int) != 8); }
  718. - EOF
  719. - eval $compile
  720. - if test -s conftest && (./conftest; exit) 2>/dev/null; then
  721. -   
  722.   {
  723.   test -n "$verbose" && \
  724. ! echo "    defining LONG_64_BITS"
  725. ! echo "#define" LONG_64_BITS 1 >> confdefs.h
  726. ! DEFS="$DEFS -DLONG_64_BITS=1"
  727. ! SEDDEFS="${SEDDEFS}\${SEDdA}LONG_64_BITS\${SEDdB}LONG_64_BITS\${SEDdC}1\${SEDdD}
  728. ! \${SEDuA}LONG_64_BITS\${SEDuB}LONG_64_BITS\${SEDuC}1\${SEDuD}
  729. ! \${SEDeA}LONG_64_BITS\${SEDeB}LONG_64_BITS\${SEDeC}1\${SEDeD}
  730.   "
  731.   }
  732.   
  733. ! fi
  734. ! rm -fr conftest*
  735. ! echo checking byte ordering
  736. ! cat > conftest.c <<EOF
  737.   #include "confdefs.h"
  738.   main () {
  739.     /* Are we little or big endian?  From Harbison&Steele.  */
  740. --- 380,536 ----
  741.   fi
  742.   rm -f conftest*
  743.   fi
  744. ! rm -f conftest*
  745. ! fi
  746. ! test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  747.   
  748.   # Make sure to not get the incompatible SysV /etc/install and
  749.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  750.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  751.   # or the AFS install, which mishandles nonexistent args, or
  752.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  753. ! # `staff', or /sbin/install on IRIX which has incompatible command-line
  754. ! # syntax.  Sigh.
  755. ! #
  756. ! #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  757. ! #     anyway.
  758. ! # This turns out not to be true, so the mere pathname isn't an indication
  759. ! # of whether the program works.  What we really need is a set of tests for
  760. ! # the install program to see if it actually works in all the required ways.
  761. ! #
  762. ! # Avoid using ./install, which might have been erroneously created
  763. ! # by make from ./install.sh.
  764. ! if test -z "${INSTALL}"; then
  765. !   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  766. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  767. !   for ac_dir in $PATH; do
  768. !     case "$ac_dir" in
  769. !     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  770.       *)
  771. !       # OSF1 and SCO ODT 3.0 have their own names for install.
  772. !       for ac_prog in installbsd scoinst install; do
  773. !         if test -f $ac_dir/$ac_prog; then
  774. !       if test $ac_prog = install &&
  775. !             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  776. !         # AIX install.  It has an incompatible calling convention.
  777. !         # OSF/1 installbsd also uses dspmsg, but is usable.
  778. !         :
  779. !       else
  780. !         INSTALL="$ac_dir/$ac_prog -c"
  781. !         break 2
  782. !       fi
  783.       fi
  784. !       done
  785.         ;;
  786.       esac
  787.     done
  788. !   IFS="$ac_save_ifs"
  789. ! fi
  790. ! if test -z "$INSTALL"; then
  791. !   # As a last resort, use the slow shell script.
  792. !   for ac_dir in ${srcdir} ${srcdir}/.. ${srcdir}/../..; do
  793. !     if test -f $ac_dir/install.sh; then
  794. !       INSTALL="$ac_dir/install.sh -c"; break
  795. !     fi
  796. !   done
  797. ! fi
  798. ! if test -z "$INSTALL"; then
  799. !   /bin/echo "configure: can not find install.sh in ${srcdir} or ${srcdir}/.. or ${srcdir}/../.." >&2; exit 1
  800.   fi
  801. ! test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  802. ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  803. ! # It thinks the first close brace ends the variable substitution.
  804. ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  805. ! test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  806. ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  807. ! test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  808.   
  809.   if test -z "$RANLIB"; then
  810.     # Extract the first word of `ranlib', so it can be a program name with args.
  811. !   set ac_dummy ranlib; ac_word=$2
  812. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  813. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  814. !   for ac_dir in $PATH; do
  815. !     test -z "$ac_dir" && ac_dir=.
  816. !     if test -f $ac_dir/$ac_word; then
  817.         RANLIB="ranlib"
  818.         break
  819.       fi
  820.     done
  821. !   IFS="$ac_save_ifs"
  822.   fi
  823.   test -z "$RANLIB" && RANLIB=":"
  824. ! test -n "$RANLIB" && test -n "$verbose" && /bin/echo "    setting RANLIB to $RANLIB"
  825.   
  826. ! test -n "$silent" || /bin/echo "checking size of int"
  827. ! cat > conftest.${ac_ext} <<EOF
  828.   #include "confdefs.h"
  829. ! #include <stdio.h>
  830. ! main()
  831. ! {
  832. !   FILE *f=fopen("conftestval", "w");
  833. !   if (!f) exit(1);
  834. !   fprintf(f, "%d\n", sizeof(int));
  835. !   exit(0);
  836. ! }
  837.   EOF
  838. ! eval $ac_compile
  839.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  840. !   ac_size=`cat conftestval`
  841. ! else
  842. !   /bin/echo "configure: can not determine size of int" >&2; exit 1
  843. ! fi
  844. ! rm -fr conftest*
  845.   {
  846.   test -n "$verbose" && \
  847. ! /bin/echo "    defining" SIZEOF_INT to be "$ac_size"
  848. ! /bin/echo "#define" SIZEOF_INT "$ac_size" >> confdefs.h
  849. ! DEFS="$DEFS -DSIZEOF_INT=$ac_size"
  850. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SIZEOF_INT\${ac_dB}SIZEOF_INT\${ac_dC}$ac_size\${ac_dD}
  851. ! \${ac_uA}SIZEOF_INT\${ac_uB}SIZEOF_INT\${ac_uC}$ac_size\${ac_uD}
  852. ! \${ac_eA}SIZEOF_INT\${ac_eB}SIZEOF_INT\${ac_eC}$ac_size\${ac_eD}
  853.   "
  854.   }
  855.   
  856. + test -n "$silent" || /bin/echo "checking size of long"
  857. + cat > conftest.${ac_ext} <<EOF
  858. + #include "confdefs.h"
  859. + #include <stdio.h>
  860. + main()
  861. + {
  862. +   FILE *f=fopen("conftestval", "w");
  863. +   if (!f) exit(1);
  864. +   fprintf(f, "%d\n", sizeof(long));
  865. +   exit(0);
  866. + }
  867. + EOF
  868. + eval $ac_compile
  869. + if test -s conftest && (./conftest; exit) 2>/dev/null; then
  870. +   ac_size=`cat conftestval`
  871.   
  872. + else
  873. +   /bin/echo "configure: can not determine size of long" >&2; exit 1
  874.   fi
  875.   rm -fr conftest*
  876.   
  877.   {
  878.   test -n "$verbose" && \
  879. ! /bin/echo "    defining" SIZEOF_LONG to be "$ac_size"
  880. ! /bin/echo "#define" SIZEOF_LONG "$ac_size" >> confdefs.h
  881. ! DEFS="$DEFS -DSIZEOF_LONG=$ac_size"
  882. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}SIZEOF_LONG\${ac_dB}SIZEOF_LONG\${ac_dC}$ac_size\${ac_dD}
  883. ! \${ac_uA}SIZEOF_LONG\${ac_uB}SIZEOF_LONG\${ac_uC}$ac_size\${ac_uD}
  884. ! \${ac_eA}SIZEOF_LONG\${ac_eB}SIZEOF_LONG\${ac_eC}$ac_size\${ac_eD}
  885.   "
  886.   }
  887.   
  888. ! test -n "$silent" || /bin/echo "checking byte ordering"
  889. ! cat > conftest.${ac_ext} <<EOF
  890.   #include "confdefs.h"
  891.   main () {
  892.     /* Are we little or big endian?  From Harbison&Steele.  */
  893. ***************
  894. *** 300,325 ****
  895.     exit (u.c[sizeof (long) - 1] == 1);
  896.   }
  897.   EOF
  898. ! eval $compile
  899.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  900.     :
  901.   else
  902.     
  903.   {
  904.   test -n "$verbose" && \
  905. ! echo "    defining WORDS_BIGENDIAN"
  906. ! echo "#define" WORDS_BIGENDIAN 1 >> confdefs.h
  907.   DEFS="$DEFS -DWORDS_BIGENDIAN=1"
  908. ! SEDDEFS="${SEDDEFS}\${SEDdA}WORDS_BIGENDIAN\${SEDdB}WORDS_BIGENDIAN\${SEDdC}1\${SEDdD}
  909. ! \${SEDuA}WORDS_BIGENDIAN\${SEDuB}WORDS_BIGENDIAN\${SEDuC}1\${SEDuD}
  910. ! \${SEDeA}WORDS_BIGENDIAN\${SEDeB}WORDS_BIGENDIAN\${SEDeC}1\${SEDeD}
  911.   "
  912.   }
  913.   
  914.   fi
  915.   rm -fr conftest*
  916.   
  917. ! prog='/* Ultrix mips cc rejects this.  */
  918.   typedef int charset[2]; const charset x;
  919.   /* SunOS 4.1.1 cc rejects this.  */
  920.   char const *const *ccp;
  921. --- 543,568 ----
  922.     exit (u.c[sizeof (long) - 1] == 1);
  923.   }
  924.   EOF
  925. ! eval $ac_compile
  926.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  927.     :
  928.   else
  929.     
  930.   {
  931.   test -n "$verbose" && \
  932. ! /bin/echo "    defining WORDS_BIGENDIAN"
  933. ! /bin/echo "#define" WORDS_BIGENDIAN "1" >> confdefs.h
  934.   DEFS="$DEFS -DWORDS_BIGENDIAN=1"
  935. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}WORDS_BIGENDIAN\${ac_dB}WORDS_BIGENDIAN\${ac_dC}1\${ac_dD}
  936. ! \${ac_uA}WORDS_BIGENDIAN\${ac_uB}WORDS_BIGENDIAN\${ac_uC}1\${ac_uD}
  937. ! \${ac_eA}WORDS_BIGENDIAN\${ac_eB}WORDS_BIGENDIAN\${ac_eC}1\${ac_eD}
  938.   "
  939.   }
  940.   
  941.   fi
  942.   rm -fr conftest*
  943.   
  944. ! ac_prog='/* Ultrix mips cc rejects this.  */
  945.   typedef int charset[2]; const charset x;
  946.   /* SunOS 4.1.1 cc rejects this.  */
  947.   char const *const *ccp;
  948. ***************
  949. *** 357,408 ****
  950.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  951.     const int foo = 10;
  952.   }'
  953. ! echo checking for lack of working const
  954. ! cat > conftest.c <<EOF
  955.   #include "confdefs.h"
  956.   
  957. ! int main() { exit(0); }
  958. ! int t() { $prog }
  959.   EOF
  960. ! if eval $compile; then
  961.     :
  962.   else
  963.     rm -rf conftest*
  964.     
  965.   {
  966.   test -n "$verbose" && \
  967. ! echo "    defining" const to be empty
  968. ! echo "#define" const  >> confdefs.h
  969.   DEFS="$DEFS -Dconst="
  970. ! SEDDEFS="${SEDDEFS}\${SEDdA}const\${SEDdB}const\${SEDdC}\${SEDdD}
  971. ! \${SEDuA}const\${SEDuB}const\${SEDuC}\${SEDuD}
  972. ! \${SEDeA}const\${SEDeB}const\${SEDeC}\${SEDeD}
  973.   "
  974.   }
  975.   
  976.   fi
  977.   rm -f conftest*
  978.   
  979. ! for hdr in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h
  980.   do
  981. ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  982. ! echo checking for ${hdr}
  983. ! cat > conftest.c <<EOF
  984.   #include "confdefs.h"
  985. ! #include <${hdr}>
  986.   EOF
  987. ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  988. ! if test -z "$err"; then
  989.     rm -rf conftest*
  990.     
  991.   {
  992.   test -n "$verbose" && \
  993. ! echo "    defining ${trhdr}"
  994. ! echo "#define" ${trhdr} 1 >> confdefs.h
  995. ! DEFS="$DEFS -D${trhdr}=1"
  996. ! SEDDEFS="${SEDDEFS}\${SEDdA}${trhdr}\${SEDdB}${trhdr}\${SEDdC}1\${SEDdD}
  997. ! \${SEDuA}${trhdr}\${SEDuB}${trhdr}\${SEDuC}1\${SEDuD}
  998. ! \${SEDeA}${trhdr}\${SEDeB}${trhdr}\${SEDeC}1\${SEDeD}
  999.   "
  1000.   }
  1001.   
  1002. --- 600,653 ----
  1003.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1004.     const int foo = 10;
  1005.   }'
  1006. ! test -n "$silent" || /bin/echo "checking for lack of working const"
  1007. ! cat > conftest.${ac_ext} <<EOF
  1008.   #include "confdefs.h"
  1009.   
  1010. ! int main() { return 0; }
  1011. ! int t() { $ac_prog; return 0; }
  1012.   EOF
  1013. ! if eval $ac_compile; then
  1014.     :
  1015.   else
  1016.     rm -rf conftest*
  1017.     
  1018.   {
  1019.   test -n "$verbose" && \
  1020. ! /bin/echo "    defining" const to be empty
  1021. ! /bin/echo "#define" const "" >> confdefs.h
  1022.   DEFS="$DEFS -Dconst="
  1023. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}const\${ac_dB}const\${ac_dC}\${ac_dD}
  1024. ! \${ac_uA}const\${ac_uB}const\${ac_uC}\${ac_uD}
  1025. ! \${ac_eA}const\${ac_eB}const\${ac_eC}\${ac_eD}
  1026.   "
  1027.   }
  1028.   
  1029.   fi
  1030.   rm -f conftest*
  1031.   
  1032. ! for ac_hdr in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h
  1033.   do
  1034. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1035. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  1036. ! cat > conftest.${ac_ext} <<EOF
  1037.   #include "confdefs.h"
  1038. ! #include <${ac_hdr}>
  1039.   EOF
  1040. ! # Some shells (Coherent) do redirections in the wrong order, so need
  1041. ! # the parens.
  1042. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  1043. ! if test -z "$ac_err"; then
  1044.     rm -rf conftest*
  1045.     
  1046.   {
  1047.   test -n "$verbose" && \
  1048. ! /bin/echo "    defining ${ac_tr_hdr}"
  1049. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  1050. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  1051. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_hdr}\${ac_dB}${ac_tr_hdr}\${ac_dC}1\${ac_dD}
  1052. ! \${ac_uA}${ac_tr_hdr}\${ac_uB}${ac_tr_hdr}\${ac_uC}1\${ac_uD}
  1053. ! \${ac_eA}${ac_tr_hdr}\${ac_eB}${ac_tr_hdr}\${ac_eC}1\${ac_eD}
  1054.   "
  1055.   }
  1056.   
  1057. ***************
  1058. *** 411,436 ****
  1059.   rm -f conftest*
  1060.   done
  1061.   
  1062. ! for hdr in memory.h
  1063.   do
  1064. ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  1065. ! echo checking for ${hdr}
  1066. ! cat > conftest.c <<EOF
  1067.   #include "confdefs.h"
  1068. ! #include <${hdr}>
  1069.   EOF
  1070. ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  1071. ! if test -z "$err"; then
  1072.     rm -rf conftest*
  1073.     
  1074.   {
  1075.   test -n "$verbose" && \
  1076. ! echo "    defining ${trhdr}"
  1077. ! echo "#define" ${trhdr} 1 >> confdefs.h
  1078. ! DEFS="$DEFS -D${trhdr}=1"
  1079. ! SEDDEFS="${SEDDEFS}\${SEDdA}${trhdr}\${SEDdB}${trhdr}\${SEDdC}1\${SEDdD}
  1080. ! \${SEDuA}${trhdr}\${SEDuB}${trhdr}\${SEDuC}1\${SEDuD}
  1081. ! \${SEDeA}${trhdr}\${SEDeB}${trhdr}\${SEDeC}1\${SEDeD}
  1082.   "
  1083.   }
  1084.   
  1085. --- 656,683 ----
  1086.   rm -f conftest*
  1087.   done
  1088.   
  1089. ! for ac_hdr in memory.h
  1090.   do
  1091. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1092. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  1093. ! cat > conftest.${ac_ext} <<EOF
  1094.   #include "confdefs.h"
  1095. ! #include <${ac_hdr}>
  1096.   EOF
  1097. ! # Some shells (Coherent) do redirections in the wrong order, so need
  1098. ! # the parens.
  1099. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  1100. ! if test -z "$ac_err"; then
  1101.     rm -rf conftest*
  1102.     
  1103.   {
  1104.   test -n "$verbose" && \
  1105. ! /bin/echo "    defining ${ac_tr_hdr}"
  1106. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  1107. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  1108. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_hdr}\${ac_dB}${ac_tr_hdr}\${ac_dC}1\${ac_dD}
  1109. ! \${ac_uA}${ac_tr_hdr}\${ac_uB}${ac_tr_hdr}\${ac_uC}1\${ac_uD}
  1110. ! \${ac_eA}${ac_tr_hdr}\${ac_eB}${ac_tr_hdr}\${ac_eC}1\${ac_eD}
  1111.   "
  1112.   }
  1113.   
  1114. ***************
  1115. *** 439,540 ****
  1116.   rm -f conftest*
  1117.   done
  1118.   
  1119. ! LIBS_save="${LIBS}"
  1120.   LIBS="${LIBS} -ldbm"
  1121. ! have_lib=""
  1122. ! echo checking for -ldbm
  1123. ! cat > conftest.c <<EOF
  1124.   #include "confdefs.h"
  1125.   
  1126. ! int main() { exit(0); }
  1127. ! int t() { main(); }
  1128.   EOF
  1129. ! if eval $compile; then
  1130.     rm -rf conftest*
  1131. !   have_lib="1"
  1132.   
  1133.   fi
  1134.   rm -f conftest*
  1135. ! LIBS="${LIBS_save}"
  1136. ! if test -n "${have_lib}"; then
  1137.      
  1138.   {
  1139.   test -n "$verbose" && \
  1140. ! echo "    defining HAVE_LIBDBM"
  1141. ! echo "#define" HAVE_LIBDBM 1 >> confdefs.h
  1142.   DEFS="$DEFS -DHAVE_LIBDBM=1"
  1143. ! SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_LIBDBM\${SEDdB}HAVE_LIBDBM\${SEDdC}1\${SEDdD}
  1144. ! \${SEDuA}HAVE_LIBDBM\${SEDuB}HAVE_LIBDBM\${SEDuC}1\${SEDuD}
  1145. ! \${SEDeA}HAVE_LIBDBM\${SEDeB}HAVE_LIBDBM\${SEDeC}1\${SEDeD}
  1146.   "
  1147.   }
  1148.   
  1149.      LIBS="${LIBS} -ldbm"
  1150.   fi
  1151.   
  1152. ! LIBS_save="${LIBS}"
  1153.   LIBS="${LIBS} -lndbm"
  1154. ! have_lib=""
  1155. ! echo checking for -lndbm
  1156. ! cat > conftest.c <<EOF
  1157.   #include "confdefs.h"
  1158.   
  1159. ! int main() { exit(0); }
  1160. ! int t() { main(); }
  1161.   EOF
  1162. ! if eval $compile; then
  1163.     rm -rf conftest*
  1164. !   have_lib="1"
  1165.   
  1166.   fi
  1167.   rm -f conftest*
  1168. ! LIBS="${LIBS_save}"
  1169. ! if test -n "${have_lib}"; then
  1170.      
  1171.   {
  1172.   test -n "$verbose" && \
  1173. ! echo "    defining HAVE_LIBNDBM"
  1174. ! echo "#define" HAVE_LIBNDBM 1 >> confdefs.h
  1175.   DEFS="$DEFS -DHAVE_LIBNDBM=1"
  1176. ! SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_LIBNDBM\${SEDdB}HAVE_LIBNDBM\${SEDdC}1\${SEDdD}
  1177. ! \${SEDuA}HAVE_LIBNDBM\${SEDuB}HAVE_LIBNDBM\${SEDuC}1\${SEDuD}
  1178. ! \${SEDeA}HAVE_LIBNDBM\${SEDeB}HAVE_LIBNDBM\${SEDeC}1\${SEDeD}
  1179.   "
  1180.   }
  1181.   
  1182.      LIBS="${LIBS} -lndbm"
  1183.   fi
  1184.   
  1185. ! for func in rename ftruncate flock bcopy fsync
  1186.   do
  1187. ! trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
  1188. ! echo checking for ${func}
  1189. ! cat > conftest.c <<EOF
  1190.   #include "confdefs.h"
  1191.   #include <ctype.h>
  1192. ! int main() { exit(0); }
  1193.   int t() { 
  1194.   /* The GNU C library defines this for functions which it implements
  1195.       to always fail with ENOSYS.  Some functions are actually named
  1196.       something starting with __ and the normal name is an alias.  */
  1197. ! #if defined (__stub_${func}) || defined (__stub___${func})
  1198.   choke me
  1199.   #else
  1200.   /* Override any gcc2 internal prototype to avoid an error.  */
  1201. ! extern char ${func}(); ${func}();
  1202.   #endif
  1203. !  }
  1204.   EOF
  1205. ! if eval $compile; then
  1206.     rm -rf conftest*
  1207.     {
  1208.   test -n "$verbose" && \
  1209. ! echo "    defining ${trfunc}"
  1210. ! echo "#define" ${trfunc} 1 >> confdefs.h
  1211. ! DEFS="$DEFS -D${trfunc}=1"
  1212. ! SEDDEFS="${SEDDEFS}\${SEDdA}${trfunc}\${SEDdB}${trfunc}\${SEDdC}1\${SEDdD}
  1213. ! \${SEDuA}${trfunc}\${SEDuB}${trfunc}\${SEDuC}1\${SEDuD}
  1214. ! \${SEDeA}${trfunc}\${SEDeB}${trfunc}\${SEDeC}1\${SEDeD}
  1215.   "
  1216.   }
  1217.   
  1218. --- 686,787 ----
  1219.   rm -f conftest*
  1220.   done
  1221.   
  1222. ! ac_save_LIBS="${LIBS}"
  1223.   LIBS="${LIBS} -ldbm"
  1224. ! ac_have_lib=""
  1225. ! test -n "$silent" || /bin/echo "checking for -ldbm"
  1226. ! cat > conftest.${ac_ext} <<EOF
  1227.   #include "confdefs.h"
  1228.   
  1229. ! int main() { return 0; }
  1230. ! int t() { main();; return 0; }
  1231.   EOF
  1232. ! if eval $ac_compile; then
  1233.     rm -rf conftest*
  1234. !   ac_have_lib="1"
  1235.   
  1236.   fi
  1237.   rm -f conftest*
  1238. ! LIBS="${ac_save_LIBS}"
  1239. ! if test -n "${ac_have_lib}"; then
  1240.      
  1241.   {
  1242.   test -n "$verbose" && \
  1243. ! /bin/echo "    defining HAVE_LIBDBM"
  1244. ! /bin/echo "#define" HAVE_LIBDBM "1" >> confdefs.h
  1245.   DEFS="$DEFS -DHAVE_LIBDBM=1"
  1246. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDBM\${ac_dB}HAVE_LIBDBM\${ac_dC}1\${ac_dD}
  1247. ! \${ac_uA}HAVE_LIBDBM\${ac_uB}HAVE_LIBDBM\${ac_uC}1\${ac_uD}
  1248. ! \${ac_eA}HAVE_LIBDBM\${ac_eB}HAVE_LIBDBM\${ac_eC}1\${ac_eD}
  1249.   "
  1250.   }
  1251.   
  1252.      LIBS="${LIBS} -ldbm"
  1253.   fi
  1254.   
  1255. ! ac_save_LIBS="${LIBS}"
  1256.   LIBS="${LIBS} -lndbm"
  1257. ! ac_have_lib=""
  1258. ! test -n "$silent" || /bin/echo "checking for -lndbm"
  1259. ! cat > conftest.${ac_ext} <<EOF
  1260.   #include "confdefs.h"
  1261.   
  1262. ! int main() { return 0; }
  1263. ! int t() { main();; return 0; }
  1264.   EOF
  1265. ! if eval $ac_compile; then
  1266.     rm -rf conftest*
  1267. !   ac_have_lib="1"
  1268.   
  1269.   fi
  1270.   rm -f conftest*
  1271. ! LIBS="${ac_save_LIBS}"
  1272. ! if test -n "${ac_have_lib}"; then
  1273.      
  1274.   {
  1275.   test -n "$verbose" && \
  1276. ! /bin/echo "    defining HAVE_LIBNDBM"
  1277. ! /bin/echo "#define" HAVE_LIBNDBM "1" >> confdefs.h
  1278.   DEFS="$DEFS -DHAVE_LIBNDBM=1"
  1279. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBNDBM\${ac_dB}HAVE_LIBNDBM\${ac_dC}1\${ac_dD}
  1280. ! \${ac_uA}HAVE_LIBNDBM\${ac_uB}HAVE_LIBNDBM\${ac_uC}1\${ac_uD}
  1281. ! \${ac_eA}HAVE_LIBNDBM\${ac_eB}HAVE_LIBNDBM\${ac_eC}1\${ac_eD}
  1282.   "
  1283.   }
  1284.   
  1285.      LIBS="${LIBS} -lndbm"
  1286.   fi
  1287.   
  1288. ! for ac_func in rename ftruncate flock bcopy fsync
  1289.   do
  1290. ! ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1291. ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
  1292. ! cat > conftest.${ac_ext} <<EOF
  1293.   #include "confdefs.h"
  1294.   #include <ctype.h>
  1295. ! int main() { return 0; }
  1296.   int t() { 
  1297.   /* The GNU C library defines this for functions which it implements
  1298.       to always fail with ENOSYS.  Some functions are actually named
  1299.       something starting with __ and the normal name is an alias.  */
  1300. ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  1301.   choke me
  1302.   #else
  1303.   /* Override any gcc2 internal prototype to avoid an error.  */
  1304. ! extern char ${ac_func}(); ${ac_func}();
  1305.   #endif
  1306. ! ; return 0; }
  1307.   EOF
  1308. ! if eval $ac_compile; then
  1309.     rm -rf conftest*
  1310.     {
  1311.   test -n "$verbose" && \
  1312. ! /bin/echo "    defining ${ac_tr_func}"
  1313. ! /bin/echo "#define" ${ac_tr_func} "1" >> confdefs.h
  1314. ! DEFS="$DEFS -D${ac_tr_func}=1"
  1315. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}${ac_tr_func}\${ac_dB}${ac_tr_func}\${ac_dC}1\${ac_dD}
  1316. ! \${ac_uA}${ac_tr_func}\${ac_uB}${ac_tr_func}\${ac_uC}1\${ac_uD}
  1317. ! \${ac_eA}${ac_tr_func}\${ac_eB}${ac_tr_func}\${ac_eC}1\${ac_eD}
  1318.   "
  1319.   }
  1320.   
  1321. ***************
  1322. *** 543,573 ****
  1323.   rm -f conftest*
  1324.   done
  1325.   
  1326. ! for func in getopt
  1327.   do
  1328. ! echo checking for ${func}
  1329. ! cat > conftest.c <<EOF
  1330.   #include "confdefs.h"
  1331.   #include <ctype.h>
  1332. ! int main() { exit(0); }
  1333.   int t() { 
  1334.   /* The GNU C library defines this for functions which it implements
  1335.       to always fail with ENOSYS.  Some functions are actually named
  1336.       something starting with __ and the normal name is an alias.  */
  1337. ! #if defined (__stub_${func}) || defined (__stub___${func})
  1338.   choke me
  1339.   #else
  1340.   /* Override any gcc2 internal prototype to avoid an error.  */
  1341. ! extern char ${func}(); ${func}();
  1342.   #endif
  1343. !  }
  1344.   EOF
  1345. ! if eval $compile; then
  1346.     :
  1347.   else
  1348.     rm -rf conftest*
  1349. !   LIBOBJS="$LIBOBJS ${func}.o"
  1350. ! test -n "$verbose" && echo "    using ${func}.o instead"
  1351.   fi
  1352.   rm -f conftest*
  1353.   
  1354. --- 790,820 ----
  1355.   rm -f conftest*
  1356.   done
  1357.   
  1358. ! for ac_func in getopt
  1359.   do
  1360. ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
  1361. ! cat > conftest.${ac_ext} <<EOF
  1362.   #include "confdefs.h"
  1363.   #include <ctype.h>
  1364. ! int main() { return 0; }
  1365.   int t() { 
  1366.   /* The GNU C library defines this for functions which it implements
  1367.       to always fail with ENOSYS.  Some functions are actually named
  1368.       something starting with __ and the normal name is an alias.  */
  1369. ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  1370.   choke me
  1371.   #else
  1372.   /* Override any gcc2 internal prototype to avoid an error.  */
  1373. ! extern char ${ac_func}(); ${ac_func}();
  1374.   #endif
  1375. ! ; return 0; }
  1376.   EOF
  1377. ! if eval $ac_compile; then
  1378.     :
  1379.   else
  1380.     rm -rf conftest*
  1381. !   LIBOBJS="$LIBOBJS ${ac_func}.o"
  1382. ! test -n "$verbose" && /bin/echo "    using ${ac_func}.o instead"
  1383.   fi
  1384.   rm -f conftest*
  1385.   
  1386. ***************
  1387. *** 575,598 ****
  1388.   
  1389.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1390.   # for constant arguments.  Useless!
  1391. ! echo checking for working alloca.h
  1392. ! cat > conftest.c <<EOF
  1393.   #include "confdefs.h"
  1394.   #include <alloca.h>
  1395. ! int main() { exit(0); }
  1396. ! int t() { char *p = alloca(2 * sizeof(int)); }
  1397.   EOF
  1398. ! if eval $compile; then
  1399.     rm -rf conftest*
  1400.     
  1401.   {
  1402.   test -n "$verbose" && \
  1403. ! echo "    defining HAVE_ALLOCA_H"
  1404. ! echo "#define" HAVE_ALLOCA_H 1 >> confdefs.h
  1405.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1406. ! SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_ALLOCA_H\${SEDdB}HAVE_ALLOCA_H\${SEDdC}1\${SEDdD}
  1407. ! \${SEDuA}HAVE_ALLOCA_H\${SEDuB}HAVE_ALLOCA_H\${SEDuC}1\${SEDuD}
  1408. ! \${SEDeA}HAVE_ALLOCA_H\${SEDeB}HAVE_ALLOCA_H\${SEDeC}1\${SEDeD}
  1409.   "
  1410.   }
  1411.   
  1412. --- 822,845 ----
  1413.   
  1414.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1415.   # for constant arguments.  Useless!
  1416. ! test -n "$silent" || /bin/echo "checking for working alloca.h"
  1417. ! cat > conftest.${ac_ext} <<EOF
  1418.   #include "confdefs.h"
  1419.   #include <alloca.h>
  1420. ! int main() { return 0; }
  1421. ! int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  1422.   EOF
  1423. ! if eval $ac_compile; then
  1424.     rm -rf conftest*
  1425.     
  1426.   {
  1427.   test -n "$verbose" && \
  1428. ! /bin/echo "    defining HAVE_ALLOCA_H"
  1429. ! /bin/echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
  1430.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1431. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_ALLOCA_H\${ac_dB}HAVE_ALLOCA_H\${ac_dC}1\${ac_dD}
  1432. ! \${ac_uA}HAVE_ALLOCA_H\${ac_uB}HAVE_ALLOCA_H\${ac_uC}1\${ac_uD}
  1433. ! \${ac_eA}HAVE_ALLOCA_H\${ac_eB}HAVE_ALLOCA_H\${ac_eC}1\${ac_eD}
  1434.   "
  1435.   }
  1436.   
  1437. ***************
  1438. *** 600,606 ****
  1439.   fi
  1440.   rm -f conftest*
  1441.   
  1442. ! decl="#ifdef __GNUC__
  1443.   #define alloca __builtin_alloca
  1444.   #else
  1445.   #if HAVE_ALLOCA_H
  1446. --- 847,853 ----
  1447.   fi
  1448.   rm -f conftest*
  1449.   
  1450. ! ac_decl="#ifdef __GNUC__
  1451.   #define alloca __builtin_alloca
  1452.   #else
  1453.   #if HAVE_ALLOCA_H
  1454. ***************
  1455. *** 614,632 ****
  1456.   #endif
  1457.   #endif
  1458.   "
  1459. ! echo checking for alloca
  1460. ! cat > conftest.c <<EOF
  1461.   #include "confdefs.h"
  1462. ! $decl
  1463. ! int main() { exit(0); }
  1464. ! int t() { char *p = (char *) alloca(1); }
  1465.   EOF
  1466. ! if eval $compile; then
  1467. !   :
  1468.   else
  1469.     rm -rf conftest*
  1470. !   alloca_missing=1
  1471. ! cat > conftest.c <<EOF
  1472.   #include "confdefs.h"
  1473.   
  1474.   #if defined(CRAY) && ! defined(CRAY2)
  1475. --- 861,892 ----
  1476.   #endif
  1477.   #endif
  1478.   "
  1479. ! test -n "$silent" || /bin/echo "checking for alloca"
  1480. ! cat > conftest.${ac_ext} <<EOF
  1481.   #include "confdefs.h"
  1482. ! $ac_decl
  1483. ! int main() { return 0; }
  1484. ! int t() { char *p = (char *) alloca(1);; return 0; }
  1485.   EOF
  1486. ! if eval $ac_compile; then
  1487. !   rm -rf conftest*
  1488. !   
  1489. ! {
  1490. ! test -n "$verbose" && \
  1491. ! /bin/echo "    defining HAVE_ALLOCA"
  1492. ! /bin/echo "#define" HAVE_ALLOCA "1" >> confdefs.h
  1493. ! DEFS="$DEFS -DHAVE_ALLOCA=1"
  1494. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_ALLOCA\${ac_dB}HAVE_ALLOCA\${ac_dC}1\${ac_dD}
  1495. ! \${ac_uA}HAVE_ALLOCA\${ac_uB}HAVE_ALLOCA\${ac_uC}1\${ac_uD}
  1496. ! \${ac_eA}HAVE_ALLOCA\${ac_eB}HAVE_ALLOCA\${ac_eC}1\${ac_eD}
  1497. ! "
  1498. ! }
  1499.   else
  1500.     rm -rf conftest*
  1501. !   ac_alloca_missing=1
  1502. ! cat > conftest.${ac_ext} <<EOF
  1503.   #include "confdefs.h"
  1504.   
  1505.   #if defined(CRAY) && ! defined(CRAY2)
  1506. ***************
  1507. *** 636,649 ****
  1508.   #endif
  1509.   
  1510.   EOF
  1511. ! eval "$CPP conftest.c > conftest.out 2>&1"
  1512.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1513.     rm -rf conftest*
  1514. !   echo checking for _getb67
  1515. ! cat > conftest.c <<EOF
  1516.   #include "confdefs.h"
  1517.   #include <ctype.h>
  1518. ! int main() { exit(0); }
  1519.   int t() { 
  1520.   /* The GNU C library defines this for functions which it implements
  1521.       to always fail with ENOSYS.  Some functions are actually named
  1522. --- 896,909 ----
  1523.   #endif
  1524.   
  1525.   EOF
  1526. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1527.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1528.     rm -rf conftest*
  1529. !   test -n "$silent" || /bin/echo "checking for _getb67"
  1530. ! cat > conftest.${ac_ext} <<EOF
  1531.   #include "confdefs.h"
  1532.   #include <ctype.h>
  1533. ! int main() { return 0; }
  1534.   int t() { 
  1535.   /* The GNU C library defines this for functions which it implements
  1536.       to always fail with ENOSYS.  Some functions are actually named
  1537. ***************
  1538. *** 654,682 ****
  1539.   /* Override any gcc2 internal prototype to avoid an error.  */
  1540.   extern char _getb67(); _getb67();
  1541.   #endif
  1542. !  }
  1543.   EOF
  1544. ! if eval $compile; then
  1545.     rm -rf conftest*
  1546.     {
  1547.   test -n "$verbose" && \
  1548. ! echo "    defining" CRAY_STACKSEG_END to be _getb67
  1549. ! echo "#define" CRAY_STACKSEG_END _getb67 >> confdefs.h
  1550.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1551. ! SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}_getb67\${SEDdD}
  1552. ! \${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}_getb67\${SEDuD}
  1553. ! \${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}_getb67\${SEDeD}
  1554.   "
  1555.   }
  1556.   
  1557.   
  1558.   else
  1559.     rm -rf conftest*
  1560. !   echo checking for GETB67
  1561. ! cat > conftest.c <<EOF
  1562.   #include "confdefs.h"
  1563.   #include <ctype.h>
  1564. ! int main() { exit(0); }
  1565.   int t() { 
  1566.   /* The GNU C library defines this for functions which it implements
  1567.       to always fail with ENOSYS.  Some functions are actually named
  1568. --- 914,942 ----
  1569.   /* Override any gcc2 internal prototype to avoid an error.  */
  1570.   extern char _getb67(); _getb67();
  1571.   #endif
  1572. ! ; return 0; }
  1573.   EOF
  1574. ! if eval $ac_compile; then
  1575.     rm -rf conftest*
  1576.     {
  1577.   test -n "$verbose" && \
  1578. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "_getb67"
  1579. ! /bin/echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
  1580.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1581. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}_getb67\${ac_dD}
  1582. ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}_getb67\${ac_uD}
  1583. ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}_getb67\${ac_eD}
  1584.   "
  1585.   }
  1586.   
  1587.   
  1588.   else
  1589.     rm -rf conftest*
  1590. !   test -n "$silent" || /bin/echo "checking for GETB67"
  1591. ! cat > conftest.${ac_ext} <<EOF
  1592.   #include "confdefs.h"
  1593.   #include <ctype.h>
  1594. ! int main() { return 0; }
  1595.   int t() { 
  1596.   /* The GNU C library defines this for functions which it implements
  1597.       to always fail with ENOSYS.  Some functions are actually named
  1598. ***************
  1599. *** 687,715 ****
  1600.   /* Override any gcc2 internal prototype to avoid an error.  */
  1601.   extern char GETB67(); GETB67();
  1602.   #endif
  1603. !  }
  1604.   EOF
  1605. ! if eval $compile; then
  1606.     rm -rf conftest*
  1607.     {
  1608.   test -n "$verbose" && \
  1609. ! echo "    defining" CRAY_STACKSEG_END to be GETB67
  1610. ! echo "#define" CRAY_STACKSEG_END GETB67 >> confdefs.h
  1611.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1612. ! SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}GETB67\${SEDdD}
  1613. ! \${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}GETB67\${SEDuD}
  1614. ! \${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}GETB67\${SEDeD}
  1615.   "
  1616.   }
  1617.   
  1618.   
  1619.   else
  1620.     rm -rf conftest*
  1621. !   echo checking for getb67
  1622. ! cat > conftest.c <<EOF
  1623.   #include "confdefs.h"
  1624.   #include <ctype.h>
  1625. ! int main() { exit(0); }
  1626.   int t() { 
  1627.   /* The GNU C library defines this for functions which it implements
  1628.       to always fail with ENOSYS.  Some functions are actually named
  1629. --- 947,975 ----
  1630.   /* Override any gcc2 internal prototype to avoid an error.  */
  1631.   extern char GETB67(); GETB67();
  1632.   #endif
  1633. ! ; return 0; }
  1634.   EOF
  1635. ! if eval $ac_compile; then
  1636.     rm -rf conftest*
  1637.     {
  1638.   test -n "$verbose" && \
  1639. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "GETB67"
  1640. ! /bin/echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
  1641.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1642. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}GETB67\${ac_dD}
  1643. ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}GETB67\${ac_uD}
  1644. ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}GETB67\${ac_eD}
  1645.   "
  1646.   }
  1647.   
  1648.   
  1649.   else
  1650.     rm -rf conftest*
  1651. !   test -n "$silent" || /bin/echo "checking for getb67"
  1652. ! cat > conftest.${ac_ext} <<EOF
  1653.   #include "confdefs.h"
  1654.   #include <ctype.h>
  1655. ! int main() { return 0; }
  1656.   int t() { 
  1657.   /* The GNU C library defines this for functions which it implements
  1658.       to always fail with ENOSYS.  Some functions are actually named
  1659. ***************
  1660. *** 720,737 ****
  1661.   /* Override any gcc2 internal prototype to avoid an error.  */
  1662.   extern char getb67(); getb67();
  1663.   #endif
  1664. !  }
  1665.   EOF
  1666. ! if eval $compile; then
  1667.     rm -rf conftest*
  1668.     {
  1669.   test -n "$verbose" && \
  1670. ! echo "    defining" CRAY_STACKSEG_END to be getb67
  1671. ! echo "#define" CRAY_STACKSEG_END getb67 >> confdefs.h
  1672.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1673. ! SEDDEFS="${SEDDEFS}\${SEDdA}CRAY_STACKSEG_END\${SEDdB}CRAY_STACKSEG_END\${SEDdC}getb67\${SEDdD}
  1674. ! \${SEDuA}CRAY_STACKSEG_END\${SEDuB}CRAY_STACKSEG_END\${SEDuC}getb67\${SEDuD}
  1675. ! \${SEDeA}CRAY_STACKSEG_END\${SEDeB}CRAY_STACKSEG_END\${SEDeC}getb67\${SEDeD}
  1676.   "
  1677.   }
  1678.   
  1679. --- 980,997 ----
  1680.   /* Override any gcc2 internal prototype to avoid an error.  */
  1681.   extern char getb67(); getb67();
  1682.   #endif
  1683. ! ; return 0; }
  1684.   EOF
  1685. ! if eval $ac_compile; then
  1686.     rm -rf conftest*
  1687.     {
  1688.   test -n "$verbose" && \
  1689. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "getb67"
  1690. ! /bin/echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
  1691.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1692. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}getb67\${ac_dD}
  1693. ! \${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}getb67\${ac_uD}
  1694. ! \${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}getb67\${ac_eD}
  1695.   "
  1696.   }
  1697.   
  1698. ***************
  1699. *** 753,759 ****
  1700.   fi
  1701.   rm -f conftest*
  1702.   
  1703. ! if test -n "$alloca_missing"; then
  1704.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1705.     # that cause trouble.  Some versions do not even contain alloca or
  1706.     # contain a buggy version.  If you still want to use their alloca,
  1707. --- 1013,1019 ----
  1708.   fi
  1709.   rm -f conftest*
  1710.   
  1711. ! if test -n "$ac_alloca_missing"; then
  1712.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1713.     # that cause trouble.  Some versions do not even contain alloca or
  1714.     # contain a buggy version.  If you still want to use their alloca,
  1715. ***************
  1716. *** 762,785 ****
  1717.     
  1718.   {
  1719.   test -n "$verbose" && \
  1720. ! echo "    defining C_ALLOCA"
  1721. ! echo "#define" C_ALLOCA 1 >> confdefs.h
  1722.   DEFS="$DEFS -DC_ALLOCA=1"
  1723. ! SEDDEFS="${SEDDEFS}\${SEDdA}C_ALLOCA\${SEDdB}C_ALLOCA\${SEDdC}1\${SEDdD}
  1724. ! \${SEDuA}C_ALLOCA\${SEDuB}C_ALLOCA\${SEDuC}1\${SEDuD}
  1725. ! \${SEDeA}C_ALLOCA\${SEDeB}C_ALLOCA\${SEDeC}1\${SEDeD}
  1726.   "
  1727.   }
  1728.   
  1729.   
  1730. !   echo 'checking stack direction for C alloca'
  1731. !   echo checking whether cross-compiling
  1732.   # If we cannot run a trivial program, we must be cross compiling.
  1733. ! cat > conftest.c <<EOF
  1734.   #include "confdefs.h"
  1735.   main(){exit(0);}
  1736.   EOF
  1737. ! eval $compile
  1738.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1739.     :
  1740.   else
  1741. --- 1022,1045 ----
  1742.     
  1743.   {
  1744.   test -n "$verbose" && \
  1745. ! /bin/echo "    defining C_ALLOCA"
  1746. ! /bin/echo "#define" C_ALLOCA "1" >> confdefs.h
  1747.   DEFS="$DEFS -DC_ALLOCA=1"
  1748. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}C_ALLOCA\${ac_dB}C_ALLOCA\${ac_dC}1\${ac_dD}
  1749. ! \${ac_uA}C_ALLOCA\${ac_uB}C_ALLOCA\${ac_uC}1\${ac_uD}
  1750. ! \${ac_eA}C_ALLOCA\${ac_eB}C_ALLOCA\${ac_eC}1\${ac_eD}
  1751.   "
  1752.   }
  1753.   
  1754.   
  1755. !   test -n "$silent" || /bin/echo "checking stack direction for C alloca"
  1756. !   test -n "$silent" || /bin/echo "checking whether cross-compiling"
  1757.   # If we cannot run a trivial program, we must be cross compiling.
  1758. ! cat > conftest.${ac_ext} <<EOF
  1759.   #include "confdefs.h"
  1760.   main(){exit(0);}
  1761.   EOF
  1762. ! eval $ac_compile
  1763.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1764.     :
  1765.   else
  1766. ***************
  1767. *** 792,808 ****
  1768.     
  1769.   {
  1770.   test -n "$verbose" && \
  1771. ! echo "    defining" STACK_DIRECTION to be 0
  1772. ! echo "#define" STACK_DIRECTION 0 >> confdefs.h
  1773.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1774. ! SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}0\${SEDdD}
  1775. ! \${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}0\${SEDuD}
  1776. ! \${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}0\${SEDeD}
  1777.   "
  1778.   }
  1779.   
  1780.   else
  1781. ! cat > conftest.c <<EOF
  1782.   #include "confdefs.h"
  1783.   find_stack_direction ()
  1784.   {
  1785. --- 1052,1068 ----
  1786.     
  1787.   {
  1788.   test -n "$verbose" && \
  1789. ! /bin/echo "    defining" STACK_DIRECTION to be "0"
  1790. ! /bin/echo "#define" STACK_DIRECTION "0" >> confdefs.h
  1791.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1792. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}0\${ac_dD}
  1793. ! \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}0\${ac_uD}
  1794. ! \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}0\${ac_eD}
  1795.   "
  1796.   }
  1797.   
  1798.   else
  1799. ! cat > conftest.${ac_ext} <<EOF
  1800.   #include "confdefs.h"
  1801.   find_stack_direction ()
  1802.   {
  1803. ***************
  1804. *** 821,837 ****
  1805.     exit (find_stack_direction() < 0);
  1806.   }
  1807.   EOF
  1808. ! eval $compile
  1809.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1810.     
  1811.   {
  1812.   test -n "$verbose" && \
  1813. ! echo "    defining" STACK_DIRECTION to be 1
  1814. ! echo "#define" STACK_DIRECTION 1 >> confdefs.h
  1815.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1816. ! SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}1\${SEDdD}
  1817. ! \${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}1\${SEDuD}
  1818. ! \${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}1\${SEDeD}
  1819.   "
  1820.   }
  1821.   
  1822. --- 1081,1097 ----
  1823.     exit (find_stack_direction() < 0);
  1824.   }
  1825.   EOF
  1826. ! eval $ac_compile
  1827.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1828.     
  1829.   {
  1830.   test -n "$verbose" && \
  1831. ! /bin/echo "    defining" STACK_DIRECTION to be "1"
  1832. ! /bin/echo "#define" STACK_DIRECTION "1" >> confdefs.h
  1833.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1834. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}1\${ac_dD}
  1835. ! \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}1\${ac_uD}
  1836. ! \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}1\${ac_eD}
  1837.   "
  1838.   }
  1839.   
  1840. ***************
  1841. *** 840,851 ****
  1842.     
  1843.   {
  1844.   test -n "$verbose" && \
  1845. ! echo "    defining" STACK_DIRECTION to be -1
  1846. ! echo "#define" STACK_DIRECTION -1 >> confdefs.h
  1847.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1848. ! SEDDEFS="${SEDDEFS}\${SEDdA}STACK_DIRECTION\${SEDdB}STACK_DIRECTION\${SEDdC}-1\${SEDdD}
  1849. ! \${SEDuA}STACK_DIRECTION\${SEDuB}STACK_DIRECTION\${SEDuC}-1\${SEDuD}
  1850. ! \${SEDeA}STACK_DIRECTION\${SEDeB}STACK_DIRECTION\${SEDeC}-1\${SEDeD}
  1851.   "
  1852.   }
  1853.   
  1854. --- 1100,1111 ----
  1855.     
  1856.   {
  1857.   test -n "$verbose" && \
  1858. ! /bin/echo "    defining" STACK_DIRECTION to be "-1"
  1859. ! /bin/echo "#define" STACK_DIRECTION "-1" >> confdefs.h
  1860.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1861. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}-1\${ac_dD}
  1862. ! \${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}-1\${ac_uD}
  1863. ! \${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}-1\${ac_eD}
  1864.   "
  1865.   }
  1866.   
  1867. ***************
  1868. *** 854,863 ****
  1869.   rm -fr conftest*
  1870.   fi
  1871.   
  1872. ! echo checking for off_t in sys/types.h
  1873. ! echo '#include "confdefs.h"
  1874. ! #include <sys/types.h>' > conftest.c
  1875. ! eval "$CPP conftest.c > conftest.out 2>&1"
  1876.   if egrep "off_t" conftest.out >/dev/null 2>&1; then
  1877.     :
  1878.   else
  1879. --- 1114,1123 ----
  1880.   rm -fr conftest*
  1881.   fi
  1882.   
  1883. ! test -n "$silent" || /bin/echo "checking for off_t in sys/types.h"
  1884. ! /bin/echo '#include "confdefs.h"
  1885. ! #include <sys/types.h>' > conftest.${ac_ext}
  1886. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1887.   if egrep "off_t" conftest.out >/dev/null 2>&1; then
  1888.     :
  1889.   else
  1890. ***************
  1891. *** 865,901 ****
  1892.     
  1893.   {
  1894.   test -n "$verbose" && \
  1895. ! echo "    defining" off_t to be long
  1896. ! echo "#define" off_t long >> confdefs.h
  1897.   DEFS="$DEFS -Doff_t=long"
  1898. ! SEDDEFS="${SEDDEFS}\${SEDdA}off_t\${SEDdB}off_t\${SEDdC}long\${SEDdD}
  1899. ! \${SEDuA}off_t\${SEDuB}off_t\${SEDuC}long\${SEDuD}
  1900. ! \${SEDeA}off_t\${SEDeB}off_t\${SEDeC}long\${SEDeD}
  1901.   "
  1902.   }
  1903.   
  1904.   fi
  1905.   rm -f conftest*
  1906.   
  1907. ! echo checking for st_blksize in struct stat
  1908. ! cat > conftest.c <<EOF
  1909.   #include "confdefs.h"
  1910.   #include <sys/types.h>
  1911.   #include <sys/stat.h>
  1912. ! int main() { exit(0); }
  1913. ! int t() { struct stat s; s.st_blksize; }
  1914.   EOF
  1915. ! if eval $compile; then
  1916.     rm -rf conftest*
  1917.     
  1918.   {
  1919.   test -n "$verbose" && \
  1920. ! echo "    defining HAVE_ST_BLKSIZE"
  1921. ! echo "#define" HAVE_ST_BLKSIZE 1 >> confdefs.h
  1922.   DEFS="$DEFS -DHAVE_ST_BLKSIZE=1"
  1923. ! SEDDEFS="${SEDDEFS}\${SEDdA}HAVE_ST_BLKSIZE\${SEDdB}HAVE_ST_BLKSIZE\${SEDdC}1\${SEDdD}
  1924. ! \${SEDuA}HAVE_ST_BLKSIZE\${SEDuB}HAVE_ST_BLKSIZE\${SEDuC}1\${SEDuD}
  1925. ! \${SEDeA}HAVE_ST_BLKSIZE\${SEDeB}HAVE_ST_BLKSIZE\${SEDeC}1\${SEDeD}
  1926.   "
  1927.   }
  1928.   
  1929. --- 1125,1161 ----
  1930.     
  1931.   {
  1932.   test -n "$verbose" && \
  1933. ! /bin/echo "    defining" off_t to be "long"
  1934. ! /bin/echo "#define" off_t "long" >> confdefs.h
  1935.   DEFS="$DEFS -Doff_t=long"
  1936. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}off_t\${ac_dB}off_t\${ac_dC}long\${ac_dD}
  1937. ! \${ac_uA}off_t\${ac_uB}off_t\${ac_uC}long\${ac_uD}
  1938. ! \${ac_eA}off_t\${ac_eB}off_t\${ac_eC}long\${ac_eD}
  1939.   "
  1940.   }
  1941.   
  1942.   fi
  1943.   rm -f conftest*
  1944.   
  1945. ! test -n "$silent" || /bin/echo "checking for st_blksize in struct stat"
  1946. ! cat > conftest.${ac_ext} <<EOF
  1947.   #include "confdefs.h"
  1948.   #include <sys/types.h>
  1949.   #include <sys/stat.h>
  1950. ! int main() { return 0; }
  1951. ! int t() { struct stat s; s.st_blksize;; return 0; }
  1952.   EOF
  1953. ! if eval $ac_compile; then
  1954.     rm -rf conftest*
  1955.     
  1956.   {
  1957.   test -n "$verbose" && \
  1958. ! /bin/echo "    defining HAVE_ST_BLKSIZE"
  1959. ! /bin/echo "#define" HAVE_ST_BLKSIZE "1" >> confdefs.h
  1960.   DEFS="$DEFS -DHAVE_ST_BLKSIZE=1"
  1961. ! ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_ST_BLKSIZE\${ac_dB}HAVE_ST_BLKSIZE\${ac_dC}1\${ac_dD}
  1962. ! \${ac_uA}HAVE_ST_BLKSIZE\${ac_uB}HAVE_ST_BLKSIZE\${ac_uC}1\${ac_uD}
  1963. ! \${ac_eA}HAVE_ST_BLKSIZE\${ac_eB}HAVE_ST_BLKSIZE\${ac_eC}1\${ac_eD}
  1964.   "
  1965.   }
  1966.   
  1967. ***************
  1968. *** 903,929 ****
  1969.   fi
  1970.   rm -f conftest*
  1971.   
  1972. ! # Set default prefixes.
  1973.   if test -n "$prefix"; then
  1974. !   test -z "$exec_prefix" && exec_prefix='${prefix}'
  1975. !   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1976.   fi
  1977.   if test -n "$exec_prefix"; then
  1978. !   prsub="$prsub
  1979.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1980.   fi
  1981.   # Quote sed substitution magic chars in DEFS.
  1982.   cat >conftest.def <<EOF
  1983.   $DEFS
  1984.   EOF
  1985. ! escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1986. ! DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
  1987.   rm -f conftest.def
  1988.   # Substitute for predefined variables.
  1989.   
  1990. ! trap 'rm -f config.status; exit 1' 1 3 15
  1991. ! echo creating config.status
  1992. ! rm -f config.status
  1993.   cat > config.status <<EOF
  1994.   #!/bin/sh
  1995.   # Generated automatically by configure.
  1996. --- 1163,1203 ----
  1997.   fi
  1998.   rm -f conftest*
  1999.   
  2000. ! # The preferred way to propogate these variables is regular @ substitutions.
  2001.   if test -n "$prefix"; then
  2002. !   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  2003. ! else
  2004. !   prefix=/usr/local
  2005.   fi
  2006.   if test -n "$exec_prefix"; then
  2007. !   ac_prsub="$ac_prsub
  2008.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  2009. + else
  2010. +   exec_prefix='${prefix}' # Let make expand it.
  2011. + fi
  2012. + # Any assignment to VPATH causes Sun make to only execute
  2013. + # the first set of double-colon rules, so remove it if not needed.
  2014. + # If there is a colon in the path, we need to keep it.
  2015. + if test "x$srcdir" = x.; then
  2016. +   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  2017.   fi
  2018.   # Quote sed substitution magic chars in DEFS.
  2019.   cat >conftest.def <<EOF
  2020.   $DEFS
  2021.   EOF
  2022. ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  2023. ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  2024.   rm -f conftest.def
  2025.   # Substitute for predefined variables.
  2026.   
  2027. ! trap 'rm -f config.status; exit 1' 1 2 15
  2028. ! /bin/echo creating config.status
  2029. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  2030. ! # being executed, so just move it out of the way instead.
  2031. ! if test -f config.status; then mv config.status config.status.old; else true; fi
  2032.   cat > config.status <<EOF
  2033.   #!/bin/sh
  2034.   # Generated automatically by configure.
  2035. ***************
  2036. *** 933,949 ****
  2037.   #
  2038.   # $0 $configure_args
  2039.   
  2040. ! for arg
  2041.   do
  2042. !   case "\$arg" in
  2043. !     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2044. !     echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args
  2045. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args ;;
  2046. !     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  2047.     esac
  2048.   done
  2049.   
  2050. ! trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 3 15
  2051.   CC='$CC'
  2052.   CPP='$CPP'
  2053.   INSTALL='$INSTALL'
  2054. --- 1207,1229 ----
  2055.   #
  2056.   # $0 $configure_args
  2057.   
  2058. ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  2059. ! for ac_option
  2060.   do
  2061. !   case "\$ac_option" in
  2062. !   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2063. !     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  2064. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  2065. !   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2066. !     /bin/echo "config.status generated by autoconf version 1.11"
  2067. !     exit 0 ;;
  2068. !   -help | --help | --hel | --he | --h)
  2069. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  2070. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  2071.     esac
  2072.   done
  2073.   
  2074. ! trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 2 15
  2075.   CC='$CC'
  2076.   CPP='$CPP'
  2077.   INSTALL='$INSTALL'
  2078. ***************
  2079. *** 954,982 ****
  2080.   ALLOCA='$ALLOCA'
  2081.   LIBS='$LIBS'
  2082.   srcdir='$srcdir'
  2083.   prefix='$prefix'
  2084.   exec_prefix='$exec_prefix'
  2085. ! prsub='$prsub'
  2086.   extrasub='$extrasub'
  2087.   EOF
  2088.   cat >> config.status <<\EOF
  2089.   
  2090. ! top_srcdir=$srcdir
  2091.   
  2092.   CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  2093. ! for file in .. ${CONFIG_FILES}; do if test "x$file" != x..; then
  2094. !   srcdir=$top_srcdir
  2095.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2096. !   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  2097. !   if test "$dir" != "$file"; then
  2098. !     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  2099. !     test ! -d $dir && mkdir $dir
  2100.     fi
  2101. !   echo creating $file
  2102. !   rm -f $file
  2103. !   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  2104.     sed -e "
  2105. ! $prsub
  2106.   $extrasub
  2107.   s%@CC@%$CC%g
  2108.   s%@CPP@%$CPP%g
  2109. --- 1234,1284 ----
  2110.   ALLOCA='$ALLOCA'
  2111.   LIBS='$LIBS'
  2112.   srcdir='$srcdir'
  2113. + top_srcdir='$top_srcdir'
  2114.   prefix='$prefix'
  2115.   exec_prefix='$exec_prefix'
  2116. ! ac_prsub='$ac_prsub'
  2117. ! ac_vpsub='$ac_vpsub'
  2118.   extrasub='$extrasub'
  2119.   EOF
  2120.   cat >> config.status <<\EOF
  2121.   
  2122. ! ac_given_srcdir=$srcdir
  2123.   
  2124.   CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  2125. ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  2126.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2127. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2128. !   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2129. !     # The file is in a subdirectory.
  2130. !     test ! -d "$ac_dir" && mkdir "$ac_dir"
  2131. !     ac_dir_suffix="/$ac_dir"
  2132. !   else
  2133. !     ac_dir_suffix=
  2134.     fi
  2135. !   # A "../" for each directory in $ac_dir_suffix.
  2136. !   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2137. !   case "$ac_given_srcdir" in
  2138. !   .)  srcdir=.
  2139. !       if test -z "$ac_dir_suffix"; then top_srcdir=.
  2140. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  2141. !   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2142. !   *) # Relative path.
  2143. !     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2144. !     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2145. !   esac
  2146. !   /bin/echo creating "$ac_file"
  2147. !   rm -f "$ac_file"
  2148. !   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  2149. !   case "$ac_file" in
  2150. !     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  2151. !     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  2152. !   esac
  2153.     sed -e "
  2154. ! $ac_prsub
  2155. ! $ac_vpsub
  2156.   $extrasub
  2157.   s%@CC@%$CC%g
  2158.   s%@CPP@%$CPP%g
  2159. ***************
  2160. *** 988,1047 ****
  2161.   s%@ALLOCA@%$ALLOCA%g
  2162.   s%@LIBS@%$LIBS%g
  2163.   s%@srcdir@%$srcdir%g
  2164. ! s%@DEFS@%-DHAVE_CONFIG_H%" $top_srcdir/${file}.in >> $file
  2165.   fi; done
  2166.   
  2167. ! CONFIG_HEADERS=${CONFIG_HEADERS-"autoconf.h"}
  2168. ! for file in .. ${CONFIG_HEADERS}; do if test "x$file" != x..; then
  2169. ! echo creating $file
  2170. ! # These sed commands are put into SEDDEFS when defining a macro.
  2171.   # They are broken into pieces to make the sed script easier to manage.
  2172.   # They are passed to sed as "A NAME B NAME C VALUE D", where NAME
  2173.   # is the cpp macro being defined and VALUE is the value it is being given.
  2174.   # Each defining turns into a single global substitution command.
  2175.   #
  2176. ! # SEDd sets the value in "#define NAME VALUE" lines.
  2177. ! SEDdA='s@^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  2178. ! SEDdB='\([     ][     ]*\)[^     ]*@\1#\2'
  2179. ! SEDdC='\3'
  2180. ! SEDdD='@g'
  2181. ! # SEDu turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2182. ! SEDuA='s@^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2183. ! SEDuB='\([     ]\)@\1#\2define\3'
  2184. ! SEDuC=' '
  2185. ! SEDuD='\4@g'
  2186. ! # SEDe turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2187. ! SEDeA='s@^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2188. ! SEDeB='$@\1#\2define\3'
  2189. ! SEDeC=' '
  2190. ! SEDeD='@g'
  2191.   rm -f conftest.sed
  2192.   EOF
  2193.   # Turn off quoting long enough to insert the sed commands.
  2194.   rm -f conftest.sh
  2195.   cat > conftest.sh <<EOF
  2196. ! $SEDDEFS
  2197.   EOF
  2198.   
  2199. ! # Break up $SEDDEFS (now in conftest.sh) because some shells have a limit
  2200.   # on the size of here documents.
  2201.   
  2202.   # Maximum number of lines to put in a single here document.
  2203. ! maxshlines=9
  2204.   
  2205.   while :
  2206.   do
  2207. !   # wc gives bogus results for an empty file on some systems.
  2208. !   lines=`grep -c . conftest.sh`
  2209. !   if test -z "$lines" || test "$lines" -eq 0; then break; fi
  2210.     rm -f conftest.s1 conftest.s2
  2211. !   sed ${maxshlines}q conftest.sh > conftest.s1 # Like head -20.
  2212. !   sed 1,${maxshlines}d conftest.sh > conftest.s2 # Like tail +21.
  2213.     # Write a limited-size here document to append to conftest.sed.
  2214. !   echo 'cat >> conftest.sed <<CONFEOF' >> config.status
  2215.     cat conftest.s1 >> config.status
  2216. !   echo 'CONFEOF' >> config.status
  2217.     rm -f conftest.s1 conftest.sh
  2218.     mv conftest.s2 conftest.sh
  2219.   done
  2220. --- 1290,1350 ----
  2221.   s%@ALLOCA@%$ALLOCA%g
  2222.   s%@LIBS@%$LIBS%g
  2223.   s%@srcdir@%$srcdir%g
  2224. ! s%@top_srcdir@%$top_srcdir%g
  2225. ! s%@prefix@%$prefix%g
  2226. ! s%@exec_prefix@%$exec_prefix%g
  2227. ! s%@DEFS@%-DHAVE_CONFIG_H%" $ac_given_srcdir/${ac_file}.in >> $ac_file
  2228.   fi; done
  2229.   
  2230. ! # These sed commands are put into ac_sed_defs when defining a macro.
  2231.   # They are broken into pieces to make the sed script easier to manage.
  2232.   # They are passed to sed as "A NAME B NAME C VALUE D", where NAME
  2233.   # is the cpp macro being defined and VALUE is the value it is being given.
  2234.   # Each defining turns into a single global substitution command.
  2235. + # Hopefully no one uses "!" as a variable value.
  2236. + # Other candidates for the sed separators, like , and @, do get used.
  2237.   #
  2238. ! # ac_d sets the value in "#define NAME VALUE" lines.
  2239. ! ac_dA='s!^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  2240. ! ac_dB='\([     ][     ]*\)[^     ]*!\1#\2'
  2241. ! ac_dC='\3'
  2242. ! ac_dD='!g'
  2243. ! # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2244. ! ac_uA='s!^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2245. ! ac_uB='\([     ]\)!\1#\2define\3'
  2246. ! ac_uC=' '
  2247. ! ac_uD='\4!g'
  2248. ! # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2249. ! ac_eA='s!^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2250. ! ac_eB='$!\1#\2define\3'
  2251. ! ac_eC=' '
  2252. ! ac_eD='!g'
  2253.   rm -f conftest.sed
  2254.   EOF
  2255.   # Turn off quoting long enough to insert the sed commands.
  2256.   rm -f conftest.sh
  2257.   cat > conftest.sh <<EOF
  2258. ! $ac_sed_defs
  2259.   EOF
  2260.   
  2261. ! # Break up $ac_sed_defs (now in conftest.sh) because some shells have a limit
  2262.   # on the size of here documents.
  2263.   
  2264.   # Maximum number of lines to put in a single here document.
  2265. ! ac_max_sh_lines=9
  2266.   
  2267.   while :
  2268.   do
  2269. !   # wc gives bogus results for an empty file on some AIX systems.
  2270. !   ac_lines=`grep -c . conftest.sh`
  2271. !   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2272.     rm -f conftest.s1 conftest.s2
  2273. !   sed ${ac_max_sh_lines}q conftest.sh > conftest.s1 # Like head -9.
  2274. !   sed 1,${ac_max_sh_lines}d conftest.sh > conftest.s2 # Like tail +10.
  2275.     # Write a limited-size here document to append to conftest.sed.
  2276. !   /bin/echo 'cat >> conftest.sed <<CONFEOF' >> config.status
  2277.     cat conftest.s1 >> config.status
  2278. !   /bin/echo 'CONFEOF' >> config.status
  2279.     rm -f conftest.s1 conftest.sh
  2280.     mv conftest.s2 conftest.sh
  2281.   done
  2282. ***************
  2283. *** 1058,1095 ****
  2284.   CONFEOF
  2285.   rm -f conftest.h
  2286.   # Break up the sed commands because old seds have small limits.
  2287. ! maxsedlines=20
  2288. ! cp $top_srcdir/$file.in conftest.h1
  2289. ! while :
  2290. ! do
  2291. !   lines=`grep -c . conftest.sed`
  2292. !   if test -z "$lines" || test "$lines" -eq 0; then break; fi
  2293. !   rm -f conftest.s1 conftest.s2 conftest.h2
  2294. !   sed ${maxsedlines}q conftest.sed > conftest.s1 # Like head -20.
  2295. !   sed 1,${maxsedlines}d conftest.sed > conftest.s2 # Like tail +21.
  2296. !   sed -f conftest.s1 < conftest.h1 > conftest.h2
  2297. !   rm -f conftest.s1 conftest.h1 conftest.sed
  2298. !   mv conftest.h2 conftest.h1
  2299. !   mv conftest.s2 conftest.sed
  2300. ! done
  2301. ! rm -f conftest.sed conftest.h
  2302. ! echo "/* $file.  Generated automatically by configure.  */" > conftest.h
  2303. ! cat conftest.h1 >> conftest.h
  2304. ! rm -f conftest.h1
  2305. ! if cmp -s $file conftest.h 2>/dev/null; then
  2306. !   # The file exists and we would not be changing it.
  2307. !   echo "$file is unchanged"
  2308. !   rm -f conftest.h
  2309. ! else
  2310. !   rm -f $file
  2311. !   mv conftest.h $file
  2312. ! fi
  2313.   fi; done
  2314.   
  2315.   
  2316.   
  2317.   exit 0
  2318.   EOF
  2319.   chmod +x config.status
  2320. ! ${CONFIG_SHELL-/bin/sh} config.status
  2321.   
  2322. --- 1361,1406 ----
  2323.   CONFEOF
  2324.   rm -f conftest.h
  2325.   # Break up the sed commands because old seds have small limits.
  2326. ! ac_max_sed_lines=20
  2327. ! CONFIG_HEADERS=${CONFIG_HEADERS-"autoconf.h"}
  2328. ! for ac_file in .. ${CONFIG_HEADERS}; do if test "x$ac_file" != x..; then
  2329. !   /bin/echo creating $ac_file
  2330. !   cp $ac_given_srcdir/$ac_file.in conftest.h1
  2331. !   cp conftest.sed conftest.stm
  2332. !   while :
  2333. !   do
  2334. !     ac_lines=`grep -c . conftest.stm`
  2335. !     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2336. !     rm -f conftest.s1 conftest.s2 conftest.h2
  2337. !     sed ${ac_max_sed_lines}q conftest.stm > conftest.s1 # Like head -20.
  2338. !     sed 1,${ac_max_sed_lines}d conftest.stm > conftest.s2 # Like tail +21.
  2339. !     sed -f conftest.s1 < conftest.h1 > conftest.h2
  2340. !     rm -f conftest.s1 conftest.h1 conftest.stm
  2341. !     mv conftest.h2 conftest.h1
  2342. !     mv conftest.s2 conftest.stm
  2343. !   done
  2344. !   rm -f conftest.stm conftest.h
  2345. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  2346. !   cat conftest.h1 >> conftest.h
  2347. !   rm -f conftest.h1
  2348. !   if cmp -s $ac_file conftest.h 2>/dev/null; then
  2349. !     # The file exists and we would not be changing it.
  2350. !     /bin/echo "$ac_file is unchanged"
  2351. !     rm -f conftest.h
  2352. !   else
  2353. !     rm -f $ac_file
  2354. !     mv conftest.h $ac_file
  2355. !   fi
  2356.   fi; done
  2357. + rm -f conftest.sed
  2358.   
  2359.   
  2360.   
  2361.   exit 0
  2362.   EOF
  2363.   chmod +x config.status
  2364. ! # Some shells look in PATH for config.status without the "./".
  2365. ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} ./config.status
  2366.   
  2367. diff -rc --new-file /src/baseline/gdbm-1.7.3/configure.in gdbm-1.7.3/configure.in
  2368. *** /src/baseline/gdbm-1.7.3/configure.in    Sun May 15 05:27:16 1994
  2369. --- gdbm-1.7.3/configure.in    Wed Jun 22 15:25:20 1994
  2370. ***************
  2371. *** 6,13 ****
  2372.   AC_PROG_CPP
  2373.   AC_PROG_INSTALL
  2374.   AC_PROG_RANLIB
  2375. ! AC_INT_16_BITS
  2376. ! AC_LONG_64_BITS
  2377.   AC_WORDS_BIGENDIAN
  2378.   AC_CONST
  2379.   AC_HAVE_HEADERS(stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h)
  2380. --- 6,13 ----
  2381.   AC_PROG_CPP
  2382.   AC_PROG_INSTALL
  2383.   AC_PROG_RANLIB
  2384. ! AC_SIZEOF_TYPE(int, sizevar)
  2385. ! AC_SIZEOF_TYPE(long, sizevar)
  2386.   AC_WORDS_BIGENDIAN
  2387.   AC_CONST
  2388.   AC_HAVE_HEADERS(stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h)
  2389. diff -rc --new-file /src/baseline/gdbm-1.7.3/gdbm.info gdbm-1.7.3/gdbm.info
  2390. *** /src/baseline/gdbm-1.7.3/gdbm.info    Thu May 19 19:12:37 1994
  2391. --- gdbm-1.7.3/gdbm.info    Wed Jun 22 15:17:54 1994
  2392. ***************
  2393. *** 149,155 ****
  2394.        char *gdbm_strerror(errno);
  2395.        int gdbm_setopt(dbf, option, value, size)
  2396.   
  2397. !    The `gdbm.h' include file is often in the `/usr/local/gnu/include'
  2398.   directory. (The actual location of `gdbm.h' depends on your local
  2399.   installation of `gdbm'.)
  2400.   
  2401. --- 149,155 ----
  2402.        char *gdbm_strerror(errno);
  2403.        int gdbm_setopt(dbf, option, value, size)
  2404.   
  2405. !    The `gdbm.h' include file is often in the `/gnu/include'
  2406.   directory. (The actual location of `gdbm.h' depends on your local
  2407.   installation of `gdbm'.)
  2408.   
  2409. ***************
  2410. *** 607,613 ****
  2411.      If you want to compile an old C program that used UNIX `dbm' or
  2412.   `ndbm' and want to use `gdbm' files, execute the following `cc' command:
  2413.   
  2414. !      cc ... -L /usr/local/lib -lgdbm
  2415.   
  2416.   
  2417.   File: gdbm.info,  Node: Conversion,  Next: Bugs,  Prev: Compatibility,  Up: Top
  2418. --- 607,613 ----
  2419.      If you want to compile an old C program that used UNIX `dbm' or
  2420.   `ndbm' and want to use `gdbm' files, execute the following `cc' command:
  2421.   
  2422. !      cc ... -L /gnu/lib -lgdbm
  2423.   
  2424.   
  2425.   File: gdbm.info,  Node: Conversion,  Next: Bugs,  Prev: Compatibility,  Up: Top
  2426. diff -rc --new-file /src/baseline/gdbm-1.7.3/gdbm.texinfo gdbm-1.7.3/gdbm.texinfo
  2427. *** /src/baseline/gdbm-1.7.3/gdbm.texinfo    Thu May 19 18:14:11 1994
  2428. --- gdbm-1.7.3/gdbm.texinfo    Wed Jun 22 15:17:56 1994
  2429. ***************
  2430. *** 209,215 ****
  2431.   int gdbm_setopt(dbf, option, value, size)
  2432.   @end example
  2433.   
  2434. ! The @code{gdbm.h} include file is often in the @file{/usr/local/gnu/include}
  2435.   directory. (The actual location of @code{gdbm.h} depends on your local
  2436.   installation of @code{gdbm}.)
  2437.   
  2438. --- 209,215 ----
  2439.   int gdbm_setopt(dbf, option, value, size)
  2440.   @end example
  2441.   
  2442. ! The @code{gdbm.h} include file is often in the @file{/gnu/include}
  2443.   directory. (The actual location of @code{gdbm.h} depends on your local
  2444.   installation of @code{gdbm}.)
  2445.   
  2446. ***************
  2447. *** 665,671 ****
  2448.   and want to use @code{gdbm} files, execute the following @code{cc} command:
  2449.   
  2450.   @example
  2451. ! cc ... -L /usr/local/lib -lgdbm
  2452.   @end example
  2453.   
  2454.   @node Conversion, Bugs, Compatibility, Top
  2455. --- 665,671 ----
  2456.   and want to use @code{gdbm} files, execute the following @code{cc} command:
  2457.   
  2458.   @example
  2459. ! cc ... -L /gnu/lib -lgdbm
  2460.   @end example
  2461.   
  2462.   @node Conversion, Bugs, Compatibility, Top
  2463.