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