]> git.draconx.ca Git - gob-dx.git/blob - configure
Release 2.0.4
[gob-dx.git] / 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="src/treefuncs.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
621 Program names:
622   --program-prefix=PREFIX            prepend PREFIX to installed program names
623   --program-suffix=SUFFIX            append SUFFIX to installed program names
624   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
625 EOF
626 fi
627
628 if test -n "$ac_init_help"; then
629
630   cat <<\EOF
631
632 Optional Features:
633   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
634   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
635   --enable-maintainer-mode enable make rules and dependencies not useful
636                           (and sometimes confusing) to the casual installer
637   --disable-dependency-tracking Speeds up one-time builds
638   --enable-dependency-tracking  Do not reject slow dependency extractors
639
640 Some influential environment variables:
641   CC          C compiler command
642   CFLAGS      C compiler flags
643   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
644               nonstandard directory <lib dir>
645   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
646               headers in a nonstandard directory <include dir>
647   CPP         C preprocessor
648
649 Use these variables to override the choices made by `configure' or to help
650 it to find libraries and programs with nonstandard names/locations.
651
652 EOF
653 fi
654
655 if test "$ac_init_help" = "recursive"; then
656   # If there are subdirs, report their specific --help.
657   ac_popdir=`pwd`
658   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
659     cd $ac_subdir
660     # A "../" for each directory in /$ac_subdir.
661     ac_dots=`echo $ac_subdir |
662              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
663
664     case $srcdir in
665     .) # No --srcdir option.  We are building in place.
666       ac_sub_srcdir=$srcdir ;;
667     [\\/]* | ?:[\\/]* ) # Absolute path.
668       ac_sub_srcdir=$srcdir/$ac_subdir ;;
669     *) # Relative path.
670       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
671     esac
672
673     # Check for guested configure; otherwise get Cygnus style configure.
674     if test -f $ac_sub_srcdir/configure.gnu; then
675       echo
676       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
677     elif test -f $ac_sub_srcdir/configure; then
678       echo
679       $SHELL $ac_sub_srcdir/configure  --help=recursive
680     elif test -f $ac_sub_srcdir/configure.ac ||
681            test -f $ac_sub_srcdir/configure.in; then
682       echo
683       $ac_configure --help
684     else
685       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
686     fi
687     cd $ac_popdir
688   done
689 fi
690
691 test -n "$ac_init_help" && exit 0
692 if $ac_init_version; then
693   cat <<\EOF
694
695 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
696 Free Software Foundation, Inc.
697 This configure script is free software; the Free Software Foundation
698 gives unlimited permission to copy, distribute and modify it.
699 EOF
700   exit 0
701 fi
702 exec 5>config.log
703 cat >&5 <<EOF
704 This file contains any messages produced by compilers while
705 running configure, to aid debugging if configure makes a mistake.
706
707 It was created by $as_me, which was
708 generated by GNU Autoconf 2.52.  Invocation command line was
709
710   $ $0 $@
711
712 EOF
713 {
714 cat <<_ASUNAME
715 ## ---------- ##
716 ## Platform.  ##
717 ## ---------- ##
718
719 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
720 uname -m = `(uname -m) 2>/dev/null || echo unknown`
721 uname -r = `(uname -r) 2>/dev/null || echo unknown`
722 uname -s = `(uname -s) 2>/dev/null || echo unknown`
723 uname -v = `(uname -v) 2>/dev/null || echo unknown`
724
725 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
726 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
727
728 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
729 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
730 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
731 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
732 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
733 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
734 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
735
736 PATH = $PATH
737
738 _ASUNAME
739 } >&5
740
741 cat >&5 <<EOF
742 ## ------------ ##
743 ## Core tests.  ##
744 ## ------------ ##
745
746 EOF
747
748 # Keep a trace of the command line.
749 # Strip out --no-create and --no-recursion so they do not pile up.
750 # Also quote any args containing shell meta-characters.
751 ac_configure_args=
752 ac_sep=
753 for ac_arg
754 do
755   case $ac_arg in
756   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
757   | --no-cr | --no-c) ;;
758   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
759   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
760   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
761     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
762     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
763     ac_sep=" " ;;
764   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
765      ac_sep=" " ;;
766   esac
767   # Get rid of the leading space.
768 done
769
770 # When interrupted or exit'd, cleanup temporary files, and complete
771 # config.log.  We remove comments because anyway the quotes in there
772 # would cause problems or look ugly.
773 trap 'exit_status=$?
774   # Save into config.log some information that might help in debugging.
775   echo >&5
776   echo "## ----------------- ##" >&5
777   echo "## Cache variables.  ##" >&5
778   echo "## ----------------- ##" >&5
779   echo >&5
780   # The following way of writing the cache mishandles newlines in values,
781 {
782   (set) 2>&1 |
783     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
784     *ac_space=\ *)
785       sed -n \
786         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
787           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
788       ;;
789     *)
790       sed -n \
791         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
792       ;;
793     esac;
794 } >&5
795   sed "/^$/d" confdefs.h >conftest.log
796   if test -s conftest.log; then
797     echo >&5
798     echo "## ------------ ##" >&5
799     echo "## confdefs.h.  ##" >&5
800     echo "## ------------ ##" >&5
801     echo >&5
802     cat conftest.log >&5
803   fi
804   (echo; echo) >&5
805   test "$ac_signal" != 0 &&
806     echo "$as_me: caught signal $ac_signal" >&5
807   echo "$as_me: exit $exit_status" >&5
808   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
809     exit $exit_status
810      ' 0
811 for ac_signal in 1 2 13 15; do
812   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
813 done
814 ac_signal=0
815
816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
817 rm -rf conftest* confdefs.h
818 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
819 echo >confdefs.h
820
821 # Let the site file select an alternate cache file if it wants to.
822 # Prefer explicitly selected file to automatically selected ones.
823 if test -z "$CONFIG_SITE"; then
824   if test "x$prefix" != xNONE; then
825     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
826   else
827     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
828   fi
829 fi
830 for ac_site_file in $CONFIG_SITE; do
831   if test -r "$ac_site_file"; then
832     { echo "$as_me:832: loading site script $ac_site_file" >&5
833 echo "$as_me: loading site script $ac_site_file" >&6;}
834     cat "$ac_site_file" >&5
835     . "$ac_site_file"
836   fi
837 done
838
839 if test -r "$cache_file"; then
840   # Some versions of bash will fail to source /dev/null (special
841   # files actually), so we avoid doing that.
842   if test -f "$cache_file"; then
843     { echo "$as_me:843: loading cache $cache_file" >&5
844 echo "$as_me: loading cache $cache_file" >&6;}
845     case $cache_file in
846       [\\/]* | ?:[\\/]* ) . $cache_file;;
847       *)                      . ./$cache_file;;
848     esac
849   fi
850 else
851   { echo "$as_me:851: creating cache $cache_file" >&5
852 echo "$as_me: creating cache $cache_file" >&6;}
853   >$cache_file
854 fi
855
856 # Check that the precious variables saved in the cache have kept the same
857 # value.
858 ac_cache_corrupted=false
859 for ac_var in `(set) 2>&1 |
860                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
861   eval ac_old_set=\$ac_cv_env_${ac_var}_set
862   eval ac_new_set=\$ac_env_${ac_var}_set
863   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
864   eval ac_new_val="\$ac_env_${ac_var}_value"
865   case $ac_old_set,$ac_new_set in
866     set,)
867       { echo "$as_me:867: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
868 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
869       ac_cache_corrupted=: ;;
870     ,set)
871       { echo "$as_me:871: error: \`$ac_var' was not set in the previous run" >&5
872 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
873       ac_cache_corrupted=: ;;
874     ,);;
875     *)
876       if test "x$ac_old_val" != "x$ac_new_val"; then
877         { echo "$as_me:877: error: \`$ac_var' has changed since the previous run:" >&5
878 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
879         { echo "$as_me:879:   former value:  $ac_old_val" >&5
880 echo "$as_me:   former value:  $ac_old_val" >&2;}
881         { echo "$as_me:881:   current value: $ac_new_val" >&5
882 echo "$as_me:   current value: $ac_new_val" >&2;}
883         ac_cache_corrupted=:
884       fi;;
885   esac
886   # Pass precious variables to config.status.  It doesn't matter if
887   # we pass some twice (in addition to the command line arguments).
888   if test "$ac_new_set" = set; then
889     case $ac_new_val in
890     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
891       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
892       ac_configure_args="$ac_configure_args '$ac_arg'"
893       ;;
894     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
895        ;;
896     esac
897   fi
898 done
899 if $ac_cache_corrupted; then
900   { echo "$as_me:900: error: changes in the environment can compromise the build" >&5
901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
902   { { echo "$as_me:902: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
904    { (exit 1); exit 1; }; }
905 fi
906
907 ac_ext=c
908 ac_cpp='$CPP $CPPFLAGS'
909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
912
913 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
914   *c*,-n*) ECHO_N= ECHO_C='
915 ' ECHO_T='      ' ;;
916   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
917   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
918 esac
919 echo "#! $SHELL" >conftest.sh
920 echo  "exit 0"   >>conftest.sh
921 chmod +x conftest.sh
922 if { (echo "$as_me:922: PATH=\".;.\"; conftest.sh") >&5
923   (PATH=".;."; conftest.sh) 2>&5
924   ac_status=$?
925   echo "$as_me:925: \$? = $ac_status" >&5
926   (exit $ac_status); }; then
927   ac_path_separator=';'
928 else
929   ac_path_separator=:
930 fi
931 PATH_SEPARATOR="$ac_path_separator"
932 rm -f conftest.sh
933
934 # Add the stamp file to the list of files AC keeps track of,
935 # along with our hook.
936 ac_config_headers="$ac_config_headers config.h"
937
938 am__api_version="1.6"
939 ac_aux_dir=
940 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
941   if test -f $ac_dir/install-sh; then
942     ac_aux_dir=$ac_dir
943     ac_install_sh="$ac_aux_dir/install-sh -c"
944     break
945   elif test -f $ac_dir/install.sh; then
946     ac_aux_dir=$ac_dir
947     ac_install_sh="$ac_aux_dir/install.sh -c"
948     break
949   elif test -f $ac_dir/shtool; then
950     ac_aux_dir=$ac_dir
951     ac_install_sh="$ac_aux_dir/shtool install -c"
952     break
953   fi
954 done
955 if test -z "$ac_aux_dir"; then
956   { { echo "$as_me:956: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
957 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
958    { (exit 1); exit 1; }; }
959 fi
960 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
961 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
962 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
963
964 # Find a good install program.  We prefer a C program (faster),
965 # so one script is as good as another.  But avoid the broken or
966 # incompatible versions:
967 # SysV /etc/install, /usr/sbin/install
968 # SunOS /usr/etc/install
969 # IRIX /sbin/install
970 # AIX /bin/install
971 # AmigaOS /C/install, which installs bootblocks on floppy discs
972 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
973 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
974 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
975 # ./install, which can be erroneously created by make from ./install.sh.
976 echo "$as_me:976: checking for a BSD compatible install" >&5
977 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
978 if test -z "$INSTALL"; then
979 if test "${ac_cv_path_install+set}" = set; then
980   echo $ECHO_N "(cached) $ECHO_C" >&6
981 else
982     ac_save_IFS=$IFS; IFS=$ac_path_separator
983   for ac_dir in $PATH; do
984     IFS=$ac_save_IFS
985     # Account for people who put trailing slashes in PATH elements.
986     case $ac_dir/ in
987     / | ./ | .// | /cC/* \
988     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
989     | /usr/ucb/* ) ;;
990     *)
991       # OSF1 and SCO ODT 3.0 have their own names for install.
992       # Don't use installbsd from OSF since it installs stuff as root
993       # by default.
994       for ac_prog in ginstall scoinst install; do
995         if $as_executable_p "$ac_dir/$ac_prog"; then
996           if test $ac_prog = install &&
997             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
998             # AIX install.  It has an incompatible calling convention.
999             :
1000           elif test $ac_prog = install &&
1001             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1002             # program-specific install script used by HP pwplus--don't use.
1003             :
1004           else
1005             ac_cv_path_install="$ac_dir/$ac_prog -c"
1006             break 2
1007           fi
1008         fi
1009       done
1010       ;;
1011     esac
1012   done
1013
1014 fi
1015   if test "${ac_cv_path_install+set}" = set; then
1016     INSTALL=$ac_cv_path_install
1017   else
1018     # As a last resort, use the slow shell script.  We don't cache a
1019     # path for INSTALL within a source directory, because that will
1020     # break other packages using the cache if that directory is
1021     # removed, or if the path is relative.
1022     INSTALL=$ac_install_sh
1023   fi
1024 fi
1025 echo "$as_me:1025: result: $INSTALL" >&5
1026 echo "${ECHO_T}$INSTALL" >&6
1027
1028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1029 # It thinks the first close brace ends the variable substitution.
1030 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1031
1032 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1033
1034 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1035
1036 echo "$as_me:1036: checking whether build environment is sane" >&5
1037 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1038 # Just in case
1039 sleep 1
1040 echo timestamp > conftest.file
1041 # Do `set' in a subshell so we don't clobber the current shell's
1042 # arguments.  Must try -L first in case configure is actually a
1043 # symlink; some systems play weird games with the mod time of symlinks
1044 # (eg FreeBSD returns the mod time of the symlink's containing
1045 # directory).
1046 if (
1047    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1048    if test "$*" = "X"; then
1049       # -L didn't work.
1050       set X `ls -t $srcdir/configure conftest.file`
1051    fi
1052    rm -f conftest.file
1053    if test "$*" != "X $srcdir/configure conftest.file" \
1054       && test "$*" != "X conftest.file $srcdir/configure"; then
1055
1056       # If neither matched, then we have a broken ls.  This can happen
1057       # if, for instance, CONFIG_SHELL is bash and it inherits a
1058       # broken ls alias from the environment.  This has actually
1059       # happened.  Such a system could not be considered "sane".
1060       { { echo "$as_me:1060: error: ls -t appears to fail.  Make sure there is not a broken
1061 alias in your environment" >&5
1062 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1063 alias in your environment" >&2;}
1064    { (exit 1); exit 1; }; }
1065    fi
1066
1067    test "$2" = conftest.file
1068    )
1069 then
1070    # Ok.
1071    :
1072 else
1073    { { echo "$as_me:1073: error: newly created file is older than distributed files!
1074 Check your system clock" >&5
1075 echo "$as_me: error: newly created file is older than distributed files!
1076 Check your system clock" >&2;}
1077    { (exit 1); exit 1; }; }
1078 fi
1079 echo "$as_me:1079: result: yes" >&5
1080 echo "${ECHO_T}yes" >&6
1081 test "$program_prefix" != NONE &&
1082   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1083 # Use a double $ so make ignores it.
1084 test "$program_suffix" != NONE &&
1085   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1086 # Double any \ or $.  echo might interpret backslashes.
1087 # By default was `s,x,x', remove it if useless.
1088 cat <<\_ACEOF >conftest.sed
1089 s/[\\$]/&&/g;s/;s,x,x,$//
1090 _ACEOF
1091 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1092 rm conftest.sed
1093
1094 # expand $ac_aux_dir to an absolute path
1095 am_aux_dir=`cd $ac_aux_dir && pwd`
1096
1097 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1098 # Use eval to expand $SHELL
1099 if eval "$MISSING --run true"; then
1100   am_missing_run="$MISSING --run "
1101 else
1102   am_missing_run=
1103   { echo "$as_me:1103: WARNING: \`missing' script is too old or missing" >&5
1104 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1105 fi
1106
1107 for ac_prog in mawk gawk nawk awk
1108 do
1109   # Extract the first word of "$ac_prog", so it can be a program name with args.
1110 set dummy $ac_prog; ac_word=$2
1111 echo "$as_me:1111: checking for $ac_word" >&5
1112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1113 if test "${ac_cv_prog_AWK+set}" = set; then
1114   echo $ECHO_N "(cached) $ECHO_C" >&6
1115 else
1116   if test -n "$AWK"; then
1117   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1118 else
1119   ac_save_IFS=$IFS; IFS=$ac_path_separator
1120 ac_dummy="$PATH"
1121 for ac_dir in $ac_dummy; do
1122   IFS=$ac_save_IFS
1123   test -z "$ac_dir" && ac_dir=.
1124   $as_executable_p "$ac_dir/$ac_word" || continue
1125 ac_cv_prog_AWK="$ac_prog"
1126 echo "$as_me:1126: found $ac_dir/$ac_word" >&5
1127 break
1128 done
1129
1130 fi
1131 fi
1132 AWK=$ac_cv_prog_AWK
1133 if test -n "$AWK"; then
1134   echo "$as_me:1134: result: $AWK" >&5
1135 echo "${ECHO_T}$AWK" >&6
1136 else
1137   echo "$as_me:1137: result: no" >&5
1138 echo "${ECHO_T}no" >&6
1139 fi
1140
1141   test -n "$AWK" && break
1142 done
1143
1144 echo "$as_me:1144: checking whether ${MAKE-make} sets \${MAKE}" >&5
1145 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1146 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1147 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1148   echo $ECHO_N "(cached) $ECHO_C" >&6
1149 else
1150   cat >conftest.make <<\EOF
1151 all:
1152         @echo 'ac_maketemp="${MAKE}"'
1153 EOF
1154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1155 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1156 if test -n "$ac_maketemp"; then
1157   eval ac_cv_prog_make_${ac_make}_set=yes
1158 else
1159   eval ac_cv_prog_make_${ac_make}_set=no
1160 fi
1161 rm -f conftest.make
1162 fi
1163 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1164   echo "$as_me:1164: result: yes" >&5
1165 echo "${ECHO_T}yes" >&6
1166   SET_MAKE=
1167 else
1168   echo "$as_me:1168: result: no" >&5
1169 echo "${ECHO_T}no" >&6
1170   SET_MAKE="MAKE=${MAKE-make}"
1171 fi
1172
1173  # test to see if srcdir already configured
1174 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1175    test -f $srcdir/config.status; then
1176   { { echo "$as_me:1176: error: source directory already configured; run \"make distclean\" there first" >&5
1177 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1178    { (exit 1); exit 1; }; }
1179 fi
1180
1181 # Define the identity of the package.
1182  PACKAGE=gob2
1183  VERSION=2.0.4
1184
1185 cat >>confdefs.h <<EOF
1186 #define PACKAGE "$PACKAGE"
1187 EOF
1188
1189 cat >>confdefs.h <<EOF
1190 #define VERSION "$VERSION"
1191 EOF
1192
1193 # Some tools Automake needs.
1194
1195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1196
1197 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1198
1199 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1200
1201 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1202
1203 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1204
1205 AMTAR=${AMTAR-"${am_missing_run}tar"}
1206
1207 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1208
1209 # Installed binaries are usually stripped using `strip' when the user
1210 # run `make install-strip'.  However `strip' might not be the right
1211 # tool to use in cross-compilation environments, therefore Automake
1212 # will honor the `STRIP' environment variable to overrule this program.
1213 if test "$cross_compiling" != no; then
1214   if test -n "$ac_tool_prefix"; then
1215   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1216 set dummy ${ac_tool_prefix}strip; ac_word=$2
1217 echo "$as_me:1217: checking for $ac_word" >&5
1218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1219 if test "${ac_cv_prog_STRIP+set}" = set; then
1220   echo $ECHO_N "(cached) $ECHO_C" >&6
1221 else
1222   if test -n "$STRIP"; then
1223   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1224 else
1225   ac_save_IFS=$IFS; IFS=$ac_path_separator
1226 ac_dummy="$PATH"
1227 for ac_dir in $ac_dummy; do
1228   IFS=$ac_save_IFS
1229   test -z "$ac_dir" && ac_dir=.
1230   $as_executable_p "$ac_dir/$ac_word" || continue
1231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1232 echo "$as_me:1232: found $ac_dir/$ac_word" >&5
1233 break
1234 done
1235
1236 fi
1237 fi
1238 STRIP=$ac_cv_prog_STRIP
1239 if test -n "$STRIP"; then
1240   echo "$as_me:1240: result: $STRIP" >&5
1241 echo "${ECHO_T}$STRIP" >&6
1242 else
1243   echo "$as_me:1243: result: no" >&5
1244 echo "${ECHO_T}no" >&6
1245 fi
1246
1247 fi
1248 if test -z "$ac_cv_prog_STRIP"; then
1249   ac_ct_STRIP=$STRIP
1250   # Extract the first word of "strip", so it can be a program name with args.
1251 set dummy strip; ac_word=$2
1252 echo "$as_me:1252: checking for $ac_word" >&5
1253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1255   echo $ECHO_N "(cached) $ECHO_C" >&6
1256 else
1257   if test -n "$ac_ct_STRIP"; then
1258   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1259 else
1260   ac_save_IFS=$IFS; IFS=$ac_path_separator
1261 ac_dummy="$PATH"
1262 for ac_dir in $ac_dummy; do
1263   IFS=$ac_save_IFS
1264   test -z "$ac_dir" && ac_dir=.
1265   $as_executable_p "$ac_dir/$ac_word" || continue
1266 ac_cv_prog_ac_ct_STRIP="strip"
1267 echo "$as_me:1267: found $ac_dir/$ac_word" >&5
1268 break
1269 done
1270
1271   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1272 fi
1273 fi
1274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1275 if test -n "$ac_ct_STRIP"; then
1276   echo "$as_me:1276: result: $ac_ct_STRIP" >&5
1277 echo "${ECHO_T}$ac_ct_STRIP" >&6
1278 else
1279   echo "$as_me:1279: result: no" >&5
1280 echo "${ECHO_T}no" >&6
1281 fi
1282
1283   STRIP=$ac_ct_STRIP
1284 else
1285   STRIP="$ac_cv_prog_STRIP"
1286 fi
1287
1288 fi
1289 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1290
1291 # We need awk for the "check" target.  The system "awk" is bad on
1292 # some platforms.
1293
1294 echo "$as_me:1294: checking whether to enable maintainer-specific portions of Makefiles" >&5
1295 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1296     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1297 if test "${enable_maintainer_mode+set}" = set; then
1298   enableval="$enable_maintainer_mode"
1299   USE_MAINTAINER_MODE=$enableval
1300 else
1301   USE_MAINTAINER_MODE=no
1302 fi;
1303   echo "$as_me:1303: result: $USE_MAINTAINER_MODE" >&5
1304 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1305
1306 if test $USE_MAINTAINER_MODE = yes; then
1307   MAINTAINER_MODE_TRUE=
1308   MAINTAINER_MODE_FALSE='#'
1309 else
1310   MAINTAINER_MODE_TRUE='#'
1311   MAINTAINER_MODE_FALSE=
1312 fi
1313
1314   MAINT=$MAINTAINER_MODE_TRUE
1315
1316 GLIB_REQUIRED=2.0.0
1317
1318 if test -f ../NOINST_GOB ; then
1319   DOINSTGOB=
1320   NOINSTGOB=gob2
1321   echo "$as_me:1321: result: *** NOT Going to install GOB ***" >&5
1322 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1323   SUBDIRS="src examples"
1324
1325 else
1326   DOINSTGOB=gob2
1327   NOINSTGOB=
1328   SUBDIRS="src examples doc"
1329
1330 fi
1331
1332 rm -f .deps 2>/dev/null
1333 mkdir .deps 2>/dev/null
1334 if test -d .deps; then
1335   DEPDIR=.deps
1336 else
1337   # MS-DOS does not allow filenames that begin with a dot.
1338   DEPDIR=_deps
1339 fi
1340 rmdir .deps 2>/dev/null
1341
1342 ac_config_commands="$ac_config_commands depfiles"
1343
1344 am_make=${MAKE-make}
1345 cat > confinc << 'END'
1346 doit:
1347         @echo done
1348 END
1349 # If we don't find an include directive, just comment out the code.
1350 echo "$as_me:1350: checking for style of include used by $am_make" >&5
1351 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1352 am__include="#"
1353 am__quote=
1354 _am_result=none
1355 # First try GNU make style include.
1356 echo "include confinc" > confmf
1357 # We grep out `Entering directory' and `Leaving directory'
1358 # messages which can occur if `w' ends up in MAKEFLAGS.
1359 # In particular we don't look at `^make:' because GNU make might
1360 # be invoked under some other name (usually "gmake"), in which
1361 # case it prints its new name instead of `make'.
1362 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1363    am__include=include
1364    am__quote=
1365    _am_result=GNU
1366 fi
1367 # Now try BSD make style include.
1368 if test "$am__include" = "#"; then
1369    echo '.include "confinc"' > confmf
1370    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1371       am__include=.include
1372       am__quote="\""
1373       _am_result=BSD
1374    fi
1375 fi
1376
1377 echo "$as_me:1377: result: $_am_result" >&5
1378 echo "${ECHO_T}$_am_result" >&6
1379 rm -f confinc confmf
1380
1381 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1382 if test "${enable_dependency_tracking+set}" = set; then
1383   enableval="$enable_dependency_tracking"
1384
1385 fi;
1386 if test "x$enable_dependency_tracking" != xno; then
1387   am_depcomp="$ac_aux_dir/depcomp"
1388   AMDEPBACKSLASH='\'
1389 fi
1390
1391 if test "x$enable_dependency_tracking" != xno; then
1392   AMDEP_TRUE=
1393   AMDEP_FALSE='#'
1394 else
1395   AMDEP_TRUE='#'
1396   AMDEP_FALSE=
1397 fi
1398
1399 ac_ext=c
1400 ac_cpp='$CPP $CPPFLAGS'
1401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1404 if test -n "$ac_tool_prefix"; then
1405   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1407 echo "$as_me:1407: checking for $ac_word" >&5
1408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1409 if test "${ac_cv_prog_CC+set}" = set; then
1410   echo $ECHO_N "(cached) $ECHO_C" >&6
1411 else
1412   if test -n "$CC"; then
1413   ac_cv_prog_CC="$CC" # Let the user override the test.
1414 else
1415   ac_save_IFS=$IFS; IFS=$ac_path_separator
1416 ac_dummy="$PATH"
1417 for ac_dir in $ac_dummy; do
1418   IFS=$ac_save_IFS
1419   test -z "$ac_dir" && ac_dir=.
1420   $as_executable_p "$ac_dir/$ac_word" || continue
1421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1422 echo "$as_me:1422: found $ac_dir/$ac_word" >&5
1423 break
1424 done
1425
1426 fi
1427 fi
1428 CC=$ac_cv_prog_CC
1429 if test -n "$CC"; then
1430   echo "$as_me:1430: result: $CC" >&5
1431 echo "${ECHO_T}$CC" >&6
1432 else
1433   echo "$as_me:1433: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1435 fi
1436
1437 fi
1438 if test -z "$ac_cv_prog_CC"; then
1439   ac_ct_CC=$CC
1440   # Extract the first word of "gcc", so it can be a program name with args.
1441 set dummy gcc; ac_word=$2
1442 echo "$as_me:1442: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445   echo $ECHO_N "(cached) $ECHO_C" >&6
1446 else
1447   if test -n "$ac_ct_CC"; then
1448   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1449 else
1450   ac_save_IFS=$IFS; IFS=$ac_path_separator
1451 ac_dummy="$PATH"
1452 for ac_dir in $ac_dummy; do
1453   IFS=$ac_save_IFS
1454   test -z "$ac_dir" && ac_dir=.
1455   $as_executable_p "$ac_dir/$ac_word" || continue
1456 ac_cv_prog_ac_ct_CC="gcc"
1457 echo "$as_me:1457: found $ac_dir/$ac_word" >&5
1458 break
1459 done
1460
1461 fi
1462 fi
1463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1464 if test -n "$ac_ct_CC"; then
1465   echo "$as_me:1465: result: $ac_ct_CC" >&5
1466 echo "${ECHO_T}$ac_ct_CC" >&6
1467 else
1468   echo "$as_me:1468: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1470 fi
1471
1472   CC=$ac_ct_CC
1473 else
1474   CC="$ac_cv_prog_CC"
1475 fi
1476
1477 if test -z "$CC"; then
1478   if test -n "$ac_tool_prefix"; then
1479   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1480 set dummy ${ac_tool_prefix}cc; ac_word=$2
1481 echo "$as_me:1481: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484   echo $ECHO_N "(cached) $ECHO_C" >&6
1485 else
1486   if test -n "$CC"; then
1487   ac_cv_prog_CC="$CC" # Let the user override the test.
1488 else
1489   ac_save_IFS=$IFS; IFS=$ac_path_separator
1490 ac_dummy="$PATH"
1491 for ac_dir in $ac_dummy; do
1492   IFS=$ac_save_IFS
1493   test -z "$ac_dir" && ac_dir=.
1494   $as_executable_p "$ac_dir/$ac_word" || continue
1495 ac_cv_prog_CC="${ac_tool_prefix}cc"
1496 echo "$as_me:1496: found $ac_dir/$ac_word" >&5
1497 break
1498 done
1499
1500 fi
1501 fi
1502 CC=$ac_cv_prog_CC
1503 if test -n "$CC"; then
1504   echo "$as_me:1504: result: $CC" >&5
1505 echo "${ECHO_T}$CC" >&6
1506 else
1507   echo "$as_me:1507: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1509 fi
1510
1511 fi
1512 if test -z "$ac_cv_prog_CC"; then
1513   ac_ct_CC=$CC
1514   # Extract the first word of "cc", so it can be a program name with args.
1515 set dummy cc; ac_word=$2
1516 echo "$as_me:1516: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1519   echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521   if test -n "$ac_ct_CC"; then
1522   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1523 else
1524   ac_save_IFS=$IFS; IFS=$ac_path_separator
1525 ac_dummy="$PATH"
1526 for ac_dir in $ac_dummy; do
1527   IFS=$ac_save_IFS
1528   test -z "$ac_dir" && ac_dir=.
1529   $as_executable_p "$ac_dir/$ac_word" || continue
1530 ac_cv_prog_ac_ct_CC="cc"
1531 echo "$as_me:1531: found $ac_dir/$ac_word" >&5
1532 break
1533 done
1534
1535 fi
1536 fi
1537 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1538 if test -n "$ac_ct_CC"; then
1539   echo "$as_me:1539: result: $ac_ct_CC" >&5
1540 echo "${ECHO_T}$ac_ct_CC" >&6
1541 else
1542   echo "$as_me:1542: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1544 fi
1545
1546   CC=$ac_ct_CC
1547 else
1548   CC="$ac_cv_prog_CC"
1549 fi
1550
1551 fi
1552 if test -z "$CC"; then
1553   # Extract the first word of "cc", so it can be a program name with args.
1554 set dummy cc; ac_word=$2
1555 echo "$as_me:1555: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_CC+set}" = set; then
1558   echo $ECHO_N "(cached) $ECHO_C" >&6
1559 else
1560   if test -n "$CC"; then
1561   ac_cv_prog_CC="$CC" # Let the user override the test.
1562 else
1563   ac_prog_rejected=no
1564   ac_save_IFS=$IFS; IFS=$ac_path_separator
1565 ac_dummy="$PATH"
1566 for ac_dir in $ac_dummy; do
1567   IFS=$ac_save_IFS
1568   test -z "$ac_dir" && ac_dir=.
1569   $as_executable_p "$ac_dir/$ac_word" || continue
1570 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1571   ac_prog_rejected=yes
1572   continue
1573 fi
1574 ac_cv_prog_CC="cc"
1575 echo "$as_me:1575: found $ac_dir/$ac_word" >&5
1576 break
1577 done
1578
1579 if test $ac_prog_rejected = yes; then
1580   # We found a bogon in the path, so make sure we never use it.
1581   set dummy $ac_cv_prog_CC
1582   shift
1583   if test $# != 0; then
1584     # We chose a different compiler from the bogus one.
1585     # However, it has the same basename, so the bogon will be chosen
1586     # first if we set CC to just the basename; use the full file name.
1587     shift
1588     set dummy "$ac_dir/$ac_word" ${1+"$@"}
1589     shift
1590     ac_cv_prog_CC="$@"
1591   fi
1592 fi
1593 fi
1594 fi
1595 CC=$ac_cv_prog_CC
1596 if test -n "$CC"; then
1597   echo "$as_me:1597: result: $CC" >&5
1598 echo "${ECHO_T}$CC" >&6
1599 else
1600   echo "$as_me:1600: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1602 fi
1603
1604 fi
1605 if test -z "$CC"; then
1606   if test -n "$ac_tool_prefix"; then
1607   for ac_prog in cl
1608   do
1609     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1611 echo "$as_me:1611: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614   echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616   if test -n "$CC"; then
1617   ac_cv_prog_CC="$CC" # Let the user override the test.
1618 else
1619   ac_save_IFS=$IFS; IFS=$ac_path_separator
1620 ac_dummy="$PATH"
1621 for ac_dir in $ac_dummy; do
1622   IFS=$ac_save_IFS
1623   test -z "$ac_dir" && ac_dir=.
1624   $as_executable_p "$ac_dir/$ac_word" || continue
1625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1626 echo "$as_me:1626: found $ac_dir/$ac_word" >&5
1627 break
1628 done
1629
1630 fi
1631 fi
1632 CC=$ac_cv_prog_CC
1633 if test -n "$CC"; then
1634   echo "$as_me:1634: result: $CC" >&5
1635 echo "${ECHO_T}$CC" >&6
1636 else
1637   echo "$as_me:1637: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1639 fi
1640
1641     test -n "$CC" && break
1642   done
1643 fi
1644 if test -z "$CC"; then
1645   ac_ct_CC=$CC
1646   for ac_prog in cl
1647 do
1648   # Extract the first word of "$ac_prog", so it can be a program name with args.
1649 set dummy $ac_prog; ac_word=$2
1650 echo "$as_me:1650: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653   echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655   if test -n "$ac_ct_CC"; then
1656   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1657 else
1658   ac_save_IFS=$IFS; IFS=$ac_path_separator
1659 ac_dummy="$PATH"
1660 for ac_dir in $ac_dummy; do
1661   IFS=$ac_save_IFS
1662   test -z "$ac_dir" && ac_dir=.
1663   $as_executable_p "$ac_dir/$ac_word" || continue
1664 ac_cv_prog_ac_ct_CC="$ac_prog"
1665 echo "$as_me:1665: found $ac_dir/$ac_word" >&5
1666 break
1667 done
1668
1669 fi
1670 fi
1671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1672 if test -n "$ac_ct_CC"; then
1673   echo "$as_me:1673: result: $ac_ct_CC" >&5
1674 echo "${ECHO_T}$ac_ct_CC" >&6
1675 else
1676   echo "$as_me:1676: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1678 fi
1679
1680   test -n "$ac_ct_CC" && break
1681 done
1682
1683   CC=$ac_ct_CC
1684 fi
1685
1686 fi
1687
1688 test -z "$CC" && { { echo "$as_me:1688: error: no acceptable cc found in \$PATH" >&5
1689 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1690    { (exit 1); exit 1; }; }
1691
1692 # Provide some information about the compiler.
1693 echo "$as_me:1693:" \
1694      "checking for C compiler version" >&5
1695 ac_compiler=`set X $ac_compile; echo $2`
1696 { (eval echo "$as_me:1696: \"$ac_compiler --version </dev/null >&5\"") >&5
1697   (eval $ac_compiler --version </dev/null >&5) 2>&5
1698   ac_status=$?
1699   echo "$as_me:1699: \$? = $ac_status" >&5
1700   (exit $ac_status); }
1701 { (eval echo "$as_me:1701: \"$ac_compiler -v </dev/null >&5\"") >&5
1702   (eval $ac_compiler -v </dev/null >&5) 2>&5
1703   ac_status=$?
1704   echo "$as_me:1704: \$? = $ac_status" >&5
1705   (exit $ac_status); }
1706 { (eval echo "$as_me:1706: \"$ac_compiler -V </dev/null >&5\"") >&5
1707   (eval $ac_compiler -V </dev/null >&5) 2>&5
1708   ac_status=$?
1709   echo "$as_me:1709: \$? = $ac_status" >&5
1710   (exit $ac_status); }
1711
1712 cat >conftest.$ac_ext <<_ACEOF
1713 #line 1713 "configure"
1714 #include "confdefs.h"
1715
1716 int
1717 main ()
1718 {
1719
1720   ;
1721   return 0;
1722 }
1723 _ACEOF
1724 ac_clean_files_save=$ac_clean_files
1725 ac_clean_files="$ac_clean_files a.out a.exe"
1726 # Try to create an executable without -o first, disregard a.out.
1727 # It will help us diagnose broken compilers, and finding out an intuition
1728 # of exeext.
1729 echo "$as_me:1729: checking for C compiler default output" >&5
1730 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1731 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1732 if { (eval echo "$as_me:1732: \"$ac_link_default\"") >&5
1733   (eval $ac_link_default) 2>&5
1734   ac_status=$?
1735   echo "$as_me:1735: \$? = $ac_status" >&5
1736   (exit $ac_status); }; then
1737   # Find the output, starting from the most likely.  This scheme is
1738 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1739 # resort.
1740 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1741                 ls a.out conftest 2>/dev/null;
1742                 ls a.* conftest.* 2>/dev/null`; do
1743   case $ac_file in
1744     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1745     a.out ) # We found the default executable, but exeext='' is most
1746             # certainly right.
1747             break;;
1748     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1749           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1750           export ac_cv_exeext
1751           break;;
1752     * ) break;;
1753   esac
1754 done
1755 else
1756   echo "$as_me: failed program was:" >&5
1757 cat conftest.$ac_ext >&5
1758 { { echo "$as_me:1758: error: C compiler cannot create executables" >&5
1759 echo "$as_me: error: C compiler cannot create executables" >&2;}
1760    { (exit 77); exit 77; }; }
1761 fi
1762
1763 ac_exeext=$ac_cv_exeext
1764 echo "$as_me:1764: result: $ac_file" >&5
1765 echo "${ECHO_T}$ac_file" >&6
1766
1767 # Check the compiler produces executables we can run.  If not, either
1768 # the compiler is broken, or we cross compile.
1769 echo "$as_me:1769: checking whether the C compiler works" >&5
1770 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1771 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1772 # If not cross compiling, check that we can run a simple program.
1773 if test "$cross_compiling" != yes; then
1774   if { ac_try='./$ac_file'
1775   { (eval echo "$as_me:1775: \"$ac_try\"") >&5
1776   (eval $ac_try) 2>&5
1777   ac_status=$?
1778   echo "$as_me:1778: \$? = $ac_status" >&5
1779   (exit $ac_status); }; }; then
1780     cross_compiling=no
1781   else
1782     if test "$cross_compiling" = maybe; then
1783         cross_compiling=yes
1784     else
1785         { { echo "$as_me:1785: error: cannot run C compiled programs.
1786 If you meant to cross compile, use \`--host'." >&5
1787 echo "$as_me: error: cannot run C compiled programs.
1788 If you meant to cross compile, use \`--host'." >&2;}
1789    { (exit 1); exit 1; }; }
1790     fi
1791   fi
1792 fi
1793 echo "$as_me:1793: result: yes" >&5
1794 echo "${ECHO_T}yes" >&6
1795
1796 rm -f a.out a.exe conftest$ac_cv_exeext
1797 ac_clean_files=$ac_clean_files_save
1798 # Check the compiler produces executables we can run.  If not, either
1799 # the compiler is broken, or we cross compile.
1800 echo "$as_me:1800: checking whether we are cross compiling" >&5
1801 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1802 echo "$as_me:1802: result: $cross_compiling" >&5
1803 echo "${ECHO_T}$cross_compiling" >&6
1804
1805 echo "$as_me:1805: checking for executable suffix" >&5
1806 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1807 if { (eval echo "$as_me:1807: \"$ac_link\"") >&5
1808   (eval $ac_link) 2>&5
1809   ac_status=$?
1810   echo "$as_me:1810: \$? = $ac_status" >&5
1811   (exit $ac_status); }; then
1812   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1813 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1814 # work properly (i.e., refer to `conftest.exe'), while it won't with
1815 # `rm'.
1816 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1817   case $ac_file in
1818     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1819     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1820           export ac_cv_exeext
1821           break;;
1822     * ) break;;
1823   esac
1824 done
1825 else
1826   { { echo "$as_me:1826: error: cannot compute EXEEXT: cannot compile and link" >&5
1827 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 rm -f conftest$ac_cv_exeext
1832 echo "$as_me:1832: result: $ac_cv_exeext" >&5
1833 echo "${ECHO_T}$ac_cv_exeext" >&6
1834
1835 rm -f conftest.$ac_ext
1836 EXEEXT=$ac_cv_exeext
1837 ac_exeext=$EXEEXT
1838 echo "$as_me:1838: checking for object suffix" >&5
1839 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1840 if test "${ac_cv_objext+set}" = set; then
1841   echo $ECHO_N "(cached) $ECHO_C" >&6
1842 else
1843   cat >conftest.$ac_ext <<_ACEOF
1844 #line 1844 "configure"
1845 #include "confdefs.h"
1846
1847 int
1848 main ()
1849 {
1850
1851   ;
1852   return 0;
1853 }
1854 _ACEOF
1855 rm -f conftest.o conftest.obj
1856 if { (eval echo "$as_me:1856: \"$ac_compile\"") >&5
1857   (eval $ac_compile) 2>&5
1858   ac_status=$?
1859   echo "$as_me:1859: \$? = $ac_status" >&5
1860   (exit $ac_status); }; then
1861   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1862   case $ac_file in
1863     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1864     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1865        break;;
1866   esac
1867 done
1868 else
1869   echo "$as_me: failed program was:" >&5
1870 cat conftest.$ac_ext >&5
1871 { { echo "$as_me:1871: error: cannot compute OBJEXT: cannot compile" >&5
1872 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1873    { (exit 1); exit 1; }; }
1874 fi
1875
1876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1877 fi
1878 echo "$as_me:1878: result: $ac_cv_objext" >&5
1879 echo "${ECHO_T}$ac_cv_objext" >&6
1880 OBJEXT=$ac_cv_objext
1881 ac_objext=$OBJEXT
1882 echo "$as_me:1882: checking whether we are using the GNU C compiler" >&5
1883 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1884 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1885   echo $ECHO_N "(cached) $ECHO_C" >&6
1886 else
1887   cat >conftest.$ac_ext <<_ACEOF
1888 #line 1888 "configure"
1889 #include "confdefs.h"
1890
1891 int
1892 main ()
1893 {
1894 #ifndef __GNUC__
1895        choke me
1896 #endif
1897
1898   ;
1899   return 0;
1900 }
1901 _ACEOF
1902 rm -f conftest.$ac_objext
1903 if { (eval echo "$as_me:1903: \"$ac_compile\"") >&5
1904   (eval $ac_compile) 2>&5
1905   ac_status=$?
1906   echo "$as_me:1906: \$? = $ac_status" >&5
1907   (exit $ac_status); } &&
1908          { ac_try='test -s conftest.$ac_objext'
1909   { (eval echo "$as_me:1909: \"$ac_try\"") >&5
1910   (eval $ac_try) 2>&5
1911   ac_status=$?
1912   echo "$as_me:1912: \$? = $ac_status" >&5
1913   (exit $ac_status); }; }; then
1914   ac_compiler_gnu=yes
1915 else
1916   echo "$as_me: failed program was:" >&5
1917 cat conftest.$ac_ext >&5
1918 ac_compiler_gnu=no
1919 fi
1920 rm -f conftest.$ac_objext conftest.$ac_ext
1921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1922
1923 fi
1924 echo "$as_me:1924: result: $ac_cv_c_compiler_gnu" >&5
1925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1926 GCC=`test $ac_compiler_gnu = yes && echo yes`
1927 ac_test_CFLAGS=${CFLAGS+set}
1928 ac_save_CFLAGS=$CFLAGS
1929 CFLAGS="-g"
1930 echo "$as_me:1930: checking whether $CC accepts -g" >&5
1931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1932 if test "${ac_cv_prog_cc_g+set}" = set; then
1933   echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935   cat >conftest.$ac_ext <<_ACEOF
1936 #line 1936 "configure"
1937 #include "confdefs.h"
1938
1939 int
1940 main ()
1941 {
1942
1943   ;
1944   return 0;
1945 }
1946 _ACEOF
1947 rm -f conftest.$ac_objext
1948 if { (eval echo "$as_me:1948: \"$ac_compile\"") >&5
1949   (eval $ac_compile) 2>&5
1950   ac_status=$?
1951   echo "$as_me:1951: \$? = $ac_status" >&5
1952   (exit $ac_status); } &&
1953          { ac_try='test -s conftest.$ac_objext'
1954   { (eval echo "$as_me:1954: \"$ac_try\"") >&5
1955   (eval $ac_try) 2>&5
1956   ac_status=$?
1957   echo "$as_me:1957: \$? = $ac_status" >&5
1958   (exit $ac_status); }; }; then
1959   ac_cv_prog_cc_g=yes
1960 else
1961   echo "$as_me: failed program was:" >&5
1962 cat conftest.$ac_ext >&5
1963 ac_cv_prog_cc_g=no
1964 fi
1965 rm -f conftest.$ac_objext conftest.$ac_ext
1966 fi
1967 echo "$as_me:1967: result: $ac_cv_prog_cc_g" >&5
1968 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1969 if test "$ac_test_CFLAGS" = set; then
1970   CFLAGS=$ac_save_CFLAGS
1971 elif test $ac_cv_prog_cc_g = yes; then
1972   if test "$GCC" = yes; then
1973     CFLAGS="-g -O2"
1974   else
1975     CFLAGS="-g"
1976   fi
1977 else
1978   if test "$GCC" = yes; then
1979     CFLAGS="-O2"
1980   else
1981     CFLAGS=
1982   fi
1983 fi
1984 # Some people use a C++ compiler to compile C.  Since we use `exit',
1985 # in C++ we need to declare it.  In case someone uses the same compiler
1986 # for both compiling C and C++ we need to have the C++ compiler decide
1987 # the declaration of exit, since it's the most demanding environment.
1988 cat >conftest.$ac_ext <<_ACEOF
1989 #ifndef __cplusplus
1990   choke me
1991 #endif
1992 _ACEOF
1993 rm -f conftest.$ac_objext
1994 if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5
1995   (eval $ac_compile) 2>&5
1996   ac_status=$?
1997   echo "$as_me:1997: \$? = $ac_status" >&5
1998   (exit $ac_status); } &&
1999          { ac_try='test -s conftest.$ac_objext'
2000   { (eval echo "$as_me:2000: \"$ac_try\"") >&5
2001   (eval $ac_try) 2>&5
2002   ac_status=$?
2003   echo "$as_me:2003: \$? = $ac_status" >&5
2004   (exit $ac_status); }; }; then
2005   for ac_declaration in \
2006    ''\
2007    '#include <stdlib.h>' \
2008    'extern "C" void std::exit (int) throw (); using std::exit;' \
2009    'extern "C" void std::exit (int); using std::exit;' \
2010    'extern "C" void exit (int) throw ();' \
2011    'extern "C" void exit (int);' \
2012    'void exit (int);'
2013 do
2014   cat >conftest.$ac_ext <<_ACEOF
2015 #line 2015 "configure"
2016 #include "confdefs.h"
2017 #include <stdlib.h>
2018 $ac_declaration
2019 int
2020 main ()
2021 {
2022 exit (42);
2023   ;
2024   return 0;
2025 }
2026 _ACEOF
2027 rm -f conftest.$ac_objext
2028 if { (eval echo "$as_me:2028: \"$ac_compile\"") >&5
2029   (eval $ac_compile) 2>&5
2030   ac_status=$?
2031   echo "$as_me:2031: \$? = $ac_status" >&5
2032   (exit $ac_status); } &&
2033          { ac_try='test -s conftest.$ac_objext'
2034   { (eval echo "$as_me:2034: \"$ac_try\"") >&5
2035   (eval $ac_try) 2>&5
2036   ac_status=$?
2037   echo "$as_me:2037: \$? = $ac_status" >&5
2038   (exit $ac_status); }; }; then
2039   :
2040 else
2041   echo "$as_me: failed program was:" >&5
2042 cat conftest.$ac_ext >&5
2043 continue
2044 fi
2045 rm -f conftest.$ac_objext conftest.$ac_ext
2046   cat >conftest.$ac_ext <<_ACEOF
2047 #line 2047 "configure"
2048 #include "confdefs.h"
2049 $ac_declaration
2050 int
2051 main ()
2052 {
2053 exit (42);
2054   ;
2055   return 0;
2056 }
2057 _ACEOF
2058 rm -f conftest.$ac_objext
2059 if { (eval echo "$as_me:2059: \"$ac_compile\"") >&5
2060   (eval $ac_compile) 2>&5
2061   ac_status=$?
2062   echo "$as_me:2062: \$? = $ac_status" >&5
2063   (exit $ac_status); } &&
2064          { ac_try='test -s conftest.$ac_objext'
2065   { (eval echo "$as_me:2065: \"$ac_try\"") >&5
2066   (eval $ac_try) 2>&5
2067   ac_status=$?
2068   echo "$as_me:2068: \$? = $ac_status" >&5
2069   (exit $ac_status); }; }; then
2070   break
2071 else
2072   echo "$as_me: failed program was:" >&5
2073 cat conftest.$ac_ext >&5
2074 fi
2075 rm -f conftest.$ac_objext conftest.$ac_ext
2076 done
2077 rm -f conftest*
2078 if test -n "$ac_declaration"; then
2079   echo '#ifdef __cplusplus' >>confdefs.h
2080   echo $ac_declaration      >>confdefs.h
2081   echo '#endif'             >>confdefs.h
2082 fi
2083
2084 else
2085   echo "$as_me: failed program was:" >&5
2086 cat conftest.$ac_ext >&5
2087 fi
2088 rm -f conftest.$ac_objext conftest.$ac_ext
2089 ac_ext=c
2090 ac_cpp='$CPP $CPPFLAGS'
2091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2094
2095 depcc="$CC"   am_compiler_list=
2096
2097 echo "$as_me:2097: checking dependency style of $depcc" >&5
2098 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2099 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2100   echo $ECHO_N "(cached) $ECHO_C" >&6
2101 else
2102   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2103   # We make a subdir and do the tests there.  Otherwise we can end up
2104   # making bogus files that we don't know about and never remove.  For
2105   # instance it was reported that on HP-UX the gcc test will end up
2106   # making a dummy file named `D' -- because `-MD' means `put the output
2107   # in D'.
2108   mkdir conftest.dir
2109   # Copy depcomp to subdir because otherwise we won't find it if we're
2110   # using a relative directory.
2111   cp "$am_depcomp" conftest.dir
2112   cd conftest.dir
2113
2114   am_cv_CC_dependencies_compiler_type=none
2115   if test "$am_compiler_list" = ""; then
2116      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2117   fi
2118   for depmode in $am_compiler_list; do
2119     # We need to recreate these files for each test, as the compiler may
2120     # overwrite some of them when testing with obscure command lines.
2121     # This happens at least with the AIX C compiler.
2122     echo '#include "conftest.h"' > conftest.c
2123     echo 'int i;' > conftest.h
2124     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2125
2126     case $depmode in
2127     nosideeffect)
2128       # after this tag, mechanisms are not by side-effect, so they'll
2129       # only be used when explicitly requested
2130       if test "x$enable_dependency_tracking" = xyes; then
2131         continue
2132       else
2133         break
2134       fi
2135       ;;
2136     none) break ;;
2137     esac
2138     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2139     # mode.  It turns out that the SunPro C++ compiler does not properly
2140     # handle `-M -o', and we need to detect this.
2141     if depmode=$depmode \
2142        source=conftest.c object=conftest.o \
2143        depfile=conftest.Po tmpdepfile=conftest.TPo \
2144        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2145        grep conftest.h conftest.Po > /dev/null 2>&1 &&
2146        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2147       am_cv_CC_dependencies_compiler_type=$depmode
2148       break
2149     fi
2150   done
2151
2152   cd ..
2153   rm -rf conftest.dir
2154 else
2155   am_cv_CC_dependencies_compiler_type=none
2156 fi
2157
2158 fi
2159 echo "$as_me:2159: result: $am_cv_CC_dependencies_compiler_type" >&5
2160 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2161 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2162
2163         echo "$as_me:2163: checking for strerror in -lcposix" >&5
2164 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2165 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2166   echo $ECHO_N "(cached) $ECHO_C" >&6
2167 else
2168   ac_check_lib_save_LIBS=$LIBS
2169 LIBS="-lcposix  $LIBS"
2170 cat >conftest.$ac_ext <<_ACEOF
2171 #line 2171 "configure"
2172 #include "confdefs.h"
2173
2174 /* Override any gcc2 internal prototype to avoid an error.  */
2175 #ifdef __cplusplus
2176 extern "C"
2177 #endif
2178 /* We use char because int might match the return type of a gcc2
2179    builtin and then its argument prototype would still apply.  */
2180 char strerror ();
2181 int
2182 main ()
2183 {
2184 strerror ();
2185   ;
2186   return 0;
2187 }
2188 _ACEOF
2189 rm -f conftest.$ac_objext conftest$ac_exeext
2190 if { (eval echo "$as_me:2190: \"$ac_link\"") >&5
2191   (eval $ac_link) 2>&5
2192   ac_status=$?
2193   echo "$as_me:2193: \$? = $ac_status" >&5
2194   (exit $ac_status); } &&
2195          { ac_try='test -s conftest$ac_exeext'
2196   { (eval echo "$as_me:2196: \"$ac_try\"") >&5
2197   (eval $ac_try) 2>&5
2198   ac_status=$?
2199   echo "$as_me:2199: \$? = $ac_status" >&5
2200   (exit $ac_status); }; }; then
2201   ac_cv_lib_cposix_strerror=yes
2202 else
2203   echo "$as_me: failed program was:" >&5
2204 cat conftest.$ac_ext >&5
2205 ac_cv_lib_cposix_strerror=no
2206 fi
2207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2208 LIBS=$ac_check_lib_save_LIBS
2209 fi
2210 echo "$as_me:2210: result: $ac_cv_lib_cposix_strerror" >&5
2211 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2212 if test $ac_cv_lib_cposix_strerror = yes; then
2213   LIBS="$LIBS -lcposix"
2214 fi
2215
2216 ac_ext=c
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221 if test -n "$ac_tool_prefix"; then
2222   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2224 echo "$as_me:2224: checking for $ac_word" >&5
2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226 if test "${ac_cv_prog_CC+set}" = set; then
2227   echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229   if test -n "$CC"; then
2230   ac_cv_prog_CC="$CC" # Let the user override the test.
2231 else
2232   ac_save_IFS=$IFS; IFS=$ac_path_separator
2233 ac_dummy="$PATH"
2234 for ac_dir in $ac_dummy; do
2235   IFS=$ac_save_IFS
2236   test -z "$ac_dir" && ac_dir=.
2237   $as_executable_p "$ac_dir/$ac_word" || continue
2238 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2239 echo "$as_me:2239: found $ac_dir/$ac_word" >&5
2240 break
2241 done
2242
2243 fi
2244 fi
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247   echo "$as_me:2247: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2249 else
2250   echo "$as_me:2250: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2252 fi
2253
2254 fi
2255 if test -z "$ac_cv_prog_CC"; then
2256   ac_ct_CC=$CC
2257   # Extract the first word of "gcc", so it can be a program name with args.
2258 set dummy gcc; ac_word=$2
2259 echo "$as_me:2259: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262   echo $ECHO_N "(cached) $ECHO_C" >&6
2263 else
2264   if test -n "$ac_ct_CC"; then
2265   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2266 else
2267   ac_save_IFS=$IFS; IFS=$ac_path_separator
2268 ac_dummy="$PATH"
2269 for ac_dir in $ac_dummy; do
2270   IFS=$ac_save_IFS
2271   test -z "$ac_dir" && ac_dir=.
2272   $as_executable_p "$ac_dir/$ac_word" || continue
2273 ac_cv_prog_ac_ct_CC="gcc"
2274 echo "$as_me:2274: found $ac_dir/$ac_word" >&5
2275 break
2276 done
2277
2278 fi
2279 fi
2280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2281 if test -n "$ac_ct_CC"; then
2282   echo "$as_me:2282: result: $ac_ct_CC" >&5
2283 echo "${ECHO_T}$ac_ct_CC" >&6
2284 else
2285   echo "$as_me:2285: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2287 fi
2288
2289   CC=$ac_ct_CC
2290 else
2291   CC="$ac_cv_prog_CC"
2292 fi
2293
2294 if test -z "$CC"; then
2295   if test -n "$ac_tool_prefix"; then
2296   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2297 set dummy ${ac_tool_prefix}cc; ac_word=$2
2298 echo "$as_me:2298: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301   echo $ECHO_N "(cached) $ECHO_C" >&6
2302 else
2303   if test -n "$CC"; then
2304   ac_cv_prog_CC="$CC" # Let the user override the test.
2305 else
2306   ac_save_IFS=$IFS; IFS=$ac_path_separator
2307 ac_dummy="$PATH"
2308 for ac_dir in $ac_dummy; do
2309   IFS=$ac_save_IFS
2310   test -z "$ac_dir" && ac_dir=.
2311   $as_executable_p "$ac_dir/$ac_word" || continue
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:2313: found $ac_dir/$ac_word" >&5
2314 break
2315 done
2316
2317 fi
2318 fi
2319 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then
2321   echo "$as_me:2321: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2323 else
2324   echo "$as_me:2324: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2326 fi
2327
2328 fi
2329 if test -z "$ac_cv_prog_CC"; then
2330   ac_ct_CC=$CC
2331   # Extract the first word of "cc", so it can be a program name with args.
2332 set dummy cc; ac_word=$2
2333 echo "$as_me:2333: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336   echo $ECHO_N "(cached) $ECHO_C" >&6
2337 else
2338   if test -n "$ac_ct_CC"; then
2339   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2340 else
2341   ac_save_IFS=$IFS; IFS=$ac_path_separator
2342 ac_dummy="$PATH"
2343 for ac_dir in $ac_dummy; do
2344   IFS=$ac_save_IFS
2345   test -z "$ac_dir" && ac_dir=.
2346   $as_executable_p "$ac_dir/$ac_word" || continue
2347 ac_cv_prog_ac_ct_CC="cc"
2348 echo "$as_me:2348: found $ac_dir/$ac_word" >&5
2349 break
2350 done
2351
2352 fi
2353 fi
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356   echo "$as_me:2356: result: $ac_ct_CC" >&5
2357 echo "${ECHO_T}$ac_ct_CC" >&6
2358 else
2359   echo "$as_me:2359: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2361 fi
2362
2363   CC=$ac_ct_CC
2364 else
2365   CC="$ac_cv_prog_CC"
2366 fi
2367
2368 fi
2369 if test -z "$CC"; then
2370   # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc; ac_word=$2
2372 echo "$as_me:2372: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375   echo $ECHO_N "(cached) $ECHO_C" >&6
2376 else
2377   if test -n "$CC"; then
2378   ac_cv_prog_CC="$CC" # Let the user override the test.
2379 else
2380   ac_prog_rejected=no
2381   ac_save_IFS=$IFS; IFS=$ac_path_separator
2382 ac_dummy="$PATH"
2383 for ac_dir in $ac_dummy; do
2384   IFS=$ac_save_IFS
2385   test -z "$ac_dir" && ac_dir=.
2386   $as_executable_p "$ac_dir/$ac_word" || continue
2387 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2388   ac_prog_rejected=yes
2389   continue
2390 fi
2391 ac_cv_prog_CC="cc"
2392 echo "$as_me:2392: found $ac_dir/$ac_word" >&5
2393 break
2394 done
2395
2396 if test $ac_prog_rejected = yes; then
2397   # We found a bogon in the path, so make sure we never use it.
2398   set dummy $ac_cv_prog_CC
2399   shift
2400   if test $# != 0; then
2401     # We chose a different compiler from the bogus one.
2402     # However, it has the same basename, so the bogon will be chosen
2403     # first if we set CC to just the basename; use the full file name.
2404     shift
2405     set dummy "$ac_dir/$ac_word" ${1+"$@"}
2406     shift
2407     ac_cv_prog_CC="$@"
2408   fi
2409 fi
2410 fi
2411 fi
2412 CC=$ac_cv_prog_CC
2413 if test -n "$CC"; then
2414   echo "$as_me:2414: result: $CC" >&5
2415 echo "${ECHO_T}$CC" >&6
2416 else
2417   echo "$as_me:2417: result: no" >&5
2418 echo "${ECHO_T}no" >&6
2419 fi
2420
2421 fi
2422 if test -z "$CC"; then
2423   if test -n "$ac_tool_prefix"; then
2424   for ac_prog in cl
2425   do
2426     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2428 echo "$as_me:2428: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431   echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else
2433   if test -n "$CC"; then
2434   ac_cv_prog_CC="$CC" # Let the user override the test.
2435 else
2436   ac_save_IFS=$IFS; IFS=$ac_path_separator
2437 ac_dummy="$PATH"
2438 for ac_dir in $ac_dummy; do
2439   IFS=$ac_save_IFS
2440   test -z "$ac_dir" && ac_dir=.
2441   $as_executable_p "$ac_dir/$ac_word" || continue
2442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2443 echo "$as_me:2443: found $ac_dir/$ac_word" >&5
2444 break
2445 done
2446
2447 fi
2448 fi
2449 CC=$ac_cv_prog_CC
2450 if test -n "$CC"; then
2451   echo "$as_me:2451: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6
2453 else
2454   echo "$as_me:2454: result: no" >&5
2455 echo "${ECHO_T}no" >&6
2456 fi
2457
2458     test -n "$CC" && break
2459   done
2460 fi
2461 if test -z "$CC"; then
2462   ac_ct_CC=$CC
2463   for ac_prog in cl
2464 do
2465   # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy $ac_prog; ac_word=$2
2467 echo "$as_me:2467: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2470   echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472   if test -n "$ac_ct_CC"; then
2473   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2474 else
2475   ac_save_IFS=$IFS; IFS=$ac_path_separator
2476 ac_dummy="$PATH"
2477 for ac_dir in $ac_dummy; do
2478   IFS=$ac_save_IFS
2479   test -z "$ac_dir" && ac_dir=.
2480   $as_executable_p "$ac_dir/$ac_word" || continue
2481 ac_cv_prog_ac_ct_CC="$ac_prog"
2482 echo "$as_me:2482: found $ac_dir/$ac_word" >&5
2483 break
2484 done
2485
2486 fi
2487 fi
2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then
2490   echo "$as_me:2490: result: $ac_ct_CC" >&5
2491 echo "${ECHO_T}$ac_ct_CC" >&6
2492 else
2493   echo "$as_me:2493: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2495 fi
2496
2497   test -n "$ac_ct_CC" && break
2498 done
2499
2500   CC=$ac_ct_CC
2501 fi
2502
2503 fi
2504
2505 test -z "$CC" && { { echo "$as_me:2505: error: no acceptable cc found in \$PATH" >&5
2506 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2507    { (exit 1); exit 1; }; }
2508
2509 # Provide some information about the compiler.
2510 echo "$as_me:2510:" \
2511      "checking for C compiler version" >&5
2512 ac_compiler=`set X $ac_compile; echo $2`
2513 { (eval echo "$as_me:2513: \"$ac_compiler --version </dev/null >&5\"") >&5
2514   (eval $ac_compiler --version </dev/null >&5) 2>&5
2515   ac_status=$?
2516   echo "$as_me:2516: \$? = $ac_status" >&5
2517   (exit $ac_status); }
2518 { (eval echo "$as_me:2518: \"$ac_compiler -v </dev/null >&5\"") >&5
2519   (eval $ac_compiler -v </dev/null >&5) 2>&5
2520   ac_status=$?
2521   echo "$as_me:2521: \$? = $ac_status" >&5
2522   (exit $ac_status); }
2523 { (eval echo "$as_me:2523: \"$ac_compiler -V </dev/null >&5\"") >&5
2524   (eval $ac_compiler -V </dev/null >&5) 2>&5
2525   ac_status=$?
2526   echo "$as_me:2526: \$? = $ac_status" >&5
2527   (exit $ac_status); }
2528
2529 echo "$as_me:2529: checking whether we are using the GNU C compiler" >&5
2530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2532   echo $ECHO_N "(cached) $ECHO_C" >&6
2533 else
2534   cat >conftest.$ac_ext <<_ACEOF
2535 #line 2535 "configure"
2536 #include "confdefs.h"
2537
2538 int
2539 main ()
2540 {
2541 #ifndef __GNUC__
2542        choke me
2543 #endif
2544
2545   ;
2546   return 0;
2547 }
2548 _ACEOF
2549 rm -f conftest.$ac_objext
2550 if { (eval echo "$as_me:2550: \"$ac_compile\"") >&5
2551   (eval $ac_compile) 2>&5
2552   ac_status=$?
2553   echo "$as_me:2553: \$? = $ac_status" >&5
2554   (exit $ac_status); } &&
2555          { ac_try='test -s conftest.$ac_objext'
2556   { (eval echo "$as_me:2556: \"$ac_try\"") >&5
2557   (eval $ac_try) 2>&5
2558   ac_status=$?
2559   echo "$as_me:2559: \$? = $ac_status" >&5
2560   (exit $ac_status); }; }; then
2561   ac_compiler_gnu=yes
2562 else
2563   echo "$as_me: failed program was:" >&5
2564 cat conftest.$ac_ext >&5
2565 ac_compiler_gnu=no
2566 fi
2567 rm -f conftest.$ac_objext conftest.$ac_ext
2568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2569
2570 fi
2571 echo "$as_me:2571: result: $ac_cv_c_compiler_gnu" >&5
2572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2573 GCC=`test $ac_compiler_gnu = yes && echo yes`
2574 ac_test_CFLAGS=${CFLAGS+set}
2575 ac_save_CFLAGS=$CFLAGS
2576 CFLAGS="-g"
2577 echo "$as_me:2577: checking whether $CC accepts -g" >&5
2578 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2579 if test "${ac_cv_prog_cc_g+set}" = set; then
2580   echo $ECHO_N "(cached) $ECHO_C" >&6
2581 else
2582   cat >conftest.$ac_ext <<_ACEOF
2583 #line 2583 "configure"
2584 #include "confdefs.h"
2585
2586 int
2587 main ()
2588 {
2589
2590   ;
2591   return 0;
2592 }
2593 _ACEOF
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:2595: \"$ac_compile\"") >&5
2596   (eval $ac_compile) 2>&5
2597   ac_status=$?
2598   echo "$as_me:2598: \$? = $ac_status" >&5
2599   (exit $ac_status); } &&
2600          { ac_try='test -s conftest.$ac_objext'
2601   { (eval echo "$as_me:2601: \"$ac_try\"") >&5
2602   (eval $ac_try) 2>&5
2603   ac_status=$?
2604   echo "$as_me:2604: \$? = $ac_status" >&5
2605   (exit $ac_status); }; }; then
2606   ac_cv_prog_cc_g=yes
2607 else
2608   echo "$as_me: failed program was:" >&5
2609 cat conftest.$ac_ext >&5
2610 ac_cv_prog_cc_g=no
2611 fi
2612 rm -f conftest.$ac_objext conftest.$ac_ext
2613 fi
2614 echo "$as_me:2614: result: $ac_cv_prog_cc_g" >&5
2615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2616 if test "$ac_test_CFLAGS" = set; then
2617   CFLAGS=$ac_save_CFLAGS
2618 elif test $ac_cv_prog_cc_g = yes; then
2619   if test "$GCC" = yes; then
2620     CFLAGS="-g -O2"
2621   else
2622     CFLAGS="-g"
2623   fi
2624 else
2625   if test "$GCC" = yes; then
2626     CFLAGS="-O2"
2627   else
2628     CFLAGS=
2629   fi
2630 fi
2631 # Some people use a C++ compiler to compile C.  Since we use `exit',
2632 # in C++ we need to declare it.  In case someone uses the same compiler
2633 # for both compiling C and C++ we need to have the C++ compiler decide
2634 # the declaration of exit, since it's the most demanding environment.
2635 cat >conftest.$ac_ext <<_ACEOF
2636 #ifndef __cplusplus
2637   choke me
2638 #endif
2639 _ACEOF
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:2641: \"$ac_compile\"") >&5
2642   (eval $ac_compile) 2>&5
2643   ac_status=$?
2644   echo "$as_me:2644: \$? = $ac_status" >&5
2645   (exit $ac_status); } &&
2646          { ac_try='test -s conftest.$ac_objext'
2647   { (eval echo "$as_me:2647: \"$ac_try\"") >&5
2648   (eval $ac_try) 2>&5
2649   ac_status=$?
2650   echo "$as_me:2650: \$? = $ac_status" >&5
2651   (exit $ac_status); }; }; then
2652   for ac_declaration in \
2653    ''\
2654    '#include <stdlib.h>' \
2655    'extern "C" void std::exit (int) throw (); using std::exit;' \
2656    'extern "C" void std::exit (int); using std::exit;' \
2657    'extern "C" void exit (int) throw ();' \
2658    'extern "C" void exit (int);' \
2659    'void exit (int);'
2660 do
2661   cat >conftest.$ac_ext <<_ACEOF
2662 #line 2662 "configure"
2663 #include "confdefs.h"
2664 #include <stdlib.h>
2665 $ac_declaration
2666 int
2667 main ()
2668 {
2669 exit (42);
2670   ;
2671   return 0;
2672 }
2673 _ACEOF
2674 rm -f conftest.$ac_objext
2675 if { (eval echo "$as_me:2675: \"$ac_compile\"") >&5
2676   (eval $ac_compile) 2>&5
2677   ac_status=$?
2678   echo "$as_me:2678: \$? = $ac_status" >&5
2679   (exit $ac_status); } &&
2680          { ac_try='test -s conftest.$ac_objext'
2681   { (eval echo "$as_me:2681: \"$ac_try\"") >&5
2682   (eval $ac_try) 2>&5
2683   ac_status=$?
2684   echo "$as_me:2684: \$? = $ac_status" >&5
2685   (exit $ac_status); }; }; then
2686   :
2687 else
2688   echo "$as_me: failed program was:" >&5
2689 cat conftest.$ac_ext >&5
2690 continue
2691 fi
2692 rm -f conftest.$ac_objext conftest.$ac_ext
2693   cat >conftest.$ac_ext <<_ACEOF
2694 #line 2694 "configure"
2695 #include "confdefs.h"
2696 $ac_declaration
2697 int
2698 main ()
2699 {
2700 exit (42);
2701   ;
2702   return 0;
2703 }
2704 _ACEOF
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:2706: \"$ac_compile\"") >&5
2707   (eval $ac_compile) 2>&5
2708   ac_status=$?
2709   echo "$as_me:2709: \$? = $ac_status" >&5
2710   (exit $ac_status); } &&
2711          { ac_try='test -s conftest.$ac_objext'
2712   { (eval echo "$as_me:2712: \"$ac_try\"") >&5
2713   (eval $ac_try) 2>&5
2714   ac_status=$?
2715   echo "$as_me:2715: \$? = $ac_status" >&5
2716   (exit $ac_status); }; }; then
2717   break
2718 else
2719   echo "$as_me: failed program was:" >&5
2720 cat conftest.$ac_ext >&5
2721 fi
2722 rm -f conftest.$ac_objext conftest.$ac_ext
2723 done
2724 rm -f conftest*
2725 if test -n "$ac_declaration"; then
2726   echo '#ifdef __cplusplus' >>confdefs.h
2727   echo $ac_declaration      >>confdefs.h
2728   echo '#endif'             >>confdefs.h
2729 fi
2730
2731 else
2732   echo "$as_me: failed program was:" >&5
2733 cat conftest.$ac_ext >&5
2734 fi
2735 rm -f conftest.$ac_objext conftest.$ac_ext
2736 ac_ext=c
2737 ac_cpp='$CPP $CPPFLAGS'
2738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741
2742 depcc="$CC"   am_compiler_list=
2743
2744 echo "$as_me:2744: checking dependency style of $depcc" >&5
2745 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2746 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2747   echo $ECHO_N "(cached) $ECHO_C" >&6
2748 else
2749   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2750   # We make a subdir and do the tests there.  Otherwise we can end up
2751   # making bogus files that we don't know about and never remove.  For
2752   # instance it was reported that on HP-UX the gcc test will end up
2753   # making a dummy file named `D' -- because `-MD' means `put the output
2754   # in D'.
2755   mkdir conftest.dir
2756   # Copy depcomp to subdir because otherwise we won't find it if we're
2757   # using a relative directory.
2758   cp "$am_depcomp" conftest.dir
2759   cd conftest.dir
2760
2761   am_cv_CC_dependencies_compiler_type=none
2762   if test "$am_compiler_list" = ""; then
2763      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2764   fi
2765   for depmode in $am_compiler_list; do
2766     # We need to recreate these files for each test, as the compiler may
2767     # overwrite some of them when testing with obscure command lines.
2768     # This happens at least with the AIX C compiler.
2769     echo '#include "conftest.h"' > conftest.c
2770     echo 'int i;' > conftest.h
2771     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2772
2773     case $depmode in
2774     nosideeffect)
2775       # after this tag, mechanisms are not by side-effect, so they'll
2776       # only be used when explicitly requested
2777       if test "x$enable_dependency_tracking" = xyes; then
2778         continue
2779       else
2780         break
2781       fi
2782       ;;
2783     none) break ;;
2784     esac
2785     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2786     # mode.  It turns out that the SunPro C++ compiler does not properly
2787     # handle `-M -o', and we need to detect this.
2788     if depmode=$depmode \
2789        source=conftest.c object=conftest.o \
2790        depfile=conftest.Po tmpdepfile=conftest.TPo \
2791        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2792        grep conftest.h conftest.Po > /dev/null 2>&1 &&
2793        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2794       am_cv_CC_dependencies_compiler_type=$depmode
2795       break
2796     fi
2797   done
2798
2799   cd ..
2800   rm -rf conftest.dir
2801 else
2802   am_cv_CC_dependencies_compiler_type=none
2803 fi
2804
2805 fi
2806 echo "$as_me:2806: result: $am_cv_CC_dependencies_compiler_type" >&5
2807 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2808 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2809
2810 ac_ext=c
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 echo "$as_me:2815: checking how to run the C preprocessor" >&5
2816 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2817 # On Suns, sometimes $CPP names a directory.
2818 if test -n "$CPP" && test -d "$CPP"; then
2819   CPP=
2820 fi
2821 if test -z "$CPP"; then
2822   if test "${ac_cv_prog_CPP+set}" = set; then
2823   echo $ECHO_N "(cached) $ECHO_C" >&6
2824 else
2825       # Double quotes because CPP needs to be expanded
2826     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2827     do
2828       ac_preproc_ok=false
2829 for ac_c_preproc_warn_flag in '' yes
2830 do
2831   # Use a header file that comes with gcc, so configuring glibc
2832   # with a fresh cross-compiler works.
2833   # On the NeXT, cc -E runs the code through the compiler's parser,
2834   # not just through cpp. "Syntax error" is here to catch this case.
2835   cat >conftest.$ac_ext <<_ACEOF
2836 #line 2836 "configure"
2837 #include "confdefs.h"
2838 #include <assert.h>
2839                      Syntax error
2840 _ACEOF
2841 if { (eval echo "$as_me:2841: \"$ac_cpp conftest.$ac_ext\"") >&5
2842   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2843   ac_status=$?
2844   egrep -v '^ *\+' conftest.er1 >conftest.err
2845   rm -f conftest.er1
2846   cat conftest.err >&5
2847   echo "$as_me:2847: \$? = $ac_status" >&5
2848   (exit $ac_status); } >/dev/null; then
2849   if test -s conftest.err; then
2850     ac_cpp_err=$ac_c_preproc_warn_flag
2851   else
2852     ac_cpp_err=
2853   fi
2854 else
2855   ac_cpp_err=yes
2856 fi
2857 if test -z "$ac_cpp_err"; then
2858   :
2859 else
2860   echo "$as_me: failed program was:" >&5
2861   cat conftest.$ac_ext >&5
2862   # Broken: fails on valid input.
2863 continue
2864 fi
2865 rm -f conftest.err conftest.$ac_ext
2866
2867   # OK, works on sane cases.  Now check whether non-existent headers
2868   # can be detected and how.
2869   cat >conftest.$ac_ext <<_ACEOF
2870 #line 2870 "configure"
2871 #include "confdefs.h"
2872 #include <ac_nonexistent.h>
2873 _ACEOF
2874 if { (eval echo "$as_me:2874: \"$ac_cpp conftest.$ac_ext\"") >&5
2875   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2876   ac_status=$?
2877   egrep -v '^ *\+' conftest.er1 >conftest.err
2878   rm -f conftest.er1
2879   cat conftest.err >&5
2880   echo "$as_me:2880: \$? = $ac_status" >&5
2881   (exit $ac_status); } >/dev/null; then
2882   if test -s conftest.err; then
2883     ac_cpp_err=$ac_c_preproc_warn_flag
2884   else
2885     ac_cpp_err=
2886   fi
2887 else
2888   ac_cpp_err=yes
2889 fi
2890 if test -z "$ac_cpp_err"; then
2891   # Broken: success on invalid input.
2892 continue
2893 else
2894   echo "$as_me: failed program was:" >&5
2895   cat conftest.$ac_ext >&5
2896   # Passes both tests.
2897 ac_preproc_ok=:
2898 break
2899 fi
2900 rm -f conftest.err conftest.$ac_ext
2901
2902 done
2903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2904 rm -f conftest.err conftest.$ac_ext
2905 if $ac_preproc_ok; then
2906   break
2907 fi
2908
2909     done
2910     ac_cv_prog_CPP=$CPP
2911
2912 fi
2913   CPP=$ac_cv_prog_CPP
2914 else
2915   ac_cv_prog_CPP=$CPP
2916 fi
2917 echo "$as_me:2917: result: $CPP" >&5
2918 echo "${ECHO_T}$CPP" >&6
2919 ac_preproc_ok=false
2920 for ac_c_preproc_warn_flag in '' yes
2921 do
2922   # Use a header file that comes with gcc, so configuring glibc
2923   # with a fresh cross-compiler works.
2924   # On the NeXT, cc -E runs the code through the compiler's parser,
2925   # not just through cpp. "Syntax error" is here to catch this case.
2926   cat >conftest.$ac_ext <<_ACEOF
2927 #line 2927 "configure"
2928 #include "confdefs.h"
2929 #include <assert.h>
2930                      Syntax error
2931 _ACEOF
2932 if { (eval echo "$as_me:2932: \"$ac_cpp conftest.$ac_ext\"") >&5
2933   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2934   ac_status=$?
2935   egrep -v '^ *\+' conftest.er1 >conftest.err
2936   rm -f conftest.er1
2937   cat conftest.err >&5
2938   echo "$as_me:2938: \$? = $ac_status" >&5
2939   (exit $ac_status); } >/dev/null; then
2940   if test -s conftest.err; then
2941     ac_cpp_err=$ac_c_preproc_warn_flag
2942   else
2943     ac_cpp_err=
2944   fi
2945 else
2946   ac_cpp_err=yes
2947 fi
2948 if test -z "$ac_cpp_err"; then
2949   :
2950 else
2951   echo "$as_me: failed program was:" >&5
2952   cat conftest.$ac_ext >&5
2953   # Broken: fails on valid input.
2954 continue
2955 fi
2956 rm -f conftest.err conftest.$ac_ext
2957
2958   # OK, works on sane cases.  Now check whether non-existent headers
2959   # can be detected and how.
2960   cat >conftest.$ac_ext <<_ACEOF
2961 #line 2961 "configure"
2962 #include "confdefs.h"
2963 #include <ac_nonexistent.h>
2964 _ACEOF
2965 if { (eval echo "$as_me:2965: \"$ac_cpp conftest.$ac_ext\"") >&5
2966   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2967   ac_status=$?
2968   egrep -v '^ *\+' conftest.er1 >conftest.err
2969   rm -f conftest.er1
2970   cat conftest.err >&5
2971   echo "$as_me:2971: \$? = $ac_status" >&5
2972   (exit $ac_status); } >/dev/null; then
2973   if test -s conftest.err; then
2974     ac_cpp_err=$ac_c_preproc_warn_flag
2975   else
2976     ac_cpp_err=
2977   fi
2978 else
2979   ac_cpp_err=yes
2980 fi
2981 if test -z "$ac_cpp_err"; then
2982   # Broken: success on invalid input.
2983 continue
2984 else
2985   echo "$as_me: failed program was:" >&5
2986   cat conftest.$ac_ext >&5
2987   # Passes both tests.
2988 ac_preproc_ok=:
2989 break
2990 fi
2991 rm -f conftest.err conftest.$ac_ext
2992
2993 done
2994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2995 rm -f conftest.err conftest.$ac_ext
2996 if $ac_preproc_ok; then
2997   :
2998 else
2999   { { echo "$as_me:2999: error: C preprocessor \"$CPP\" fails sanity check" >&5
3000 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3001    { (exit 1); exit 1; }; }
3002 fi
3003
3004 ac_ext=c
3005 ac_cpp='$CPP $CPPFLAGS'
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3009
3010 echo "$as_me:3010: checking for ANSI C header files" >&5
3011 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3012 if test "${ac_cv_header_stdc+set}" = set; then
3013   echo $ECHO_N "(cached) $ECHO_C" >&6
3014 else
3015   cat >conftest.$ac_ext <<_ACEOF
3016 #line 3016 "configure"
3017 #include "confdefs.h"
3018 #include <stdlib.h>
3019 #include <stdarg.h>
3020 #include <string.h>
3021 #include <float.h>
3022
3023 _ACEOF
3024 if { (eval echo "$as_me:3024: \"$ac_cpp conftest.$ac_ext\"") >&5
3025   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3026   ac_status=$?
3027   egrep -v '^ *\+' conftest.er1 >conftest.err
3028   rm -f conftest.er1
3029   cat conftest.err >&5
3030   echo "$as_me:3030: \$? = $ac_status" >&5
3031   (exit $ac_status); } >/dev/null; then
3032   if test -s conftest.err; then
3033     ac_cpp_err=$ac_c_preproc_warn_flag
3034   else
3035     ac_cpp_err=
3036   fi
3037 else
3038   ac_cpp_err=yes
3039 fi
3040 if test -z "$ac_cpp_err"; then
3041   ac_cv_header_stdc=yes
3042 else
3043   echo "$as_me: failed program was:" >&5
3044   cat conftest.$ac_ext >&5
3045   ac_cv_header_stdc=no
3046 fi
3047 rm -f conftest.err conftest.$ac_ext
3048
3049 if test $ac_cv_header_stdc = yes; then
3050   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3051   cat >conftest.$ac_ext <<_ACEOF
3052 #line 3052 "configure"
3053 #include "confdefs.h"
3054 #include <string.h>
3055
3056 _ACEOF
3057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3058   egrep "memchr" >/dev/null 2>&1; then
3059   :
3060 else
3061   ac_cv_header_stdc=no
3062 fi
3063 rm -f conftest*
3064
3065 fi
3066
3067 if test $ac_cv_header_stdc = yes; then
3068   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3069   cat >conftest.$ac_ext <<_ACEOF
3070 #line 3070 "configure"
3071 #include "confdefs.h"
3072 #include <stdlib.h>
3073
3074 _ACEOF
3075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3076   egrep "free" >/dev/null 2>&1; then
3077   :
3078 else
3079   ac_cv_header_stdc=no
3080 fi
3081 rm -f conftest*
3082
3083 fi
3084
3085 if test $ac_cv_header_stdc = yes; then
3086   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3087   if test "$cross_compiling" = yes; then
3088   :
3089 else
3090   cat >conftest.$ac_ext <<_ACEOF
3091 #line 3091 "configure"
3092 #include "confdefs.h"
3093 #include <ctype.h>
3094 #if ((' ' & 0x0FF) == 0x020)
3095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3097 #else
3098 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3099                      || ('j' <= (c) && (c) <= 'r') \
3100                      || ('s' <= (c) && (c) <= 'z'))
3101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3102 #endif
3103
3104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3105 int
3106 main ()
3107 {
3108   int i;
3109   for (i = 0; i < 256; i++)
3110     if (XOR (islower (i), ISLOWER (i))
3111         || toupper (i) != TOUPPER (i))
3112       exit(2);
3113   exit (0);
3114 }
3115 _ACEOF
3116 rm -f conftest$ac_exeext
3117 if { (eval echo "$as_me:3117: \"$ac_link\"") >&5
3118   (eval $ac_link) 2>&5
3119   ac_status=$?
3120   echo "$as_me:3120: \$? = $ac_status" >&5
3121   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3122   { (eval echo "$as_me:3122: \"$ac_try\"") >&5
3123   (eval $ac_try) 2>&5
3124   ac_status=$?
3125   echo "$as_me:3125: \$? = $ac_status" >&5
3126   (exit $ac_status); }; }; then
3127   :
3128 else
3129   echo "$as_me: program exited with status $ac_status" >&5
3130 echo "$as_me: failed program was:" >&5
3131 cat conftest.$ac_ext >&5
3132 ac_cv_header_stdc=no
3133 fi
3134 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3135 fi
3136 fi
3137 fi
3138 echo "$as_me:3138: result: $ac_cv_header_stdc" >&5
3139 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3140 if test $ac_cv_header_stdc = yes; then
3141
3142 cat >>confdefs.h <<\EOF
3143 #define STDC_HEADERS 1
3144 EOF
3145
3146 fi
3147
3148 for ac_prog in 'bison -y' byacc
3149 do
3150   # Extract the first word of "$ac_prog", so it can be a program name with args.
3151 set dummy $ac_prog; ac_word=$2
3152 echo "$as_me:3152: checking for $ac_word" >&5
3153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3154 if test "${ac_cv_prog_YACC+set}" = set; then
3155   echo $ECHO_N "(cached) $ECHO_C" >&6
3156 else
3157   if test -n "$YACC"; then
3158   ac_cv_prog_YACC="$YACC" # Let the user override the test.
3159 else
3160   ac_save_IFS=$IFS; IFS=$ac_path_separator
3161 ac_dummy="$PATH"
3162 for ac_dir in $ac_dummy; do
3163   IFS=$ac_save_IFS
3164   test -z "$ac_dir" && ac_dir=.
3165   $as_executable_p "$ac_dir/$ac_word" || continue
3166 ac_cv_prog_YACC="$ac_prog"
3167 echo "$as_me:3167: found $ac_dir/$ac_word" >&5
3168 break
3169 done
3170
3171 fi
3172 fi
3173 YACC=$ac_cv_prog_YACC
3174 if test -n "$YACC"; then
3175   echo "$as_me:3175: result: $YACC" >&5
3176 echo "${ECHO_T}$YACC" >&6
3177 else
3178   echo "$as_me:3178: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3180 fi
3181
3182   test -n "$YACC" && break
3183 done
3184 test -n "$YACC" || YACC="yacc"
3185
3186 for ac_prog in flex lex
3187 do
3188   # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 echo "$as_me:3190: checking for $ac_word" >&5
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192 if test "${ac_cv_prog_LEX+set}" = set; then
3193   echo $ECHO_N "(cached) $ECHO_C" >&6
3194 else
3195   if test -n "$LEX"; then
3196   ac_cv_prog_LEX="$LEX" # Let the user override the test.
3197 else
3198   ac_save_IFS=$IFS; IFS=$ac_path_separator
3199 ac_dummy="$PATH"
3200 for ac_dir in $ac_dummy; do
3201   IFS=$ac_save_IFS
3202   test -z "$ac_dir" && ac_dir=.
3203   $as_executable_p "$ac_dir/$ac_word" || continue
3204 ac_cv_prog_LEX="$ac_prog"
3205 echo "$as_me:3205: found $ac_dir/$ac_word" >&5
3206 break
3207 done
3208
3209 fi
3210 fi
3211 LEX=$ac_cv_prog_LEX
3212 if test -n "$LEX"; then
3213   echo "$as_me:3213: result: $LEX" >&5
3214 echo "${ECHO_T}$LEX" >&6
3215 else
3216   echo "$as_me:3216: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 fi
3219
3220   test -n "$LEX" && break
3221 done
3222 test -n "$LEX" || LEX=":"
3223
3224 if test -z "$LEXLIB"
3225 then
3226   echo "$as_me:3226: checking for yywrap in -lfl" >&5
3227 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3228 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3229   echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231   ac_check_lib_save_LIBS=$LIBS
3232 LIBS="-lfl  $LIBS"
3233 cat >conftest.$ac_ext <<_ACEOF
3234 #line 3234 "configure"
3235 #include "confdefs.h"
3236
3237 /* Override any gcc2 internal prototype to avoid an error.  */
3238 #ifdef __cplusplus
3239 extern "C"
3240 #endif
3241 /* We use char because int might match the return type of a gcc2
3242    builtin and then its argument prototype would still apply.  */
3243 char yywrap ();
3244 int
3245 main ()
3246 {
3247 yywrap ();
3248   ;
3249   return 0;
3250 }
3251 _ACEOF
3252 rm -f conftest.$ac_objext conftest$ac_exeext
3253 if { (eval echo "$as_me:3253: \"$ac_link\"") >&5
3254   (eval $ac_link) 2>&5
3255   ac_status=$?
3256   echo "$as_me:3256: \$? = $ac_status" >&5
3257   (exit $ac_status); } &&
3258          { ac_try='test -s conftest$ac_exeext'
3259   { (eval echo "$as_me:3259: \"$ac_try\"") >&5
3260   (eval $ac_try) 2>&5
3261   ac_status=$?
3262   echo "$as_me:3262: \$? = $ac_status" >&5
3263   (exit $ac_status); }; }; then
3264   ac_cv_lib_fl_yywrap=yes
3265 else
3266   echo "$as_me: failed program was:" >&5
3267 cat conftest.$ac_ext >&5
3268 ac_cv_lib_fl_yywrap=no
3269 fi
3270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3271 LIBS=$ac_check_lib_save_LIBS
3272 fi
3273 echo "$as_me:3273: result: $ac_cv_lib_fl_yywrap" >&5
3274 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3275 if test $ac_cv_lib_fl_yywrap = yes; then
3276   LEXLIB="-lfl"
3277 else
3278   echo "$as_me:3278: checking for yywrap in -ll" >&5
3279 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3280 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3281   echo $ECHO_N "(cached) $ECHO_C" >&6
3282 else
3283   ac_check_lib_save_LIBS=$LIBS
3284 LIBS="-ll  $LIBS"
3285 cat >conftest.$ac_ext <<_ACEOF
3286 #line 3286 "configure"
3287 #include "confdefs.h"
3288
3289 /* Override any gcc2 internal prototype to avoid an error.  */
3290 #ifdef __cplusplus
3291 extern "C"
3292 #endif
3293 /* We use char because int might match the return type of a gcc2
3294    builtin and then its argument prototype would still apply.  */
3295 char yywrap ();
3296 int
3297 main ()
3298 {
3299 yywrap ();
3300   ;
3301   return 0;
3302 }
3303 _ACEOF
3304 rm -f conftest.$ac_objext conftest$ac_exeext
3305 if { (eval echo "$as_me:3305: \"$ac_link\"") >&5
3306   (eval $ac_link) 2>&5
3307   ac_status=$?
3308   echo "$as_me:3308: \$? = $ac_status" >&5
3309   (exit $ac_status); } &&
3310          { ac_try='test -s conftest$ac_exeext'
3311   { (eval echo "$as_me:3311: \"$ac_try\"") >&5
3312   (eval $ac_try) 2>&5
3313   ac_status=$?
3314   echo "$as_me:3314: \$? = $ac_status" >&5
3315   (exit $ac_status); }; }; then
3316   ac_cv_lib_l_yywrap=yes
3317 else
3318   echo "$as_me: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3320 ac_cv_lib_l_yywrap=no
3321 fi
3322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3323 LIBS=$ac_check_lib_save_LIBS
3324 fi
3325 echo "$as_me:3325: result: $ac_cv_lib_l_yywrap" >&5
3326 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3327 if test $ac_cv_lib_l_yywrap = yes; then
3328   LEXLIB="-ll"
3329 fi
3330
3331 fi
3332
3333 fi
3334
3335 if test "x$LEX" != "x:"; then
3336   echo "$as_me:3336: checking lex output file root" >&5
3337 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3338 if test "${ac_cv_prog_lex_root+set}" = set; then
3339   echo $ECHO_N "(cached) $ECHO_C" >&6
3340 else
3341   # The minimal lex program is just a single line: %%.  But some broken lexes
3342 # (Solaris, I think it was) want two %% lines, so accommodate them.
3343 echo '%%
3344 %%' | $LEX
3345 if test -f lex.yy.c; then
3346   ac_cv_prog_lex_root=lex.yy
3347 elif test -f lexyy.c; then
3348   ac_cv_prog_lex_root=lexyy
3349 else
3350   { { echo "$as_me:3350: error: cannot find output from $LEX; giving up" >&5
3351 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3352    { (exit 1); exit 1; }; }
3353 fi
3354 fi
3355 echo "$as_me:3355: result: $ac_cv_prog_lex_root" >&5
3356 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3357 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3358
3359 echo "$as_me:3359: checking whether yytext is a pointer" >&5
3360 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3361 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3362   echo $ECHO_N "(cached) $ECHO_C" >&6
3363 else
3364   # POSIX says lex can declare yytext either as a pointer or an array; the
3365 # default is implementation-dependent. Figure out which it is, since
3366 # not all implementations provide the %pointer and %array declarations.
3367 ac_cv_prog_lex_yytext_pointer=no
3368 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3369 ac_save_LIBS=$LIBS
3370 LIBS="$LIBS $LEXLIB"
3371 cat >conftest.$ac_ext <<_ACEOF
3372 `cat $LEX_OUTPUT_ROOT.c`
3373 _ACEOF
3374 rm -f conftest.$ac_objext conftest$ac_exeext
3375 if { (eval echo "$as_me:3375: \"$ac_link\"") >&5
3376   (eval $ac_link) 2>&5
3377   ac_status=$?
3378   echo "$as_me:3378: \$? = $ac_status" >&5
3379   (exit $ac_status); } &&
3380          { ac_try='test -s conftest$ac_exeext'
3381   { (eval echo "$as_me:3381: \"$ac_try\"") >&5
3382   (eval $ac_try) 2>&5
3383   ac_status=$?
3384   echo "$as_me:3384: \$? = $ac_status" >&5
3385   (exit $ac_status); }; }; then
3386   ac_cv_prog_lex_yytext_pointer=yes
3387 else
3388   echo "$as_me: failed program was:" >&5
3389 cat conftest.$ac_ext >&5
3390 fi
3391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3392 LIBS=$ac_save_LIBS
3393 rm -f "${LEX_OUTPUT_ROOT}.c"
3394
3395 fi
3396 echo "$as_me:3396: result: $ac_cv_prog_lex_yytext_pointer" >&5
3397 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3398 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3399
3400 cat >>confdefs.h <<\EOF
3401 #define YYTEXT_POINTER 1
3402 EOF
3403
3404 fi
3405
3406 fi
3407 if test "$LEX" = :; then
3408   LEX=${am_missing_run}flex
3409 fi
3410 # Find a good install program.  We prefer a C program (faster),
3411 # so one script is as good as another.  But avoid the broken or
3412 # incompatible versions:
3413 # SysV /etc/install, /usr/sbin/install
3414 # SunOS /usr/etc/install
3415 # IRIX /sbin/install
3416 # AIX /bin/install
3417 # AmigaOS /C/install, which installs bootblocks on floppy discs
3418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3421 # ./install, which can be erroneously created by make from ./install.sh.
3422 echo "$as_me:3422: checking for a BSD compatible install" >&5
3423 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3424 if test -z "$INSTALL"; then
3425 if test "${ac_cv_path_install+set}" = set; then
3426   echo $ECHO_N "(cached) $ECHO_C" >&6
3427 else
3428     ac_save_IFS=$IFS; IFS=$ac_path_separator
3429   for ac_dir in $PATH; do
3430     IFS=$ac_save_IFS
3431     # Account for people who put trailing slashes in PATH elements.
3432     case $ac_dir/ in
3433     / | ./ | .// | /cC/* \
3434     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3435     | /usr/ucb/* ) ;;
3436     *)
3437       # OSF1 and SCO ODT 3.0 have their own names for install.
3438       # Don't use installbsd from OSF since it installs stuff as root
3439       # by default.
3440       for ac_prog in ginstall scoinst install; do
3441         if $as_executable_p "$ac_dir/$ac_prog"; then
3442           if test $ac_prog = install &&
3443             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3444             # AIX install.  It has an incompatible calling convention.
3445             :
3446           elif test $ac_prog = install &&
3447             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3448             # program-specific install script used by HP pwplus--don't use.
3449             :
3450           else
3451             ac_cv_path_install="$ac_dir/$ac_prog -c"
3452             break 2
3453           fi
3454         fi
3455       done
3456       ;;
3457     esac
3458   done
3459
3460 fi
3461   if test "${ac_cv_path_install+set}" = set; then
3462     INSTALL=$ac_cv_path_install
3463   else
3464     # As a last resort, use the slow shell script.  We don't cache a
3465     # path for INSTALL within a source directory, because that will
3466     # break other packages using the cache if that directory is
3467     # removed, or if the path is relative.
3468     INSTALL=$ac_install_sh
3469   fi
3470 fi
3471 echo "$as_me:3471: result: $INSTALL" >&5
3472 echo "${ECHO_T}$INSTALL" >&6
3473
3474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3475 # It thinks the first close brace ends the variable substitution.
3476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3477
3478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3479
3480 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3481
3482 ac_ext=c
3483 ac_cpp='$CPP $CPPFLAGS'
3484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487 echo "$as_me:3487: checking how to run the C preprocessor" >&5
3488 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3489 # On Suns, sometimes $CPP names a directory.
3490 if test -n "$CPP" && test -d "$CPP"; then
3491   CPP=
3492 fi
3493 if test -z "$CPP"; then
3494   if test "${ac_cv_prog_CPP+set}" = set; then
3495   echo $ECHO_N "(cached) $ECHO_C" >&6
3496 else
3497       # Double quotes because CPP needs to be expanded
3498     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3499     do
3500       ac_preproc_ok=false
3501 for ac_c_preproc_warn_flag in '' yes
3502 do
3503   # Use a header file that comes with gcc, so configuring glibc
3504   # with a fresh cross-compiler works.
3505   # On the NeXT, cc -E runs the code through the compiler's parser,
3506   # not just through cpp. "Syntax error" is here to catch this case.
3507   cat >conftest.$ac_ext <<_ACEOF
3508 #line 3508 "configure"
3509 #include "confdefs.h"
3510 #include <assert.h>
3511                      Syntax error
3512 _ACEOF
3513 if { (eval echo "$as_me:3513: \"$ac_cpp conftest.$ac_ext\"") >&5
3514   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3515   ac_status=$?
3516   egrep -v '^ *\+' conftest.er1 >conftest.err
3517   rm -f conftest.er1
3518   cat conftest.err >&5
3519   echo "$as_me:3519: \$? = $ac_status" >&5
3520   (exit $ac_status); } >/dev/null; then
3521   if test -s conftest.err; then
3522     ac_cpp_err=$ac_c_preproc_warn_flag
3523   else
3524     ac_cpp_err=
3525   fi
3526 else
3527   ac_cpp_err=yes
3528 fi
3529 if test -z "$ac_cpp_err"; then
3530   :
3531 else
3532   echo "$as_me: failed program was:" >&5
3533   cat conftest.$ac_ext >&5
3534   # Broken: fails on valid input.
3535 continue
3536 fi
3537 rm -f conftest.err conftest.$ac_ext
3538
3539   # OK, works on sane cases.  Now check whether non-existent headers
3540   # can be detected and how.
3541   cat >conftest.$ac_ext <<_ACEOF
3542 #line 3542 "configure"
3543 #include "confdefs.h"
3544 #include <ac_nonexistent.h>
3545 _ACEOF
3546 if { (eval echo "$as_me:3546: \"$ac_cpp conftest.$ac_ext\"") >&5
3547   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3548   ac_status=$?
3549   egrep -v '^ *\+' conftest.er1 >conftest.err
3550   rm -f conftest.er1
3551   cat conftest.err >&5
3552   echo "$as_me:3552: \$? = $ac_status" >&5
3553   (exit $ac_status); } >/dev/null; then
3554   if test -s conftest.err; then
3555     ac_cpp_err=$ac_c_preproc_warn_flag
3556   else
3557     ac_cpp_err=
3558   fi
3559 else
3560   ac_cpp_err=yes
3561 fi
3562 if test -z "$ac_cpp_err"; then
3563   # Broken: success on invalid input.
3564 continue
3565 else
3566   echo "$as_me: failed program was:" >&5
3567   cat conftest.$ac_ext >&5
3568   # Passes both tests.
3569 ac_preproc_ok=:
3570 break
3571 fi
3572 rm -f conftest.err conftest.$ac_ext
3573
3574 done
3575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3576 rm -f conftest.err conftest.$ac_ext
3577 if $ac_preproc_ok; then
3578   break
3579 fi
3580
3581     done
3582     ac_cv_prog_CPP=$CPP
3583
3584 fi
3585   CPP=$ac_cv_prog_CPP
3586 else
3587   ac_cv_prog_CPP=$CPP
3588 fi
3589 echo "$as_me:3589: result: $CPP" >&5
3590 echo "${ECHO_T}$CPP" >&6
3591 ac_preproc_ok=false
3592 for ac_c_preproc_warn_flag in '' yes
3593 do
3594   # Use a header file that comes with gcc, so configuring glibc
3595   # with a fresh cross-compiler works.
3596   # On the NeXT, cc -E runs the code through the compiler's parser,
3597   # not just through cpp. "Syntax error" is here to catch this case.
3598   cat >conftest.$ac_ext <<_ACEOF
3599 #line 3599 "configure"
3600 #include "confdefs.h"
3601 #include <assert.h>
3602                      Syntax error
3603 _ACEOF
3604 if { (eval echo "$as_me:3604: \"$ac_cpp conftest.$ac_ext\"") >&5
3605   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3606   ac_status=$?
3607   egrep -v '^ *\+' conftest.er1 >conftest.err
3608   rm -f conftest.er1
3609   cat conftest.err >&5
3610   echo "$as_me:3610: \$? = $ac_status" >&5
3611   (exit $ac_status); } >/dev/null; then
3612   if test -s conftest.err; then
3613     ac_cpp_err=$ac_c_preproc_warn_flag
3614   else
3615     ac_cpp_err=
3616   fi
3617 else
3618   ac_cpp_err=yes
3619 fi
3620 if test -z "$ac_cpp_err"; then
3621   :
3622 else
3623   echo "$as_me: failed program was:" >&5
3624   cat conftest.$ac_ext >&5
3625   # Broken: fails on valid input.
3626 continue
3627 fi
3628 rm -f conftest.err conftest.$ac_ext
3629
3630   # OK, works on sane cases.  Now check whether non-existent headers
3631   # can be detected and how.
3632   cat >conftest.$ac_ext <<_ACEOF
3633 #line 3633 "configure"
3634 #include "confdefs.h"
3635 #include <ac_nonexistent.h>
3636 _ACEOF
3637 if { (eval echo "$as_me:3637: \"$ac_cpp conftest.$ac_ext\"") >&5
3638   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3639   ac_status=$?
3640   egrep -v '^ *\+' conftest.er1 >conftest.err
3641   rm -f conftest.er1
3642   cat conftest.err >&5
3643   echo "$as_me:3643: \$? = $ac_status" >&5
3644   (exit $ac_status); } >/dev/null; then
3645   if test -s conftest.err; then
3646     ac_cpp_err=$ac_c_preproc_warn_flag
3647   else
3648     ac_cpp_err=
3649   fi
3650 else
3651   ac_cpp_err=yes
3652 fi
3653 if test -z "$ac_cpp_err"; then
3654   # Broken: success on invalid input.
3655 continue
3656 else
3657   echo "$as_me: failed program was:" >&5
3658   cat conftest.$ac_ext >&5
3659   # Passes both tests.
3660 ac_preproc_ok=:
3661 break
3662 fi
3663 rm -f conftest.err conftest.$ac_ext
3664
3665 done
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.err conftest.$ac_ext
3668 if $ac_preproc_ok; then
3669   :
3670 else
3671   { { echo "$as_me:3671: error: C preprocessor \"$CPP\" fails sanity check" >&5
3672 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3673    { (exit 1); exit 1; }; }
3674 fi
3675
3676 ac_ext=c
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681
3682 # Extract the first word of "rm", so it can be a program name with args.
3683 set dummy rm; ac_word=$2
3684 echo "$as_me:3684: checking for $ac_word" >&5
3685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3686 if test "${ac_cv_path_RM+set}" = set; then
3687   echo $ECHO_N "(cached) $ECHO_C" >&6
3688 else
3689   case $RM in
3690   [\\/]* | ?:[\\/]*)
3691   ac_cv_path_RM="$RM" # Let the user override the test with a path.
3692   ;;
3693   *)
3694   ac_save_IFS=$IFS; IFS=$ac_path_separator
3695 ac_dummy="$PATH"
3696 for ac_dir in $ac_dummy; do
3697   IFS=$ac_save_IFS
3698   test -z "$ac_dir" && ac_dir=.
3699   if $as_executable_p "$ac_dir/$ac_word"; then
3700    ac_cv_path_RM="$ac_dir/$ac_word"
3701    echo "$as_me:3701: found $ac_dir/$ac_word" >&5
3702    break
3703 fi
3704 done
3705
3706   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
3707   ;;
3708 esac
3709 fi
3710 RM=$ac_cv_path_RM
3711
3712 if test -n "$RM"; then
3713   echo "$as_me:3713: result: $RM" >&5
3714 echo "${ECHO_T}$RM" >&6
3715 else
3716   echo "$as_me:3716: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 fi
3719
3720 # Extract the first word of "mv", so it can be a program name with args.
3721 set dummy mv; ac_word=$2
3722 echo "$as_me:3722: checking for $ac_word" >&5
3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3724 if test "${ac_cv_path_MV+set}" = set; then
3725   echo $ECHO_N "(cached) $ECHO_C" >&6
3726 else
3727   case $MV in
3728   [\\/]* | ?:[\\/]*)
3729   ac_cv_path_MV="$MV" # Let the user override the test with a path.
3730   ;;
3731   *)
3732   ac_save_IFS=$IFS; IFS=$ac_path_separator
3733 ac_dummy="$PATH"
3734 for ac_dir in $ac_dummy; do
3735   IFS=$ac_save_IFS
3736   test -z "$ac_dir" && ac_dir=.
3737   if $as_executable_p "$ac_dir/$ac_word"; then
3738    ac_cv_path_MV="$ac_dir/$ac_word"
3739    echo "$as_me:3739: found $ac_dir/$ac_word" >&5
3740    break
3741 fi
3742 done
3743
3744   test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
3745   ;;
3746 esac
3747 fi
3748 MV=$ac_cv_path_MV
3749
3750 if test -n "$MV"; then
3751   echo "$as_me:3751: result: $MV" >&5
3752 echo "${ECHO_T}$MV" >&6
3753 else
3754   echo "$as_me:3754: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3756 fi
3757
3758 # Extract the first word of "tar", so it can be a program name with args.
3759 set dummy tar; ac_word=$2
3760 echo "$as_me:3760: checking for $ac_word" >&5
3761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3762 if test "${ac_cv_path_TAR+set}" = set; then
3763   echo $ECHO_N "(cached) $ECHO_C" >&6
3764 else
3765   case $TAR in
3766   [\\/]* | ?:[\\/]*)
3767   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
3768   ;;
3769   *)
3770   ac_save_IFS=$IFS; IFS=$ac_path_separator
3771 ac_dummy="$PATH"
3772 for ac_dir in $ac_dummy; do
3773   IFS=$ac_save_IFS
3774   test -z "$ac_dir" && ac_dir=.
3775   if $as_executable_p "$ac_dir/$ac_word"; then
3776    ac_cv_path_TAR="$ac_dir/$ac_word"
3777    echo "$as_me:3777: found $ac_dir/$ac_word" >&5
3778    break
3779 fi
3780 done
3781
3782   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
3783   ;;
3784 esac
3785 fi
3786 TAR=$ac_cv_path_TAR
3787
3788 if test -n "$TAR"; then
3789   echo "$as_me:3789: result: $TAR" >&5
3790 echo "${ECHO_T}$TAR" >&6
3791 else
3792   echo "$as_me:3792: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3794 fi
3795
3796   succeeded=no
3797
3798   if test -z "$PKG_CONFIG"; then
3799     # Extract the first word of "pkg-config", so it can be a program name with args.
3800 set dummy pkg-config; ac_word=$2
3801 echo "$as_me:3801: checking for $ac_word" >&5
3802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3804   echo $ECHO_N "(cached) $ECHO_C" >&6
3805 else
3806   case $PKG_CONFIG in
3807   [\\/]* | ?:[\\/]*)
3808   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3809   ;;
3810   *)
3811   ac_save_IFS=$IFS; IFS=$ac_path_separator
3812 ac_dummy="$PATH"
3813 for ac_dir in $ac_dummy; do
3814   IFS=$ac_save_IFS
3815   test -z "$ac_dir" && ac_dir=.
3816   if $as_executable_p "$ac_dir/$ac_word"; then
3817    ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
3818    echo "$as_me:3818: found $ac_dir/$ac_word" >&5
3819    break
3820 fi
3821 done
3822
3823   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3824   ;;
3825 esac
3826 fi
3827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3828
3829 if test -n "$PKG_CONFIG"; then
3830   echo "$as_me:3830: result: $PKG_CONFIG" >&5
3831 echo "${ECHO_T}$PKG_CONFIG" >&6
3832 else
3833   echo "$as_me:3833: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 fi
3836
3837   fi
3838
3839   if test "$PKG_CONFIG" = "no" ; then
3840      echo "*** The pkg-config script could not be found. Make sure it is"
3841      echo "*** in your path, or set the PKG_CONFIG environment variable"
3842      echo "*** to the full path to pkg-config."
3843      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3844   else
3845      PKG_CONFIG_MIN_VERSION=0.9.0
3846      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3847         echo "$as_me:3847: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
3848 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
3849
3850         if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
3851             echo "$as_me:3851: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6
3853             succeeded=yes
3854
3855             echo "$as_me:3855: checking GLIB_CFLAGS" >&5
3856 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
3857             GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
3858             echo "$as_me:3858: result: $GLIB_CFLAGS" >&5
3859 echo "${ECHO_T}$GLIB_CFLAGS" >&6
3860
3861             echo "$as_me:3861: checking GLIB_LIBS" >&5
3862 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
3863             GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
3864             echo "$as_me:3864: result: $GLIB_LIBS" >&5
3865 echo "${ECHO_T}$GLIB_LIBS" >&6
3866         else
3867             GLIB_CFLAGS=""
3868             GLIB_LIBS=""
3869             ## If we have a custom action on failure, don't print errors, but
3870             ## do set a variable so people can do so.
3871             GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
3872             echo $GLIB_PKG_ERRORS
3873         fi
3874
3875      else
3876         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3877         echo "*** See http://www.freedesktop.org/software/pkgconfig"
3878      fi
3879   fi
3880
3881   if test $succeeded = yes; then
3882      :
3883   else
3884      { { echo "$as_me:3884: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3885 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3886    { (exit 1); exit 1; }; }
3887   fi
3888
3889 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
3890 cat >confcache <<\_ACEOF
3891 # This file is a shell script that caches the results of configure
3892 # tests run on this system so they can be shared between configure
3893 # scripts and configure runs, see configure's option --config-cache.
3894 # It is not useful on other systems.  If it contains results you don't
3895 # want to keep, you may remove or edit it.
3896 #
3897 # config.status only pays attention to the cache file if you give it
3898 # the --recheck option to rerun configure.
3899 #
3900 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3902 # following values.
3903
3904 _ACEOF
3905
3906 # The following way of writing the cache mishandles newlines in values,
3907 # but we know of no workaround that is simple, portable, and efficient.
3908 # So, don't put newlines in cache variables' values.
3909 # Ultrix sh set writes to stderr and can't be redirected directly,
3910 # and sets the high bit in the cache file unless we assign to the vars.
3911 {
3912   (set) 2>&1 |
3913     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3914     *ac_space=\ *)
3915       # `set' does not quote correctly, so add quotes (double-quote
3916       # substitution turns \\\\ into \\, and sed turns \\ into \).
3917       sed -n \
3918         "s/'/'\\\\''/g;
3919           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3920       ;;
3921     *)
3922       # `set' quotes correctly as required by POSIX, so do not add quotes.
3923       sed -n \
3924         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3925       ;;
3926     esac;
3927 } |
3928   sed '
3929      t clear
3930      : clear
3931      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3932      t end
3933      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3934      : end' >>confcache
3935 if cmp -s $cache_file confcache; then :; else
3936   if test -w $cache_file; then
3937     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3938     cat confcache >$cache_file
3939   else
3940     echo "not updating unwritable cache $cache_file"
3941   fi
3942 fi
3943 rm -f confcache
3944
3945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3946 # Let make expand exec_prefix.
3947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3948
3949 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3950 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3951 # trailing colons and then remove the whole line if VPATH becomes empty
3952 # (actually we leave an empty line to preserve line numbers).
3953 if test "x$srcdir" = x.; then
3954   ac_vpsub='/^[         ]*VPATH[        ]*=/{
3955 s/:*\$(srcdir):*/:/;
3956 s/:*\${srcdir}:*/:/;
3957 s/:*@srcdir@:*/:/;
3958 s/^\([^=]*=[    ]*\):*/\1/;
3959 s/:*$//;
3960 s/^[^=]*=[      ]*$//;
3961 }'
3962 fi
3963
3964 DEFS=-DHAVE_CONFIG_H
3965
3966 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3967   { { echo "$as_me:3967: error: conditional \"MAINTAINER_MODE\" was never defined.
3968 Usually this means the macro was only invoked conditionally." >&5
3969 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3970 Usually this means the macro was only invoked conditionally." >&2;}
3971    { (exit 1); exit 1; }; }
3972 fi
3973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3974   { { echo "$as_me:3974: error: conditional \"AMDEP\" was never defined.
3975 Usually this means the macro was only invoked conditionally." >&5
3976 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3977 Usually this means the macro was only invoked conditionally." >&2;}
3978    { (exit 1); exit 1; }; }
3979 fi
3980
3981 : ${CONFIG_STATUS=./config.status}
3982 ac_clean_files_save=$ac_clean_files
3983 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3984 { echo "$as_me:3984: creating $CONFIG_STATUS" >&5
3985 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3986 cat >$CONFIG_STATUS <<_ACEOF
3987 #! $SHELL
3988 # Generated automatically by configure.
3989 # Run this file to recreate the current configuration.
3990 # Compiler output produced by configure, useful for debugging
3991 # configure, is in config.log if it exists.
3992
3993 debug=false
3994 SHELL=\${CONFIG_SHELL-$SHELL}
3995 ac_cs_invocation="\$0 \$@"
3996
3997 _ACEOF
3998
3999 cat >>$CONFIG_STATUS <<\_ACEOF
4000 # Be Bourne compatible
4001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4002   emulate sh
4003   NULLCMD=:
4004 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4005   set -o posix
4006 fi
4007
4008 # Name of the executable.
4009 as_me=`echo "$0" |sed 's,.*[\\/],,'`
4010
4011 if expr a : '\(a\)' >/dev/null 2>&1; then
4012   as_expr=expr
4013 else
4014   as_expr=false
4015 fi
4016
4017 rm -f conf$$ conf$$.exe conf$$.file
4018 echo >conf$$.file
4019 if ln -s conf$$.file conf$$ 2>/dev/null; then
4020   # We could just check for DJGPP; but this test a) works b) is more generic
4021   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4022   if test -f conf$$.exe; then
4023     # Don't use ln at all; we don't have any links
4024     as_ln_s='cp -p'
4025   else
4026     as_ln_s='ln -s'
4027   fi
4028 elif ln conf$$.file conf$$ 2>/dev/null; then
4029   as_ln_s=ln
4030 else
4031   as_ln_s='cp -p'
4032 fi
4033 rm -f conf$$ conf$$.exe conf$$.file
4034
4035 as_executable_p="test -f"
4036
4037 # Support unset when possible.
4038 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4039   as_unset=unset
4040 else
4041   as_unset=false
4042 fi
4043
4044 # NLS nuisances.
4045 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
4046 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
4047 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
4048 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
4049 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
4050 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
4051 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
4052 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
4053
4054 # IFS
4055 # We need space, tab and new line, in precisely that order.
4056 as_nl='
4057 '
4058 IFS="   $as_nl"
4059
4060 # CDPATH.
4061 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
4062
4063 exec 6>&1
4064
4065 _ACEOF
4066
4067 # Files that config.status was made for.
4068 if test -n "$ac_config_files"; then
4069   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4070 fi
4071
4072 if test -n "$ac_config_headers"; then
4073   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4074 fi
4075
4076 if test -n "$ac_config_links"; then
4077   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4078 fi
4079
4080 if test -n "$ac_config_commands"; then
4081   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4082 fi
4083
4084 cat >>$CONFIG_STATUS <<\EOF
4085
4086 ac_cs_usage="\
4087 \`$as_me' instantiates files from templates according to the
4088 current configuration.
4089
4090 Usage: $0 [OPTIONS] [FILE]...
4091
4092   -h, --help       print this help, then exit
4093   -V, --version    print version number, then exit
4094   -d, --debug      don't remove temporary files
4095       --recheck    update $as_me by reconfiguring in the same conditions
4096   --file=FILE[:TEMPLATE]
4097                    instantiate the configuration file FILE
4098   --header=FILE[:TEMPLATE]
4099                    instantiate the configuration header FILE
4100
4101 Configuration files:
4102 $config_files
4103
4104 Configuration headers:
4105 $config_headers
4106
4107 Configuration commands:
4108 $config_commands
4109
4110 Report bugs to <bug-autoconf@gnu.org>."
4111 EOF
4112
4113 cat >>$CONFIG_STATUS <<EOF
4114 ac_cs_version="\\
4115 config.status
4116 configured by $0, generated by GNU Autoconf 2.52,
4117   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4118
4119 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4120 Free Software Foundation, Inc.
4121 This config.status script is free software; the Free Software Foundation
4122 gives unlimited permission to copy, distribute and modify it."
4123 srcdir=$srcdir
4124 INSTALL="$INSTALL"
4125 EOF
4126
4127 cat >>$CONFIG_STATUS <<\EOF
4128 # If no file are specified by the user, then we need to provide default
4129 # value.  By we need to know if files were specified by the user.
4130 ac_need_defaults=:
4131 while test $# != 0
4132 do
4133   case $1 in
4134   --*=*)
4135     ac_option=`expr "x$1" : 'x\([^=]*\)='`
4136     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4137     shift
4138     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4139     shift
4140     ;;
4141   -*);;
4142   *) # This is not an option, so the user has probably given explicit
4143      # arguments.
4144      ac_need_defaults=false;;
4145   esac
4146
4147   case $1 in
4148   # Handling of the options.
4149 EOF
4150 cat >>$CONFIG_STATUS <<EOF
4151   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4152     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4153     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4154 EOF
4155 cat >>$CONFIG_STATUS <<\EOF
4156   --version | --vers* | -V )
4157     echo "$ac_cs_version"; exit 0 ;;
4158   --he | --h)
4159     # Conflict between --help and --header
4160     { { echo "$as_me:4160: error: ambiguous option: $1
4161 Try \`$0 --help' for more information." >&5
4162 echo "$as_me: error: ambiguous option: $1
4163 Try \`$0 --help' for more information." >&2;}
4164    { (exit 1); exit 1; }; };;
4165   --help | --hel | -h )
4166     echo "$ac_cs_usage"; exit 0 ;;
4167   --debug | --d* | -d )
4168     debug=: ;;
4169   --file | --fil | --fi | --f )
4170     shift
4171     CONFIG_FILES="$CONFIG_FILES $1"
4172     ac_need_defaults=false;;
4173   --header | --heade | --head | --hea )
4174     shift
4175     CONFIG_HEADERS="$CONFIG_HEADERS $1"
4176     ac_need_defaults=false;;
4177
4178   # This is an error.
4179   -*) { { echo "$as_me:4179: error: unrecognized option: $1
4180 Try \`$0 --help' for more information." >&5
4181 echo "$as_me: error: unrecognized option: $1
4182 Try \`$0 --help' for more information." >&2;}
4183    { (exit 1); exit 1; }; } ;;
4184
4185   *) ac_config_targets="$ac_config_targets $1" ;;
4186
4187   esac
4188   shift
4189 done
4190
4191 exec 5>>config.log
4192 cat >&5 << _ACEOF
4193
4194 ## ----------------------- ##
4195 ## Running config.status.  ##
4196 ## ----------------------- ##
4197
4198 This file was extended by $as_me 2.52, executed with
4199   CONFIG_FILES    = $CONFIG_FILES
4200   CONFIG_HEADERS  = $CONFIG_HEADERS
4201   CONFIG_LINKS    = $CONFIG_LINKS
4202   CONFIG_COMMANDS = $CONFIG_COMMANDS
4203   > $ac_cs_invocation
4204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4205
4206 _ACEOF
4207 EOF
4208
4209 cat >>$CONFIG_STATUS <<EOF
4210 #
4211 # INIT-COMMANDS section.
4212 #
4213
4214 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4215
4216 EOF
4217
4218 cat >>$CONFIG_STATUS <<\EOF
4219 for ac_config_target in $ac_config_targets
4220 do
4221   case "$ac_config_target" in
4222   # Handling of arguments.
4223   "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
4224   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4225   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4226   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4227   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
4228   "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
4229   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4230   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4231   *) { { echo "$as_me:4231: error: invalid argument: $ac_config_target" >&5
4232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4233    { (exit 1); exit 1; }; };;
4234   esac
4235 done
4236
4237 # If the user did not use the arguments to specify the items to instantiate,
4238 # then the envvar interface is used.  Set only those that are not.
4239 # We use the long form for the default assignment because of an extremely
4240 # bizarre bug on SunOS 4.1.3.
4241 if $ac_need_defaults; then
4242   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4243   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4244   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4245 fi
4246
4247 # Create a temporary directory, and hook for its removal unless debugging.
4248 $debug ||
4249 {
4250   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4251   trap '{ (exit 1); exit 1; }' 1 2 13 15
4252 }
4253
4254 # Create a (secure) tmp directory for tmp files.
4255 : ${TMPDIR=/tmp}
4256 {
4257   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4258   test -n "$tmp" && test -d "$tmp"
4259 }  ||
4260 {
4261   tmp=$TMPDIR/cs$$-$RANDOM
4262   (umask 077 && mkdir $tmp)
4263 } ||
4264 {
4265    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4266    { (exit 1); exit 1; }
4267 }
4268
4269 EOF
4270
4271 cat >>$CONFIG_STATUS <<EOF
4272
4273 #
4274 # CONFIG_FILES section.
4275 #
4276
4277 # No need to generate the scripts if there are no CONFIG_FILES.
4278 # This happens for instance when ./config.status config.h
4279 if test -n "\$CONFIG_FILES"; then
4280   # Protect against being on the right side of a sed subst in config.status.
4281   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4282    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4283 s,@SHELL@,$SHELL,;t t
4284 s,@exec_prefix@,$exec_prefix,;t t
4285 s,@prefix@,$prefix,;t t
4286 s,@program_transform_name@,$program_transform_name,;t t
4287 s,@bindir@,$bindir,;t t
4288 s,@sbindir@,$sbindir,;t t
4289 s,@libexecdir@,$libexecdir,;t t
4290 s,@datadir@,$datadir,;t t
4291 s,@sysconfdir@,$sysconfdir,;t t
4292 s,@sharedstatedir@,$sharedstatedir,;t t
4293 s,@localstatedir@,$localstatedir,;t t
4294 s,@libdir@,$libdir,;t t
4295 s,@includedir@,$includedir,;t t
4296 s,@oldincludedir@,$oldincludedir,;t t
4297 s,@infodir@,$infodir,;t t
4298 s,@mandir@,$mandir,;t t
4299 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4300 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4301 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4302 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4303 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4304 s,@build_alias@,$build_alias,;t t
4305 s,@host_alias@,$host_alias,;t t
4306 s,@target_alias@,$target_alias,;t t
4307 s,@ECHO_C@,$ECHO_C,;t t
4308 s,@ECHO_N@,$ECHO_N,;t t
4309 s,@ECHO_T@,$ECHO_T,;t t
4310 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4311 s,@DEFS@,$DEFS,;t t
4312 s,@LIBS@,$LIBS,;t t
4313 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4314 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4315 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4316 s,@PACKAGE@,$PACKAGE,;t t
4317 s,@VERSION@,$VERSION,;t t
4318 s,@ACLOCAL@,$ACLOCAL,;t t
4319 s,@AUTOCONF@,$AUTOCONF,;t t
4320 s,@AUTOMAKE@,$AUTOMAKE,;t t
4321 s,@AUTOHEADER@,$AUTOHEADER,;t t
4322 s,@MAKEINFO@,$MAKEINFO,;t t
4323 s,@AMTAR@,$AMTAR,;t t
4324 s,@install_sh@,$install_sh,;t t
4325 s,@STRIP@,$STRIP,;t t
4326 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4327 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4328 s,@AWK@,$AWK,;t t
4329 s,@SET_MAKE@,$SET_MAKE,;t t
4330 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4331 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4332 s,@MAINT@,$MAINT,;t t
4333 s,@SUBDIRS@,$SUBDIRS,;t t
4334 s,@DOINSTGOB@,$DOINSTGOB,;t t
4335 s,@NOINSTGOB@,$NOINSTGOB,;t t
4336 s,@CC@,$CC,;t t
4337 s,@CFLAGS@,$CFLAGS,;t t
4338 s,@LDFLAGS@,$LDFLAGS,;t t
4339 s,@CPPFLAGS@,$CPPFLAGS,;t t
4340 s,@ac_ct_CC@,$ac_ct_CC,;t t
4341 s,@EXEEXT@,$EXEEXT,;t t
4342 s,@OBJEXT@,$OBJEXT,;t t
4343 s,@DEPDIR@,$DEPDIR,;t t
4344 s,@am__include@,$am__include,;t t
4345 s,@am__quote@,$am__quote,;t t
4346 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4347 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4348 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4349 s,@CCDEPMODE@,$CCDEPMODE,;t t
4350 s,@CPP@,$CPP,;t t
4351 s,@YACC@,$YACC,;t t
4352 s,@LEX@,$LEX,;t t
4353 s,@LEXLIB@,$LEXLIB,;t t
4354 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
4355 s,@RM@,$RM,;t t
4356 s,@MV@,$MV,;t t
4357 s,@TAR@,$TAR,;t t
4358 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4359 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
4360 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
4361 s,@YFLAGS@,$YFLAGS,;t t
4362 CEOF
4363
4364 EOF
4365
4366   cat >>$CONFIG_STATUS <<\EOF
4367   # Split the substitutions into bite-sized pieces for seds with
4368   # small command number limits, like on Digital OSF/1 and HP-UX.
4369   ac_max_sed_lines=48
4370   ac_sed_frag=1 # Number of current file.
4371   ac_beg=1 # First line for current file.
4372   ac_end=$ac_max_sed_lines # Line after last line for current file.
4373   ac_more_lines=:
4374   ac_sed_cmds=
4375   while $ac_more_lines; do
4376     if test $ac_beg -gt 1; then
4377       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4378     else
4379       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4380     fi
4381     if test ! -s $tmp/subs.frag; then
4382       ac_more_lines=false
4383     else
4384       # The purpose of the label and of the branching condition is to
4385       # speed up the sed processing (if there are no `@' at all, there
4386       # is no need to browse any of the substitutions).
4387       # These are the two extra sed commands mentioned above.
4388       (echo ':t
4389   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4390       if test -z "$ac_sed_cmds"; then
4391         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4392       else
4393         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4394       fi
4395       ac_sed_frag=`expr $ac_sed_frag + 1`
4396       ac_beg=$ac_end
4397       ac_end=`expr $ac_end + $ac_max_sed_lines`
4398     fi
4399   done
4400   if test -z "$ac_sed_cmds"; then
4401     ac_sed_cmds=cat
4402   fi
4403 fi # test -n "$CONFIG_FILES"
4404
4405 EOF
4406 cat >>$CONFIG_STATUS <<\EOF
4407 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4408   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4409   case $ac_file in
4410   - | *:- | *:-:* ) # input from stdin
4411         cat >$tmp/stdin
4412         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4413         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4414   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4415         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4416   * )   ac_file_in=$ac_file.in ;;
4417   esac
4418
4419   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4420   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4421          X"$ac_file" : 'X\(//\)[^/]' \| \
4422          X"$ac_file" : 'X\(//\)$' \| \
4423          X"$ac_file" : 'X\(/\)' \| \
4424          .     : '\(.\)' 2>/dev/null ||
4425 echo X"$ac_file" |
4426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4427           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4428           /^X\(\/\/\)$/{ s//\1/; q; }
4429           /^X\(\/\).*/{ s//\1/; q; }
4430           s/.*/./; q'`
4431   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4432     { case "$ac_dir" in
4433   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4434   *)                      as_incr_dir=.;;
4435 esac
4436 as_dummy="$ac_dir"
4437 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4438   case $as_mkdir_dir in
4439     # Skip DOS drivespec
4440     ?:) as_incr_dir=$as_mkdir_dir ;;
4441     *)
4442       as_incr_dir=$as_incr_dir/$as_mkdir_dir
4443       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4444     ;;
4445   esac
4446 done; }
4447
4448     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
4449     # A "../" for each directory in $ac_dir_suffix.
4450     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
4451   else
4452     ac_dir_suffix= ac_dots=
4453   fi
4454
4455   case $srcdir in
4456   .)  ac_srcdir=.
4457       if test -z "$ac_dots"; then
4458          ac_top_srcdir=.
4459       else
4460          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
4461       fi ;;
4462   [\\/]* | ?:[\\/]* )
4463       ac_srcdir=$srcdir$ac_dir_suffix;
4464       ac_top_srcdir=$srcdir ;;
4465   *) # Relative path.
4466     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
4467     ac_top_srcdir=$ac_dots$srcdir ;;
4468   esac
4469
4470   case $INSTALL in
4471   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4472   *) ac_INSTALL=$ac_dots$INSTALL ;;
4473   esac
4474
4475   if test x"$ac_file" != x-; then
4476     { echo "$as_me:4476: creating $ac_file" >&5
4477 echo "$as_me: creating $ac_file" >&6;}
4478     rm -f "$ac_file"
4479   fi
4480   # Let's still pretend it is `configure' which instantiates (i.e., don't
4481   # use $as_me), people would be surprised to read:
4482   #    /* config.h.  Generated automatically by config.status.  */
4483   configure_input="Generated automatically from `echo $ac_file_in |
4484                                                  sed 's,.*/,,'` by configure."
4485
4486   # First look for the input files in the build tree, otherwise in the
4487   # src tree.
4488   ac_file_inputs=`IFS=:
4489     for f in $ac_file_in; do
4490       case $f in
4491       -) echo $tmp/stdin ;;
4492       [\\/$]*)
4493          # Absolute (can't be DOS-style, as IFS=:)
4494          test -f "$f" || { { echo "$as_me:4494: error: cannot find input file: $f" >&5
4495 echo "$as_me: error: cannot find input file: $f" >&2;}
4496    { (exit 1); exit 1; }; }
4497          echo $f;;
4498       *) # Relative
4499          if test -f "$f"; then
4500            # Build tree
4501            echo $f
4502          elif test -f "$srcdir/$f"; then
4503            # Source tree
4504            echo $srcdir/$f
4505          else
4506            # /dev/null tree
4507            { { echo "$as_me:4507: error: cannot find input file: $f" >&5
4508 echo "$as_me: error: cannot find input file: $f" >&2;}
4509    { (exit 1); exit 1; }; }
4510          fi;;
4511       esac
4512     done` || { (exit 1); exit 1; }
4513 EOF
4514 cat >>$CONFIG_STATUS <<EOF
4515   sed "$ac_vpsub
4516 $extrasub
4517 EOF
4518 cat >>$CONFIG_STATUS <<\EOF
4519 :t
4520 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4521 s,@configure_input@,$configure_input,;t t
4522 s,@srcdir@,$ac_srcdir,;t t
4523 s,@top_srcdir@,$ac_top_srcdir,;t t
4524 s,@INSTALL@,$ac_INSTALL,;t t
4525 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4526   rm -f $tmp/stdin
4527   if test x"$ac_file" != x-; then
4528     mv $tmp/out $ac_file
4529   else
4530     cat $tmp/out
4531     rm -f $tmp/out
4532   fi
4533
4534 done
4535 EOF
4536 cat >>$CONFIG_STATUS <<\EOF
4537
4538 #
4539 # CONFIG_HEADER section.
4540 #
4541
4542 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4543 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4544 #
4545 # ac_d sets the value in "#define NAME VALUE" lines.
4546 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4547 ac_dB='[        ].*$,\1#\2'
4548 ac_dC=' '
4549 ac_dD=',;t'
4550 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4551 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4552 ac_uB='$,\1#\2define\3'
4553 ac_uC=' '
4554 ac_uD=',;t'
4555
4556 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4557   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4558   case $ac_file in
4559   - | *:- | *:-:* ) # input from stdin
4560         cat >$tmp/stdin
4561         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4562         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4563   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4564         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4565   * )   ac_file_in=$ac_file.in ;;
4566   esac
4567
4568   test x"$ac_file" != x- && { echo "$as_me:4568: creating $ac_file" >&5
4569 echo "$as_me: creating $ac_file" >&6;}
4570
4571   # First look for the input files in the build tree, otherwise in the
4572   # src tree.
4573   ac_file_inputs=`IFS=:
4574     for f in $ac_file_in; do
4575       case $f in
4576       -) echo $tmp/stdin ;;
4577       [\\/$]*)
4578          # Absolute (can't be DOS-style, as IFS=:)
4579          test -f "$f" || { { echo "$as_me:4579: error: cannot find input file: $f" >&5
4580 echo "$as_me: error: cannot find input file: $f" >&2;}
4581    { (exit 1); exit 1; }; }
4582          echo $f;;
4583       *) # Relative
4584          if test -f "$f"; then
4585            # Build tree
4586            echo $f
4587          elif test -f "$srcdir/$f"; then
4588            # Source tree
4589            echo $srcdir/$f
4590          else
4591            # /dev/null tree
4592            { { echo "$as_me:4592: error: cannot find input file: $f" >&5
4593 echo "$as_me: error: cannot find input file: $f" >&2;}
4594    { (exit 1); exit 1; }; }
4595          fi;;
4596       esac
4597     done` || { (exit 1); exit 1; }
4598   # Remove the trailing spaces.
4599   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
4600
4601 EOF
4602
4603 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4604 # `conftest.undefs', that substitutes the proper values into
4605 # config.h.in to produce config.h.  The first handles `#define'
4606 # templates, and the second `#undef' templates.
4607 # And first: Protect against being on the right side of a sed subst in
4608 # config.status.  Protect against being in an unquoted here document
4609 # in config.status.
4610 rm -f conftest.defines conftest.undefs
4611 # Using a here document instead of a string reduces the quoting nightmare.
4612 # Putting comments in sed scripts is not portable.
4613 #
4614 # `end' is used to avoid that the second main sed command (meant for
4615 # 0-ary CPP macros) applies to n-ary macro definitions.
4616 # See the Autoconf documentation for `clear'.
4617 cat >confdef2sed.sed <<\EOF
4618 s/[\\&,]/\\&/g
4619 s,[\\$`],\\&,g
4620 t clear
4621 : clear
4622 s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
4623 t end
4624 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4625 : end
4626 EOF
4627 # If some macros were called several times there might be several times
4628 # the same #defines, which is useless.  Nevertheless, we may not want to
4629 # sort them, since we want the *last* AC-DEFINE to be honored.
4630 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4631 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4632 rm -f confdef2sed.sed
4633
4634 # This sed command replaces #undef with comments.  This is necessary, for
4635 # example, in the case of _POSIX_SOURCE, which is predefined and required
4636 # on some systems where configure will not decide to define it.
4637 cat >>conftest.undefs <<\EOF
4638 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4639 EOF
4640
4641 # Break up conftest.defines because some shells have a limit on the size
4642 # of here documents, and old seds have small limits too (100 cmds).
4643 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4644 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4645 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4646 echo '  :' >>$CONFIG_STATUS
4647 rm -f conftest.tail
4648 while grep . conftest.defines >/dev/null
4649 do
4650   # Write a limited-size here document to $tmp/defines.sed.
4651   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4652   # Speed up: don't consider the non `#define' lines.
4653   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
4654   # Work around the forget-to-reset-the-flag bug.
4655   echo 't clr' >>$CONFIG_STATUS
4656   echo ': clr' >>$CONFIG_STATUS
4657   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4658   echo 'CEOF
4659   sed -f $tmp/defines.sed $tmp/in >$tmp/out
4660   rm -f $tmp/in
4661   mv $tmp/out $tmp/in
4662 ' >>$CONFIG_STATUS
4663   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4664   rm -f conftest.defines
4665   mv conftest.tail conftest.defines
4666 done
4667 rm -f conftest.defines
4668 echo '  fi # egrep' >>$CONFIG_STATUS
4669 echo >>$CONFIG_STATUS
4670
4671 # Break up conftest.undefs because some shells have a limit on the size
4672 # of here documents, and old seds have small limits too (100 cmds).
4673 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4674 rm -f conftest.tail
4675 while grep . conftest.undefs >/dev/null
4676 do
4677   # Write a limited-size here document to $tmp/undefs.sed.
4678   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4679   # Speed up: don't consider the non `#undef'
4680   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4681   # Work around the forget-to-reset-the-flag bug.
4682   echo 't clr' >>$CONFIG_STATUS
4683   echo ': clr' >>$CONFIG_STATUS
4684   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4685   echo 'CEOF
4686   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4687   rm -f $tmp/in
4688   mv $tmp/out $tmp/in
4689 ' >>$CONFIG_STATUS
4690   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4691   rm -f conftest.undefs
4692   mv conftest.tail conftest.undefs
4693 done
4694 rm -f conftest.undefs
4695
4696 cat >>$CONFIG_STATUS <<\EOF
4697   # Let's still pretend it is `configure' which instantiates (i.e., don't
4698   # use $as_me), people would be surprised to read:
4699   #    /* config.h.  Generated automatically by config.status.  */
4700   if test x"$ac_file" = x-; then
4701     echo "/* Generated automatically by configure.  */" >$tmp/config.h
4702   else
4703     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
4704   fi
4705   cat $tmp/in >>$tmp/config.h
4706   rm -f $tmp/in
4707   if test x"$ac_file" != x-; then
4708     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4709       { echo "$as_me:4709: $ac_file is unchanged" >&5
4710 echo "$as_me: $ac_file is unchanged" >&6;}
4711     else
4712       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4713          X"$ac_file" : 'X\(//\)[^/]' \| \
4714          X"$ac_file" : 'X\(//\)$' \| \
4715          X"$ac_file" : 'X\(/\)' \| \
4716          .     : '\(.\)' 2>/dev/null ||
4717 echo X"$ac_file" |
4718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4719           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4720           /^X\(\/\/\)$/{ s//\1/; q; }
4721           /^X\(\/\).*/{ s//\1/; q; }
4722           s/.*/./; q'`
4723       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4724         { case "$ac_dir" in
4725   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4726   *)                      as_incr_dir=.;;
4727 esac
4728 as_dummy="$ac_dir"
4729 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4730   case $as_mkdir_dir in
4731     # Skip DOS drivespec
4732     ?:) as_incr_dir=$as_mkdir_dir ;;
4733     *)
4734       as_incr_dir=$as_incr_dir/$as_mkdir_dir
4735       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4736     ;;
4737   esac
4738 done; }
4739
4740       fi
4741       rm -f $ac_file
4742       mv $tmp/config.h $ac_file
4743     fi
4744   else
4745     cat $tmp/config.h
4746     rm -f $tmp/config.h
4747   fi
4748   # Run the commands associated with the file.
4749   case $ac_file in
4750     config.h ) # update the timestamp
4751 echo 'timestamp for config.h' >"./stamp-h1"
4752  ;;
4753   esac
4754 done
4755 EOF
4756 cat >>$CONFIG_STATUS <<\EOF
4757
4758 #
4759 # CONFIG_COMMANDS section.
4760 #
4761 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4762   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4763   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4764
4765   case $ac_dest in
4766     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4767   # Strip MF so we end up with the name of the file.
4768   mf=`echo "$mf" | sed -e 's/:.*$//'`
4769   # Check whether this is an Automake generated Makefile or not.
4770   # We used to match only the files named `Makefile.in', but
4771   # some people rename them; so instead we look at the file content.
4772   # Grep'ing the first line is not enough: some people post-process
4773   # each Makefile.in and add a new line on top of each file to say so.
4774   # So let's grep whole file.
4775   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4776     dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777          X"$mf" : 'X\(//\)[^/]' \| \
4778          X"$mf" : 'X\(//\)$' \| \
4779          X"$mf" : 'X\(/\)' \| \
4780          .     : '\(.\)' 2>/dev/null ||
4781 echo X"$mf" |
4782     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4783           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4784           /^X\(\/\/\)$/{ s//\1/; q; }
4785           /^X\(\/\).*/{ s//\1/; q; }
4786           s/.*/./; q'`
4787   else
4788     continue
4789   fi
4790   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4791   # Extract the definition of DEP_FILES from the Makefile without
4792   # running `make'.
4793   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4794   test -z "$DEPDIR" && continue
4795   # When using ansi2knr, U may be empty or an underscore; expand it
4796   U=`sed -n -e '/^U = / s///p' < "$mf"`
4797   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4798   # We invoke sed twice because it is the simplest approach to
4799   # changing $(DEPDIR) to its actual value in the expansion.
4800   for file in `sed -n -e '
4801     /^DEP_FILES = .*\\\\$/ {
4802       s/^DEP_FILES = //
4803       :loop
4804         s/\\\\$//
4805         p
4806         n
4807         /\\\\$/ b loop
4808       p
4809     }
4810     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4811        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4812     # Make sure the directory exists.
4813     test -f "$dirpart/$file" && continue
4814     fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4815          X"$file" : 'X\(//\)[^/]' \| \
4816          X"$file" : 'X\(//\)$' \| \
4817          X"$file" : 'X\(/\)' \| \
4818          .     : '\(.\)' 2>/dev/null ||
4819 echo X"$file" |
4820     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4821           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4822           /^X\(\/\/\)$/{ s//\1/; q; }
4823           /^X\(\/\).*/{ s//\1/; q; }
4824           s/.*/./; q'`
4825     { case $dirpart/$fdir in
4826   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4827   *)                      as_incr_dir=.;;
4828 esac
4829 as_dummy=$dirpart/$fdir
4830 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4831   case $as_mkdir_dir in
4832     # Skip DOS drivespec
4833     ?:) as_incr_dir=$as_mkdir_dir ;;
4834     *)
4835       as_incr_dir=$as_incr_dir/$as_mkdir_dir
4836       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4837     ;;
4838   esac
4839 done; }
4840
4841     # echo "creating $dirpart/$file"
4842     echo '# dummy' > "$dirpart/$file"
4843   done
4844 done
4845  ;;
4846   esac
4847 done
4848 EOF
4849
4850 cat >>$CONFIG_STATUS <<\EOF
4851
4852 { (exit 0); exit 0; }
4853 EOF
4854 chmod +x $CONFIG_STATUS
4855 ac_clean_files=$ac_clean_files_save
4856
4857 # configure is writing to config.log, and then calls config.status.
4858 # config.status does its own redirection, appending to config.log.
4859 # Unfortunately, on DOS this fails, as config.log is still kept open
4860 # by configure, so config.status won't be able to write to it; its
4861 # output is simply discarded.  So we exec the FD to /dev/null,
4862 # effectively closing config.log, so it can be properly (re)opened and
4863 # appended to by config.status.  When coming back to configure, we
4864 # need to make the FD available again.
4865 if test "$no_create" != yes; then
4866   ac_cs_success=:
4867   exec 5>/dev/null
4868   $SHELL $CONFIG_STATUS || ac_cs_success=false
4869   exec 5>>config.log
4870   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4871   # would make configure fail if this is the last instruction.
4872   $ac_cs_success || { (exit 1); exit 1; }
4873 fi
4874