]> git.draconx.ca Git - gob-dx.git/blob - configure
b7d0e8cc3a6628188cc5905fead5e01e010cd227
[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 -- . 2>/dev/null; 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 ./--;
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.7
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       : > sub/conftst$i.h
2770     done
2771     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2772
2773     case $depmode in
2774     nosideeffect)
2775       # after this tag, mechanisms are not by side-effect, so they'll
2776       # only be used when explicitly requested
2777       if test "x$enable_dependency_tracking" = xyes; then
2778         continue
2779       else
2780         break
2781       fi
2782       ;;
2783     none) break ;;
2784     esac
2785     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2786     # mode.  It turns out that the SunPro C++ compiler does not properly
2787     # handle `-M -o', and we need to detect this.
2788     if depmode=$depmode \
2789        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2790        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2791        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2792          >/dev/null 2>conftest.err &&
2793        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2794        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2795        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2796       # icc doesn't choke on unknown options, it will just issue warnings
2797       # (even with -Werror).  So we grep stderr for any message
2798       # that says an option was ignored.
2799       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2800         am_cv_CC_dependencies_compiler_type=$depmode
2801         break
2802       fi
2803     fi
2804   done
2805
2806   cd ..
2807   rm -rf conftest.dir
2808 else
2809   am_cv_CC_dependencies_compiler_type=none
2810 fi
2811
2812 fi
2813 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2814 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2815 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2816
2817
2818
2819 if
2820   test "x$enable_dependency_tracking" != xno \
2821   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2822   am__fastdepCC_TRUE=
2823   am__fastdepCC_FALSE='#'
2824 else
2825   am__fastdepCC_TRUE='#'
2826   am__fastdepCC_FALSE=
2827 fi
2828
2829
2830
2831 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2832 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2833 if test "${ac_cv_search_strerror+set}" = set; then
2834   echo $ECHO_N "(cached) $ECHO_C" >&6
2835 else
2836   ac_func_search_save_LIBS=$LIBS
2837 ac_cv_search_strerror=no
2838 cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h.  */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h.  */
2844
2845 /* Override any gcc2 internal prototype to avoid an error.  */
2846 #ifdef __cplusplus
2847 extern "C"
2848 #endif
2849 /* We use char because int might match the return type of a gcc2
2850    builtin and then its argument prototype would still apply.  */
2851 char strerror ();
2852 int
2853 main ()
2854 {
2855 strerror ();
2856   ;
2857   return 0;
2858 }
2859 _ACEOF
2860 rm -f conftest.$ac_objext conftest$ac_exeext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2862   (eval $ac_link) 2>conftest.er1
2863   ac_status=$?
2864   grep -v '^ *+' conftest.er1 >conftest.err
2865   rm -f conftest.er1
2866   cat conftest.err >&5
2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868   (exit $ac_status); } &&
2869          { ac_try='test -z "$ac_c_werror_flag"
2870                          || test ! -s conftest.err'
2871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872   (eval $ac_try) 2>&5
2873   ac_status=$?
2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875   (exit $ac_status); }; } &&
2876          { ac_try='test -s conftest$ac_exeext'
2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878   (eval $ac_try) 2>&5
2879   ac_status=$?
2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); }; }; then
2882   ac_cv_search_strerror="none required"
2883 else
2884   echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2886
2887 fi
2888 rm -f conftest.err conftest.$ac_objext \
2889       conftest$ac_exeext conftest.$ac_ext
2890 if test "$ac_cv_search_strerror" = no; then
2891   for ac_lib in cposix; do
2892     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2893     cat >conftest.$ac_ext <<_ACEOF
2894 /* confdefs.h.  */
2895 _ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h.  */
2899
2900 /* Override any gcc2 internal prototype to avoid an error.  */
2901 #ifdef __cplusplus
2902 extern "C"
2903 #endif
2904 /* We use char because int might match the return type of a gcc2
2905    builtin and then its argument prototype would still apply.  */
2906 char strerror ();
2907 int
2908 main ()
2909 {
2910 strerror ();
2911   ;
2912   return 0;
2913 }
2914 _ACEOF
2915 rm -f conftest.$ac_objext conftest$ac_exeext
2916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2917   (eval $ac_link) 2>conftest.er1
2918   ac_status=$?
2919   grep -v '^ *+' conftest.er1 >conftest.err
2920   rm -f conftest.er1
2921   cat conftest.err >&5
2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923   (exit $ac_status); } &&
2924          { ac_try='test -z "$ac_c_werror_flag"
2925                          || test ! -s conftest.err'
2926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927   (eval $ac_try) 2>&5
2928   ac_status=$?
2929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930   (exit $ac_status); }; } &&
2931          { ac_try='test -s conftest$ac_exeext'
2932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933   (eval $ac_try) 2>&5
2934   ac_status=$?
2935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936   (exit $ac_status); }; }; then
2937   ac_cv_search_strerror="-l$ac_lib"
2938 break
2939 else
2940   echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2942
2943 fi
2944 rm -f conftest.err conftest.$ac_objext \
2945       conftest$ac_exeext conftest.$ac_ext
2946   done
2947 fi
2948 LIBS=$ac_func_search_save_LIBS
2949 fi
2950 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2951 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2952 if test "$ac_cv_search_strerror" != no; then
2953   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2954
2955 fi
2956
2957 ac_ext=c
2958 ac_cpp='$CPP $CPPFLAGS'
2959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962 if test -n "$ac_tool_prefix"; then
2963   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2964 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2967 if test "${ac_cv_prog_CC+set}" = set; then
2968   echo $ECHO_N "(cached) $ECHO_C" >&6
2969 else
2970   if test -n "$CC"; then
2971   ac_cv_prog_CC="$CC" # Let the user override the test.
2972 else
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 for as_dir in $PATH
2975 do
2976   IFS=$as_save_IFS
2977   test -z "$as_dir" && as_dir=.
2978   for ac_exec_ext in '' $ac_executable_extensions; do
2979   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982     break 2
2983   fi
2984 done
2985 done
2986
2987 fi
2988 fi
2989 CC=$ac_cv_prog_CC
2990 if test -n "$CC"; then
2991   echo "$as_me:$LINENO: result: $CC" >&5
2992 echo "${ECHO_T}$CC" >&6
2993 else
2994   echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2996 fi
2997
2998 fi
2999 if test -z "$ac_cv_prog_CC"; then
3000   ac_ct_CC=$CC
3001   # Extract the first word of "gcc", so it can be a program name with args.
3002 set dummy gcc; ac_word=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3006   echo $ECHO_N "(cached) $ECHO_C" >&6
3007 else
3008   if test -n "$ac_ct_CC"; then
3009   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3010 else
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 for as_dir in $PATH
3013 do
3014   IFS=$as_save_IFS
3015   test -z "$as_dir" && as_dir=.
3016   for ac_exec_ext in '' $ac_executable_extensions; do
3017   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018     ac_cv_prog_ac_ct_CC="gcc"
3019     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020     break 2
3021   fi
3022 done
3023 done
3024
3025 fi
3026 fi
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3030 echo "${ECHO_T}$ac_ct_CC" >&6
3031 else
3032   echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3034 fi
3035
3036   CC=$ac_ct_CC
3037 else
3038   CC="$ac_cv_prog_CC"
3039 fi
3040
3041 if test -z "$CC"; then
3042   if test -n "$ac_tool_prefix"; then
3043   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3044 set dummy ${ac_tool_prefix}cc; ac_word=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_CC+set}" = set; then
3048   echo $ECHO_N "(cached) $ECHO_C" >&6
3049 else
3050   if test -n "$CC"; then
3051   ac_cv_prog_CC="$CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056   IFS=$as_save_IFS
3057   test -z "$as_dir" && as_dir=.
3058   for ac_exec_ext in '' $ac_executable_extensions; do
3059   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060     ac_cv_prog_CC="${ac_tool_prefix}cc"
3061     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062     break 2
3063   fi
3064 done
3065 done
3066
3067 fi
3068 fi
3069 CC=$ac_cv_prog_CC
3070 if test -n "$CC"; then
3071   echo "$as_me:$LINENO: result: $CC" >&5
3072 echo "${ECHO_T}$CC" >&6
3073 else
3074   echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3076 fi
3077
3078 fi
3079 if test -z "$ac_cv_prog_CC"; then
3080   ac_ct_CC=$CC
3081   # Extract the first word of "cc", so it can be a program name with args.
3082 set dummy cc; ac_word=$2
3083 echo "$as_me:$LINENO: checking for $ac_word" >&5
3084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3085 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3086   echo $ECHO_N "(cached) $ECHO_C" >&6
3087 else
3088   if test -n "$ac_ct_CC"; then
3089   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096   for ac_exec_ext in '' $ac_executable_extensions; do
3097   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098     ac_cv_prog_ac_ct_CC="cc"
3099     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3100     break 2
3101   fi
3102 done
3103 done
3104
3105 fi
3106 fi
3107 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3108 if test -n "$ac_ct_CC"; then
3109   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3110 echo "${ECHO_T}$ac_ct_CC" >&6
3111 else
3112   echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 fi
3115
3116   CC=$ac_ct_CC
3117 else
3118   CC="$ac_cv_prog_CC"
3119 fi
3120
3121 fi
3122 if test -z "$CC"; then
3123   # Extract the first word of "cc", so it can be a program name with args.
3124 set dummy cc; ac_word=$2
3125 echo "$as_me:$LINENO: checking for $ac_word" >&5
3126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3127 if test "${ac_cv_prog_CC+set}" = set; then
3128   echo $ECHO_N "(cached) $ECHO_C" >&6
3129 else
3130   if test -n "$CC"; then
3131   ac_cv_prog_CC="$CC" # Let the user override the test.
3132 else
3133   ac_prog_rejected=no
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3136 do
3137   IFS=$as_save_IFS
3138   test -z "$as_dir" && as_dir=.
3139   for ac_exec_ext in '' $ac_executable_extensions; do
3140   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3142        ac_prog_rejected=yes
3143        continue
3144      fi
3145     ac_cv_prog_CC="cc"
3146     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3147     break 2
3148   fi
3149 done
3150 done
3151
3152 if test $ac_prog_rejected = yes; then
3153   # We found a bogon in the path, so make sure we never use it.
3154   set dummy $ac_cv_prog_CC
3155   shift
3156   if test $# != 0; then
3157     # We chose a different compiler from the bogus one.
3158     # However, it has the same basename, so the bogon will be chosen
3159     # first if we set CC to just the basename; use the full file name.
3160     shift
3161     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3162   fi
3163 fi
3164 fi
3165 fi
3166 CC=$ac_cv_prog_CC
3167 if test -n "$CC"; then
3168   echo "$as_me:$LINENO: result: $CC" >&5
3169 echo "${ECHO_T}$CC" >&6
3170 else
3171   echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 fi
3174
3175 fi
3176 if test -z "$CC"; then
3177   if test -n "$ac_tool_prefix"; then
3178   for ac_prog in cl
3179   do
3180     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3182 echo "$as_me:$LINENO: checking for $ac_word" >&5
3183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3184 if test "${ac_cv_prog_CC+set}" = set; then
3185   echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187   if test -n "$CC"; then
3188   ac_cv_prog_CC="$CC" # Let the user override the test.
3189 else
3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 for as_dir in $PATH
3192 do
3193   IFS=$as_save_IFS
3194   test -z "$as_dir" && as_dir=.
3195   for ac_exec_ext in '' $ac_executable_extensions; do
3196   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3197     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3198     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3199     break 2
3200   fi
3201 done
3202 done
3203
3204 fi
3205 fi
3206 CC=$ac_cv_prog_CC
3207 if test -n "$CC"; then
3208   echo "$as_me:$LINENO: result: $CC" >&5
3209 echo "${ECHO_T}$CC" >&6
3210 else
3211   echo "$as_me:$LINENO: result: no" >&5
3212 echo "${ECHO_T}no" >&6
3213 fi
3214
3215     test -n "$CC" && break
3216   done
3217 fi
3218 if test -z "$CC"; then
3219   ac_ct_CC=$CC
3220   for ac_prog in cl
3221 do
3222   # Extract the first word of "$ac_prog", so it can be a program name with args.
3223 set dummy $ac_prog; ac_word=$2
3224 echo "$as_me:$LINENO: checking for $ac_word" >&5
3225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3227   echo $ECHO_N "(cached) $ECHO_C" >&6
3228 else
3229   if test -n "$ac_ct_CC"; then
3230   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237   for ac_exec_ext in '' $ac_executable_extensions; do
3238   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239     ac_cv_prog_ac_ct_CC="$ac_prog"
3240     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3241     break 2
3242   fi
3243 done
3244 done
3245
3246 fi
3247 fi
3248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3249 if test -n "$ac_ct_CC"; then
3250   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3251 echo "${ECHO_T}$ac_ct_CC" >&6
3252 else
3253   echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3255 fi
3256
3257   test -n "$ac_ct_CC" && break
3258 done
3259
3260   CC=$ac_ct_CC
3261 fi
3262
3263 fi
3264
3265
3266 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3267 See \`config.log' for more details." >&5
3268 echo "$as_me: error: no acceptable C compiler found in \$PATH
3269 See \`config.log' for more details." >&2;}
3270    { (exit 1); exit 1; }; }
3271
3272 # Provide some information about the compiler.
3273 echo "$as_me:$LINENO:" \
3274      "checking for C compiler version" >&5
3275 ac_compiler=`set X $ac_compile; echo $2`
3276 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3277   (eval $ac_compiler --version </dev/null >&5) 2>&5
3278   ac_status=$?
3279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280   (exit $ac_status); }
3281 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3282   (eval $ac_compiler -v </dev/null >&5) 2>&5
3283   ac_status=$?
3284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285   (exit $ac_status); }
3286 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3287   (eval $ac_compiler -V </dev/null >&5) 2>&5
3288   ac_status=$?
3289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290   (exit $ac_status); }
3291
3292 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3293 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3295   echo $ECHO_N "(cached) $ECHO_C" >&6
3296 else
3297   cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h.  */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h.  */
3303
3304 int
3305 main ()
3306 {
3307 #ifndef __GNUC__
3308        choke me
3309 #endif
3310
3311   ;
3312   return 0;
3313 }
3314 _ACEOF
3315 rm -f conftest.$ac_objext
3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3317   (eval $ac_compile) 2>conftest.er1
3318   ac_status=$?
3319   grep -v '^ *+' conftest.er1 >conftest.err
3320   rm -f conftest.er1
3321   cat conftest.err >&5
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); } &&
3324          { ac_try='test -z "$ac_c_werror_flag"
3325                          || test ! -s conftest.err'
3326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327   (eval $ac_try) 2>&5
3328   ac_status=$?
3329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330   (exit $ac_status); }; } &&
3331          { ac_try='test -s conftest.$ac_objext'
3332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333   (eval $ac_try) 2>&5
3334   ac_status=$?
3335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336   (exit $ac_status); }; }; then
3337   ac_compiler_gnu=yes
3338 else
3339   echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3341
3342 ac_compiler_gnu=no
3343 fi
3344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3346
3347 fi
3348 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3349 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3350 GCC=`test $ac_compiler_gnu = yes && echo yes`
3351 ac_test_CFLAGS=${CFLAGS+set}
3352 ac_save_CFLAGS=$CFLAGS
3353 CFLAGS="-g"
3354 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3355 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3356 if test "${ac_cv_prog_cc_g+set}" = set; then
3357   echo $ECHO_N "(cached) $ECHO_C" >&6
3358 else
3359   cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h.  */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h.  */
3365
3366 int
3367 main ()
3368 {
3369
3370   ;
3371   return 0;
3372 }
3373 _ACEOF
3374 rm -f conftest.$ac_objext
3375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3376   (eval $ac_compile) 2>conftest.er1
3377   ac_status=$?
3378   grep -v '^ *+' conftest.er1 >conftest.err
3379   rm -f conftest.er1
3380   cat conftest.err >&5
3381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382   (exit $ac_status); } &&
3383          { ac_try='test -z "$ac_c_werror_flag"
3384                          || test ! -s conftest.err'
3385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386   (eval $ac_try) 2>&5
3387   ac_status=$?
3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389   (exit $ac_status); }; } &&
3390          { ac_try='test -s conftest.$ac_objext'
3391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392   (eval $ac_try) 2>&5
3393   ac_status=$?
3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395   (exit $ac_status); }; }; then
3396   ac_cv_prog_cc_g=yes
3397 else
3398   echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3400
3401 ac_cv_prog_cc_g=no
3402 fi
3403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3404 fi
3405 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3406 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3407 if test "$ac_test_CFLAGS" = set; then
3408   CFLAGS=$ac_save_CFLAGS
3409 elif test $ac_cv_prog_cc_g = yes; then
3410   if test "$GCC" = yes; then
3411     CFLAGS="-g -O2"
3412   else
3413     CFLAGS="-g"
3414   fi
3415 else
3416   if test "$GCC" = yes; then
3417     CFLAGS="-O2"
3418   else
3419     CFLAGS=
3420   fi
3421 fi
3422 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3423 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3424 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3425   echo $ECHO_N "(cached) $ECHO_C" >&6
3426 else
3427   ac_cv_prog_cc_stdc=no
3428 ac_save_CC=$CC
3429 cat >conftest.$ac_ext <<_ACEOF
3430 /* confdefs.h.  */
3431 _ACEOF
3432 cat confdefs.h >>conftest.$ac_ext
3433 cat >>conftest.$ac_ext <<_ACEOF
3434 /* end confdefs.h.  */
3435 #include <stdarg.h>
3436 #include <stdio.h>
3437 #include <sys/types.h>
3438 #include <sys/stat.h>
3439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3440 struct buf { int x; };
3441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3442 static char *e (p, i)
3443      char **p;
3444      int i;
3445 {
3446   return p[i];
3447 }
3448 static char *f (char * (*g) (char **, int), char **p, ...)
3449 {
3450   char *s;
3451   va_list v;
3452   va_start (v,p);
3453   s = g (p, va_arg (v,int));
3454   va_end (v);
3455   return s;
3456 }
3457
3458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3459    function prototypes and stuff, but not '\xHH' hex character constants.
3460    These don't provoke an error unfortunately, instead are silently treated
3461    as 'x'.  The following induces an error, until -std1 is added to get
3462    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3463    array size at least.  It's necessary to write '\x00'==0 to get something
3464    that's true only with -std1.  */
3465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3466
3467 int test (int i, double x);
3468 struct s1 {int (*f) (int a);};
3469 struct s2 {int (*f) (double a);};
3470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3471 int argc;
3472 char **argv;
3473 int
3474 main ()
3475 {
3476 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3477   ;
3478   return 0;
3479 }
3480 _ACEOF
3481 # Don't try gcc -ansi; that turns off useful extensions and
3482 # breaks some systems' header files.
3483 # AIX                   -qlanglvl=ansi
3484 # Ultrix and OSF/1      -std1
3485 # HP-UX 10.20 and later -Ae
3486 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3487 # SVR4                  -Xc -D__EXTENSIONS__
3488 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3489 do
3490   CC="$ac_save_CC $ac_arg"
3491   rm -f conftest.$ac_objext
3492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3493   (eval $ac_compile) 2>conftest.er1
3494   ac_status=$?
3495   grep -v '^ *+' conftest.er1 >conftest.err
3496   rm -f conftest.er1
3497   cat conftest.err >&5
3498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499   (exit $ac_status); } &&
3500          { ac_try='test -z "$ac_c_werror_flag"
3501                          || test ! -s conftest.err'
3502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503   (eval $ac_try) 2>&5
3504   ac_status=$?
3505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506   (exit $ac_status); }; } &&
3507          { ac_try='test -s conftest.$ac_objext'
3508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3509   (eval $ac_try) 2>&5
3510   ac_status=$?
3511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512   (exit $ac_status); }; }; then
3513   ac_cv_prog_cc_stdc=$ac_arg
3514 break
3515 else
3516   echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 fi
3520 rm -f conftest.err conftest.$ac_objext
3521 done
3522 rm -f conftest.$ac_ext conftest.$ac_objext
3523 CC=$ac_save_CC
3524
3525 fi
3526
3527 case "x$ac_cv_prog_cc_stdc" in
3528   x|xno)
3529     echo "$as_me:$LINENO: result: none needed" >&5
3530 echo "${ECHO_T}none needed" >&6 ;;
3531   *)
3532     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3534     CC="$CC $ac_cv_prog_cc_stdc" ;;
3535 esac
3536
3537 # Some people use a C++ compiler to compile C.  Since we use `exit',
3538 # in C++ we need to declare it.  In case someone uses the same compiler
3539 # for both compiling C and C++ we need to have the C++ compiler decide
3540 # the declaration of exit, since it's the most demanding environment.
3541 cat >conftest.$ac_ext <<_ACEOF
3542 #ifndef __cplusplus
3543   choke me
3544 #endif
3545 _ACEOF
3546 rm -f conftest.$ac_objext
3547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3548   (eval $ac_compile) 2>conftest.er1
3549   ac_status=$?
3550   grep -v '^ *+' conftest.er1 >conftest.err
3551   rm -f conftest.er1
3552   cat conftest.err >&5
3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554   (exit $ac_status); } &&
3555          { ac_try='test -z "$ac_c_werror_flag"
3556                          || test ! -s conftest.err'
3557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558   (eval $ac_try) 2>&5
3559   ac_status=$?
3560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561   (exit $ac_status); }; } &&
3562          { ac_try='test -s conftest.$ac_objext'
3563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564   (eval $ac_try) 2>&5
3565   ac_status=$?
3566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567   (exit $ac_status); }; }; then
3568   for ac_declaration in \
3569    '' \
3570    'extern "C" void std::exit (int) throw (); using std::exit;' \
3571    'extern "C" void std::exit (int); using std::exit;' \
3572    'extern "C" void exit (int) throw ();' \
3573    'extern "C" void exit (int);' \
3574    'void exit (int);'
3575 do
3576   cat >conftest.$ac_ext <<_ACEOF
3577 /* confdefs.h.  */
3578 _ACEOF
3579 cat confdefs.h >>conftest.$ac_ext
3580 cat >>conftest.$ac_ext <<_ACEOF
3581 /* end confdefs.h.  */
3582 $ac_declaration
3583 #include <stdlib.h>
3584 int
3585 main ()
3586 {
3587 exit (42);
3588   ;
3589   return 0;
3590 }
3591 _ACEOF
3592 rm -f conftest.$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594   (eval $ac_compile) 2>conftest.er1
3595   ac_status=$?
3596   grep -v '^ *+' conftest.er1 >conftest.err
3597   rm -f conftest.er1
3598   cat conftest.err >&5
3599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600   (exit $ac_status); } &&
3601          { ac_try='test -z "$ac_c_werror_flag"
3602                          || test ! -s conftest.err'
3603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604   (eval $ac_try) 2>&5
3605   ac_status=$?
3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607   (exit $ac_status); }; } &&
3608          { ac_try='test -s conftest.$ac_objext'
3609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610   (eval $ac_try) 2>&5
3611   ac_status=$?
3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613   (exit $ac_status); }; }; then
3614   :
3615 else
3616   echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3618
3619 continue
3620 fi
3621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3622   cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h.  */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h.  */
3628 $ac_declaration
3629 int
3630 main ()
3631 {
3632 exit (42);
3633   ;
3634   return 0;
3635 }
3636 _ACEOF
3637 rm -f conftest.$ac_objext
3638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3639   (eval $ac_compile) 2>conftest.er1
3640   ac_status=$?
3641   grep -v '^ *+' conftest.er1 >conftest.err
3642   rm -f conftest.er1
3643   cat conftest.err >&5
3644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645   (exit $ac_status); } &&
3646          { ac_try='test -z "$ac_c_werror_flag"
3647                          || test ! -s conftest.err'
3648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649   (eval $ac_try) 2>&5
3650   ac_status=$?
3651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652   (exit $ac_status); }; } &&
3653          { ac_try='test -s conftest.$ac_objext'
3654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655   (eval $ac_try) 2>&5
3656   ac_status=$?
3657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658   (exit $ac_status); }; }; then
3659   break
3660 else
3661   echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3663
3664 fi
3665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3666 done
3667 rm -f conftest*
3668 if test -n "$ac_declaration"; then
3669   echo '#ifdef __cplusplus' >>confdefs.h
3670   echo $ac_declaration      >>confdefs.h
3671   echo '#endif'             >>confdefs.h
3672 fi
3673
3674 else
3675   echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3677
3678 fi
3679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3680 ac_ext=c
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685
3686 depcc="$CC"   am_compiler_list=
3687
3688 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3689 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3690 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3691   echo $ECHO_N "(cached) $ECHO_C" >&6
3692 else
3693   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3694   # We make a subdir and do the tests there.  Otherwise we can end up
3695   # making bogus files that we don't know about and never remove.  For
3696   # instance it was reported that on HP-UX the gcc test will end up
3697   # making a dummy file named `D' -- because `-MD' means `put the output
3698   # in D'.
3699   mkdir conftest.dir
3700   # Copy depcomp to subdir because otherwise we won't find it if we're
3701   # using a relative directory.
3702   cp "$am_depcomp" conftest.dir
3703   cd conftest.dir
3704   # We will build objects and dependencies in a subdirectory because
3705   # it helps to detect inapplicable dependency modes.  For instance
3706   # both Tru64's cc and ICC support -MD to output dependencies as a
3707   # side effect of compilation, but ICC will put the dependencies in
3708   # the current directory while Tru64 will put them in the object
3709   # directory.
3710   mkdir sub
3711
3712   am_cv_CC_dependencies_compiler_type=none
3713   if test "$am_compiler_list" = ""; then
3714      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3715   fi
3716   for depmode in $am_compiler_list; do
3717     # Setup a source with many dependencies, because some compilers
3718     # like to wrap large dependency lists on column 80 (with \), and
3719     # we should not choose a depcomp mode which is confused by this.
3720     #
3721     # We need to recreate these files for each test, as the compiler may
3722     # overwrite some of them when testing with obscure command lines.
3723     # This happens at least with the AIX C compiler.
3724     : > sub/conftest.c
3725     for i in 1 2 3 4 5 6; do
3726       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3727       : > sub/conftst$i.h
3728     done
3729     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730
3731     case $depmode in
3732     nosideeffect)
3733       # after this tag, mechanisms are not by side-effect, so they'll
3734       # only be used when explicitly requested
3735       if test "x$enable_dependency_tracking" = xyes; then
3736         continue
3737       else
3738         break
3739       fi
3740       ;;
3741     none) break ;;
3742     esac
3743     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3744     # mode.  It turns out that the SunPro C++ compiler does not properly
3745     # handle `-M -o', and we need to detect this.
3746     if depmode=$depmode \
3747        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3748        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3749        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3750          >/dev/null 2>conftest.err &&
3751        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3752        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3753        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3754       # icc doesn't choke on unknown options, it will just issue warnings
3755       # (even with -Werror).  So we grep stderr for any message
3756       # that says an option was ignored.
3757       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3758         am_cv_CC_dependencies_compiler_type=$depmode
3759         break
3760       fi
3761     fi
3762   done
3763
3764   cd ..
3765   rm -rf conftest.dir
3766 else
3767   am_cv_CC_dependencies_compiler_type=none
3768 fi
3769
3770 fi
3771 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3772 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3773 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3774
3775
3776
3777 if
3778   test "x$enable_dependency_tracking" != xno \
3779   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3780   am__fastdepCC_TRUE=
3781   am__fastdepCC_FALSE='#'
3782 else
3783   am__fastdepCC_TRUE='#'
3784   am__fastdepCC_FALSE=
3785 fi
3786
3787
3788 ac_ext=c
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3795 # On Suns, sometimes $CPP names a directory.
3796 if test -n "$CPP" && test -d "$CPP"; then
3797   CPP=
3798 fi
3799 if test -z "$CPP"; then
3800   if test "${ac_cv_prog_CPP+set}" = set; then
3801   echo $ECHO_N "(cached) $ECHO_C" >&6
3802 else
3803       # Double quotes because CPP needs to be expanded
3804     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3805     do
3806       ac_preproc_ok=false
3807 for ac_c_preproc_warn_flag in '' yes
3808 do
3809   # Use a header file that comes with gcc, so configuring glibc
3810   # with a fresh cross-compiler works.
3811   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812   # <limits.h> exists even on freestanding compilers.
3813   # On the NeXT, cc -E runs the code through the compiler's parser,
3814   # not just through cpp. "Syntax error" is here to catch this case.
3815   cat >conftest.$ac_ext <<_ACEOF
3816 /* confdefs.h.  */
3817 _ACEOF
3818 cat confdefs.h >>conftest.$ac_ext
3819 cat >>conftest.$ac_ext <<_ACEOF
3820 /* end confdefs.h.  */
3821 #ifdef __STDC__
3822 # include <limits.h>
3823 #else
3824 # include <assert.h>
3825 #endif
3826                      Syntax error
3827 _ACEOF
3828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3829   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3830   ac_status=$?
3831   grep -v '^ *+' conftest.er1 >conftest.err
3832   rm -f conftest.er1
3833   cat conftest.err >&5
3834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835   (exit $ac_status); } >/dev/null; then
3836   if test -s conftest.err; then
3837     ac_cpp_err=$ac_c_preproc_warn_flag
3838     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3839   else
3840     ac_cpp_err=
3841   fi
3842 else
3843   ac_cpp_err=yes
3844 fi
3845 if test -z "$ac_cpp_err"; then
3846   :
3847 else
3848   echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.$ac_ext >&5
3850
3851   # Broken: fails on valid input.
3852 continue
3853 fi
3854 rm -f conftest.err conftest.$ac_ext
3855
3856   # OK, works on sane cases.  Now check whether non-existent headers
3857   # can be detected and how.
3858   cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h.  */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h.  */
3864 #include <ac_nonexistent.h>
3865 _ACEOF
3866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3867   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3868   ac_status=$?
3869   grep -v '^ *+' conftest.er1 >conftest.err
3870   rm -f conftest.er1
3871   cat conftest.err >&5
3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873   (exit $ac_status); } >/dev/null; then
3874   if test -s conftest.err; then
3875     ac_cpp_err=$ac_c_preproc_warn_flag
3876     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3877   else
3878     ac_cpp_err=
3879   fi
3880 else
3881   ac_cpp_err=yes
3882 fi
3883 if test -z "$ac_cpp_err"; then
3884   # Broken: success on invalid input.
3885 continue
3886 else
3887   echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3889
3890   # Passes both tests.
3891 ac_preproc_ok=:
3892 break
3893 fi
3894 rm -f conftest.err conftest.$ac_ext
3895
3896 done
3897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3898 rm -f conftest.err conftest.$ac_ext
3899 if $ac_preproc_ok; then
3900   break
3901 fi
3902
3903     done
3904     ac_cv_prog_CPP=$CPP
3905
3906 fi
3907   CPP=$ac_cv_prog_CPP
3908 else
3909   ac_cv_prog_CPP=$CPP
3910 fi
3911 echo "$as_me:$LINENO: result: $CPP" >&5
3912 echo "${ECHO_T}$CPP" >&6
3913 ac_preproc_ok=false
3914 for ac_c_preproc_warn_flag in '' yes
3915 do
3916   # Use a header file that comes with gcc, so configuring glibc
3917   # with a fresh cross-compiler works.
3918   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3919   # <limits.h> exists even on freestanding compilers.
3920   # On the NeXT, cc -E runs the code through the compiler's parser,
3921   # not just through cpp. "Syntax error" is here to catch this case.
3922   cat >conftest.$ac_ext <<_ACEOF
3923 /* confdefs.h.  */
3924 _ACEOF
3925 cat confdefs.h >>conftest.$ac_ext
3926 cat >>conftest.$ac_ext <<_ACEOF
3927 /* end confdefs.h.  */
3928 #ifdef __STDC__
3929 # include <limits.h>
3930 #else
3931 # include <assert.h>
3932 #endif
3933                      Syntax error
3934 _ACEOF
3935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3936   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3937   ac_status=$?
3938   grep -v '^ *+' conftest.er1 >conftest.err
3939   rm -f conftest.er1
3940   cat conftest.err >&5
3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942   (exit $ac_status); } >/dev/null; then
3943   if test -s conftest.err; then
3944     ac_cpp_err=$ac_c_preproc_warn_flag
3945     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3946   else
3947     ac_cpp_err=
3948   fi
3949 else
3950   ac_cpp_err=yes
3951 fi
3952 if test -z "$ac_cpp_err"; then
3953   :
3954 else
3955   echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.$ac_ext >&5
3957
3958   # Broken: fails on valid input.
3959 continue
3960 fi
3961 rm -f conftest.err conftest.$ac_ext
3962
3963   # OK, works on sane cases.  Now check whether non-existent headers
3964   # can be detected and how.
3965   cat >conftest.$ac_ext <<_ACEOF
3966 /* confdefs.h.  */
3967 _ACEOF
3968 cat confdefs.h >>conftest.$ac_ext
3969 cat >>conftest.$ac_ext <<_ACEOF
3970 /* end confdefs.h.  */
3971 #include <ac_nonexistent.h>
3972 _ACEOF
3973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3974   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3975   ac_status=$?
3976   grep -v '^ *+' conftest.er1 >conftest.err
3977   rm -f conftest.er1
3978   cat conftest.err >&5
3979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980   (exit $ac_status); } >/dev/null; then
3981   if test -s conftest.err; then
3982     ac_cpp_err=$ac_c_preproc_warn_flag
3983     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3984   else
3985     ac_cpp_err=
3986   fi
3987 else
3988   ac_cpp_err=yes
3989 fi
3990 if test -z "$ac_cpp_err"; then
3991   # Broken: success on invalid input.
3992 continue
3993 else
3994   echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3996
3997   # Passes both tests.
3998 ac_preproc_ok=:
3999 break
4000 fi
4001 rm -f conftest.err conftest.$ac_ext
4002
4003 done
4004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4005 rm -f conftest.err conftest.$ac_ext
4006 if $ac_preproc_ok; then
4007   :
4008 else
4009   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4010 See \`config.log' for more details." >&5
4011 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4012 See \`config.log' for more details." >&2;}
4013    { (exit 1); exit 1; }; }
4014 fi
4015
4016 ac_ext=c
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4021
4022
4023 echo "$as_me:$LINENO: checking for egrep" >&5
4024 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4025 if test "${ac_cv_prog_egrep+set}" = set; then
4026   echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4029     then ac_cv_prog_egrep='grep -E'
4030     else ac_cv_prog_egrep='egrep'
4031     fi
4032 fi
4033 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4034 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4035  EGREP=$ac_cv_prog_egrep
4036
4037
4038 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4039 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4040 if test "${ac_cv_header_stdc+set}" = set; then
4041   echo $ECHO_N "(cached) $ECHO_C" >&6
4042 else
4043   cat >conftest.$ac_ext <<_ACEOF
4044 /* confdefs.h.  */
4045 _ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h.  */
4049 #include <stdlib.h>
4050 #include <stdarg.h>
4051 #include <string.h>
4052 #include <float.h>
4053
4054 int
4055 main ()
4056 {
4057
4058   ;
4059   return 0;
4060 }
4061 _ACEOF
4062 rm -f conftest.$ac_objext
4063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4064   (eval $ac_compile) 2>conftest.er1
4065   ac_status=$?
4066   grep -v '^ *+' conftest.er1 >conftest.err
4067   rm -f conftest.er1
4068   cat conftest.err >&5
4069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070   (exit $ac_status); } &&
4071          { ac_try='test -z "$ac_c_werror_flag"
4072                          || test ! -s conftest.err'
4073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4074   (eval $ac_try) 2>&5
4075   ac_status=$?
4076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077   (exit $ac_status); }; } &&
4078          { ac_try='test -s conftest.$ac_objext'
4079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080   (eval $ac_try) 2>&5
4081   ac_status=$?
4082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083   (exit $ac_status); }; }; then
4084   ac_cv_header_stdc=yes
4085 else
4086   echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4088
4089 ac_cv_header_stdc=no
4090 fi
4091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4092
4093 if test $ac_cv_header_stdc = yes; then
4094   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4095   cat >conftest.$ac_ext <<_ACEOF
4096 /* confdefs.h.  */
4097 _ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h.  */
4101 #include <string.h>
4102
4103 _ACEOF
4104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4105   $EGREP "memchr" >/dev/null 2>&1; then
4106   :
4107 else
4108   ac_cv_header_stdc=no
4109 fi
4110 rm -f conftest*
4111
4112 fi
4113
4114 if test $ac_cv_header_stdc = yes; then
4115   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4116   cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h.  */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h.  */
4122 #include <stdlib.h>
4123
4124 _ACEOF
4125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4126   $EGREP "free" >/dev/null 2>&1; then
4127   :
4128 else
4129   ac_cv_header_stdc=no
4130 fi
4131 rm -f conftest*
4132
4133 fi
4134
4135 if test $ac_cv_header_stdc = yes; then
4136   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4137   if test "$cross_compiling" = yes; then
4138   :
4139 else
4140   cat >conftest.$ac_ext <<_ACEOF
4141 /* confdefs.h.  */
4142 _ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h.  */
4146 #include <ctype.h>
4147 #if ((' ' & 0x0FF) == 0x020)
4148 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4149 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4150 #else
4151 # define ISLOWER(c) \
4152                    (('a' <= (c) && (c) <= 'i') \
4153                      || ('j' <= (c) && (c) <= 'r') \
4154                      || ('s' <= (c) && (c) <= 'z'))
4155 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4156 #endif
4157
4158 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4159 int
4160 main ()
4161 {
4162   int i;
4163   for (i = 0; i < 256; i++)
4164     if (XOR (islower (i), ISLOWER (i))
4165         || toupper (i) != TOUPPER (i))
4166       exit(2);
4167   exit (0);
4168 }
4169 _ACEOF
4170 rm -f conftest$ac_exeext
4171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4172   (eval $ac_link) 2>&5
4173   ac_status=$?
4174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177   (eval $ac_try) 2>&5
4178   ac_status=$?
4179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180   (exit $ac_status); }; }; then
4181   :
4182 else
4183   echo "$as_me: program exited with status $ac_status" >&5
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4186
4187 ( exit $ac_status )
4188 ac_cv_header_stdc=no
4189 fi
4190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4191 fi
4192 fi
4193 fi
4194 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4195 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4196 if test $ac_cv_header_stdc = yes; then
4197
4198 cat >>confdefs.h <<\_ACEOF
4199 #define STDC_HEADERS 1
4200 _ACEOF
4201
4202 fi
4203
4204 for ac_prog in 'bison -y' byacc
4205 do
4206   # Extract the first word of "$ac_prog", so it can be a program name with args.
4207 set dummy $ac_prog; ac_word=$2
4208 echo "$as_me:$LINENO: checking for $ac_word" >&5
4209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4210 if test "${ac_cv_prog_YACC+set}" = set; then
4211   echo $ECHO_N "(cached) $ECHO_C" >&6
4212 else
4213   if test -n "$YACC"; then
4214   ac_cv_prog_YACC="$YACC" # Let the user override the test.
4215 else
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH
4218 do
4219   IFS=$as_save_IFS
4220   test -z "$as_dir" && as_dir=.
4221   for ac_exec_ext in '' $ac_executable_extensions; do
4222   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223     ac_cv_prog_YACC="$ac_prog"
4224     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225     break 2
4226   fi
4227 done
4228 done
4229
4230 fi
4231 fi
4232 YACC=$ac_cv_prog_YACC
4233 if test -n "$YACC"; then
4234   echo "$as_me:$LINENO: result: $YACC" >&5
4235 echo "${ECHO_T}$YACC" >&6
4236 else
4237   echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4239 fi
4240
4241   test -n "$YACC" && break
4242 done
4243 test -n "$YACC" || YACC="yacc"
4244
4245 for ac_prog in flex lex
4246 do
4247   # Extract the first word of "$ac_prog", so it can be a program name with args.
4248 set dummy $ac_prog; ac_word=$2
4249 echo "$as_me:$LINENO: checking for $ac_word" >&5
4250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4251 if test "${ac_cv_prog_LEX+set}" = set; then
4252   echo $ECHO_N "(cached) $ECHO_C" >&6
4253 else
4254   if test -n "$LEX"; then
4255   ac_cv_prog_LEX="$LEX" # Let the user override the test.
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH
4259 do
4260   IFS=$as_save_IFS
4261   test -z "$as_dir" && as_dir=.
4262   for ac_exec_ext in '' $ac_executable_extensions; do
4263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264     ac_cv_prog_LEX="$ac_prog"
4265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266     break 2
4267   fi
4268 done
4269 done
4270
4271 fi
4272 fi
4273 LEX=$ac_cv_prog_LEX
4274 if test -n "$LEX"; then
4275   echo "$as_me:$LINENO: result: $LEX" >&5
4276 echo "${ECHO_T}$LEX" >&6
4277 else
4278   echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4280 fi
4281
4282   test -n "$LEX" && break
4283 done
4284 test -n "$LEX" || LEX=":"
4285
4286 if test -z "$LEXLIB"
4287 then
4288   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4289 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4290 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4291   echo $ECHO_N "(cached) $ECHO_C" >&6
4292 else
4293   ac_check_lib_save_LIBS=$LIBS
4294 LIBS="-lfl  $LIBS"
4295 cat >conftest.$ac_ext <<_ACEOF
4296 /* confdefs.h.  */
4297 _ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h.  */
4301
4302 /* Override any gcc2 internal prototype to avoid an error.  */
4303 #ifdef __cplusplus
4304 extern "C"
4305 #endif
4306 /* We use char because int might match the return type of a gcc2
4307    builtin and then its argument prototype would still apply.  */
4308 char yywrap ();
4309 int
4310 main ()
4311 {
4312 yywrap ();
4313   ;
4314   return 0;
4315 }
4316 _ACEOF
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4319   (eval $ac_link) 2>conftest.er1
4320   ac_status=$?
4321   grep -v '^ *+' conftest.er1 >conftest.err
4322   rm -f conftest.er1
4323   cat conftest.err >&5
4324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325   (exit $ac_status); } &&
4326          { ac_try='test -z "$ac_c_werror_flag"
4327                          || test ! -s conftest.err'
4328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329   (eval $ac_try) 2>&5
4330   ac_status=$?
4331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332   (exit $ac_status); }; } &&
4333          { ac_try='test -s conftest$ac_exeext'
4334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335   (eval $ac_try) 2>&5
4336   ac_status=$?
4337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338   (exit $ac_status); }; }; then
4339   ac_cv_lib_fl_yywrap=yes
4340 else
4341   echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4343
4344 ac_cv_lib_fl_yywrap=no
4345 fi
4346 rm -f conftest.err conftest.$ac_objext \
4347       conftest$ac_exeext conftest.$ac_ext
4348 LIBS=$ac_check_lib_save_LIBS
4349 fi
4350 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4351 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4352 if test $ac_cv_lib_fl_yywrap = yes; then
4353   LEXLIB="-lfl"
4354 else
4355   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4356 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4357 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4358   echo $ECHO_N "(cached) $ECHO_C" >&6
4359 else
4360   ac_check_lib_save_LIBS=$LIBS
4361 LIBS="-ll  $LIBS"
4362 cat >conftest.$ac_ext <<_ACEOF
4363 /* confdefs.h.  */
4364 _ACEOF
4365 cat confdefs.h >>conftest.$ac_ext
4366 cat >>conftest.$ac_ext <<_ACEOF
4367 /* end confdefs.h.  */
4368
4369 /* Override any gcc2 internal prototype to avoid an error.  */
4370 #ifdef __cplusplus
4371 extern "C"
4372 #endif
4373 /* We use char because int might match the return type of a gcc2
4374    builtin and then its argument prototype would still apply.  */
4375 char yywrap ();
4376 int
4377 main ()
4378 {
4379 yywrap ();
4380   ;
4381   return 0;
4382 }
4383 _ACEOF
4384 rm -f conftest.$ac_objext conftest$ac_exeext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4386   (eval $ac_link) 2>conftest.er1
4387   ac_status=$?
4388   grep -v '^ *+' conftest.er1 >conftest.err
4389   rm -f conftest.er1
4390   cat conftest.err >&5
4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392   (exit $ac_status); } &&
4393          { ac_try='test -z "$ac_c_werror_flag"
4394                          || test ! -s conftest.err'
4395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396   (eval $ac_try) 2>&5
4397   ac_status=$?
4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399   (exit $ac_status); }; } &&
4400          { ac_try='test -s conftest$ac_exeext'
4401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402   (eval $ac_try) 2>&5
4403   ac_status=$?
4404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405   (exit $ac_status); }; }; then
4406   ac_cv_lib_l_yywrap=yes
4407 else
4408   echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4410
4411 ac_cv_lib_l_yywrap=no
4412 fi
4413 rm -f conftest.err conftest.$ac_objext \
4414       conftest$ac_exeext conftest.$ac_ext
4415 LIBS=$ac_check_lib_save_LIBS
4416 fi
4417 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4418 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4419 if test $ac_cv_lib_l_yywrap = yes; then
4420   LEXLIB="-ll"
4421 fi
4422
4423 fi
4424
4425 fi
4426
4427 if test "x$LEX" != "x:"; then
4428   echo "$as_me:$LINENO: checking lex output file root" >&5
4429 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4430 if test "${ac_cv_prog_lex_root+set}" = set; then
4431   echo $ECHO_N "(cached) $ECHO_C" >&6
4432 else
4433   # The minimal lex program is just a single line: %%.  But some broken lexes
4434 # (Solaris, I think it was) want two %% lines, so accommodate them.
4435 cat >conftest.l <<_ACEOF
4436 %%
4437 %%
4438 _ACEOF
4439 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4440   (eval $LEX conftest.l) 2>&5
4441   ac_status=$?
4442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443   (exit $ac_status); }
4444 if test -f lex.yy.c; then
4445   ac_cv_prog_lex_root=lex.yy
4446 elif test -f lexyy.c; then
4447   ac_cv_prog_lex_root=lexyy
4448 else
4449   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4450 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4451    { (exit 1); exit 1; }; }
4452 fi
4453 fi
4454 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4455 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4456 rm -f conftest.l
4457 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4458
4459 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4460 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4461 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4462   echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464   # POSIX says lex can declare yytext either as a pointer or an array; the
4465 # default is implementation-dependent. Figure out which it is, since
4466 # not all implementations provide the %pointer and %array declarations.
4467 ac_cv_prog_lex_yytext_pointer=no
4468 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4469 ac_save_LIBS=$LIBS
4470 LIBS="$LIBS $LEXLIB"
4471 cat >conftest.$ac_ext <<_ACEOF
4472 `cat $LEX_OUTPUT_ROOT.c`
4473 _ACEOF
4474 rm -f conftest.$ac_objext conftest$ac_exeext
4475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4476   (eval $ac_link) 2>conftest.er1
4477   ac_status=$?
4478   grep -v '^ *+' conftest.er1 >conftest.err
4479   rm -f conftest.er1
4480   cat conftest.err >&5
4481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482   (exit $ac_status); } &&
4483          { ac_try='test -z "$ac_c_werror_flag"
4484                          || test ! -s conftest.err'
4485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486   (eval $ac_try) 2>&5
4487   ac_status=$?
4488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489   (exit $ac_status); }; } &&
4490          { ac_try='test -s conftest$ac_exeext'
4491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492   (eval $ac_try) 2>&5
4493   ac_status=$?
4494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495   (exit $ac_status); }; }; then
4496   ac_cv_prog_lex_yytext_pointer=yes
4497 else
4498   echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.$ac_ext >&5
4500
4501 fi
4502 rm -f conftest.err conftest.$ac_objext \
4503       conftest$ac_exeext conftest.$ac_ext
4504 LIBS=$ac_save_LIBS
4505 rm -f "${LEX_OUTPUT_ROOT}.c"
4506
4507 fi
4508 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4509 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4510 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4511
4512 cat >>confdefs.h <<\_ACEOF
4513 #define YYTEXT_POINTER 1
4514 _ACEOF
4515
4516 fi
4517
4518 fi
4519 if test "$LEX" = :; then
4520   LEX=${am_missing_run}flex
4521 fi
4522 # Find a good install program.  We prefer a C program (faster),
4523 # so one script is as good as another.  But avoid the broken or
4524 # incompatible versions:
4525 # SysV /etc/install, /usr/sbin/install
4526 # SunOS /usr/etc/install
4527 # IRIX /sbin/install
4528 # AIX /bin/install
4529 # AmigaOS /C/install, which installs bootblocks on floppy discs
4530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4533 # OS/2's system install, which has a completely different semantic
4534 # ./install, which can be erroneously created by make from ./install.sh.
4535 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4537 if test -z "$INSTALL"; then
4538 if test "${ac_cv_path_install+set}" = set; then
4539   echo $ECHO_N "(cached) $ECHO_C" >&6
4540 else
4541   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH
4543 do
4544   IFS=$as_save_IFS
4545   test -z "$as_dir" && as_dir=.
4546   # Account for people who put trailing slashes in PATH elements.
4547 case $as_dir/ in
4548   ./ | .// | /cC/* | \
4549   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4550   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4551   /usr/ucb/* ) ;;
4552   *)
4553     # OSF1 and SCO ODT 3.0 have their own names for install.
4554     # Don't use installbsd from OSF since it installs stuff as root
4555     # by default.
4556     for ac_prog in ginstall scoinst install; do
4557       for ac_exec_ext in '' $ac_executable_extensions; do
4558         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4559           if test $ac_prog = install &&
4560             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4561             # AIX install.  It has an incompatible calling convention.
4562             :
4563           elif test $ac_prog = install &&
4564             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4565             # program-specific install script used by HP pwplus--don't use.
4566             :
4567           else
4568             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4569             break 3
4570           fi
4571         fi
4572       done
4573     done
4574     ;;
4575 esac
4576 done
4577
4578
4579 fi
4580   if test "${ac_cv_path_install+set}" = set; then
4581     INSTALL=$ac_cv_path_install
4582   else
4583     # As a last resort, use the slow shell script.  We don't cache a
4584     # path for INSTALL within a source directory, because that will
4585     # break other packages using the cache if that directory is
4586     # removed, or if the path is relative.
4587     INSTALL=$ac_install_sh
4588   fi
4589 fi
4590 echo "$as_me:$LINENO: result: $INSTALL" >&5
4591 echo "${ECHO_T}$INSTALL" >&6
4592
4593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4594 # It thinks the first close brace ends the variable substitution.
4595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4596
4597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4598
4599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4600
4601 ac_ext=c
4602 ac_cpp='$CPP $CPPFLAGS'
4603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4606 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4607 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4608 # On Suns, sometimes $CPP names a directory.
4609 if test -n "$CPP" && test -d "$CPP"; then
4610   CPP=
4611 fi
4612 if test -z "$CPP"; then
4613   if test "${ac_cv_prog_CPP+set}" = set; then
4614   echo $ECHO_N "(cached) $ECHO_C" >&6
4615 else
4616       # Double quotes because CPP needs to be expanded
4617     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4618     do
4619       ac_preproc_ok=false
4620 for ac_c_preproc_warn_flag in '' yes
4621 do
4622   # Use a header file that comes with gcc, so configuring glibc
4623   # with a fresh cross-compiler works.
4624   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4625   # <limits.h> exists even on freestanding compilers.
4626   # On the NeXT, cc -E runs the code through the compiler's parser,
4627   # not just through cpp. "Syntax error" is here to catch this case.
4628   cat >conftest.$ac_ext <<_ACEOF
4629 /* confdefs.h.  */
4630 _ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h.  */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4639                      Syntax error
4640 _ACEOF
4641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4642   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4643   ac_status=$?
4644   grep -v '^ *+' conftest.er1 >conftest.err
4645   rm -f conftest.er1
4646   cat conftest.err >&5
4647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648   (exit $ac_status); } >/dev/null; then
4649   if test -s conftest.err; then
4650     ac_cpp_err=$ac_c_preproc_warn_flag
4651     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4652   else
4653     ac_cpp_err=
4654   fi
4655 else
4656   ac_cpp_err=yes
4657 fi
4658 if test -z "$ac_cpp_err"; then
4659   :
4660 else
4661   echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.$ac_ext >&5
4663
4664   # Broken: fails on valid input.
4665 continue
4666 fi
4667 rm -f conftest.err conftest.$ac_ext
4668
4669   # OK, works on sane cases.  Now check whether non-existent headers
4670   # can be detected and how.
4671   cat >conftest.$ac_ext <<_ACEOF
4672 /* confdefs.h.  */
4673 _ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h.  */
4677 #include <ac_nonexistent.h>
4678 _ACEOF
4679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4681   ac_status=$?
4682   grep -v '^ *+' conftest.er1 >conftest.err
4683   rm -f conftest.er1
4684   cat conftest.err >&5
4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686   (exit $ac_status); } >/dev/null; then
4687   if test -s conftest.err; then
4688     ac_cpp_err=$ac_c_preproc_warn_flag
4689     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4690   else
4691     ac_cpp_err=
4692   fi
4693 else
4694   ac_cpp_err=yes
4695 fi
4696 if test -z "$ac_cpp_err"; then
4697   # Broken: success on invalid input.
4698 continue
4699 else
4700   echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.$ac_ext >&5
4702
4703   # Passes both tests.
4704 ac_preproc_ok=:
4705 break
4706 fi
4707 rm -f conftest.err conftest.$ac_ext
4708
4709 done
4710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711 rm -f conftest.err conftest.$ac_ext
4712 if $ac_preproc_ok; then
4713   break
4714 fi
4715
4716     done
4717     ac_cv_prog_CPP=$CPP
4718
4719 fi
4720   CPP=$ac_cv_prog_CPP
4721 else
4722   ac_cv_prog_CPP=$CPP
4723 fi
4724 echo "$as_me:$LINENO: result: $CPP" >&5
4725 echo "${ECHO_T}$CPP" >&6
4726 ac_preproc_ok=false
4727 for ac_c_preproc_warn_flag in '' yes
4728 do
4729   # Use a header file that comes with gcc, so configuring glibc
4730   # with a fresh cross-compiler works.
4731   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4732   # <limits.h> exists even on freestanding compilers.
4733   # On the NeXT, cc -E runs the code through the compiler's parser,
4734   # not just through cpp. "Syntax error" is here to catch this case.
4735   cat >conftest.$ac_ext <<_ACEOF
4736 /* confdefs.h.  */
4737 _ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h.  */
4741 #ifdef __STDC__
4742 # include <limits.h>
4743 #else
4744 # include <assert.h>
4745 #endif
4746                      Syntax error
4747 _ACEOF
4748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4749   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4750   ac_status=$?
4751   grep -v '^ *+' conftest.er1 >conftest.err
4752   rm -f conftest.er1
4753   cat conftest.err >&5
4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755   (exit $ac_status); } >/dev/null; then
4756   if test -s conftest.err; then
4757     ac_cpp_err=$ac_c_preproc_warn_flag
4758     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4759   else
4760     ac_cpp_err=
4761   fi
4762 else
4763   ac_cpp_err=yes
4764 fi
4765 if test -z "$ac_cpp_err"; then
4766   :
4767 else
4768   echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4770
4771   # Broken: fails on valid input.
4772 continue
4773 fi
4774 rm -f conftest.err conftest.$ac_ext
4775
4776   # OK, works on sane cases.  Now check whether non-existent headers
4777   # can be detected and how.
4778   cat >conftest.$ac_ext <<_ACEOF
4779 /* confdefs.h.  */
4780 _ACEOF
4781 cat confdefs.h >>conftest.$ac_ext
4782 cat >>conftest.$ac_ext <<_ACEOF
4783 /* end confdefs.h.  */
4784 #include <ac_nonexistent.h>
4785 _ACEOF
4786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4787   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4788   ac_status=$?
4789   grep -v '^ *+' conftest.er1 >conftest.err
4790   rm -f conftest.er1
4791   cat conftest.err >&5
4792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793   (exit $ac_status); } >/dev/null; then
4794   if test -s conftest.err; then
4795     ac_cpp_err=$ac_c_preproc_warn_flag
4796     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4797   else
4798     ac_cpp_err=
4799   fi
4800 else
4801   ac_cpp_err=yes
4802 fi
4803 if test -z "$ac_cpp_err"; then
4804   # Broken: success on invalid input.
4805 continue
4806 else
4807   echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4809
4810   # Passes both tests.
4811 ac_preproc_ok=:
4812 break
4813 fi
4814 rm -f conftest.err conftest.$ac_ext
4815
4816 done
4817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4818 rm -f conftest.err conftest.$ac_ext
4819 if $ac_preproc_ok; then
4820   :
4821 else
4822   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." >&5
4824 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4825 See \`config.log' for more details." >&2;}
4826    { (exit 1); exit 1; }; }
4827 fi
4828
4829 ac_ext=c
4830 ac_cpp='$CPP $CPPFLAGS'
4831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834
4835 # Extract the first word of "rm", so it can be a program name with args.
4836 set dummy rm; ac_word=$2
4837 echo "$as_me:$LINENO: checking for $ac_word" >&5
4838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4839 if test "${ac_cv_path_RM+set}" = set; then
4840   echo $ECHO_N "(cached) $ECHO_C" >&6
4841 else
4842   case $RM in
4843   [\\/]* | ?:[\\/]*)
4844   ac_cv_path_RM="$RM" # Let the user override the test with a path.
4845   ;;
4846   *)
4847   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $PATH
4849 do
4850   IFS=$as_save_IFS
4851   test -z "$as_dir" && as_dir=.
4852   for ac_exec_ext in '' $ac_executable_extensions; do
4853   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4856     break 2
4857   fi
4858 done
4859 done
4860
4861   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4862   ;;
4863 esac
4864 fi
4865 RM=$ac_cv_path_RM
4866
4867 if test -n "$RM"; then
4868   echo "$as_me:$LINENO: result: $RM" >&5
4869 echo "${ECHO_T}$RM" >&6
4870 else
4871   echo "$as_me:$LINENO: result: no" >&5
4872 echo "${ECHO_T}no" >&6
4873 fi
4874
4875 # Extract the first word of "mv", so it can be a program name with args.
4876 set dummy mv; ac_word=$2
4877 echo "$as_me:$LINENO: checking for $ac_word" >&5
4878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4879 if test "${ac_cv_path_MV+set}" = set; then
4880   echo $ECHO_N "(cached) $ECHO_C" >&6
4881 else
4882   case $MV in
4883   [\\/]* | ?:[\\/]*)
4884   ac_cv_path_MV="$MV" # Let the user override the test with a path.
4885   ;;
4886   *)
4887   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4889 do
4890   IFS=$as_save_IFS
4891   test -z "$as_dir" && as_dir=.
4892   for ac_exec_ext in '' $ac_executable_extensions; do
4893   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4895     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896     break 2
4897   fi
4898 done
4899 done
4900
4901   test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4902   ;;
4903 esac
4904 fi
4905 MV=$ac_cv_path_MV
4906
4907 if test -n "$MV"; then
4908   echo "$as_me:$LINENO: result: $MV" >&5
4909 echo "${ECHO_T}$MV" >&6
4910 else
4911   echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6
4913 fi
4914
4915 # Extract the first word of "tar", so it can be a program name with args.
4916 set dummy tar; ac_word=$2
4917 echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4919 if test "${ac_cv_path_TAR+set}" = set; then
4920   echo $ECHO_N "(cached) $ECHO_C" >&6
4921 else
4922   case $TAR in
4923   [\\/]* | ?:[\\/]*)
4924   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4925   ;;
4926   *)
4927   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4929 do
4930   IFS=$as_save_IFS
4931   test -z "$as_dir" && as_dir=.
4932   for ac_exec_ext in '' $ac_executable_extensions; do
4933   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4935     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4936     break 2
4937   fi
4938 done
4939 done
4940
4941   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4942   ;;
4943 esac
4944 fi
4945 TAR=$ac_cv_path_TAR
4946
4947 if test -n "$TAR"; then
4948   echo "$as_me:$LINENO: result: $TAR" >&5
4949 echo "${ECHO_T}$TAR" >&6
4950 else
4951   echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4953 fi
4954
4955
4956   succeeded=no
4957
4958   if test -z "$PKG_CONFIG"; then
4959     # Extract the first word of "pkg-config", so it can be a program name with args.
4960 set dummy pkg-config; ac_word=$2
4961 echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4963 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4964   echo $ECHO_N "(cached) $ECHO_C" >&6
4965 else
4966   case $PKG_CONFIG in
4967   [\\/]* | ?:[\\/]*)
4968   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4969   ;;
4970   *)
4971   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4973 do
4974   IFS=$as_save_IFS
4975   test -z "$as_dir" && as_dir=.
4976   for ac_exec_ext in '' $ac_executable_extensions; do
4977   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4978     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4979     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980     break 2
4981   fi
4982 done
4983 done
4984
4985   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
4986   ;;
4987 esac
4988 fi
4989 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4990
4991 if test -n "$PKG_CONFIG"; then
4992   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4993 echo "${ECHO_T}$PKG_CONFIG" >&6
4994 else
4995   echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
4997 fi
4998
4999   fi
5000
5001   if test "$PKG_CONFIG" = "no" ; then
5002      echo "*** The pkg-config script could not be found. Make sure it is"
5003      echo "*** in your path, or set the PKG_CONFIG environment variable"
5004      echo "*** to the full path to pkg-config."
5005      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5006   else
5007      PKG_CONFIG_MIN_VERSION=0.9.0
5008      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5009         echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
5010 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
5011
5012         if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
5013             echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5015             succeeded=yes
5016
5017             echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
5018 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
5019             GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
5020             echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
5021 echo "${ECHO_T}$GLIB_CFLAGS" >&6
5022
5023             echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
5024 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
5025             GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
5026             echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
5027 echo "${ECHO_T}$GLIB_LIBS" >&6
5028         else
5029             GLIB_CFLAGS=""
5030             GLIB_LIBS=""
5031             ## If we have a custom action on failure, don't print errors, but
5032             ## do set a variable so people can do so.
5033             GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5034             echo $GLIB_PKG_ERRORS
5035         fi
5036
5037
5038
5039      else
5040         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5041         echo "*** See http://www.freedesktop.org/software/pkgconfig"
5042      fi
5043   fi
5044
5045   if test $succeeded = yes; then
5046      :
5047   else
5048      { { 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
5049 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;}
5050    { (exit 1); exit 1; }; }
5051   fi
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063                                                             ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5064 cat >confcache <<\_ACEOF
5065 # This file is a shell script that caches the results of configure
5066 # tests run on this system so they can be shared between configure
5067 # scripts and configure runs, see configure's option --config-cache.
5068 # It is not useful on other systems.  If it contains results you don't
5069 # want to keep, you may remove or edit it.
5070 #
5071 # config.status only pays attention to the cache file if you give it
5072 # the --recheck option to rerun configure.
5073 #
5074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5076 # following values.
5077
5078 _ACEOF
5079
5080 # The following way of writing the cache mishandles newlines in values,
5081 # but we know of no workaround that is simple, portable, and efficient.
5082 # So, don't put newlines in cache variables' values.
5083 # Ultrix sh set writes to stderr and can't be redirected directly,
5084 # and sets the high bit in the cache file unless we assign to the vars.
5085 {
5086   (set) 2>&1 |
5087     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5088     *ac_space=\ *)
5089       # `set' does not quote correctly, so add quotes (double-quote
5090       # substitution turns \\\\ into \\, and sed turns \\ into \).
5091       sed -n \
5092         "s/'/'\\\\''/g;
5093           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5094       ;;
5095     *)
5096       # `set' quotes correctly as required by POSIX, so do not add quotes.
5097       sed -n \
5098         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5099       ;;
5100     esac;
5101 } |
5102   sed '
5103      t clear
5104      : clear
5105      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5106      t end
5107      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5108      : end' >>confcache
5109 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5110   if test -w $cache_file; then
5111     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5112     cat confcache >$cache_file
5113   else
5114     echo "not updating unwritable cache $cache_file"
5115   fi
5116 fi
5117 rm -f confcache
5118
5119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5120 # Let make expand exec_prefix.
5121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5122
5123 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5124 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5125 # trailing colons and then remove the whole line if VPATH becomes empty
5126 # (actually we leave an empty line to preserve line numbers).
5127 if test "x$srcdir" = x.; then
5128   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5129 s/:*\$(srcdir):*/:/;
5130 s/:*\${srcdir}:*/:/;
5131 s/:*@srcdir@:*/:/;
5132 s/^\([^=]*=[     ]*\):*/\1/;
5133 s/:*$//;
5134 s/^[^=]*=[       ]*$//;
5135 }'
5136 fi
5137
5138 DEFS=-DHAVE_CONFIG_H
5139
5140 ac_libobjs=
5141 ac_ltlibobjs=
5142 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5143   # 1. Remove the extension, and $U if already installed.
5144   ac_i=`echo "$ac_i" |
5145          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5146   # 2. Add them.
5147   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5148   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5149 done
5150 LIBOBJS=$ac_libobjs
5151
5152 LTLIBOBJS=$ac_ltlibobjs
5153
5154
5155 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5156   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5157 Usually this means the macro was only invoked conditionally." >&5
5158 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5159 Usually this means the macro was only invoked conditionally." >&2;}
5160    { (exit 1); exit 1; }; }
5161 fi
5162 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5163   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5164 Usually this means the macro was only invoked conditionally." >&5
5165 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5166 Usually this means the macro was only invoked conditionally." >&2;}
5167    { (exit 1); exit 1; }; }
5168 fi
5169 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5170   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5171 Usually this means the macro was only invoked conditionally." >&5
5172 echo "$as_me: error: conditional \"am__fastdepCC\" 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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5177   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5178 Usually this means the macro was only invoked conditionally." >&5
5179 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5180 Usually this means the macro was only invoked conditionally." >&2;}
5181    { (exit 1); exit 1; }; }
5182 fi
5183
5184 : ${CONFIG_STATUS=./config.status}
5185 ac_clean_files_save=$ac_clean_files
5186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5189 cat >$CONFIG_STATUS <<_ACEOF
5190 #! $SHELL
5191 # Generated by $as_me.
5192 # Run this file to recreate the current configuration.
5193 # Compiler output produced by configure, useful for debugging
5194 # configure, is in config.log if it exists.
5195
5196 debug=false
5197 ac_cs_recheck=false
5198 ac_cs_silent=false
5199 SHELL=\${CONFIG_SHELL-$SHELL}
5200 _ACEOF
5201
5202 cat >>$CONFIG_STATUS <<\_ACEOF
5203 ## --------------------- ##
5204 ## M4sh Initialization.  ##
5205 ## --------------------- ##
5206
5207 # Be Bourne compatible
5208 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5209   emulate sh
5210   NULLCMD=:
5211   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5212   # is contrary to our usage.  Disable this feature.
5213   alias -g '${1+"$@"}'='"$@"'
5214 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5215   set -o posix
5216 fi
5217 DUALCASE=1; export DUALCASE # for MKS sh
5218
5219 # Support unset when possible.
5220 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5221   as_unset=unset
5222 else
5223   as_unset=false
5224 fi
5225
5226
5227 # Work around bugs in pre-3.0 UWIN ksh.
5228 $as_unset ENV MAIL MAILPATH
5229 PS1='$ '
5230 PS2='> '
5231 PS4='+ '
5232
5233 # NLS nuisances.
5234 for as_var in \
5235   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5236   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5237   LC_TELEPHONE LC_TIME
5238 do
5239   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5240     eval $as_var=C; export $as_var
5241   else
5242     $as_unset $as_var
5243   fi
5244 done
5245
5246 # Required to use basename.
5247 if expr a : '\(a\)' >/dev/null 2>&1; then
5248   as_expr=expr
5249 else
5250   as_expr=false
5251 fi
5252
5253 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5254   as_basename=basename
5255 else
5256   as_basename=false
5257 fi
5258
5259
5260 # Name of the executable.
5261 as_me=`$as_basename "$0" ||
5262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5263          X"$0" : 'X\(//\)$' \| \
5264          X"$0" : 'X\(/\)$' \| \
5265          .     : '\(.\)' 2>/dev/null ||
5266 echo X/"$0" |
5267     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5268           /^X\/\(\/\/\)$/{ s//\1/; q; }
5269           /^X\/\(\/\).*/{ s//\1/; q; }
5270           s/.*/./; q'`
5271
5272
5273 # PATH needs CR, and LINENO needs CR and PATH.
5274 # Avoid depending upon Character Ranges.
5275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5278 as_cr_digits='0123456789'
5279 as_cr_alnum=$as_cr_Letters$as_cr_digits
5280
5281 # The user is always right.
5282 if test "${PATH_SEPARATOR+set}" != set; then
5283   echo "#! /bin/sh" >conf$$.sh
5284   echo  "exit 0"   >>conf$$.sh
5285   chmod +x conf$$.sh
5286   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5287     PATH_SEPARATOR=';'
5288   else
5289     PATH_SEPARATOR=:
5290   fi
5291   rm -f conf$$.sh
5292 fi
5293
5294
5295   as_lineno_1=$LINENO
5296   as_lineno_2=$LINENO
5297   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5298   test "x$as_lineno_1" != "x$as_lineno_2" &&
5299   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5300   # Find who we are.  Look in the path if we contain no path at all
5301   # relative or not.
5302   case $0 in
5303     *[\\/]* ) as_myself=$0 ;;
5304     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5306 do
5307   IFS=$as_save_IFS
5308   test -z "$as_dir" && as_dir=.
5309   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5310 done
5311
5312        ;;
5313   esac
5314   # We did not find ourselves, most probably we were run as `sh COMMAND'
5315   # in which case we are not to be found in the path.
5316   if test "x$as_myself" = x; then
5317     as_myself=$0
5318   fi
5319   if test ! -f "$as_myself"; then
5320     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5321 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5322    { (exit 1); exit 1; }; }
5323   fi
5324   case $CONFIG_SHELL in
5325   '')
5326     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5328 do
5329   IFS=$as_save_IFS
5330   test -z "$as_dir" && as_dir=.
5331   for as_base in sh bash ksh sh5; do
5332          case $as_dir in
5333          /*)
5334            if ("$as_dir/$as_base" -c '
5335   as_lineno_1=$LINENO
5336   as_lineno_2=$LINENO
5337   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5338   test "x$as_lineno_1" != "x$as_lineno_2" &&
5339   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5340              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5341              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5342              CONFIG_SHELL=$as_dir/$as_base
5343              export CONFIG_SHELL
5344              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5345            fi;;
5346          esac
5347        done
5348 done
5349 ;;
5350   esac
5351
5352   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5353   # uniformly replaced by the line number.  The first 'sed' inserts a
5354   # line-number line before each line; the second 'sed' does the real
5355   # work.  The second script uses 'N' to pair each line-number line
5356   # with the numbered line, and appends trailing '-' during
5357   # substitution so that $LINENO is not a special case at line end.
5358   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5359   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5360   sed '=' <$as_myself |
5361     sed '
5362       N
5363       s,$,-,
5364       : loop
5365       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5366       t loop
5367       s,-$,,
5368       s,^['$as_cr_digits']*\n,,
5369     ' >$as_me.lineno &&
5370   chmod +x $as_me.lineno ||
5371     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5373    { (exit 1); exit 1; }; }
5374
5375   # Don't try to exec as it changes $[0], causing all sort of problems
5376   # (the dirname of $[0] is not the place where we might find the
5377   # original and so on.  Autoconf is especially sensible to this).
5378   . ./$as_me.lineno
5379   # Exit status is that of the last command.
5380   exit
5381 }
5382
5383
5384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5385   *c*,-n*) ECHO_N= ECHO_C='
5386 ' ECHO_T='      ' ;;
5387   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5388   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5389 esac
5390
5391 if expr a : '\(a\)' >/dev/null 2>&1; then
5392   as_expr=expr
5393 else
5394   as_expr=false
5395 fi
5396
5397 rm -f conf$$ conf$$.exe conf$$.file
5398 echo >conf$$.file
5399 if ln -s conf$$.file conf$$ 2>/dev/null; then
5400   # We could just check for DJGPP; but this test a) works b) is more generic
5401   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5402   if test -f conf$$.exe; then
5403     # Don't use ln at all; we don't have any links
5404     as_ln_s='cp -p'
5405   else
5406     as_ln_s='ln -s'
5407   fi
5408 elif ln conf$$.file conf$$ 2>/dev/null; then
5409   as_ln_s=ln
5410 else
5411   as_ln_s='cp -p'
5412 fi
5413 rm -f conf$$ conf$$.exe conf$$.file
5414
5415 if mkdir -p . 2>/dev/null; then
5416   as_mkdir_p=:
5417 else
5418   test -d ./-p && rmdir ./-p
5419   as_mkdir_p=false
5420 fi
5421
5422 as_executable_p="test -f"
5423
5424 # Sed expression to map a string onto a valid CPP name.
5425 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5426
5427 # Sed expression to map a string onto a valid variable name.
5428 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5429
5430
5431 # IFS
5432 # We need space, tab and new line, in precisely that order.
5433 as_nl='
5434 '
5435 IFS="   $as_nl"
5436
5437 # CDPATH.
5438 $as_unset CDPATH
5439
5440 exec 6>&1
5441
5442 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5443 # report actual input values of CONFIG_FILES etc. instead of their
5444 # values after options handling.  Logging --version etc. is OK.
5445 exec 5>>config.log
5446 {
5447   echo
5448   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5449 ## Running $as_me. ##
5450 _ASBOX
5451 } >&5
5452 cat >&5 <<_CSEOF
5453
5454 This file was extended by $as_me, which was
5455 generated by GNU Autoconf 2.59.  Invocation command line was
5456
5457   CONFIG_FILES    = $CONFIG_FILES
5458   CONFIG_HEADERS  = $CONFIG_HEADERS
5459   CONFIG_LINKS    = $CONFIG_LINKS
5460   CONFIG_COMMANDS = $CONFIG_COMMANDS
5461   $ $0 $@
5462
5463 _CSEOF
5464 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5465 echo >&5
5466 _ACEOF
5467
5468 # Files that config.status was made for.
5469 if test -n "$ac_config_files"; then
5470   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5471 fi
5472
5473 if test -n "$ac_config_headers"; then
5474   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5475 fi
5476
5477 if test -n "$ac_config_links"; then
5478   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5479 fi
5480
5481 if test -n "$ac_config_commands"; then
5482   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5483 fi
5484
5485 cat >>$CONFIG_STATUS <<\_ACEOF
5486
5487 ac_cs_usage="\
5488 \`$as_me' instantiates files from templates according to the
5489 current configuration.
5490
5491 Usage: $0 [OPTIONS] [FILE]...
5492
5493   -h, --help       print this help, then exit
5494   -V, --version    print version number, then exit
5495   -q, --quiet      do not print progress messages
5496   -d, --debug      don't remove temporary files
5497       --recheck    update $as_me by reconfiguring in the same conditions
5498   --file=FILE[:TEMPLATE]
5499                    instantiate the configuration file FILE
5500   --header=FILE[:TEMPLATE]
5501                    instantiate the configuration header FILE
5502
5503 Configuration files:
5504 $config_files
5505
5506 Configuration headers:
5507 $config_headers
5508
5509 Configuration commands:
5510 $config_commands
5511
5512 Report bugs to <bug-autoconf@gnu.org>."
5513 _ACEOF
5514
5515 cat >>$CONFIG_STATUS <<_ACEOF
5516 ac_cs_version="\\
5517 config.status
5518 configured by $0, generated by GNU Autoconf 2.59,
5519   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5520
5521 Copyright (C) 2003 Free Software Foundation, Inc.
5522 This config.status script is free software; the Free Software Foundation
5523 gives unlimited permission to copy, distribute and modify it."
5524 srcdir=$srcdir
5525 INSTALL="$INSTALL"
5526 _ACEOF
5527
5528 cat >>$CONFIG_STATUS <<\_ACEOF
5529 # If no file are specified by the user, then we need to provide default
5530 # value.  By we need to know if files were specified by the user.
5531 ac_need_defaults=:
5532 while test $# != 0
5533 do
5534   case $1 in
5535   --*=*)
5536     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5537     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5538     ac_shift=:
5539     ;;
5540   -*)
5541     ac_option=$1
5542     ac_optarg=$2
5543     ac_shift=shift
5544     ;;
5545   *) # This is not an option, so the user has probably given explicit
5546      # arguments.
5547      ac_option=$1
5548      ac_need_defaults=false;;
5549   esac
5550
5551   case $ac_option in
5552   # Handling of the options.
5553 _ACEOF
5554 cat >>$CONFIG_STATUS <<\_ACEOF
5555   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5556     ac_cs_recheck=: ;;
5557   --version | --vers* | -V )
5558     echo "$ac_cs_version"; exit 0 ;;
5559   --he | --h)
5560     # Conflict between --help and --header
5561     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5562 Try \`$0 --help' for more information." >&5
5563 echo "$as_me: error: ambiguous option: $1
5564 Try \`$0 --help' for more information." >&2;}
5565    { (exit 1); exit 1; }; };;
5566   --help | --hel | -h )
5567     echo "$ac_cs_usage"; exit 0 ;;
5568   --debug | --d* | -d )
5569     debug=: ;;
5570   --file | --fil | --fi | --f )
5571     $ac_shift
5572     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5573     ac_need_defaults=false;;
5574   --header | --heade | --head | --hea )
5575     $ac_shift
5576     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5577     ac_need_defaults=false;;
5578   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5579   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5580     ac_cs_silent=: ;;
5581
5582   # This is an error.
5583   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5584 Try \`$0 --help' for more information." >&5
5585 echo "$as_me: error: unrecognized option: $1
5586 Try \`$0 --help' for more information." >&2;}
5587    { (exit 1); exit 1; }; } ;;
5588
5589   *) ac_config_targets="$ac_config_targets $1" ;;
5590
5591   esac
5592   shift
5593 done
5594
5595 ac_configure_extra_args=
5596
5597 if $ac_cs_silent; then
5598   exec 6>/dev/null
5599   ac_configure_extra_args="$ac_configure_extra_args --silent"
5600 fi
5601
5602 _ACEOF
5603 cat >>$CONFIG_STATUS <<_ACEOF
5604 if \$ac_cs_recheck; then
5605   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5606   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5607 fi
5608
5609 _ACEOF
5610
5611 cat >>$CONFIG_STATUS <<_ACEOF
5612 #
5613 # INIT-COMMANDS section.
5614 #
5615
5616 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5617
5618 _ACEOF
5619
5620
5621
5622 cat >>$CONFIG_STATUS <<\_ACEOF
5623 for ac_config_target in $ac_config_targets
5624 do
5625   case "$ac_config_target" in
5626   # Handling of arguments.
5627   "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5628   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5629   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5630   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5631   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5632   "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5633   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5634   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5635   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5636 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5637    { (exit 1); exit 1; }; };;
5638   esac
5639 done
5640
5641 # If the user did not use the arguments to specify the items to instantiate,
5642 # then the envvar interface is used.  Set only those that are not.
5643 # We use the long form for the default assignment because of an extremely
5644 # bizarre bug on SunOS 4.1.3.
5645 if $ac_need_defaults; then
5646   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5647   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5648   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5649 fi
5650
5651 # Have a temporary directory for convenience.  Make it in the build tree
5652 # simply because there is no reason to put it here, and in addition,
5653 # creating and moving files from /tmp can sometimes cause problems.
5654 # Create a temporary directory, and hook for its removal unless debugging.
5655 $debug ||
5656 {
5657   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5658   trap '{ (exit 1); exit 1; }' 1 2 13 15
5659 }
5660
5661 # Create a (secure) tmp directory for tmp files.
5662
5663 {
5664   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5665   test -n "$tmp" && test -d "$tmp"
5666 }  ||
5667 {
5668   tmp=./confstat$$-$RANDOM
5669   (umask 077 && mkdir $tmp)
5670 } ||
5671 {
5672    echo "$me: cannot create a temporary directory in ." >&2
5673    { (exit 1); exit 1; }
5674 }
5675
5676 _ACEOF
5677
5678 cat >>$CONFIG_STATUS <<_ACEOF
5679
5680 #
5681 # CONFIG_FILES section.
5682 #
5683
5684 # No need to generate the scripts if there are no CONFIG_FILES.
5685 # This happens for instance when ./config.status config.h
5686 if test -n "\$CONFIG_FILES"; then
5687   # Protect against being on the right side of a sed subst in config.status.
5688   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5689    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5690 s,@SHELL@,$SHELL,;t t
5691 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5692 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5693 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5694 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5695 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5696 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5697 s,@exec_prefix@,$exec_prefix,;t t
5698 s,@prefix@,$prefix,;t t
5699 s,@program_transform_name@,$program_transform_name,;t t
5700 s,@bindir@,$bindir,;t t
5701 s,@sbindir@,$sbindir,;t t
5702 s,@libexecdir@,$libexecdir,;t t
5703 s,@datadir@,$datadir,;t t
5704 s,@sysconfdir@,$sysconfdir,;t t
5705 s,@sharedstatedir@,$sharedstatedir,;t t
5706 s,@localstatedir@,$localstatedir,;t t
5707 s,@libdir@,$libdir,;t t
5708 s,@includedir@,$includedir,;t t
5709 s,@oldincludedir@,$oldincludedir,;t t
5710 s,@infodir@,$infodir,;t t
5711 s,@mandir@,$mandir,;t t
5712 s,@build_alias@,$build_alias,;t t
5713 s,@host_alias@,$host_alias,;t t
5714 s,@target_alias@,$target_alias,;t t
5715 s,@DEFS@,$DEFS,;t t
5716 s,@ECHO_C@,$ECHO_C,;t t
5717 s,@ECHO_N@,$ECHO_N,;t t
5718 s,@ECHO_T@,$ECHO_T,;t t
5719 s,@LIBS@,$LIBS,;t t
5720 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5721 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5722 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5723 s,@CYGPATH_W@,$CYGPATH_W,;t t
5724 s,@PACKAGE@,$PACKAGE,;t t
5725 s,@VERSION@,$VERSION,;t t
5726 s,@ACLOCAL@,$ACLOCAL,;t t
5727 s,@AUTOCONF@,$AUTOCONF,;t t
5728 s,@AUTOMAKE@,$AUTOMAKE,;t t
5729 s,@AUTOHEADER@,$AUTOHEADER,;t t
5730 s,@MAKEINFO@,$MAKEINFO,;t t
5731 s,@AMTAR@,$AMTAR,;t t
5732 s,@install_sh@,$install_sh,;t t
5733 s,@STRIP@,$STRIP,;t t
5734 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5735 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5736 s,@mkdir_p@,$mkdir_p,;t t
5737 s,@AWK@,$AWK,;t t
5738 s,@SET_MAKE@,$SET_MAKE,;t t
5739 s,@am__leading_dot@,$am__leading_dot,;t t
5740 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5741 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5742 s,@MAINT@,$MAINT,;t t
5743 s,@SUBDIRS@,$SUBDIRS,;t t
5744 s,@DOINSTGOB@,$DOINSTGOB,;t t
5745 s,@NOINSTGOB@,$NOINSTGOB,;t t
5746 s,@CC@,$CC,;t t
5747 s,@CFLAGS@,$CFLAGS,;t t
5748 s,@LDFLAGS@,$LDFLAGS,;t t
5749 s,@CPPFLAGS@,$CPPFLAGS,;t t
5750 s,@ac_ct_CC@,$ac_ct_CC,;t t
5751 s,@EXEEXT@,$EXEEXT,;t t
5752 s,@OBJEXT@,$OBJEXT,;t t
5753 s,@DEPDIR@,$DEPDIR,;t t
5754 s,@am__include@,$am__include,;t t
5755 s,@am__quote@,$am__quote,;t t
5756 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5757 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5758 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5759 s,@CCDEPMODE@,$CCDEPMODE,;t t
5760 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5761 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5762 s,@CPP@,$CPP,;t t
5763 s,@EGREP@,$EGREP,;t t
5764 s,@YACC@,$YACC,;t t
5765 s,@LEX@,$LEX,;t t
5766 s,@LEXLIB@,$LEXLIB,;t t
5767 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5768 s,@RM@,$RM,;t t
5769 s,@MV@,$MV,;t t
5770 s,@TAR@,$TAR,;t t
5771 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5772 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5773 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5774 s,@YFLAGS@,$YFLAGS,;t t
5775 s,@LIBOBJS@,$LIBOBJS,;t t
5776 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5777 CEOF
5778
5779 _ACEOF
5780
5781   cat >>$CONFIG_STATUS <<\_ACEOF
5782   # Split the substitutions into bite-sized pieces for seds with
5783   # small command number limits, like on Digital OSF/1 and HP-UX.
5784   ac_max_sed_lines=48
5785   ac_sed_frag=1 # Number of current file.
5786   ac_beg=1 # First line for current file.
5787   ac_end=$ac_max_sed_lines # Line after last line for current file.
5788   ac_more_lines=:
5789   ac_sed_cmds=
5790   while $ac_more_lines; do
5791     if test $ac_beg -gt 1; then
5792       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5793     else
5794       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5795     fi
5796     if test ! -s $tmp/subs.frag; then
5797       ac_more_lines=false
5798     else
5799       # The purpose of the label and of the branching condition is to
5800       # speed up the sed processing (if there are no `@' at all, there
5801       # is no need to browse any of the substitutions).
5802       # These are the two extra sed commands mentioned above.
5803       (echo ':t
5804   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5805       if test -z "$ac_sed_cmds"; then
5806         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5807       else
5808         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5809       fi
5810       ac_sed_frag=`expr $ac_sed_frag + 1`
5811       ac_beg=$ac_end
5812       ac_end=`expr $ac_end + $ac_max_sed_lines`
5813     fi
5814   done
5815   if test -z "$ac_sed_cmds"; then
5816     ac_sed_cmds=cat
5817   fi
5818 fi # test -n "$CONFIG_FILES"
5819
5820 _ACEOF
5821 cat >>$CONFIG_STATUS <<\_ACEOF
5822 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5823   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5824   case $ac_file in
5825   - | *:- | *:-:* ) # input from stdin
5826         cat >$tmp/stdin
5827         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5828         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5829   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5830         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5831   * )   ac_file_in=$ac_file.in ;;
5832   esac
5833
5834   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5835   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5837          X"$ac_file" : 'X\(//\)[^/]' \| \
5838          X"$ac_file" : 'X\(//\)$' \| \
5839          X"$ac_file" : 'X\(/\)' \| \
5840          .     : '\(.\)' 2>/dev/null ||
5841 echo X"$ac_file" |
5842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5843           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5844           /^X\(\/\/\)$/{ s//\1/; q; }
5845           /^X\(\/\).*/{ s//\1/; q; }
5846           s/.*/./; q'`
5847   { if $as_mkdir_p; then
5848     mkdir -p "$ac_dir"
5849   else
5850     as_dir="$ac_dir"
5851     as_dirs=
5852     while test ! -d "$as_dir"; do
5853       as_dirs="$as_dir $as_dirs"
5854       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5856          X"$as_dir" : 'X\(//\)[^/]' \| \
5857          X"$as_dir" : 'X\(//\)$' \| \
5858          X"$as_dir" : 'X\(/\)' \| \
5859          .     : '\(.\)' 2>/dev/null ||
5860 echo X"$as_dir" |
5861     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5862           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5863           /^X\(\/\/\)$/{ s//\1/; q; }
5864           /^X\(\/\).*/{ s//\1/; q; }
5865           s/.*/./; q'`
5866     done
5867     test ! -n "$as_dirs" || mkdir $as_dirs
5868   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5869 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5870    { (exit 1); exit 1; }; }; }
5871
5872   ac_builddir=.
5873
5874 if test "$ac_dir" != .; then
5875   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5876   # A "../" for each directory in $ac_dir_suffix.
5877   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5878 else
5879   ac_dir_suffix= ac_top_builddir=
5880 fi
5881
5882 case $srcdir in
5883   .)  # No --srcdir option.  We are building in place.
5884     ac_srcdir=.
5885     if test -z "$ac_top_builddir"; then
5886        ac_top_srcdir=.
5887     else
5888        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5889     fi ;;
5890   [\\/]* | ?:[\\/]* )  # Absolute path.
5891     ac_srcdir=$srcdir$ac_dir_suffix;
5892     ac_top_srcdir=$srcdir ;;
5893   *) # Relative path.
5894     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5895     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5896 esac
5897
5898 # Do not use `cd foo && pwd` to compute absolute paths, because
5899 # the directories may not exist.
5900 case `pwd` in
5901 .) ac_abs_builddir="$ac_dir";;
5902 *)
5903   case "$ac_dir" in
5904   .) ac_abs_builddir=`pwd`;;
5905   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5906   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5907   esac;;
5908 esac
5909 case $ac_abs_builddir in
5910 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5911 *)
5912   case ${ac_top_builddir}. in
5913   .) ac_abs_top_builddir=$ac_abs_builddir;;
5914   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5915   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5916   esac;;
5917 esac
5918 case $ac_abs_builddir in
5919 .) ac_abs_srcdir=$ac_srcdir;;
5920 *)
5921   case $ac_srcdir in
5922   .) ac_abs_srcdir=$ac_abs_builddir;;
5923   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5924   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5925   esac;;
5926 esac
5927 case $ac_abs_builddir in
5928 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5929 *)
5930   case $ac_top_srcdir in
5931   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5932   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5933   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5934   esac;;
5935 esac
5936
5937
5938   case $INSTALL in
5939   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5940   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5941   esac
5942
5943   if test x"$ac_file" != x-; then
5944     { echo "$as_me:$LINENO: creating $ac_file" >&5
5945 echo "$as_me: creating $ac_file" >&6;}
5946     rm -f "$ac_file"
5947   fi
5948   # Let's still pretend it is `configure' which instantiates (i.e., don't
5949   # use $as_me), people would be surprised to read:
5950   #    /* config.h.  Generated by config.status.  */
5951   if test x"$ac_file" = x-; then
5952     configure_input=
5953   else
5954     configure_input="$ac_file.  "
5955   fi
5956   configure_input=$configure_input"Generated from `echo $ac_file_in |
5957                                      sed 's,.*/,,'` by configure."
5958
5959   # First look for the input files in the build tree, otherwise in the
5960   # src tree.
5961   ac_file_inputs=`IFS=:
5962     for f in $ac_file_in; do
5963       case $f in
5964       -) echo $tmp/stdin ;;
5965       [\\/$]*)
5966          # Absolute (can't be DOS-style, as IFS=:)
5967          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5968 echo "$as_me: error: cannot find input file: $f" >&2;}
5969    { (exit 1); exit 1; }; }
5970          echo "$f";;
5971       *) # Relative
5972          if test -f "$f"; then
5973            # Build tree
5974            echo "$f"
5975          elif test -f "$srcdir/$f"; then
5976            # Source tree
5977            echo "$srcdir/$f"
5978          else
5979            # /dev/null tree
5980            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5981 echo "$as_me: error: cannot find input file: $f" >&2;}
5982    { (exit 1); exit 1; }; }
5983          fi;;
5984       esac
5985     done` || { (exit 1); exit 1; }
5986 _ACEOF
5987 cat >>$CONFIG_STATUS <<_ACEOF
5988   sed "$ac_vpsub
5989 $extrasub
5990 _ACEOF
5991 cat >>$CONFIG_STATUS <<\_ACEOF
5992 :t
5993 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5994 s,@configure_input@,$configure_input,;t t
5995 s,@srcdir@,$ac_srcdir,;t t
5996 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5997 s,@top_srcdir@,$ac_top_srcdir,;t t
5998 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5999 s,@builddir@,$ac_builddir,;t t
6000 s,@abs_builddir@,$ac_abs_builddir,;t t
6001 s,@top_builddir@,$ac_top_builddir,;t t
6002 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6003 s,@INSTALL@,$ac_INSTALL,;t t
6004 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6005   rm -f $tmp/stdin
6006   if test x"$ac_file" != x-; then
6007     mv $tmp/out $ac_file
6008   else
6009     cat $tmp/out
6010     rm -f $tmp/out
6011   fi
6012
6013 done
6014 _ACEOF
6015 cat >>$CONFIG_STATUS <<\_ACEOF
6016
6017 #
6018 # CONFIG_HEADER section.
6019 #
6020
6021 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6022 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6023 #
6024 # ac_d sets the value in "#define NAME VALUE" lines.
6025 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
6026 ac_dB='[         ].*$,\1#\2'
6027 ac_dC=' '
6028 ac_dD=',;t'
6029 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6030 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
6031 ac_uB='$,\1#\2define\3'
6032 ac_uC=' '
6033 ac_uD=',;t'
6034
6035 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6036   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6037   case $ac_file in
6038   - | *:- | *:-:* ) # input from stdin
6039         cat >$tmp/stdin
6040         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6041         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6042   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6043         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6044   * )   ac_file_in=$ac_file.in ;;
6045   esac
6046
6047   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6048 echo "$as_me: creating $ac_file" >&6;}
6049
6050   # First look for the input files in the build tree, otherwise in the
6051   # src tree.
6052   ac_file_inputs=`IFS=:
6053     for f in $ac_file_in; do
6054       case $f in
6055       -) echo $tmp/stdin ;;
6056       [\\/$]*)
6057          # Absolute (can't be DOS-style, as IFS=:)
6058          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6059 echo "$as_me: error: cannot find input file: $f" >&2;}
6060    { (exit 1); exit 1; }; }
6061          # Do quote $f, to prevent DOS paths from being IFS'd.
6062          echo "$f";;
6063       *) # Relative
6064          if test -f "$f"; then
6065            # Build tree
6066            echo "$f"
6067          elif test -f "$srcdir/$f"; then
6068            # Source tree
6069            echo "$srcdir/$f"
6070          else
6071            # /dev/null tree
6072            { { 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          fi;;
6076       esac
6077     done` || { (exit 1); exit 1; }
6078   # Remove the trailing spaces.
6079   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6080
6081 _ACEOF
6082
6083 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6084 # `conftest.undefs', that substitutes the proper values into
6085 # config.h.in to produce config.h.  The first handles `#define'
6086 # templates, and the second `#undef' templates.
6087 # And first: Protect against being on the right side of a sed subst in
6088 # config.status.  Protect against being in an unquoted here document
6089 # in config.status.
6090 rm -f conftest.defines conftest.undefs
6091 # Using a here document instead of a string reduces the quoting nightmare.
6092 # Putting comments in sed scripts is not portable.
6093 #
6094 # `end' is used to avoid that the second main sed command (meant for
6095 # 0-ary CPP macros) applies to n-ary macro definitions.
6096 # See the Autoconf documentation for `clear'.
6097 cat >confdef2sed.sed <<\_ACEOF
6098 s/[\\&,]/\\&/g
6099 s,[\\$`],\\&,g
6100 t clear
6101 : clear
6102 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6103 t end
6104 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6105 : end
6106 _ACEOF
6107 # If some macros were called several times there might be several times
6108 # the same #defines, which is useless.  Nevertheless, we may not want to
6109 # sort them, since we want the *last* AC-DEFINE to be honored.
6110 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6111 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6112 rm -f confdef2sed.sed
6113
6114 # This sed command replaces #undef with comments.  This is necessary, for
6115 # example, in the case of _POSIX_SOURCE, which is predefined and required
6116 # on some systems where configure will not decide to define it.
6117 cat >>conftest.undefs <<\_ACEOF
6118 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6119 _ACEOF
6120
6121 # Break up conftest.defines because some shells have a limit on the size
6122 # of here documents, and old seds have small limits too (100 cmds).
6123 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6124 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6125 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6126 echo '  :' >>$CONFIG_STATUS
6127 rm -f conftest.tail
6128 while grep . conftest.defines >/dev/null
6129 do
6130   # Write a limited-size here document to $tmp/defines.sed.
6131   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6132   # Speed up: don't consider the non `#define' lines.
6133   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6134   # Work around the forget-to-reset-the-flag bug.
6135   echo 't clr' >>$CONFIG_STATUS
6136   echo ': clr' >>$CONFIG_STATUS
6137   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6138   echo 'CEOF
6139   sed -f $tmp/defines.sed $tmp/in >$tmp/out
6140   rm -f $tmp/in
6141   mv $tmp/out $tmp/in
6142 ' >>$CONFIG_STATUS
6143   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6144   rm -f conftest.defines
6145   mv conftest.tail conftest.defines
6146 done
6147 rm -f conftest.defines
6148 echo '  fi # grep' >>$CONFIG_STATUS
6149 echo >>$CONFIG_STATUS
6150
6151 # Break up conftest.undefs because some shells have a limit on the size
6152 # of here documents, and old seds have small limits too (100 cmds).
6153 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6154 rm -f conftest.tail
6155 while grep . conftest.undefs >/dev/null
6156 do
6157   # Write a limited-size here document to $tmp/undefs.sed.
6158   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6159   # Speed up: don't consider the non `#undef'
6160   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6161   # Work around the forget-to-reset-the-flag bug.
6162   echo 't clr' >>$CONFIG_STATUS
6163   echo ': clr' >>$CONFIG_STATUS
6164   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6165   echo 'CEOF
6166   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6167   rm -f $tmp/in
6168   mv $tmp/out $tmp/in
6169 ' >>$CONFIG_STATUS
6170   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6171   rm -f conftest.undefs
6172   mv conftest.tail conftest.undefs
6173 done
6174 rm -f conftest.undefs
6175
6176 cat >>$CONFIG_STATUS <<\_ACEOF
6177   # Let's still pretend it is `configure' which instantiates (i.e., don't
6178   # use $as_me), people would be surprised to read:
6179   #    /* config.h.  Generated by config.status.  */
6180   if test x"$ac_file" = x-; then
6181     echo "/* Generated by configure.  */" >$tmp/config.h
6182   else
6183     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6184   fi
6185   cat $tmp/in >>$tmp/config.h
6186   rm -f $tmp/in
6187   if test x"$ac_file" != x-; then
6188     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6189       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6190 echo "$as_me: $ac_file is unchanged" >&6;}
6191     else
6192       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6194          X"$ac_file" : 'X\(//\)[^/]' \| \
6195          X"$ac_file" : 'X\(//\)$' \| \
6196          X"$ac_file" : 'X\(/\)' \| \
6197          .     : '\(.\)' 2>/dev/null ||
6198 echo X"$ac_file" |
6199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6200           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6201           /^X\(\/\/\)$/{ s//\1/; q; }
6202           /^X\(\/\).*/{ s//\1/; q; }
6203           s/.*/./; q'`
6204       { if $as_mkdir_p; then
6205     mkdir -p "$ac_dir"
6206   else
6207     as_dir="$ac_dir"
6208     as_dirs=
6209     while test ! -d "$as_dir"; do
6210       as_dirs="$as_dir $as_dirs"
6211       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6213          X"$as_dir" : 'X\(//\)[^/]' \| \
6214          X"$as_dir" : 'X\(//\)$' \| \
6215          X"$as_dir" : 'X\(/\)' \| \
6216          .     : '\(.\)' 2>/dev/null ||
6217 echo X"$as_dir" |
6218     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6219           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6220           /^X\(\/\/\)$/{ s//\1/; q; }
6221           /^X\(\/\).*/{ s//\1/; q; }
6222           s/.*/./; q'`
6223     done
6224     test ! -n "$as_dirs" || mkdir $as_dirs
6225   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6226 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6227    { (exit 1); exit 1; }; }; }
6228
6229       rm -f $ac_file
6230       mv $tmp/config.h $ac_file
6231     fi
6232   else
6233     cat $tmp/config.h
6234     rm -f $tmp/config.h
6235   fi
6236 # Compute $ac_file's index in $config_headers.
6237 _am_stamp_count=1
6238 for _am_header in $config_headers :; do
6239   case $_am_header in
6240     $ac_file | $ac_file:* )
6241       break ;;
6242     * )
6243       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6244   esac
6245 done
6246 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6247 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6248          X$ac_file : 'X\(//\)[^/]' \| \
6249          X$ac_file : 'X\(//\)$' \| \
6250          X$ac_file : 'X\(/\)' \| \
6251          .     : '\(.\)' 2>/dev/null ||
6252 echo X$ac_file |
6253     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6254           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6255           /^X\(\/\/\)$/{ s//\1/; q; }
6256           /^X\(\/\).*/{ s//\1/; q; }
6257           s/.*/./; q'`/stamp-h$_am_stamp_count
6258 done
6259 _ACEOF
6260 cat >>$CONFIG_STATUS <<\_ACEOF
6261
6262 #
6263 # CONFIG_COMMANDS section.
6264 #
6265 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6266   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6267   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6268   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6269 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6270          X"$ac_dest" : 'X\(//\)[^/]' \| \
6271          X"$ac_dest" : 'X\(//\)$' \| \
6272          X"$ac_dest" : 'X\(/\)' \| \
6273          .     : '\(.\)' 2>/dev/null ||
6274 echo X"$ac_dest" |
6275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6276           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6277           /^X\(\/\/\)$/{ s//\1/; q; }
6278           /^X\(\/\).*/{ s//\1/; q; }
6279           s/.*/./; q'`
6280   { if $as_mkdir_p; then
6281     mkdir -p "$ac_dir"
6282   else
6283     as_dir="$ac_dir"
6284     as_dirs=
6285     while test ! -d "$as_dir"; do
6286       as_dirs="$as_dir $as_dirs"
6287       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6289          X"$as_dir" : 'X\(//\)[^/]' \| \
6290          X"$as_dir" : 'X\(//\)$' \| \
6291          X"$as_dir" : 'X\(/\)' \| \
6292          .     : '\(.\)' 2>/dev/null ||
6293 echo X"$as_dir" |
6294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6295           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6296           /^X\(\/\/\)$/{ s//\1/; q; }
6297           /^X\(\/\).*/{ s//\1/; q; }
6298           s/.*/./; q'`
6299     done
6300     test ! -n "$as_dirs" || mkdir $as_dirs
6301   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6302 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6303    { (exit 1); exit 1; }; }; }
6304
6305   ac_builddir=.
6306
6307 if test "$ac_dir" != .; then
6308   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6309   # A "../" for each directory in $ac_dir_suffix.
6310   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6311 else
6312   ac_dir_suffix= ac_top_builddir=
6313 fi
6314
6315 case $srcdir in
6316   .)  # No --srcdir option.  We are building in place.
6317     ac_srcdir=.
6318     if test -z "$ac_top_builddir"; then
6319        ac_top_srcdir=.
6320     else
6321        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6322     fi ;;
6323   [\\/]* | ?:[\\/]* )  # Absolute path.
6324     ac_srcdir=$srcdir$ac_dir_suffix;
6325     ac_top_srcdir=$srcdir ;;
6326   *) # Relative path.
6327     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6328     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6329 esac
6330
6331 # Do not use `cd foo && pwd` to compute absolute paths, because
6332 # the directories may not exist.
6333 case `pwd` in
6334 .) ac_abs_builddir="$ac_dir";;
6335 *)
6336   case "$ac_dir" in
6337   .) ac_abs_builddir=`pwd`;;
6338   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6339   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6340   esac;;
6341 esac
6342 case $ac_abs_builddir in
6343 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6344 *)
6345   case ${ac_top_builddir}. in
6346   .) ac_abs_top_builddir=$ac_abs_builddir;;
6347   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6348   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6349   esac;;
6350 esac
6351 case $ac_abs_builddir in
6352 .) ac_abs_srcdir=$ac_srcdir;;
6353 *)
6354   case $ac_srcdir in
6355   .) ac_abs_srcdir=$ac_abs_builddir;;
6356   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6357   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6358   esac;;
6359 esac
6360 case $ac_abs_builddir in
6361 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6362 *)
6363   case $ac_top_srcdir in
6364   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6365   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6366   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6367   esac;;
6368 esac
6369
6370
6371   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6372 echo "$as_me: executing $ac_dest commands" >&6;}
6373   case $ac_dest in
6374     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6375   # Strip MF so we end up with the name of the file.
6376   mf=`echo "$mf" | sed -e 's/:.*$//'`
6377   # Check whether this is an Automake generated Makefile or not.
6378   # We used to match only the files named `Makefile.in', but
6379   # some people rename them; so instead we look at the file content.
6380   # Grep'ing the first line is not enough: some people post-process
6381   # each Makefile.in and add a new line on top of each file to say so.
6382   # So let's grep whole file.
6383   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6384     dirpart=`(dirname "$mf") 2>/dev/null ||
6385 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6386          X"$mf" : 'X\(//\)[^/]' \| \
6387          X"$mf" : 'X\(//\)$' \| \
6388          X"$mf" : 'X\(/\)' \| \
6389          .     : '\(.\)' 2>/dev/null ||
6390 echo X"$mf" |
6391     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6392           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6393           /^X\(\/\/\)$/{ s//\1/; q; }
6394           /^X\(\/\).*/{ s//\1/; q; }
6395           s/.*/./; q'`
6396   else
6397     continue
6398   fi
6399   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6400   # Extract the definition of DEP_FILES from the Makefile without
6401   # running `make'.
6402   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6403   test -z "$DEPDIR" && continue
6404   # When using ansi2knr, U may be empty or an underscore; expand it
6405   U=`sed -n -e '/^U = / s///p' < "$mf"`
6406   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6407   # We invoke sed twice because it is the simplest approach to
6408   # changing $(DEPDIR) to its actual value in the expansion.
6409   for file in `sed -n -e '
6410     /^DEP_FILES = .*\\\\$/ {
6411       s/^DEP_FILES = //
6412       :loop
6413         s/\\\\$//
6414         p
6415         n
6416         /\\\\$/ b loop
6417       p
6418     }
6419     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6420        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6421     # Make sure the directory exists.
6422     test -f "$dirpart/$file" && continue
6423     fdir=`(dirname "$file") 2>/dev/null ||
6424 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6425          X"$file" : 'X\(//\)[^/]' \| \
6426          X"$file" : 'X\(//\)$' \| \
6427          X"$file" : 'X\(/\)' \| \
6428          .     : '\(.\)' 2>/dev/null ||
6429 echo X"$file" |
6430     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6431           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6432           /^X\(\/\/\)$/{ s//\1/; q; }
6433           /^X\(\/\).*/{ s//\1/; q; }
6434           s/.*/./; q'`
6435     { if $as_mkdir_p; then
6436     mkdir -p $dirpart/$fdir
6437   else
6438     as_dir=$dirpart/$fdir
6439     as_dirs=
6440     while test ! -d "$as_dir"; do
6441       as_dirs="$as_dir $as_dirs"
6442       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6444          X"$as_dir" : 'X\(//\)[^/]' \| \
6445          X"$as_dir" : 'X\(//\)$' \| \
6446          X"$as_dir" : 'X\(/\)' \| \
6447          .     : '\(.\)' 2>/dev/null ||
6448 echo X"$as_dir" |
6449     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6450           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6451           /^X\(\/\/\)$/{ s//\1/; q; }
6452           /^X\(\/\).*/{ s//\1/; q; }
6453           s/.*/./; q'`
6454     done
6455     test ! -n "$as_dirs" || mkdir $as_dirs
6456   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6457 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6458    { (exit 1); exit 1; }; }; }
6459
6460     # echo "creating $dirpart/$file"
6461     echo '# dummy' > "$dirpart/$file"
6462   done
6463 done
6464  ;;
6465   esac
6466 done
6467 _ACEOF
6468
6469 cat >>$CONFIG_STATUS <<\_ACEOF
6470
6471 { (exit 0); exit 0; }
6472 _ACEOF
6473 chmod +x $CONFIG_STATUS
6474 ac_clean_files=$ac_clean_files_save
6475
6476
6477 # configure is writing to config.log, and then calls config.status.
6478 # config.status does its own redirection, appending to config.log.
6479 # Unfortunately, on DOS this fails, as config.log is still kept open
6480 # by configure, so config.status won't be able to write to it; its
6481 # output is simply discarded.  So we exec the FD to /dev/null,
6482 # effectively closing config.log, so it can be properly (re)opened and
6483 # appended to by config.status.  When coming back to configure, we
6484 # need to make the FD available again.
6485 if test "$no_create" != yes; then
6486   ac_cs_success=:
6487   ac_config_status_args=
6488   test "$silent" = yes &&
6489     ac_config_status_args="$ac_config_status_args --quiet"
6490   exec 5>/dev/null
6491   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6492   exec 5>>config.log
6493   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6494   # would make configure fail if this is the last instruction.
6495   $ac_cs_success || { (exit 1); exit 1; }
6496 fi
6497