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