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