1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.13
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15  --with-gmp              use GNU multiple-precision floating-point library"
16ac_help="$ac_help
17  --with-double           use double floating-point precision"
18ac_help="$ac_help
19  --with-long-double      use long double floating-point precision"
20
21# Initialize some variables set by options.
22# The variables have the same names as the options, with
23# dashes changed to underlines.
24build=NONE
25cache_file=./config.cache
26exec_prefix=NONE
27host=NONE
28no_create=
29nonopt=NONE
30no_recursion=
31prefix=NONE
32program_prefix=NONE
33program_suffix=NONE
34program_transform_name=s,x,x,
35silent=
36site=
37srcdir=
38target=NONE
39verbose=
40x_includes=NONE
41x_libraries=NONE
42bindir='${exec_prefix}/bin'
43sbindir='${exec_prefix}/sbin'
44libexecdir='${exec_prefix}/libexec'
45datadir='${prefix}/share'
46sysconfdir='${prefix}/etc'
47sharedstatedir='${prefix}/com'
48localstatedir='${prefix}/var'
49libdir='${exec_prefix}/lib'
50includedir='${prefix}/include'
51oldincludedir='/usr/include'
52infodir='${prefix}/info'
53mandir='${prefix}/man'
54
55# Initialize some other variables.
56subdirs=
57MFLAGS= MAKEFLAGS=
58SHELL=${CONFIG_SHELL-/bin/sh}
59# Maximum number of lines to put in a shell here document.
60ac_max_here_lines=12
61
62ac_prev=
63for ac_option
64do
65
66  # If the previous option needs an argument, assign it.
67  if test -n "$ac_prev"; then
68    eval "$ac_prev=\$ac_option"
69    ac_prev=
70    continue
71  fi
72
73  case "$ac_option" in
74  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
75  *) ac_optarg= ;;
76  esac
77
78  # Accept the important Cygnus configure options, so we can diagnose typos.
79
80  case "$ac_option" in
81
82  -bindir | --bindir | --bindi | --bind | --bin | --bi)
83    ac_prev=bindir ;;
84  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85    bindir="$ac_optarg" ;;
86
87  -build | --build | --buil | --bui | --bu)
88    ac_prev=build ;;
89  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
90    build="$ac_optarg" ;;
91
92  -cache-file | --cache-file | --cache-fil | --cache-fi \
93  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
94    ac_prev=cache_file ;;
95  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97    cache_file="$ac_optarg" ;;
98
99  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
100    ac_prev=datadir ;;
101  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
102  | --da=*)
103    datadir="$ac_optarg" ;;
104
105  -disable-* | --disable-*)
106    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
107    # Reject names that are not valid shell variable names.
108    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
109      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
110    fi
111    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112    eval "enable_${ac_feature}=no" ;;
113
114  -enable-* | --enable-*)
115    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
116    # Reject names that are not valid shell variable names.
117    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
118      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
119    fi
120    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
121    case "$ac_option" in
122      *=*) ;;
123      *) ac_optarg=yes ;;
124    esac
125    eval "enable_${ac_feature}='$ac_optarg'" ;;
126
127  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
128  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
129  | --exec | --exe | --ex)
130    ac_prev=exec_prefix ;;
131  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
132  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
133  | --exec=* | --exe=* | --ex=*)
134    exec_prefix="$ac_optarg" ;;
135
136  -gas | --gas | --ga | --g)
137    # Obsolete; use --with-gas.
138    with_gas=yes ;;
139
140  -help | --help | --hel | --he)
141    # Omit some internal or obsolete options to make the list less imposing.
142    # This message is too long to be a string in the A/UX 3.1 sh.
143    cat << EOF
144Usage: configure [options] [host]
145Options: [defaults in brackets after descriptions]
146Configuration:
147  --cache-file=FILE       cache test results in FILE
148  --help                  print this message
149  --no-create             do not create output files
150  --quiet, --silent       do not print \`checking...' messages
151  --version               print the version of autoconf that created configure
152Directory and file names:
153  --prefix=PREFIX         install architecture-independent files in PREFIX
154                          [$ac_default_prefix]
155  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
156                          [same as prefix]
157  --bindir=DIR            user executables in DIR [EPREFIX/bin]
158  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
159  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
160  --datadir=DIR           read-only architecture-independent data in DIR
161                          [PREFIX/share]
162  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
163  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
164                          [PREFIX/com]
165  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
166  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
167  --includedir=DIR        C header files in DIR [PREFIX/include]
168  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
169  --infodir=DIR           info documentation in DIR [PREFIX/info]
170  --mandir=DIR            man documentation in DIR [PREFIX/man]
171  --srcdir=DIR            find the sources in DIR [configure dir or ..]
172  --program-prefix=PREFIX prepend PREFIX to installed program names
173  --program-suffix=SUFFIX append SUFFIX to installed program names
174  --program-transform-name=PROGRAM
175                          run sed PROGRAM on installed program names
176EOF
177    cat << EOF
178Host type:
179  --build=BUILD           configure for building on BUILD [BUILD=HOST]
180  --host=HOST             configure for HOST [guessed]
181  --target=TARGET         configure for TARGET [TARGET=HOST]
182Features and packages:
183  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
184  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
185  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
186  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
187  --x-includes=DIR        X include files are in DIR
188  --x-libraries=DIR       X library files are in DIR
189EOF
190    if test -n "$ac_help"; then
191      echo "--enable and --with options recognized:$ac_help"
192    fi
193    exit 0 ;;
194
195  -host | --host | --hos | --ho)
196    ac_prev=host ;;
197  -host=* | --host=* | --hos=* | --ho=*)
198    host="$ac_optarg" ;;
199
200  -includedir | --includedir | --includedi | --included | --include \
201  | --includ | --inclu | --incl | --inc)
202    ac_prev=includedir ;;
203  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
204  | --includ=* | --inclu=* | --incl=* | --inc=*)
205    includedir="$ac_optarg" ;;
206
207  -infodir | --infodir | --infodi | --infod | --info | --inf)
208    ac_prev=infodir ;;
209  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
210    infodir="$ac_optarg" ;;
211
212  -libdir | --libdir | --libdi | --libd)
213    ac_prev=libdir ;;
214  -libdir=* | --libdir=* | --libdi=* | --libd=*)
215    libdir="$ac_optarg" ;;
216
217  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
218  | --libexe | --libex | --libe)
219    ac_prev=libexecdir ;;
220  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
221  | --libexe=* | --libex=* | --libe=*)
222    libexecdir="$ac_optarg" ;;
223
224  -localstatedir | --localstatedir | --localstatedi | --localstated \
225  | --localstate | --localstat | --localsta | --localst \
226  | --locals | --local | --loca | --loc | --lo)
227    ac_prev=localstatedir ;;
228  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
229  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
230  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
231    localstatedir="$ac_optarg" ;;
232
233  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
234    ac_prev=mandir ;;
235  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
236    mandir="$ac_optarg" ;;
237
238  -nfp | --nfp | --nf)
239    # Obsolete; use --without-fp.
240    with_fp=no ;;
241
242  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
243  | --no-cr | --no-c)
244    no_create=yes ;;
245
246  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
247  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
248    no_recursion=yes ;;
249
250  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
251  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
252  | --oldin | --oldi | --old | --ol | --o)
253    ac_prev=oldincludedir ;;
254  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
255  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
256  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
257    oldincludedir="$ac_optarg" ;;
258
259  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
260    ac_prev=prefix ;;
261  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
262    prefix="$ac_optarg" ;;
263
264  -program-prefix | --program-prefix | --program-prefi | --program-pref \
265  | --program-pre | --program-pr | --program-p)
266    ac_prev=program_prefix ;;
267  -program-prefix=* | --program-prefix=* | --program-prefi=* \
268  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
269    program_prefix="$ac_optarg" ;;
270
271  -program-suffix | --program-suffix | --program-suffi | --program-suff \
272  | --program-suf | --program-su | --program-s)
273    ac_prev=program_suffix ;;
274  -program-suffix=* | --program-suffix=* | --program-suffi=* \
275  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
276    program_suffix="$ac_optarg" ;;
277
278  -program-transform-name | --program-transform-name \
279  | --program-transform-nam | --program-transform-na \
280  | --program-transform-n | --program-transform- \
281  | --program-transform | --program-transfor \
282  | --program-transfo | --program-transf \
283  | --program-trans | --program-tran \
284  | --progr-tra | --program-tr | --program-t)
285    ac_prev=program_transform_name ;;
286  -program-transform-name=* | --program-transform-name=* \
287  | --program-transform-nam=* | --program-transform-na=* \
288  | --program-transform-n=* | --program-transform-=* \
289  | --program-transform=* | --program-transfor=* \
290  | --program-transfo=* | --program-transf=* \
291  | --program-trans=* | --program-tran=* \
292  | --progr-tra=* | --program-tr=* | --program-t=*)
293    program_transform_name="$ac_optarg" ;;
294
295  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
296  | -silent | --silent | --silen | --sile | --sil)
297    silent=yes ;;
298
299  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
300    ac_prev=sbindir ;;
301  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
302  | --sbi=* | --sb=*)
303    sbindir="$ac_optarg" ;;
304
305  -sharedstatedir | --sharedstatedir | --sharedstatedi \
306  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
307  | --sharedst | --shareds | --shared | --share | --shar \
308  | --sha | --sh)
309    ac_prev=sharedstatedir ;;
310  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
311  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
312  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
313  | --sha=* | --sh=*)
314    sharedstatedir="$ac_optarg" ;;
315
316  -site | --site | --sit)
317    ac_prev=site ;;
318  -site=* | --site=* | --sit=*)
319    site="$ac_optarg" ;;
320
321  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
322    ac_prev=srcdir ;;
323  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
324    srcdir="$ac_optarg" ;;
325
326  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
327  | --syscon | --sysco | --sysc | --sys | --sy)
328    ac_prev=sysconfdir ;;
329  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
330  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
331    sysconfdir="$ac_optarg" ;;
332
333  -target | --target | --targe | --targ | --tar | --ta | --t)
334    ac_prev=target ;;
335  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
336    target="$ac_optarg" ;;
337
338  -v | -verbose | --verbose | --verbos | --verbo | --verb)
339    verbose=yes ;;
340
341  -version | --version | --versio | --versi | --vers)
342    echo "configure generated by autoconf version 2.13"
343    exit 0 ;;
344
345  -with-* | --with-*)
346    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
347    # Reject names that are not valid shell variable names.
348    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
349      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
350    fi
351    ac_package=`echo $ac_package| sed 's/-/_/g'`
352    case "$ac_option" in
353      *=*) ;;
354      *) ac_optarg=yes ;;
355    esac
356    eval "with_${ac_package}='$ac_optarg'" ;;
357
358  -without-* | --without-*)
359    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
360    # Reject names that are not valid shell variable names.
361    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
362      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
363    fi
364    ac_package=`echo $ac_package| sed 's/-/_/g'`
365    eval "with_${ac_package}=no" ;;
366
367  --x)
368    # Obsolete; use --with-x.
369    with_x=yes ;;
370
371  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
372  | --x-incl | --x-inc | --x-in | --x-i)
373    ac_prev=x_includes ;;
374  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
375  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
376    x_includes="$ac_optarg" ;;
377
378  -x-libraries | --x-libraries | --x-librarie | --x-librari \
379  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
380    ac_prev=x_libraries ;;
381  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
382  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
383    x_libraries="$ac_optarg" ;;
384
385  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
386    ;;
387
388  *)
389    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
390      echo "configure: warning: $ac_option: invalid host type" 1>&2
391    fi
392    if test "x$nonopt" != xNONE; then
393      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
394    fi
395    nonopt="$ac_option"
396    ;;
397
398  esac
399done
400
401if test -n "$ac_prev"; then
402  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403fi
404
405trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
406
407# File descriptor usage:
408# 0 standard input
409# 1 file creation
410# 2 errors and warnings
411# 3 some systems may open it to /dev/tty
412# 4 used on the Kubota Titan
413# 6 checking for... messages and results
414# 5 compiler messages saved in config.log
415if test "$silent" = yes; then
416  exec 6>/dev/null
417else
418  exec 6>&1
419fi
420exec 5>./config.log
421
422echo "\
423This file contains any messages produced by compilers while
424running configure, to aid debugging if configure makes a mistake.
425" 1>&5
426
427# Strip out --no-create and --no-recursion so they do not pile up.
428# Also quote any args containing shell metacharacters.
429ac_configure_args=
430for ac_arg
431do
432  case "$ac_arg" in
433  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
434  | --no-cr | --no-c) ;;
435  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
436  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
437  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
438  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
439  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
440  esac
441done
442
443# NLS nuisances.
444# Only set these to C if already set.  These must not be set unconditionally
445# because not all systems understand e.g. LANG=C (notably SCO).
446# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
447# Non-C LC_CTYPE values break the ctype check.
448if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
449if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
450if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
451if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
452
453# confdefs.h avoids OS command line length limits that DEFS can exceed.
454rm -rf conftest* confdefs.h
455# AIX cpp loses on an empty file, so make sure it contains at least a newline.
456echo > confdefs.h
457
458# A filename unique to this package, relative to the directory that
459# configure is in, which we can look for to find out if srcdir is correct.
460ac_unique_file=ndiff.c
461
462# Find the source files, if location was not specified.
463if test -z "$srcdir"; then
464  ac_srcdir_defaulted=yes
465  # Try the directory containing this script, then its parent.
466  ac_prog=$0
467  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
468  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
469  srcdir=$ac_confdir
470  if test ! -r $srcdir/$ac_unique_file; then
471    srcdir=..
472  fi
473else
474  ac_srcdir_defaulted=no
475fi
476if test ! -r $srcdir/$ac_unique_file; then
477  if test "$ac_srcdir_defaulted" = yes; then
478    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
479  else
480    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
481  fi
482fi
483srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
484
485# Prefer explicitly selected file to automatically selected ones.
486if test -z "$CONFIG_SITE"; then
487  if test "x$prefix" != xNONE; then
488    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
489  else
490    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
491  fi
492fi
493for ac_site_file in $CONFIG_SITE; do
494  if test -r "$ac_site_file"; then
495    echo "loading site script $ac_site_file"
496    . "$ac_site_file"
497  fi
498done
499
500if test -r "$cache_file"; then
501  echo "loading cache $cache_file"
502  . $cache_file
503else
504  echo "creating cache $cache_file"
505  > $cache_file
506fi
507
508ac_ext=c
509# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
510ac_cpp='$CPP $CPPFLAGS'
511ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
512ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
513cross_compiling=$ac_cv_prog_cc_cross
514
515ac_exeext=
516ac_objext=o
517if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
518  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
519  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
520    ac_n= ac_c='
521' ac_t='	'
522  else
523    ac_n=-n ac_c= ac_t=
524  fi
525else
526  ac_n= ac_c='\c' ac_t=
527fi
528
529
530
531
532
533DATE=10-Dec-2000
534
535VERSION=2.00
536VERSIONREGEXP=2[.]00
537
538
539
540
541fp_package=
542
543# Check whether --with-gmp or --without-gmp was given.
544if test "${with_gmp+set}" = set; then
545  withval="$with_gmp"
546  fp_package=gmp
547fi
548
549
550# Check whether --with-double or --without-double was given.
551if test "${with_double+set}" = set; then
552  withval="$with_double"
553  fp_package=dbl
554fi
555
556
557# Check whether --with-long-double or --without-long-double was given.
558if test "${with_long_double+set}" = set; then
559  withval="$with_long_double"
560  fp_package=ldb
561fi
562
563
564# Extract the first word of "gcc", so it can be a program name with args.
565set dummy gcc; ac_word=$2
566echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
567echo "configure:568: checking for $ac_word" >&5
568if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
569  echo $ac_n "(cached) $ac_c" 1>&6
570else
571  if test -n "$CC"; then
572  ac_cv_prog_CC="$CC" # Let the user override the test.
573else
574  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
575  ac_dummy="$PATH"
576  for ac_dir in $ac_dummy; do
577    test -z "$ac_dir" && ac_dir=.
578    if test -f $ac_dir/$ac_word; then
579      ac_cv_prog_CC="gcc"
580      break
581    fi
582  done
583  IFS="$ac_save_ifs"
584fi
585fi
586CC="$ac_cv_prog_CC"
587if test -n "$CC"; then
588  echo "$ac_t""$CC" 1>&6
589else
590  echo "$ac_t""no" 1>&6
591fi
592
593if test -z "$CC"; then
594  # Extract the first word of "cc", so it can be a program name with args.
595set dummy cc; ac_word=$2
596echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
597echo "configure:598: checking for $ac_word" >&5
598if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
599  echo $ac_n "(cached) $ac_c" 1>&6
600else
601  if test -n "$CC"; then
602  ac_cv_prog_CC="$CC" # Let the user override the test.
603else
604  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
605  ac_prog_rejected=no
606  ac_dummy="$PATH"
607  for ac_dir in $ac_dummy; do
608    test -z "$ac_dir" && ac_dir=.
609    if test -f $ac_dir/$ac_word; then
610      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
611        ac_prog_rejected=yes
612	continue
613      fi
614      ac_cv_prog_CC="cc"
615      break
616    fi
617  done
618  IFS="$ac_save_ifs"
619if test $ac_prog_rejected = yes; then
620  # We found a bogon in the path, so make sure we never use it.
621  set dummy $ac_cv_prog_CC
622  shift
623  if test $# -gt 0; then
624    # We chose a different compiler from the bogus one.
625    # However, it has the same basename, so the bogon will be chosen
626    # first if we set CC to just the basename; use the full file name.
627    shift
628    set dummy "$ac_dir/$ac_word" "$@"
629    shift
630    ac_cv_prog_CC="$@"
631  fi
632fi
633fi
634fi
635CC="$ac_cv_prog_CC"
636if test -n "$CC"; then
637  echo "$ac_t""$CC" 1>&6
638else
639  echo "$ac_t""no" 1>&6
640fi
641
642  if test -z "$CC"; then
643    case "`uname -s`" in
644    *win32* | *WIN32*)
645      # Extract the first word of "cl", so it can be a program name with args.
646set dummy cl; ac_word=$2
647echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
648echo "configure:649: checking for $ac_word" >&5
649if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
650  echo $ac_n "(cached) $ac_c" 1>&6
651else
652  if test -n "$CC"; then
653  ac_cv_prog_CC="$CC" # Let the user override the test.
654else
655  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
656  ac_dummy="$PATH"
657  for ac_dir in $ac_dummy; do
658    test -z "$ac_dir" && ac_dir=.
659    if test -f $ac_dir/$ac_word; then
660      ac_cv_prog_CC="cl"
661      break
662    fi
663  done
664  IFS="$ac_save_ifs"
665fi
666fi
667CC="$ac_cv_prog_CC"
668if test -n "$CC"; then
669  echo "$ac_t""$CC" 1>&6
670else
671  echo "$ac_t""no" 1>&6
672fi
673 ;;
674    esac
675  fi
676  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
677fi
678
679echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
680echo "configure:681: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
681
682ac_ext=c
683# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
684ac_cpp='$CPP $CPPFLAGS'
685ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
686ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
687cross_compiling=$ac_cv_prog_cc_cross
688
689cat > conftest.$ac_ext << EOF
690
691#line 692 "configure"
692#include "confdefs.h"
693
694main(){return(0);}
695EOF
696if { (eval echo configure:697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
697  ac_cv_prog_cc_works=yes
698  # If we can't run a trivial program, we are probably using a cross compiler.
699  if (./conftest; exit) 2>/dev/null; then
700    ac_cv_prog_cc_cross=no
701  else
702    ac_cv_prog_cc_cross=yes
703  fi
704else
705  echo "configure: failed program was:" >&5
706  cat conftest.$ac_ext >&5
707  ac_cv_prog_cc_works=no
708fi
709rm -fr conftest*
710ac_ext=c
711# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
712ac_cpp='$CPP $CPPFLAGS'
713ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
714ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
715cross_compiling=$ac_cv_prog_cc_cross
716
717echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
718if test $ac_cv_prog_cc_works = no; then
719  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
720fi
721echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
722echo "configure:723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
723echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
724cross_compiling=$ac_cv_prog_cc_cross
725
726echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
727echo "configure:728: checking whether we are using GNU C" >&5
728if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
729  echo $ac_n "(cached) $ac_c" 1>&6
730else
731  cat > conftest.c <<EOF
732#ifdef __GNUC__
733  yes;
734#endif
735EOF
736if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
737  ac_cv_prog_gcc=yes
738else
739  ac_cv_prog_gcc=no
740fi
741fi
742
743echo "$ac_t""$ac_cv_prog_gcc" 1>&6
744
745if test $ac_cv_prog_gcc = yes; then
746  GCC=yes
747else
748  GCC=
749fi
750
751ac_test_CFLAGS="${CFLAGS+set}"
752ac_save_CFLAGS="$CFLAGS"
753CFLAGS=
754echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
755echo "configure:756: checking whether ${CC-cc} accepts -g" >&5
756if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
757  echo $ac_n "(cached) $ac_c" 1>&6
758else
759  echo 'void f(){}' > conftest.c
760if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
761  ac_cv_prog_cc_g=yes
762else
763  ac_cv_prog_cc_g=no
764fi
765rm -f conftest*
766
767fi
768
769echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
770if test "$ac_test_CFLAGS" = set; then
771  CFLAGS="$ac_save_CFLAGS"
772elif test $ac_cv_prog_cc_g = yes; then
773  if test "$GCC" = yes; then
774    CFLAGS="-g -O2"
775  else
776    CFLAGS="-g"
777  fi
778else
779  if test "$GCC" = yes; then
780    CFLAGS="-O2"
781  else
782    CFLAGS=
783  fi
784fi
785
786
787for ac_prog in autoconf
788do
789# Extract the first word of "$ac_prog", so it can be a program name with args.
790set dummy $ac_prog; ac_word=$2
791echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
792echo "configure:793: checking for $ac_word" >&5
793if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
794  echo $ac_n "(cached) $ac_c" 1>&6
795else
796  if test -n "$AUTOCONF"; then
797  ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
798else
799  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
800  ac_dummy="$PATH"
801  for ac_dir in $ac_dummy; do
802    test -z "$ac_dir" && ac_dir=.
803    if test -f $ac_dir/$ac_word; then
804      ac_cv_prog_AUTOCONF="$ac_prog"
805      break
806    fi
807  done
808  IFS="$ac_save_ifs"
809fi
810fi
811AUTOCONF="$ac_cv_prog_AUTOCONF"
812if test -n "$AUTOCONF"; then
813  echo "$ac_t""$AUTOCONF" 1>&6
814else
815  echo "$ac_t""no" 1>&6
816fi
817
818test -n "$AUTOCONF" && break
819done
820
821for ac_prog in autoheader
822do
823# Extract the first word of "$ac_prog", so it can be a program name with args.
824set dummy $ac_prog; ac_word=$2
825echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
826echo "configure:827: checking for $ac_word" >&5
827if eval "test \"`echo '$''{'ac_cv_prog_AUTOHEADER'+set}'`\" = set"; then
828  echo $ac_n "(cached) $ac_c" 1>&6
829else
830  if test -n "$AUTOHEADER"; then
831  ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
832else
833  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
834  ac_dummy="$PATH"
835  for ac_dir in $ac_dummy; do
836    test -z "$ac_dir" && ac_dir=.
837    if test -f $ac_dir/$ac_word; then
838      ac_cv_prog_AUTOHEADER="$ac_prog"
839      break
840    fi
841  done
842  IFS="$ac_save_ifs"
843fi
844fi
845AUTOHEADER="$ac_cv_prog_AUTOHEADER"
846if test -n "$AUTOHEADER"; then
847  echo "$ac_t""$AUTOHEADER" 1>&6
848else
849  echo "$ac_t""no" 1>&6
850fi
851
852test -n "$AUTOHEADER" && break
853done
854
855
856for ac_prog in mawk nawk gawk bawk awk
857do
858# Extract the first word of "$ac_prog", so it can be a program name with args.
859set dummy $ac_prog; ac_word=$2
860echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
861echo "configure:862: checking for $ac_word" >&5
862if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then
863  echo $ac_n "(cached) $ac_c" 1>&6
864else
865  case "$AWK" in
866  /*)
867  ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
868  ;;
869  ?:/*)
870  ac_cv_path_AWK="$AWK" # Let the user override the test with a dos path.
871  ;;
872  *)
873  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
874  ac_dummy="$PATH"
875  for ac_dir in $ac_dummy; do
876    test -z "$ac_dir" && ac_dir=.
877    if test -f $ac_dir/$ac_word; then
878      ac_cv_path_AWK="$ac_dir/$ac_word"
879      break
880    fi
881  done
882  IFS="$ac_save_ifs"
883  ;;
884esac
885fi
886AWK="$ac_cv_path_AWK"
887if test -n "$AWK"; then
888  echo "$ac_t""$AWK" 1>&6
889else
890  echo "$ac_t""no" 1>&6
891fi
892
893test -n "$AWK" && break
894done
895
896for ac_prog in sh ksh bash
897do
898# Extract the first word of "$ac_prog", so it can be a program name with args.
899set dummy $ac_prog; ac_word=$2
900echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
901echo "configure:902: checking for $ac_word" >&5
902if eval "test \"`echo '$''{'ac_cv_path_SH'+set}'`\" = set"; then
903  echo $ac_n "(cached) $ac_c" 1>&6
904else
905  case "$SH" in
906  /*)
907  ac_cv_path_SH="$SH" # Let the user override the test with a path.
908  ;;
909  ?:/*)
910  ac_cv_path_SH="$SH" # Let the user override the test with a dos path.
911  ;;
912  *)
913  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
914  ac_dummy="$PATH"
915  for ac_dir in $ac_dummy; do
916    test -z "$ac_dir" && ac_dir=.
917    if test -f $ac_dir/$ac_word; then
918      ac_cv_path_SH="$ac_dir/$ac_word"
919      break
920    fi
921  done
922  IFS="$ac_save_ifs"
923  ;;
924esac
925fi
926SH="$ac_cv_path_SH"
927if test -n "$SH"; then
928  echo "$ac_t""$SH" 1>&6
929else
930  echo "$ac_t""no" 1>&6
931fi
932
933test -n "$SH" && break
934done
935
936
937for ac_prog in mkdir.sh mkdir
938do
939# Extract the first word of "$ac_prog", so it can be a program name with args.
940set dummy $ac_prog; ac_word=$2
941echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
942echo "configure:943: checking for $ac_word" >&5
943if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
944  echo $ac_n "(cached) $ac_c" 1>&6
945else
946  case "$MKDIR" in
947  /*)
948  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
949  ;;
950  ?:/*)
951  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path.
952  ;;
953  *)
954  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
955  ac_dummy="$PWD:$PATH"
956  for ac_dir in $ac_dummy; do
957    test -z "$ac_dir" && ac_dir=.
958    if test -f $ac_dir/$ac_word; then
959      ac_cv_path_MKDIR="$ac_dir/$ac_word"
960      break
961    fi
962  done
963  IFS="$ac_save_ifs"
964  ;;
965esac
966fi
967MKDIR="$ac_cv_path_MKDIR"
968if test -n "$MKDIR"; then
969  echo "$ac_t""$MKDIR" 1>&6
970else
971  echo "$ac_t""no" 1>&6
972fi
973
974test -n "$MKDIR" && break
975done
976
977
978for ac_prog in cat
979do
980# Extract the first word of "$ac_prog", so it can be a program name with args.
981set dummy $ac_prog; ac_word=$2
982echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
983echo "configure:984: checking for $ac_word" >&5
984if eval "test \"`echo '$''{'ac_cv_prog_CAT'+set}'`\" = set"; then
985  echo $ac_n "(cached) $ac_c" 1>&6
986else
987  if test -n "$CAT"; then
988  ac_cv_prog_CAT="$CAT" # Let the user override the test.
989else
990  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
991  ac_dummy="$PATH"
992  for ac_dir in $ac_dummy; do
993    test -z "$ac_dir" && ac_dir=.
994    if test -f $ac_dir/$ac_word; then
995      ac_cv_prog_CAT="$ac_prog"
996      break
997    fi
998  done
999  IFS="$ac_save_ifs"
1000fi
1001fi
1002CAT="$ac_cv_prog_CAT"
1003if test -n "$CAT"; then
1004  echo "$ac_t""$CAT" 1>&6
1005else
1006  echo "$ac_t""no" 1>&6
1007fi
1008
1009test -n "$CAT" && break
1010done
1011
1012for ac_prog in checknr echo
1013do
1014# Extract the first word of "$ac_prog", so it can be a program name with args.
1015set dummy $ac_prog; ac_word=$2
1016echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1017echo "configure:1018: checking for $ac_word" >&5
1018if eval "test \"`echo '$''{'ac_cv_prog_CHECKNR'+set}'`\" = set"; then
1019  echo $ac_n "(cached) $ac_c" 1>&6
1020else
1021  if test -n "$CHECKNR"; then
1022  ac_cv_prog_CHECKNR="$CHECKNR" # Let the user override the test.
1023else
1024  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1025  ac_dummy="$PATH"
1026  for ac_dir in $ac_dummy; do
1027    test -z "$ac_dir" && ac_dir=.
1028    if test -f $ac_dir/$ac_word; then
1029      ac_cv_prog_CHECKNR="$ac_prog"
1030      break
1031    fi
1032  done
1033  IFS="$ac_save_ifs"
1034fi
1035fi
1036CHECKNR="$ac_cv_prog_CHECKNR"
1037if test -n "$CHECKNR"; then
1038  echo "$ac_t""$CHECKNR" 1>&6
1039else
1040  echo "$ac_t""no" 1>&6
1041fi
1042
1043test -n "$CHECKNR" && break
1044done
1045
1046for ac_prog in checksum cat
1047do
1048# Extract the first word of "$ac_prog", so it can be a program name with args.
1049set dummy $ac_prog; ac_word=$2
1050echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1051echo "configure:1052: checking for $ac_word" >&5
1052if eval "test \"`echo '$''{'ac_cv_prog_CHECKSUM'+set}'`\" = set"; then
1053  echo $ac_n "(cached) $ac_c" 1>&6
1054else
1055  if test -n "$CHECKSUM"; then
1056  ac_cv_prog_CHECKSUM="$CHECKSUM" # Let the user override the test.
1057else
1058  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1059  ac_dummy="$PATH"
1060  for ac_dir in $ac_dummy; do
1061    test -z "$ac_dir" && ac_dir=.
1062    if test -f $ac_dir/$ac_word; then
1063      ac_cv_prog_CHECKSUM="$ac_prog"
1064      break
1065    fi
1066  done
1067  IFS="$ac_save_ifs"
1068fi
1069fi
1070CHECKSUM="$ac_cv_prog_CHECKSUM"
1071if test -n "$CHECKSUM"; then
1072  echo "$ac_t""$CHECKSUM" 1>&6
1073else
1074  echo "$ac_t""no" 1>&6
1075fi
1076
1077test -n "$CHECKSUM" && break
1078done
1079
1080for ac_prog in chmod
1081do
1082# Extract the first word of "$ac_prog", so it can be a program name with args.
1083set dummy $ac_prog; ac_word=$2
1084echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085echo "configure:1086: checking for $ac_word" >&5
1086if eval "test \"`echo '$''{'ac_cv_prog_CHMOD'+set}'`\" = set"; then
1087  echo $ac_n "(cached) $ac_c" 1>&6
1088else
1089  if test -n "$CHMOD"; then
1090  ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
1091else
1092  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1093  ac_dummy="$PATH"
1094  for ac_dir in $ac_dummy; do
1095    test -z "$ac_dir" && ac_dir=.
1096    if test -f $ac_dir/$ac_word; then
1097      ac_cv_prog_CHMOD="$ac_prog"
1098      break
1099    fi
1100  done
1101  IFS="$ac_save_ifs"
1102fi
1103fi
1104CHMOD="$ac_cv_prog_CHMOD"
1105if test -n "$CHMOD"; then
1106  echo "$ac_t""$CHMOD" 1>&6
1107else
1108  echo "$ac_t""no" 1>&6
1109fi
1110
1111test -n "$CHMOD" && break
1112done
1113
1114for ac_prog in cmp
1115do
1116# Extract the first word of "$ac_prog", so it can be a program name with args.
1117set dummy $ac_prog; ac_word=$2
1118echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1119echo "configure:1120: checking for $ac_word" >&5
1120if eval "test \"`echo '$''{'ac_cv_prog_CMP'+set}'`\" = set"; then
1121  echo $ac_n "(cached) $ac_c" 1>&6
1122else
1123  if test -n "$CMP"; then
1124  ac_cv_prog_CMP="$CMP" # Let the user override the test.
1125else
1126  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1127  ac_dummy="$PATH"
1128  for ac_dir in $ac_dummy; do
1129    test -z "$ac_dir" && ac_dir=.
1130    if test -f $ac_dir/$ac_word; then
1131      ac_cv_prog_CMP="$ac_prog"
1132      break
1133    fi
1134  done
1135  IFS="$ac_save_ifs"
1136fi
1137fi
1138CMP="$ac_cv_prog_CMP"
1139if test -n "$CMP"; then
1140  echo "$ac_t""$CMP" 1>&6
1141else
1142  echo "$ac_t""no" 1>&6
1143fi
1144
1145test -n "$CMP" && break
1146done
1147
1148for ac_prog in scp rcp cp
1149do
1150# Extract the first word of "$ac_prog", so it can be a program name with args.
1151set dummy $ac_prog; ac_word=$2
1152echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1153echo "configure:1154: checking for $ac_word" >&5
1154if eval "test \"`echo '$''{'ac_cv_prog_CP'+set}'`\" = set"; then
1155  echo $ac_n "(cached) $ac_c" 1>&6
1156else
1157  if test -n "$CP"; then
1158  ac_cv_prog_CP="$CP" # Let the user override the test.
1159else
1160  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1161  ac_dummy="$PATH"
1162  for ac_dir in $ac_dummy; do
1163    test -z "$ac_dir" && ac_dir=.
1164    if test -f $ac_dir/$ac_word; then
1165      ac_cv_prog_CP="$ac_prog"
1166      break
1167    fi
1168  done
1169  IFS="$ac_save_ifs"
1170fi
1171fi
1172CP="$ac_cv_prog_CP"
1173if test -n "$CP"; then
1174  echo "$ac_t""$CP" 1>&6
1175else
1176  echo "$ac_t""no" 1>&6
1177fi
1178
1179test -n "$CP" && break
1180done
1181
1182for ac_prog in deroff
1183do
1184# Extract the first word of "$ac_prog", so it can be a program name with args.
1185set dummy $ac_prog; ac_word=$2
1186echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1187echo "configure:1188: checking for $ac_word" >&5
1188if eval "test \"`echo '$''{'ac_cv_prog_DEROFF'+set}'`\" = set"; then
1189  echo $ac_n "(cached) $ac_c" 1>&6
1190else
1191  if test -n "$DEROFF"; then
1192  ac_cv_prog_DEROFF="$DEROFF" # Let the user override the test.
1193else
1194  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1195  ac_dummy="$PATH"
1196  for ac_dir in $ac_dummy; do
1197    test -z "$ac_dir" && ac_dir=.
1198    if test -f $ac_dir/$ac_word; then
1199      ac_cv_prog_DEROFF="$ac_prog"
1200      break
1201    fi
1202  done
1203  IFS="$ac_save_ifs"
1204fi
1205fi
1206DEROFF="$ac_cv_prog_DEROFF"
1207if test -n "$DEROFF"; then
1208  echo "$ac_t""$DEROFF" 1>&6
1209else
1210  echo "$ac_t""no" 1>&6
1211fi
1212
1213test -n "$DEROFF" && break
1214done
1215
1216for ac_prog in diff
1217do
1218# Extract the first word of "$ac_prog", so it can be a program name with args.
1219set dummy $ac_prog; ac_word=$2
1220echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1221echo "configure:1222: checking for $ac_word" >&5
1222if eval "test \"`echo '$''{'ac_cv_prog_DIFF'+set}'`\" = set"; then
1223  echo $ac_n "(cached) $ac_c" 1>&6
1224else
1225  if test -n "$DIFF"; then
1226  ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
1227else
1228  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1229  ac_dummy="$PATH"
1230  for ac_dir in $ac_dummy; do
1231    test -z "$ac_dir" && ac_dir=.
1232    if test -f $ac_dir/$ac_word; then
1233      ac_cv_prog_DIFF="$ac_prog"
1234      break
1235    fi
1236  done
1237  IFS="$ac_save_ifs"
1238fi
1239fi
1240DIFF="$ac_cv_prog_DIFF"
1241if test -n "$DIFF"; then
1242  echo "$ac_t""$DIFF" 1>&6
1243else
1244  echo "$ac_t""no" 1>&6
1245fi
1246
1247test -n "$DIFF" && break
1248done
1249
1250for ac_prog in distill ps2pdf
1251do
1252# Extract the first word of "$ac_prog", so it can be a program name with args.
1253set dummy $ac_prog; ac_word=$2
1254echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1255echo "configure:1256: checking for $ac_word" >&5
1256if eval "test \"`echo '$''{'ac_cv_prog_DISTILL'+set}'`\" = set"; then
1257  echo $ac_n "(cached) $ac_c" 1>&6
1258else
1259  if test -n "$DISTILL"; then
1260  ac_cv_prog_DISTILL="$DISTILL" # Let the user override the test.
1261else
1262  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1263  ac_dummy="$PATH"
1264  for ac_dir in $ac_dummy; do
1265    test -z "$ac_dir" && ac_dir=.
1266    if test -f $ac_dir/$ac_word; then
1267      ac_cv_prog_DISTILL="$ac_prog"
1268      break
1269    fi
1270  done
1271  IFS="$ac_save_ifs"
1272fi
1273fi
1274DISTILL="$ac_cv_prog_DISTILL"
1275if test -n "$DISTILL"; then
1276  echo "$ac_t""$DISTILL" 1>&6
1277else
1278  echo "$ac_t""no" 1>&6
1279fi
1280
1281test -n "$DISTILL" && break
1282done
1283
1284for ac_prog in ditroff groff
1285do
1286# Extract the first word of "$ac_prog", so it can be a program name with args.
1287set dummy $ac_prog; ac_word=$2
1288echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1289echo "configure:1290: checking for $ac_word" >&5
1290if eval "test \"`echo '$''{'ac_cv_prog_DITROFF'+set}'`\" = set"; then
1291  echo $ac_n "(cached) $ac_c" 1>&6
1292else
1293  if test -n "$DITROFF"; then
1294  ac_cv_prog_DITROFF="$DITROFF" # Let the user override the test.
1295else
1296  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1297  ac_dummy="$PATH"
1298  for ac_dir in $ac_dummy; do
1299    test -z "$ac_dir" && ac_dir=.
1300    if test -f $ac_dir/$ac_word; then
1301      ac_cv_prog_DITROFF="$ac_prog"
1302      break
1303    fi
1304  done
1305  IFS="$ac_save_ifs"
1306fi
1307fi
1308DITROFF="$ac_cv_prog_DITROFF"
1309if test -n "$DITROFF"; then
1310  echo "$ac_t""$DITROFF" 1>&6
1311else
1312  echo "$ac_t""no" 1>&6
1313fi
1314
1315test -n "$DITROFF" && break
1316done
1317
1318for ac_prog in dw echo
1319do
1320# Extract the first word of "$ac_prog", so it can be a program name with args.
1321set dummy $ac_prog; ac_word=$2
1322echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1323echo "configure:1324: checking for $ac_word" >&5
1324if eval "test \"`echo '$''{'ac_cv_prog_DW'+set}'`\" = set"; then
1325  echo $ac_n "(cached) $ac_c" 1>&6
1326else
1327  if test -n "$DW"; then
1328  ac_cv_prog_DW="$DW" # Let the user override the test.
1329else
1330  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1331  ac_dummy="$PATH"
1332  for ac_dir in $ac_dummy; do
1333    test -z "$ac_dir" && ac_dir=.
1334    if test -f $ac_dir/$ac_word; then
1335      ac_cv_prog_DW="$ac_prog"
1336      break
1337    fi
1338  done
1339  IFS="$ac_save_ifs"
1340fi
1341fi
1342DW="$ac_cv_prog_DW"
1343if test -n "$DW"; then
1344  echo "$ac_t""$DW" 1>&6
1345else
1346  echo "$ac_t""no" 1>&6
1347fi
1348
1349test -n "$DW" && break
1350done
1351
1352for ac_prog in etags
1353do
1354# Extract the first word of "$ac_prog", so it can be a program name with args.
1355set dummy $ac_prog; ac_word=$2
1356echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1357echo "configure:1358: checking for $ac_word" >&5
1358if eval "test \"`echo '$''{'ac_cv_prog_ETAGS'+set}'`\" = set"; then
1359  echo $ac_n "(cached) $ac_c" 1>&6
1360else
1361  if test -n "$ETAGS"; then
1362  ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
1363else
1364  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1365  ac_dummy="$PATH"
1366  for ac_dir in $ac_dummy; do
1367    test -z "$ac_dir" && ac_dir=.
1368    if test -f $ac_dir/$ac_word; then
1369      ac_cv_prog_ETAGS="$ac_prog"
1370      break
1371    fi
1372  done
1373  IFS="$ac_save_ifs"
1374fi
1375fi
1376ETAGS="$ac_cv_prog_ETAGS"
1377if test -n "$ETAGS"; then
1378  echo "$ac_t""$ETAGS" 1>&6
1379else
1380  echo "$ac_t""no" 1>&6
1381fi
1382
1383test -n "$ETAGS" && break
1384done
1385
1386for ac_prog in grep
1387do
1388# Extract the first word of "$ac_prog", so it can be a program name with args.
1389set dummy $ac_prog; ac_word=$2
1390echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1391echo "configure:1392: checking for $ac_word" >&5
1392if eval "test \"`echo '$''{'ac_cv_prog_GREP'+set}'`\" = set"; then
1393  echo $ac_n "(cached) $ac_c" 1>&6
1394else
1395  if test -n "$GREP"; then
1396  ac_cv_prog_GREP="$GREP" # Let the user override the test.
1397else
1398  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1399  ac_dummy="$PATH"
1400  for ac_dir in $ac_dummy; do
1401    test -z "$ac_dir" && ac_dir=.
1402    if test -f $ac_dir/$ac_word; then
1403      ac_cv_prog_GREP="$ac_prog"
1404      break
1405    fi
1406  done
1407  IFS="$ac_save_ifs"
1408fi
1409fi
1410GREP="$ac_cv_prog_GREP"
1411if test -n "$GREP"; then
1412  echo "$ac_t""$GREP" 1>&6
1413else
1414  echo "$ac_t""no" 1>&6
1415fi
1416
1417test -n "$GREP" && break
1418done
1419
1420for ac_prog in gzip compress
1421do
1422# Extract the first word of "$ac_prog", so it can be a program name with args.
1423set dummy $ac_prog; ac_word=$2
1424echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1425echo "configure:1426: checking for $ac_word" >&5
1426if eval "test \"`echo '$''{'ac_cv_prog_GZIP'+set}'`\" = set"; then
1427  echo $ac_n "(cached) $ac_c" 1>&6
1428else
1429  if test -n "$GZIP"; then
1430  ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
1431else
1432  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1433  ac_dummy="$PATH"
1434  for ac_dir in $ac_dummy; do
1435    test -z "$ac_dir" && ac_dir=.
1436    if test -f $ac_dir/$ac_word; then
1437      ac_cv_prog_GZIP="$ac_prog"
1438      break
1439    fi
1440  done
1441  IFS="$ac_save_ifs"
1442fi
1443fi
1444GZIP="$ac_cv_prog_GZIP"
1445if test -n "$GZIP"; then
1446  echo "$ac_t""$GZIP" 1>&6
1447else
1448  echo "$ac_t""no" 1>&6
1449fi
1450
1451test -n "$GZIP" && break
1452done
1453
1454for ac_prog in ispell echo
1455do
1456# Extract the first word of "$ac_prog", so it can be a program name with args.
1457set dummy $ac_prog; ac_word=$2
1458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1459echo "configure:1460: checking for $ac_word" >&5
1460if eval "test \"`echo '$''{'ac_cv_prog_ISPELL'+set}'`\" = set"; then
1461  echo $ac_n "(cached) $ac_c" 1>&6
1462else
1463  if test -n "$ISPELL"; then
1464  ac_cv_prog_ISPELL="$ISPELL" # Let the user override the test.
1465else
1466  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1467  ac_dummy="$PATH"
1468  for ac_dir in $ac_dummy; do
1469    test -z "$ac_dir" && ac_dir=.
1470    if test -f $ac_dir/$ac_word; then
1471      ac_cv_prog_ISPELL="$ac_prog"
1472      break
1473    fi
1474  done
1475  IFS="$ac_save_ifs"
1476fi
1477fi
1478ISPELL="$ac_cv_prog_ISPELL"
1479if test -n "$ISPELL"; then
1480  echo "$ac_t""$ISPELL" 1>&6
1481else
1482  echo "$ac_t""no" 1>&6
1483fi
1484
1485test -n "$ISPELL" && break
1486done
1487
1488for ac_prog in jar tar
1489do
1490# Extract the first word of "$ac_prog", so it can be a program name with args.
1491set dummy $ac_prog; ac_word=$2
1492echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1493echo "configure:1494: checking for $ac_word" >&5
1494if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
1495  echo $ac_n "(cached) $ac_c" 1>&6
1496else
1497  if test -n "$JAR"; then
1498  ac_cv_prog_JAR="$JAR" # Let the user override the test.
1499else
1500  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1501  ac_dummy="$PATH"
1502  for ac_dir in $ac_dummy; do
1503    test -z "$ac_dir" && ac_dir=.
1504    if test -f $ac_dir/$ac_word; then
1505      ac_cv_prog_JAR="$ac_prog"
1506      break
1507    fi
1508  done
1509  IFS="$ac_save_ifs"
1510fi
1511fi
1512JAR="$ac_cv_prog_JAR"
1513if test -n "$JAR"; then
1514  echo "$ac_t""$JAR" 1>&6
1515else
1516  echo "$ac_t""no" 1>&6
1517fi
1518
1519test -n "$JAR" && break
1520done
1521
1522for ac_prog in ln
1523do
1524# Extract the first word of "$ac_prog", so it can be a program name with args.
1525set dummy $ac_prog; ac_word=$2
1526echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1527echo "configure:1528: checking for $ac_word" >&5
1528if eval "test \"`echo '$''{'ac_cv_prog_LN'+set}'`\" = set"; then
1529  echo $ac_n "(cached) $ac_c" 1>&6
1530else
1531  if test -n "$LN"; then
1532  ac_cv_prog_LN="$LN" # Let the user override the test.
1533else
1534  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1535  ac_dummy="$PATH"
1536  for ac_dir in $ac_dummy; do
1537    test -z "$ac_dir" && ac_dir=.
1538    if test -f $ac_dir/$ac_word; then
1539      ac_cv_prog_LN="$ac_prog"
1540      break
1541    fi
1542  done
1543  IFS="$ac_save_ifs"
1544fi
1545fi
1546LN="$ac_cv_prog_LN"
1547if test -n "$LN"; then
1548  echo "$ac_t""$LN" 1>&6
1549else
1550  echo "$ac_t""no" 1>&6
1551fi
1552
1553test -n "$LN" && break
1554done
1555
1556for ac_prog in ls
1557do
1558# Extract the first word of "$ac_prog", so it can be a program name with args.
1559set dummy $ac_prog; ac_word=$2
1560echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1561echo "configure:1562: checking for $ac_word" >&5
1562if eval "test \"`echo '$''{'ac_cv_prog_LS'+set}'`\" = set"; then
1563  echo $ac_n "(cached) $ac_c" 1>&6
1564else
1565  if test -n "$LS"; then
1566  ac_cv_prog_LS="$LS" # Let the user override the test.
1567else
1568  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1569  ac_dummy="$PATH"
1570  for ac_dir in $ac_dummy; do
1571    test -z "$ac_dir" && ac_dir=.
1572    if test -f $ac_dir/$ac_word; then
1573      ac_cv_prog_LS="$ac_prog"
1574      break
1575    fi
1576  done
1577  IFS="$ac_save_ifs"
1578fi
1579fi
1580LS="$ac_cv_prog_LS"
1581if test -n "$LS"; then
1582  echo "$ac_t""$LS" 1>&6
1583else
1584  echo "$ac_t""no" 1>&6
1585fi
1586
1587test -n "$LS" && break
1588done
1589
1590for ac_prog in man2html
1591do
1592# Extract the first word of "$ac_prog", so it can be a program name with args.
1593set dummy $ac_prog; ac_word=$2
1594echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1595echo "configure:1596: checking for $ac_word" >&5
1596if eval "test \"`echo '$''{'ac_cv_prog_MAN2HTML'+set}'`\" = set"; then
1597  echo $ac_n "(cached) $ac_c" 1>&6
1598else
1599  if test -n "$MAN2HTML"; then
1600  ac_cv_prog_MAN2HTML="$MAN2HTML" # Let the user override the test.
1601else
1602  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1603  ac_dummy="$PATH"
1604  for ac_dir in $ac_dummy; do
1605    test -z "$ac_dir" && ac_dir=.
1606    if test -f $ac_dir/$ac_word; then
1607      ac_cv_prog_MAN2HTML="$ac_prog"
1608      break
1609    fi
1610  done
1611  IFS="$ac_save_ifs"
1612fi
1613fi
1614MAN2HTML="$ac_cv_prog_MAN2HTML"
1615if test -n "$MAN2HTML"; then
1616  echo "$ac_t""$MAN2HTML" 1>&6
1617else
1618  echo "$ac_t""no" 1>&6
1619fi
1620
1621test -n "$MAN2HTML" && break
1622done
1623
1624for ac_prog in mv
1625do
1626# Extract the first word of "$ac_prog", so it can be a program name with args.
1627set dummy $ac_prog; ac_word=$2
1628echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1629echo "configure:1630: checking for $ac_word" >&5
1630if eval "test \"`echo '$''{'ac_cv_prog_MV'+set}'`\" = set"; then
1631  echo $ac_n "(cached) $ac_c" 1>&6
1632else
1633  if test -n "$MV"; then
1634  ac_cv_prog_MV="$MV" # Let the user override the test.
1635else
1636  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1637  ac_dummy="$PATH"
1638  for ac_dir in $ac_dummy; do
1639    test -z "$ac_dir" && ac_dir=.
1640    if test -f $ac_dir/$ac_word; then
1641      ac_cv_prog_MV="$ac_prog"
1642      break
1643    fi
1644  done
1645  IFS="$ac_save_ifs"
1646fi
1647fi
1648MV="$ac_cv_prog_MV"
1649if test -n "$MV"; then
1650  echo "$ac_t""$MV" 1>&6
1651else
1652  echo "$ac_t""no" 1>&6
1653fi
1654
1655test -n "$MV" && break
1656done
1657
1658for ac_prog in nroff groff
1659do
1660# Extract the first word of "$ac_prog", so it can be a program name with args.
1661set dummy $ac_prog; ac_word=$2
1662echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1663echo "configure:1664: checking for $ac_word" >&5
1664if eval "test \"`echo '$''{'ac_cv_prog_NROFF'+set}'`\" = set"; then
1665  echo $ac_n "(cached) $ac_c" 1>&6
1666else
1667  if test -n "$NROFF"; then
1668  ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
1669else
1670  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1671  ac_dummy="$PATH"
1672  for ac_dir in $ac_dummy; do
1673    test -z "$ac_dir" && ac_dir=.
1674    if test -f $ac_dir/$ac_word; then
1675      ac_cv_prog_NROFF="$ac_prog"
1676      break
1677    fi
1678  done
1679  IFS="$ac_save_ifs"
1680fi
1681fi
1682NROFF="$ac_cv_prog_NROFF"
1683if test -n "$NROFF"; then
1684  echo "$ac_t""$NROFF" 1>&6
1685else
1686  echo "$ac_t""no" 1>&6
1687fi
1688
1689test -n "$NROFF" && break
1690done
1691
1692for ac_prog in rm
1693do
1694# Extract the first word of "$ac_prog", so it can be a program name with args.
1695set dummy $ac_prog; ac_word=$2
1696echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1697echo "configure:1698: checking for $ac_word" >&5
1698if eval "test \"`echo '$''{'ac_cv_prog_RM'+set}'`\" = set"; then
1699  echo $ac_n "(cached) $ac_c" 1>&6
1700else
1701  if test -n "$RM"; then
1702  ac_cv_prog_RM="$RM" # Let the user override the test.
1703else
1704  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1705  ac_dummy="$PATH"
1706  for ac_dir in $ac_dummy; do
1707    test -z "$ac_dir" && ac_dir=.
1708    if test -f $ac_dir/$ac_word; then
1709      ac_cv_prog_RM="$ac_prog"
1710      break
1711    fi
1712  done
1713  IFS="$ac_save_ifs"
1714fi
1715fi
1716RM="$ac_cv_prog_RM"
1717if test -n "$RM"; then
1718  echo "$ac_t""$RM" 1>&6
1719else
1720  echo "$ac_t""no" 1>&6
1721fi
1722
1723test -n "$RM" && break
1724done
1725
1726for ac_prog in sed
1727do
1728# Extract the first word of "$ac_prog", so it can be a program name with args.
1729set dummy $ac_prog; ac_word=$2
1730echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1731echo "configure:1732: checking for $ac_word" >&5
1732if eval "test \"`echo '$''{'ac_cv_prog_SED'+set}'`\" = set"; then
1733  echo $ac_n "(cached) $ac_c" 1>&6
1734else
1735  if test -n "$SED"; then
1736  ac_cv_prog_SED="$SED" # Let the user override the test.
1737else
1738  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1739  ac_dummy="$PATH"
1740  for ac_dir in $ac_dummy; do
1741    test -z "$ac_dir" && ac_dir=.
1742    if test -f $ac_dir/$ac_word; then
1743      ac_cv_prog_SED="$ac_prog"
1744      break
1745    fi
1746  done
1747  IFS="$ac_save_ifs"
1748fi
1749fi
1750SED="$ac_cv_prog_SED"
1751if test -n "$SED"; then
1752  echo "$ac_t""$SED" 1>&6
1753else
1754  echo "$ac_t""no" 1>&6
1755fi
1756
1757test -n "$SED" && break
1758done
1759
1760for ac_prog in sort
1761do
1762# Extract the first word of "$ac_prog", so it can be a program name with args.
1763set dummy $ac_prog; ac_word=$2
1764echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1765echo "configure:1766: checking for $ac_word" >&5
1766if eval "test \"`echo '$''{'ac_cv_prog_SORT'+set}'`\" = set"; then
1767  echo $ac_n "(cached) $ac_c" 1>&6
1768else
1769  if test -n "$SORT"; then
1770  ac_cv_prog_SORT="$SORT" # Let the user override the test.
1771else
1772  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1773  ac_dummy="$PATH"
1774  for ac_dir in $ac_dummy; do
1775    test -z "$ac_dir" && ac_dir=.
1776    if test -f $ac_dir/$ac_word; then
1777      ac_cv_prog_SORT="$ac_prog"
1778      break
1779    fi
1780  done
1781  IFS="$ac_save_ifs"
1782fi
1783fi
1784SORT="$ac_cv_prog_SORT"
1785if test -n "$SORT"; then
1786  echo "$ac_t""$SORT" 1>&6
1787else
1788  echo "$ac_t""no" 1>&6
1789fi
1790
1791test -n "$SORT" && break
1792done
1793
1794for ac_prog in spell
1795do
1796# Extract the first word of "$ac_prog", so it can be a program name with args.
1797set dummy $ac_prog; ac_word=$2
1798echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1799echo "configure:1800: checking for $ac_word" >&5
1800if eval "test \"`echo '$''{'ac_cv_prog_SPELL'+set}'`\" = set"; then
1801  echo $ac_n "(cached) $ac_c" 1>&6
1802else
1803  if test -n "$SPELL"; then
1804  ac_cv_prog_SPELL="$SPELL" # Let the user override the test.
1805else
1806  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1807  ac_dummy="$PATH"
1808  for ac_dir in $ac_dummy; do
1809    test -z "$ac_dir" && ac_dir=.
1810    if test -f $ac_dir/$ac_word; then
1811      ac_cv_prog_SPELL="$ac_prog"
1812      break
1813    fi
1814  done
1815  IFS="$ac_save_ifs"
1816fi
1817fi
1818SPELL="$ac_cv_prog_SPELL"
1819if test -n "$SPELL"; then
1820  echo "$ac_t""$SPELL" 1>&6
1821else
1822  echo "$ac_t""no" 1>&6
1823fi
1824
1825test -n "$SPELL" && break
1826done
1827
1828for ac_prog in tar
1829do
1830# Extract the first word of "$ac_prog", so it can be a program name with args.
1831set dummy $ac_prog; ac_word=$2
1832echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1833echo "configure:1834: checking for $ac_word" >&5
1834if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
1835  echo $ac_n "(cached) $ac_c" 1>&6
1836else
1837  if test -n "$TAR"; then
1838  ac_cv_prog_TAR="$TAR" # Let the user override the test.
1839else
1840  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1841  ac_dummy="$PATH"
1842  for ac_dir in $ac_dummy; do
1843    test -z "$ac_dir" && ac_dir=.
1844    if test -f $ac_dir/$ac_word; then
1845      ac_cv_prog_TAR="$ac_prog"
1846      break
1847    fi
1848  done
1849  IFS="$ac_save_ifs"
1850fi
1851fi
1852TAR="$ac_cv_prog_TAR"
1853if test -n "$TAR"; then
1854  echo "$ac_t""$TAR" 1>&6
1855else
1856  echo "$ac_t""no" 1>&6
1857fi
1858
1859test -n "$TAR" && break
1860done
1861
1862for ac_prog in tgrind
1863do
1864# Extract the first word of "$ac_prog", so it can be a program name with args.
1865set dummy $ac_prog; ac_word=$2
1866echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1867echo "configure:1868: checking for $ac_word" >&5
1868if eval "test \"`echo '$''{'ac_cv_prog_TGRIND'+set}'`\" = set"; then
1869  echo $ac_n "(cached) $ac_c" 1>&6
1870else
1871  if test -n "$TGRIND"; then
1872  ac_cv_prog_TGRIND="$TGRIND" # Let the user override the test.
1873else
1874  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1875  ac_dummy="$PATH"
1876  for ac_dir in $ac_dummy; do
1877    test -z "$ac_dir" && ac_dir=.
1878    if test -f $ac_dir/$ac_word; then
1879      ac_cv_prog_TGRIND="$ac_prog"
1880      break
1881    fi
1882  done
1883  IFS="$ac_save_ifs"
1884fi
1885fi
1886TGRIND="$ac_cv_prog_TGRIND"
1887if test -n "$TGRIND"; then
1888  echo "$ac_t""$TGRIND" 1>&6
1889else
1890  echo "$ac_t""no" 1>&6
1891fi
1892
1893test -n "$TGRIND" && break
1894done
1895
1896for ac_prog in unzip
1897do
1898# Extract the first word of "$ac_prog", so it can be a program name with args.
1899set dummy $ac_prog; ac_word=$2
1900echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1901echo "configure:1902: checking for $ac_word" >&5
1902if eval "test \"`echo '$''{'ac_cv_prog_UNZIP'+set}'`\" = set"; then
1903  echo $ac_n "(cached) $ac_c" 1>&6
1904else
1905  if test -n "$UNZIP"; then
1906  ac_cv_prog_UNZIP="$UNZIP" # Let the user override the test.
1907else
1908  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1909  ac_dummy="$PATH"
1910  for ac_dir in $ac_dummy; do
1911    test -z "$ac_dir" && ac_dir=.
1912    if test -f $ac_dir/$ac_word; then
1913      ac_cv_prog_UNZIP="$ac_prog"
1914      break
1915    fi
1916  done
1917  IFS="$ac_save_ifs"
1918fi
1919fi
1920UNZIP="$ac_cv_prog_UNZIP"
1921if test -n "$UNZIP"; then
1922  echo "$ac_t""$UNZIP" 1>&6
1923else
1924  echo "$ac_t""no" 1>&6
1925fi
1926
1927test -n "$UNZIP" && break
1928done
1929
1930for ac_prog in zip
1931do
1932# Extract the first word of "$ac_prog", so it can be a program name with args.
1933set dummy $ac_prog; ac_word=$2
1934echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1935echo "configure:1936: checking for $ac_word" >&5
1936if eval "test \"`echo '$''{'ac_cv_prog_ZIP'+set}'`\" = set"; then
1937  echo $ac_n "(cached) $ac_c" 1>&6
1938else
1939  if test -n "$ZIP"; then
1940  ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
1941else
1942  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1943  ac_dummy="$PATH"
1944  for ac_dir in $ac_dummy; do
1945    test -z "$ac_dir" && ac_dir=.
1946    if test -f $ac_dir/$ac_word; then
1947      ac_cv_prog_ZIP="$ac_prog"
1948      break
1949    fi
1950  done
1951  IFS="$ac_save_ifs"
1952fi
1953fi
1954ZIP="$ac_cv_prog_ZIP"
1955if test -n "$ZIP"; then
1956  echo "$ac_t""$ZIP" 1>&6
1957else
1958  echo "$ac_t""no" 1>&6
1959fi
1960
1961test -n "$ZIP" && break
1962done
1963
1964for ac_prog in zoo
1965do
1966# Extract the first word of "$ac_prog", so it can be a program name with args.
1967set dummy $ac_prog; ac_word=$2
1968echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1969echo "configure:1970: checking for $ac_word" >&5
1970if eval "test \"`echo '$''{'ac_cv_prog_ZOO'+set}'`\" = set"; then
1971  echo $ac_n "(cached) $ac_c" 1>&6
1972else
1973  if test -n "$ZOO"; then
1974  ac_cv_prog_ZOO="$ZOO" # Let the user override the test.
1975else
1976  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
1977  ac_dummy="$PATH"
1978  for ac_dir in $ac_dummy; do
1979    test -z "$ac_dir" && ac_dir=.
1980    if test -f $ac_dir/$ac_word; then
1981      ac_cv_prog_ZOO="$ac_prog"
1982      break
1983    fi
1984  done
1985  IFS="$ac_save_ifs"
1986fi
1987fi
1988ZOO="$ac_cv_prog_ZOO"
1989if test -n "$ZOO"; then
1990  echo "$ac_t""$ZOO" 1>&6
1991else
1992  echo "$ac_t""no" 1>&6
1993fi
1994
1995test -n "$ZOO" && break
1996done
1997
1998
1999echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2000echo "configure:2001: checking how to run the C preprocessor" >&5
2001# On Suns, sometimes $CPP names a directory.
2002if test -n "$CPP" && test -d "$CPP"; then
2003  CPP=
2004fi
2005if test -z "$CPP"; then
2006if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2007  echo $ac_n "(cached) $ac_c" 1>&6
2008else
2009    # This must be in double quotes, not single quotes, because CPP may get
2010  # substituted into the Makefile and "${CC-cc}" will confuse make.
2011  CPP="${CC-cc} -E"
2012  # On the NeXT, cc -E runs the code through the compiler's parser,
2013  # not just through cpp.
2014  cat > conftest.$ac_ext <<EOF
2015#line 2016 "configure"
2016#include "confdefs.h"
2017#include <assert.h>
2018Syntax Error
2019EOF
2020ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2021{ (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2022ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2023if test -z "$ac_err"; then
2024  :
2025else
2026  echo "$ac_err" >&5
2027  echo "configure: failed program was:" >&5
2028  cat conftest.$ac_ext >&5
2029  rm -rf conftest*
2030  CPP="${CC-cc} -E -traditional-cpp"
2031  cat > conftest.$ac_ext <<EOF
2032#line 2033 "configure"
2033#include "confdefs.h"
2034#include <assert.h>
2035Syntax Error
2036EOF
2037ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2038{ (eval echo configure:2039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2039ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2040if test -z "$ac_err"; then
2041  :
2042else
2043  echo "$ac_err" >&5
2044  echo "configure: failed program was:" >&5
2045  cat conftest.$ac_ext >&5
2046  rm -rf conftest*
2047  CPP="${CC-cc} -nologo -E"
2048  cat > conftest.$ac_ext <<EOF
2049#line 2050 "configure"
2050#include "confdefs.h"
2051#include <assert.h>
2052Syntax Error
2053EOF
2054ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2055{ (eval echo configure:2056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2056ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2057if test -z "$ac_err"; then
2058  :
2059else
2060  echo "$ac_err" >&5
2061  echo "configure: failed program was:" >&5
2062  cat conftest.$ac_ext >&5
2063  rm -rf conftest*
2064  CPP=/lib/cpp
2065fi
2066rm -f conftest*
2067fi
2068rm -f conftest*
2069fi
2070rm -f conftest*
2071  ac_cv_prog_CPP="$CPP"
2072fi
2073  CPP="$ac_cv_prog_CPP"
2074else
2075  ac_cv_prog_CPP="$CPP"
2076fi
2077echo "$ac_t""$CPP" 1>&6
2078
2079echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2080echo "configure:2081: checking for ANSI C header files" >&5
2081if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2082  echo $ac_n "(cached) $ac_c" 1>&6
2083else
2084  cat > conftest.$ac_ext <<EOF
2085#line 2086 "configure"
2086#include "confdefs.h"
2087#include <stdlib.h>
2088#include <stdarg.h>
2089#include <string.h>
2090#include <float.h>
2091EOF
2092ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2093{ (eval echo configure:2094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2094ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2095if test -z "$ac_err"; then
2096  rm -rf conftest*
2097  ac_cv_header_stdc=yes
2098else
2099  echo "$ac_err" >&5
2100  echo "configure: failed program was:" >&5
2101  cat conftest.$ac_ext >&5
2102  rm -rf conftest*
2103  ac_cv_header_stdc=no
2104fi
2105rm -f conftest*
2106
2107if test $ac_cv_header_stdc = yes; then
2108  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2109cat > conftest.$ac_ext <<EOF
2110#line 2111 "configure"
2111#include "confdefs.h"
2112#include <string.h>
2113EOF
2114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2115  egrep "memchr" >/dev/null 2>&1; then
2116  :
2117else
2118  rm -rf conftest*
2119  ac_cv_header_stdc=no
2120fi
2121rm -f conftest*
2122
2123fi
2124
2125if test $ac_cv_header_stdc = yes; then
2126  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2127cat > conftest.$ac_ext <<EOF
2128#line 2129 "configure"
2129#include "confdefs.h"
2130#include <stdlib.h>
2131EOF
2132if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2133  egrep "free" >/dev/null 2>&1; then
2134  :
2135else
2136  rm -rf conftest*
2137  ac_cv_header_stdc=no
2138fi
2139rm -f conftest*
2140
2141fi
2142
2143if test $ac_cv_header_stdc = yes; then
2144  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2145if test "$cross_compiling" = yes; then
2146  :
2147else
2148  cat > conftest.$ac_ext <<EOF
2149#line 2150 "configure"
2150#include "confdefs.h"
2151#include <ctype.h>
2152#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2153#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2154#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2155int main () { int i; for (i = 0; i < 256; i++)
2156if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2157exit (0); }
2158
2159EOF
2160if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2161then
2162  :
2163else
2164  echo "configure: failed program was:" >&5
2165  cat conftest.$ac_ext >&5
2166  rm -fr conftest*
2167  ac_cv_header_stdc=no
2168fi
2169rm -fr conftest*
2170fi
2171
2172fi
2173fi
2174
2175echo "$ac_t""$ac_cv_header_stdc" 1>&6
2176if test $ac_cv_header_stdc = yes; then
2177  cat >> confdefs.h <<\EOF
2178#define STDC_HEADERS 1
2179EOF
2180
2181fi
2182
2183
2184
2185for ac_hdr in ctype.h limits.h stddef.h stdio.h stdlib.h string.h
2186do
2187ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2188echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2189echo "configure:2190: checking for $ac_hdr" >&5
2190if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2191  echo $ac_n "(cached) $ac_c" 1>&6
2192else
2193  cat > conftest.$ac_ext <<EOF
2194#line 2195 "configure"
2195#include "confdefs.h"
2196#include <$ac_hdr>
2197EOF
2198ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2199{ (eval echo configure:2200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2200ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2201if test -z "$ac_err"; then
2202  rm -rf conftest*
2203  eval "ac_cv_header_$ac_safe=yes"
2204else
2205  echo "$ac_err" >&5
2206  echo "configure: failed program was:" >&5
2207  cat conftest.$ac_ext >&5
2208  rm -rf conftest*
2209  eval "ac_cv_header_$ac_safe=no"
2210fi
2211rm -f conftest*
2212fi
2213if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2214  echo "$ac_t""yes" 1>&6
2215    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2216  cat >> confdefs.h <<EOF
2217#define $ac_tr_hdr 1
2218EOF
2219
2220else
2221  echo "$ac_t""no" 1>&6
2222fi
2223done
2224
2225
2226echo $ac_n "checking for size_t""... $ac_c" 1>&6
2227echo "configure:2228: checking for size_t" >&5
2228if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2229  echo $ac_n "(cached) $ac_c" 1>&6
2230else
2231  cat > conftest.$ac_ext <<EOF
2232#line 2233 "configure"
2233#include "confdefs.h"
2234#include <sys/types.h>
2235#if STDC_HEADERS
2236#include <stdlib.h>
2237#include <stddef.h>
2238#endif
2239EOF
2240if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2241  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2242  rm -rf conftest*
2243  ac_cv_type_size_t=yes
2244else
2245  rm -rf conftest*
2246  ac_cv_type_size_t=no
2247fi
2248rm -f conftest*
2249
2250fi
2251echo "$ac_t""$ac_cv_type_size_t" 1>&6
2252if test $ac_cv_type_size_t = no; then
2253  cat >> confdefs.h <<\EOF
2254#define size_t unsigned
2255EOF
2256
2257fi
2258
2259
2260if test -z "$fp_package"
2261then
2262	echo $ac_n "checking GNU multiple-precision library (gmp)""... $ac_c" 1>&6
2263echo "configure:2264: checking GNU multiple-precision library (gmp)" >&5
2264if eval "test \"`echo '$''{'ac_cv_have_gmp'+set}'`\" = set"; then
2265  echo $ac_n "(cached) $ac_c" 1>&6
2266else
2267  OLDCFLAGS="$CFLAGS"
2268		OLDLIBS=$LIBS
2269		if test "x$prefix" != xNONE
2270		then
2271			CFLAGS="$CFLAGS -I$prefix/include"
2272			LIBS="$LIBS -L$prefix/lib -lgmp"
2273		else
2274			CFLAGS="$CFLAGS -I$ac_default_prefix/include"
2275			LIBS="$LIBS -L$ac_default_prefix/lib -lgmp"
2276		fi
2277		cat > conftest.$ac_ext <<EOF
2278#line 2279 "configure"
2279#include "confdefs.h"
2280#include <gmp.h>
2281int main() {
2282mpf_t x; mpf_init(x);
2283; return 0; }
2284EOF
2285if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2286  rm -rf conftest*
2287  ac_cv_have_gmp=yes
2288else
2289  echo "configure: failed program was:" >&5
2290  cat conftest.$ac_ext >&5
2291  rm -rf conftest*
2292  ac_cv_have_gmp=no
2293fi
2294rm -f conftest*
2295		if test "$ac_cv_have_gmp" = "yes"
2296		then
2297			ac_cv_c_long_double=no
2298			cat >> confdefs.h <<\EOF
2299#define HAVE_GMP 1
2300EOF
2301
2302			fp_package=gmp
2303		else
2304			CFLAGS=$OLDCFLAGS
2305			LIBS=$OLDLIBS
2306		fi
2307
2308fi
2309
2310echo "$ac_t""$ac_cv_have_gmp" 1>&6
2311
2312								if test "$ac_cv_have_gmp" = "no"
2313	then
2314		echo $ac_n "checking for long double""... $ac_c" 1>&6
2315echo "configure:2316: checking for long double" >&5
2316		if test "$cross_compiling" = yes; then
2317    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
2318else
2319  cat > conftest.$ac_ext <<EOF
2320#line 2321 "configure"
2321#include "confdefs.h"
2322
2323			#include "confdefs.h"
2324			int main() 
2325			{
2326			    /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
2327			    long double foo = 0.0;
2328			    /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
2329			    return (sizeof(long double) <= sizeof(double)); 
2330			}
2331		    
2332EOF
2333if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2334then
2335  ac_cv_c_long_double=yes
2336else
2337  echo "configure: failed program was:" >&5
2338  cat conftest.$ac_ext >&5
2339  rm -fr conftest*
2340  ac_cv_c_long_double=no
2341
2342fi
2343rm -fr conftest*
2344fi
2345
2346		if test $ac_cv_c_long_double = yes
2347		then
2348		    fp_package=ldb
2349		    cat >> confdefs.h <<\EOF
2350#define HAVE_LONG_DOUBLE 1
2351EOF
2352
2353		fi
2354		echo "$ac_t""$ac_cv_c_long_double" 1>&6
2355	fi
2356elif test $fp_package = gmp
2357then
2358	cat >> confdefs.h <<\EOF
2359#define HAVE_GMP 1
2360EOF
2361
2362elif test $fp_package = ldb
2363then
2364	cat >> confdefs.h <<\EOF
2365#define HAVE_LONG_DOUBLE 1
2366EOF
2367
2368fi
2369
2370if test -z "$fp_package"
2371then
2372	fp_package=dbl
2373elif test $fp_package = gmp
2374then
2375	LIBS="$LIBS -lgmp"
2376fi
2377
2378CHECKOKAY=okay-$fp_package
2379
2380
2381CFLAGS="`echo $CFLAGS | sed -e 's/-g //g' -e 's/ -g$//g' -e 's/^-g$//'`"
2382
2383CFLAGS="`echo $CFLAGS | sed -e 's/-O2 //g' -e 's/ -O2$//g' -e 's/^-O2$//'`"
2384
2385trap '' 1 2 15
2386cat > confcache <<\EOF
2387# This file is a shell script that caches the results of configure
2388# tests run on this system so they can be shared between configure
2389# scripts and configure runs.  It is not useful on other systems.
2390# If it contains results you don't want to keep, you may remove or edit it.
2391#
2392# By default, configure uses ./config.cache as the cache file,
2393# creating it if it does not exist already.  You can give configure
2394# the --cache-file=FILE option to use a different cache file; that is
2395# what configure does when it calls configure scripts in
2396# subdirectories, so they share the cache.
2397# Giving --cache-file=/dev/null disables caching, for debugging configure.
2398# config.status only pays attention to the cache file if you give it the
2399# --recheck option to rerun configure.
2400#
2401EOF
2402# The following way of writing the cache mishandles newlines in values,
2403# but we know of no workaround that is simple, portable, and efficient.
2404# So, don't put newlines in cache variables' values.
2405# Ultrix sh set writes to stderr and can't be redirected directly,
2406# and sets the high bit in the cache file unless we assign to the vars.
2407(set) 2>&1 |
2408  case `(ac_space=' '; set | grep ac_space) 2>&1` in
2409  *ac_space=\ *)
2410    # `set' does not quote correctly, so add quotes (double-quote substitution
2411    # turns \\\\ into \\, and sed turns \\ into \).
2412    sed -n \
2413      -e "s/'/'\\\\''/g" \
2414      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2415    ;;
2416  *)
2417    # `set' quotes correctly as required by POSIX, so do not add quotes.
2418    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2419    ;;
2420  esac >> confcache
2421if cmp -s $cache_file confcache; then
2422  :
2423else
2424  if test -w $cache_file; then
2425    echo "updating cache $cache_file"
2426    cat confcache > $cache_file
2427  else
2428    echo "not updating unwritable cache $cache_file"
2429  fi
2430fi
2431rm -f confcache
2432
2433trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2434
2435test "x$prefix" = xNONE && prefix=$ac_default_prefix
2436# Let make expand exec_prefix.
2437test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2438
2439# Any assignment to VPATH causes Sun make to only execute
2440# the first set of double-colon rules, so remove it if not needed.
2441# If there is a colon in the path, we need to keep it.
2442if test "x$srcdir" = x.; then
2443  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
2444fi
2445
2446trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2447
2448DEFS=-DHAVE_CONFIG_H
2449
2450# Without the "./", some shells look in PATH for config.status.
2451: ${CONFIG_STATUS=./config.status}
2452
2453echo creating $CONFIG_STATUS
2454rm -f $CONFIG_STATUS
2455cat > $CONFIG_STATUS <<EOF
2456#! /bin/sh
2457# Generated automatically by configure.
2458# Run this file to recreate the current configuration.
2459# This directory was configured as follows,
2460# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2461#
2462# $0 $ac_configure_args
2463#
2464# Compiler output produced by configure, useful for debugging
2465# configure, is in ./config.log if it exists.
2466
2467ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2468for ac_option
2469do
2470  case "\$ac_option" in
2471  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2472    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2473    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2474  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2475    echo "$CONFIG_STATUS generated by autoconf version 2.13"
2476    exit 0 ;;
2477  -help | --help | --hel | --he | --h)
2478    echo "\$ac_cs_usage"; exit 0 ;;
2479  *) echo "\$ac_cs_usage"; exit 1 ;;
2480  esac
2481done
2482
2483ac_given_srcdir=$srcdir
2484
2485trap 'rm -fr `echo "Makefile ndiff.sh:ndiff.sin config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2486EOF
2487cat >> $CONFIG_STATUS <<EOF
2488
2489# Protect against being on the right side of a sed subst in config.status.
2490sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2491 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2492$ac_vpsub
2493$extrasub
2494s%@SHELL@%$SHELL%g
2495s%@CFLAGS@%$CFLAGS%g
2496s%@CPPFLAGS@%$CPPFLAGS%g
2497s%@CXXFLAGS@%$CXXFLAGS%g
2498s%@FFLAGS@%$FFLAGS%g
2499s%@DEFS@%$DEFS%g
2500s%@LDFLAGS@%$LDFLAGS%g
2501s%@LIBS@%$LIBS%g
2502s%@exec_prefix@%$exec_prefix%g
2503s%@prefix@%$prefix%g
2504s%@program_transform_name@%$program_transform_name%g
2505s%@bindir@%$bindir%g
2506s%@sbindir@%$sbindir%g
2507s%@libexecdir@%$libexecdir%g
2508s%@datadir@%$datadir%g
2509s%@sysconfdir@%$sysconfdir%g
2510s%@sharedstatedir@%$sharedstatedir%g
2511s%@localstatedir@%$localstatedir%g
2512s%@libdir@%$libdir%g
2513s%@includedir@%$includedir%g
2514s%@oldincludedir@%$oldincludedir%g
2515s%@infodir@%$infodir%g
2516s%@mandir@%$mandir%g
2517s%@DATE@%$DATE%g
2518s%@VERSION@%$VERSION%g
2519s%@VERSIONREGEXP@%$VERSIONREGEXP%g
2520s%@CC@%$CC%g
2521s%@AUTOCONF@%$AUTOCONF%g
2522s%@AUTOHEADER@%$AUTOHEADER%g
2523s%@AWK@%$AWK%g
2524s%@SH@%$SH%g
2525s%@MKDIR@%$MKDIR%g
2526s%@CAT@%$CAT%g
2527s%@CHECKNR@%$CHECKNR%g
2528s%@CHECKSUM@%$CHECKSUM%g
2529s%@CHMOD@%$CHMOD%g
2530s%@CMP@%$CMP%g
2531s%@CP@%$CP%g
2532s%@DEROFF@%$DEROFF%g
2533s%@DIFF@%$DIFF%g
2534s%@DISTILL@%$DISTILL%g
2535s%@DITROFF@%$DITROFF%g
2536s%@DW@%$DW%g
2537s%@ETAGS@%$ETAGS%g
2538s%@GREP@%$GREP%g
2539s%@GZIP@%$GZIP%g
2540s%@ISPELL@%$ISPELL%g
2541s%@JAR@%$JAR%g
2542s%@LN@%$LN%g
2543s%@LS@%$LS%g
2544s%@MAN2HTML@%$MAN2HTML%g
2545s%@MV@%$MV%g
2546s%@NROFF@%$NROFF%g
2547s%@RM@%$RM%g
2548s%@SED@%$SED%g
2549s%@SORT@%$SORT%g
2550s%@SPELL@%$SPELL%g
2551s%@TAR@%$TAR%g
2552s%@TGRIND@%$TGRIND%g
2553s%@UNZIP@%$UNZIP%g
2554s%@ZIP@%$ZIP%g
2555s%@ZOO@%$ZOO%g
2556s%@CPP@%$CPP%g
2557s%@CHECKOKAY@%$CHECKOKAY%g
2558
2559CEOF
2560EOF
2561
2562cat >> $CONFIG_STATUS <<\EOF
2563
2564# Split the substitutions into bite-sized pieces for seds with
2565# small command number limits, like on Digital OSF/1 and HP-UX.
2566ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2567ac_file=1 # Number of current file.
2568ac_beg=1 # First line for current file.
2569ac_end=$ac_max_sed_cmds # Line after last line for current file.
2570ac_more_lines=:
2571ac_sed_cmds=""
2572while $ac_more_lines; do
2573  if test $ac_beg -gt 1; then
2574    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2575  else
2576    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2577  fi
2578  if test ! -s conftest.s$ac_file; then
2579    ac_more_lines=false
2580    rm -f conftest.s$ac_file
2581  else
2582    if test -z "$ac_sed_cmds"; then
2583      ac_sed_cmds="sed -f conftest.s$ac_file"
2584    else
2585      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2586    fi
2587    ac_file=`expr $ac_file + 1`
2588    ac_beg=$ac_end
2589    ac_end=`expr $ac_end + $ac_max_sed_cmds`
2590  fi
2591done
2592if test -z "$ac_sed_cmds"; then
2593  ac_sed_cmds=cat
2594fi
2595EOF
2596
2597cat >> $CONFIG_STATUS <<EOF
2598
2599CONFIG_FILES=\${CONFIG_FILES-"Makefile ndiff.sh:ndiff.sin"}
2600EOF
2601cat >> $CONFIG_STATUS <<\EOF
2602for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2603  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2604  case "$ac_file" in
2605  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2606       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2607  *) ac_file_in="${ac_file}.in" ;;
2608  esac
2609
2610  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2611
2612  # Remove last slash and all that follows it.  Not all systems have dirname.
2613  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2614  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2615    # The file is in a subdirectory.
2616    test ! -d "$ac_dir" && mkdir "$ac_dir"
2617    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2618    # A "../" for each directory in $ac_dir_suffix.
2619    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2620  else
2621    ac_dir_suffix= ac_dots=
2622  fi
2623
2624  case "$ac_given_srcdir" in
2625  .)  srcdir=.
2626      if test -z "$ac_dots"; then top_srcdir=.
2627      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2628  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2629  *) # Relative path.
2630    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2631    top_srcdir="$ac_dots$ac_given_srcdir" ;;
2632  esac
2633
2634
2635  echo creating "$ac_file"
2636  rm -f "$ac_file"
2637  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2638  case "$ac_file" in
2639  *Makefile*) ac_comsub="1i\\
2640# $configure_input" ;;
2641  *) ac_comsub= ;;
2642  esac
2643
2644  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2645  sed -e "$ac_comsub
2646s%@configure_input@%$configure_input%g
2647s%@srcdir@%$srcdir%g
2648s%@top_srcdir@%$top_srcdir%g
2649" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2650fi; done
2651rm -f conftest.s*
2652
2653# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2654# NAME is the cpp macro being defined and VALUE is the value it is being given.
2655#
2656# ac_d sets the value in "#define NAME VALUE" lines.
2657ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
2658ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
2659ac_dC='\3'
2660ac_dD='%g'
2661# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2662ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
2663ac_uB='\([ 	]\)%\1#\2define\3'
2664ac_uC=' '
2665ac_uD='\4%g'
2666# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2667ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
2668ac_eB='$%\1#\2define\3'
2669ac_eC=' '
2670ac_eD='%g'
2671
2672if test "${CONFIG_HEADERS+set}" != set; then
2673EOF
2674cat >> $CONFIG_STATUS <<EOF
2675  CONFIG_HEADERS="config.h:config.hin"
2676EOF
2677cat >> $CONFIG_STATUS <<\EOF
2678fi
2679for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2680  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2681  case "$ac_file" in
2682  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2683       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2684  *) ac_file_in="${ac_file}.in" ;;
2685  esac
2686
2687  echo creating $ac_file
2688
2689  rm -f conftest.frag conftest.in conftest.out
2690  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2691  cat $ac_file_inputs > conftest.in
2692
2693EOF
2694
2695# Transform confdefs.h into a sed script conftest.vals that substitutes
2696# the proper values into config.h.in to produce config.h.  And first:
2697# Protect against being on the right side of a sed subst in config.status.
2698# Protect against being in an unquoted here document in config.status.
2699rm -f conftest.vals
2700cat > conftest.hdr <<\EOF
2701s/[\\&%]/\\&/g
2702s%[\\$`]%\\&%g
2703s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2704s%ac_d%ac_u%gp
2705s%ac_u%ac_e%gp
2706EOF
2707sed -n -f conftest.hdr confdefs.h > conftest.vals
2708rm -f conftest.hdr
2709
2710# This sed command replaces #undef with comments.  This is necessary, for
2711# example, in the case of _POSIX_SOURCE, which is predefined and required
2712# on some systems where configure will not decide to define it.
2713cat >> conftest.vals <<\EOF
2714s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2715EOF
2716
2717# Break up conftest.vals because some shells have a limit on
2718# the size of here documents, and old seds have small limits too.
2719
2720rm -f conftest.tail
2721while :
2722do
2723  ac_lines=`grep -c . conftest.vals`
2724  # grep -c gives empty output for an empty file on some AIX systems.
2725  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2726  # Write a limited-size here document to conftest.frag.
2727  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2728  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2729  echo 'CEOF
2730  sed -f conftest.frag conftest.in > conftest.out
2731  rm -f conftest.in
2732  mv conftest.out conftest.in
2733' >> $CONFIG_STATUS
2734  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2735  rm -f conftest.vals
2736  mv conftest.tail conftest.vals
2737done
2738rm -f conftest.vals
2739
2740cat >> $CONFIG_STATUS <<\EOF
2741  rm -f conftest.frag conftest.h
2742  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
2743  cat conftest.in >> conftest.h
2744  rm -f conftest.in
2745  if cmp -s $ac_file conftest.h 2>/dev/null; then
2746    echo "$ac_file is unchanged"
2747    rm -f conftest.h
2748  else
2749    # Remove last slash and all that follows it.  Not all systems have dirname.
2750      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2751      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2752      # The file is in a subdirectory.
2753      test ! -d "$ac_dir" && mkdir "$ac_dir"
2754    fi
2755    rm -f $ac_file
2756    mv conftest.h $ac_file
2757  fi
2758fi; done
2759
2760EOF
2761cat >> $CONFIG_STATUS <<EOF
2762
2763EOF
2764cat >> $CONFIG_STATUS <<\EOF
2765
2766exit 0
2767EOF
2768chmod +x $CONFIG_STATUS
2769rm -fr confdefs* $ac_clean_files
2770test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2771
2772
2773chmod 555 ndiff.sh
2774chmod 444 Makefile
2775