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