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