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