1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.53.
4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10if expr a : '\(a\)' >/dev/null 2>&1; then
11  as_expr=expr
12else
13  as_expr=false
14fi
15
16
17## --------------------- ##
18## M4sh Initialization.  ##
19## --------------------- ##
20
21# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23  emulate sh
24  NULLCMD=:
25elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26  set -o posix
27fi
28
29# NLS nuisances.
30# Support unset when possible.
31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32  as_unset=unset
33else
34  as_unset=false
35fi
36
37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38    { $as_unset LANG || test "${LANG+set}" != set; } ||
39      { LANG=C; export LANG; }
40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42      { LC_ALL=C; export LC_ALL; }
43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45      { LC_TIME=C; export LC_TIME; }
46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48      { LC_CTYPE=C; export LC_CTYPE; }
49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51      { LANGUAGE=C; export LANGUAGE; }
52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54      { LC_COLLATE=C; export LC_COLLATE; }
55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57      { LC_NUMERIC=C; export LC_NUMERIC; }
58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60      { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63# Name of the executable.
64as_me=`(basename "$0") 2>/dev/null ||
65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66	 X"$0" : 'X\(//\)$' \| \
67	 X"$0" : 'X\(/\)$' \| \
68	 .     : '\(.\)' 2>/dev/null ||
69echo X/"$0" |
70    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
72  	  /^X\/\(\/\).*/{ s//\1/; q; }
73  	  s/.*/./; q'`
74
75# PATH needs CR, and LINENO needs CR and PATH.
76# Avoid depending upon Character Ranges.
77as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80as_cr_digits='0123456789'
81as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83# The user is always right.
84if test "${PATH_SEPARATOR+set}" != set; then
85  echo "#! /bin/sh" >conftest.sh
86  echo  "exit 0"   >>conftest.sh
87  chmod +x conftest.sh
88  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89    PATH_SEPARATOR=';'
90  else
91    PATH_SEPARATOR=:
92  fi
93  rm -f conftest.sh
94fi
95
96
97  as_lineno_1=$LINENO
98  as_lineno_2=$LINENO
99  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100  test "x$as_lineno_1" != "x$as_lineno_2" &&
101  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
102  # Find who we are.  Look in the path if we contain no path at all
103  # relative or not.
104  case $0 in
105    *[\\/]* ) as_myself=$0 ;;
106    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107for as_dir in $PATH
108do
109  IFS=$as_save_IFS
110  test -z "$as_dir" && as_dir=.
111  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112done
113
114       ;;
115  esac
116  # We did not find ourselves, most probably we were run as `sh COMMAND'
117  # in which case we are not to be found in the path.
118  if test "x$as_myself" = x; then
119    as_myself=$0
120  fi
121  if test ! -f "$as_myself"; then
122    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123   { (exit 1); exit 1; }; }
124  fi
125  case $CONFIG_SHELL in
126  '')
127    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129do
130  IFS=$as_save_IFS
131  test -z "$as_dir" && as_dir=.
132  for as_base in sh bash ksh sh5; do
133	 case $as_dir in
134	 /*)
135	   if ("$as_dir/$as_base" -c '
136  as_lineno_1=$LINENO
137  as_lineno_2=$LINENO
138  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139  test "x$as_lineno_1" != "x$as_lineno_2" &&
140  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
141	     CONFIG_SHELL=$as_dir/$as_base
142	     export CONFIG_SHELL
143	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144	   fi;;
145	 esac
146       done
147done
148;;
149  esac
150
151  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152  # uniformly replaced by the line number.  The first 'sed' inserts a
153  # line-number line before each line; the second 'sed' does the real
154  # work.  The second script uses 'N' to pair each line-number line
155  # with the numbered line, and appends trailing '-' during
156  # substitution so that $LINENO is not a special case at line end.
157  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
159  sed '=' <$as_myself |
160    sed '
161      N
162      s,$,-,
163      : loop
164      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165      t loop
166      s,-$,,
167      s,^['$as_cr_digits']*\n,,
168    ' >$as_me.lineno &&
169  chmod +x $as_me.lineno ||
170    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171   { (exit 1); exit 1; }; }
172
173  # Don't try to exec as it changes $[0], causing all sort of problems
174  # (the dirname of $[0] is not the place where we might find the
175  # original and so on.  Autoconf is especially sensible to this).
176  . ./$as_me.lineno
177  # Exit status is that of the last command.
178  exit
179}
180
181
182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183  *c*,-n*) ECHO_N= ECHO_C='
184' ECHO_T='	' ;;
185  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
187esac
188
189if expr a : '\(a\)' >/dev/null 2>&1; then
190  as_expr=expr
191else
192  as_expr=false
193fi
194
195rm -f conf$$ conf$$.exe conf$$.file
196echo >conf$$.file
197if ln -s conf$$.file conf$$ 2>/dev/null; then
198  # We could just check for DJGPP; but this test a) works b) is more generic
199  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200  if test -f conf$$.exe; then
201    # Don't use ln at all; we don't have any links
202    as_ln_s='cp -p'
203  else
204    as_ln_s='ln -s'
205  fi
206elif ln conf$$.file conf$$ 2>/dev/null; then
207  as_ln_s=ln
208else
209  as_ln_s='cp -p'
210fi
211rm -f conf$$ conf$$.exe conf$$.file
212
213as_executable_p="test -f"
214
215# Sed expression to map a string onto a valid CPP name.
216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218# Sed expression to map a string onto a valid variable name.
219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222# IFS
223# We need space, tab and new line, in precisely that order.
224as_nl='
225'
226IFS=" 	$as_nl"
227
228# CDPATH.
229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232# Name of the host.
233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234# so uname gets run too.
235ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237exec 6>&1
238
239#
240# Initializations.
241#
242ac_default_prefix=/usr/local
243cross_compiling=no
244subdirs=
245MFLAGS=
246MAKEFLAGS=
247SHELL=${CONFIG_SHELL-/bin/sh}
248
249# Maximum number of lines to put in a shell here document.
250# This variable seems obsolete.  It should probably be removed, and
251# only ac_max_sed_lines should be used.
252: ${ac_max_here_lines=38}
253
254# Identity of this package.
255PACKAGE_NAME=
256PACKAGE_TARNAME=
257PACKAGE_VERSION=
258PACKAGE_STRING=
259PACKAGE_BUGREPORT=
260
261ac_unique_file="sha.c"
262# Factoring default headers for most tests.
263ac_includes_default="\
264#include <stdio.h>
265#if HAVE_SYS_TYPES_H
266# include <sys/types.h>
267#endif
268#if HAVE_SYS_STAT_H
269# include <sys/stat.h>
270#endif
271#if STDC_HEADERS
272# include <stdlib.h>
273# include <stddef.h>
274#else
275# if HAVE_STDLIB_H
276#  include <stdlib.h>
277# endif
278#endif
279#if HAVE_STRING_H
280# if !STDC_HEADERS && HAVE_MEMORY_H
281#  include <memory.h>
282# endif
283# include <string.h>
284#endif
285#if HAVE_STRINGS_H
286# include <strings.h>
287#endif
288#if HAVE_INTTYPES_H
289# include <inttypes.h>
290#else
291# if HAVE_STDINT_H
292#  include <stdint.h>
293# endif
294#endif
295#if HAVE_UNISTD_H
296# include <unistd.h>
297#endif"
298
299
300# Initialize some variables set by options.
301ac_init_help=
302ac_init_version=false
303# The variables have the same names as the options, with
304# dashes changed to underlines.
305cache_file=/dev/null
306exec_prefix=NONE
307no_create=
308no_recursion=
309prefix=NONE
310program_prefix=NONE
311program_suffix=NONE
312program_transform_name=s,x,x,
313silent=
314site=
315srcdir=
316verbose=
317x_includes=NONE
318x_libraries=NONE
319
320# Installation directory options.
321# These are left unexpanded so users can "make install exec_prefix=/foo"
322# and all the variables that are supposed to be based on exec_prefix
323# by default will actually change.
324# Use braces instead of parens because sh, perl, etc. also accept them.
325bindir='${exec_prefix}/bin'
326sbindir='${exec_prefix}/sbin'
327libexecdir='${exec_prefix}/libexec'
328datadir='${prefix}/share'
329sysconfdir='${prefix}/etc'
330sharedstatedir='${prefix}/com'
331localstatedir='${prefix}/var'
332libdir='${exec_prefix}/lib'
333includedir='${prefix}/include'
334oldincludedir='/usr/include'
335infodir='${prefix}/info'
336mandir='${prefix}/man'
337
338ac_prev=
339for ac_option
340do
341  # If the previous option needs an argument, assign it.
342  if test -n "$ac_prev"; then
343    eval "$ac_prev=\$ac_option"
344    ac_prev=
345    continue
346  fi
347
348  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
349
350  # Accept the important Cygnus configure options, so we can diagnose typos.
351
352  case $ac_option in
353
354  -bindir | --bindir | --bindi | --bind | --bin | --bi)
355    ac_prev=bindir ;;
356  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
357    bindir=$ac_optarg ;;
358
359  -build | --build | --buil | --bui | --bu)
360    ac_prev=build_alias ;;
361  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362    build_alias=$ac_optarg ;;
363
364  -cache-file | --cache-file | --cache-fil | --cache-fi \
365  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366    ac_prev=cache_file ;;
367  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369    cache_file=$ac_optarg ;;
370
371  --config-cache | -C)
372    cache_file=config.cache ;;
373
374  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
375    ac_prev=datadir ;;
376  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
377  | --da=*)
378    datadir=$ac_optarg ;;
379
380  -disable-* | --disable-*)
381    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382    # Reject names that are not valid shell variable names.
383    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385   { (exit 1); exit 1; }; }
386    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387    eval "enable_$ac_feature=no" ;;
388
389  -enable-* | --enable-*)
390    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391    # Reject names that are not valid shell variable names.
392    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394   { (exit 1); exit 1; }; }
395    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
396    case $ac_option in
397      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398      *) ac_optarg=yes ;;
399    esac
400    eval "enable_$ac_feature='$ac_optarg'" ;;
401
402  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404  | --exec | --exe | --ex)
405    ac_prev=exec_prefix ;;
406  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408  | --exec=* | --exe=* | --ex=*)
409    exec_prefix=$ac_optarg ;;
410
411  -gas | --gas | --ga | --g)
412    # Obsolete; use --with-gas.
413    with_gas=yes ;;
414
415  -help | --help | --hel | --he | -h)
416    ac_init_help=long ;;
417  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418    ac_init_help=recursive ;;
419  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420    ac_init_help=short ;;
421
422  -host | --host | --hos | --ho)
423    ac_prev=host_alias ;;
424  -host=* | --host=* | --hos=* | --ho=*)
425    host_alias=$ac_optarg ;;
426
427  -includedir | --includedir | --includedi | --included | --include \
428  | --includ | --inclu | --incl | --inc)
429    ac_prev=includedir ;;
430  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431  | --includ=* | --inclu=* | --incl=* | --inc=*)
432    includedir=$ac_optarg ;;
433
434  -infodir | --infodir | --infodi | --infod | --info | --inf)
435    ac_prev=infodir ;;
436  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437    infodir=$ac_optarg ;;
438
439  -libdir | --libdir | --libdi | --libd)
440    ac_prev=libdir ;;
441  -libdir=* | --libdir=* | --libdi=* | --libd=*)
442    libdir=$ac_optarg ;;
443
444  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445  | --libexe | --libex | --libe)
446    ac_prev=libexecdir ;;
447  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448  | --libexe=* | --libex=* | --libe=*)
449    libexecdir=$ac_optarg ;;
450
451  -localstatedir | --localstatedir | --localstatedi | --localstated \
452  | --localstate | --localstat | --localsta | --localst \
453  | --locals | --local | --loca | --loc | --lo)
454    ac_prev=localstatedir ;;
455  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458    localstatedir=$ac_optarg ;;
459
460  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
461    ac_prev=mandir ;;
462  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
463    mandir=$ac_optarg ;;
464
465  -nfp | --nfp | --nf)
466    # Obsolete; use --without-fp.
467    with_fp=no ;;
468
469  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470  | --no-cr | --no-c | -n)
471    no_create=yes ;;
472
473  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
475    no_recursion=yes ;;
476
477  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479  | --oldin | --oldi | --old | --ol | --o)
480    ac_prev=oldincludedir ;;
481  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484    oldincludedir=$ac_optarg ;;
485
486  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
487    ac_prev=prefix ;;
488  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
489    prefix=$ac_optarg ;;
490
491  -program-prefix | --program-prefix | --program-prefi | --program-pref \
492  | --program-pre | --program-pr | --program-p)
493    ac_prev=program_prefix ;;
494  -program-prefix=* | --program-prefix=* | --program-prefi=* \
495  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496    program_prefix=$ac_optarg ;;
497
498  -program-suffix | --program-suffix | --program-suffi | --program-suff \
499  | --program-suf | --program-su | --program-s)
500    ac_prev=program_suffix ;;
501  -program-suffix=* | --program-suffix=* | --program-suffi=* \
502  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503    program_suffix=$ac_optarg ;;
504
505  -program-transform-name | --program-transform-name \
506  | --program-transform-nam | --program-transform-na \
507  | --program-transform-n | --program-transform- \
508  | --program-transform | --program-transfor \
509  | --program-transfo | --program-transf \
510  | --program-trans | --program-tran \
511  | --progr-tra | --program-tr | --program-t)
512    ac_prev=program_transform_name ;;
513  -program-transform-name=* | --program-transform-name=* \
514  | --program-transform-nam=* | --program-transform-na=* \
515  | --program-transform-n=* | --program-transform-=* \
516  | --program-transform=* | --program-transfor=* \
517  | --program-transfo=* | --program-transf=* \
518  | --program-trans=* | --program-tran=* \
519  | --progr-tra=* | --program-tr=* | --program-t=*)
520    program_transform_name=$ac_optarg ;;
521
522  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523  | -silent | --silent | --silen | --sile | --sil)
524    silent=yes ;;
525
526  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
527    ac_prev=sbindir ;;
528  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
529  | --sbi=* | --sb=*)
530    sbindir=$ac_optarg ;;
531
532  -sharedstatedir | --sharedstatedir | --sharedstatedi \
533  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534  | --sharedst | --shareds | --shared | --share | --shar \
535  | --sha | --sh)
536    ac_prev=sharedstatedir ;;
537  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
540  | --sha=* | --sh=*)
541    sharedstatedir=$ac_optarg ;;
542
543  -site | --site | --sit)
544    ac_prev=site ;;
545  -site=* | --site=* | --sit=*)
546    site=$ac_optarg ;;
547
548  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
549    ac_prev=srcdir ;;
550  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
551    srcdir=$ac_optarg ;;
552
553  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554  | --syscon | --sysco | --sysc | --sys | --sy)
555    ac_prev=sysconfdir ;;
556  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558    sysconfdir=$ac_optarg ;;
559
560  -target | --target | --targe | --targ | --tar | --ta | --t)
561    ac_prev=target_alias ;;
562  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563    target_alias=$ac_optarg ;;
564
565  -v | -verbose | --verbose | --verbos | --verbo | --verb)
566    verbose=yes ;;
567
568  -version | --version | --versio | --versi | --vers | -V)
569    ac_init_version=: ;;
570
571  -with-* | --with-*)
572    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573    # Reject names that are not valid shell variable names.
574    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575      { echo "$as_me: error: invalid package name: $ac_package" >&2
576   { (exit 1); exit 1; }; }
577    ac_package=`echo $ac_package| sed 's/-/_/g'`
578    case $ac_option in
579      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
580      *) ac_optarg=yes ;;
581    esac
582    eval "with_$ac_package='$ac_optarg'" ;;
583
584  -without-* | --without-*)
585    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586    # Reject names that are not valid shell variable names.
587    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588      { echo "$as_me: error: invalid package name: $ac_package" >&2
589   { (exit 1); exit 1; }; }
590    ac_package=`echo $ac_package | sed 's/-/_/g'`
591    eval "with_$ac_package=no" ;;
592
593  --x)
594    # Obsolete; use --with-x.
595    with_x=yes ;;
596
597  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598  | --x-incl | --x-inc | --x-in | --x-i)
599    ac_prev=x_includes ;;
600  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602    x_includes=$ac_optarg ;;
603
604  -x-libraries | --x-libraries | --x-librarie | --x-librari \
605  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606    ac_prev=x_libraries ;;
607  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609    x_libraries=$ac_optarg ;;
610
611  -*) { echo "$as_me: error: unrecognized option: $ac_option
612Try \`$0 --help' for more information." >&2
613   { (exit 1); exit 1; }; }
614    ;;
615
616  *=*)
617    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618    # Reject names that are not valid shell variable names.
619    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621   { (exit 1); exit 1; }; }
622    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623    eval "$ac_envvar='$ac_optarg'"
624    export $ac_envvar ;;
625
626  *)
627    # FIXME: should be removed in autoconf 3.0.
628    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
632    ;;
633
634  esac
635done
636
637if test -n "$ac_prev"; then
638  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639  { echo "$as_me: error: missing argument to $ac_option" >&2
640   { (exit 1); exit 1; }; }
641fi
642
643# Be sure to have absolute paths.
644for ac_var in exec_prefix prefix
645do
646  eval ac_val=$`echo $ac_var`
647  case $ac_val in
648    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650   { (exit 1); exit 1; }; };;
651  esac
652done
653
654# Be sure to have absolute paths.
655for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656              localstatedir libdir includedir oldincludedir infodir mandir
657do
658  eval ac_val=$`echo $ac_var`
659  case $ac_val in
660    [\\/$]* | ?:[\\/]* ) ;;
661    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662   { (exit 1); exit 1; }; };;
663  esac
664done
665
666# There might be people who depend on the old broken behavior: `$host'
667# used to hold the argument of --host etc.
668# FIXME: To remove some day.
669build=$build_alias
670host=$host_alias
671target=$target_alias
672
673# FIXME: To remove some day.
674if test "x$host_alias" != x; then
675  if test "x$build_alias" = x; then
676    cross_compiling=maybe
677    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678    If a cross compiler is detected then cross compile mode will be used." >&2
679  elif test "x$build_alias" != "x$host_alias"; then
680    cross_compiling=yes
681  fi
682fi
683
684ac_tool_prefix=
685test -n "$host_alias" && ac_tool_prefix=$host_alias-
686
687test "$silent" = yes && exec 6>/dev/null
688
689
690# Find the source files, if location was not specified.
691if test -z "$srcdir"; then
692  ac_srcdir_defaulted=yes
693  # Try the directory containing this script, then its parent.
694  ac_confdir=`(dirname "$0") 2>/dev/null ||
695$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696         X"$0" : 'X\(//\)[^/]' \| \
697         X"$0" : 'X\(//\)$' \| \
698         X"$0" : 'X\(/\)' \| \
699         .     : '\(.\)' 2>/dev/null ||
700echo X"$0" |
701    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703  	  /^X\(\/\/\)$/{ s//\1/; q; }
704  	  /^X\(\/\).*/{ s//\1/; q; }
705  	  s/.*/./; q'`
706  srcdir=$ac_confdir
707  if test ! -r $srcdir/$ac_unique_file; then
708    srcdir=..
709  fi
710else
711  ac_srcdir_defaulted=no
712fi
713if test ! -r $srcdir/$ac_unique_file; then
714  if test "$ac_srcdir_defaulted" = yes; then
715    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716   { (exit 1); exit 1; }; }
717  else
718    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719   { (exit 1); exit 1; }; }
720  fi
721fi
722srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723ac_env_build_alias_set=${build_alias+set}
724ac_env_build_alias_value=$build_alias
725ac_cv_env_build_alias_set=${build_alias+set}
726ac_cv_env_build_alias_value=$build_alias
727ac_env_host_alias_set=${host_alias+set}
728ac_env_host_alias_value=$host_alias
729ac_cv_env_host_alias_set=${host_alias+set}
730ac_cv_env_host_alias_value=$host_alias
731ac_env_target_alias_set=${target_alias+set}
732ac_env_target_alias_value=$target_alias
733ac_cv_env_target_alias_set=${target_alias+set}
734ac_cv_env_target_alias_value=$target_alias
735ac_env_CC_set=${CC+set}
736ac_env_CC_value=$CC
737ac_cv_env_CC_set=${CC+set}
738ac_cv_env_CC_value=$CC
739ac_env_CFLAGS_set=${CFLAGS+set}
740ac_env_CFLAGS_value=$CFLAGS
741ac_cv_env_CFLAGS_set=${CFLAGS+set}
742ac_cv_env_CFLAGS_value=$CFLAGS
743ac_env_LDFLAGS_set=${LDFLAGS+set}
744ac_env_LDFLAGS_value=$LDFLAGS
745ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746ac_cv_env_LDFLAGS_value=$LDFLAGS
747ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748ac_env_CPPFLAGS_value=$CPPFLAGS
749ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751ac_env_CPP_set=${CPP+set}
752ac_env_CPP_value=$CPP
753ac_cv_env_CPP_set=${CPP+set}
754ac_cv_env_CPP_value=$CPP
755
756#
757# Report the --help message.
758#
759if test "$ac_init_help" = "long"; then
760  # Omit some internal or obsolete options to make the list less imposing.
761  # This message is too long to be a string in the A/UX 3.1 sh.
762  cat <<_ACEOF
763\`configure' configures this package to adapt to many kinds of systems.
764
765Usage: $0 [OPTION]... [VAR=VALUE]...
766
767To assign environment variables (e.g., CC, CFLAGS...), specify them as
768VAR=VALUE.  See below for descriptions of some of the useful variables.
769
770Defaults for the options are specified in brackets.
771
772Configuration:
773  -h, --help              display this help and exit
774      --help=short        display options specific to this package
775      --help=recursive    display the short help of all the included packages
776  -V, --version           display version information and exit
777  -q, --quiet, --silent   do not print \`checking...' messages
778      --cache-file=FILE   cache test results in FILE [disabled]
779  -C, --config-cache      alias for \`--cache-file=config.cache'
780  -n, --no-create         do not create output files
781      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
782
783_ACEOF
784
785  cat <<_ACEOF
786Installation directories:
787  --prefix=PREFIX         install architecture-independent files in PREFIX
788                          [$ac_default_prefix]
789  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
790                          [PREFIX]
791
792By default, \`make install' will install all the files in
793\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
794an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795for instance \`--prefix=\$HOME'.
796
797For better control, use the options below.
798
799Fine tuning of the installation directories:
800  --bindir=DIR           user executables [EPREFIX/bin]
801  --sbindir=DIR          system admin executables [EPREFIX/sbin]
802  --libexecdir=DIR       program executables [EPREFIX/libexec]
803  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
804  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
805  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
806  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
807  --libdir=DIR           object code libraries [EPREFIX/lib]
808  --includedir=DIR       C header files [PREFIX/include]
809  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
810  --infodir=DIR          info documentation [PREFIX/info]
811  --mandir=DIR           man documentation [PREFIX/man]
812_ACEOF
813
814  cat <<\_ACEOF
815
816Program names:
817  --program-prefix=PREFIX            prepend PREFIX to installed program names
818  --program-suffix=SUFFIX            append SUFFIX to installed program names
819  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
820_ACEOF
821fi
822
823if test -n "$ac_init_help"; then
824
825  cat <<\_ACEOF
826
827Optional Features:
828  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
829  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
830  --disable-dependency-tracking Speeds up one-time builds
831  --enable-dependency-tracking  Do not reject slow dependency extractors
832
833Some influential environment variables:
834  CC          C compiler command
835  CFLAGS      C compiler flags
836  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
837              nonstandard directory <lib dir>
838  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
839              headers in a nonstandard directory <include dir>
840  CPP         C preprocessor
841
842Use these variables to override the choices made by `configure' or to help
843it to find libraries and programs with nonstandard names/locations.
844
845_ACEOF
846fi
847
848if test "$ac_init_help" = "recursive"; then
849  # If there are subdirs, report their specific --help.
850  ac_popdir=`pwd`
851  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852    test -d $ac_dir || continue
853    ac_builddir=.
854
855if test "$ac_dir" != .; then
856  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857  # A "../" for each directory in $ac_dir_suffix.
858  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
859else
860  ac_dir_suffix= ac_top_builddir=
861fi
862
863case $srcdir in
864  .)  # No --srcdir option.  We are building in place.
865    ac_srcdir=.
866    if test -z "$ac_top_builddir"; then
867       ac_top_srcdir=.
868    else
869       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
870    fi ;;
871  [\\/]* | ?:[\\/]* )  # Absolute path.
872    ac_srcdir=$srcdir$ac_dir_suffix;
873    ac_top_srcdir=$srcdir ;;
874  *) # Relative path.
875    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876    ac_top_srcdir=$ac_top_builddir$srcdir ;;
877esac
878# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
879# absolute.
880ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
881ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
882ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
883ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
884
885    cd $ac_dir
886    # Check for guested configure; otherwise get Cygnus style configure.
887    if test -f $ac_srcdir/configure.gnu; then
888      echo
889      $SHELL $ac_srcdir/configure.gnu  --help=recursive
890    elif test -f $ac_srcdir/configure; then
891      echo
892      $SHELL $ac_srcdir/configure  --help=recursive
893    elif test -f $ac_srcdir/configure.ac ||
894           test -f $ac_srcdir/configure.in; then
895      echo
896      $ac_configure --help
897    else
898      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
899    fi
900    cd $ac_popdir
901  done
902fi
903
904test -n "$ac_init_help" && exit 0
905if $ac_init_version; then
906  cat <<\_ACEOF
907
908Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
909Free Software Foundation, Inc.
910This configure script is free software; the Free Software Foundation
911gives unlimited permission to copy, distribute and modify it.
912_ACEOF
913  exit 0
914fi
915exec 5>config.log
916cat >&5 <<_ACEOF
917This file contains any messages produced by compilers while
918running configure, to aid debugging if configure makes a mistake.
919
920It was created by $as_me, which was
921generated by GNU Autoconf 2.53.  Invocation command line was
922
923  $ $0 $@
924
925_ACEOF
926{
927cat <<_ASUNAME
928## --------- ##
929## Platform. ##
930## --------- ##
931
932hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
933uname -m = `(uname -m) 2>/dev/null || echo unknown`
934uname -r = `(uname -r) 2>/dev/null || echo unknown`
935uname -s = `(uname -s) 2>/dev/null || echo unknown`
936uname -v = `(uname -v) 2>/dev/null || echo unknown`
937
938/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
939/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
940
941/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
942/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
943/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
944hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
945/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
946/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
947/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
948
949_ASUNAME
950
951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
952for as_dir in $PATH
953do
954  IFS=$as_save_IFS
955  test -z "$as_dir" && as_dir=.
956  echo "PATH: $as_dir"
957done
958
959} >&5
960
961cat >&5 <<_ACEOF
962
963
964## ----------- ##
965## Core tests. ##
966## ----------- ##
967
968_ACEOF
969
970
971# Keep a trace of the command line.
972# Strip out --no-create and --no-recursion so they do not pile up.
973# Also quote any args containing shell meta-characters.
974ac_configure_args=
975ac_sep=
976for ac_arg
977do
978  case $ac_arg in
979  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
980  | --no-cr | --no-c | -n ) continue ;;
981  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983    continue ;;
984  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
985    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
986  esac
987  case " $ac_configure_args " in
988    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
989    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
990       ac_sep=" " ;;
991  esac
992  # Get rid of the leading space.
993done
994
995# When interrupted or exit'd, cleanup temporary files, and complete
996# config.log.  We remove comments because anyway the quotes in there
997# would cause problems or look ugly.
998# WARNING: Be sure not to use single quotes in there, as some shells,
999# such as our DU 5.0 friend, will then `close' the trap.
1000trap 'exit_status=$?
1001  # Save into config.log some information that might help in debugging.
1002  {
1003    echo
1004    cat <<\_ASBOX
1005## ---------------- ##
1006## Cache variables. ##
1007## ---------------- ##
1008_ASBOX
1009    echo
1010    # The following way of writing the cache mishandles newlines in values,
1011{
1012  (set) 2>&1 |
1013    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1014    *ac_space=\ *)
1015      sed -n \
1016        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1017    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018      ;;
1019    *)
1020      sed -n \
1021        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1022      ;;
1023    esac;
1024}
1025    echo
1026    if test -s confdefs.h; then
1027      cat <<\_ASBOX
1028## ----------- ##
1029## confdefs.h. ##
1030## ----------- ##
1031_ASBOX
1032      echo
1033      sed "/^$/d" confdefs.h
1034      echo
1035    fi
1036    test "$ac_signal" != 0 &&
1037      echo "$as_me: caught signal $ac_signal"
1038    echo "$as_me: exit $exit_status"
1039  } >&5
1040  rm -f core core.* *.core &&
1041  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1042    exit $exit_status
1043     ' 0
1044for ac_signal in 1 2 13 15; do
1045  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1046done
1047ac_signal=0
1048
1049# confdefs.h avoids OS command line length limits that DEFS can exceed.
1050rm -rf conftest* confdefs.h
1051# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1052echo >confdefs.h
1053
1054# Predefined preprocessor variables.
1055
1056cat >>confdefs.h <<_ACEOF
1057#define PACKAGE_NAME "$PACKAGE_NAME"
1058_ACEOF
1059
1060
1061cat >>confdefs.h <<_ACEOF
1062#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1063_ACEOF
1064
1065
1066cat >>confdefs.h <<_ACEOF
1067#define PACKAGE_VERSION "$PACKAGE_VERSION"
1068_ACEOF
1069
1070
1071cat >>confdefs.h <<_ACEOF
1072#define PACKAGE_STRING "$PACKAGE_STRING"
1073_ACEOF
1074
1075
1076cat >>confdefs.h <<_ACEOF
1077#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1078_ACEOF
1079
1080
1081# Let the site file select an alternate cache file if it wants to.
1082# Prefer explicitly selected file to automatically selected ones.
1083if test -z "$CONFIG_SITE"; then
1084  if test "x$prefix" != xNONE; then
1085    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1086  else
1087    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1088  fi
1089fi
1090for ac_site_file in $CONFIG_SITE; do
1091  if test -r "$ac_site_file"; then
1092    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1093echo "$as_me: loading site script $ac_site_file" >&6;}
1094    sed 's/^/| /' "$ac_site_file" >&5
1095    . "$ac_site_file"
1096  fi
1097done
1098
1099if test -r "$cache_file"; then
1100  # Some versions of bash will fail to source /dev/null (special
1101  # files actually), so we avoid doing that.
1102  if test -f "$cache_file"; then
1103    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1104echo "$as_me: loading cache $cache_file" >&6;}
1105    case $cache_file in
1106      [\\/]* | ?:[\\/]* ) . $cache_file;;
1107      *)                      . ./$cache_file;;
1108    esac
1109  fi
1110else
1111  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1112echo "$as_me: creating cache $cache_file" >&6;}
1113  >$cache_file
1114fi
1115
1116# Check that the precious variables saved in the cache have kept the same
1117# value.
1118ac_cache_corrupted=false
1119for ac_var in `(set) 2>&1 |
1120               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1121  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1122  eval ac_new_set=\$ac_env_${ac_var}_set
1123  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1124  eval ac_new_val="\$ac_env_${ac_var}_value"
1125  case $ac_old_set,$ac_new_set in
1126    set,)
1127      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1128echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1129      ac_cache_corrupted=: ;;
1130    ,set)
1131      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1132echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1133      ac_cache_corrupted=: ;;
1134    ,);;
1135    *)
1136      if test "x$ac_old_val" != "x$ac_new_val"; then
1137        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1138echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1139        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1140echo "$as_me:   former value:  $ac_old_val" >&2;}
1141        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1142echo "$as_me:   current value: $ac_new_val" >&2;}
1143        ac_cache_corrupted=:
1144      fi;;
1145  esac
1146  # Pass precious variables to config.status.
1147  if test "$ac_new_set" = set; then
1148    case $ac_new_val in
1149    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1150      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1151    *) ac_arg=$ac_var=$ac_new_val ;;
1152    esac
1153    case " $ac_configure_args " in
1154      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1155      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1156    esac
1157  fi
1158done
1159if $ac_cache_corrupted; then
1160  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1161echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1162  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1163echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1164   { (exit 1); exit 1; }; }
1165fi
1166
1167ac_ext=c
1168ac_cpp='$CPP $CPPFLAGS'
1169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1171ac_compiler_gnu=$ac_cv_c_compiler_gnu
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190ac_aux_dir=
1191for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1192  if test -f $ac_dir/install-sh; then
1193    ac_aux_dir=$ac_dir
1194    ac_install_sh="$ac_aux_dir/install-sh -c"
1195    break
1196  elif test -f $ac_dir/install.sh; then
1197    ac_aux_dir=$ac_dir
1198    ac_install_sh="$ac_aux_dir/install.sh -c"
1199    break
1200  elif test -f $ac_dir/shtool; then
1201    ac_aux_dir=$ac_dir
1202    ac_install_sh="$ac_aux_dir/shtool install -c"
1203    break
1204  fi
1205done
1206if test -z "$ac_aux_dir"; then
1207  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1208echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1209   { (exit 1); exit 1; }; }
1210fi
1211ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1212ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1213ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1214
1215# Find a good install program.  We prefer a C program (faster),
1216# so one script is as good as another.  But avoid the broken or
1217# incompatible versions:
1218# SysV /etc/install, /usr/sbin/install
1219# SunOS /usr/etc/install
1220# IRIX /sbin/install
1221# AIX /bin/install
1222# AmigaOS /C/install, which installs bootblocks on floppy discs
1223# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1224# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1225# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1226# ./install, which can be erroneously created by make from ./install.sh.
1227echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1228echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1229if test -z "$INSTALL"; then
1230if test "${ac_cv_path_install+set}" = set; then
1231  echo $ECHO_N "(cached) $ECHO_C" >&6
1232else
1233  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1234for as_dir in $PATH
1235do
1236  IFS=$as_save_IFS
1237  test -z "$as_dir" && as_dir=.
1238  # Account for people who put trailing slashes in PATH elements.
1239case $as_dir/ in
1240  ./ | .// | /cC/* | \
1241  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1242  /usr/ucb/* ) ;;
1243  *)
1244    # OSF1 and SCO ODT 3.0 have their own names for install.
1245    # Don't use installbsd from OSF since it installs stuff as root
1246    # by default.
1247    for ac_prog in ginstall scoinst install; do
1248      for ac_exec_ext in '' $ac_executable_extensions; do
1249        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1250          if test $ac_prog = install &&
1251            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1252            # AIX install.  It has an incompatible calling convention.
1253            :
1254          elif test $ac_prog = install &&
1255            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1256            # program-specific install script used by HP pwplus--don't use.
1257            :
1258          else
1259            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1260            break 3
1261          fi
1262        fi
1263      done
1264    done
1265    ;;
1266esac
1267done
1268
1269
1270fi
1271  if test "${ac_cv_path_install+set}" = set; then
1272    INSTALL=$ac_cv_path_install
1273  else
1274    # As a last resort, use the slow shell script.  We don't cache a
1275    # path for INSTALL within a source directory, because that will
1276    # break other packages using the cache if that directory is
1277    # removed, or if the path is relative.
1278    INSTALL=$ac_install_sh
1279  fi
1280fi
1281echo "$as_me:$LINENO: result: $INSTALL" >&5
1282echo "${ECHO_T}$INSTALL" >&6
1283
1284# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1285# It thinks the first close brace ends the variable substitution.
1286test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1287
1288test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1289
1290test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1291
1292echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1293echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1294# Just in case
1295sleep 1
1296echo timestamp > conftest.file
1297# Do `set' in a subshell so we don't clobber the current shell's
1298# arguments.  Must try -L first in case configure is actually a
1299# symlink; some systems play weird games with the mod time of symlinks
1300# (eg FreeBSD returns the mod time of the symlink's containing
1301# directory).
1302if (
1303   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1304   if test "$*" = "X"; then
1305      # -L didn't work.
1306      set X `ls -t $srcdir/configure conftest.file`
1307   fi
1308   rm -f conftest.file
1309   if test "$*" != "X $srcdir/configure conftest.file" \
1310      && test "$*" != "X conftest.file $srcdir/configure"; then
1311
1312      # If neither matched, then we have a broken ls.  This can happen
1313      # if, for instance, CONFIG_SHELL is bash and it inherits a
1314      # broken ls alias from the environment.  This has actually
1315      # happened.  Such a system could not be considered "sane".
1316      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1317alias in your environment" >&5
1318echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1319alias in your environment" >&2;}
1320   { (exit 1); exit 1; }; }
1321   fi
1322
1323   test "$2" = conftest.file
1324   )
1325then
1326   # Ok.
1327   :
1328else
1329   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1330Check your system clock" >&5
1331echo "$as_me: error: newly created file is older than distributed files!
1332Check your system clock" >&2;}
1333   { (exit 1); exit 1; }; }
1334fi
1335echo "$as_me:$LINENO: result: yes" >&5
1336echo "${ECHO_T}yes" >&6
1337test "$program_prefix" != NONE &&
1338  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1339# Use a double $ so make ignores it.
1340test "$program_suffix" != NONE &&
1341  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1342# Double any \ or $.  echo might interpret backslashes.
1343# By default was `s,x,x', remove it if useless.
1344cat <<\_ACEOF >conftest.sed
1345s/[\\$]/&&/g;s/;s,x,x,$//
1346_ACEOF
1347program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1348rm conftest.sed
1349
1350
1351# expand $ac_aux_dir to an absolute path
1352am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1353
1354test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1355# Use eval to expand $SHELL
1356if eval "$MISSING --run true"; then
1357  am_missing_run="$MISSING --run "
1358else
1359  am_missing_run=
1360  am_backtick='`'
1361  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1362echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1363fi
1364
1365for ac_prog in gawk mawk nawk awk
1366do
1367  # Extract the first word of "$ac_prog", so it can be a program name with args.
1368set dummy $ac_prog; ac_word=$2
1369echo "$as_me:$LINENO: checking for $ac_word" >&5
1370echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371if test "${ac_cv_prog_AWK+set}" = set; then
1372  echo $ECHO_N "(cached) $ECHO_C" >&6
1373else
1374  if test -n "$AWK"; then
1375  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1376else
1377as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378for as_dir in $PATH
1379do
1380  IFS=$as_save_IFS
1381  test -z "$as_dir" && as_dir=.
1382  for ac_exec_ext in '' $ac_executable_extensions; do
1383  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1384    ac_cv_prog_AWK="$ac_prog"
1385    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1386    break 2
1387  fi
1388done
1389done
1390
1391fi
1392fi
1393AWK=$ac_cv_prog_AWK
1394if test -n "$AWK"; then
1395  echo "$as_me:$LINENO: result: $AWK" >&5
1396echo "${ECHO_T}$AWK" >&6
1397else
1398  echo "$as_me:$LINENO: result: no" >&5
1399echo "${ECHO_T}no" >&6
1400fi
1401
1402  test -n "$AWK" && break
1403done
1404
1405echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1406echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1407set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1408if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1409  echo $ECHO_N "(cached) $ECHO_C" >&6
1410else
1411  cat >conftest.make <<\_ACEOF
1412all:
1413	@echo 'ac_maketemp="${MAKE}"'
1414_ACEOF
1415# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1416eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1417if test -n "$ac_maketemp"; then
1418  eval ac_cv_prog_make_${ac_make}_set=yes
1419else
1420  eval ac_cv_prog_make_${ac_make}_set=no
1421fi
1422rm -f conftest.make
1423fi
1424if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1425  echo "$as_me:$LINENO: result: yes" >&5
1426echo "${ECHO_T}yes" >&6
1427  SET_MAKE=
1428else
1429  echo "$as_me:$LINENO: result: no" >&5
1430echo "${ECHO_T}no" >&6
1431  SET_MAKE="MAKE=${MAKE-make}"
1432fi
1433
1434# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1435if test "${enable_dependency_tracking+set}" = set; then
1436  enableval="$enable_dependency_tracking"
1437
1438fi;
1439if test "x$enable_dependency_tracking" != xno; then
1440  am_depcomp="$ac_aux_dir/depcomp"
1441  AMDEPBACKSLASH='\'
1442fi
1443
1444
1445if test "x$enable_dependency_tracking" != xno; then
1446  AMDEP_TRUE=
1447  AMDEP_FALSE='#'
1448else
1449  AMDEP_TRUE='#'
1450  AMDEP_FALSE=
1451fi
1452
1453
1454
1455
1456rm -f .deps 2>/dev/null
1457mkdir .deps 2>/dev/null
1458if test -d .deps; then
1459  DEPDIR=.deps
1460else
1461  # MS-DOS does not allow filenames that begin with a dot.
1462  DEPDIR=_deps
1463fi
1464rmdir .deps 2>/dev/null
1465
1466
1467# test to see if srcdir already configured
1468if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1469   test -f $srcdir/config.status; then
1470  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1471echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1472   { (exit 1); exit 1; }; }
1473fi
1474
1475# Define the identity of the package.
1476PACKAGE=sha
1477VERSION=1.0.4
1478
1479cat >>confdefs.h <<_ACEOF
1480#define PACKAGE "$PACKAGE"
1481_ACEOF
1482
1483
1484cat >>confdefs.h <<_ACEOF
1485#define VERSION "$VERSION"
1486_ACEOF
1487
1488
1489# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1490# the ones we care about.
1491
1492# Autoconf 2.50 always computes EXEEXT.  However we need to be
1493# compatible with 2.13, for now.  So we always define EXEEXT, but we
1494# don't compute it.
1495
1496# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1497# requests that it be used.  This is a bit dumb.
1498: ${OBJEXT=o}
1499
1500
1501# Some tools Automake needs.
1502
1503ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1504
1505
1506AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1507
1508
1509AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1510
1511
1512AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1513
1514
1515MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1516
1517
1518AMTAR=${AMTAR-"${am_missing_run}tar"}
1519
1520install_sh=${install_sh-"$am_aux_dir/install-sh"}
1521
1522INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1523
1524# We need awk for the "check" target.  The system "awk" is bad on
1525# some platforms.
1526
1527
1528
1529
1530		    		    		    ac_config_headers="$ac_config_headers config.h"
1531
1532
1533ac_ext=c
1534ac_cpp='$CPP $CPPFLAGS'
1535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537ac_compiler_gnu=$ac_cv_c_compiler_gnu
1538if test -n "$ac_tool_prefix"; then
1539  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1540set dummy ${ac_tool_prefix}gcc; ac_word=$2
1541echo "$as_me:$LINENO: checking for $ac_word" >&5
1542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543if test "${ac_cv_prog_CC+set}" = set; then
1544  echo $ECHO_N "(cached) $ECHO_C" >&6
1545else
1546  if test -n "$CC"; then
1547  ac_cv_prog_CC="$CC" # Let the user override the test.
1548else
1549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550for as_dir in $PATH
1551do
1552  IFS=$as_save_IFS
1553  test -z "$as_dir" && as_dir=.
1554  for ac_exec_ext in '' $ac_executable_extensions; do
1555  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1557    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558    break 2
1559  fi
1560done
1561done
1562
1563fi
1564fi
1565CC=$ac_cv_prog_CC
1566if test -n "$CC"; then
1567  echo "$as_me:$LINENO: result: $CC" >&5
1568echo "${ECHO_T}$CC" >&6
1569else
1570  echo "$as_me:$LINENO: result: no" >&5
1571echo "${ECHO_T}no" >&6
1572fi
1573
1574fi
1575if test -z "$ac_cv_prog_CC"; then
1576  ac_ct_CC=$CC
1577  # Extract the first word of "gcc", so it can be a program name with args.
1578set dummy gcc; ac_word=$2
1579echo "$as_me:$LINENO: checking for $ac_word" >&5
1580echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582  echo $ECHO_N "(cached) $ECHO_C" >&6
1583else
1584  if test -n "$ac_ct_CC"; then
1585  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1586else
1587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588for as_dir in $PATH
1589do
1590  IFS=$as_save_IFS
1591  test -z "$as_dir" && as_dir=.
1592  for ac_exec_ext in '' $ac_executable_extensions; do
1593  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594    ac_cv_prog_ac_ct_CC="gcc"
1595    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596    break 2
1597  fi
1598done
1599done
1600
1601fi
1602fi
1603ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604if test -n "$ac_ct_CC"; then
1605  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606echo "${ECHO_T}$ac_ct_CC" >&6
1607else
1608  echo "$as_me:$LINENO: result: no" >&5
1609echo "${ECHO_T}no" >&6
1610fi
1611
1612  CC=$ac_ct_CC
1613else
1614  CC="$ac_cv_prog_CC"
1615fi
1616
1617if test -z "$CC"; then
1618  if test -n "$ac_tool_prefix"; then
1619  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1620set dummy ${ac_tool_prefix}cc; ac_word=$2
1621echo "$as_me:$LINENO: checking for $ac_word" >&5
1622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623if test "${ac_cv_prog_CC+set}" = set; then
1624  echo $ECHO_N "(cached) $ECHO_C" >&6
1625else
1626  if test -n "$CC"; then
1627  ac_cv_prog_CC="$CC" # Let the user override the test.
1628else
1629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630for as_dir in $PATH
1631do
1632  IFS=$as_save_IFS
1633  test -z "$as_dir" && as_dir=.
1634  for ac_exec_ext in '' $ac_executable_extensions; do
1635  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636    ac_cv_prog_CC="${ac_tool_prefix}cc"
1637    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638    break 2
1639  fi
1640done
1641done
1642
1643fi
1644fi
1645CC=$ac_cv_prog_CC
1646if test -n "$CC"; then
1647  echo "$as_me:$LINENO: result: $CC" >&5
1648echo "${ECHO_T}$CC" >&6
1649else
1650  echo "$as_me:$LINENO: result: no" >&5
1651echo "${ECHO_T}no" >&6
1652fi
1653
1654fi
1655if test -z "$ac_cv_prog_CC"; then
1656  ac_ct_CC=$CC
1657  # Extract the first word of "cc", so it can be a program name with args.
1658set dummy cc; ac_word=$2
1659echo "$as_me:$LINENO: checking for $ac_word" >&5
1660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662  echo $ECHO_N "(cached) $ECHO_C" >&6
1663else
1664  if test -n "$ac_ct_CC"; then
1665  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1666else
1667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668for as_dir in $PATH
1669do
1670  IFS=$as_save_IFS
1671  test -z "$as_dir" && as_dir=.
1672  for ac_exec_ext in '' $ac_executable_extensions; do
1673  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674    ac_cv_prog_ac_ct_CC="cc"
1675    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676    break 2
1677  fi
1678done
1679done
1680
1681fi
1682fi
1683ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684if test -n "$ac_ct_CC"; then
1685  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686echo "${ECHO_T}$ac_ct_CC" >&6
1687else
1688  echo "$as_me:$LINENO: result: no" >&5
1689echo "${ECHO_T}no" >&6
1690fi
1691
1692  CC=$ac_ct_CC
1693else
1694  CC="$ac_cv_prog_CC"
1695fi
1696
1697fi
1698if test -z "$CC"; then
1699  # Extract the first word of "cc", so it can be a program name with args.
1700set dummy cc; ac_word=$2
1701echo "$as_me:$LINENO: checking for $ac_word" >&5
1702echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703if test "${ac_cv_prog_CC+set}" = set; then
1704  echo $ECHO_N "(cached) $ECHO_C" >&6
1705else
1706  if test -n "$CC"; then
1707  ac_cv_prog_CC="$CC" # Let the user override the test.
1708else
1709  ac_prog_rejected=no
1710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711for as_dir in $PATH
1712do
1713  IFS=$as_save_IFS
1714  test -z "$as_dir" && as_dir=.
1715  for ac_exec_ext in '' $ac_executable_extensions; do
1716  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1718       ac_prog_rejected=yes
1719       continue
1720     fi
1721    ac_cv_prog_CC="cc"
1722    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723    break 2
1724  fi
1725done
1726done
1727
1728if test $ac_prog_rejected = yes; then
1729  # We found a bogon in the path, so make sure we never use it.
1730  set dummy $ac_cv_prog_CC
1731  shift
1732  if test $# != 0; then
1733    # We chose a different compiler from the bogus one.
1734    # However, it has the same basename, so the bogon will be chosen
1735    # first if we set CC to just the basename; use the full file name.
1736    shift
1737    set dummy "$as_dir/$ac_word" ${1+"$@"}
1738    shift
1739    ac_cv_prog_CC="$@"
1740  fi
1741fi
1742fi
1743fi
1744CC=$ac_cv_prog_CC
1745if test -n "$CC"; then
1746  echo "$as_me:$LINENO: result: $CC" >&5
1747echo "${ECHO_T}$CC" >&6
1748else
1749  echo "$as_me:$LINENO: result: no" >&5
1750echo "${ECHO_T}no" >&6
1751fi
1752
1753fi
1754if test -z "$CC"; then
1755  if test -n "$ac_tool_prefix"; then
1756  for ac_prog in cl
1757  do
1758    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1759set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1760echo "$as_me:$LINENO: checking for $ac_word" >&5
1761echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762if test "${ac_cv_prog_CC+set}" = set; then
1763  echo $ECHO_N "(cached) $ECHO_C" >&6
1764else
1765  if test -n "$CC"; then
1766  ac_cv_prog_CC="$CC" # Let the user override the test.
1767else
1768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769for as_dir in $PATH
1770do
1771  IFS=$as_save_IFS
1772  test -z "$as_dir" && as_dir=.
1773  for ac_exec_ext in '' $ac_executable_extensions; do
1774  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1776    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1777    break 2
1778  fi
1779done
1780done
1781
1782fi
1783fi
1784CC=$ac_cv_prog_CC
1785if test -n "$CC"; then
1786  echo "$as_me:$LINENO: result: $CC" >&5
1787echo "${ECHO_T}$CC" >&6
1788else
1789  echo "$as_me:$LINENO: result: no" >&5
1790echo "${ECHO_T}no" >&6
1791fi
1792
1793    test -n "$CC" && break
1794  done
1795fi
1796if test -z "$CC"; then
1797  ac_ct_CC=$CC
1798  for ac_prog in cl
1799do
1800  # Extract the first word of "$ac_prog", so it can be a program name with args.
1801set dummy $ac_prog; ac_word=$2
1802echo "$as_me:$LINENO: checking for $ac_word" >&5
1803echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1805  echo $ECHO_N "(cached) $ECHO_C" >&6
1806else
1807  if test -n "$ac_ct_CC"; then
1808  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1809else
1810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811for as_dir in $PATH
1812do
1813  IFS=$as_save_IFS
1814  test -z "$as_dir" && as_dir=.
1815  for ac_exec_ext in '' $ac_executable_extensions; do
1816  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817    ac_cv_prog_ac_ct_CC="$ac_prog"
1818    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819    break 2
1820  fi
1821done
1822done
1823
1824fi
1825fi
1826ac_ct_CC=$ac_cv_prog_ac_ct_CC
1827if test -n "$ac_ct_CC"; then
1828  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1829echo "${ECHO_T}$ac_ct_CC" >&6
1830else
1831  echo "$as_me:$LINENO: result: no" >&5
1832echo "${ECHO_T}no" >&6
1833fi
1834
1835  test -n "$ac_ct_CC" && break
1836done
1837
1838  CC=$ac_ct_CC
1839fi
1840
1841fi
1842
1843
1844test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1845echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1846   { (exit 1); exit 1; }; }
1847
1848# Provide some information about the compiler.
1849echo "$as_me:$LINENO:" \
1850     "checking for C compiler version" >&5
1851ac_compiler=`set X $ac_compile; echo $2`
1852{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1853  (eval $ac_compiler --version </dev/null >&5) 2>&5
1854  ac_status=$?
1855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856  (exit $ac_status); }
1857{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1858  (eval $ac_compiler -v </dev/null >&5) 2>&5
1859  ac_status=$?
1860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861  (exit $ac_status); }
1862{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1863  (eval $ac_compiler -V </dev/null >&5) 2>&5
1864  ac_status=$?
1865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866  (exit $ac_status); }
1867
1868cat >conftest.$ac_ext <<_ACEOF
1869#line $LINENO "configure"
1870#include "confdefs.h"
1871
1872#ifdef F77_DUMMY_MAIN
1873#  ifdef __cplusplus
1874     extern "C"
1875#  endif
1876   int F77_DUMMY_MAIN() { return 1; }
1877#endif
1878int
1879main ()
1880{
1881
1882  ;
1883  return 0;
1884}
1885_ACEOF
1886ac_clean_files_save=$ac_clean_files
1887ac_clean_files="$ac_clean_files a.out a.exe"
1888# Try to create an executable without -o first, disregard a.out.
1889# It will help us diagnose broken compilers, and finding out an intuition
1890# of exeext.
1891echo "$as_me:$LINENO: checking for C compiler default output" >&5
1892echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1893ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1894if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1895  (eval $ac_link_default) 2>&5
1896  ac_status=$?
1897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898  (exit $ac_status); }; then
1899  # Find the output, starting from the most likely.  This scheme is
1900# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1901# resort.
1902
1903# Be careful to initialize this variable, since it used to be cached.
1904# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1905ac_cv_exeext=
1906for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1907                ls a.out conftest 2>/dev/null;
1908                ls a.* conftest.* 2>/dev/null`; do
1909  case $ac_file in
1910    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1911    a.out ) # We found the default executable, but exeext='' is most
1912            # certainly right.
1913            break;;
1914    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1915          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1916          export ac_cv_exeext
1917          break;;
1918    * ) break;;
1919  esac
1920done
1921else
1922  echo "$as_me: failed program was:" >&5
1923cat conftest.$ac_ext >&5
1924{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1925echo "$as_me: error: C compiler cannot create executables" >&2;}
1926   { (exit 77); exit 77; }; }
1927fi
1928
1929ac_exeext=$ac_cv_exeext
1930echo "$as_me:$LINENO: result: $ac_file" >&5
1931echo "${ECHO_T}$ac_file" >&6
1932
1933# Check the compiler produces executables we can run.  If not, either
1934# the compiler is broken, or we cross compile.
1935echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938# If not cross compiling, check that we can run a simple program.
1939if test "$cross_compiling" != yes; then
1940  if { ac_try='./$ac_file'
1941  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942  (eval $ac_try) 2>&5
1943  ac_status=$?
1944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945  (exit $ac_status); }; }; then
1946    cross_compiling=no
1947  else
1948    if test "$cross_compiling" = maybe; then
1949	cross_compiling=yes
1950    else
1951	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952If you meant to cross compile, use \`--host'." >&5
1953echo "$as_me: error: cannot run C compiled programs.
1954If you meant to cross compile, use \`--host'." >&2;}
1955   { (exit 1); exit 1; }; }
1956    fi
1957  fi
1958fi
1959echo "$as_me:$LINENO: result: yes" >&5
1960echo "${ECHO_T}yes" >&6
1961
1962rm -f a.out a.exe conftest$ac_cv_exeext
1963ac_clean_files=$ac_clean_files_save
1964# Check the compiler produces executables we can run.  If not, either
1965# the compiler is broken, or we cross compile.
1966echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1967echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1968echo "$as_me:$LINENO: result: $cross_compiling" >&5
1969echo "${ECHO_T}$cross_compiling" >&6
1970
1971echo "$as_me:$LINENO: checking for suffix of executables" >&5
1972echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1973if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1974  (eval $ac_link) 2>&5
1975  ac_status=$?
1976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977  (exit $ac_status); }; then
1978  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1979# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1980# work properly (i.e., refer to `conftest.exe'), while it won't with
1981# `rm'.
1982for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1983  case $ac_file in
1984    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1985    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1986          export ac_cv_exeext
1987          break;;
1988    * ) break;;
1989  esac
1990done
1991else
1992  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1993echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1994   { (exit 1); exit 1; }; }
1995fi
1996
1997rm -f conftest$ac_cv_exeext
1998echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1999echo "${ECHO_T}$ac_cv_exeext" >&6
2000
2001rm -f conftest.$ac_ext
2002EXEEXT=$ac_cv_exeext
2003ac_exeext=$EXEEXT
2004echo "$as_me:$LINENO: checking for suffix of object files" >&5
2005echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2006if test "${ac_cv_objext+set}" = set; then
2007  echo $ECHO_N "(cached) $ECHO_C" >&6
2008else
2009  cat >conftest.$ac_ext <<_ACEOF
2010#line $LINENO "configure"
2011#include "confdefs.h"
2012
2013#ifdef F77_DUMMY_MAIN
2014#  ifdef __cplusplus
2015     extern "C"
2016#  endif
2017   int F77_DUMMY_MAIN() { return 1; }
2018#endif
2019int
2020main ()
2021{
2022
2023  ;
2024  return 0;
2025}
2026_ACEOF
2027rm -f conftest.o conftest.obj
2028if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2029  (eval $ac_compile) 2>&5
2030  ac_status=$?
2031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032  (exit $ac_status); }; then
2033  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2034  case $ac_file in
2035    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2036    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2037       break;;
2038  esac
2039done
2040else
2041  echo "$as_me: failed program was:" >&5
2042cat conftest.$ac_ext >&5
2043{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2044echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2045   { (exit 1); exit 1; }; }
2046fi
2047
2048rm -f conftest.$ac_cv_objext conftest.$ac_ext
2049fi
2050echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2051echo "${ECHO_T}$ac_cv_objext" >&6
2052OBJEXT=$ac_cv_objext
2053ac_objext=$OBJEXT
2054echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2055echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2056if test "${ac_cv_c_compiler_gnu+set}" = set; then
2057  echo $ECHO_N "(cached) $ECHO_C" >&6
2058else
2059  cat >conftest.$ac_ext <<_ACEOF
2060#line $LINENO "configure"
2061#include "confdefs.h"
2062
2063#ifdef F77_DUMMY_MAIN
2064#  ifdef __cplusplus
2065     extern "C"
2066#  endif
2067   int F77_DUMMY_MAIN() { return 1; }
2068#endif
2069int
2070main ()
2071{
2072#ifndef __GNUC__
2073       choke me
2074#endif
2075
2076  ;
2077  return 0;
2078}
2079_ACEOF
2080rm -f conftest.$ac_objext
2081if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2082  (eval $ac_compile) 2>&5
2083  ac_status=$?
2084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085  (exit $ac_status); } &&
2086         { ac_try='test -s conftest.$ac_objext'
2087  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088  (eval $ac_try) 2>&5
2089  ac_status=$?
2090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091  (exit $ac_status); }; }; then
2092  ac_compiler_gnu=yes
2093else
2094  echo "$as_me: failed program was:" >&5
2095cat conftest.$ac_ext >&5
2096ac_compiler_gnu=no
2097fi
2098rm -f conftest.$ac_objext conftest.$ac_ext
2099ac_cv_c_compiler_gnu=$ac_compiler_gnu
2100
2101fi
2102echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2103echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2104GCC=`test $ac_compiler_gnu = yes && echo yes`
2105ac_test_CFLAGS=${CFLAGS+set}
2106ac_save_CFLAGS=$CFLAGS
2107CFLAGS="-g"
2108echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2109echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2110if test "${ac_cv_prog_cc_g+set}" = set; then
2111  echo $ECHO_N "(cached) $ECHO_C" >&6
2112else
2113  cat >conftest.$ac_ext <<_ACEOF
2114#line $LINENO "configure"
2115#include "confdefs.h"
2116
2117#ifdef F77_DUMMY_MAIN
2118#  ifdef __cplusplus
2119     extern "C"
2120#  endif
2121   int F77_DUMMY_MAIN() { return 1; }
2122#endif
2123int
2124main ()
2125{
2126
2127  ;
2128  return 0;
2129}
2130_ACEOF
2131rm -f conftest.$ac_objext
2132if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2133  (eval $ac_compile) 2>&5
2134  ac_status=$?
2135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136  (exit $ac_status); } &&
2137         { ac_try='test -s conftest.$ac_objext'
2138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139  (eval $ac_try) 2>&5
2140  ac_status=$?
2141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142  (exit $ac_status); }; }; then
2143  ac_cv_prog_cc_g=yes
2144else
2145  echo "$as_me: failed program was:" >&5
2146cat conftest.$ac_ext >&5
2147ac_cv_prog_cc_g=no
2148fi
2149rm -f conftest.$ac_objext conftest.$ac_ext
2150fi
2151echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2152echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2153if test "$ac_test_CFLAGS" = set; then
2154  CFLAGS=$ac_save_CFLAGS
2155elif test $ac_cv_prog_cc_g = yes; then
2156  if test "$GCC" = yes; then
2157    CFLAGS="-g -O2"
2158  else
2159    CFLAGS="-g"
2160  fi
2161else
2162  if test "$GCC" = yes; then
2163    CFLAGS="-O2"
2164  else
2165    CFLAGS=
2166  fi
2167fi
2168# Some people use a C++ compiler to compile C.  Since we use `exit',
2169# in C++ we need to declare it.  In case someone uses the same compiler
2170# for both compiling C and C++ we need to have the C++ compiler decide
2171# the declaration of exit, since it's the most demanding environment.
2172cat >conftest.$ac_ext <<_ACEOF
2173#ifndef __cplusplus
2174  choke me
2175#endif
2176_ACEOF
2177rm -f conftest.$ac_objext
2178if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179  (eval $ac_compile) 2>&5
2180  ac_status=$?
2181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182  (exit $ac_status); } &&
2183         { ac_try='test -s conftest.$ac_objext'
2184  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185  (eval $ac_try) 2>&5
2186  ac_status=$?
2187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188  (exit $ac_status); }; }; then
2189  for ac_declaration in \
2190   ''\
2191   '#include <stdlib.h>' \
2192   'extern "C" void std::exit (int) throw (); using std::exit;' \
2193   'extern "C" void std::exit (int); using std::exit;' \
2194   'extern "C" void exit (int) throw ();' \
2195   'extern "C" void exit (int);' \
2196   'void exit (int);'
2197do
2198  cat >conftest.$ac_ext <<_ACEOF
2199#line $LINENO "configure"
2200#include "confdefs.h"
2201#include <stdlib.h>
2202$ac_declaration
2203#ifdef F77_DUMMY_MAIN
2204#  ifdef __cplusplus
2205     extern "C"
2206#  endif
2207   int F77_DUMMY_MAIN() { return 1; }
2208#endif
2209int
2210main ()
2211{
2212exit (42);
2213  ;
2214  return 0;
2215}
2216_ACEOF
2217rm -f conftest.$ac_objext
2218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2219  (eval $ac_compile) 2>&5
2220  ac_status=$?
2221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222  (exit $ac_status); } &&
2223         { ac_try='test -s conftest.$ac_objext'
2224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225  (eval $ac_try) 2>&5
2226  ac_status=$?
2227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228  (exit $ac_status); }; }; then
2229  :
2230else
2231  echo "$as_me: failed program was:" >&5
2232cat conftest.$ac_ext >&5
2233continue
2234fi
2235rm -f conftest.$ac_objext conftest.$ac_ext
2236  cat >conftest.$ac_ext <<_ACEOF
2237#line $LINENO "configure"
2238#include "confdefs.h"
2239$ac_declaration
2240#ifdef F77_DUMMY_MAIN
2241#  ifdef __cplusplus
2242     extern "C"
2243#  endif
2244   int F77_DUMMY_MAIN() { return 1; }
2245#endif
2246int
2247main ()
2248{
2249exit (42);
2250  ;
2251  return 0;
2252}
2253_ACEOF
2254rm -f conftest.$ac_objext
2255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256  (eval $ac_compile) 2>&5
2257  ac_status=$?
2258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259  (exit $ac_status); } &&
2260         { ac_try='test -s conftest.$ac_objext'
2261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262  (eval $ac_try) 2>&5
2263  ac_status=$?
2264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265  (exit $ac_status); }; }; then
2266  break
2267else
2268  echo "$as_me: failed program was:" >&5
2269cat conftest.$ac_ext >&5
2270fi
2271rm -f conftest.$ac_objext conftest.$ac_ext
2272done
2273rm -f conftest*
2274if test -n "$ac_declaration"; then
2275  echo '#ifdef __cplusplus' >>confdefs.h
2276  echo $ac_declaration      >>confdefs.h
2277  echo '#endif'             >>confdefs.h
2278fi
2279
2280else
2281  echo "$as_me: failed program was:" >&5
2282cat conftest.$ac_ext >&5
2283fi
2284rm -f conftest.$ac_objext conftest.$ac_ext
2285ac_ext=c
2286ac_cpp='$CPP $CPPFLAGS'
2287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2289ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290
2291ac_config_commands="$ac_config_commands default-1"
2292
2293am_make=${MAKE-make}
2294cat > confinc << 'END'
2295doit:
2296	@echo done
2297END
2298# If we don't find an include directive, just comment out the code.
2299echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2300echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2301am__include='#'
2302am__quote=
2303_am_result=none
2304# First try GNU make style include.
2305echo "include confinc" > confmf
2306# We grep out `Entering directory' and `Leaving directory'
2307# messages which can occur if `w' ends up in MAKEFLAGS.
2308# In particular we don't look at `^make:' because GNU make might
2309# be invoked under some other name (usually "gmake"), in which
2310# case it prints its new name instead of `make'.
2311if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2312   am__include=include
2313   am__quote=
2314   _am_result=GNU
2315fi
2316# Now try BSD make style include.
2317if test "$am__include" = "#"; then
2318   echo '.include "confinc"' > confmf
2319   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2320      am__include=.include
2321      am__quote='"'
2322      _am_result=BSD
2323   fi
2324fi
2325
2326
2327echo "$as_me:$LINENO: result: $_am_result" >&5
2328echo "${ECHO_T}$_am_result" >&6
2329rm -f confinc confmf
2330
2331
2332depcc="$CC"   am_compiler_list=
2333
2334echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2335echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2336if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2337  echo $ECHO_N "(cached) $ECHO_C" >&6
2338else
2339  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2340  # We make a subdir and do the tests there.  Otherwise we can end up
2341  # making bogus files that we don't know about and never remove.  For
2342  # instance it was reported that on HP-UX the gcc test will end up
2343  # making a dummy file named `D' -- because `-MD' means `put the output
2344  # in D'.
2345  mkdir conftest.dir
2346  # Copy depcomp to subdir because otherwise we won't find it if we're
2347  # using a relative directory.
2348  cp "$am_depcomp" conftest.dir
2349  cd conftest.dir
2350
2351  am_cv_CC_dependencies_compiler_type=none
2352  if test "$am_compiler_list" = ""; then
2353     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2354  fi
2355  for depmode in $am_compiler_list; do
2356    # We need to recreate these files for each test, as the compiler may
2357    # overwrite some of them when testing with obscure command lines.
2358    # This happens at least with the AIX C compiler.
2359    echo '#include "conftest.h"' > conftest.c
2360    echo 'int i;' > conftest.h
2361    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2362
2363    case $depmode in
2364    nosideeffect)
2365      # after this tag, mechanisms are not by side-effect, so they'll
2366      # only be used when explicitly requested
2367      if test "x$enable_dependency_tracking" = xyes; then
2368	continue
2369      else
2370	break
2371      fi
2372      ;;
2373    none) break ;;
2374    esac
2375    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2376    # mode.  It turns out that the SunPro C++ compiler does not properly
2377    # handle `-M -o', and we need to detect this.
2378    if depmode=$depmode \
2379       source=conftest.c object=conftest.o \
2380       depfile=conftest.Po tmpdepfile=conftest.TPo \
2381       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2382       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2383       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2384      am_cv_CC_dependencies_compiler_type=$depmode
2385      break
2386    fi
2387  done
2388
2389  cd ..
2390  rm -rf conftest.dir
2391else
2392  am_cv_CC_dependencies_compiler_type=none
2393fi
2394
2395fi
2396echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2397echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2398CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2399
2400
2401
2402
2403
2404ac_ext=c
2405ac_cpp='$CPP $CPPFLAGS'
2406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2408ac_compiler_gnu=$ac_cv_c_compiler_gnu
2409echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2410echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2411# On Suns, sometimes $CPP names a directory.
2412if test -n "$CPP" && test -d "$CPP"; then
2413  CPP=
2414fi
2415if test -z "$CPP"; then
2416  if test "${ac_cv_prog_CPP+set}" = set; then
2417  echo $ECHO_N "(cached) $ECHO_C" >&6
2418else
2419      # Double quotes because CPP needs to be expanded
2420    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2421    do
2422      ac_preproc_ok=false
2423for ac_c_preproc_warn_flag in '' yes
2424do
2425  # Use a header file that comes with gcc, so configuring glibc
2426  # with a fresh cross-compiler works.
2427  # On the NeXT, cc -E runs the code through the compiler's parser,
2428  # not just through cpp. "Syntax error" is here to catch this case.
2429  cat >conftest.$ac_ext <<_ACEOF
2430#line $LINENO "configure"
2431#include "confdefs.h"
2432#include <assert.h>
2433                     Syntax error
2434_ACEOF
2435if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2436  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2437  ac_status=$?
2438  egrep -v '^ *\+' conftest.er1 >conftest.err
2439  rm -f conftest.er1
2440  cat conftest.err >&5
2441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442  (exit $ac_status); } >/dev/null; then
2443  if test -s conftest.err; then
2444    ac_cpp_err=$ac_c_preproc_warn_flag
2445  else
2446    ac_cpp_err=
2447  fi
2448else
2449  ac_cpp_err=yes
2450fi
2451if test -z "$ac_cpp_err"; then
2452  :
2453else
2454  echo "$as_me: failed program was:" >&5
2455  cat conftest.$ac_ext >&5
2456  # Broken: fails on valid input.
2457continue
2458fi
2459rm -f conftest.err conftest.$ac_ext
2460
2461  # OK, works on sane cases.  Now check whether non-existent headers
2462  # can be detected and how.
2463  cat >conftest.$ac_ext <<_ACEOF
2464#line $LINENO "configure"
2465#include "confdefs.h"
2466#include <ac_nonexistent.h>
2467_ACEOF
2468if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2469  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2470  ac_status=$?
2471  egrep -v '^ *\+' conftest.er1 >conftest.err
2472  rm -f conftest.er1
2473  cat conftest.err >&5
2474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475  (exit $ac_status); } >/dev/null; then
2476  if test -s conftest.err; then
2477    ac_cpp_err=$ac_c_preproc_warn_flag
2478  else
2479    ac_cpp_err=
2480  fi
2481else
2482  ac_cpp_err=yes
2483fi
2484if test -z "$ac_cpp_err"; then
2485  # Broken: success on invalid input.
2486continue
2487else
2488  echo "$as_me: failed program was:" >&5
2489  cat conftest.$ac_ext >&5
2490  # Passes both tests.
2491ac_preproc_ok=:
2492break
2493fi
2494rm -f conftest.err conftest.$ac_ext
2495
2496done
2497# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2498rm -f conftest.err conftest.$ac_ext
2499if $ac_preproc_ok; then
2500  break
2501fi
2502
2503    done
2504    ac_cv_prog_CPP=$CPP
2505
2506fi
2507  CPP=$ac_cv_prog_CPP
2508else
2509  ac_cv_prog_CPP=$CPP
2510fi
2511echo "$as_me:$LINENO: result: $CPP" >&5
2512echo "${ECHO_T}$CPP" >&6
2513ac_preproc_ok=false
2514for ac_c_preproc_warn_flag in '' yes
2515do
2516  # Use a header file that comes with gcc, so configuring glibc
2517  # with a fresh cross-compiler works.
2518  # On the NeXT, cc -E runs the code through the compiler's parser,
2519  # not just through cpp. "Syntax error" is here to catch this case.
2520  cat >conftest.$ac_ext <<_ACEOF
2521#line $LINENO "configure"
2522#include "confdefs.h"
2523#include <assert.h>
2524                     Syntax error
2525_ACEOF
2526if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2527  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2528  ac_status=$?
2529  egrep -v '^ *\+' conftest.er1 >conftest.err
2530  rm -f conftest.er1
2531  cat conftest.err >&5
2532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533  (exit $ac_status); } >/dev/null; then
2534  if test -s conftest.err; then
2535    ac_cpp_err=$ac_c_preproc_warn_flag
2536  else
2537    ac_cpp_err=
2538  fi
2539else
2540  ac_cpp_err=yes
2541fi
2542if test -z "$ac_cpp_err"; then
2543  :
2544else
2545  echo "$as_me: failed program was:" >&5
2546  cat conftest.$ac_ext >&5
2547  # Broken: fails on valid input.
2548continue
2549fi
2550rm -f conftest.err conftest.$ac_ext
2551
2552  # OK, works on sane cases.  Now check whether non-existent headers
2553  # can be detected and how.
2554  cat >conftest.$ac_ext <<_ACEOF
2555#line $LINENO "configure"
2556#include "confdefs.h"
2557#include <ac_nonexistent.h>
2558_ACEOF
2559if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2560  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2561  ac_status=$?
2562  egrep -v '^ *\+' conftest.er1 >conftest.err
2563  rm -f conftest.er1
2564  cat conftest.err >&5
2565  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566  (exit $ac_status); } >/dev/null; then
2567  if test -s conftest.err; then
2568    ac_cpp_err=$ac_c_preproc_warn_flag
2569  else
2570    ac_cpp_err=
2571  fi
2572else
2573  ac_cpp_err=yes
2574fi
2575if test -z "$ac_cpp_err"; then
2576  # Broken: success on invalid input.
2577continue
2578else
2579  echo "$as_me: failed program was:" >&5
2580  cat conftest.$ac_ext >&5
2581  # Passes both tests.
2582ac_preproc_ok=:
2583break
2584fi
2585rm -f conftest.err conftest.$ac_ext
2586
2587done
2588# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2589rm -f conftest.err conftest.$ac_ext
2590if $ac_preproc_ok; then
2591  :
2592else
2593  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2594echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2595   { (exit 1); exit 1; }; }
2596fi
2597
2598ac_ext=c
2599ac_cpp='$CPP $CPPFLAGS'
2600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602ac_compiler_gnu=$ac_cv_c_compiler_gnu
2603
2604
2605echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2606echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2607if test "${ac_cv_header_stdc+set}" = set; then
2608  echo $ECHO_N "(cached) $ECHO_C" >&6
2609else
2610  cat >conftest.$ac_ext <<_ACEOF
2611#line $LINENO "configure"
2612#include "confdefs.h"
2613#include <stdlib.h>
2614#include <stdarg.h>
2615#include <string.h>
2616#include <float.h>
2617
2618_ACEOF
2619if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2620  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2621  ac_status=$?
2622  egrep -v '^ *\+' conftest.er1 >conftest.err
2623  rm -f conftest.er1
2624  cat conftest.err >&5
2625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626  (exit $ac_status); } >/dev/null; then
2627  if test -s conftest.err; then
2628    ac_cpp_err=$ac_c_preproc_warn_flag
2629  else
2630    ac_cpp_err=
2631  fi
2632else
2633  ac_cpp_err=yes
2634fi
2635if test -z "$ac_cpp_err"; then
2636  ac_cv_header_stdc=yes
2637else
2638  echo "$as_me: failed program was:" >&5
2639  cat conftest.$ac_ext >&5
2640  ac_cv_header_stdc=no
2641fi
2642rm -f conftest.err conftest.$ac_ext
2643
2644if test $ac_cv_header_stdc = yes; then
2645  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2646  cat >conftest.$ac_ext <<_ACEOF
2647#line $LINENO "configure"
2648#include "confdefs.h"
2649#include <string.h>
2650
2651_ACEOF
2652if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2653  egrep "memchr" >/dev/null 2>&1; then
2654  :
2655else
2656  ac_cv_header_stdc=no
2657fi
2658rm -f conftest*
2659
2660fi
2661
2662if test $ac_cv_header_stdc = yes; then
2663  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2664  cat >conftest.$ac_ext <<_ACEOF
2665#line $LINENO "configure"
2666#include "confdefs.h"
2667#include <stdlib.h>
2668
2669_ACEOF
2670if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2671  egrep "free" >/dev/null 2>&1; then
2672  :
2673else
2674  ac_cv_header_stdc=no
2675fi
2676rm -f conftest*
2677
2678fi
2679
2680if test $ac_cv_header_stdc = yes; then
2681  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2682  if test "$cross_compiling" = yes; then
2683  :
2684else
2685  cat >conftest.$ac_ext <<_ACEOF
2686#line $LINENO "configure"
2687#include "confdefs.h"
2688#include <ctype.h>
2689#if ((' ' & 0x0FF) == 0x020)
2690# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2691# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2692#else
2693# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2694                     || ('j' <= (c) && (c) <= 'r') \
2695                     || ('s' <= (c) && (c) <= 'z'))
2696# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2697#endif
2698
2699#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2700int
2701main ()
2702{
2703  int i;
2704  for (i = 0; i < 256; i++)
2705    if (XOR (islower (i), ISLOWER (i))
2706        || toupper (i) != TOUPPER (i))
2707      exit(2);
2708  exit (0);
2709}
2710_ACEOF
2711rm -f conftest$ac_exeext
2712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2713  (eval $ac_link) 2>&5
2714  ac_status=$?
2715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718  (eval $ac_try) 2>&5
2719  ac_status=$?
2720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721  (exit $ac_status); }; }; then
2722  :
2723else
2724  echo "$as_me: program exited with status $ac_status" >&5
2725echo "$as_me: failed program was:" >&5
2726cat conftest.$ac_ext >&5
2727( exit $ac_status )
2728ac_cv_header_stdc=no
2729fi
2730rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2731fi
2732fi
2733fi
2734echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2735echo "${ECHO_T}$ac_cv_header_stdc" >&6
2736if test $ac_cv_header_stdc = yes; then
2737
2738cat >>confdefs.h <<\_ACEOF
2739#define STDC_HEADERS 1
2740_ACEOF
2741
2742fi
2743
2744
2745echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2746echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2747if test "${ac_cv_c_bigendian+set}" = set; then
2748  echo $ECHO_N "(cached) $ECHO_C" >&6
2749else
2750  # See if sys/param.h defines the BYTE_ORDER macro.
2751cat >conftest.$ac_ext <<_ACEOF
2752#line $LINENO "configure"
2753#include "confdefs.h"
2754#include <sys/types.h>
2755#include <sys/param.h>
2756
2757#ifdef F77_DUMMY_MAIN
2758#  ifdef __cplusplus
2759     extern "C"
2760#  endif
2761   int F77_DUMMY_MAIN() { return 1; }
2762#endif
2763int
2764main ()
2765{
2766#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2767 bogus endian macros
2768#endif
2769
2770  ;
2771  return 0;
2772}
2773_ACEOF
2774rm -f conftest.$ac_objext
2775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2776  (eval $ac_compile) 2>&5
2777  ac_status=$?
2778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779  (exit $ac_status); } &&
2780         { ac_try='test -s conftest.$ac_objext'
2781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782  (eval $ac_try) 2>&5
2783  ac_status=$?
2784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785  (exit $ac_status); }; }; then
2786  # It does; now see whether it defined to BIG_ENDIAN or not.
2787cat >conftest.$ac_ext <<_ACEOF
2788#line $LINENO "configure"
2789#include "confdefs.h"
2790#include <sys/types.h>
2791#include <sys/param.h>
2792
2793#ifdef F77_DUMMY_MAIN
2794#  ifdef __cplusplus
2795     extern "C"
2796#  endif
2797   int F77_DUMMY_MAIN() { return 1; }
2798#endif
2799int
2800main ()
2801{
2802#if BYTE_ORDER != BIG_ENDIAN
2803 not big endian
2804#endif
2805
2806  ;
2807  return 0;
2808}
2809_ACEOF
2810rm -f conftest.$ac_objext
2811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2812  (eval $ac_compile) 2>&5
2813  ac_status=$?
2814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815  (exit $ac_status); } &&
2816         { ac_try='test -s conftest.$ac_objext'
2817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818  (eval $ac_try) 2>&5
2819  ac_status=$?
2820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821  (exit $ac_status); }; }; then
2822  ac_cv_c_bigendian=yes
2823else
2824  echo "$as_me: failed program was:" >&5
2825cat conftest.$ac_ext >&5
2826ac_cv_c_bigendian=no
2827fi
2828rm -f conftest.$ac_objext conftest.$ac_ext
2829else
2830  echo "$as_me: failed program was:" >&5
2831cat conftest.$ac_ext >&5
2832# It does not; compile a test program.
2833if test "$cross_compiling" = yes; then
2834  # try to guess the endianess by grep'ing values into an object file
2835  ac_cv_c_bigendian=unknown
2836  cat >conftest.$ac_ext <<_ACEOF
2837#line $LINENO "configure"
2838#include "confdefs.h"
2839short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2840short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2841void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2842short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2843short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2844void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2845#ifdef F77_DUMMY_MAIN
2846#  ifdef __cplusplus
2847     extern "C"
2848#  endif
2849   int F77_DUMMY_MAIN() { return 1; }
2850#endif
2851int
2852main ()
2853{
2854 _ascii (); _ebcdic ();
2855  ;
2856  return 0;
2857}
2858_ACEOF
2859rm -f conftest.$ac_objext
2860if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861  (eval $ac_compile) 2>&5
2862  ac_status=$?
2863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864  (exit $ac_status); } &&
2865         { ac_try='test -s conftest.$ac_objext'
2866  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867  (eval $ac_try) 2>&5
2868  ac_status=$?
2869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870  (exit $ac_status); }; }; then
2871  if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2872  ac_cv_c_bigendian=yes
2873fi
2874if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2875  if test "$ac_cv_c_bigendian" = unknown; then
2876    ac_cv_c_bigendian=no
2877  else
2878    # finding both strings is unlikely to happen, but who knows?
2879    ac_cv_c_bigendian=unknown
2880  fi
2881fi
2882else
2883  echo "$as_me: failed program was:" >&5
2884cat conftest.$ac_ext >&5
2885fi
2886rm -f conftest.$ac_objext conftest.$ac_ext
2887else
2888  cat >conftest.$ac_ext <<_ACEOF
2889#line $LINENO "configure"
2890#include "confdefs.h"
2891int
2892main ()
2893{
2894  /* Are we little or big endian?  From Harbison&Steele.  */
2895  union
2896  {
2897    long l;
2898    char c[sizeof (long)];
2899  } u;
2900  u.l = 1;
2901  exit (u.c[sizeof (long) - 1] == 1);
2902}
2903_ACEOF
2904rm -f conftest$ac_exeext
2905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2906  (eval $ac_link) 2>&5
2907  ac_status=$?
2908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2910  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911  (eval $ac_try) 2>&5
2912  ac_status=$?
2913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914  (exit $ac_status); }; }; then
2915  ac_cv_c_bigendian=no
2916else
2917  echo "$as_me: program exited with status $ac_status" >&5
2918echo "$as_me: failed program was:" >&5
2919cat conftest.$ac_ext >&5
2920( exit $ac_status )
2921ac_cv_c_bigendian=yes
2922fi
2923rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2924fi
2925fi
2926rm -f conftest.$ac_objext conftest.$ac_ext
2927fi
2928echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2929echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2930case $ac_cv_c_bigendian in
2931  yes)
2932
2933cat >>confdefs.h <<\_ACEOF
2934#define WORDS_BIGENDIAN 1
2935_ACEOF
2936 ;;
2937  no)
2938     ;;
2939  *)
2940    { { echo "$as_me:$LINENO: error: unknown endianess
2941presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2942echo "$as_me: error: unknown endianess
2943presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2944   { (exit 1); exit 1; }; } ;;
2945esac
2946
2947echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2948echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2949if test "${ac_cv_prog_cc_stdc+set}" = set; then
2950  echo $ECHO_N "(cached) $ECHO_C" >&6
2951else
2952  ac_cv_prog_cc_stdc=no
2953ac_save_CC=$CC
2954cat >conftest.$ac_ext <<_ACEOF
2955#line $LINENO "configure"
2956#include "confdefs.h"
2957#include <stdarg.h>
2958#include <stdio.h>
2959#include <sys/types.h>
2960#include <sys/stat.h>
2961/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2962struct buf { int x; };
2963FILE * (*rcsopen) (struct buf *, struct stat *, int);
2964static char *e (p, i)
2965     char **p;
2966     int i;
2967{
2968  return p[i];
2969}
2970static char *f (char * (*g) (char **, int), char **p, ...)
2971{
2972  char *s;
2973  va_list v;
2974  va_start (v,p);
2975  s = g (p, va_arg (v,int));
2976  va_end (v);
2977  return s;
2978}
2979int test (int i, double x);
2980struct s1 {int (*f) (int a);};
2981struct s2 {int (*f) (double a);};
2982int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2983int argc;
2984char **argv;
2985#ifdef F77_DUMMY_MAIN
2986#  ifdef __cplusplus
2987     extern "C"
2988#  endif
2989   int F77_DUMMY_MAIN() { return 1; }
2990#endif
2991int
2992main ()
2993{
2994return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2995  ;
2996  return 0;
2997}
2998_ACEOF
2999# Don't try gcc -ansi; that turns off useful extensions and
3000# breaks some systems' header files.
3001# AIX			-qlanglvl=ansi
3002# Ultrix and OSF/1	-std1
3003# HP-UX 10.20 and later	-Ae
3004# HP-UX older versions	-Aa -D_HPUX_SOURCE
3005# SVR4			-Xc -D__EXTENSIONS__
3006for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007do
3008  CC="$ac_save_CC $ac_arg"
3009  rm -f conftest.$ac_objext
3010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3011  (eval $ac_compile) 2>&5
3012  ac_status=$?
3013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014  (exit $ac_status); } &&
3015         { ac_try='test -s conftest.$ac_objext'
3016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017  (eval $ac_try) 2>&5
3018  ac_status=$?
3019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020  (exit $ac_status); }; }; then
3021  ac_cv_prog_cc_stdc=$ac_arg
3022break
3023else
3024  echo "$as_me: failed program was:" >&5
3025cat conftest.$ac_ext >&5
3026fi
3027rm -f conftest.$ac_objext
3028done
3029rm -f conftest.$ac_ext conftest.$ac_objext
3030CC=$ac_save_CC
3031
3032fi
3033
3034case "x$ac_cv_prog_cc_stdc" in
3035  x|xno)
3036    echo "$as_me:$LINENO: result: none needed" >&5
3037echo "${ECHO_T}none needed" >&6 ;;
3038  *)
3039    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3040echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3041    CC="$CC $ac_cv_prog_cc_stdc" ;;
3042esac
3043
3044echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3045echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3046if test "${ac_cv_c_const+set}" = set; then
3047  echo $ECHO_N "(cached) $ECHO_C" >&6
3048else
3049  cat >conftest.$ac_ext <<_ACEOF
3050#line $LINENO "configure"
3051#include "confdefs.h"
3052
3053#ifdef F77_DUMMY_MAIN
3054#  ifdef __cplusplus
3055     extern "C"
3056#  endif
3057   int F77_DUMMY_MAIN() { return 1; }
3058#endif
3059int
3060main ()
3061{
3062/* FIXME: Include the comments suggested by Paul. */
3063#ifndef __cplusplus
3064  /* Ultrix mips cc rejects this.  */
3065  typedef int charset[2];
3066  const charset x;
3067  /* SunOS 4.1.1 cc rejects this.  */
3068  char const *const *ccp;
3069  char **p;
3070  /* NEC SVR4.0.2 mips cc rejects this.  */
3071  struct point {int x, y;};
3072  static struct point const zero = {0,0};
3073  /* AIX XL C 1.02.0.0 rejects this.
3074     It does not let you subtract one const X* pointer from another in
3075     an arm of an if-expression whose if-part is not a constant
3076     expression */
3077  const char *g = "string";
3078  ccp = &g + (g ? g-g : 0);
3079  /* HPUX 7.0 cc rejects these. */
3080  ++ccp;
3081  p = (char**) ccp;
3082  ccp = (char const *const *) p;
3083  { /* SCO 3.2v4 cc rejects this.  */
3084    char *t;
3085    char const *s = 0 ? (char *) 0 : (char const *) 0;
3086
3087    *t++ = 0;
3088  }
3089  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3090    int x[] = {25, 17};
3091    const int *foo = &x[0];
3092    ++foo;
3093  }
3094  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3095    typedef const int *iptr;
3096    iptr p = 0;
3097    ++p;
3098  }
3099  { /* AIX XL C 1.02.0.0 rejects this saying
3100       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3101    struct s { int j; const int *ap[3]; };
3102    struct s *b; b->j = 5;
3103  }
3104  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3105    const int foo = 10;
3106  }
3107#endif
3108
3109  ;
3110  return 0;
3111}
3112_ACEOF
3113rm -f conftest.$ac_objext
3114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115  (eval $ac_compile) 2>&5
3116  ac_status=$?
3117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118  (exit $ac_status); } &&
3119         { ac_try='test -s conftest.$ac_objext'
3120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121  (eval $ac_try) 2>&5
3122  ac_status=$?
3123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124  (exit $ac_status); }; }; then
3125  ac_cv_c_const=yes
3126else
3127  echo "$as_me: failed program was:" >&5
3128cat conftest.$ac_ext >&5
3129ac_cv_c_const=no
3130fi
3131rm -f conftest.$ac_objext conftest.$ac_ext
3132fi
3133echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3134echo "${ECHO_T}$ac_cv_c_const" >&6
3135if test $ac_cv_c_const = no; then
3136
3137cat >>confdefs.h <<\_ACEOF
3138#define const
3139_ACEOF
3140
3141fi
3142
3143echo "$as_me:$LINENO: checking for inline" >&5
3144echo $ECHO_N "checking for inline... $ECHO_C" >&6
3145if test "${ac_cv_c_inline+set}" = set; then
3146  echo $ECHO_N "(cached) $ECHO_C" >&6
3147else
3148  ac_cv_c_inline=no
3149for ac_kw in inline __inline__ __inline; do
3150  cat >conftest.$ac_ext <<_ACEOF
3151#line $LINENO "configure"
3152#include "confdefs.h"
3153#ifndef __cplusplus
3154static $ac_kw int static_foo () {return 0; }
3155$ac_kw int foo () {return 0; }
3156#endif
3157
3158_ACEOF
3159rm -f conftest.$ac_objext
3160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161  (eval $ac_compile) 2>&5
3162  ac_status=$?
3163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164  (exit $ac_status); } &&
3165         { ac_try='test -s conftest.$ac_objext'
3166  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167  (eval $ac_try) 2>&5
3168  ac_status=$?
3169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170  (exit $ac_status); }; }; then
3171  ac_cv_c_inline=$ac_kw; break
3172else
3173  echo "$as_me: failed program was:" >&5
3174cat conftest.$ac_ext >&5
3175fi
3176rm -f conftest.$ac_objext conftest.$ac_ext
3177done
3178
3179fi
3180echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3181echo "${ECHO_T}$ac_cv_c_inline" >&6
3182case $ac_cv_c_inline in
3183  inline | yes) ;;
3184  no)
3185cat >>confdefs.h <<\_ACEOF
3186#define inline
3187_ACEOF
3188 ;;
3189  *)  cat >>confdefs.h <<_ACEOF
3190#define inline $ac_cv_c_inline
3191_ACEOF
3192 ;;
3193esac
3194
3195# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3206                  inttypes.h stdint.h unistd.h
3207do
3208as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3209echo "$as_me:$LINENO: checking for $ac_header" >&5
3210echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3211if eval "test \"\${$as_ac_Header+set}\" = set"; then
3212  echo $ECHO_N "(cached) $ECHO_C" >&6
3213else
3214  cat >conftest.$ac_ext <<_ACEOF
3215#line $LINENO "configure"
3216#include "confdefs.h"
3217$ac_includes_default
3218
3219#include <$ac_header>
3220_ACEOF
3221rm -f conftest.$ac_objext
3222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3223  (eval $ac_compile) 2>&5
3224  ac_status=$?
3225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226  (exit $ac_status); } &&
3227         { ac_try='test -s conftest.$ac_objext'
3228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229  (eval $ac_try) 2>&5
3230  ac_status=$?
3231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232  (exit $ac_status); }; }; then
3233  eval "$as_ac_Header=yes"
3234else
3235  echo "$as_me: failed program was:" >&5
3236cat conftest.$ac_ext >&5
3237eval "$as_ac_Header=no"
3238fi
3239rm -f conftest.$ac_objext conftest.$ac_ext
3240fi
3241echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3242echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3243if test `eval echo '${'$as_ac_Header'}'` = yes; then
3244  cat >>confdefs.h <<_ACEOF
3245#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3246_ACEOF
3247
3248fi
3249
3250done
3251
3252
3253echo "$as_me:$LINENO: checking for size_t" >&5
3254echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3255if test "${ac_cv_type_size_t+set}" = set; then
3256  echo $ECHO_N "(cached) $ECHO_C" >&6
3257else
3258  cat >conftest.$ac_ext <<_ACEOF
3259#line $LINENO "configure"
3260#include "confdefs.h"
3261$ac_includes_default
3262#ifdef F77_DUMMY_MAIN
3263#  ifdef __cplusplus
3264     extern "C"
3265#  endif
3266   int F77_DUMMY_MAIN() { return 1; }
3267#endif
3268int
3269main ()
3270{
3271if ((size_t *) 0)
3272  return 0;
3273if (sizeof (size_t))
3274  return 0;
3275  ;
3276  return 0;
3277}
3278_ACEOF
3279rm -f conftest.$ac_objext
3280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281  (eval $ac_compile) 2>&5
3282  ac_status=$?
3283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284  (exit $ac_status); } &&
3285         { ac_try='test -s conftest.$ac_objext'
3286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287  (eval $ac_try) 2>&5
3288  ac_status=$?
3289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290  (exit $ac_status); }; }; then
3291  ac_cv_type_size_t=yes
3292else
3293  echo "$as_me: failed program was:" >&5
3294cat conftest.$ac_ext >&5
3295ac_cv_type_size_t=no
3296fi
3297rm -f conftest.$ac_objext conftest.$ac_ext
3298fi
3299echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3300echo "${ECHO_T}$ac_cv_type_size_t" >&6
3301if test $ac_cv_type_size_t = yes; then
3302  :
3303else
3304
3305cat >>confdefs.h <<_ACEOF
3306#define size_t unsigned
3307_ACEOF
3308
3309fi
3310
3311echo "$as_me:$LINENO: checking for uint8_t" >&5
3312echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
3313if test "${ac_cv_type_uint8_t+set}" = set; then
3314  echo $ECHO_N "(cached) $ECHO_C" >&6
3315else
3316  cat >conftest.$ac_ext <<_ACEOF
3317#line $LINENO "configure"
3318#include "confdefs.h"
3319$ac_includes_default
3320#ifdef F77_DUMMY_MAIN
3321#  ifdef __cplusplus
3322     extern "C"
3323#  endif
3324   int F77_DUMMY_MAIN() { return 1; }
3325#endif
3326int
3327main ()
3328{
3329if ((uint8_t *) 0)
3330  return 0;
3331if (sizeof (uint8_t))
3332  return 0;
3333  ;
3334  return 0;
3335}
3336_ACEOF
3337rm -f conftest.$ac_objext
3338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3339  (eval $ac_compile) 2>&5
3340  ac_status=$?
3341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342  (exit $ac_status); } &&
3343         { ac_try='test -s conftest.$ac_objext'
3344  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345  (eval $ac_try) 2>&5
3346  ac_status=$?
3347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348  (exit $ac_status); }; }; then
3349  ac_cv_type_uint8_t=yes
3350else
3351  echo "$as_me: failed program was:" >&5
3352cat conftest.$ac_ext >&5
3353ac_cv_type_uint8_t=no
3354fi
3355rm -f conftest.$ac_objext conftest.$ac_ext
3356fi
3357echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
3358echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
3359if test $ac_cv_type_uint8_t = yes; then
3360  :
3361else
3362
3363cat >>confdefs.h <<\_ACEOF
3364#define uint8_t unsigned char
3365_ACEOF
3366
3367fi
3368
3369echo "$as_me:$LINENO: checking for uint32_t" >&5
3370echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3371if test "${ac_cv_type_uint32_t+set}" = set; then
3372  echo $ECHO_N "(cached) $ECHO_C" >&6
3373else
3374  cat >conftest.$ac_ext <<_ACEOF
3375#line $LINENO "configure"
3376#include "confdefs.h"
3377$ac_includes_default
3378#ifdef F77_DUMMY_MAIN
3379#  ifdef __cplusplus
3380     extern "C"
3381#  endif
3382   int F77_DUMMY_MAIN() { return 1; }
3383#endif
3384int
3385main ()
3386{
3387if ((uint32_t *) 0)
3388  return 0;
3389if (sizeof (uint32_t))
3390  return 0;
3391  ;
3392  return 0;
3393}
3394_ACEOF
3395rm -f conftest.$ac_objext
3396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397  (eval $ac_compile) 2>&5
3398  ac_status=$?
3399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400  (exit $ac_status); } &&
3401         { ac_try='test -s conftest.$ac_objext'
3402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403  (eval $ac_try) 2>&5
3404  ac_status=$?
3405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406  (exit $ac_status); }; }; then
3407  ac_cv_type_uint32_t=yes
3408else
3409  echo "$as_me: failed program was:" >&5
3410cat conftest.$ac_ext >&5
3411ac_cv_type_uint32_t=no
3412fi
3413rm -f conftest.$ac_objext conftest.$ac_ext
3414fi
3415echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3416echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3417if test $ac_cv_type_uint32_t = yes; then
3418  :
3419else
3420
3421cat >>confdefs.h <<\_ACEOF
3422#define uint32_t unsigned int
3423_ACEOF
3424
3425fi
3426
3427echo "$as_me:$LINENO: checking for uint64_t" >&5
3428echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3429if test "${ac_cv_type_uint64_t+set}" = set; then
3430  echo $ECHO_N "(cached) $ECHO_C" >&6
3431else
3432  cat >conftest.$ac_ext <<_ACEOF
3433#line $LINENO "configure"
3434#include "confdefs.h"
3435$ac_includes_default
3436#ifdef F77_DUMMY_MAIN
3437#  ifdef __cplusplus
3438     extern "C"
3439#  endif
3440   int F77_DUMMY_MAIN() { return 1; }
3441#endif
3442int
3443main ()
3444{
3445if ((uint64_t *) 0)
3446  return 0;
3447if (sizeof (uint64_t))
3448  return 0;
3449  ;
3450  return 0;
3451}
3452_ACEOF
3453rm -f conftest.$ac_objext
3454if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455  (eval $ac_compile) 2>&5
3456  ac_status=$?
3457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458  (exit $ac_status); } &&
3459         { ac_try='test -s conftest.$ac_objext'
3460  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461  (eval $ac_try) 2>&5
3462  ac_status=$?
3463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464  (exit $ac_status); }; }; then
3465  ac_cv_type_uint64_t=yes
3466else
3467  echo "$as_me: failed program was:" >&5
3468cat conftest.$ac_ext >&5
3469ac_cv_type_uint64_t=no
3470fi
3471rm -f conftest.$ac_objext conftest.$ac_ext
3472fi
3473echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3474echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3475if test $ac_cv_type_uint64_t = yes; then
3476  :
3477else
3478
3479cat >>confdefs.h <<\_ACEOF
3480#define uint64_t unsigned long long
3481_ACEOF
3482
3483fi
3484
3485
3486
3487for ac_func in strerror
3488do
3489as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3490echo "$as_me:$LINENO: checking for $ac_func" >&5
3491echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3492if eval "test \"\${$as_ac_var+set}\" = set"; then
3493  echo $ECHO_N "(cached) $ECHO_C" >&6
3494else
3495  cat >conftest.$ac_ext <<_ACEOF
3496#line $LINENO "configure"
3497#include "confdefs.h"
3498/* System header to define __stub macros and hopefully few prototypes,
3499    which can conflict with char $ac_func (); below.  */
3500#include <assert.h>
3501/* Override any gcc2 internal prototype to avoid an error.  */
3502#ifdef __cplusplus
3503extern "C"
3504#endif
3505/* We use char because int might match the return type of a gcc2
3506   builtin and then its argument prototype would still apply.  */
3507char $ac_func ();
3508char (*f) ();
3509
3510#ifdef F77_DUMMY_MAIN
3511#  ifdef __cplusplus
3512     extern "C"
3513#  endif
3514   int F77_DUMMY_MAIN() { return 1; }
3515#endif
3516int
3517main ()
3518{
3519/* The GNU C library defines this for functions which it implements
3520    to always fail with ENOSYS.  Some functions are actually named
3521    something starting with __ and the normal name is an alias.  */
3522#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3523choke me
3524#else
3525f = $ac_func;
3526#endif
3527
3528  ;
3529  return 0;
3530}
3531_ACEOF
3532rm -f conftest.$ac_objext conftest$ac_exeext
3533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3534  (eval $ac_link) 2>&5
3535  ac_status=$?
3536  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537  (exit $ac_status); } &&
3538         { ac_try='test -s conftest$ac_exeext'
3539  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540  (eval $ac_try) 2>&5
3541  ac_status=$?
3542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543  (exit $ac_status); }; }; then
3544  eval "$as_ac_var=yes"
3545else
3546  echo "$as_me: failed program was:" >&5
3547cat conftest.$ac_ext >&5
3548eval "$as_ac_var=no"
3549fi
3550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3551fi
3552echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3553echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3554if test `eval echo '${'$as_ac_var'}'` = yes; then
3555  cat >>confdefs.h <<_ACEOF
3556#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3557_ACEOF
3558
3559fi
3560done
3561
3562
3563ac_config_files="$ac_config_files Makefile"
3564cat >confcache <<\_ACEOF
3565# This file is a shell script that caches the results of configure
3566# tests run on this system so they can be shared between configure
3567# scripts and configure runs, see configure's option --config-cache.
3568# It is not useful on other systems.  If it contains results you don't
3569# want to keep, you may remove or edit it.
3570#
3571# config.status only pays attention to the cache file if you give it
3572# the --recheck option to rerun configure.
3573#
3574# `ac_cv_env_foo' variables (set or unset) will be overriden when
3575# loading this file, other *unset* `ac_cv_foo' will be assigned the
3576# following values.
3577
3578_ACEOF
3579
3580# The following way of writing the cache mishandles newlines in values,
3581# but we know of no workaround that is simple, portable, and efficient.
3582# So, don't put newlines in cache variables' values.
3583# Ultrix sh set writes to stderr and can't be redirected directly,
3584# and sets the high bit in the cache file unless we assign to the vars.
3585{
3586  (set) 2>&1 |
3587    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3588    *ac_space=\ *)
3589      # `set' does not quote correctly, so add quotes (double-quote
3590      # substitution turns \\\\ into \\, and sed turns \\ into \).
3591      sed -n \
3592        "s/'/'\\\\''/g;
3593    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3594      ;;
3595    *)
3596      # `set' quotes correctly as required by POSIX, so do not add quotes.
3597      sed -n \
3598        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3599      ;;
3600    esac;
3601} |
3602  sed '
3603     t clear
3604     : clear
3605     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3606     t end
3607     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3608     : end' >>confcache
3609if cmp -s $cache_file confcache; then :; else
3610  if test -w $cache_file; then
3611    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3612    cat confcache >$cache_file
3613  else
3614    echo "not updating unwritable cache $cache_file"
3615  fi
3616fi
3617rm -f confcache
3618
3619test "x$prefix" = xNONE && prefix=$ac_default_prefix
3620# Let make expand exec_prefix.
3621test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3622
3623# VPATH may cause trouble with some makes, so we remove $(srcdir),
3624# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3625# trailing colons and then remove the whole line if VPATH becomes empty
3626# (actually we leave an empty line to preserve line numbers).
3627if test "x$srcdir" = x.; then
3628  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
3629s/:*\$(srcdir):*/:/;
3630s/:*\${srcdir}:*/:/;
3631s/:*@srcdir@:*/:/;
3632s/^\([^=]*=[ 	]*\):*/\1/;
3633s/:*$//;
3634s/^[^=]*=[ 	]*$//;
3635}'
3636fi
3637
3638DEFS=-DHAVE_CONFIG_H
3639
3640
3641: ${CONFIG_STATUS=./config.status}
3642ac_clean_files_save=$ac_clean_files
3643ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3644{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3645echo "$as_me: creating $CONFIG_STATUS" >&6;}
3646cat >$CONFIG_STATUS <<_ACEOF
3647#! $SHELL
3648# Generated by $as_me.
3649# Run this file to recreate the current configuration.
3650# Compiler output produced by configure, useful for debugging
3651# configure, is in config.log if it exists.
3652
3653debug=false
3654SHELL=\${CONFIG_SHELL-$SHELL}
3655_ACEOF
3656
3657cat >>$CONFIG_STATUS <<\_ACEOF
3658
3659## --------------------- ##
3660## M4sh Initialization.  ##
3661## --------------------- ##
3662
3663# Be Bourne compatible
3664if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3665  emulate sh
3666  NULLCMD=:
3667elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3668  set -o posix
3669fi
3670
3671# NLS nuisances.
3672# Support unset when possible.
3673if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3674  as_unset=unset
3675else
3676  as_unset=false
3677fi
3678
3679(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3680    { $as_unset LANG || test "${LANG+set}" != set; } ||
3681      { LANG=C; export LANG; }
3682(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3683    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3684      { LC_ALL=C; export LC_ALL; }
3685(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3686    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3687      { LC_TIME=C; export LC_TIME; }
3688(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3689    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3690      { LC_CTYPE=C; export LC_CTYPE; }
3691(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3692    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3693      { LANGUAGE=C; export LANGUAGE; }
3694(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3695    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3696      { LC_COLLATE=C; export LC_COLLATE; }
3697(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3698    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3699      { LC_NUMERIC=C; export LC_NUMERIC; }
3700(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3701    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3702      { LC_MESSAGES=C; export LC_MESSAGES; }
3703
3704
3705# Name of the executable.
3706as_me=`(basename "$0") 2>/dev/null ||
3707$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3708	 X"$0" : 'X\(//\)$' \| \
3709	 X"$0" : 'X\(/\)$' \| \
3710	 .     : '\(.\)' 2>/dev/null ||
3711echo X/"$0" |
3712    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3713  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
3714  	  /^X\/\(\/\).*/{ s//\1/; q; }
3715  	  s/.*/./; q'`
3716
3717# PATH needs CR, and LINENO needs CR and PATH.
3718# Avoid depending upon Character Ranges.
3719as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3720as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3721as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3722as_cr_digits='0123456789'
3723as_cr_alnum=$as_cr_Letters$as_cr_digits
3724
3725# The user is always right.
3726if test "${PATH_SEPARATOR+set}" != set; then
3727  echo "#! /bin/sh" >conftest.sh
3728  echo  "exit 0"   >>conftest.sh
3729  chmod +x conftest.sh
3730  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3731    PATH_SEPARATOR=';'
3732  else
3733    PATH_SEPARATOR=:
3734  fi
3735  rm -f conftest.sh
3736fi
3737
3738
3739  as_lineno_1=$LINENO
3740  as_lineno_2=$LINENO
3741  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3742  test "x$as_lineno_1" != "x$as_lineno_2" &&
3743  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3744  # Find who we are.  Look in the path if we contain no path at all
3745  # relative or not.
3746  case $0 in
3747    *[\\/]* ) as_myself=$0 ;;
3748    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749for as_dir in $PATH
3750do
3751  IFS=$as_save_IFS
3752  test -z "$as_dir" && as_dir=.
3753  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3754done
3755
3756       ;;
3757  esac
3758  # We did not find ourselves, most probably we were run as `sh COMMAND'
3759  # in which case we are not to be found in the path.
3760  if test "x$as_myself" = x; then
3761    as_myself=$0
3762  fi
3763  if test ! -f "$as_myself"; then
3764    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3765echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3766   { (exit 1); exit 1; }; }
3767  fi
3768  case $CONFIG_SHELL in
3769  '')
3770    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3772do
3773  IFS=$as_save_IFS
3774  test -z "$as_dir" && as_dir=.
3775  for as_base in sh bash ksh sh5; do
3776	 case $as_dir in
3777	 /*)
3778	   if ("$as_dir/$as_base" -c '
3779  as_lineno_1=$LINENO
3780  as_lineno_2=$LINENO
3781  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3782  test "x$as_lineno_1" != "x$as_lineno_2" &&
3783  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3784	     CONFIG_SHELL=$as_dir/$as_base
3785	     export CONFIG_SHELL
3786	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3787	   fi;;
3788	 esac
3789       done
3790done
3791;;
3792  esac
3793
3794  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3795  # uniformly replaced by the line number.  The first 'sed' inserts a
3796  # line-number line before each line; the second 'sed' does the real
3797  # work.  The second script uses 'N' to pair each line-number line
3798  # with the numbered line, and appends trailing '-' during
3799  # substitution so that $LINENO is not a special case at line end.
3800  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3801  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3802  sed '=' <$as_myself |
3803    sed '
3804      N
3805      s,$,-,
3806      : loop
3807      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3808      t loop
3809      s,-$,,
3810      s,^['$as_cr_digits']*\n,,
3811    ' >$as_me.lineno &&
3812  chmod +x $as_me.lineno ||
3813    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3814echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3815   { (exit 1); exit 1; }; }
3816
3817  # Don't try to exec as it changes $[0], causing all sort of problems
3818  # (the dirname of $[0] is not the place where we might find the
3819  # original and so on.  Autoconf is especially sensible to this).
3820  . ./$as_me.lineno
3821  # Exit status is that of the last command.
3822  exit
3823}
3824
3825
3826case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3827  *c*,-n*) ECHO_N= ECHO_C='
3828' ECHO_T='	' ;;
3829  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3830  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3831esac
3832
3833if expr a : '\(a\)' >/dev/null 2>&1; then
3834  as_expr=expr
3835else
3836  as_expr=false
3837fi
3838
3839rm -f conf$$ conf$$.exe conf$$.file
3840echo >conf$$.file
3841if ln -s conf$$.file conf$$ 2>/dev/null; then
3842  # We could just check for DJGPP; but this test a) works b) is more generic
3843  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3844  if test -f conf$$.exe; then
3845    # Don't use ln at all; we don't have any links
3846    as_ln_s='cp -p'
3847  else
3848    as_ln_s='ln -s'
3849  fi
3850elif ln conf$$.file conf$$ 2>/dev/null; then
3851  as_ln_s=ln
3852else
3853  as_ln_s='cp -p'
3854fi
3855rm -f conf$$ conf$$.exe conf$$.file
3856
3857as_executable_p="test -f"
3858
3859# Sed expression to map a string onto a valid CPP name.
3860as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3861
3862# Sed expression to map a string onto a valid variable name.
3863as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3864
3865
3866# IFS
3867# We need space, tab and new line, in precisely that order.
3868as_nl='
3869'
3870IFS=" 	$as_nl"
3871
3872# CDPATH.
3873$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3874
3875exec 6>&1
3876
3877# Open the log real soon, to keep \$[0] and so on meaningful, and to
3878# report actual input values of CONFIG_FILES etc. instead of their
3879# values after options handling.  Logging --version etc. is OK.
3880exec 5>>config.log
3881{
3882  echo
3883  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3884## Running $as_me. ##
3885_ASBOX
3886} >&5
3887cat >&5 <<_CSEOF
3888
3889This file was extended by $as_me, which was
3890generated by GNU Autoconf 2.53.  Invocation command line was
3891
3892  CONFIG_FILES    = $CONFIG_FILES
3893  CONFIG_HEADERS  = $CONFIG_HEADERS
3894  CONFIG_LINKS    = $CONFIG_LINKS
3895  CONFIG_COMMANDS = $CONFIG_COMMANDS
3896  $ $0 $@
3897
3898_CSEOF
3899echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3900echo >&5
3901_ACEOF
3902
3903# Files that config.status was made for.
3904if test -n "$ac_config_files"; then
3905  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3906fi
3907
3908if test -n "$ac_config_headers"; then
3909  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3910fi
3911
3912if test -n "$ac_config_links"; then
3913  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3914fi
3915
3916if test -n "$ac_config_commands"; then
3917  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3918fi
3919
3920cat >>$CONFIG_STATUS <<\_ACEOF
3921
3922ac_cs_usage="\
3923\`$as_me' instantiates files from templates according to the
3924current configuration.
3925
3926Usage: $0 [OPTIONS] [FILE]...
3927
3928  -h, --help       print this help, then exit
3929  -V, --version    print version number, then exit
3930  -d, --debug      don't remove temporary files
3931      --recheck    update $as_me by reconfiguring in the same conditions
3932  --file=FILE[:TEMPLATE]
3933                   instantiate the configuration file FILE
3934  --header=FILE[:TEMPLATE]
3935                   instantiate the configuration header FILE
3936
3937Configuration files:
3938$config_files
3939
3940Configuration headers:
3941$config_headers
3942
3943Configuration commands:
3944$config_commands
3945
3946Report bugs to <bug-autoconf@gnu.org>."
3947_ACEOF
3948
3949cat >>$CONFIG_STATUS <<_ACEOF
3950ac_cs_version="\\
3951config.status
3952configured by $0, generated by GNU Autoconf 2.53,
3953  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3954
3955Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3956Free Software Foundation, Inc.
3957This config.status script is free software; the Free Software Foundation
3958gives unlimited permission to copy, distribute and modify it."
3959srcdir=$srcdir
3960INSTALL="$INSTALL"
3961_ACEOF
3962
3963cat >>$CONFIG_STATUS <<\_ACEOF
3964# If no file are specified by the user, then we need to provide default
3965# value.  By we need to know if files were specified by the user.
3966ac_need_defaults=:
3967while test $# != 0
3968do
3969  case $1 in
3970  --*=*)
3971    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3972    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3973    shift
3974    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3975    shift
3976    ;;
3977  -*);;
3978  *) # This is not an option, so the user has probably given explicit
3979     # arguments.
3980     ac_need_defaults=false;;
3981  esac
3982
3983  case $1 in
3984  # Handling of the options.
3985_ACEOF
3986cat >>$CONFIG_STATUS <<_ACEOF
3987  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3988    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3989    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3990_ACEOF
3991cat >>$CONFIG_STATUS <<\_ACEOF
3992  --version | --vers* | -V )
3993    echo "$ac_cs_version"; exit 0 ;;
3994  --he | --h)
3995    # Conflict between --help and --header
3996    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3997Try \`$0 --help' for more information." >&5
3998echo "$as_me: error: ambiguous option: $1
3999Try \`$0 --help' for more information." >&2;}
4000   { (exit 1); exit 1; }; };;
4001  --help | --hel | -h )
4002    echo "$ac_cs_usage"; exit 0 ;;
4003  --debug | --d* | -d )
4004    debug=: ;;
4005  --file | --fil | --fi | --f )
4006    shift
4007    CONFIG_FILES="$CONFIG_FILES $1"
4008    ac_need_defaults=false;;
4009  --header | --heade | --head | --hea )
4010    shift
4011    CONFIG_HEADERS="$CONFIG_HEADERS $1"
4012    ac_need_defaults=false;;
4013
4014  # This is an error.
4015  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4016Try \`$0 --help' for more information." >&5
4017echo "$as_me: error: unrecognized option: $1
4018Try \`$0 --help' for more information." >&2;}
4019   { (exit 1); exit 1; }; } ;;
4020
4021  *) ac_config_targets="$ac_config_targets $1" ;;
4022
4023  esac
4024  shift
4025done
4026
4027_ACEOF
4028
4029cat >>$CONFIG_STATUS <<_ACEOF
4030#
4031# INIT-COMMANDS section.
4032#
4033
4034AMDEP_TRUE="$AMDEP_TRUE"
4035ac_aux_dir="$ac_aux_dir"
4036
4037_ACEOF
4038
4039
4040
4041cat >>$CONFIG_STATUS <<\_ACEOF
4042for ac_config_target in $ac_config_targets
4043do
4044  case "$ac_config_target" in
4045  # Handling of arguments.
4046  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4047  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4048  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4049  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4050echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4051   { (exit 1); exit 1; }; };;
4052  esac
4053done
4054
4055# If the user did not use the arguments to specify the items to instantiate,
4056# then the envvar interface is used.  Set only those that are not.
4057# We use the long form for the default assignment because of an extremely
4058# bizarre bug on SunOS 4.1.3.
4059if $ac_need_defaults; then
4060  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4061  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4062  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4063fi
4064
4065# Create a temporary directory, and hook for its removal unless debugging.
4066$debug ||
4067{
4068  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4069  trap '{ (exit 1); exit 1; }' 1 2 13 15
4070}
4071
4072# Create a (secure) tmp directory for tmp files.
4073: ${TMPDIR=/tmp}
4074{
4075  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4076  test -n "$tmp" && test -d "$tmp"
4077}  ||
4078{
4079  tmp=$TMPDIR/cs$$-$RANDOM
4080  (umask 077 && mkdir $tmp)
4081} ||
4082{
4083   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4084   { (exit 1); exit 1; }
4085}
4086
4087_ACEOF
4088
4089cat >>$CONFIG_STATUS <<_ACEOF
4090
4091#
4092# CONFIG_FILES section.
4093#
4094
4095# No need to generate the scripts if there are no CONFIG_FILES.
4096# This happens for instance when ./config.status config.h
4097if test -n "\$CONFIG_FILES"; then
4098  # Protect against being on the right side of a sed subst in config.status.
4099  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4100   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4101s,@SHELL@,$SHELL,;t t
4102s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4103s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4104s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4105s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4106s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4107s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4108s,@exec_prefix@,$exec_prefix,;t t
4109s,@prefix@,$prefix,;t t
4110s,@program_transform_name@,$program_transform_name,;t t
4111s,@bindir@,$bindir,;t t
4112s,@sbindir@,$sbindir,;t t
4113s,@libexecdir@,$libexecdir,;t t
4114s,@datadir@,$datadir,;t t
4115s,@sysconfdir@,$sysconfdir,;t t
4116s,@sharedstatedir@,$sharedstatedir,;t t
4117s,@localstatedir@,$localstatedir,;t t
4118s,@libdir@,$libdir,;t t
4119s,@includedir@,$includedir,;t t
4120s,@oldincludedir@,$oldincludedir,;t t
4121s,@infodir@,$infodir,;t t
4122s,@mandir@,$mandir,;t t
4123s,@build_alias@,$build_alias,;t t
4124s,@host_alias@,$host_alias,;t t
4125s,@target_alias@,$target_alias,;t t
4126s,@DEFS@,$DEFS,;t t
4127s,@ECHO_C@,$ECHO_C,;t t
4128s,@ECHO_N@,$ECHO_N,;t t
4129s,@ECHO_T@,$ECHO_T,;t t
4130s,@LIBS@,$LIBS,;t t
4131s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4132s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4133s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4134s,@PACKAGE@,$PACKAGE,;t t
4135s,@VERSION@,$VERSION,;t t
4136s,@EXEEXT@,$EXEEXT,;t t
4137s,@OBJEXT@,$OBJEXT,;t t
4138s,@ACLOCAL@,$ACLOCAL,;t t
4139s,@AUTOCONF@,$AUTOCONF,;t t
4140s,@AUTOMAKE@,$AUTOMAKE,;t t
4141s,@AUTOHEADER@,$AUTOHEADER,;t t
4142s,@MAKEINFO@,$MAKEINFO,;t t
4143s,@AMTAR@,$AMTAR,;t t
4144s,@install_sh@,$install_sh,;t t
4145s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4146s,@AWK@,$AWK,;t t
4147s,@SET_MAKE@,$SET_MAKE,;t t
4148s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4149s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4150s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4151s,@DEPDIR@,$DEPDIR,;t t
4152s,@CC@,$CC,;t t
4153s,@CFLAGS@,$CFLAGS,;t t
4154s,@LDFLAGS@,$LDFLAGS,;t t
4155s,@CPPFLAGS@,$CPPFLAGS,;t t
4156s,@ac_ct_CC@,$ac_ct_CC,;t t
4157s,@am__include@,$am__include,;t t
4158s,@am__quote@,$am__quote,;t t
4159s,@CCDEPMODE@,$CCDEPMODE,;t t
4160s,@CPP@,$CPP,;t t
4161CEOF
4162
4163_ACEOF
4164
4165  cat >>$CONFIG_STATUS <<\_ACEOF
4166  # Split the substitutions into bite-sized pieces for seds with
4167  # small command number limits, like on Digital OSF/1 and HP-UX.
4168  ac_max_sed_lines=48
4169  ac_sed_frag=1 # Number of current file.
4170  ac_beg=1 # First line for current file.
4171  ac_end=$ac_max_sed_lines # Line after last line for current file.
4172  ac_more_lines=:
4173  ac_sed_cmds=
4174  while $ac_more_lines; do
4175    if test $ac_beg -gt 1; then
4176      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4177    else
4178      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4179    fi
4180    if test ! -s $tmp/subs.frag; then
4181      ac_more_lines=false
4182    else
4183      # The purpose of the label and of the branching condition is to
4184      # speed up the sed processing (if there are no `@' at all, there
4185      # is no need to browse any of the substitutions).
4186      # These are the two extra sed commands mentioned above.
4187      (echo ':t
4188  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4189      if test -z "$ac_sed_cmds"; then
4190  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4191      else
4192  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4193      fi
4194      ac_sed_frag=`expr $ac_sed_frag + 1`
4195      ac_beg=$ac_end
4196      ac_end=`expr $ac_end + $ac_max_sed_lines`
4197    fi
4198  done
4199  if test -z "$ac_sed_cmds"; then
4200    ac_sed_cmds=cat
4201  fi
4202fi # test -n "$CONFIG_FILES"
4203
4204_ACEOF
4205cat >>$CONFIG_STATUS <<\_ACEOF
4206for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4207  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4208  case $ac_file in
4209  - | *:- | *:-:* ) # input from stdin
4210        cat >$tmp/stdin
4211        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4212        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4213  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4214        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4215  * )   ac_file_in=$ac_file.in ;;
4216  esac
4217
4218  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4219  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4220$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4221         X"$ac_file" : 'X\(//\)[^/]' \| \
4222         X"$ac_file" : 'X\(//\)$' \| \
4223         X"$ac_file" : 'X\(/\)' \| \
4224         .     : '\(.\)' 2>/dev/null ||
4225echo X"$ac_file" |
4226    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4227  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4228  	  /^X\(\/\/\)$/{ s//\1/; q; }
4229  	  /^X\(\/\).*/{ s//\1/; q; }
4230  	  s/.*/./; q'`
4231  { case "$ac_dir" in
4232  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4233  *)                      as_incr_dir=.;;
4234esac
4235as_dummy="$ac_dir"
4236for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4237  case $as_mkdir_dir in
4238    # Skip DOS drivespec
4239    ?:) as_incr_dir=$as_mkdir_dir ;;
4240    *)
4241      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4242      test -d "$as_incr_dir" ||
4243        mkdir "$as_incr_dir" ||
4244	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4245echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4246   { (exit 1); exit 1; }; }
4247    ;;
4248  esac
4249done; }
4250
4251  ac_builddir=.
4252
4253if test "$ac_dir" != .; then
4254  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4255  # A "../" for each directory in $ac_dir_suffix.
4256  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4257else
4258  ac_dir_suffix= ac_top_builddir=
4259fi
4260
4261case $srcdir in
4262  .)  # No --srcdir option.  We are building in place.
4263    ac_srcdir=.
4264    if test -z "$ac_top_builddir"; then
4265       ac_top_srcdir=.
4266    else
4267       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4268    fi ;;
4269  [\\/]* | ?:[\\/]* )  # Absolute path.
4270    ac_srcdir=$srcdir$ac_dir_suffix;
4271    ac_top_srcdir=$srcdir ;;
4272  *) # Relative path.
4273    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4274    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4275esac
4276# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4277# absolute.
4278ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4279ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4280ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4281ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4282
4283
4284  case $INSTALL in
4285  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4286  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4287  esac
4288
4289  if test x"$ac_file" != x-; then
4290    { echo "$as_me:$LINENO: creating $ac_file" >&5
4291echo "$as_me: creating $ac_file" >&6;}
4292    rm -f "$ac_file"
4293  fi
4294  # Let's still pretend it is `configure' which instantiates (i.e., don't
4295  # use $as_me), people would be surprised to read:
4296  #    /* config.h.  Generated by config.status.  */
4297  if test x"$ac_file" = x-; then
4298    configure_input=
4299  else
4300    configure_input="$ac_file.  "
4301  fi
4302  configure_input=$configure_input"Generated from `echo $ac_file_in |
4303                                     sed 's,.*/,,'` by configure."
4304
4305  # First look for the input files in the build tree, otherwise in the
4306  # src tree.
4307  ac_file_inputs=`IFS=:
4308    for f in $ac_file_in; do
4309      case $f in
4310      -) echo $tmp/stdin ;;
4311      [\\/$]*)
4312         # Absolute (can't be DOS-style, as IFS=:)
4313         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4314echo "$as_me: error: cannot find input file: $f" >&2;}
4315   { (exit 1); exit 1; }; }
4316         echo $f;;
4317      *) # Relative
4318         if test -f "$f"; then
4319           # Build tree
4320           echo $f
4321         elif test -f "$srcdir/$f"; then
4322           # Source tree
4323           echo $srcdir/$f
4324         else
4325           # /dev/null tree
4326           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4327echo "$as_me: error: cannot find input file: $f" >&2;}
4328   { (exit 1); exit 1; }; }
4329         fi;;
4330      esac
4331    done` || { (exit 1); exit 1; }
4332_ACEOF
4333cat >>$CONFIG_STATUS <<_ACEOF
4334  sed "$ac_vpsub
4335$extrasub
4336_ACEOF
4337cat >>$CONFIG_STATUS <<\_ACEOF
4338:t
4339/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4340s,@configure_input@,$configure_input,;t t
4341s,@srcdir@,$ac_srcdir,;t t
4342s,@abs_srcdir@,$ac_abs_srcdir,;t t
4343s,@top_srcdir@,$ac_top_srcdir,;t t
4344s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4345s,@builddir@,$ac_builddir,;t t
4346s,@abs_builddir@,$ac_abs_builddir,;t t
4347s,@top_builddir@,$ac_top_builddir,;t t
4348s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4349s,@INSTALL@,$ac_INSTALL,;t t
4350" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4351  rm -f $tmp/stdin
4352  if test x"$ac_file" != x-; then
4353    mv $tmp/out $ac_file
4354  else
4355    cat $tmp/out
4356    rm -f $tmp/out
4357  fi
4358
4359done
4360_ACEOF
4361cat >>$CONFIG_STATUS <<\_ACEOF
4362
4363#
4364# CONFIG_HEADER section.
4365#
4366
4367# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4368# NAME is the cpp macro being defined and VALUE is the value it is being given.
4369#
4370# ac_d sets the value in "#define NAME VALUE" lines.
4371ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
4372ac_dB='[ 	].*$,\1#\2'
4373ac_dC=' '
4374ac_dD=',;t'
4375# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4376ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
4377ac_uB='$,\1#\2define\3'
4378ac_uC=' '
4379ac_uD=',;t'
4380
4381for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4382  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4383  case $ac_file in
4384  - | *:- | *:-:* ) # input from stdin
4385        cat >$tmp/stdin
4386        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4387        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4388  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4389        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4390  * )   ac_file_in=$ac_file.in ;;
4391  esac
4392
4393  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4394echo "$as_me: creating $ac_file" >&6;}
4395
4396  # First look for the input files in the build tree, otherwise in the
4397  # src tree.
4398  ac_file_inputs=`IFS=:
4399    for f in $ac_file_in; do
4400      case $f in
4401      -) echo $tmp/stdin ;;
4402      [\\/$]*)
4403         # Absolute (can't be DOS-style, as IFS=:)
4404         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4405echo "$as_me: error: cannot find input file: $f" >&2;}
4406   { (exit 1); exit 1; }; }
4407         echo $f;;
4408      *) # Relative
4409         if test -f "$f"; then
4410           # Build tree
4411           echo $f
4412         elif test -f "$srcdir/$f"; then
4413           # Source tree
4414           echo $srcdir/$f
4415         else
4416           # /dev/null tree
4417           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4418echo "$as_me: error: cannot find input file: $f" >&2;}
4419   { (exit 1); exit 1; }; }
4420         fi;;
4421      esac
4422    done` || { (exit 1); exit 1; }
4423  # Remove the trailing spaces.
4424  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
4425
4426_ACEOF
4427
4428# Transform confdefs.h into two sed scripts, `conftest.defines' and
4429# `conftest.undefs', that substitutes the proper values into
4430# config.h.in to produce config.h.  The first handles `#define'
4431# templates, and the second `#undef' templates.
4432# And first: Protect against being on the right side of a sed subst in
4433# config.status.  Protect against being in an unquoted here document
4434# in config.status.
4435rm -f conftest.defines conftest.undefs
4436# Using a here document instead of a string reduces the quoting nightmare.
4437# Putting comments in sed scripts is not portable.
4438#
4439# `end' is used to avoid that the second main sed command (meant for
4440# 0-ary CPP macros) applies to n-ary macro definitions.
4441# See the Autoconf documentation for `clear'.
4442cat >confdef2sed.sed <<\_ACEOF
4443s/[\\&,]/\\&/g
4444s,[\\$`],\\&,g
4445t clear
4446: clear
4447s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4448t end
4449s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4450: end
4451_ACEOF
4452# If some macros were called several times there might be several times
4453# the same #defines, which is useless.  Nevertheless, we may not want to
4454# sort them, since we want the *last* AC-DEFINE to be honored.
4455uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4456sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4457rm -f confdef2sed.sed
4458
4459# This sed command replaces #undef with comments.  This is necessary, for
4460# example, in the case of _POSIX_SOURCE, which is predefined and required
4461# on some systems where configure will not decide to define it.
4462cat >>conftest.undefs <<\_ACEOF
4463s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4464_ACEOF
4465
4466# Break up conftest.defines because some shells have a limit on the size
4467# of here documents, and old seds have small limits too (100 cmds).
4468echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4469echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4470echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4471echo '  :' >>$CONFIG_STATUS
4472rm -f conftest.tail
4473while grep . conftest.defines >/dev/null
4474do
4475  # Write a limited-size here document to $tmp/defines.sed.
4476  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4477  # Speed up: don't consider the non `#define' lines.
4478  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
4479  # Work around the forget-to-reset-the-flag bug.
4480  echo 't clr' >>$CONFIG_STATUS
4481  echo ': clr' >>$CONFIG_STATUS
4482  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4483  echo 'CEOF
4484  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4485  rm -f $tmp/in
4486  mv $tmp/out $tmp/in
4487' >>$CONFIG_STATUS
4488  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4489  rm -f conftest.defines
4490  mv conftest.tail conftest.defines
4491done
4492rm -f conftest.defines
4493echo '  fi # egrep' >>$CONFIG_STATUS
4494echo >>$CONFIG_STATUS
4495
4496# Break up conftest.undefs because some shells have a limit on the size
4497# of here documents, and old seds have small limits too (100 cmds).
4498echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4499rm -f conftest.tail
4500while grep . conftest.undefs >/dev/null
4501do
4502  # Write a limited-size here document to $tmp/undefs.sed.
4503  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4504  # Speed up: don't consider the non `#undef'
4505  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
4506  # Work around the forget-to-reset-the-flag bug.
4507  echo 't clr' >>$CONFIG_STATUS
4508  echo ': clr' >>$CONFIG_STATUS
4509  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4510  echo 'CEOF
4511  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4512  rm -f $tmp/in
4513  mv $tmp/out $tmp/in
4514' >>$CONFIG_STATUS
4515  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4516  rm -f conftest.undefs
4517  mv conftest.tail conftest.undefs
4518done
4519rm -f conftest.undefs
4520
4521cat >>$CONFIG_STATUS <<\_ACEOF
4522  # Let's still pretend it is `configure' which instantiates (i.e., don't
4523  # use $as_me), people would be surprised to read:
4524  #    /* config.h.  Generated by config.status.  */
4525  if test x"$ac_file" = x-; then
4526    echo "/* Generated by configure.  */" >$tmp/config.h
4527  else
4528    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4529  fi
4530  cat $tmp/in >>$tmp/config.h
4531  rm -f $tmp/in
4532  if test x"$ac_file" != x-; then
4533    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4534      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4535echo "$as_me: $ac_file is unchanged" >&6;}
4536    else
4537      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4538$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4539         X"$ac_file" : 'X\(//\)[^/]' \| \
4540         X"$ac_file" : 'X\(//\)$' \| \
4541         X"$ac_file" : 'X\(/\)' \| \
4542         .     : '\(.\)' 2>/dev/null ||
4543echo X"$ac_file" |
4544    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4545  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4546  	  /^X\(\/\/\)$/{ s//\1/; q; }
4547  	  /^X\(\/\).*/{ s//\1/; q; }
4548  	  s/.*/./; q'`
4549      { case "$ac_dir" in
4550  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4551  *)                      as_incr_dir=.;;
4552esac
4553as_dummy="$ac_dir"
4554for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4555  case $as_mkdir_dir in
4556    # Skip DOS drivespec
4557    ?:) as_incr_dir=$as_mkdir_dir ;;
4558    *)
4559      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4560      test -d "$as_incr_dir" ||
4561        mkdir "$as_incr_dir" ||
4562	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4563echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4564   { (exit 1); exit 1; }; }
4565    ;;
4566  esac
4567done; }
4568
4569      rm -f $ac_file
4570      mv $tmp/config.h $ac_file
4571    fi
4572  else
4573    cat $tmp/config.h
4574    rm -f $tmp/config.h
4575  fi
4576  # Run the commands associated with the file.
4577  case $ac_file in
4578    config.h ) # update the timestamp
4579echo timestamp >"./stamp-h1"
4580 ;;
4581  esac
4582done
4583_ACEOF
4584cat >>$CONFIG_STATUS <<\_ACEOF
4585
4586#
4587# CONFIG_COMMANDS section.
4588#
4589for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4590  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4591  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4592  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4593$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4594         X"$ac_dest" : 'X\(//\)[^/]' \| \
4595         X"$ac_dest" : 'X\(//\)$' \| \
4596         X"$ac_dest" : 'X\(/\)' \| \
4597         .     : '\(.\)' 2>/dev/null ||
4598echo X"$ac_dest" |
4599    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4600  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4601  	  /^X\(\/\/\)$/{ s//\1/; q; }
4602  	  /^X\(\/\).*/{ s//\1/; q; }
4603  	  s/.*/./; q'`
4604  ac_builddir=.
4605
4606if test "$ac_dir" != .; then
4607  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4608  # A "../" for each directory in $ac_dir_suffix.
4609  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4610else
4611  ac_dir_suffix= ac_top_builddir=
4612fi
4613
4614case $srcdir in
4615  .)  # No --srcdir option.  We are building in place.
4616    ac_srcdir=.
4617    if test -z "$ac_top_builddir"; then
4618       ac_top_srcdir=.
4619    else
4620       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4621    fi ;;
4622  [\\/]* | ?:[\\/]* )  # Absolute path.
4623    ac_srcdir=$srcdir$ac_dir_suffix;
4624    ac_top_srcdir=$srcdir ;;
4625  *) # Relative path.
4626    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4627    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4628esac
4629# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4630# absolute.
4631ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4632ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4633ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4634ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4635
4636
4637  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4638echo "$as_me: executing $ac_dest commands" >&6;}
4639  case $ac_dest in
4640    default-1 )
4641test x"$AMDEP_TRUE" != x"" ||
4642for mf in $CONFIG_FILES; do
4643  case "$mf" in
4644  Makefile) dirpart=.;;
4645  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4646  *) continue;;
4647  esac
4648  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4649  # Extract the definition of DEP_FILES from the Makefile without
4650  # running `make'.
4651  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4652  test -z "$DEPDIR" && continue
4653  # When using ansi2knr, U may be empty or an underscore; expand it
4654  U=`sed -n -e '/^U = / s///p' < "$mf"`
4655  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4656  # We invoke sed twice because it is the simplest approach to
4657  # changing $(DEPDIR) to its actual value in the expansion.
4658  for file in `sed -n -e '
4659    /^DEP_FILES = .*\\\\$/ {
4660      s/^DEP_FILES = //
4661      :loop
4662	s/\\\\$//
4663	p
4664	n
4665	/\\\\$/ b loop
4666      p
4667    }
4668    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4669       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4670    # Make sure the directory exists.
4671    test -f "$dirpart/$file" && continue
4672    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
4673    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4674    # echo "creating $dirpart/$file"
4675    echo '# dummy' > "$dirpart/$file"
4676  done
4677done
4678 ;;
4679  esac
4680done
4681_ACEOF
4682
4683cat >>$CONFIG_STATUS <<\_ACEOF
4684
4685{ (exit 0); exit 0; }
4686_ACEOF
4687chmod +x $CONFIG_STATUS
4688ac_clean_files=$ac_clean_files_save
4689
4690
4691# configure is writing to config.log, and then calls config.status.
4692# config.status does its own redirection, appending to config.log.
4693# Unfortunately, on DOS this fails, as config.log is still kept open
4694# by configure, so config.status won't be able to write to it; its
4695# output is simply discarded.  So we exec the FD to /dev/null,
4696# effectively closing config.log, so it can be properly (re)opened and
4697# appended to by config.status.  When coming back to configure, we
4698# need to make the FD available again.
4699if test "$no_create" != yes; then
4700  ac_cs_success=:
4701  exec 5>/dev/null
4702  $SHELL $CONFIG_STATUS || ac_cs_success=false
4703  exec 5>>config.log
4704  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4705  # would make configure fail if this is the last instruction.
4706  $ac_cs_success || { (exit 1); exit 1; }
4707fi
4708
4709