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

  1. diff -rc --new-file ed-0.1/Makefile.in /gnu/src/amiga/ed-0.1/Makefile.in
  2. *** ed-0.1/Makefile.in    Sat Mar 19 21:04:08 1994
  3. --- /gnu/src/amiga/ed-0.1/Makefile.in    Tue Aug 23 14:17:34 1994
  4. ***************
  5. *** 22,28 ****
  6.   testdir = $(srcdir)/test
  7.   VPATH = @srcdir@
  8.   
  9. ! LN_S = @LN_S@
  10.   CC = @CC@
  11.   AR = ar
  12.   RANLIB = @RANLIB@
  13. --- 22,34 ----
  14.   testdir = $(srcdir)/test
  15.   VPATH = @srcdir@
  16.   
  17. ! # For the Amiga, force LN_S to be just "cp" rather than "ln -s", so that a
  18. ! # copy is made rather than a symbolic link.  We support symbolic links, but
  19. ! # we don't want to use them in the installation because the "mkisofs" CD-ROM
  20. ! # mastering software doesn't know what to do with them yet (convert to a
  21. ! # copy on the fly).
  22. ! #LN_S = @LN_S@
  23. ! LN_S = cp
  24.   CC = @CC@
  25.   AR = ar
  26.   RANLIB = @RANLIB@
  27. ***************
  28. *** 32,43 ****
  29.   MAKEINFO = makeinfo
  30.   TEXI2DVI = texi2dvi
  31.   
  32. ! CFLAGS = -g
  33.   DEFS = @DEFS@
  34. ! LDFLAGS = -g
  35.   LIBS = @LIBS@
  36.   
  37. ! prefix = /usr/local
  38.   exec_prefix = $(prefix)
  39.   bindir = $(exec_prefix)/bin
  40.   infodir = $(prefix)/info
  41. --- 38,51 ----
  42.   MAKEINFO = makeinfo
  43.   TEXI2DVI = texi2dvi
  44.   
  45. ! # Disable default use of -g for AmigaDOS.
  46. ! CFLAGS = -O
  47.   DEFS = @DEFS@
  48. ! # Disable default use of -g for AmigaDOS.
  49. ! LDFLAGS =
  50.   LIBS = @LIBS@
  51.   
  52. ! prefix = /gnu
  53.   exec_prefix = $(prefix)
  54.   bindir = $(exec_prefix)/bin
  55.   infodir = $(prefix)/info
  56. diff -rc --new-file ed-0.1/Product-Info /gnu/src/amiga/ed-0.1/Product-Info
  57. *** ed-0.1/Product-Info    Thu Jan  1 00:00:00 1970
  58. --- /gnu/src/amiga/ed-0.1/Product-Info    Mon Jul 11 23:29:22 1994
  59. ***************
  60. *** 0 ****
  61. --- 1,23 ----
  62. + .name
  63. + ed
  64. + .fullname
  65. + GNU line editor
  66. + .type
  67. + Miscellaneous
  68. + .short
  69. + 8-bit-clean POSIX compliant line editor.
  70. + .description
  71. + "Ed" is a line-oriented text editor.  It is used to create, display,
  72. + modify and otherwise manipulate text files.  "Red" is a restricted ed:
  73. + it can only edit files in the current directory and cannot execute
  74. + shell commands.
  75. + .version
  76. + 0.1
  77. + .author
  78. + Andrew Moore
  79. + .requirements
  80. + Amiga binary requires ixemul.library.
  81. + .distribution
  82. + GNU Public License
  83. + .described-by
  84. + Fred Fish (fnf@amigalib.com)
  85. diff -rc --new-file ed-0.1/configure /gnu/src/amiga/ed-0.1/configure
  86. *** ed-0.1/configure    Tue Apr 19 18:18:23 1994
  87. --- /gnu/src/amiga/ed-0.1/configure    Fri Apr 29 14:41:39 1994
  88. ***************
  89. *** 1,135 ****
  90.   #!/bin/sh
  91.   # Guess values for system-dependent variables and create Makefiles.
  92. ! # Generated automatically using autoconf version 1.7.1 
  93. ! # Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
  94.   
  95. ! # This program is free software; you can redistribute it and/or modify
  96. ! # it under the terms of the GNU General Public License as published by
  97. ! # the Free Software Foundation; either version 2, or (at your option)
  98.   # any later version.
  99.   
  100. ! # This program is distributed in the hope that it will be useful,
  101. ! # but WITHOUT ANY WARRANTY; without even the implied warranty of
  102. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  103. ! # GNU General Public License for more details.
  104.   
  105.   # You should have received a copy of the GNU General Public License
  106.   # along with this program; if not, write to the Free Software
  107.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  108.   
  109. ! # Usage: configure [--srcdir=DIR] [--host=HOST] [--gas] [--nfp]
  110. ! #        [--prefix=PREFIX] [--exec-prefix=PREFIX] [--with-PACKAGE[=VALUE]]
  111. ! # Ignores all args except --srcdir, --prefix, --exec-prefix, and
  112. ! # --with-PACKAGE[=VALUE] unless this script has special code to handle it.
  113.   
  114. ! for arg
  115.   do
  116. -   # Handle --exec-prefix with a space before the argument.
  117. -   if test x$next_exec_prefix = xyes; then exec_prefix=$arg; next_exec_prefix=
  118. -   # Handle --host with a space before the argument.
  119. -   elif test x$next_host = xyes; then next_host=
  120. -   # Handle --prefix with a space before the argument.
  121. -   elif test x$next_prefix = xyes; then prefix=$arg; next_prefix=
  122. -   # Handle --srcdir with a space before the argument.
  123. -   elif test x$next_srcdir = xyes; then srcdir=$arg; next_srcdir=
  124. -   else
  125. -     case $arg in
  126. -      # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  127. -      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* | --exec=* | --exe=* | --ex=* | --e=*)
  128. -     exec_prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  129. -      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- | --exec | --exe | --ex | --e)
  130. -     next_exec_prefix=yes ;;
  131. -      -gas | --gas | --ga | --g) ;;
  132. -      -host=* | --host=* | --hos=* | --ho=* | --h=*) ;;
  133. -      -host | --host | --hos | --ho | --h)
  134. -     next_host=yes ;;
  135. -      -nfp | --nfp | --nf) ;;
  136. -      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  137. -     prefix=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  138. -      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  139. -     next_prefix=yes ;;
  140. -      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=* | --s=*)
  141. -     srcdir=`echo $arg | sed 's/[-a-z_]*=//'` ;;
  142. -      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr | --s)
  143. -     next_srcdir=yes ;;
  144. -      -with-* | --with-*)
  145. -        package=`echo $arg|sed -e 's/-*with-//' -e 's/=.*//'`
  146. -        # Reject names that aren't valid shell variable names.
  147. -        if test -n "`echo $package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  148. -          echo "configure: $package: invalid package name" >&2; exit 1
  149. -        fi
  150. -        package=`echo $package| sed 's/-/_/g'`
  151. -        case "$arg" in
  152. -          *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  153. -          *) val=1 ;;
  154. -        esac
  155. -        eval "with_$package='$val'" ;;
  156.   
  157. !      -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  158. !        verbose=yes ;;
  159.   
  160. !      *) ;;
  161.       esac
  162. !   fi
  163.   done
  164.   
  165. ! trap 'rm -fr conftest* confdefs* core; exit 1' 1 3 15
  166. ! trap 'rm -f confdefs*' 0
  167.   
  168.   # NLS nuisances.
  169.   # These must not be set unconditionally because not all systems understand
  170.   # e.g. LANG=C (notably SCO).
  171. ! if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fi
  172. ! if test "${LANG+set}"   = 'set' ; then LANG=C;   export LANG;   fi
  173.   
  174. ! rm -f conftest* confdefs.h
  175.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  176. ! echo > confdefs.h
  177. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  178.   
  179.   # A filename unique to this package, relative to the directory that
  180.   # configure is in, which we can look for to find out if srcdir is correct.
  181. ! unique_file=ed.h
  182.   
  183.   # Find the source files, if location was not specified.
  184.   if test -z "$srcdir"; then
  185. !   srcdirdefaulted=yes
  186.     # Try the directory containing this script, then `..'.
  187. !   prog=$0
  188. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  189. !   test "X$confdir" = "X$prog" && confdir=.
  190. !   srcdir=$confdir
  191. !   if test ! -r $srcdir/$unique_file; then
  192.       srcdir=..
  193.     fi
  194.   fi
  195. ! if test ! -r $srcdir/$unique_file; then
  196. !   if test x$srcdirdefaulted = xyes; then
  197. !     echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  198.     else
  199. !     echo "configure: Can not find sources in \`${srcdir}'." 1>&2
  200.     fi
  201. -   exit 1
  202.   fi
  203. ! # Preserve a srcdir of `.' to avoid automounter screwups with pwd.
  204. ! # But we can't avoid them for `..', to make subdirectories work.
  205. ! case $srcdir in
  206. !   .|/*|~*) ;;
  207. !   *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.
  208. ! esac
  209.   
  210.   
  211. - # Save the original args to write them into config.status later.
  212. - configure_args="$*"
  213.   
  214. ! echo checking for ln -s
  215.   rm -f conftestdata
  216.   if ln -s X conftestdata 2>/dev/null
  217.   then
  218. --- 1,321 ----
  219.   #!/bin/sh
  220.   # Guess values for system-dependent variables and create Makefiles.
  221. ! # Generated automatically using autoconf version 1.9 
  222. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  223.   
  224. ! # This configure script is free software; you can redistribute it and/or
  225. ! # modify it under the terms of the GNU General Public License as published
  226. ! # by the Free Software Foundation; either version 2, or (at your option)
  227.   # any later version.
  228.   
  229. ! # This script is distributed in the hope that it will be useful, but
  230. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  231. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  232. ! # Public License for more details.
  233.   
  234.   # You should have received a copy of the GNU General Public License
  235.   # along with this program; if not, write to the Free Software
  236.   # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  237.   
  238. ! # Save the original args to write them into config.status later.
  239. ! configure_args="$*"
  240. ! # Only options that might do something get documented.
  241. ! ac_usage="Usage: configure [options] [host]
  242. ! Options: [defaults in brackets after descriptions]
  243. ! --build=BUILD        configure for building on BUILD [BUILD=HOST]
  244. ! --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  245. ! --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  246. ! --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  247. ! --help            print this message
  248. ! --host=HOST        configure for HOST [guessed]
  249. ! --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  250. ! --quiet, --silent    do not print \`checking for...' messages
  251. ! --srcdir=DIR        find the sources in DIR [configure dir or ..]
  252. ! --target=TARGET        configure for TARGET [TARGET=HOST]
  253. ! --verbose        print results of checks
  254. ! --version        print the version of autoconf that created configure
  255. ! --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  256. ! --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  257. ! --x-includes=DIR    X include files are in DIR
  258. ! --x-libraries=DIR    X library files are in DIR"
  259. ! # Initialize some variables set by options.
  260. ! # The variables have the same names as the options, with
  261. ! # dashes changed to underlines.
  262. ! build=NONE
  263. ! exec_prefix=
  264. ! host=NONE
  265. ! no_create=
  266. ! nonopt=NONE
  267. ! norecursion=
  268. ! prefix=
  269. ! program_prefix=
  270. ! program_suffix=
  271. ! program_transform_name=
  272. ! silent=
  273. ! srcdir=
  274. ! target=NONE
  275. ! verbose=
  276. ! x_includes=
  277. ! x_libraries=
  278.   
  279. ! ac_prev=
  280. ! for ac_option
  281.   do
  282.   
  283. !   # If the previous option needs an argument, assign it.
  284. !   if test -n "$ac_prev"; then
  285. !     eval "$ac_prev=\$ac_option"
  286. !     ac_prev=
  287. !     continue
  288. !   fi
  289. !   # Accept (but ignore some of) the important Cygnus configure
  290. !   # options, so we can diagnose typos.
  291. !   case "$ac_option" in
  292. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  293. !   *) ac_optarg= ;;
  294. !   esac
  295. !   case "$ac_option" in
  296. !   -build | --build | --buil | --bui | --bu | --b)
  297. !     ac_prev=build ;;
  298. !   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  299. !     build="$ac_optarg" ;;
  300. !   -disable-* | --disable-*)
  301. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  302. !     # Reject names that aren't valid shell variable names.
  303. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  304. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  305. !     fi
  306. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  307. !     eval "enable_${ac_feature}=no" ;;
  308.   
  309. !   -enable-* | --enable-*)
  310. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  311. !     # Reject names that aren't valid shell variable names.
  312. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  313. !       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  314. !     fi
  315. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  316. !     case "$ac_option" in
  317. !       *=*) ;;
  318. !       *) ac_optarg=yes ;;
  319.       esac
  320. !     eval "enable_${ac_feature}='$ac_optarg'" ;;
  321. !   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  322. !   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  323. !   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  324. !   | --exec | --exe | --ex)
  325. !     ac_prev=exec_prefix ;;
  326. !   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  327. !   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  328. !   | --exec=* | --exe=* | --ex=*)
  329. !     exec_prefix="$ac_optarg" ;;
  330. !   -gas | --gas | --ga | --g)
  331. !     with_gas=yes ;; # Obsolete; use --with-gas.
  332. !   -help | --help | --hel | --he)
  333. !     cat << EOF
  334. ! $ac_usage
  335. ! EOF
  336. !     exit 0 ;;
  337. !   -host | --host | --hos | --ho)
  338. !     ac_prev=host ;;
  339. !   -host=* | --host=* | --hos=* | --ho=*)
  340. !     host="$ac_optarg" ;;
  341. !   -nfp | --nfp | --nf)
  342. !     with_fp=no ;; # Obsolete; use --without-fp.
  343. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  344. !   | --no-cr | --no-c)
  345. !     no_create=yes ;;
  346. !   -norecursion | --norecursion | --norecursio | --norecursi \
  347. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  348. !     norecursion=yes ;;
  349. !   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  350. !     ac_prev=prefix ;;
  351. !   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  352. !     prefix="$ac_optarg" ;;
  353. !   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  354. !   | --program-pre | --program-pr | --program-p)
  355. !     ac_prev=program_prefix ;;
  356. !   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  357. !   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  358. !     program_prefix="$ac_optarg" ;;
  359. !   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  360. !   | --program-suf | --program-su | --program-s)
  361. !     ac_prev=program_suffix ;;
  362. !   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  363. !   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  364. !     program_suffix="$ac_optarg" ;;
  365. !   -program-transform-name | --program-transform-name \
  366. !   | --program-transform-nam | --program-transform-na \
  367. !   | --program-transform-n | --program-transform- \
  368. !   | --program-transform | --program-transfor \
  369. !   | --program-transfo | --program-transf \
  370. !   | --program-trans | --program-tran \
  371. !   | --progr-tra | --program-tr | --program-t)
  372. !     ac_prev=program_transform_name ;;
  373. !   -program-transform-name=* | --program-transform-name=* \
  374. !   | --program-transform-nam=* | --program-transform-na=* \
  375. !   | --program-transform-n=* | --program-transform-=* \
  376. !   | --program-transform=* | --program-transfor=* \
  377. !   | --program-transfo=* | --program-transf=* \
  378. !   | --program-trans=* | --program-tran=* \
  379. !   | --progr-tra=* | --program-tr=* | --program-t=*)
  380. !     program_transform_name="$ac_optarg" ;;
  381. !   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  382. !   | -silent | --silent | --silen | --sile | --sil)
  383. !     silent=yes ;;
  384. !   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  385. !     ac_prev=srcdir ;;
  386. !   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  387. !     srcdir="$ac_optarg" ;;
  388. !   -target | --target | --targe | --targ | --tar | --ta | --t)
  389. !     ac_prev=target ;;
  390. !   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  391. !     target="$ac_optarg" ;;
  392. !   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  393. !     verbose=yes ;;
  394. !   -version | --version | --versio | --versi | --vers)
  395. !     /bin/echo "configure generated by autoconf version 1.9"
  396. !     exit 0 ;;
  397. !   -with-* | --with-*)
  398. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  399. !     # Reject names that aren't valid shell variable names.
  400. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  401. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  402. !     fi
  403. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  404. !     case "$ac_option" in
  405. !       *=*) ;;
  406. !       *) ac_optarg=yes ;;
  407. !     esac
  408. !     eval "with_${ac_package}='$ac_optarg'" ;;
  409. !   -without-* | --without-*)
  410. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  411. !     # Reject names that aren't valid shell variable names.
  412. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  413. !       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  414. !     fi
  415. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  416. !     eval "with_${ac_package}=no" ;;
  417. !   --x) with_x=yes ;; # Obsolete; use --with-x.
  418. !   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  419. !   | --x-incl | --x-inc | --x-in | --x-i)
  420. !     ac_prev=x_includes ;;
  421. !   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  422. !   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  423. !     x_includes="$ac_optarg" ;;
  424. !   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  425. !   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  426. !     ac_prev=x_libraries ;;
  427. !   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  428. !   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  429. !     x_libraries="$ac_optarg" ;;
  430. !   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  431. !     ;;
  432. !   *) 
  433. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  434. !       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  435. !     fi
  436. !     if test "x$nonopt" != xNONE; then
  437. !       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  438. !     fi
  439. !     nonopt="$ac_option"
  440. !     ;;
  441. !   esac
  442.   done
  443.   
  444. ! if test -n "$ac_prev"; then
  445. !   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  446. ! fi
  447. ! trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  448. ! trap 'rm -fr confdefs* $ac_clean_files' 0
  449. ! # Save the original args if we used an alternate arg parser.
  450. ! ac_configure_temp="${configure_args-$*}"
  451. ! # Strip out --no-create and --norecursion so they don't pile up.
  452. ! configure_args=
  453. ! for ac_arg in $ac_configure_temp; do
  454. !   case "$ac_arg" in
  455. !   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  456. !   | --no-cr | --no-c) ;;
  457. !   -norecursion | --norecursion | --norecursio | --norecursi \
  458. !   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  459. !   *) configure_args="$configure_args $ac_arg" ;;
  460. !   esac
  461. ! done
  462.   
  463.   # NLS nuisances.
  464.   # These must not be set unconditionally because not all systems understand
  465.   # e.g. LANG=C (notably SCO).
  466. ! if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  467. ! if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  468.   
  469. ! # confdefs.h avoids OS command line length limits that DEFS can exceed.
  470. ! rm -rf conftest* confdefs.h
  471.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  472. ! /bin/echo > confdefs.h
  473.   
  474.   # A filename unique to this package, relative to the directory that
  475.   # configure is in, which we can look for to find out if srcdir is correct.
  476. ! ac_unique_file=ed.h
  477.   
  478.   # Find the source files, if location was not specified.
  479.   if test -z "$srcdir"; then
  480. !   ac_srcdir_defaulted=yes
  481.     # Try the directory containing this script, then `..'.
  482. !   ac_prog=$0
  483. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  484. !   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  485. !   srcdir=$ac_confdir
  486. !   if test ! -r $srcdir/$ac_unique_file; then
  487.       srcdir=..
  488.     fi
  489.   fi
  490. ! if test ! -r $srcdir/$ac_unique_file; then
  491. !   if test x$ac_srcdir_defaulted = xyes; then
  492. !     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  493.     else
  494. !     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  495.     fi
  496.   fi
  497. ! ac_ext=c
  498. ! ac_cpp='${CPP} $CFLAGS'
  499. ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  500.   
  501.   
  502.   
  503. ! test -n "$silent" || /bin/echo "checking for ln -s"
  504.   rm -f conftestdata
  505.   if ln -s X conftestdata 2>/dev/null
  506.   then
  507. ***************
  508. *** 142,224 ****
  509.   
  510.   if test -z "$RANLIB"; then
  511.     # Extract the first word of `ranlib', so it can be a program name with args.
  512. !   set dummy ranlib; word=$2
  513. !   echo checking for $word
  514. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  515. !   for dir in $PATH; do
  516. !     test -z "$dir" && dir=.
  517. !     if test -f $dir/$word; then
  518.         RANLIB="ranlib"
  519.         break
  520.       fi
  521.     done
  522. !   IFS="$saveifs"
  523.   fi
  524.   test -z "$RANLIB" && RANLIB=":"
  525. ! test -n "$RANLIB" && test -n "$verbose" && echo "    setting RANLIB to $RANLIB"
  526.   
  527.   # Make sure to not get the incompatible SysV /etc/install and
  528.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  529.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  530.   # or the AFS install, which mishandles nonexistent args, or
  531.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  532. ! # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  533. ! # anyway.  Sigh.
  534.   if test "z${INSTALL}" = "z" ; then
  535. !   echo checking for install
  536. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  537. !   for dir in $PATH; do
  538. !     test -z "$dir" && dir=.
  539. !     case $dir in
  540. !     /etc|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  541.       *)
  542. !       if test -f $dir/installbsd; then
  543. !     INSTALL="$dir/installbsd -c" # OSF1
  544. !     INSTALL_PROGRAM='$(INSTALL)'
  545. !     INSTALL_DATA='$(INSTALL) -m 644'
  546. !     break
  547. !       fi
  548. !       if test -f $dir/install; then
  549. !     if grep dspmsg $dir/install >/dev/null 2>&1; then
  550. !       : # AIX
  551. !     else
  552. !       INSTALL="$dir/install -c"
  553. !       INSTALL_PROGRAM='$(INSTALL)'
  554. !       INSTALL_DATA='$(INSTALL) -m 644'
  555. !       break
  556.       fi
  557. !       fi
  558.         ;;
  559.       esac
  560.     done
  561. !   IFS="$saveifs"
  562.   fi
  563.   if test -z "$INSTALL"; then
  564.     if test -f ${srcdir}/install.sh; then
  565. !     # We want the top-level source directory, not the subdir's srcdir,
  566. !     # so expand srcdir now rather than in the Makefile.
  567. !     INSTALL="${srcdir}/install.sh -c"
  568.     else
  569. !     echo "warning: ${srcdir}/install.sh not found; using cp"
  570.       INSTALL=cp
  571.     fi
  572.   fi
  573. ! test -n "$verbose" && echo "    setting INSTALL to $INSTALL"
  574. ! INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
  575. ! test -n "$verbose" && echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  576. ! INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
  577. ! test -n "$verbose" && echo "    setting INSTALL_DATA to $INSTALL_DATA"
  578. ! echo checking for POSIXized ISC
  579. ! if test -d /etc/conf/kconfig.d &&
  580. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  581.   then
  582.     ISC=1 # If later tests want to check for ISC.
  583.     
  584.   {
  585.   test -n "$verbose" && \
  586. ! echo "    defining _POSIX_SOURCE"
  587. ! echo "#define" _POSIX_SOURCE 1 >> confdefs.h
  588.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  589.   }
  590.   
  591. --- 328,419 ----
  592.   
  593.   if test -z "$RANLIB"; then
  594.     # Extract the first word of `ranlib', so it can be a program name with args.
  595. !   set ac_dummy ranlib; ac_word=$2
  596. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  597. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  598. !   for ac_dir in $PATH; do
  599. !     test -z "$ac_dir" && ac_dir=.
  600. !     if test -f $ac_dir/$ac_word; then
  601.         RANLIB="ranlib"
  602.         break
  603.       fi
  604.     done
  605. !   IFS="$ac_save_ifs"
  606.   fi
  607.   test -z "$RANLIB" && RANLIB=":"
  608. ! test -n "$RANLIB" && test -n "$verbose" && /bin/echo "    setting RANLIB to $RANLIB"
  609.   
  610.   # Make sure to not get the incompatible SysV /etc/install and
  611.   # /usr/sbin/install, which might be in PATH before a BSD-like install,
  612.   # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  613.   # or the AFS install, which mishandles nonexistent args, or
  614.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  615. ! # `staff', or /sbin/install on IRIX which has incompatible command-line
  616. ! # syntax.  Sigh.
  617. ! #
  618. ! #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  619. ! #     anyway.
  620. ! # This turns out not to be true, so the mere pathname isn't an indication
  621. ! # of whether the program works.  What we really need is a set of tests for
  622. ! # the install program to see if it actually works in all the required ways.
  623. ! #
  624. ! # Avoid using ./install, which might have been erroneously created
  625. ! # by make from ./install.sh.
  626.   if test "z${INSTALL}" = "z" ; then
  627. !   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  628. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  629. !   for ac_dir in $PATH; do
  630. !     case "$ac_dir" in
  631. !     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  632.       *)
  633. !       # OSF1 and SCO ODT 3.0 have their own names for install.
  634. !       for ac_prog in installbsd scoinst install; do
  635. !         if test -f $ac_dir/$ac_prog; then
  636. !       if test $ac_prog = install &&
  637. !             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  638. !         # AIX install.  It has an incompatible calling convention.
  639. !         # OSF/1 installbsd also uses dspmsg, but is usable.
  640. !         :
  641. !       else
  642. !         INSTALL="$ac_dir/$ac_prog -c"
  643. !         INSTALL_PROGRAM='${INSTALL}'
  644. !         INSTALL_DATA='${INSTALL} -m 644'
  645. !         break 2
  646. !       fi
  647.       fi
  648. !       done
  649.         ;;
  650.       esac
  651.     done
  652. !   IFS="$ac_save_ifs"
  653.   fi
  654.   if test -z "$INSTALL"; then
  655.     if test -f ${srcdir}/install.sh; then
  656. !     # As a last resort, use the slow shell script.
  657. !     INSTALL='@top_srcdir@/install.sh -c'
  658.     else
  659. !     /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
  660.       INSTALL=cp
  661.     fi
  662.   fi
  663. ! test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  664. ! # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  665. ! # It thinks the first close brace ends the variable substitution.
  666. ! test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  667. ! test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  668. ! test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
  669. ! test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  670. ! test -n "$silent" || /bin/echo "checking for POSIXized ISC"
  671. ! if test -d /gnu/etc/conf/kconfig.d &&
  672. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  673.   then
  674.     ISC=1 # If later tests want to check for ISC.
  675.     
  676.   {
  677.   test -n "$verbose" && \
  678. ! /bin/echo "    defining _POSIX_SOURCE"
  679. ! /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  680.   DEFS="$DEFS -D_POSIX_SOURCE=1"
  681.   }
  682.   
  683. ***************
  684. *** 231,250 ****
  685.   
  686.   if test -z "$CC"; then
  687.     # Extract the first word of `gcc', so it can be a program name with args.
  688. !   set dummy gcc; word=$2
  689. !   echo checking for $word
  690. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  691. !   for dir in $PATH; do
  692. !     test -z "$dir" && dir=.
  693. !     if test -f $dir/$word; then
  694.         CC="gcc"
  695.         break
  696.       fi
  697.     done
  698. !   IFS="$saveifs"
  699.   fi
  700.   test -z "$CC" && CC="cc"
  701. ! test -n "$CC" && test -n "$verbose" && echo "    setting CC to $CC"
  702.   
  703.   # Find out if we are using GNU C, under whatever name.
  704.   cat > conftest.c <<EOF
  705. --- 426,445 ----
  706.   
  707.   if test -z "$CC"; then
  708.     # Extract the first word of `gcc', so it can be a program name with args.
  709. !   set ac_dummy gcc; ac_word=$2
  710. !   test -n "$silent" || /bin/echo "checking for $ac_word"
  711. !   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  712. !   for ac_dir in $PATH; do
  713. !     test -z "$ac_dir" && ac_dir=.
  714. !     if test -f $ac_dir/$ac_word; then
  715.         CC="gcc"
  716.         break
  717.       fi
  718.     done
  719. !   IFS="$ac_save_ifs"
  720.   fi
  721.   test -z "$CC" && CC="cc"
  722. ! test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  723.   
  724.   # Find out if we are using GNU C, under whatever name.
  725.   cat > conftest.c <<EOF
  726. ***************
  727. *** 258,264 ****
  728.   fi
  729.   rm -f conftest*
  730.   
  731. ! prog='/* Ultrix mips cc rejects this.  */
  732.   typedef int charset[2]; const charset x;
  733.   /* SunOS 4.1.1 cc rejects this.  */
  734.   char const *const *ccp;
  735. --- 453,459 ----
  736.   fi
  737.   rm -f conftest*
  738.   
  739. ! ac_prog='/* Ultrix mips cc rejects this.  */
  740.   typedef int charset[2]; const charset x;
  741.   /* SunOS 4.1.1 cc rejects this.  */
  742.   char const *const *ccp;
  743. ***************
  744. *** 296,336 ****
  745.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  746.     const int foo = 10;
  747.   }'
  748. ! echo checking for lack of working const
  749. ! cat > conftest.c <<EOF
  750.   #include "confdefs.h"
  751.   
  752. ! int main() { exit(0); }
  753. ! int t() { $prog }
  754.   EOF
  755. ! if eval $compile; then
  756.     :
  757.   else
  758.     rm -rf conftest*
  759.     
  760.   {
  761.   test -n "$verbose" && \
  762. ! echo "    defining" const to be empty
  763. ! echo "#define" const  >> confdefs.h
  764.   DEFS="$DEFS -Dconst="
  765.   }
  766.   
  767.   fi
  768.   rm -f conftest*
  769.   
  770. ! echo checking how to run the C preprocessor
  771.   if test -z "$CPP"; then
  772.     # This must be in double quotes, not single quotes, because CPP may get
  773.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  774.     # make.  It must be expanded now.
  775.     CPP="${CC-cc} -E"
  776. !   cat > conftest.c <<EOF
  777.   #include "confdefs.h"
  778.   #include <stdio.h>
  779.   Syntax Error
  780.   EOF
  781. ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  782. ! if test -z "$err"; then
  783.     :
  784.   else
  785.     rm -rf conftest*
  786. --- 491,546 ----
  787.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  788.     const int foo = 10;
  789.   }'
  790. ! test -n "$silent" || /bin/echo "checking for lack of working const"
  791. ! cat > conftest.${ac_ext} <<EOF
  792.   #include "confdefs.h"
  793.   
  794. ! int main() { return 0; }
  795. ! int t() { $ac_prog; return 0; }
  796.   EOF
  797. ! if eval $ac_compile; then
  798.     :
  799.   else
  800.     rm -rf conftest*
  801.     
  802.   {
  803.   test -n "$verbose" && \
  804. ! /bin/echo "    defining" const to be empty
  805. ! /bin/echo "#define" const "" >> confdefs.h
  806.   DEFS="$DEFS -Dconst="
  807.   }
  808.   
  809.   fi
  810.   rm -f conftest*
  811.   
  812. ! test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  813.   if test -z "$CPP"; then
  814.     # This must be in double quotes, not single quotes, because CPP may get
  815.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  816.     # make.  It must be expanded now.
  817.     CPP="${CC-cc} -E"
  818. !   cat > conftest.${ac_ext} <<EOF
  819.   #include "confdefs.h"
  820.   #include <stdio.h>
  821.   Syntax Error
  822.   EOF
  823. ! # Some shells (Coherent) do redirections in the wrong order, so need
  824. ! # the parens.
  825. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  826. ! if test -z "$ac_err"; then
  827. !   :
  828. ! else
  829. !   rm -rf conftest*
  830. !   CPP="${CC-cc} -E -traditional-cpp"
  831. !   cat > conftest.${ac_ext} <<EOF
  832. ! #include "confdefs.h"
  833. ! #include <stdio.h>
  834. ! Syntax Error
  835. ! EOF
  836. ! # Some shells (Coherent) do redirections in the wrong order, so need
  837. ! # the parens.
  838. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  839. ! if test -z "$ac_err"; then
  840.     :
  841.   else
  842.     rm -rf conftest*
  843. ***************
  844. *** 338,364 ****
  845.   fi
  846.   rm -f conftest*
  847.   fi
  848. ! test ".${verbose}" != "." && echo "    setting CPP to $CPP"
  849.   
  850. ! echo checking for ANSI C header files
  851. ! cat > conftest.c <<EOF
  852.   #include "confdefs.h"
  853.   #include <stdlib.h>
  854.   #include <stdarg.h>
  855.   #include <string.h>
  856.   #include <float.h>
  857.   EOF
  858. ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  859. ! if test -z "$err"; then
  860.     rm -rf conftest*
  861.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  862. ! echo '#include "confdefs.h"
  863. ! #include <string.h>' > conftest.c
  864. ! eval "$CPP conftest.c > conftest.out 2>&1"
  865.   if egrep "memchr" conftest.out >/dev/null 2>&1; then
  866.     rm -rf conftest*
  867.     # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  868. ! cat > conftest.c <<EOF
  869.   #include "confdefs.h"
  870.   #include <ctype.h>
  871.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  872. --- 548,578 ----
  873.   fi
  874.   rm -f conftest*
  875.   fi
  876. ! rm -f conftest*
  877. ! fi
  878. ! test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  879.   
  880. ! test -n "$silent" || /bin/echo "checking for ANSI C header files"
  881. ! cat > conftest.${ac_ext} <<EOF
  882.   #include "confdefs.h"
  883.   #include <stdlib.h>
  884.   #include <stdarg.h>
  885.   #include <string.h>
  886.   #include <float.h>
  887.   EOF
  888. ! # Some shells (Coherent) do redirections in the wrong order, so need
  889. ! # the parens.
  890. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  891. ! if test -z "$ac_err"; then
  892.     rm -rf conftest*
  893.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  894. ! /bin/echo '#include "confdefs.h"
  895. ! #include <string.h>' > conftest.${ac_ext}
  896. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  897.   if egrep "memchr" conftest.out >/dev/null 2>&1; then
  898.     rm -rf conftest*
  899.     # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  900. ! cat > conftest.${ac_ext} <<EOF
  901.   #include "confdefs.h"
  902.   #include <ctype.h>
  903.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  904. ***************
  905. *** 369,386 ****
  906.   exit (0); }
  907.   
  908.   EOF
  909. ! eval $compile
  910.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  911.     
  912.   {
  913.   test -n "$verbose" && \
  914. ! echo "    defining STDC_HEADERS"
  915. ! echo "#define" STDC_HEADERS 1 >> confdefs.h
  916.   DEFS="$DEFS -DSTDC_HEADERS=1"
  917.   }
  918.   
  919.   
  920.   fi
  921.   rm -fr conftest*
  922.   
  923.   fi
  924. --- 583,610 ----
  925.   exit (0); }
  926.   
  927.   EOF
  928. ! eval $ac_compile
  929.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  930. +   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  931. + /bin/echo '#include "confdefs.h"
  932. + #include <stdlib.h>' > conftest.${ac_ext}
  933. + eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  934. + if egrep "free" conftest.out >/dev/null 2>&1; then
  935. +   rm -rf conftest*
  936.     
  937.   {
  938.   test -n "$verbose" && \
  939. ! /bin/echo "    defining STDC_HEADERS"
  940. ! /bin/echo "#define" STDC_HEADERS "1" >> confdefs.h
  941.   DEFS="$DEFS -DSTDC_HEADERS=1"
  942.   }
  943.   
  944.   
  945.   fi
  946. + rm -f conftest*
  947. + fi
  948.   rm -fr conftest*
  949.   
  950.   fi
  951. ***************
  952. *** 390,412 ****
  953.   fi
  954.   rm -f conftest*
  955.   
  956. ! for hdr in limits.h memory.h string.h unistd.h
  957.   do
  958. ! trhdr=HAVE_`echo $hdr | tr '[a-z]./' '[A-Z]__'`
  959. ! echo checking for ${hdr}
  960. ! cat > conftest.c <<EOF
  961.   #include "confdefs.h"
  962. ! #include <${hdr}>
  963.   EOF
  964. ! err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  965. ! if test -z "$err"; then
  966.     rm -rf conftest*
  967.     
  968.   {
  969.   test -n "$verbose" && \
  970. ! echo "    defining ${trhdr}"
  971. ! echo "#define" ${trhdr} 1 >> confdefs.h
  972. ! DEFS="$DEFS -D${trhdr}=1"
  973.   }
  974.   
  975.   
  976. --- 614,638 ----
  977.   fi
  978.   rm -f conftest*
  979.   
  980. ! for ac_hdr in limits.h memory.h string.h unistd.h
  981.   do
  982. ! ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  983. ! test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  984. ! cat > conftest.${ac_ext} <<EOF
  985.   #include "confdefs.h"
  986. ! #include <${ac_hdr}>
  987.   EOF
  988. ! # Some shells (Coherent) do redirections in the wrong order, so need
  989. ! # the parens.
  990. ! ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  991. ! if test -z "$ac_err"; then
  992.     rm -rf conftest*
  993.     
  994.   {
  995.   test -n "$verbose" && \
  996. ! /bin/echo "    defining ${ac_tr_hdr}"
  997. ! /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  998. ! DEFS="$DEFS -D${ac_tr_hdr}=1"
  999.   }
  1000.   
  1001.   
  1002. ***************
  1003. *** 414,446 ****
  1004.   rm -f conftest*
  1005.   done
  1006.   
  1007. ! for func in setbuffer sigsetjmp sigaction strerror
  1008.   do
  1009. ! trfunc=HAVE_`echo $func | tr '[a-z]' '[A-Z]'`
  1010. ! echo checking for ${func}
  1011. ! cat > conftest.c <<EOF
  1012.   #include "confdefs.h"
  1013.   #include <ctype.h>
  1014. ! int main() { exit(0); }
  1015.   int t() { 
  1016.   /* The GNU C library defines this for functions which it implements
  1017.       to always fail with ENOSYS.  Some functions are actually named
  1018.       something starting with __ and the normal name is an alias.  */
  1019. ! #if defined (__stub_${func}) || defined (__stub___${func})
  1020.   choke me
  1021.   #else
  1022.   /* Override any gcc2 internal prototype to avoid an error.  */
  1023. ! extern char ${func}(); ${func}();
  1024.   #endif
  1025. !  }
  1026.   EOF
  1027. ! if eval $compile; then
  1028.     rm -rf conftest*
  1029.     {
  1030.   test -n "$verbose" && \
  1031. ! echo "    defining ${trfunc}"
  1032. ! echo "#define" ${trfunc} 1 >> confdefs.h
  1033. ! DEFS="$DEFS -D${trfunc}=1"
  1034.   }
  1035.   
  1036.   
  1037. --- 640,672 ----
  1038.   rm -f conftest*
  1039.   done
  1040.   
  1041. ! for ac_func in setbuffer sigsetjmp sigaction strerror
  1042.   do
  1043. ! ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1044. ! test -n "$silent" || /bin/echo "checking for ${ac_func}"
  1045. ! cat > conftest.${ac_ext} <<EOF
  1046.   #include "confdefs.h"
  1047.   #include <ctype.h>
  1048. ! int main() { return 0; }
  1049.   int t() { 
  1050.   /* The GNU C library defines this for functions which it implements
  1051.       to always fail with ENOSYS.  Some functions are actually named
  1052.       something starting with __ and the normal name is an alias.  */
  1053. ! #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  1054.   choke me
  1055.   #else
  1056.   /* Override any gcc2 internal prototype to avoid an error.  */
  1057. ! extern char ${ac_func}(); ${ac_func}();
  1058.   #endif
  1059. ! ; return 0; }
  1060.   EOF
  1061. ! if eval $ac_compile; then
  1062.     rm -rf conftest*
  1063.     {
  1064.   test -n "$verbose" && \
  1065. ! /bin/echo "    defining ${ac_tr_func}"
  1066. ! /bin/echo "#define" ${ac_tr_func} "1" >> confdefs.h
  1067. ! DEFS="$DEFS -D${ac_tr_func}=1"
  1068.   }
  1069.   
  1070.   
  1071. ***************
  1072. *** 448,492 ****
  1073.   rm -f conftest*
  1074.   done
  1075.   
  1076. ! echo checking for vprintf
  1077. ! cat > conftest.c <<EOF
  1078.   #include "confdefs.h"
  1079.   
  1080. ! int main() { exit(0); }
  1081. ! int t() { vprintf(); }
  1082.   EOF
  1083. ! if eval $compile; then
  1084.     rm -rf conftest*
  1085.     
  1086.   {
  1087.   test -n "$verbose" && \
  1088. ! echo "    defining HAVE_VPRINTF"
  1089. ! echo "#define" HAVE_VPRINTF 1 >> confdefs.h
  1090.   DEFS="$DEFS -DHAVE_VPRINTF=1"
  1091.   }
  1092.   
  1093.   
  1094.   else
  1095.     rm -rf conftest*
  1096. !   vprintf_missing=1
  1097.   fi
  1098.   rm -f conftest*
  1099.   
  1100. ! if test -n "$vprintf_missing"; then
  1101. ! echo checking for _doprnt
  1102. ! cat > conftest.c <<EOF
  1103.   #include "confdefs.h"
  1104.   
  1105. ! int main() { exit(0); }
  1106. ! int t() { _doprnt(); }
  1107.   EOF
  1108. ! if eval $compile; then
  1109.     rm -rf conftest*
  1110.     
  1111.   {
  1112.   test -n "$verbose" && \
  1113. ! echo "    defining HAVE_DOPRNT"
  1114. ! echo "#define" HAVE_DOPRNT 1 >> confdefs.h
  1115.   DEFS="$DEFS -DHAVE_DOPRNT=1"
  1116.   }
  1117.   
  1118. --- 674,718 ----
  1119.   rm -f conftest*
  1120.   done
  1121.   
  1122. ! test -n "$silent" || /bin/echo "checking for vprintf"
  1123. ! cat > conftest.${ac_ext} <<EOF
  1124.   #include "confdefs.h"
  1125.   
  1126. ! int main() { return 0; }
  1127. ! int t() { vprintf();; return 0; }
  1128.   EOF
  1129. ! if eval $ac_compile; then
  1130.     rm -rf conftest*
  1131.     
  1132.   {
  1133.   test -n "$verbose" && \
  1134. ! /bin/echo "    defining HAVE_VPRINTF"
  1135. ! /bin/echo "#define" HAVE_VPRINTF "1" >> confdefs.h
  1136.   DEFS="$DEFS -DHAVE_VPRINTF=1"
  1137.   }
  1138.   
  1139.   
  1140.   else
  1141.     rm -rf conftest*
  1142. !   ac_vprintf_missing=1
  1143.   fi
  1144.   rm -f conftest*
  1145.   
  1146. ! if test -n "$ac_vprintf_missing"; then
  1147. ! test -n "$silent" || /bin/echo "checking for _doprnt"
  1148. ! cat > conftest.${ac_ext} <<EOF
  1149.   #include "confdefs.h"
  1150.   
  1151. ! int main() { return 0; }
  1152. ! int t() { _doprnt();; return 0; }
  1153.   EOF
  1154. ! if eval $ac_compile; then
  1155.     rm -rf conftest*
  1156.     
  1157.   {
  1158.   test -n "$verbose" && \
  1159. ! /bin/echo "    defining HAVE_DOPRNT"
  1160. ! /bin/echo "#define" HAVE_DOPRNT "1" >> confdefs.h
  1161.   DEFS="$DEFS -DHAVE_DOPRNT=1"
  1162.   }
  1163.   
  1164. ***************
  1165. *** 498,517 ****
  1166.   
  1167.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1168.   # for constant arguments.  Useless!
  1169. ! echo checking for working alloca.h
  1170. ! cat > conftest.c <<EOF
  1171.   #include "confdefs.h"
  1172.   #include <alloca.h>
  1173. ! int main() { exit(0); }
  1174. ! int t() { char *p = alloca(2 * sizeof(int)); }
  1175.   EOF
  1176. ! if eval $compile; then
  1177.     rm -rf conftest*
  1178.     
  1179.   {
  1180.   test -n "$verbose" && \
  1181. ! echo "    defining HAVE_ALLOCA_H"
  1182. ! echo "#define" HAVE_ALLOCA_H 1 >> confdefs.h
  1183.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1184.   }
  1185.   
  1186. --- 724,743 ----
  1187.   
  1188.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1189.   # for constant arguments.  Useless!
  1190. ! test -n "$silent" || /bin/echo "checking for working alloca.h"
  1191. ! cat > conftest.${ac_ext} <<EOF
  1192.   #include "confdefs.h"
  1193.   #include <alloca.h>
  1194. ! int main() { return 0; }
  1195. ! int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  1196.   EOF
  1197. ! if eval $ac_compile; then
  1198.     rm -rf conftest*
  1199.     
  1200.   {
  1201.   test -n "$verbose" && \
  1202. ! /bin/echo "    defining HAVE_ALLOCA_H"
  1203. ! /bin/echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
  1204.   DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  1205.   }
  1206.   
  1207. ***************
  1208. *** 519,525 ****
  1209.   fi
  1210.   rm -f conftest*
  1211.   
  1212. ! decl="#ifdef __GNUC__
  1213.   #define alloca __builtin_alloca
  1214.   #else
  1215.   #if HAVE_ALLOCA_H
  1216. --- 745,751 ----
  1217.   fi
  1218.   rm -f conftest*
  1219.   
  1220. ! ac_decl="#ifdef __GNUC__
  1221.   #define alloca __builtin_alloca
  1222.   #else
  1223.   #if HAVE_ALLOCA_H
  1224. ***************
  1225. *** 533,551 ****
  1226.   #endif
  1227.   #endif
  1228.   "
  1229. ! echo checking for alloca
  1230. ! cat > conftest.c <<EOF
  1231.   #include "confdefs.h"
  1232. ! $decl
  1233. ! int main() { exit(0); }
  1234. ! int t() { char *p = (char *) alloca(1); }
  1235.   EOF
  1236. ! if eval $compile; then
  1237. !   :
  1238.   else
  1239.     rm -rf conftest*
  1240. !   alloca_missing=1
  1241. ! cat > conftest.c <<EOF
  1242.   #include "confdefs.h"
  1243.   
  1244.   #if defined(CRAY) && ! defined(CRAY2)
  1245. --- 759,786 ----
  1246.   #endif
  1247.   #endif
  1248.   "
  1249. ! test -n "$silent" || /bin/echo "checking for alloca"
  1250. ! cat > conftest.${ac_ext} <<EOF
  1251.   #include "confdefs.h"
  1252. ! $ac_decl
  1253. ! int main() { return 0; }
  1254. ! int t() { char *p = (char *) alloca(1);; return 0; }
  1255.   EOF
  1256. ! if eval $ac_compile; then
  1257. !   rm -rf conftest*
  1258. !   
  1259. ! {
  1260. ! test -n "$verbose" && \
  1261. ! /bin/echo "    defining HAVE_ALLOCA"
  1262. ! /bin/echo "#define" HAVE_ALLOCA "1" >> confdefs.h
  1263. ! DEFS="$DEFS -DHAVE_ALLOCA=1"
  1264. ! }
  1265.   else
  1266.     rm -rf conftest*
  1267. !   ac_alloca_missing=1
  1268. ! cat > conftest.${ac_ext} <<EOF
  1269.   #include "confdefs.h"
  1270.   
  1271.   #if defined(CRAY) && ! defined(CRAY2)
  1272. ***************
  1273. *** 555,568 ****
  1274.   #endif
  1275.   
  1276.   EOF
  1277. ! eval "$CPP conftest.c > conftest.out 2>&1"
  1278.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1279.     rm -rf conftest*
  1280. !   echo checking for _getb67
  1281. ! cat > conftest.c <<EOF
  1282.   #include "confdefs.h"
  1283.   #include <ctype.h>
  1284. ! int main() { exit(0); }
  1285.   int t() { 
  1286.   /* The GNU C library defines this for functions which it implements
  1287.       to always fail with ENOSYS.  Some functions are actually named
  1288. --- 790,803 ----
  1289.   #endif
  1290.   
  1291.   EOF
  1292. ! eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  1293.   if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  1294.     rm -rf conftest*
  1295. !   test -n "$silent" || /bin/echo "checking for _getb67"
  1296. ! cat > conftest.${ac_ext} <<EOF
  1297.   #include "confdefs.h"
  1298.   #include <ctype.h>
  1299. ! int main() { return 0; }
  1300.   int t() { 
  1301.   /* The GNU C library defines this for functions which it implements
  1302.       to always fail with ENOSYS.  Some functions are actually named
  1303. ***************
  1304. *** 573,597 ****
  1305.   /* Override any gcc2 internal prototype to avoid an error.  */
  1306.   extern char _getb67(); _getb67();
  1307.   #endif
  1308. !  }
  1309.   EOF
  1310. ! if eval $compile; then
  1311.     rm -rf conftest*
  1312.     {
  1313.   test -n "$verbose" && \
  1314. ! echo "    defining" CRAY_STACKSEG_END to be _getb67
  1315. ! echo "#define" CRAY_STACKSEG_END _getb67 >> confdefs.h
  1316.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1317.   }
  1318.   
  1319.   
  1320.   else
  1321.     rm -rf conftest*
  1322. !   echo checking for GETB67
  1323. ! cat > conftest.c <<EOF
  1324.   #include "confdefs.h"
  1325.   #include <ctype.h>
  1326. ! int main() { exit(0); }
  1327.   int t() { 
  1328.   /* The GNU C library defines this for functions which it implements
  1329.       to always fail with ENOSYS.  Some functions are actually named
  1330. --- 808,832 ----
  1331.   /* Override any gcc2 internal prototype to avoid an error.  */
  1332.   extern char _getb67(); _getb67();
  1333.   #endif
  1334. ! ; return 0; }
  1335.   EOF
  1336. ! if eval $ac_compile; then
  1337.     rm -rf conftest*
  1338.     {
  1339.   test -n "$verbose" && \
  1340. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "_getb67"
  1341. ! /bin/echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
  1342.   DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  1343.   }
  1344.   
  1345.   
  1346.   else
  1347.     rm -rf conftest*
  1348. !   test -n "$silent" || /bin/echo "checking for GETB67"
  1349. ! cat > conftest.${ac_ext} <<EOF
  1350.   #include "confdefs.h"
  1351.   #include <ctype.h>
  1352. ! int main() { return 0; }
  1353.   int t() { 
  1354.   /* The GNU C library defines this for functions which it implements
  1355.       to always fail with ENOSYS.  Some functions are actually named
  1356. ***************
  1357. *** 602,626 ****
  1358.   /* Override any gcc2 internal prototype to avoid an error.  */
  1359.   extern char GETB67(); GETB67();
  1360.   #endif
  1361. !  }
  1362.   EOF
  1363. ! if eval $compile; then
  1364.     rm -rf conftest*
  1365.     {
  1366.   test -n "$verbose" && \
  1367. ! echo "    defining" CRAY_STACKSEG_END to be GETB67
  1368. ! echo "#define" CRAY_STACKSEG_END GETB67 >> confdefs.h
  1369.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1370.   }
  1371.   
  1372.   
  1373.   else
  1374.     rm -rf conftest*
  1375. !   echo checking for getb67
  1376. ! cat > conftest.c <<EOF
  1377.   #include "confdefs.h"
  1378.   #include <ctype.h>
  1379. ! int main() { exit(0); }
  1380.   int t() { 
  1381.   /* The GNU C library defines this for functions which it implements
  1382.       to always fail with ENOSYS.  Some functions are actually named
  1383. --- 837,861 ----
  1384.   /* Override any gcc2 internal prototype to avoid an error.  */
  1385.   extern char GETB67(); GETB67();
  1386.   #endif
  1387. ! ; return 0; }
  1388.   EOF
  1389. ! if eval $ac_compile; then
  1390.     rm -rf conftest*
  1391.     {
  1392.   test -n "$verbose" && \
  1393. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "GETB67"
  1394. ! /bin/echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
  1395.   DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  1396.   }
  1397.   
  1398.   
  1399.   else
  1400.     rm -rf conftest*
  1401. !   test -n "$silent" || /bin/echo "checking for getb67"
  1402. ! cat > conftest.${ac_ext} <<EOF
  1403.   #include "confdefs.h"
  1404.   #include <ctype.h>
  1405. ! int main() { return 0; }
  1406.   int t() { 
  1407.   /* The GNU C library defines this for functions which it implements
  1408.       to always fail with ENOSYS.  Some functions are actually named
  1409. ***************
  1410. *** 631,644 ****
  1411.   /* Override any gcc2 internal prototype to avoid an error.  */
  1412.   extern char getb67(); getb67();
  1413.   #endif
  1414. !  }
  1415.   EOF
  1416. ! if eval $compile; then
  1417.     rm -rf conftest*
  1418.     {
  1419.   test -n "$verbose" && \
  1420. ! echo "    defining" CRAY_STACKSEG_END to be getb67
  1421. ! echo "#define" CRAY_STACKSEG_END getb67 >> confdefs.h
  1422.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1423.   }
  1424.   
  1425. --- 866,879 ----
  1426.   /* Override any gcc2 internal prototype to avoid an error.  */
  1427.   extern char getb67(); getb67();
  1428.   #endif
  1429. ! ; return 0; }
  1430.   EOF
  1431. ! if eval $ac_compile; then
  1432.     rm -rf conftest*
  1433.     {
  1434.   test -n "$verbose" && \
  1435. ! /bin/echo "    defining" CRAY_STACKSEG_END to be "getb67"
  1436. ! /bin/echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
  1437.   DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  1438.   }
  1439.   
  1440. ***************
  1441. *** 660,666 ****
  1442.   fi
  1443.   rm -f conftest*
  1444.   
  1445. ! if test -n "$alloca_missing"; then
  1446.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1447.     # that cause trouble.  Some versions do not even contain alloca or
  1448.     # contain a buggy version.  If you still want to use their alloca,
  1449. --- 895,901 ----
  1450.   fi
  1451.   rm -f conftest*
  1452.   
  1453. ! if test -n "$ac_alloca_missing"; then
  1454.     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  1455.     # that cause trouble.  Some versions do not even contain alloca or
  1456.     # contain a buggy version.  If you still want to use their alloca,
  1457. ***************
  1458. *** 669,688 ****
  1459.     
  1460.   {
  1461.   test -n "$verbose" && \
  1462. ! echo "    defining C_ALLOCA"
  1463. ! echo "#define" C_ALLOCA 1 >> confdefs.h
  1464.   DEFS="$DEFS -DC_ALLOCA=1"
  1465.   }
  1466.   
  1467.   
  1468. !   echo 'checking stack direction for C alloca'
  1469. !   echo checking whether cross-compiling
  1470.   # If we cannot run a trivial program, we must be cross compiling.
  1471. ! cat > conftest.c <<EOF
  1472.   #include "confdefs.h"
  1473.   main(){exit(0);}
  1474.   EOF
  1475. ! eval $compile
  1476.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1477.     :
  1478.   else
  1479. --- 904,923 ----
  1480.     
  1481.   {
  1482.   test -n "$verbose" && \
  1483. ! /bin/echo "    defining C_ALLOCA"
  1484. ! /bin/echo "#define" C_ALLOCA "1" >> confdefs.h
  1485.   DEFS="$DEFS -DC_ALLOCA=1"
  1486.   }
  1487.   
  1488.   
  1489. !   test -n "$silent" || /bin/echo "checking stack direction for C alloca"
  1490. !   test -n "$silent" || /bin/echo "checking whether cross-compiling"
  1491.   # If we cannot run a trivial program, we must be cross compiling.
  1492. ! cat > conftest.${ac_ext} <<EOF
  1493.   #include "confdefs.h"
  1494.   main(){exit(0);}
  1495.   EOF
  1496. ! eval $ac_compile
  1497.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1498.     :
  1499.   else
  1500. ***************
  1501. *** 695,707 ****
  1502.     
  1503.   {
  1504.   test -n "$verbose" && \
  1505. ! echo "    defining" STACK_DIRECTION to be 0
  1506. ! echo "#define" STACK_DIRECTION 0 >> confdefs.h
  1507.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1508.   }
  1509.   
  1510.   else
  1511. ! cat > conftest.c <<EOF
  1512.   #include "confdefs.h"
  1513.   find_stack_direction ()
  1514.   {
  1515. --- 930,942 ----
  1516.     
  1517.   {
  1518.   test -n "$verbose" && \
  1519. ! /bin/echo "    defining" STACK_DIRECTION to be "0"
  1520. ! /bin/echo "#define" STACK_DIRECTION "0" >> confdefs.h
  1521.   DEFS="$DEFS -DSTACK_DIRECTION=0"
  1522.   }
  1523.   
  1524.   else
  1525. ! cat > conftest.${ac_ext} <<EOF
  1526.   #include "confdefs.h"
  1527.   find_stack_direction ()
  1528.   {
  1529. ***************
  1530. *** 720,732 ****
  1531.     exit (find_stack_direction() < 0);
  1532.   }
  1533.   EOF
  1534. ! eval $compile
  1535.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1536.     
  1537.   {
  1538.   test -n "$verbose" && \
  1539. ! echo "    defining" STACK_DIRECTION to be 1
  1540. ! echo "#define" STACK_DIRECTION 1 >> confdefs.h
  1541.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1542.   }
  1543.   
  1544. --- 955,967 ----
  1545.     exit (find_stack_direction() < 0);
  1546.   }
  1547.   EOF
  1548. ! eval $ac_compile
  1549.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1550.     
  1551.   {
  1552.   test -n "$verbose" && \
  1553. ! /bin/echo "    defining" STACK_DIRECTION to be "1"
  1554. ! /bin/echo "#define" STACK_DIRECTION "1" >> confdefs.h
  1555.   DEFS="$DEFS -DSTACK_DIRECTION=1"
  1556.   }
  1557.   
  1558. ***************
  1559. *** 735,742 ****
  1560.     
  1561.   {
  1562.   test -n "$verbose" && \
  1563. ! echo "    defining" STACK_DIRECTION to be -1
  1564. ! echo "#define" STACK_DIRECTION -1 >> confdefs.h
  1565.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1566.   }
  1567.   
  1568. --- 970,977 ----
  1569.     
  1570.   {
  1571.   test -n "$verbose" && \
  1572. ! /bin/echo "    defining" STACK_DIRECTION to be "-1"
  1573. ! /bin/echo "#define" STACK_DIRECTION "-1" >> confdefs.h
  1574.   DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1575.   }
  1576.   
  1577. ***************
  1578. *** 751,774 ****
  1579.   
  1580.   # Set default prefixes.
  1581.   if test -n "$prefix"; then
  1582. !   test -z "$exec_prefix" && exec_prefix='${prefix}'
  1583. !   prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1584.   fi
  1585.   if test -n "$exec_prefix"; then
  1586. !   prsub="$prsub
  1587.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1588.   fi
  1589.   # Quote sed substitution magic chars in DEFS.
  1590.   cat >conftest.def <<EOF
  1591.   $DEFS
  1592.   EOF
  1593. ! escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1594. ! DEFS=`sed "$escape_ampersand_and_backslash" <conftest.def`
  1595.   rm -f conftest.def
  1596.   # Substitute for predefined variables.
  1597.   
  1598. ! trap 'rm -f config.status; exit 1' 1 3 15
  1599. ! echo creating config.status
  1600.   rm -f config.status
  1601.   cat > config.status <<EOF
  1602.   #!/bin/sh
  1603. --- 986,1016 ----
  1604.   
  1605.   # Set default prefixes.
  1606.   if test -n "$prefix"; then
  1607. !   test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
  1608. !   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1609.   fi
  1610.   if test -n "$exec_prefix"; then
  1611. !   ac_prsub="$ac_prsub
  1612.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1613.   fi
  1614. + # Any assignment to VPATH causes Sun make to only execute
  1615. + # the first set of double-colon rules, so remove it if not needed.
  1616. + # If there is a colon in the path, we need to keep it.
  1617. + if test "x$srcdir" = x.; then
  1618. +   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1619. + fi
  1620.   # Quote sed substitution magic chars in DEFS.
  1621.   cat >conftest.def <<EOF
  1622.   $DEFS
  1623.   EOF
  1624. ! ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1625. ! DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  1626.   rm -f conftest.def
  1627.   # Substitute for predefined variables.
  1628.   
  1629. ! trap 'rm -f config.status; exit 1' 1 2 15
  1630. ! /bin/echo creating config.status
  1631.   rm -f config.status
  1632.   cat > config.status <<EOF
  1633.   #!/bin/sh
  1634. ***************
  1635. *** 779,795 ****
  1636.   #
  1637.   # $0 $configure_args
  1638.   
  1639. ! for arg
  1640.   do
  1641. !   case "\$arg" in
  1642. !     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1643. !     echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args
  1644. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args ;;
  1645. !     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  1646.     esac
  1647.   done
  1648.   
  1649. ! trap 'rm -f Makefile; exit 1' 1 3 15
  1650.   LN_S='$LN_S'
  1651.   RANLIB='$RANLIB'
  1652.   INSTALL='$INSTALL'
  1653. --- 1021,1043 ----
  1654.   #
  1655.   # $0 $configure_args
  1656.   
  1657. ! ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  1658. ! for ac_option
  1659.   do
  1660. !   case "\$ac_option" in
  1661. !   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1662. !     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  1663. !     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  1664. !   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1665. !     /bin/echo "config.status generated by autoconf version 1.9"
  1666. !     exit 0 ;;
  1667. !   -help | --help | --hel | --he | --h)
  1668. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  1669. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  1670.     esac
  1671.   done
  1672.   
  1673. ! trap 'rm -f Makefile; exit 1' 1 2 15
  1674.   LN_S='$LN_S'
  1675.   RANLIB='$RANLIB'
  1676.   INSTALL='$INSTALL'
  1677. ***************
  1678. *** 801,834 ****
  1679.   LIBOBJS='$LIBOBJS'
  1680.   LIBS='$LIBS'
  1681.   srcdir='$srcdir'
  1682. ! DEFS='$DEFS'
  1683.   prefix='$prefix'
  1684.   exec_prefix='$exec_prefix'
  1685. ! prsub='$prsub'
  1686.   extrasub='$extrasub'
  1687.   EOF
  1688.   cat >> config.status <<\EOF
  1689.   
  1690. ! top_srcdir=$srcdir
  1691.   
  1692.   CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  1693. ! for file in .. ${CONFIG_FILES}; do if test "x$file" != x..; then
  1694. !   srcdir=$top_srcdir
  1695.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1696. !   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  1697. !   if test "$dir" != "$file"; then
  1698. !     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  1699. !     test ! -d "$dir" && mkdir "$dir"
  1700.     fi
  1701. !   echo creating "$file"
  1702. !   rm -f "$file"
  1703. !   comment_str="Generated automatically from `echo $file|sed 's|.*/||'`.in by configure."
  1704. !   case "$file" in
  1705. !     *.c | *.h | *.C | *.cc | *.m )  echo "/* $comment_str */" > "$file" ;;
  1706. !     * )          echo "# $comment_str"     > "$file" ;;
  1707.     esac
  1708.     sed -e "
  1709. ! $prsub
  1710.   $extrasub
  1711.   s%@LN_S@%$LN_S%g
  1712.   s%@RANLIB@%$RANLIB%g
  1713. --- 1049,1098 ----
  1714.   LIBOBJS='$LIBOBJS'
  1715.   LIBS='$LIBS'
  1716.   srcdir='$srcdir'
  1717. ! top_srcdir='$top_srcdir'
  1718.   prefix='$prefix'
  1719.   exec_prefix='$exec_prefix'
  1720. ! DEFS='$DEFS'
  1721. ! ac_prsub='$ac_prsub'
  1722. ! ac_vpsub='$ac_vpsub'
  1723.   extrasub='$extrasub'
  1724.   EOF
  1725.   cat >> config.status <<\EOF
  1726.   
  1727. ! ac_given_srcdir=$srcdir
  1728.   
  1729.   CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  1730. ! for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  1731.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1732. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1733. !   if test "$ac_dir" != "$ac_file"; then
  1734. !     # The file is in a subdirectory.
  1735. !     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1736. !     ac_dir_suffix="/$ac_dir"
  1737. !   else
  1738. !     ac_dir_suffix=
  1739.     fi
  1740. !   # A "../" for each directory in $ac_dir_suffix.
  1741. !   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1742. !   case "$ac_given_srcdir" in
  1743. !   .)  srcdir=.; top_srcdir="$ac_dots." ;;
  1744. !   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1745. !   *) # Relative path.
  1746. !     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1747. !     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1748. !   esac
  1749. !   /bin/echo creating "$ac_file"
  1750. !   rm -f "$ac_file"
  1751. !   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  1752. !   case "$ac_file" in
  1753. !     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  1754. !     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  1755.     esac
  1756.     sed -e "
  1757. ! $ac_prsub
  1758. ! $ac_vpsub
  1759.   $extrasub
  1760.   s%@LN_S@%$LN_S%g
  1761.   s%@RANLIB@%$RANLIB%g
  1762. ***************
  1763. *** 841,855 ****
  1764.   s%@LIBOBJS@%$LIBOBJS%g
  1765.   s%@LIBS@%$LIBS%g
  1766.   s%@srcdir@%$srcdir%g
  1767.   s%@DEFS@%$DEFS%
  1768. ! " $top_srcdir/${file}.in >> $file
  1769.   fi; done
  1770.   
  1771.   
  1772.   exit 0
  1773.   EOF
  1774.   chmod +x config.status
  1775. ! ${CONFIG_SHELL-/bin/sh} config.status
  1776.   
  1777.   
  1778.   
  1779. --- 1105,1122 ----
  1780.   s%@LIBOBJS@%$LIBOBJS%g
  1781.   s%@LIBS@%$LIBS%g
  1782.   s%@srcdir@%$srcdir%g
  1783. + s%@top_srcdir@%$top_srcdir%g
  1784. + s%@prefix@%$prefix%g
  1785. + s%@exec_prefix@%$exec_prefix%g
  1786.   s%@DEFS@%$DEFS%
  1787. ! " $ac_given_srcdir/${ac_file}.in >> $ac_file
  1788.   fi; done
  1789.   
  1790.   
  1791.   exit 0
  1792.   EOF
  1793.   chmod +x config.status
  1794. ! test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
  1795.   
  1796.   
  1797.   
  1798.