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