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