]> git.sur5r.net Git - glabels/blob - glabels2/barcode-0.98/configure
Added "pointer_exit" signal.
[glabels] / glabels2 / barcode-0.98 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
16
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25   emulate sh
26   NULLCMD=:
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28   set -o posix
29 fi
30
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
33
34 if expr a : '\(a\)' >/dev/null 2>&1; then
35   as_expr=expr
36 else
37   as_expr=false
38 fi
39
40 rm -f conf$$ conf$$.exe conf$$.file
41 echo >conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43   # We could just check for DJGPP; but this test a) works b) is more generic
44   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45   if test -f conf$$.exe; then
46     # Don't use ln at all; we don't have any links
47     as_ln_s='cp -p'
48   else
49     as_ln_s='ln -s'
50   fi
51 elif ln conf$$.file conf$$ 2>/dev/null; then
52   as_ln_s=ln
53 else
54   as_ln_s='cp -p'
55 fi
56 rm -f conf$$ conf$$.exe conf$$.file
57
58 as_executable_p="test -f"
59
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62   as_unset=unset
63 else
64   as_unset=false
65 fi
66
67 # NLS nuisances.
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76
77 # IFS
78 # We need space, tab and new line, in precisely that order.
79 as_nl='
80 '
81 IFS="   $as_nl"
82
83 # CDPATH.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
85
86 # Name of the host.
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
90
91 exec 6>&1
92
93 #
94 # Initializations.
95 #
96 ac_default_prefix=/usr/local
97 cross_compiling=no
98 subdirs=
99 MFLAGS= MAKEFLAGS=
100 SHELL=${CONFIG_SHELL-/bin/sh}
101
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete.  It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
106
107 ac_unique_file="barcode.h"
108
109 # Initialize some variables set by options.
110 ac_init_help=
111 ac_init_version=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
114 cache_file=/dev/null
115 exec_prefix=NONE
116 no_create=
117 no_recursion=
118 prefix=NONE
119 program_prefix=NONE
120 program_suffix=NONE
121 program_transform_name=s,x,x,
122 silent=
123 site=
124 srcdir=
125 verbose=
126 x_includes=NONE
127 x_libraries=NONE
128
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir='${exec_prefix}/bin'
135 sbindir='${exec_prefix}/sbin'
136 libexecdir='${exec_prefix}/libexec'
137 datadir='${prefix}/share'
138 sysconfdir='${prefix}/etc'
139 sharedstatedir='${prefix}/com'
140 localstatedir='${prefix}/var'
141 libdir='${exec_prefix}/lib'
142 includedir='${prefix}/include'
143 oldincludedir='/usr/include'
144 infodir='${prefix}/info'
145 mandir='${prefix}/man'
146
147 # Identity of this package.
148 PACKAGE_NAME=
149 PACKAGE_TARNAME=
150 PACKAGE_VERSION=
151 PACKAGE_STRING=
152 PACKAGE_BUGREPORT=
153
154 ac_prev=
155 for ac_option
156 do
157   # If the previous option needs an argument, assign it.
158   if test -n "$ac_prev"; then
159     eval "$ac_prev=\$ac_option"
160     ac_prev=
161     continue
162   fi
163
164   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
165
166   # Accept the important Cygnus configure options, so we can diagnose typos.
167
168   case $ac_option in
169
170   -bindir | --bindir | --bindi | --bind | --bin | --bi)
171     ac_prev=bindir ;;
172   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
173     bindir=$ac_optarg ;;
174
175   -build | --build | --buil | --bui | --bu)
176     ac_prev=build_alias ;;
177   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
178     build_alias=$ac_optarg ;;
179
180   -cache-file | --cache-file | --cache-fil | --cache-fi \
181   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
182     ac_prev=cache_file ;;
183   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
184   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
185     cache_file=$ac_optarg ;;
186
187   --config-cache | -C)
188     cache_file=config.cache ;;
189
190   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
191     ac_prev=datadir ;;
192   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
193   | --da=*)
194     datadir=$ac_optarg ;;
195
196   -disable-* | --disable-*)
197     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198     # Reject names that are not valid shell variable names.
199     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
200       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201    { (exit 1); exit 1; }; }
202     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
203     eval "enable_$ac_feature=no" ;;
204
205   -enable-* | --enable-*)
206     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207     # Reject names that are not valid shell variable names.
208     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210    { (exit 1); exit 1; }; }
211     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
212     case $ac_option in
213       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
214       *) ac_optarg=yes ;;
215     esac
216     eval "enable_$ac_feature='$ac_optarg'" ;;
217
218   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
219   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
220   | --exec | --exe | --ex)
221     ac_prev=exec_prefix ;;
222   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
224   | --exec=* | --exe=* | --ex=*)
225     exec_prefix=$ac_optarg ;;
226
227   -gas | --gas | --ga | --g)
228     # Obsolete; use --with-gas.
229     with_gas=yes ;;
230
231   -help | --help | --hel | --he | -h)
232     ac_init_help=long ;;
233   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
234     ac_init_help=recursive ;;
235   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
236     ac_init_help=short ;;
237
238   -host | --host | --hos | --ho)
239     ac_prev=host_alias ;;
240   -host=* | --host=* | --hos=* | --ho=*)
241     host_alias=$ac_optarg ;;
242
243   -includedir | --includedir | --includedi | --included | --include \
244   | --includ | --inclu | --incl | --inc)
245     ac_prev=includedir ;;
246   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247   | --includ=* | --inclu=* | --incl=* | --inc=*)
248     includedir=$ac_optarg ;;
249
250   -infodir | --infodir | --infodi | --infod | --info | --inf)
251     ac_prev=infodir ;;
252   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253     infodir=$ac_optarg ;;
254
255   -libdir | --libdir | --libdi | --libd)
256     ac_prev=libdir ;;
257   -libdir=* | --libdir=* | --libdi=* | --libd=*)
258     libdir=$ac_optarg ;;
259
260   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261   | --libexe | --libex | --libe)
262     ac_prev=libexecdir ;;
263   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264   | --libexe=* | --libex=* | --libe=*)
265     libexecdir=$ac_optarg ;;
266
267   -localstatedir | --localstatedir | --localstatedi | --localstated \
268   | --localstate | --localstat | --localsta | --localst \
269   | --locals | --local | --loca | --loc | --lo)
270     ac_prev=localstatedir ;;
271   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274     localstatedir=$ac_optarg ;;
275
276   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
277     ac_prev=mandir ;;
278   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
279     mandir=$ac_optarg ;;
280
281   -nfp | --nfp | --nf)
282     # Obsolete; use --without-fp.
283     with_fp=no ;;
284
285   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286   | --no-cr | --no-c)
287     no_create=yes ;;
288
289   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
291     no_recursion=yes ;;
292
293   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295   | --oldin | --oldi | --old | --ol | --o)
296     ac_prev=oldincludedir ;;
297   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300     oldincludedir=$ac_optarg ;;
301
302   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
303     ac_prev=prefix ;;
304   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
305     prefix=$ac_optarg ;;
306
307   -program-prefix | --program-prefix | --program-prefi | --program-pref \
308   | --program-pre | --program-pr | --program-p)
309     ac_prev=program_prefix ;;
310   -program-prefix=* | --program-prefix=* | --program-prefi=* \
311   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312     program_prefix=$ac_optarg ;;
313
314   -program-suffix | --program-suffix | --program-suffi | --program-suff \
315   | --program-suf | --program-su | --program-s)
316     ac_prev=program_suffix ;;
317   -program-suffix=* | --program-suffix=* | --program-suffi=* \
318   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319     program_suffix=$ac_optarg ;;
320
321   -program-transform-name | --program-transform-name \
322   | --program-transform-nam | --program-transform-na \
323   | --program-transform-n | --program-transform- \
324   | --program-transform | --program-transfor \
325   | --program-transfo | --program-transf \
326   | --program-trans | --program-tran \
327   | --progr-tra | --program-tr | --program-t)
328     ac_prev=program_transform_name ;;
329   -program-transform-name=* | --program-transform-name=* \
330   | --program-transform-nam=* | --program-transform-na=* \
331   | --program-transform-n=* | --program-transform-=* \
332   | --program-transform=* | --program-transfor=* \
333   | --program-transfo=* | --program-transf=* \
334   | --program-trans=* | --program-tran=* \
335   | --progr-tra=* | --program-tr=* | --program-t=*)
336     program_transform_name=$ac_optarg ;;
337
338   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339   | -silent | --silent | --silen | --sile | --sil)
340     silent=yes ;;
341
342   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
343     ac_prev=sbindir ;;
344   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
345   | --sbi=* | --sb=*)
346     sbindir=$ac_optarg ;;
347
348   -sharedstatedir | --sharedstatedir | --sharedstatedi \
349   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350   | --sharedst | --shareds | --shared | --share | --shar \
351   | --sha | --sh)
352     ac_prev=sharedstatedir ;;
353   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
356   | --sha=* | --sh=*)
357     sharedstatedir=$ac_optarg ;;
358
359   -site | --site | --sit)
360     ac_prev=site ;;
361   -site=* | --site=* | --sit=*)
362     site=$ac_optarg ;;
363
364   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
365     ac_prev=srcdir ;;
366   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
367     srcdir=$ac_optarg ;;
368
369   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370   | --syscon | --sysco | --sysc | --sys | --sy)
371     ac_prev=sysconfdir ;;
372   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374     sysconfdir=$ac_optarg ;;
375
376   -target | --target | --targe | --targ | --tar | --ta | --t)
377     ac_prev=target_alias ;;
378   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379     target_alias=$ac_optarg ;;
380
381   -v | -verbose | --verbose | --verbos | --verbo | --verb)
382     verbose=yes ;;
383
384   -version | --version | --versio | --versi | --vers | -V)
385     ac_init_version=: ;;
386
387   -with-* | --with-*)
388     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389     # Reject names that are not valid shell variable names.
390     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391       { echo "$as_me: error: invalid package name: $ac_package" >&2
392    { (exit 1); exit 1; }; }
393     ac_package=`echo $ac_package| sed 's/-/_/g'`
394     case $ac_option in
395       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
396       *) ac_optarg=yes ;;
397     esac
398     eval "with_$ac_package='$ac_optarg'" ;;
399
400   -without-* | --without-*)
401     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402     # Reject names that are not valid shell variable names.
403     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404       { echo "$as_me: error: invalid package name: $ac_package" >&2
405    { (exit 1); exit 1; }; }
406     ac_package=`echo $ac_package | sed 's/-/_/g'`
407     eval "with_$ac_package=no" ;;
408
409   --x)
410     # Obsolete; use --with-x.
411     with_x=yes ;;
412
413   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
414   | --x-incl | --x-inc | --x-in | --x-i)
415     ac_prev=x_includes ;;
416   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
417   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
418     x_includes=$ac_optarg ;;
419
420   -x-libraries | --x-libraries | --x-librarie | --x-librari \
421   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
422     ac_prev=x_libraries ;;
423   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
424   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
425     x_libraries=$ac_optarg ;;
426
427   -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429    { (exit 1); exit 1; }; }
430     ;;
431
432   *=*)
433     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434     # Reject names that are not valid shell variable names.
435     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
436       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437    { (exit 1); exit 1; }; }
438     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439     eval "$ac_envvar='$ac_optarg'"
440     export $ac_envvar ;;
441
442   *)
443     # FIXME: should be removed in autoconf 3.0.
444     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
446       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
448     ;;
449
450   esac
451 done
452
453 if test -n "$ac_prev"; then
454   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
455   { echo "$as_me: error: missing argument to $ac_option" >&2
456    { (exit 1); exit 1; }; }
457 fi
458
459 # Be sure to have absolute paths.
460 for ac_var in exec_prefix prefix
461 do
462   eval ac_val=$`echo $ac_var`
463   case $ac_val in
464     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466    { (exit 1); exit 1; }; };;
467   esac
468 done
469
470 # Be sure to have absolute paths.
471 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472               localstatedir libdir includedir oldincludedir infodir mandir
473 do
474   eval ac_val=$`echo $ac_var`
475   case $ac_val in
476     [\\/$]* | ?:[\\/]* ) ;;
477     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478    { (exit 1); exit 1; }; };;
479   esac
480 done
481
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
484 build=$build_alias
485 host=$host_alias
486 target=$target_alias
487
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x; then
490   if test "x$build_alias" = x; then
491     cross_compiling=maybe
492     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493     If a cross compiler is detected then cross compile mode will be used." >&2
494   elif test "x$build_alias" != "x$host_alias"; then
495     cross_compiling=yes
496   fi
497 fi
498
499 ac_tool_prefix=
500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
501
502 test "$silent" = yes && exec 6>/dev/null
503
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506   ac_srcdir_defaulted=yes
507   # Try the directory containing this script, then its parent.
508   ac_prog=$0
509   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
511   srcdir=$ac_confdir
512   if test ! -r $srcdir/$ac_unique_file; then
513     srcdir=..
514   fi
515 else
516   ac_srcdir_defaulted=no
517 fi
518 if test ! -r $srcdir/$ac_unique_file; then
519   if test "$ac_srcdir_defaulted" = yes; then
520     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521    { (exit 1); exit 1; }; }
522   else
523     { echo "$as_me: error: cannot find sources in $srcdir" >&2
524    { (exit 1); exit 1; }; }
525   fi
526 fi
527 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set=${build_alias+set}
529 ac_env_build_alias_value=$build_alias
530 ac_cv_env_build_alias_set=${build_alias+set}
531 ac_cv_env_build_alias_value=$build_alias
532 ac_env_host_alias_set=${host_alias+set}
533 ac_env_host_alias_value=$host_alias
534 ac_cv_env_host_alias_set=${host_alias+set}
535 ac_cv_env_host_alias_value=$host_alias
536 ac_env_target_alias_set=${target_alias+set}
537 ac_env_target_alias_value=$target_alias
538 ac_cv_env_target_alias_set=${target_alias+set}
539 ac_cv_env_target_alias_value=$target_alias
540 ac_env_CC_set=${CC+set}
541 ac_env_CC_value=$CC
542 ac_cv_env_CC_set=${CC+set}
543 ac_cv_env_CC_value=$CC
544 ac_env_CFLAGS_set=${CFLAGS+set}
545 ac_env_CFLAGS_value=$CFLAGS
546 ac_cv_env_CFLAGS_set=${CFLAGS+set}
547 ac_cv_env_CFLAGS_value=$CFLAGS
548 ac_env_LDFLAGS_set=${LDFLAGS+set}
549 ac_env_LDFLAGS_value=$LDFLAGS
550 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
551 ac_cv_env_LDFLAGS_value=$LDFLAGS
552 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
553 ac_env_CPPFLAGS_value=$CPPFLAGS
554 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
555 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
556 ac_env_CPP_set=${CPP+set}
557 ac_env_CPP_value=$CPP
558 ac_cv_env_CPP_set=${CPP+set}
559 ac_cv_env_CPP_value=$CPP
560
561 #
562 # Report the --help message.
563 #
564 if test "$ac_init_help" = "long"; then
565   # Omit some internal or obsolete options to make the list less imposing.
566   # This message is too long to be a string in the A/UX 3.1 sh.
567   cat <<EOF
568 \`configure' configures this package to adapt to many kinds of systems.
569
570 Usage: $0 [OPTION]... [VAR=VALUE]...
571
572 To assign environment variables (e.g., CC, CFLAGS...), specify them as
573 VAR=VALUE.  See below for descriptions of some of the useful variables.
574
575 Defaults for the options are specified in brackets.
576
577 Configuration:
578   -h, --help              display this help and exit
579       --help=short        display options specific to this package
580       --help=recursive    display the short help of all the included packages
581   -V, --version           display version information and exit
582   -q, --quiet, --silent   do not print \`checking...' messages
583       --cache-file=FILE   cache test results in FILE [disabled]
584   -C, --config-cache      alias for \`--cache-file=config.cache'
585   -n, --no-create         do not create output files
586       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
587
588 EOF
589
590   cat <<EOF
591 Installation directories:
592   --prefix=PREFIX         install architecture-independent files in PREFIX
593                           [$ac_default_prefix]
594   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
595                           [PREFIX]
596
597 By default, \`make install' will install all the files in
598 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
599 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600 for instance \`--prefix=\$HOME'.
601
602 For better control, use the options below.
603
604 Fine tuning of the installation directories:
605   --bindir=DIR           user executables [EPREFIX/bin]
606   --sbindir=DIR          system admin executables [EPREFIX/sbin]
607   --libexecdir=DIR       program executables [EPREFIX/libexec]
608   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
609   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
610   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
611   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
612   --libdir=DIR           object code libraries [EPREFIX/lib]
613   --includedir=DIR       C header files [PREFIX/include]
614   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
615   --infodir=DIR          info documentation [PREFIX/info]
616   --mandir=DIR           man documentation [PREFIX/man]
617 EOF
618
619   cat <<\EOF
620 EOF
621 fi
622
623 if test -n "$ac_init_help"; then
624
625   cat <<\EOF
626
627 Some influential environment variables:
628   CC          C compiler command
629   CFLAGS      C compiler flags
630   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
631               nonstandard directory <lib dir>
632   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
633               headers in a nonstandard directory <include dir>
634   CPP         C preprocessor
635
636 Use these variables to override the choices made by `configure' or to help
637 it to find libraries and programs with nonstandard names/locations.
638
639 EOF
640 fi
641
642 if test "$ac_init_help" = "recursive"; then
643   # If there are subdirs, report their specific --help.
644   ac_popdir=`pwd`
645   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
646     cd $ac_subdir
647     # A "../" for each directory in /$ac_subdir.
648     ac_dots=`echo $ac_subdir |
649              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
650
651     case $srcdir in
652     .) # No --srcdir option.  We are building in place.
653       ac_sub_srcdir=$srcdir ;;
654     [\\/]* | ?:[\\/]* ) # Absolute path.
655       ac_sub_srcdir=$srcdir/$ac_subdir ;;
656     *) # Relative path.
657       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
658     esac
659
660     # Check for guested configure; otherwise get Cygnus style configure.
661     if test -f $ac_sub_srcdir/configure.gnu; then
662       echo
663       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
664     elif test -f $ac_sub_srcdir/configure; then
665       echo
666       $SHELL $ac_sub_srcdir/configure  --help=recursive
667     elif test -f $ac_sub_srcdir/configure.ac ||
668            test -f $ac_sub_srcdir/configure.in; then
669       echo
670       $ac_configure --help
671     else
672       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
673     fi
674     cd $ac_popdir
675   done
676 fi
677
678 test -n "$ac_init_help" && exit 0
679 if $ac_init_version; then
680   cat <<\EOF
681
682 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
683 Free Software Foundation, Inc.
684 This configure script is free software; the Free Software Foundation
685 gives unlimited permission to copy, distribute and modify it.
686 EOF
687   exit 0
688 fi
689 exec 5>config.log
690 cat >&5 <<EOF
691 This file contains any messages produced by compilers while
692 running configure, to aid debugging if configure makes a mistake.
693
694 It was created by $as_me, which was
695 generated by GNU Autoconf 2.52.  Invocation command line was
696
697   $ $0 $@
698
699 EOF
700 {
701 cat <<_ASUNAME
702 ## ---------- ##
703 ## Platform.  ##
704 ## ---------- ##
705
706 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
707 uname -m = `(uname -m) 2>/dev/null || echo unknown`
708 uname -r = `(uname -r) 2>/dev/null || echo unknown`
709 uname -s = `(uname -s) 2>/dev/null || echo unknown`
710 uname -v = `(uname -v) 2>/dev/null || echo unknown`
711
712 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
713 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
714
715 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
716 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
717 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
718 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
719 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
720 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
721 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
722
723 PATH = $PATH
724
725 _ASUNAME
726 } >&5
727
728 cat >&5 <<EOF
729 ## ------------ ##
730 ## Core tests.  ##
731 ## ------------ ##
732
733 EOF
734
735 # Keep a trace of the command line.
736 # Strip out --no-create and --no-recursion so they do not pile up.
737 # Also quote any args containing shell meta-characters.
738 ac_configure_args=
739 ac_sep=
740 for ac_arg
741 do
742   case $ac_arg in
743   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
744   | --no-cr | --no-c) ;;
745   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
746   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
747   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
748     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
749     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
750     ac_sep=" " ;;
751   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
752      ac_sep=" " ;;
753   esac
754   # Get rid of the leading space.
755 done
756
757 # When interrupted or exit'd, cleanup temporary files, and complete
758 # config.log.  We remove comments because anyway the quotes in there
759 # would cause problems or look ugly.
760 trap 'exit_status=$?
761   # Save into config.log some information that might help in debugging.
762   echo >&5
763   echo "## ----------------- ##" >&5
764   echo "## Cache variables.  ##" >&5
765   echo "## ----------------- ##" >&5
766   echo >&5
767   # The following way of writing the cache mishandles newlines in values,
768 {
769   (set) 2>&1 |
770     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
771     *ac_space=\ *)
772       sed -n \
773         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
774           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
775       ;;
776     *)
777       sed -n \
778         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
779       ;;
780     esac;
781 } >&5
782   sed "/^$/d" confdefs.h >conftest.log
783   if test -s conftest.log; then
784     echo >&5
785     echo "## ------------ ##" >&5
786     echo "## confdefs.h.  ##" >&5
787     echo "## ------------ ##" >&5
788     echo >&5
789     cat conftest.log >&5
790   fi
791   (echo; echo) >&5
792   test "$ac_signal" != 0 &&
793     echo "$as_me: caught signal $ac_signal" >&5
794   echo "$as_me: exit $exit_status" >&5
795   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
796     exit $exit_status
797      ' 0
798 for ac_signal in 1 2 13 15; do
799   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
800 done
801 ac_signal=0
802
803 # confdefs.h avoids OS command line length limits that DEFS can exceed.
804 rm -rf conftest* confdefs.h
805 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
806 echo >confdefs.h
807
808 # Let the site file select an alternate cache file if it wants to.
809 # Prefer explicitly selected file to automatically selected ones.
810 if test -z "$CONFIG_SITE"; then
811   if test "x$prefix" != xNONE; then
812     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
813   else
814     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
815   fi
816 fi
817 for ac_site_file in $CONFIG_SITE; do
818   if test -r "$ac_site_file"; then
819     { echo "$as_me:819: loading site script $ac_site_file" >&5
820 echo "$as_me: loading site script $ac_site_file" >&6;}
821     cat "$ac_site_file" >&5
822     . "$ac_site_file"
823   fi
824 done
825
826 if test -r "$cache_file"; then
827   # Some versions of bash will fail to source /dev/null (special
828   # files actually), so we avoid doing that.
829   if test -f "$cache_file"; then
830     { echo "$as_me:830: loading cache $cache_file" >&5
831 echo "$as_me: loading cache $cache_file" >&6;}
832     case $cache_file in
833       [\\/]* | ?:[\\/]* ) . $cache_file;;
834       *)                      . ./$cache_file;;
835     esac
836   fi
837 else
838   { echo "$as_me:838: creating cache $cache_file" >&5
839 echo "$as_me: creating cache $cache_file" >&6;}
840   >$cache_file
841 fi
842
843 # Check that the precious variables saved in the cache have kept the same
844 # value.
845 ac_cache_corrupted=false
846 for ac_var in `(set) 2>&1 |
847                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
848   eval ac_old_set=\$ac_cv_env_${ac_var}_set
849   eval ac_new_set=\$ac_env_${ac_var}_set
850   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
851   eval ac_new_val="\$ac_env_${ac_var}_value"
852   case $ac_old_set,$ac_new_set in
853     set,)
854       { echo "$as_me:854: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
855 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
856       ac_cache_corrupted=: ;;
857     ,set)
858       { echo "$as_me:858: error: \`$ac_var' was not set in the previous run" >&5
859 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
860       ac_cache_corrupted=: ;;
861     ,);;
862     *)
863       if test "x$ac_old_val" != "x$ac_new_val"; then
864         { echo "$as_me:864: error: \`$ac_var' has changed since the previous run:" >&5
865 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
866         { echo "$as_me:866:   former value:  $ac_old_val" >&5
867 echo "$as_me:   former value:  $ac_old_val" >&2;}
868         { echo "$as_me:868:   current value: $ac_new_val" >&5
869 echo "$as_me:   current value: $ac_new_val" >&2;}
870         ac_cache_corrupted=:
871       fi;;
872   esac
873   # Pass precious variables to config.status.  It doesn't matter if
874   # we pass some twice (in addition to the command line arguments).
875   if test "$ac_new_set" = set; then
876     case $ac_new_val in
877     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
878       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
879       ac_configure_args="$ac_configure_args '$ac_arg'"
880       ;;
881     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
882        ;;
883     esac
884   fi
885 done
886 if $ac_cache_corrupted; then
887   { echo "$as_me:887: error: changes in the environment can compromise the build" >&5
888 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
889   { { echo "$as_me:889: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
890 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
891    { (exit 1); exit 1; }; }
892 fi
893
894 ac_ext=c
895 ac_cpp='$CPP $CPPFLAGS'
896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
899
900 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
901   *c*,-n*) ECHO_N= ECHO_C='
902 ' ECHO_T='      ' ;;
903   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
904   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
905 esac
906 echo "#! $SHELL" >conftest.sh
907 echo  "exit 0"   >>conftest.sh
908 chmod +x conftest.sh
909 if { (echo "$as_me:909: PATH=\".;.\"; conftest.sh") >&5
910   (PATH=".;."; conftest.sh) 2>&5
911   ac_status=$?
912   echo "$as_me:912: \$? = $ac_status" >&5
913   (exit $ac_status); }; then
914   ac_path_separator=';'
915 else
916   ac_path_separator=:
917 fi
918 PATH_SEPARATOR="$ac_path_separator"
919 rm -f conftest.sh
920
921 ac_ext=c
922 ac_cpp='$CPP $CPPFLAGS'
923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
926 if test -n "$ac_tool_prefix"; then
927   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
928 set dummy ${ac_tool_prefix}gcc; ac_word=$2
929 echo "$as_me:929: checking for $ac_word" >&5
930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
931 if test "${ac_cv_prog_CC+set}" = set; then
932   echo $ECHO_N "(cached) $ECHO_C" >&6
933 else
934   if test -n "$CC"; then
935   ac_cv_prog_CC="$CC" # Let the user override the test.
936 else
937   ac_save_IFS=$IFS; IFS=$ac_path_separator
938 ac_dummy="$PATH"
939 for ac_dir in $ac_dummy; do
940   IFS=$ac_save_IFS
941   test -z "$ac_dir" && ac_dir=.
942   $as_executable_p "$ac_dir/$ac_word" || continue
943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
944 echo "$as_me:944: found $ac_dir/$ac_word" >&5
945 break
946 done
947
948 fi
949 fi
950 CC=$ac_cv_prog_CC
951 if test -n "$CC"; then
952   echo "$as_me:952: result: $CC" >&5
953 echo "${ECHO_T}$CC" >&6
954 else
955   echo "$as_me:955: result: no" >&5
956 echo "${ECHO_T}no" >&6
957 fi
958
959 fi
960 if test -z "$ac_cv_prog_CC"; then
961   ac_ct_CC=$CC
962   # Extract the first word of "gcc", so it can be a program name with args.
963 set dummy gcc; ac_word=$2
964 echo "$as_me:964: checking for $ac_word" >&5
965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
967   echo $ECHO_N "(cached) $ECHO_C" >&6
968 else
969   if test -n "$ac_ct_CC"; then
970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
971 else
972   ac_save_IFS=$IFS; IFS=$ac_path_separator
973 ac_dummy="$PATH"
974 for ac_dir in $ac_dummy; do
975   IFS=$ac_save_IFS
976   test -z "$ac_dir" && ac_dir=.
977   $as_executable_p "$ac_dir/$ac_word" || continue
978 ac_cv_prog_ac_ct_CC="gcc"
979 echo "$as_me:979: found $ac_dir/$ac_word" >&5
980 break
981 done
982
983 fi
984 fi
985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
986 if test -n "$ac_ct_CC"; then
987   echo "$as_me:987: result: $ac_ct_CC" >&5
988 echo "${ECHO_T}$ac_ct_CC" >&6
989 else
990   echo "$as_me:990: result: no" >&5
991 echo "${ECHO_T}no" >&6
992 fi
993
994   CC=$ac_ct_CC
995 else
996   CC="$ac_cv_prog_CC"
997 fi
998
999 if test -z "$CC"; then
1000   if test -n "$ac_tool_prefix"; then
1001   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1002 set dummy ${ac_tool_prefix}cc; ac_word=$2
1003 echo "$as_me:1003: checking for $ac_word" >&5
1004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1005 if test "${ac_cv_prog_CC+set}" = set; then
1006   echo $ECHO_N "(cached) $ECHO_C" >&6
1007 else
1008   if test -n "$CC"; then
1009   ac_cv_prog_CC="$CC" # Let the user override the test.
1010 else
1011   ac_save_IFS=$IFS; IFS=$ac_path_separator
1012 ac_dummy="$PATH"
1013 for ac_dir in $ac_dummy; do
1014   IFS=$ac_save_IFS
1015   test -z "$ac_dir" && ac_dir=.
1016   $as_executable_p "$ac_dir/$ac_word" || continue
1017 ac_cv_prog_CC="${ac_tool_prefix}cc"
1018 echo "$as_me:1018: found $ac_dir/$ac_word" >&5
1019 break
1020 done
1021
1022 fi
1023 fi
1024 CC=$ac_cv_prog_CC
1025 if test -n "$CC"; then
1026   echo "$as_me:1026: result: $CC" >&5
1027 echo "${ECHO_T}$CC" >&6
1028 else
1029   echo "$as_me:1029: result: no" >&5
1030 echo "${ECHO_T}no" >&6
1031 fi
1032
1033 fi
1034 if test -z "$ac_cv_prog_CC"; then
1035   ac_ct_CC=$CC
1036   # Extract the first word of "cc", so it can be a program name with args.
1037 set dummy cc; ac_word=$2
1038 echo "$as_me:1038: checking for $ac_word" >&5
1039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1041   echo $ECHO_N "(cached) $ECHO_C" >&6
1042 else
1043   if test -n "$ac_ct_CC"; then
1044   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1045 else
1046   ac_save_IFS=$IFS; IFS=$ac_path_separator
1047 ac_dummy="$PATH"
1048 for ac_dir in $ac_dummy; do
1049   IFS=$ac_save_IFS
1050   test -z "$ac_dir" && ac_dir=.
1051   $as_executable_p "$ac_dir/$ac_word" || continue
1052 ac_cv_prog_ac_ct_CC="cc"
1053 echo "$as_me:1053: found $ac_dir/$ac_word" >&5
1054 break
1055 done
1056
1057 fi
1058 fi
1059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1060 if test -n "$ac_ct_CC"; then
1061   echo "$as_me:1061: result: $ac_ct_CC" >&5
1062 echo "${ECHO_T}$ac_ct_CC" >&6
1063 else
1064   echo "$as_me:1064: result: no" >&5
1065 echo "${ECHO_T}no" >&6
1066 fi
1067
1068   CC=$ac_ct_CC
1069 else
1070   CC="$ac_cv_prog_CC"
1071 fi
1072
1073 fi
1074 if test -z "$CC"; then
1075   # Extract the first word of "cc", so it can be a program name with args.
1076 set dummy cc; ac_word=$2
1077 echo "$as_me:1077: checking for $ac_word" >&5
1078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1079 if test "${ac_cv_prog_CC+set}" = set; then
1080   echo $ECHO_N "(cached) $ECHO_C" >&6
1081 else
1082   if test -n "$CC"; then
1083   ac_cv_prog_CC="$CC" # Let the user override the test.
1084 else
1085   ac_prog_rejected=no
1086   ac_save_IFS=$IFS; IFS=$ac_path_separator
1087 ac_dummy="$PATH"
1088 for ac_dir in $ac_dummy; do
1089   IFS=$ac_save_IFS
1090   test -z "$ac_dir" && ac_dir=.
1091   $as_executable_p "$ac_dir/$ac_word" || continue
1092 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1093   ac_prog_rejected=yes
1094   continue
1095 fi
1096 ac_cv_prog_CC="cc"
1097 echo "$as_me:1097: found $ac_dir/$ac_word" >&5
1098 break
1099 done
1100
1101 if test $ac_prog_rejected = yes; then
1102   # We found a bogon in the path, so make sure we never use it.
1103   set dummy $ac_cv_prog_CC
1104   shift
1105   if test $# != 0; then
1106     # We chose a different compiler from the bogus one.
1107     # However, it has the same basename, so the bogon will be chosen
1108     # first if we set CC to just the basename; use the full file name.
1109     shift
1110     set dummy "$ac_dir/$ac_word" ${1+"$@"}
1111     shift
1112     ac_cv_prog_CC="$@"
1113   fi
1114 fi
1115 fi
1116 fi
1117 CC=$ac_cv_prog_CC
1118 if test -n "$CC"; then
1119   echo "$as_me:1119: result: $CC" >&5
1120 echo "${ECHO_T}$CC" >&6
1121 else
1122   echo "$as_me:1122: result: no" >&5
1123 echo "${ECHO_T}no" >&6
1124 fi
1125
1126 fi
1127 if test -z "$CC"; then
1128   if test -n "$ac_tool_prefix"; then
1129   for ac_prog in cl
1130   do
1131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1133 echo "$as_me:1133: checking for $ac_word" >&5
1134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1135 if test "${ac_cv_prog_CC+set}" = set; then
1136   echo $ECHO_N "(cached) $ECHO_C" >&6
1137 else
1138   if test -n "$CC"; then
1139   ac_cv_prog_CC="$CC" # Let the user override the test.
1140 else
1141   ac_save_IFS=$IFS; IFS=$ac_path_separator
1142 ac_dummy="$PATH"
1143 for ac_dir in $ac_dummy; do
1144   IFS=$ac_save_IFS
1145   test -z "$ac_dir" && ac_dir=.
1146   $as_executable_p "$ac_dir/$ac_word" || continue
1147 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1148 echo "$as_me:1148: found $ac_dir/$ac_word" >&5
1149 break
1150 done
1151
1152 fi
1153 fi
1154 CC=$ac_cv_prog_CC
1155 if test -n "$CC"; then
1156   echo "$as_me:1156: result: $CC" >&5
1157 echo "${ECHO_T}$CC" >&6
1158 else
1159   echo "$as_me:1159: result: no" >&5
1160 echo "${ECHO_T}no" >&6
1161 fi
1162
1163     test -n "$CC" && break
1164   done
1165 fi
1166 if test -z "$CC"; then
1167   ac_ct_CC=$CC
1168   for ac_prog in cl
1169 do
1170   # Extract the first word of "$ac_prog", so it can be a program name with args.
1171 set dummy $ac_prog; ac_word=$2
1172 echo "$as_me:1172: checking for $ac_word" >&5
1173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1175   echo $ECHO_N "(cached) $ECHO_C" >&6
1176 else
1177   if test -n "$ac_ct_CC"; then
1178   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1179 else
1180   ac_save_IFS=$IFS; IFS=$ac_path_separator
1181 ac_dummy="$PATH"
1182 for ac_dir in $ac_dummy; do
1183   IFS=$ac_save_IFS
1184   test -z "$ac_dir" && ac_dir=.
1185   $as_executable_p "$ac_dir/$ac_word" || continue
1186 ac_cv_prog_ac_ct_CC="$ac_prog"
1187 echo "$as_me:1187: found $ac_dir/$ac_word" >&5
1188 break
1189 done
1190
1191 fi
1192 fi
1193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1194 if test -n "$ac_ct_CC"; then
1195   echo "$as_me:1195: result: $ac_ct_CC" >&5
1196 echo "${ECHO_T}$ac_ct_CC" >&6
1197 else
1198   echo "$as_me:1198: result: no" >&5
1199 echo "${ECHO_T}no" >&6
1200 fi
1201
1202   test -n "$ac_ct_CC" && break
1203 done
1204
1205   CC=$ac_ct_CC
1206 fi
1207
1208 fi
1209
1210 test -z "$CC" && { { echo "$as_me:1210: error: no acceptable cc found in \$PATH" >&5
1211 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1212    { (exit 1); exit 1; }; }
1213
1214 # Provide some information about the compiler.
1215 echo "$as_me:1215:" \
1216      "checking for C compiler version" >&5
1217 ac_compiler=`set X $ac_compile; echo $2`
1218 { (eval echo "$as_me:1218: \"$ac_compiler --version </dev/null >&5\"") >&5
1219   (eval $ac_compiler --version </dev/null >&5) 2>&5
1220   ac_status=$?
1221   echo "$as_me:1221: \$? = $ac_status" >&5
1222   (exit $ac_status); }
1223 { (eval echo "$as_me:1223: \"$ac_compiler -v </dev/null >&5\"") >&5
1224   (eval $ac_compiler -v </dev/null >&5) 2>&5
1225   ac_status=$?
1226   echo "$as_me:1226: \$? = $ac_status" >&5
1227   (exit $ac_status); }
1228 { (eval echo "$as_me:1228: \"$ac_compiler -V </dev/null >&5\"") >&5
1229   (eval $ac_compiler -V </dev/null >&5) 2>&5
1230   ac_status=$?
1231   echo "$as_me:1231: \$? = $ac_status" >&5
1232   (exit $ac_status); }
1233
1234 cat >conftest.$ac_ext <<_ACEOF
1235 #line 1235 "configure"
1236 #include "confdefs.h"
1237
1238 int
1239 main ()
1240 {
1241
1242   ;
1243   return 0;
1244 }
1245 _ACEOF
1246 ac_clean_files_save=$ac_clean_files
1247 ac_clean_files="$ac_clean_files a.out a.exe"
1248 # Try to create an executable without -o first, disregard a.out.
1249 # It will help us diagnose broken compilers, and finding out an intuition
1250 # of exeext.
1251 echo "$as_me:1251: checking for C compiler default output" >&5
1252 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1253 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1254 if { (eval echo "$as_me:1254: \"$ac_link_default\"") >&5
1255   (eval $ac_link_default) 2>&5
1256   ac_status=$?
1257   echo "$as_me:1257: \$? = $ac_status" >&5
1258   (exit $ac_status); }; then
1259   # Find the output, starting from the most likely.  This scheme is
1260 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1261 # resort.
1262 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1263                 ls a.out conftest 2>/dev/null;
1264                 ls a.* conftest.* 2>/dev/null`; do
1265   case $ac_file in
1266     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1267     a.out ) # We found the default executable, but exeext='' is most
1268             # certainly right.
1269             break;;
1270     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1271           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1272           export ac_cv_exeext
1273           break;;
1274     * ) break;;
1275   esac
1276 done
1277 else
1278   echo "$as_me: failed program was:" >&5
1279 cat conftest.$ac_ext >&5
1280 { { echo "$as_me:1280: error: C compiler cannot create executables" >&5
1281 echo "$as_me: error: C compiler cannot create executables" >&2;}
1282    { (exit 77); exit 77; }; }
1283 fi
1284
1285 ac_exeext=$ac_cv_exeext
1286 echo "$as_me:1286: result: $ac_file" >&5
1287 echo "${ECHO_T}$ac_file" >&6
1288
1289 # Check the compiler produces executables we can run.  If not, either
1290 # the compiler is broken, or we cross compile.
1291 echo "$as_me:1291: checking whether the C compiler works" >&5
1292 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1293 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1294 # If not cross compiling, check that we can run a simple program.
1295 if test "$cross_compiling" != yes; then
1296   if { ac_try='./$ac_file'
1297   { (eval echo "$as_me:1297: \"$ac_try\"") >&5
1298   (eval $ac_try) 2>&5
1299   ac_status=$?
1300   echo "$as_me:1300: \$? = $ac_status" >&5
1301   (exit $ac_status); }; }; then
1302     cross_compiling=no
1303   else
1304     if test "$cross_compiling" = maybe; then
1305         cross_compiling=yes
1306     else
1307         { { echo "$as_me:1307: error: cannot run C compiled programs.
1308 If you meant to cross compile, use \`--host'." >&5
1309 echo "$as_me: error: cannot run C compiled programs.
1310 If you meant to cross compile, use \`--host'." >&2;}
1311    { (exit 1); exit 1; }; }
1312     fi
1313   fi
1314 fi
1315 echo "$as_me:1315: result: yes" >&5
1316 echo "${ECHO_T}yes" >&6
1317
1318 rm -f a.out a.exe conftest$ac_cv_exeext
1319 ac_clean_files=$ac_clean_files_save
1320 # Check the compiler produces executables we can run.  If not, either
1321 # the compiler is broken, or we cross compile.
1322 echo "$as_me:1322: checking whether we are cross compiling" >&5
1323 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1324 echo "$as_me:1324: result: $cross_compiling" >&5
1325 echo "${ECHO_T}$cross_compiling" >&6
1326
1327 echo "$as_me:1327: checking for executable suffix" >&5
1328 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1329 if { (eval echo "$as_me:1329: \"$ac_link\"") >&5
1330   (eval $ac_link) 2>&5
1331   ac_status=$?
1332   echo "$as_me:1332: \$? = $ac_status" >&5
1333   (exit $ac_status); }; then
1334   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1335 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1336 # work properly (i.e., refer to `conftest.exe'), while it won't with
1337 # `rm'.
1338 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1339   case $ac_file in
1340     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1341     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1342           export ac_cv_exeext
1343           break;;
1344     * ) break;;
1345   esac
1346 done
1347 else
1348   { { echo "$as_me:1348: error: cannot compute EXEEXT: cannot compile and link" >&5
1349 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1350    { (exit 1); exit 1; }; }
1351 fi
1352
1353 rm -f conftest$ac_cv_exeext
1354 echo "$as_me:1354: result: $ac_cv_exeext" >&5
1355 echo "${ECHO_T}$ac_cv_exeext" >&6
1356
1357 rm -f conftest.$ac_ext
1358 EXEEXT=$ac_cv_exeext
1359 ac_exeext=$EXEEXT
1360 echo "$as_me:1360: checking for object suffix" >&5
1361 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1362 if test "${ac_cv_objext+set}" = set; then
1363   echo $ECHO_N "(cached) $ECHO_C" >&6
1364 else
1365   cat >conftest.$ac_ext <<_ACEOF
1366 #line 1366 "configure"
1367 #include "confdefs.h"
1368
1369 int
1370 main ()
1371 {
1372
1373   ;
1374   return 0;
1375 }
1376 _ACEOF
1377 rm -f conftest.o conftest.obj
1378 if { (eval echo "$as_me:1378: \"$ac_compile\"") >&5
1379   (eval $ac_compile) 2>&5
1380   ac_status=$?
1381   echo "$as_me:1381: \$? = $ac_status" >&5
1382   (exit $ac_status); }; then
1383   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1384   case $ac_file in
1385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1386     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1387        break;;
1388   esac
1389 done
1390 else
1391   echo "$as_me: failed program was:" >&5
1392 cat conftest.$ac_ext >&5
1393 { { echo "$as_me:1393: error: cannot compute OBJEXT: cannot compile" >&5
1394 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1395    { (exit 1); exit 1; }; }
1396 fi
1397
1398 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1399 fi
1400 echo "$as_me:1400: result: $ac_cv_objext" >&5
1401 echo "${ECHO_T}$ac_cv_objext" >&6
1402 OBJEXT=$ac_cv_objext
1403 ac_objext=$OBJEXT
1404 echo "$as_me:1404: checking whether we are using the GNU C compiler" >&5
1405 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1406 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1407   echo $ECHO_N "(cached) $ECHO_C" >&6
1408 else
1409   cat >conftest.$ac_ext <<_ACEOF
1410 #line 1410 "configure"
1411 #include "confdefs.h"
1412
1413 int
1414 main ()
1415 {
1416 #ifndef __GNUC__
1417        choke me
1418 #endif
1419
1420   ;
1421   return 0;
1422 }
1423 _ACEOF
1424 rm -f conftest.$ac_objext
1425 if { (eval echo "$as_me:1425: \"$ac_compile\"") >&5
1426   (eval $ac_compile) 2>&5
1427   ac_status=$?
1428   echo "$as_me:1428: \$? = $ac_status" >&5
1429   (exit $ac_status); } &&
1430          { ac_try='test -s conftest.$ac_objext'
1431   { (eval echo "$as_me:1431: \"$ac_try\"") >&5
1432   (eval $ac_try) 2>&5
1433   ac_status=$?
1434   echo "$as_me:1434: \$? = $ac_status" >&5
1435   (exit $ac_status); }; }; then
1436   ac_compiler_gnu=yes
1437 else
1438   echo "$as_me: failed program was:" >&5
1439 cat conftest.$ac_ext >&5
1440 ac_compiler_gnu=no
1441 fi
1442 rm -f conftest.$ac_objext conftest.$ac_ext
1443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1444
1445 fi
1446 echo "$as_me:1446: result: $ac_cv_c_compiler_gnu" >&5
1447 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1448 GCC=`test $ac_compiler_gnu = yes && echo yes`
1449 ac_test_CFLAGS=${CFLAGS+set}
1450 ac_save_CFLAGS=$CFLAGS
1451 CFLAGS="-g"
1452 echo "$as_me:1452: checking whether $CC accepts -g" >&5
1453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1454 if test "${ac_cv_prog_cc_g+set}" = set; then
1455   echo $ECHO_N "(cached) $ECHO_C" >&6
1456 else
1457   cat >conftest.$ac_ext <<_ACEOF
1458 #line 1458 "configure"
1459 #include "confdefs.h"
1460
1461 int
1462 main ()
1463 {
1464
1465   ;
1466   return 0;
1467 }
1468 _ACEOF
1469 rm -f conftest.$ac_objext
1470 if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5
1471   (eval $ac_compile) 2>&5
1472   ac_status=$?
1473   echo "$as_me:1473: \$? = $ac_status" >&5
1474   (exit $ac_status); } &&
1475          { ac_try='test -s conftest.$ac_objext'
1476   { (eval echo "$as_me:1476: \"$ac_try\"") >&5
1477   (eval $ac_try) 2>&5
1478   ac_status=$?
1479   echo "$as_me:1479: \$? = $ac_status" >&5
1480   (exit $ac_status); }; }; then
1481   ac_cv_prog_cc_g=yes
1482 else
1483   echo "$as_me: failed program was:" >&5
1484 cat conftest.$ac_ext >&5
1485 ac_cv_prog_cc_g=no
1486 fi
1487 rm -f conftest.$ac_objext conftest.$ac_ext
1488 fi
1489 echo "$as_me:1489: result: $ac_cv_prog_cc_g" >&5
1490 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1491 if test "$ac_test_CFLAGS" = set; then
1492   CFLAGS=$ac_save_CFLAGS
1493 elif test $ac_cv_prog_cc_g = yes; then
1494   if test "$GCC" = yes; then
1495     CFLAGS="-g -O2"
1496   else
1497     CFLAGS="-g"
1498   fi
1499 else
1500   if test "$GCC" = yes; then
1501     CFLAGS="-O2"
1502   else
1503     CFLAGS=
1504   fi
1505 fi
1506 # Some people use a C++ compiler to compile C.  Since we use `exit',
1507 # in C++ we need to declare it.  In case someone uses the same compiler
1508 # for both compiling C and C++ we need to have the C++ compiler decide
1509 # the declaration of exit, since it's the most demanding environment.
1510 cat >conftest.$ac_ext <<_ACEOF
1511 #ifndef __cplusplus
1512   choke me
1513 #endif
1514 _ACEOF
1515 rm -f conftest.$ac_objext
1516 if { (eval echo "$as_me:1516: \"$ac_compile\"") >&5
1517   (eval $ac_compile) 2>&5
1518   ac_status=$?
1519   echo "$as_me:1519: \$? = $ac_status" >&5
1520   (exit $ac_status); } &&
1521          { ac_try='test -s conftest.$ac_objext'
1522   { (eval echo "$as_me:1522: \"$ac_try\"") >&5
1523   (eval $ac_try) 2>&5
1524   ac_status=$?
1525   echo "$as_me:1525: \$? = $ac_status" >&5
1526   (exit $ac_status); }; }; then
1527   for ac_declaration in \
1528    ''\
1529    '#include <stdlib.h>' \
1530    'extern "C" void std::exit (int) throw (); using std::exit;' \
1531    'extern "C" void std::exit (int); using std::exit;' \
1532    'extern "C" void exit (int) throw ();' \
1533    'extern "C" void exit (int);' \
1534    'void exit (int);'
1535 do
1536   cat >conftest.$ac_ext <<_ACEOF
1537 #line 1537 "configure"
1538 #include "confdefs.h"
1539 #include <stdlib.h>
1540 $ac_declaration
1541 int
1542 main ()
1543 {
1544 exit (42);
1545   ;
1546   return 0;
1547 }
1548 _ACEOF
1549 rm -f conftest.$ac_objext
1550 if { (eval echo "$as_me:1550: \"$ac_compile\"") >&5
1551   (eval $ac_compile) 2>&5
1552   ac_status=$?
1553   echo "$as_me:1553: \$? = $ac_status" >&5
1554   (exit $ac_status); } &&
1555          { ac_try='test -s conftest.$ac_objext'
1556   { (eval echo "$as_me:1556: \"$ac_try\"") >&5
1557   (eval $ac_try) 2>&5
1558   ac_status=$?
1559   echo "$as_me:1559: \$? = $ac_status" >&5
1560   (exit $ac_status); }; }; then
1561   :
1562 else
1563   echo "$as_me: failed program was:" >&5
1564 cat conftest.$ac_ext >&5
1565 continue
1566 fi
1567 rm -f conftest.$ac_objext conftest.$ac_ext
1568   cat >conftest.$ac_ext <<_ACEOF
1569 #line 1569 "configure"
1570 #include "confdefs.h"
1571 $ac_declaration
1572 int
1573 main ()
1574 {
1575 exit (42);
1576   ;
1577   return 0;
1578 }
1579 _ACEOF
1580 rm -f conftest.$ac_objext
1581 if { (eval echo "$as_me:1581: \"$ac_compile\"") >&5
1582   (eval $ac_compile) 2>&5
1583   ac_status=$?
1584   echo "$as_me:1584: \$? = $ac_status" >&5
1585   (exit $ac_status); } &&
1586          { ac_try='test -s conftest.$ac_objext'
1587   { (eval echo "$as_me:1587: \"$ac_try\"") >&5
1588   (eval $ac_try) 2>&5
1589   ac_status=$?
1590   echo "$as_me:1590: \$? = $ac_status" >&5
1591   (exit $ac_status); }; }; then
1592   break
1593 else
1594   echo "$as_me: failed program was:" >&5
1595 cat conftest.$ac_ext >&5
1596 fi
1597 rm -f conftest.$ac_objext conftest.$ac_ext
1598 done
1599 rm -f conftest*
1600 if test -n "$ac_declaration"; then
1601   echo '#ifdef __cplusplus' >>confdefs.h
1602   echo $ac_declaration      >>confdefs.h
1603   echo '#endif'             >>confdefs.h
1604 fi
1605
1606 else
1607   echo "$as_me: failed program was:" >&5
1608 cat conftest.$ac_ext >&5
1609 fi
1610 rm -f conftest.$ac_objext conftest.$ac_ext
1611 ac_ext=c
1612 ac_cpp='$CPP $CPPFLAGS'
1613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1616
1617 if test -n "$ac_tool_prefix"; then
1618   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1620 echo "$as_me:1620: checking for $ac_word" >&5
1621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622 if test "${ac_cv_prog_RANLIB+set}" = set; then
1623   echo $ECHO_N "(cached) $ECHO_C" >&6
1624 else
1625   if test -n "$RANLIB"; then
1626   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1627 else
1628   ac_save_IFS=$IFS; IFS=$ac_path_separator
1629 ac_dummy="$PATH"
1630 for ac_dir in $ac_dummy; do
1631   IFS=$ac_save_IFS
1632   test -z "$ac_dir" && ac_dir=.
1633   $as_executable_p "$ac_dir/$ac_word" || continue
1634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1635 echo "$as_me:1635: found $ac_dir/$ac_word" >&5
1636 break
1637 done
1638
1639 fi
1640 fi
1641 RANLIB=$ac_cv_prog_RANLIB
1642 if test -n "$RANLIB"; then
1643   echo "$as_me:1643: result: $RANLIB" >&5
1644 echo "${ECHO_T}$RANLIB" >&6
1645 else
1646   echo "$as_me:1646: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1648 fi
1649
1650 fi
1651 if test -z "$ac_cv_prog_RANLIB"; then
1652   ac_ct_RANLIB=$RANLIB
1653   # Extract the first word of "ranlib", so it can be a program name with args.
1654 set dummy ranlib; ac_word=$2
1655 echo "$as_me:1655: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1658   echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660   if test -n "$ac_ct_RANLIB"; then
1661   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1662 else
1663   ac_save_IFS=$IFS; IFS=$ac_path_separator
1664 ac_dummy="$PATH"
1665 for ac_dir in $ac_dummy; do
1666   IFS=$ac_save_IFS
1667   test -z "$ac_dir" && ac_dir=.
1668   $as_executable_p "$ac_dir/$ac_word" || continue
1669 ac_cv_prog_ac_ct_RANLIB="ranlib"
1670 echo "$as_me:1670: found $ac_dir/$ac_word" >&5
1671 break
1672 done
1673
1674   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1675 fi
1676 fi
1677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1678 if test -n "$ac_ct_RANLIB"; then
1679   echo "$as_me:1679: result: $ac_ct_RANLIB" >&5
1680 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1681 else
1682   echo "$as_me:1682: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1684 fi
1685
1686   RANLIB=$ac_ct_RANLIB
1687 else
1688   RANLIB="$ac_cv_prog_RANLIB"
1689 fi
1690
1691 ac_aux_dir=
1692 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1693   if test -f $ac_dir/install-sh; then
1694     ac_aux_dir=$ac_dir
1695     ac_install_sh="$ac_aux_dir/install-sh -c"
1696     break
1697   elif test -f $ac_dir/install.sh; then
1698     ac_aux_dir=$ac_dir
1699     ac_install_sh="$ac_aux_dir/install.sh -c"
1700     break
1701   elif test -f $ac_dir/shtool; then
1702     ac_aux_dir=$ac_dir
1703     ac_install_sh="$ac_aux_dir/shtool install -c"
1704     break
1705   fi
1706 done
1707 if test -z "$ac_aux_dir"; then
1708   { { echo "$as_me:1708: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1709 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1710    { (exit 1); exit 1; }; }
1711 fi
1712 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1713 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1714 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1715
1716 # Find a good install program.  We prefer a C program (faster),
1717 # so one script is as good as another.  But avoid the broken or
1718 # incompatible versions:
1719 # SysV /etc/install, /usr/sbin/install
1720 # SunOS /usr/etc/install
1721 # IRIX /sbin/install
1722 # AIX /bin/install
1723 # AmigaOS /C/install, which installs bootblocks on floppy discs
1724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1727 # ./install, which can be erroneously created by make from ./install.sh.
1728 echo "$as_me:1728: checking for a BSD compatible install" >&5
1729 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1730 if test -z "$INSTALL"; then
1731 if test "${ac_cv_path_install+set}" = set; then
1732   echo $ECHO_N "(cached) $ECHO_C" >&6
1733 else
1734     ac_save_IFS=$IFS; IFS=$ac_path_separator
1735   for ac_dir in $PATH; do
1736     IFS=$ac_save_IFS
1737     # Account for people who put trailing slashes in PATH elements.
1738     case $ac_dir/ in
1739     / | ./ | .// | /cC/* \
1740     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1741     | /usr/ucb/* ) ;;
1742     *)
1743       # OSF1 and SCO ODT 3.0 have their own names for install.
1744       # Don't use installbsd from OSF since it installs stuff as root
1745       # by default.
1746       for ac_prog in ginstall scoinst install; do
1747         if $as_executable_p "$ac_dir/$ac_prog"; then
1748           if test $ac_prog = install &&
1749             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1750             # AIX install.  It has an incompatible calling convention.
1751             :
1752           elif test $ac_prog = install &&
1753             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1754             # program-specific install script used by HP pwplus--don't use.
1755             :
1756           else
1757             ac_cv_path_install="$ac_dir/$ac_prog -c"
1758             break 2
1759           fi
1760         fi
1761       done
1762       ;;
1763     esac
1764   done
1765
1766 fi
1767   if test "${ac_cv_path_install+set}" = set; then
1768     INSTALL=$ac_cv_path_install
1769   else
1770     # As a last resort, use the slow shell script.  We don't cache a
1771     # path for INSTALL within a source directory, because that will
1772     # break other packages using the cache if that directory is
1773     # removed, or if the path is relative.
1774     INSTALL=$ac_install_sh
1775   fi
1776 fi
1777 echo "$as_me:1777: result: $INSTALL" >&5
1778 echo "${ECHO_T}$INSTALL" >&6
1779
1780 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1781 # It thinks the first close brace ends the variable substitution.
1782 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1783
1784 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1785
1786 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1787
1788 if test x$GCC = xyes; then
1789         CFLAGS="$CFLAGS -Wall"
1790 fi
1791
1792 ac_ext=c
1793 ac_cpp='$CPP $CPPFLAGS'
1794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1797 echo "$as_me:1797: checking how to run the C preprocessor" >&5
1798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1799 # On Suns, sometimes $CPP names a directory.
1800 if test -n "$CPP" && test -d "$CPP"; then
1801   CPP=
1802 fi
1803 if test -z "$CPP"; then
1804   if test "${ac_cv_prog_CPP+set}" = set; then
1805   echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807       # Double quotes because CPP needs to be expanded
1808     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1809     do
1810       ac_preproc_ok=false
1811 for ac_c_preproc_warn_flag in '' yes
1812 do
1813   # Use a header file that comes with gcc, so configuring glibc
1814   # with a fresh cross-compiler works.
1815   # On the NeXT, cc -E runs the code through the compiler's parser,
1816   # not just through cpp. "Syntax error" is here to catch this case.
1817   cat >conftest.$ac_ext <<_ACEOF
1818 #line 1818 "configure"
1819 #include "confdefs.h"
1820 #include <assert.h>
1821                      Syntax error
1822 _ACEOF
1823 if { (eval echo "$as_me:1823: \"$ac_cpp conftest.$ac_ext\"") >&5
1824   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1825   ac_status=$?
1826   egrep -v '^ *\+' conftest.er1 >conftest.err
1827   rm -f conftest.er1
1828   cat conftest.err >&5
1829   echo "$as_me:1829: \$? = $ac_status" >&5
1830   (exit $ac_status); } >/dev/null; then
1831   if test -s conftest.err; then
1832     ac_cpp_err=$ac_c_preproc_warn_flag
1833   else
1834     ac_cpp_err=
1835   fi
1836 else
1837   ac_cpp_err=yes
1838 fi
1839 if test -z "$ac_cpp_err"; then
1840   :
1841 else
1842   echo "$as_me: failed program was:" >&5
1843   cat conftest.$ac_ext >&5
1844   # Broken: fails on valid input.
1845 continue
1846 fi
1847 rm -f conftest.err conftest.$ac_ext
1848
1849   # OK, works on sane cases.  Now check whether non-existent headers
1850   # can be detected and how.
1851   cat >conftest.$ac_ext <<_ACEOF
1852 #line 1852 "configure"
1853 #include "confdefs.h"
1854 #include <ac_nonexistent.h>
1855 _ACEOF
1856 if { (eval echo "$as_me:1856: \"$ac_cpp conftest.$ac_ext\"") >&5
1857   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1858   ac_status=$?
1859   egrep -v '^ *\+' conftest.er1 >conftest.err
1860   rm -f conftest.er1
1861   cat conftest.err >&5
1862   echo "$as_me:1862: \$? = $ac_status" >&5
1863   (exit $ac_status); } >/dev/null; then
1864   if test -s conftest.err; then
1865     ac_cpp_err=$ac_c_preproc_warn_flag
1866   else
1867     ac_cpp_err=
1868   fi
1869 else
1870   ac_cpp_err=yes
1871 fi
1872 if test -z "$ac_cpp_err"; then
1873   # Broken: success on invalid input.
1874 continue
1875 else
1876   echo "$as_me: failed program was:" >&5
1877   cat conftest.$ac_ext >&5
1878   # Passes both tests.
1879 ac_preproc_ok=:
1880 break
1881 fi
1882 rm -f conftest.err conftest.$ac_ext
1883
1884 done
1885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1886 rm -f conftest.err conftest.$ac_ext
1887 if $ac_preproc_ok; then
1888   break
1889 fi
1890
1891     done
1892     ac_cv_prog_CPP=$CPP
1893
1894 fi
1895   CPP=$ac_cv_prog_CPP
1896 else
1897   ac_cv_prog_CPP=$CPP
1898 fi
1899 echo "$as_me:1899: result: $CPP" >&5
1900 echo "${ECHO_T}$CPP" >&6
1901 ac_preproc_ok=false
1902 for ac_c_preproc_warn_flag in '' yes
1903 do
1904   # Use a header file that comes with gcc, so configuring glibc
1905   # with a fresh cross-compiler works.
1906   # On the NeXT, cc -E runs the code through the compiler's parser,
1907   # not just through cpp. "Syntax error" is here to catch this case.
1908   cat >conftest.$ac_ext <<_ACEOF
1909 #line 1909 "configure"
1910 #include "confdefs.h"
1911 #include <assert.h>
1912                      Syntax error
1913 _ACEOF
1914 if { (eval echo "$as_me:1914: \"$ac_cpp conftest.$ac_ext\"") >&5
1915   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1916   ac_status=$?
1917   egrep -v '^ *\+' conftest.er1 >conftest.err
1918   rm -f conftest.er1
1919   cat conftest.err >&5
1920   echo "$as_me:1920: \$? = $ac_status" >&5
1921   (exit $ac_status); } >/dev/null; then
1922   if test -s conftest.err; then
1923     ac_cpp_err=$ac_c_preproc_warn_flag
1924   else
1925     ac_cpp_err=
1926   fi
1927 else
1928   ac_cpp_err=yes
1929 fi
1930 if test -z "$ac_cpp_err"; then
1931   :
1932 else
1933   echo "$as_me: failed program was:" >&5
1934   cat conftest.$ac_ext >&5
1935   # Broken: fails on valid input.
1936 continue
1937 fi
1938 rm -f conftest.err conftest.$ac_ext
1939
1940   # OK, works on sane cases.  Now check whether non-existent headers
1941   # can be detected and how.
1942   cat >conftest.$ac_ext <<_ACEOF
1943 #line 1943 "configure"
1944 #include "confdefs.h"
1945 #include <ac_nonexistent.h>
1946 _ACEOF
1947 if { (eval echo "$as_me:1947: \"$ac_cpp conftest.$ac_ext\"") >&5
1948   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1949   ac_status=$?
1950   egrep -v '^ *\+' conftest.er1 >conftest.err
1951   rm -f conftest.er1
1952   cat conftest.err >&5
1953   echo "$as_me:1953: \$? = $ac_status" >&5
1954   (exit $ac_status); } >/dev/null; then
1955   if test -s conftest.err; then
1956     ac_cpp_err=$ac_c_preproc_warn_flag
1957   else
1958     ac_cpp_err=
1959   fi
1960 else
1961   ac_cpp_err=yes
1962 fi
1963 if test -z "$ac_cpp_err"; then
1964   # Broken: success on invalid input.
1965 continue
1966 else
1967   echo "$as_me: failed program was:" >&5
1968   cat conftest.$ac_ext >&5
1969   # Passes both tests.
1970 ac_preproc_ok=:
1971 break
1972 fi
1973 rm -f conftest.err conftest.$ac_ext
1974
1975 done
1976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1977 rm -f conftest.err conftest.$ac_ext
1978 if $ac_preproc_ok; then
1979   :
1980 else
1981   { { echo "$as_me:1981: error: C preprocessor \"$CPP\" fails sanity check" >&5
1982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1983    { (exit 1); exit 1; }; }
1984 fi
1985
1986 ac_ext=c
1987 ac_cpp='$CPP $CPPFLAGS'
1988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1991
1992 echo "$as_me:1992: checking for getopt.h" >&5
1993 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
1994 if test "${ac_cv_header_getopt_h+set}" = set; then
1995   echo $ECHO_N "(cached) $ECHO_C" >&6
1996 else
1997   cat >conftest.$ac_ext <<_ACEOF
1998 #line 1998 "configure"
1999 #include "confdefs.h"
2000 #include <getopt.h>
2001 _ACEOF
2002 if { (eval echo "$as_me:2002: \"$ac_cpp conftest.$ac_ext\"") >&5
2003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2004   ac_status=$?
2005   egrep -v '^ *\+' conftest.er1 >conftest.err
2006   rm -f conftest.er1
2007   cat conftest.err >&5
2008   echo "$as_me:2008: \$? = $ac_status" >&5
2009   (exit $ac_status); } >/dev/null; then
2010   if test -s conftest.err; then
2011     ac_cpp_err=$ac_c_preproc_warn_flag
2012   else
2013     ac_cpp_err=
2014   fi
2015 else
2016   ac_cpp_err=yes
2017 fi
2018 if test -z "$ac_cpp_err"; then
2019   ac_cv_header_getopt_h=yes
2020 else
2021   echo "$as_me: failed program was:" >&5
2022   cat conftest.$ac_ext >&5
2023   ac_cv_header_getopt_h=no
2024 fi
2025 rm -f conftest.err conftest.$ac_ext
2026 fi
2027 echo "$as_me:2027: result: $ac_cv_header_getopt_h" >&5
2028 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2029 if test $ac_cv_header_getopt_h = yes; then
2030   :
2031 else
2032   NO_GETOPT=-DNO_GETOPT;GETOPT_O=compat/getopt.o
2033 fi
2034
2035 echo "$as_me:2035: checking for paper.h" >&5
2036 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
2037 if test "${ac_cv_header_paper_h+set}" = set; then
2038   echo $ECHO_N "(cached) $ECHO_C" >&6
2039 else
2040   cat >conftest.$ac_ext <<_ACEOF
2041 #line 2041 "configure"
2042 #include "confdefs.h"
2043 #include <paper.h>
2044 _ACEOF
2045 if { (eval echo "$as_me:2045: \"$ac_cpp conftest.$ac_ext\"") >&5
2046   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2047   ac_status=$?
2048   egrep -v '^ *\+' conftest.er1 >conftest.err
2049   rm -f conftest.er1
2050   cat conftest.err >&5
2051   echo "$as_me:2051: \$? = $ac_status" >&5
2052   (exit $ac_status); } >/dev/null; then
2053   if test -s conftest.err; then
2054     ac_cpp_err=$ac_c_preproc_warn_flag
2055   else
2056     ac_cpp_err=
2057   fi
2058 else
2059   ac_cpp_err=yes
2060 fi
2061 if test -z "$ac_cpp_err"; then
2062   ac_cv_header_paper_h=yes
2063 else
2064   echo "$as_me: failed program was:" >&5
2065   cat conftest.$ac_ext >&5
2066   ac_cv_header_paper_h=no
2067 fi
2068 rm -f conftest.err conftest.$ac_ext
2069 fi
2070 echo "$as_me:2070: result: $ac_cv_header_paper_h" >&5
2071 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
2072 if test $ac_cv_header_paper_h = yes; then
2073   LIBPAPER=-lpaper
2074 else
2075   NO_LIBPAPER=-DNO_LIBPAPER
2076 fi
2077
2078 for ac_header in unistd.h
2079 do
2080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2081 echo "$as_me:2081: checking for $ac_header" >&5
2082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2084   echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086   cat >conftest.$ac_ext <<_ACEOF
2087 #line 2087 "configure"
2088 #include "confdefs.h"
2089 #include <$ac_header>
2090 _ACEOF
2091 if { (eval echo "$as_me:2091: \"$ac_cpp conftest.$ac_ext\"") >&5
2092   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2093   ac_status=$?
2094   egrep -v '^ *\+' conftest.er1 >conftest.err
2095   rm -f conftest.er1
2096   cat conftest.err >&5
2097   echo "$as_me:2097: \$? = $ac_status" >&5
2098   (exit $ac_status); } >/dev/null; then
2099   if test -s conftest.err; then
2100     ac_cpp_err=$ac_c_preproc_warn_flag
2101   else
2102     ac_cpp_err=
2103   fi
2104 else
2105   ac_cpp_err=yes
2106 fi
2107 if test -z "$ac_cpp_err"; then
2108   eval "$as_ac_Header=yes"
2109 else
2110   echo "$as_me: failed program was:" >&5
2111   cat conftest.$ac_ext >&5
2112   eval "$as_ac_Header=no"
2113 fi
2114 rm -f conftest.err conftest.$ac_ext
2115 fi
2116 echo "$as_me:2116: result: `eval echo '${'$as_ac_Header'}'`" >&5
2117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2119   cat >>confdefs.h <<EOF
2120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2121 EOF
2122
2123 fi
2124 done
2125
2126 echo "$as_me:2126: checking for strerror" >&5
2127 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
2128 if test "${ac_cv_func_strerror+set}" = set; then
2129   echo $ECHO_N "(cached) $ECHO_C" >&6
2130 else
2131   cat >conftest.$ac_ext <<_ACEOF
2132 #line 2132 "configure"
2133 #include "confdefs.h"
2134 /* System header to define __stub macros and hopefully few prototypes,
2135     which can conflict with char strerror (); below.  */
2136 #include <assert.h>
2137 /* Override any gcc2 internal prototype to avoid an error.  */
2138 #ifdef __cplusplus
2139 extern "C"
2140 #endif
2141 /* We use char because int might match the return type of a gcc2
2142    builtin and then its argument prototype would still apply.  */
2143 char strerror ();
2144 char (*f) ();
2145
2146 int
2147 main ()
2148 {
2149 /* The GNU C library defines this for functions which it implements
2150     to always fail with ENOSYS.  Some functions are actually named
2151     something starting with __ and the normal name is an alias.  */
2152 #if defined (__stub_strerror) || defined (__stub___strerror)
2153 choke me
2154 #else
2155 f = strerror;
2156 #endif
2157
2158   ;
2159   return 0;
2160 }
2161 _ACEOF
2162 rm -f conftest.$ac_objext conftest$ac_exeext
2163 if { (eval echo "$as_me:2163: \"$ac_link\"") >&5
2164   (eval $ac_link) 2>&5
2165   ac_status=$?
2166   echo "$as_me:2166: \$? = $ac_status" >&5
2167   (exit $ac_status); } &&
2168          { ac_try='test -s conftest$ac_exeext'
2169   { (eval echo "$as_me:2169: \"$ac_try\"") >&5
2170   (eval $ac_try) 2>&5
2171   ac_status=$?
2172   echo "$as_me:2172: \$? = $ac_status" >&5
2173   (exit $ac_status); }; }; then
2174   ac_cv_func_strerror=yes
2175 else
2176   echo "$as_me: failed program was:" >&5
2177 cat conftest.$ac_ext >&5
2178 ac_cv_func_strerror=no
2179 fi
2180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2181 fi
2182 echo "$as_me:2182: result: $ac_cv_func_strerror" >&5
2183 echo "${ECHO_T}$ac_cv_func_strerror" >&6
2184 if test $ac_cv_func_strerror = yes; then
2185   :
2186 else
2187   NO_STRERROR=-DNO_STRERROR
2188 fi
2189
2190 for ac_func in strcasecmp
2191 do
2192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2193 echo "$as_me:2193: checking for $ac_func" >&5
2194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2195 if eval "test \"\${$as_ac_var+set}\" = set"; then
2196   echo $ECHO_N "(cached) $ECHO_C" >&6
2197 else
2198   cat >conftest.$ac_ext <<_ACEOF
2199 #line 2199 "configure"
2200 #include "confdefs.h"
2201 /* System header to define __stub macros and hopefully few prototypes,
2202     which can conflict with char $ac_func (); below.  */
2203 #include <assert.h>
2204 /* Override any gcc2 internal prototype to avoid an error.  */
2205 #ifdef __cplusplus
2206 extern "C"
2207 #endif
2208 /* We use char because int might match the return type of a gcc2
2209    builtin and then its argument prototype would still apply.  */
2210 char $ac_func ();
2211 char (*f) ();
2212
2213 int
2214 main ()
2215 {
2216 /* The GNU C library defines this for functions which it implements
2217     to always fail with ENOSYS.  Some functions are actually named
2218     something starting with __ and the normal name is an alias.  */
2219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2220 choke me
2221 #else
2222 f = $ac_func;
2223 #endif
2224
2225   ;
2226   return 0;
2227 }
2228 _ACEOF
2229 rm -f conftest.$ac_objext conftest$ac_exeext
2230 if { (eval echo "$as_me:2230: \"$ac_link\"") >&5
2231   (eval $ac_link) 2>&5
2232   ac_status=$?
2233   echo "$as_me:2233: \$? = $ac_status" >&5
2234   (exit $ac_status); } &&
2235          { ac_try='test -s conftest$ac_exeext'
2236   { (eval echo "$as_me:2236: \"$ac_try\"") >&5
2237   (eval $ac_try) 2>&5
2238   ac_status=$?
2239   echo "$as_me:2239: \$? = $ac_status" >&5
2240   (exit $ac_status); }; }; then
2241   eval "$as_ac_var=yes"
2242 else
2243   echo "$as_me: failed program was:" >&5
2244 cat conftest.$ac_ext >&5
2245 eval "$as_ac_var=no"
2246 fi
2247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2248 fi
2249 echo "$as_me:2249: result: `eval echo '${'$as_ac_var'}'`" >&5
2250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2251 if test `eval echo '${'$as_ac_var'}'` = yes; then
2252   cat >>confdefs.h <<EOF
2253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2254 EOF
2255
2256 fi
2257 done
2258
2259 echo "$as_me:2259: checking \"for gmake\"" >&5
2260 echo $ECHO_N "checking \"for gmake\"... $ECHO_C" >&6
2261 GMAKE=no
2262 ${MAKE=make} --version 2> /dev/null | grep GNU > /dev/null && GMAKE=yes
2263 echo "$as_me:2263: result: $GMAKE" >&5
2264 echo "${ECHO_T}$GMAKE" >&6
2265 if test "$GMAKE" = "yes"; then
2266         GMAKEDEPEND0='ifeq (.depend,$(wildcard .depend))'
2267         GMAKEDEPEND1='include .depend'
2268         GMAKEDEPEND2='endif'
2269 fi
2270
2271 echo "$as_me:2271: checking \"if makeinfo can output html\"" >&5
2272 echo $ECHO_N "checking \"if makeinfo can output html\"... $ECHO_C" >&6
2273 MAKEINFOHTML=no
2274 ${MAKEINFO=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
2275 echo "$as_me:2275: result: $MAKEINFOHTML" >&5
2276 echo "${ECHO_T}$MAKEINFOHTML" >&6
2277 if test "$MAKEINFOHTML" = "yes"; then
2278    REMOVEHTMLTAGS="cat"
2279    INFOTOHTML="$MAKEINFO --html"
2280 else
2281    REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
2282    INFOTOHTML="perl texi2html -monolithic"
2283 fi
2284
2285 ac_config_files="$ac_config_files Makefile"
2286 cat >confcache <<\_ACEOF
2287 # This file is a shell script that caches the results of configure
2288 # tests run on this system so they can be shared between configure
2289 # scripts and configure runs, see configure's option --config-cache.
2290 # It is not useful on other systems.  If it contains results you don't
2291 # want to keep, you may remove or edit it.
2292 #
2293 # config.status only pays attention to the cache file if you give it
2294 # the --recheck option to rerun configure.
2295 #
2296 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2298 # following values.
2299
2300 _ACEOF
2301
2302 # The following way of writing the cache mishandles newlines in values,
2303 # but we know of no workaround that is simple, portable, and efficient.
2304 # So, don't put newlines in cache variables' values.
2305 # Ultrix sh set writes to stderr and can't be redirected directly,
2306 # and sets the high bit in the cache file unless we assign to the vars.
2307 {
2308   (set) 2>&1 |
2309     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2310     *ac_space=\ *)
2311       # `set' does not quote correctly, so add quotes (double-quote
2312       # substitution turns \\\\ into \\, and sed turns \\ into \).
2313       sed -n \
2314         "s/'/'\\\\''/g;
2315           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2316       ;;
2317     *)
2318       # `set' quotes correctly as required by POSIX, so do not add quotes.
2319       sed -n \
2320         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2321       ;;
2322     esac;
2323 } |
2324   sed '
2325      t clear
2326      : clear
2327      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2328      t end
2329      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2330      : end' >>confcache
2331 if cmp -s $cache_file confcache; then :; else
2332   if test -w $cache_file; then
2333     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2334     cat confcache >$cache_file
2335   else
2336     echo "not updating unwritable cache $cache_file"
2337   fi
2338 fi
2339 rm -f confcache
2340
2341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2342 # Let make expand exec_prefix.
2343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2344
2345 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2346 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2347 # trailing colons and then remove the whole line if VPATH becomes empty
2348 # (actually we leave an empty line to preserve line numbers).
2349 if test "x$srcdir" = x.; then
2350   ac_vpsub='/^[         ]*VPATH[        ]*=/{
2351 s/:*\$(srcdir):*/:/;
2352 s/:*\${srcdir}:*/:/;
2353 s/:*@srcdir@:*/:/;
2354 s/^\([^=]*=[    ]*\):*/\1/;
2355 s/:*$//;
2356 s/^[^=]*=[      ]*$//;
2357 }'
2358 fi
2359
2360 # Transform confdefs.h into DEFS.
2361 # Protect against shell expansion while executing Makefile rules.
2362 # Protect against Makefile macro expansion.
2363 #
2364 # If the first sed substitution is executed (which looks for macros that
2365 # take arguments), then we branch to the quote section.  Otherwise,
2366 # look for a macro that doesn't take arguments.
2367 cat >confdef2opt.sed <<\EOF
2368 t clear
2369 : clear
2370 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2371 t quote
2372 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2373 t quote
2374 d
2375 : quote
2376 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
2377 s,\[,\\&,g
2378 s,\],\\&,g
2379 s,\$,$$,g
2380 p
2381 EOF
2382 # We use echo to avoid assuming a particular line-breaking character.
2383 # The extra dot is to prevent the shell from consuming trailing
2384 # line-breaks from the sub-command output.  A line-break within
2385 # single-quotes doesn't work because, if this script is created in a
2386 # platform that uses two characters for line-breaks (e.g., DOS), tr
2387 # would break.
2388 ac_LF_and_DOT=`echo; echo .`
2389 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2390 rm -f confdef2opt.sed
2391
2392 : ${CONFIG_STATUS=./config.status}
2393 ac_clean_files_save=$ac_clean_files
2394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2395 { echo "$as_me:2395: creating $CONFIG_STATUS" >&5
2396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2397 cat >$CONFIG_STATUS <<_ACEOF
2398 #! $SHELL
2399 # Generated automatically by configure.
2400 # Run this file to recreate the current configuration.
2401 # Compiler output produced by configure, useful for debugging
2402 # configure, is in config.log if it exists.
2403
2404 debug=false
2405 SHELL=\${CONFIG_SHELL-$SHELL}
2406 ac_cs_invocation="\$0 \$@"
2407
2408 _ACEOF
2409
2410 cat >>$CONFIG_STATUS <<\_ACEOF
2411 # Be Bourne compatible
2412 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2413   emulate sh
2414   NULLCMD=:
2415 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2416   set -o posix
2417 fi
2418
2419 # Name of the executable.
2420 as_me=`echo "$0" |sed 's,.*[\\/],,'`
2421
2422 if expr a : '\(a\)' >/dev/null 2>&1; then
2423   as_expr=expr
2424 else
2425   as_expr=false
2426 fi
2427
2428 rm -f conf$$ conf$$.exe conf$$.file
2429 echo >conf$$.file
2430 if ln -s conf$$.file conf$$ 2>/dev/null; then
2431   # We could just check for DJGPP; but this test a) works b) is more generic
2432   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2433   if test -f conf$$.exe; then
2434     # Don't use ln at all; we don't have any links
2435     as_ln_s='cp -p'
2436   else
2437     as_ln_s='ln -s'
2438   fi
2439 elif ln conf$$.file conf$$ 2>/dev/null; then
2440   as_ln_s=ln
2441 else
2442   as_ln_s='cp -p'
2443 fi
2444 rm -f conf$$ conf$$.exe conf$$.file
2445
2446 as_executable_p="test -f"
2447
2448 # Support unset when possible.
2449 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2450   as_unset=unset
2451 else
2452   as_unset=false
2453 fi
2454
2455 # NLS nuisances.
2456 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2457 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2458 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2459 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2460 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2461 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2462 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2463 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2464
2465 # IFS
2466 # We need space, tab and new line, in precisely that order.
2467 as_nl='
2468 '
2469 IFS="   $as_nl"
2470
2471 # CDPATH.
2472 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2473
2474 exec 6>&1
2475
2476 _ACEOF
2477
2478 # Files that config.status was made for.
2479 if test -n "$ac_config_files"; then
2480   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2481 fi
2482
2483 if test -n "$ac_config_headers"; then
2484   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2485 fi
2486
2487 if test -n "$ac_config_links"; then
2488   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2489 fi
2490
2491 if test -n "$ac_config_commands"; then
2492   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2493 fi
2494
2495 cat >>$CONFIG_STATUS <<\EOF
2496
2497 ac_cs_usage="\
2498 \`$as_me' instantiates files from templates according to the
2499 current configuration.
2500
2501 Usage: $0 [OPTIONS] [FILE]...
2502
2503   -h, --help       print this help, then exit
2504   -V, --version    print version number, then exit
2505   -d, --debug      don't remove temporary files
2506       --recheck    update $as_me by reconfiguring in the same conditions
2507   --file=FILE[:TEMPLATE]
2508                    instantiate the configuration file FILE
2509
2510 Configuration files:
2511 $config_files
2512
2513 Report bugs to <bug-autoconf@gnu.org>."
2514 EOF
2515
2516 cat >>$CONFIG_STATUS <<EOF
2517 ac_cs_version="\\
2518 config.status
2519 configured by $0, generated by GNU Autoconf 2.52,
2520   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2521
2522 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2523 Free Software Foundation, Inc.
2524 This config.status script is free software; the Free Software Foundation
2525 gives unlimited permission to copy, distribute and modify it."
2526 srcdir=$srcdir
2527 INSTALL="$INSTALL"
2528 EOF
2529
2530 cat >>$CONFIG_STATUS <<\EOF
2531 # If no file are specified by the user, then we need to provide default
2532 # value.  By we need to know if files were specified by the user.
2533 ac_need_defaults=:
2534 while test $# != 0
2535 do
2536   case $1 in
2537   --*=*)
2538     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2539     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2540     shift
2541     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2542     shift
2543     ;;
2544   -*);;
2545   *) # This is not an option, so the user has probably given explicit
2546      # arguments.
2547      ac_need_defaults=false;;
2548   esac
2549
2550   case $1 in
2551   # Handling of the options.
2552 EOF
2553 cat >>$CONFIG_STATUS <<EOF
2554   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2555     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2556     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2557 EOF
2558 cat >>$CONFIG_STATUS <<\EOF
2559   --version | --vers* | -V )
2560     echo "$ac_cs_version"; exit 0 ;;
2561   --he | --h)
2562     # Conflict between --help and --header
2563     { { echo "$as_me:2563: error: ambiguous option: $1
2564 Try \`$0 --help' for more information." >&5
2565 echo "$as_me: error: ambiguous option: $1
2566 Try \`$0 --help' for more information." >&2;}
2567    { (exit 1); exit 1; }; };;
2568   --help | --hel | -h )
2569     echo "$ac_cs_usage"; exit 0 ;;
2570   --debug | --d* | -d )
2571     debug=: ;;
2572   --file | --fil | --fi | --f )
2573     shift
2574     CONFIG_FILES="$CONFIG_FILES $1"
2575     ac_need_defaults=false;;
2576   --header | --heade | --head | --hea )
2577     shift
2578     CONFIG_HEADERS="$CONFIG_HEADERS $1"
2579     ac_need_defaults=false;;
2580
2581   # This is an error.
2582   -*) { { echo "$as_me:2582: error: unrecognized option: $1
2583 Try \`$0 --help' for more information." >&5
2584 echo "$as_me: error: unrecognized option: $1
2585 Try \`$0 --help' for more information." >&2;}
2586    { (exit 1); exit 1; }; } ;;
2587
2588   *) ac_config_targets="$ac_config_targets $1" ;;
2589
2590   esac
2591   shift
2592 done
2593
2594 exec 5>>config.log
2595 cat >&5 << _ACEOF
2596
2597 ## ----------------------- ##
2598 ## Running config.status.  ##
2599 ## ----------------------- ##
2600
2601 This file was extended by $as_me 2.52, executed with
2602   CONFIG_FILES    = $CONFIG_FILES
2603   CONFIG_HEADERS  = $CONFIG_HEADERS
2604   CONFIG_LINKS    = $CONFIG_LINKS
2605   CONFIG_COMMANDS = $CONFIG_COMMANDS
2606   > $ac_cs_invocation
2607 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2608
2609 _ACEOF
2610 EOF
2611
2612 cat >>$CONFIG_STATUS <<\EOF
2613 for ac_config_target in $ac_config_targets
2614 do
2615   case "$ac_config_target" in
2616   # Handling of arguments.
2617   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2618   *) { { echo "$as_me:2618: error: invalid argument: $ac_config_target" >&5
2619 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2620    { (exit 1); exit 1; }; };;
2621   esac
2622 done
2623
2624 # If the user did not use the arguments to specify the items to instantiate,
2625 # then the envvar interface is used.  Set only those that are not.
2626 # We use the long form for the default assignment because of an extremely
2627 # bizarre bug on SunOS 4.1.3.
2628 if $ac_need_defaults; then
2629   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2630 fi
2631
2632 # Create a temporary directory, and hook for its removal unless debugging.
2633 $debug ||
2634 {
2635   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2636   trap '{ (exit 1); exit 1; }' 1 2 13 15
2637 }
2638
2639 # Create a (secure) tmp directory for tmp files.
2640 : ${TMPDIR=/tmp}
2641 {
2642   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2643   test -n "$tmp" && test -d "$tmp"
2644 }  ||
2645 {
2646   tmp=$TMPDIR/cs$$-$RANDOM
2647   (umask 077 && mkdir $tmp)
2648 } ||
2649 {
2650    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2651    { (exit 1); exit 1; }
2652 }
2653
2654 EOF
2655
2656 cat >>$CONFIG_STATUS <<EOF
2657
2658 #
2659 # CONFIG_FILES section.
2660 #
2661
2662 # No need to generate the scripts if there are no CONFIG_FILES.
2663 # This happens for instance when ./config.status config.h
2664 if test -n "\$CONFIG_FILES"; then
2665   # Protect against being on the right side of a sed subst in config.status.
2666   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2667    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2668 s,@SHELL@,$SHELL,;t t
2669 s,@exec_prefix@,$exec_prefix,;t t
2670 s,@prefix@,$prefix,;t t
2671 s,@program_transform_name@,$program_transform_name,;t t
2672 s,@bindir@,$bindir,;t t
2673 s,@sbindir@,$sbindir,;t t
2674 s,@libexecdir@,$libexecdir,;t t
2675 s,@datadir@,$datadir,;t t
2676 s,@sysconfdir@,$sysconfdir,;t t
2677 s,@sharedstatedir@,$sharedstatedir,;t t
2678 s,@localstatedir@,$localstatedir,;t t
2679 s,@libdir@,$libdir,;t t
2680 s,@includedir@,$includedir,;t t
2681 s,@oldincludedir@,$oldincludedir,;t t
2682 s,@infodir@,$infodir,;t t
2683 s,@mandir@,$mandir,;t t
2684 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2685 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2686 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2687 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2688 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2689 s,@build_alias@,$build_alias,;t t
2690 s,@host_alias@,$host_alias,;t t
2691 s,@target_alias@,$target_alias,;t t
2692 s,@ECHO_C@,$ECHO_C,;t t
2693 s,@ECHO_N@,$ECHO_N,;t t
2694 s,@ECHO_T@,$ECHO_T,;t t
2695 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2696 s,@DEFS@,$DEFS,;t t
2697 s,@LIBS@,$LIBS,;t t
2698 s,@CC@,$CC,;t t
2699 s,@CFLAGS@,$CFLAGS,;t t
2700 s,@LDFLAGS@,$LDFLAGS,;t t
2701 s,@CPPFLAGS@,$CPPFLAGS,;t t
2702 s,@ac_ct_CC@,$ac_ct_CC,;t t
2703 s,@EXEEXT@,$EXEEXT,;t t
2704 s,@OBJEXT@,$OBJEXT,;t t
2705 s,@RANLIB@,$RANLIB,;t t
2706 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2707 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2708 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2709 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2710 s,@CPP@,$CPP,;t t
2711 s,@GETOPT_O@,$GETOPT_O,;t t
2712 s,@NO_GETOPT@,$NO_GETOPT,;t t
2713 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
2714 s,@LIBPAPER@,$LIBPAPER,;t t
2715 s,@NO_STRERROR@,$NO_STRERROR,;t t
2716 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
2717 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
2718 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
2719 CEOF
2720
2721 EOF
2722
2723   cat >>$CONFIG_STATUS <<\EOF
2724   # Split the substitutions into bite-sized pieces for seds with
2725   # small command number limits, like on Digital OSF/1 and HP-UX.
2726   ac_max_sed_lines=48
2727   ac_sed_frag=1 # Number of current file.
2728   ac_beg=1 # First line for current file.
2729   ac_end=$ac_max_sed_lines # Line after last line for current file.
2730   ac_more_lines=:
2731   ac_sed_cmds=
2732   while $ac_more_lines; do
2733     if test $ac_beg -gt 1; then
2734       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2735     else
2736       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2737     fi
2738     if test ! -s $tmp/subs.frag; then
2739       ac_more_lines=false
2740     else
2741       # The purpose of the label and of the branching condition is to
2742       # speed up the sed processing (if there are no `@' at all, there
2743       # is no need to browse any of the substitutions).
2744       # These are the two extra sed commands mentioned above.
2745       (echo ':t
2746   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2747       if test -z "$ac_sed_cmds"; then
2748         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2749       else
2750         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2751       fi
2752       ac_sed_frag=`expr $ac_sed_frag + 1`
2753       ac_beg=$ac_end
2754       ac_end=`expr $ac_end + $ac_max_sed_lines`
2755     fi
2756   done
2757   if test -z "$ac_sed_cmds"; then
2758     ac_sed_cmds=cat
2759   fi
2760 fi # test -n "$CONFIG_FILES"
2761
2762 EOF
2763 cat >>$CONFIG_STATUS <<\EOF
2764 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2765   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2766   case $ac_file in
2767   - | *:- | *:-:* ) # input from stdin
2768         cat >$tmp/stdin
2769         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2770         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2771   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2772         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2773   * )   ac_file_in=$ac_file.in ;;
2774   esac
2775
2776   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2777   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2778          X"$ac_file" : 'X\(//\)[^/]' \| \
2779          X"$ac_file" : 'X\(//\)$' \| \
2780          X"$ac_file" : 'X\(/\)' \| \
2781          .     : '\(.\)' 2>/dev/null ||
2782 echo X"$ac_file" |
2783     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2784           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2785           /^X\(\/\/\)$/{ s//\1/; q; }
2786           /^X\(\/\).*/{ s//\1/; q; }
2787           s/.*/./; q'`
2788   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2789     { case "$ac_dir" in
2790   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2791   *)                      as_incr_dir=.;;
2792 esac
2793 as_dummy="$ac_dir"
2794 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2795   case $as_mkdir_dir in
2796     # Skip DOS drivespec
2797     ?:) as_incr_dir=$as_mkdir_dir ;;
2798     *)
2799       as_incr_dir=$as_incr_dir/$as_mkdir_dir
2800       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2801     ;;
2802   esac
2803 done; }
2804
2805     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2806     # A "../" for each directory in $ac_dir_suffix.
2807     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2808   else
2809     ac_dir_suffix= ac_dots=
2810   fi
2811
2812   case $srcdir in
2813   .)  ac_srcdir=.
2814       if test -z "$ac_dots"; then
2815          ac_top_srcdir=.
2816       else
2817          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2818       fi ;;
2819   [\\/]* | ?:[\\/]* )
2820       ac_srcdir=$srcdir$ac_dir_suffix;
2821       ac_top_srcdir=$srcdir ;;
2822   *) # Relative path.
2823     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2824     ac_top_srcdir=$ac_dots$srcdir ;;
2825   esac
2826
2827   case $INSTALL in
2828   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2829   *) ac_INSTALL=$ac_dots$INSTALL ;;
2830   esac
2831
2832   if test x"$ac_file" != x-; then
2833     { echo "$as_me:2833: creating $ac_file" >&5
2834 echo "$as_me: creating $ac_file" >&6;}
2835     rm -f "$ac_file"
2836   fi
2837   # Let's still pretend it is `configure' which instantiates (i.e., don't
2838   # use $as_me), people would be surprised to read:
2839   #    /* config.h.  Generated automatically by config.status.  */
2840   configure_input="Generated automatically from `echo $ac_file_in |
2841                                                  sed 's,.*/,,'` by configure."
2842
2843   # First look for the input files in the build tree, otherwise in the
2844   # src tree.
2845   ac_file_inputs=`IFS=:
2846     for f in $ac_file_in; do
2847       case $f in
2848       -) echo $tmp/stdin ;;
2849       [\\/$]*)
2850          # Absolute (can't be DOS-style, as IFS=:)
2851          test -f "$f" || { { echo "$as_me:2851: error: cannot find input file: $f" >&5
2852 echo "$as_me: error: cannot find input file: $f" >&2;}
2853    { (exit 1); exit 1; }; }
2854          echo $f;;
2855       *) # Relative
2856          if test -f "$f"; then
2857            # Build tree
2858            echo $f
2859          elif test -f "$srcdir/$f"; then
2860            # Source tree
2861            echo $srcdir/$f
2862          else
2863            # /dev/null tree
2864            { { echo "$as_me:2864: error: cannot find input file: $f" >&5
2865 echo "$as_me: error: cannot find input file: $f" >&2;}
2866    { (exit 1); exit 1; }; }
2867          fi;;
2868       esac
2869     done` || { (exit 1); exit 1; }
2870 EOF
2871 cat >>$CONFIG_STATUS <<EOF
2872   sed "$ac_vpsub
2873 $extrasub
2874 EOF
2875 cat >>$CONFIG_STATUS <<\EOF
2876 :t
2877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2878 s,@configure_input@,$configure_input,;t t
2879 s,@srcdir@,$ac_srcdir,;t t
2880 s,@top_srcdir@,$ac_top_srcdir,;t t
2881 s,@INSTALL@,$ac_INSTALL,;t t
2882 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2883   rm -f $tmp/stdin
2884   if test x"$ac_file" != x-; then
2885     mv $tmp/out $ac_file
2886   else
2887     cat $tmp/out
2888     rm -f $tmp/out
2889   fi
2890
2891 done
2892 EOF
2893
2894 cat >>$CONFIG_STATUS <<\EOF
2895
2896 { (exit 0); exit 0; }
2897 EOF
2898 chmod +x $CONFIG_STATUS
2899 ac_clean_files=$ac_clean_files_save
2900
2901 # configure is writing to config.log, and then calls config.status.
2902 # config.status does its own redirection, appending to config.log.
2903 # Unfortunately, on DOS this fails, as config.log is still kept open
2904 # by configure, so config.status won't be able to write to it; its
2905 # output is simply discarded.  So we exec the FD to /dev/null,
2906 # effectively closing config.log, so it can be properly (re)opened and
2907 # appended to by config.status.  When coming back to configure, we
2908 # need to make the FD available again.
2909 if test "$no_create" != yes; then
2910   ac_cs_success=:
2911   exec 5>/dev/null
2912   $SHELL $CONFIG_STATUS || ac_cs_success=false
2913   exec 5>>config.log
2914   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2915   # would make configure fail if this is the last instruction.
2916   $ac_cs_success || { (exit 1); exit 1; }
2917 fi
2918
2919 ac_config_files="$ac_config_files doc/Makefile"
2920 cat >confcache <<\_ACEOF
2921 # This file is a shell script that caches the results of configure
2922 # tests run on this system so they can be shared between configure
2923 # scripts and configure runs, see configure's option --config-cache.
2924 # It is not useful on other systems.  If it contains results you don't
2925 # want to keep, you may remove or edit it.
2926 #
2927 # config.status only pays attention to the cache file if you give it
2928 # the --recheck option to rerun configure.
2929 #
2930 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2932 # following values.
2933
2934 _ACEOF
2935
2936 # The following way of writing the cache mishandles newlines in values,
2937 # but we know of no workaround that is simple, portable, and efficient.
2938 # So, don't put newlines in cache variables' values.
2939 # Ultrix sh set writes to stderr and can't be redirected directly,
2940 # and sets the high bit in the cache file unless we assign to the vars.
2941 {
2942   (set) 2>&1 |
2943     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2944     *ac_space=\ *)
2945       # `set' does not quote correctly, so add quotes (double-quote
2946       # substitution turns \\\\ into \\, and sed turns \\ into \).
2947       sed -n \
2948         "s/'/'\\\\''/g;
2949           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2950       ;;
2951     *)
2952       # `set' quotes correctly as required by POSIX, so do not add quotes.
2953       sed -n \
2954         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2955       ;;
2956     esac;
2957 } |
2958   sed '
2959      t clear
2960      : clear
2961      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2962      t end
2963      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2964      : end' >>confcache
2965 if cmp -s $cache_file confcache; then :; else
2966   if test -w $cache_file; then
2967     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2968     cat confcache >$cache_file
2969   else
2970     echo "not updating unwritable cache $cache_file"
2971   fi
2972 fi
2973 rm -f confcache
2974
2975 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2976 # Let make expand exec_prefix.
2977 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2978
2979 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2980 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2981 # trailing colons and then remove the whole line if VPATH becomes empty
2982 # (actually we leave an empty line to preserve line numbers).
2983 if test "x$srcdir" = x.; then
2984   ac_vpsub='/^[         ]*VPATH[        ]*=/{
2985 s/:*\$(srcdir):*/:/;
2986 s/:*\${srcdir}:*/:/;
2987 s/:*@srcdir@:*/:/;
2988 s/^\([^=]*=[    ]*\):*/\1/;
2989 s/:*$//;
2990 s/^[^=]*=[      ]*$//;
2991 }'
2992 fi
2993
2994 # Transform confdefs.h into DEFS.
2995 # Protect against shell expansion while executing Makefile rules.
2996 # Protect against Makefile macro expansion.
2997 #
2998 # If the first sed substitution is executed (which looks for macros that
2999 # take arguments), then we branch to the quote section.  Otherwise,
3000 # look for a macro that doesn't take arguments.
3001 cat >confdef2opt.sed <<\EOF
3002 t clear
3003 : clear
3004 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3005 t quote
3006 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3007 t quote
3008 d
3009 : quote
3010 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
3011 s,\[,\\&,g
3012 s,\],\\&,g
3013 s,\$,$$,g
3014 p
3015 EOF
3016 # We use echo to avoid assuming a particular line-breaking character.
3017 # The extra dot is to prevent the shell from consuming trailing
3018 # line-breaks from the sub-command output.  A line-break within
3019 # single-quotes doesn't work because, if this script is created in a
3020 # platform that uses two characters for line-breaks (e.g., DOS), tr
3021 # would break.
3022 ac_LF_and_DOT=`echo; echo .`
3023 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3024 rm -f confdef2opt.sed
3025
3026 : ${CONFIG_STATUS=./config.status}
3027 ac_clean_files_save=$ac_clean_files
3028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3029 { echo "$as_me:3029: creating $CONFIG_STATUS" >&5
3030 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3031 cat >$CONFIG_STATUS <<_ACEOF
3032 #! $SHELL
3033 # Generated automatically by configure.
3034 # Run this file to recreate the current configuration.
3035 # Compiler output produced by configure, useful for debugging
3036 # configure, is in config.log if it exists.
3037
3038 debug=false
3039 SHELL=\${CONFIG_SHELL-$SHELL}
3040 ac_cs_invocation="\$0 \$@"
3041
3042 _ACEOF
3043
3044 cat >>$CONFIG_STATUS <<\_ACEOF
3045 # Be Bourne compatible
3046 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3047   emulate sh
3048   NULLCMD=:
3049 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3050   set -o posix
3051 fi
3052
3053 # Name of the executable.
3054 as_me=`echo "$0" |sed 's,.*[\\/],,'`
3055
3056 if expr a : '\(a\)' >/dev/null 2>&1; then
3057   as_expr=expr
3058 else
3059   as_expr=false
3060 fi
3061
3062 rm -f conf$$ conf$$.exe conf$$.file
3063 echo >conf$$.file
3064 if ln -s conf$$.file conf$$ 2>/dev/null; then
3065   # We could just check for DJGPP; but this test a) works b) is more generic
3066   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3067   if test -f conf$$.exe; then
3068     # Don't use ln at all; we don't have any links
3069     as_ln_s='cp -p'
3070   else
3071     as_ln_s='ln -s'
3072   fi
3073 elif ln conf$$.file conf$$ 2>/dev/null; then
3074   as_ln_s=ln
3075 else
3076   as_ln_s='cp -p'
3077 fi
3078 rm -f conf$$ conf$$.exe conf$$.file
3079
3080 as_executable_p="test -f"
3081
3082 # Support unset when possible.
3083 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3084   as_unset=unset
3085 else
3086   as_unset=false
3087 fi
3088
3089 # NLS nuisances.
3090 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3091 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3092 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3093 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3094 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3095 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3096 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3097 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3098
3099 # IFS
3100 # We need space, tab and new line, in precisely that order.
3101 as_nl='
3102 '
3103 IFS="   $as_nl"
3104
3105 # CDPATH.
3106 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3107
3108 exec 6>&1
3109
3110 _ACEOF
3111
3112 # Files that config.status was made for.
3113 if test -n "$ac_config_files"; then
3114   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3115 fi
3116
3117 if test -n "$ac_config_headers"; then
3118   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3119 fi
3120
3121 if test -n "$ac_config_links"; then
3122   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3123 fi
3124
3125 if test -n "$ac_config_commands"; then
3126   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3127 fi
3128
3129 cat >>$CONFIG_STATUS <<\EOF
3130
3131 ac_cs_usage="\
3132 \`$as_me' instantiates files from templates according to the
3133 current configuration.
3134
3135 Usage: $0 [OPTIONS] [FILE]...
3136
3137   -h, --help       print this help, then exit
3138   -V, --version    print version number, then exit
3139   -d, --debug      don't remove temporary files
3140       --recheck    update $as_me by reconfiguring in the same conditions
3141   --file=FILE[:TEMPLATE]
3142                    instantiate the configuration file FILE
3143
3144 Configuration files:
3145 $config_files
3146
3147 Report bugs to <bug-autoconf@gnu.org>."
3148 EOF
3149
3150 cat >>$CONFIG_STATUS <<EOF
3151 ac_cs_version="\\
3152 config.status
3153 configured by $0, generated by GNU Autoconf 2.52,
3154   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3155
3156 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3157 Free Software Foundation, Inc.
3158 This config.status script is free software; the Free Software Foundation
3159 gives unlimited permission to copy, distribute and modify it."
3160 srcdir=$srcdir
3161 INSTALL="$INSTALL"
3162 EOF
3163
3164 cat >>$CONFIG_STATUS <<\EOF
3165 # If no file are specified by the user, then we need to provide default
3166 # value.  By we need to know if files were specified by the user.
3167 ac_need_defaults=:
3168 while test $# != 0
3169 do
3170   case $1 in
3171   --*=*)
3172     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3173     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3174     shift
3175     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3176     shift
3177     ;;
3178   -*);;
3179   *) # This is not an option, so the user has probably given explicit
3180      # arguments.
3181      ac_need_defaults=false;;
3182   esac
3183
3184   case $1 in
3185   # Handling of the options.
3186 EOF
3187 cat >>$CONFIG_STATUS <<EOF
3188   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3189     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3190     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3191 EOF
3192 cat >>$CONFIG_STATUS <<\EOF
3193   --version | --vers* | -V )
3194     echo "$ac_cs_version"; exit 0 ;;
3195   --he | --h)
3196     # Conflict between --help and --header
3197     { { echo "$as_me:3197: error: ambiguous option: $1
3198 Try \`$0 --help' for more information." >&5
3199 echo "$as_me: error: ambiguous option: $1
3200 Try \`$0 --help' for more information." >&2;}
3201    { (exit 1); exit 1; }; };;
3202   --help | --hel | -h )
3203     echo "$ac_cs_usage"; exit 0 ;;
3204   --debug | --d* | -d )
3205     debug=: ;;
3206   --file | --fil | --fi | --f )
3207     shift
3208     CONFIG_FILES="$CONFIG_FILES $1"
3209     ac_need_defaults=false;;
3210   --header | --heade | --head | --hea )
3211     shift
3212     CONFIG_HEADERS="$CONFIG_HEADERS $1"
3213     ac_need_defaults=false;;
3214
3215   # This is an error.
3216   -*) { { echo "$as_me:3216: error: unrecognized option: $1
3217 Try \`$0 --help' for more information." >&5
3218 echo "$as_me: error: unrecognized option: $1
3219 Try \`$0 --help' for more information." >&2;}
3220    { (exit 1); exit 1; }; } ;;
3221
3222   *) ac_config_targets="$ac_config_targets $1" ;;
3223
3224   esac
3225   shift
3226 done
3227
3228 exec 5>>config.log
3229 cat >&5 << _ACEOF
3230
3231 ## ----------------------- ##
3232 ## Running config.status.  ##
3233 ## ----------------------- ##
3234
3235 This file was extended by $as_me 2.52, executed with
3236   CONFIG_FILES    = $CONFIG_FILES
3237   CONFIG_HEADERS  = $CONFIG_HEADERS
3238   CONFIG_LINKS    = $CONFIG_LINKS
3239   CONFIG_COMMANDS = $CONFIG_COMMANDS
3240   > $ac_cs_invocation
3241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3242
3243 _ACEOF
3244 EOF
3245
3246 cat >>$CONFIG_STATUS <<\EOF
3247 for ac_config_target in $ac_config_targets
3248 do
3249   case "$ac_config_target" in
3250   # Handling of arguments.
3251   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3252   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3253   *) { { echo "$as_me:3253: error: invalid argument: $ac_config_target" >&5
3254 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3255    { (exit 1); exit 1; }; };;
3256   esac
3257 done
3258
3259 # If the user did not use the arguments to specify the items to instantiate,
3260 # then the envvar interface is used.  Set only those that are not.
3261 # We use the long form for the default assignment because of an extremely
3262 # bizarre bug on SunOS 4.1.3.
3263 if $ac_need_defaults; then
3264   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3265 fi
3266
3267 # Create a temporary directory, and hook for its removal unless debugging.
3268 $debug ||
3269 {
3270   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3271   trap '{ (exit 1); exit 1; }' 1 2 13 15
3272 }
3273
3274 # Create a (secure) tmp directory for tmp files.
3275 : ${TMPDIR=/tmp}
3276 {
3277   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3278   test -n "$tmp" && test -d "$tmp"
3279 }  ||
3280 {
3281   tmp=$TMPDIR/cs$$-$RANDOM
3282   (umask 077 && mkdir $tmp)
3283 } ||
3284 {
3285    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3286    { (exit 1); exit 1; }
3287 }
3288
3289 EOF
3290
3291 cat >>$CONFIG_STATUS <<EOF
3292
3293 #
3294 # CONFIG_FILES section.
3295 #
3296
3297 # No need to generate the scripts if there are no CONFIG_FILES.
3298 # This happens for instance when ./config.status config.h
3299 if test -n "\$CONFIG_FILES"; then
3300   # Protect against being on the right side of a sed subst in config.status.
3301   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3302    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3303 s,@SHELL@,$SHELL,;t t
3304 s,@exec_prefix@,$exec_prefix,;t t
3305 s,@prefix@,$prefix,;t t
3306 s,@program_transform_name@,$program_transform_name,;t t
3307 s,@bindir@,$bindir,;t t
3308 s,@sbindir@,$sbindir,;t t
3309 s,@libexecdir@,$libexecdir,;t t
3310 s,@datadir@,$datadir,;t t
3311 s,@sysconfdir@,$sysconfdir,;t t
3312 s,@sharedstatedir@,$sharedstatedir,;t t
3313 s,@localstatedir@,$localstatedir,;t t
3314 s,@libdir@,$libdir,;t t
3315 s,@includedir@,$includedir,;t t
3316 s,@oldincludedir@,$oldincludedir,;t t
3317 s,@infodir@,$infodir,;t t
3318 s,@mandir@,$mandir,;t t
3319 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3320 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3321 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3322 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3323 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3324 s,@build_alias@,$build_alias,;t t
3325 s,@host_alias@,$host_alias,;t t
3326 s,@target_alias@,$target_alias,;t t
3327 s,@ECHO_C@,$ECHO_C,;t t
3328 s,@ECHO_N@,$ECHO_N,;t t
3329 s,@ECHO_T@,$ECHO_T,;t t
3330 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3331 s,@DEFS@,$DEFS,;t t
3332 s,@LIBS@,$LIBS,;t t
3333 s,@CC@,$CC,;t t
3334 s,@CFLAGS@,$CFLAGS,;t t
3335 s,@LDFLAGS@,$LDFLAGS,;t t
3336 s,@CPPFLAGS@,$CPPFLAGS,;t t
3337 s,@ac_ct_CC@,$ac_ct_CC,;t t
3338 s,@EXEEXT@,$EXEEXT,;t t
3339 s,@OBJEXT@,$OBJEXT,;t t
3340 s,@RANLIB@,$RANLIB,;t t
3341 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3342 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3343 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3344 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3345 s,@CPP@,$CPP,;t t
3346 s,@GETOPT_O@,$GETOPT_O,;t t
3347 s,@NO_GETOPT@,$NO_GETOPT,;t t
3348 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
3349 s,@LIBPAPER@,$LIBPAPER,;t t
3350 s,@NO_STRERROR@,$NO_STRERROR,;t t
3351 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
3352 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
3353 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
3354 s,@MAKEINFO@,$MAKEINFO,;t t
3355 s,@REMOVEHTMLTAGS@,$REMOVEHTMLTAGS,;t t
3356 s,@INFOTOHTML@,$INFOTOHTML,;t t
3357 CEOF
3358
3359 EOF
3360
3361   cat >>$CONFIG_STATUS <<\EOF
3362   # Split the substitutions into bite-sized pieces for seds with
3363   # small command number limits, like on Digital OSF/1 and HP-UX.
3364   ac_max_sed_lines=48
3365   ac_sed_frag=1 # Number of current file.
3366   ac_beg=1 # First line for current file.
3367   ac_end=$ac_max_sed_lines # Line after last line for current file.
3368   ac_more_lines=:
3369   ac_sed_cmds=
3370   while $ac_more_lines; do
3371     if test $ac_beg -gt 1; then
3372       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3373     else
3374       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3375     fi
3376     if test ! -s $tmp/subs.frag; then
3377       ac_more_lines=false
3378     else
3379       # The purpose of the label and of the branching condition is to
3380       # speed up the sed processing (if there are no `@' at all, there
3381       # is no need to browse any of the substitutions).
3382       # These are the two extra sed commands mentioned above.
3383       (echo ':t
3384   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3385       if test -z "$ac_sed_cmds"; then
3386         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3387       else
3388         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3389       fi
3390       ac_sed_frag=`expr $ac_sed_frag + 1`
3391       ac_beg=$ac_end
3392       ac_end=`expr $ac_end + $ac_max_sed_lines`
3393     fi
3394   done
3395   if test -z "$ac_sed_cmds"; then
3396     ac_sed_cmds=cat
3397   fi
3398 fi # test -n "$CONFIG_FILES"
3399
3400 EOF
3401 cat >>$CONFIG_STATUS <<\EOF
3402 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3403   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3404   case $ac_file in
3405   - | *:- | *:-:* ) # input from stdin
3406         cat >$tmp/stdin
3407         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3408         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3409   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3410         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3411   * )   ac_file_in=$ac_file.in ;;
3412   esac
3413
3414   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3415   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3416          X"$ac_file" : 'X\(//\)[^/]' \| \
3417          X"$ac_file" : 'X\(//\)$' \| \
3418          X"$ac_file" : 'X\(/\)' \| \
3419          .     : '\(.\)' 2>/dev/null ||
3420 echo X"$ac_file" |
3421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3422           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3423           /^X\(\/\/\)$/{ s//\1/; q; }
3424           /^X\(\/\).*/{ s//\1/; q; }
3425           s/.*/./; q'`
3426   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3427     { case "$ac_dir" in
3428   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3429   *)                      as_incr_dir=.;;
3430 esac
3431 as_dummy="$ac_dir"
3432 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3433   case $as_mkdir_dir in
3434     # Skip DOS drivespec
3435     ?:) as_incr_dir=$as_mkdir_dir ;;
3436     *)
3437       as_incr_dir=$as_incr_dir/$as_mkdir_dir
3438       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3439     ;;
3440   esac
3441 done; }
3442
3443     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3444     # A "../" for each directory in $ac_dir_suffix.
3445     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3446   else
3447     ac_dir_suffix= ac_dots=
3448   fi
3449
3450   case $srcdir in
3451   .)  ac_srcdir=.
3452       if test -z "$ac_dots"; then
3453          ac_top_srcdir=.
3454       else
3455          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3456       fi ;;
3457   [\\/]* | ?:[\\/]* )
3458       ac_srcdir=$srcdir$ac_dir_suffix;
3459       ac_top_srcdir=$srcdir ;;
3460   *) # Relative path.
3461     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3462     ac_top_srcdir=$ac_dots$srcdir ;;
3463   esac
3464
3465   case $INSTALL in
3466   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3467   *) ac_INSTALL=$ac_dots$INSTALL ;;
3468   esac
3469
3470   if test x"$ac_file" != x-; then
3471     { echo "$as_me:3471: creating $ac_file" >&5
3472 echo "$as_me: creating $ac_file" >&6;}
3473     rm -f "$ac_file"
3474   fi
3475   # Let's still pretend it is `configure' which instantiates (i.e., don't
3476   # use $as_me), people would be surprised to read:
3477   #    /* config.h.  Generated automatically by config.status.  */
3478   configure_input="Generated automatically from `echo $ac_file_in |
3479                                                  sed 's,.*/,,'` by configure."
3480
3481   # First look for the input files in the build tree, otherwise in the
3482   # src tree.
3483   ac_file_inputs=`IFS=:
3484     for f in $ac_file_in; do
3485       case $f in
3486       -) echo $tmp/stdin ;;
3487       [\\/$]*)
3488          # Absolute (can't be DOS-style, as IFS=:)
3489          test -f "$f" || { { echo "$as_me:3489: error: cannot find input file: $f" >&5
3490 echo "$as_me: error: cannot find input file: $f" >&2;}
3491    { (exit 1); exit 1; }; }
3492          echo $f;;
3493       *) # Relative
3494          if test -f "$f"; then
3495            # Build tree
3496            echo $f
3497          elif test -f "$srcdir/$f"; then
3498            # Source tree
3499            echo $srcdir/$f
3500          else
3501            # /dev/null tree
3502            { { echo "$as_me:3502: error: cannot find input file: $f" >&5
3503 echo "$as_me: error: cannot find input file: $f" >&2;}
3504    { (exit 1); exit 1; }; }
3505          fi;;
3506       esac
3507     done` || { (exit 1); exit 1; }
3508 EOF
3509 cat >>$CONFIG_STATUS <<EOF
3510   sed "$ac_vpsub
3511 $extrasub
3512 EOF
3513 cat >>$CONFIG_STATUS <<\EOF
3514 :t
3515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3516 s,@configure_input@,$configure_input,;t t
3517 s,@srcdir@,$ac_srcdir,;t t
3518 s,@top_srcdir@,$ac_top_srcdir,;t t
3519 s,@INSTALL@,$ac_INSTALL,;t t
3520 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3521   rm -f $tmp/stdin
3522   if test x"$ac_file" != x-; then
3523     mv $tmp/out $ac_file
3524   else
3525     cat $tmp/out
3526     rm -f $tmp/out
3527   fi
3528
3529 done
3530 EOF
3531
3532 cat >>$CONFIG_STATUS <<\EOF
3533
3534 { (exit 0); exit 0; }
3535 EOF
3536 chmod +x $CONFIG_STATUS
3537 ac_clean_files=$ac_clean_files_save
3538
3539 # configure is writing to config.log, and then calls config.status.
3540 # config.status does its own redirection, appending to config.log.
3541 # Unfortunately, on DOS this fails, as config.log is still kept open
3542 # by configure, so config.status won't be able to write to it; its
3543 # output is simply discarded.  So we exec the FD to /dev/null,
3544 # effectively closing config.log, so it can be properly (re)opened and
3545 # appended to by config.status.  When coming back to configure, we
3546 # need to make the FD available again.
3547 if test "$no_create" != yes; then
3548   ac_cs_success=:
3549   exec 5>/dev/null
3550   $SHELL $CONFIG_STATUS || ac_cs_success=false
3551   exec 5>>config.log
3552   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3553   # would make configure fail if this is the last instruction.
3554   $ac_cs_success || { (exit 1); exit 1; }
3555 fi
3556