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