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