1 #! /data/data/com.termux/files/usr/bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xmldoc 0.9.
5 # Report bugs to <arjen@andromeda.nl>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
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 :
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
240 if test "x$CONFIG_SHELL" != x; then :
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.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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
279 SHELL=${CONFIG_SHELL-/data/data/com.termux/files/usr/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
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
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
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 :
401 as_val=`expr "$@" || test $? -eq 1`
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.
413 as_status=$1; test $as_status -eq 0 && as_status=1
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
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
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'"
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'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='xmldoc'
582 PACKAGE_TARNAME='xmldoc'
583 PACKAGE_VERSION='0.9'
584 PACKAGE_STRING='xmldoc 0.9'
585 PACKAGE_BUGREPORT='arjen@andromeda.nl'
588 # Factoring default headers for most tests.
589 ac_includes_default="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars='am__EXEEXT_FALSE
660 INSTALL_STRIP_PROGRAM
702 program_transform_name
716 enable_option_checking
718 enable_dependency_tracking
720 ac_precious_vars='build_alias
731 # Initialize some variables set by options.
733 ac_init_version=false
734 ac_unrecognized_opts=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name=s,x,x,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
820 cache_file=config.cache ;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=no ;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
874 eval enable_$ac_useropt=\$ac_optarg ;;
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
889 -help | --help | --hel | --he | -h)
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 htmldir=$ac_optarg ;;
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
919 -libdir | --libdir | --libdi | --libd)
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
931 -localedir | --localedir | --localedi | --localed | --locale)
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 # Obsolete; use --without-fp.
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1010 -psdir | --psdir | --psdi | --psd | --ps)
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 sbindir=$ac_optarg ;;
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 sharedstatedir=$ac_optarg ;;
1036 -site | --site | --sit)
1038 -site=* | --site=* | --sit=*)
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval with_$ac_useropt=\$ac_optarg ;;
1080 -without-* | --without-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=no ;;
1097 # Obsolete; use --with-x.
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1101 | --x-incl | --x-inc | --x-in | --x-i)
1102 ac_prev=x_includes ;;
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1105 x_includes=$ac_optarg ;;
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1109 ac_prev=x_libraries ;;
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1115 Try \`$0 --help' for more information"
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 case $ac_envvar in #(
1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125 eval $ac_envvar=\$ac_optarg
1126 export $ac_envvar ;;
1129 # FIXME: should be removed in autoconf 3.0.
1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1133 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1139 if test -n "$ac_prev"; then
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1141 as_fn_error $? "missing argument to $ac_option"
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 # Check all directory arguments for consistency.
1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir
1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes.
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1163 eval $ac_var=\$ac_val;;
1165 # Be sure to have absolute directory names.
1167 [\\/$]* | ?:[\\/]* ) continue;;
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173 # There might be people who depend on the old broken behavior: `$host'
1174 # used to hold the argument of --host etc.
1175 # FIXME: To remove some day.
1178 target=$target_alias
1180 # FIXME: To remove some day.
1181 if test "x$host_alias" != x; then
1182 if test "x$build_alias" = x; then
1183 cross_compiling=maybe
1184 elif test "x$build_alias" != "x$host_alias"; then
1190 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192 test "$silent" = yes && exec 6>/dev/null
1195 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196 ac_ls_di=`ls -di .` &&
1197 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198 as_fn_error $? "working directory cannot be determined"
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 as_fn_error $? "pwd does not report name of working directory"
1203 # Find the source files, if location was not specified.
1204 if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes
1206 # Try the directory containing this script, then the parent directory.
1207 ac_confdir=`$as_dirname -- "$as_myself" ||
1208 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209 X"$as_myself" : 'X\(//\)[^/]' \| \
1210 X"$as_myself" : 'X\(//\)$' \| \
1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1212 $as_echo X"$as_myself" |
1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1235 ac_srcdir_defaulted=no
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1239 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var in $ac_precious_vars; do
1256 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_${ac_var}_value=\$${ac_var}
1258 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures xmldoc 0.9 to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking ...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/xmldoc]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1327 --program-prefix=PREFIX prepend PREFIX to installed program names
1328 --program-suffix=SUFFIX append SUFFIX to installed program names
1329 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of xmldoc 0.9:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --enable-silent-rules less verbose build output (undo: "make V=1")
1344 --disable-silent-rules verbose build output (undo: "make V=0")
1345 --enable-dependency-tracking
1346 do not reject slow dependency extractors
1347 --disable-dependency-tracking
1348 speeds up one-time build
1350 Some influential environment variables:
1351 CC C compiler command
1352 CFLAGS C compiler flags
1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1354 nonstandard directory <lib dir>
1355 LIBS libraries to pass to the linker, e.g. -l<library>
1356 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1360 Use these variables to override the choices made by `configure' or to help
1361 it to find libraries and programs with nonstandard names/locations.
1363 Report bugs to <arjen@andromeda.nl>.
1368 if test "$ac_init_help" = "recursive"; then
1369 # If there are subdirs, report their specific --help.
1370 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1371 test -d "$ac_dir" ||
1372 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1380 # A ".." for each directory in $ac_dir_suffix.
1381 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1382 case $ac_top_builddir_sub in
1383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387 ac_abs_top_builddir=$ac_pwd
1388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1389 # for backward compatibility:
1390 ac_top_builddir=$ac_top_build_prefix
1393 .) # We are building in place.
1395 ac_top_srcdir=$ac_top_builddir_sub
1396 ac_abs_top_srcdir=$ac_pwd ;;
1397 [\\/]* | ?:[\\/]* ) # Absolute name.
1398 ac_srcdir=$srcdir$ac_dir_suffix;
1399 ac_top_srcdir=$srcdir
1400 ac_abs_top_srcdir=$srcdir ;;
1402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403 ac_top_srcdir=$ac_top_build_prefix$srcdir
1404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1408 cd "$ac_dir" || { ac_status=$?; continue; }
1409 # Check for guested configure.
1410 if test -f "$ac_srcdir/configure.gnu"; then
1412 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413 elif test -f "$ac_srcdir/configure"; then
1415 $SHELL "$ac_srcdir/configure" --help=recursive
1417 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1419 cd "$ac_pwd" || { ac_status=$?; break; }
1423 test -n "$ac_init_help" && exit $ac_status
1424 if $ac_init_version; then
1426 xmldoc configure 0.9
1427 generated by GNU Autoconf 2.69
1429 Copyright (C) 2012 Free Software Foundation, Inc.
1430 This configure script is free software; the Free Software Foundation
1431 gives unlimited permission to copy, distribute and modify it.
1436 ## ------------------------ ##
1437 ## Autoconf initialization. ##
1438 ## ------------------------ ##
1440 # ac_fn_c_try_compile LINENO
1441 # --------------------------
1442 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_compile ()
1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446 rm -f conftest.$ac_objext
1447 if { { ac_try="$ac_compile"
1449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1450 *) ac_try_echo=$ac_try;;
1452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453 $as_echo "$ac_try_echo"; } >&5
1454 (eval "$ac_compile") 2>conftest.err
1456 if test -s conftest.err; then
1457 grep -v '^ *+' conftest.err >conftest.er1
1458 cat conftest.er1 >&5
1459 mv -f conftest.er1 conftest.err
1461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 test $ac_status = 0; } && {
1463 test -z "$ac_c_werror_flag" ||
1464 test ! -s conftest.err
1465 } && test -s conftest.$ac_objext; then :
1468 $as_echo "$as_me: failed program was:" >&5
1469 sed 's/^/| /' conftest.$ac_ext >&5
1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1474 as_fn_set_status $ac_retval
1476 } # ac_fn_c_try_compile
1478 # ac_fn_c_try_cpp LINENO
1479 # ----------------------
1480 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 if { { ac_try="$ac_cpp conftest.$ac_ext"
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;;
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1493 if test -s conftest.err; then
1494 grep -v '^ *+' conftest.err >conftest.er1
1495 cat conftest.er1 >&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } > conftest.i && {
1500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1501 test ! -s conftest.err
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status $ac_retval
1515 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1516 # -------------------------------------------------------
1517 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1518 # the include files in INCLUDES and setting the cache variable VAR
1520 ac_fn_c_check_header_mongrel ()
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 if eval \${$3+:} false; then :
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1525 $as_echo_n "checking for $2... " >&6; }
1526 if eval \${$3+:} false; then :
1527 $as_echo_n "(cached) " >&6
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1531 $as_echo "$ac_res" >&6; }
1533 # Is the header compilable?
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1535 $as_echo_n "checking $2 usability... " >&6; }
1536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1537 /* end confdefs.h. */
1541 if ac_fn_c_try_compile "$LINENO"; then :
1542 ac_header_compiler=yes
1544 ac_header_compiler=no
1546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1548 $as_echo "$ac_header_compiler" >&6; }
1550 # Is the header present?
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1552 $as_echo_n "checking $2 presence... " >&6; }
1553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1554 /* end confdefs.h. */
1557 if ac_fn_c_try_cpp "$LINENO"; then :
1558 ac_header_preproc=yes
1560 ac_header_preproc=no
1562 rm -f conftest.err conftest.i conftest.$ac_ext
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1564 $as_echo "$ac_header_preproc" >&6; }
1566 # So? What about this header?
1567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1570 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1572 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1576 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1578 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1580 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1582 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 ( $as_echo "## --------------------------------- ##
1586 ## Report this to arjen@andromeda.nl ##
1587 ## --------------------------------- ##"
1588 ) | sed "s/^/$as_me: WARNING: /" >&2
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1592 $as_echo_n "checking for $2... " >&6; }
1593 if eval \${$3+:} false; then :
1594 $as_echo_n "(cached) " >&6
1596 eval "$3=\$ac_header_compiler"
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 } # ac_fn_c_check_header_mongrel
1606 # ac_fn_c_try_run LINENO
1607 # ----------------------
1608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1609 # that executables *can* be run.
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if { { ac_try="$ac_link"
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_link") 2>&5
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1624 { { case "(($ac_try" in
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_try") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; }; }; then :
1636 $as_echo "$as_me: program exited with status $ac_status" >&5
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1640 ac_retval=$ac_status
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1649 # -------------------------------------------------------
1650 # Tests whether HEADER exists and can be compiled using the include files in
1651 # INCLUDES, setting the cache variable VAR accordingly.
1652 ac_fn_c_check_header_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 } # ac_fn_c_check_header_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 test -x conftest$ac_exeext
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_link
1724 cat >config.log <<_ACEOF
1725 This file contains any messages produced by compilers while
1726 running configure, to aid debugging if configure makes a mistake.
1728 It was created by xmldoc $as_me 0.9, which was
1729 generated by GNU Autoconf 2.69. Invocation command line was
1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1748 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1750 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1751 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1753 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1754 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1755 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1756 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1764 test -z "$as_dir" && as_dir=.
1765 $as_echo "PATH: $as_dir"
1781 # Keep a trace of the command line.
1782 # Strip out --no-create and --no-recursion so they do not pile up.
1783 # Strip out --silent because we don't want to record it for future runs.
1784 # Also quote any args containing shell meta-characters.
1785 # Make two passes to allow for proper duplicate-argument suppression.
1789 ac_must_keep_next=false
1795 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1797 | -silent | --silent | --silen | --sile | --sil)
1800 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1803 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1805 as_fn_append ac_configure_args1 " '$ac_arg'"
1806 if test $ac_must_keep_next = true; then
1807 ac_must_keep_next=false # Got value, back to normal.
1810 *=* | --config-cache | -C | -disable-* | --disable-* \
1811 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1812 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1813 | -with-* | --with-* | -without-* | --without-* | --x)
1814 case "$ac_configure_args0 " in
1815 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1818 -* ) ac_must_keep_next=true ;;
1821 as_fn_append ac_configure_args " '$ac_arg'"
1826 { ac_configure_args0=; unset ac_configure_args0;}
1827 { ac_configure_args1=; unset ac_configure_args1;}
1829 # When interrupted or exit'd, cleanup temporary files, and complete
1830 # config.log. We remove comments because anyway the quotes in there
1831 # would cause problems or look ugly.
1832 # WARNING: Use '\'' to represent an apostrophe within the trap.
1833 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1834 trap 'exit_status=$?
1835 # Save into config.log some information that might help in debugging.
1839 $as_echo "## ---------------- ##
1840 ## Cache variables. ##
1841 ## ---------------- ##"
1843 # The following way of writing the cache mishandles newlines in values,
1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1846 eval ac_val=\$$ac_var
1850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1854 _ | IFS | as_nl) ;; #(
1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1856 *) { eval $ac_var=; unset $ac_var;} ;;
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862 *${as_nl}ac_space=\ *)
1864 "s/'\''/'\''\\\\'\'''\''/g;
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1875 $as_echo "## ----------------- ##
1876 ## Output variables. ##
1877 ## ----------------- ##"
1879 for ac_var in $ac_subst_vars
1881 eval ac_val=\$$ac_var
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 $as_echo "$ac_var='\''$ac_val'\''"
1889 if test -n "$ac_subst_files"; then
1890 $as_echo "## ------------------- ##
1891 ## File substitutions. ##
1892 ## ------------------- ##"
1894 for ac_var in $ac_subst_files
1896 eval ac_val=\$$ac_var
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900 $as_echo "$ac_var='\''$ac_val'\''"
1905 if test -s confdefs.h; then
1906 $as_echo "## ----------- ##
1913 test "$ac_signal" != 0 &&
1914 $as_echo "$as_me: caught signal $ac_signal"
1915 $as_echo "$as_me: exit $exit_status"
1917 rm -f core *.core core.conftest.* &&
1918 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1921 for ac_signal in 1 2 13 15; do
1922 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1927 rm -f -r conftest* confdefs.h
1929 $as_echo "/* confdefs.h */" > confdefs.h
1931 # Predefined preprocessor variables.
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_NAME "$PACKAGE_NAME"
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1941 cat >>confdefs.h <<_ACEOF
1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_STRING "$PACKAGE_STRING"
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_URL "$PACKAGE_URL"
1958 # Let the site file select an alternate cache file if it wants to.
1959 # Prefer an explicitly selected file to automatically selected ones.
1962 if test -n "$CONFIG_SITE"; then
1963 # We do not want a PATH search for config.site.
1964 case $CONFIG_SITE in #((
1965 -*) ac_site_file1=./$CONFIG_SITE;;
1966 */*) ac_site_file1=$CONFIG_SITE;;
1967 *) ac_site_file1=./$CONFIG_SITE;;
1969 elif test "x$prefix" != xNONE; then
1970 ac_site_file1=$prefix/share/config.site
1971 ac_site_file2=$prefix/etc/config.site
1973 ac_site_file1=$ac_default_prefix/share/config.site
1974 ac_site_file2=$ac_default_prefix/etc/config.site
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1978 test "x$ac_site_file" = xNONE && continue
1979 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982 sed 's/^/| /' "$ac_site_file" >&5
1984 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986 as_fn_error $? "failed to load site script $ac_site_file
1987 See \`config.log' for more details" "$LINENO" 5; }
1991 if test -r "$cache_file"; then
1992 # Some versions of bash will fail to source /dev/null (special files
1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1996 $as_echo "$as_me: loading cache $cache_file" >&6;}
1998 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1999 *) . "./$cache_file";;
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2004 $as_echo "$as_me: creating cache $cache_file" >&6;}
2008 # Check that the precious variables saved in the cache have kept the same
2010 ac_cache_corrupted=false
2011 for ac_var in $ac_precious_vars; do
2012 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2013 eval ac_new_set=\$ac_env_${ac_var}_set
2014 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2015 eval ac_new_val=\$ac_env_${ac_var}_value
2016 case $ac_old_set,$ac_new_set in
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2019 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2020 ac_cache_corrupted=: ;;
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2023 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2024 ac_cache_corrupted=: ;;
2027 if test "x$ac_old_val" != "x$ac_new_val"; then
2028 # differences in whitespace do not lead to failure.
2029 ac_old_val_w=`echo x $ac_old_val`
2030 ac_new_val_w=`echo x $ac_new_val`
2031 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2033 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2034 ac_cache_corrupted=:
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2037 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2038 eval $ac_var=\$ac_old_val
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2041 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2043 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2046 # Pass precious variables to config.status.
2047 if test "$ac_new_set" = set; then
2049 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2050 *) ac_arg=$ac_var=$ac_new_val ;;
2052 case " $ac_configure_args " in
2053 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2054 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2058 if $ac_cache_corrupted; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2062 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2065 ## -------------------- ##
2066 ## Main body of script. ##
2067 ## -------------------- ##
2070 ac_cpp='$CPP $CPPFLAGS'
2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2076 am__api_version='1.16'
2079 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2080 if test -f "$ac_dir/install-sh"; then
2082 ac_install_sh="$ac_aux_dir/install-sh -c"
2084 elif test -f "$ac_dir/install.sh"; then
2086 ac_install_sh="$ac_aux_dir/install.sh -c"
2088 elif test -f "$ac_dir/shtool"; then
2090 ac_install_sh="$ac_aux_dir/shtool install -c"
2094 if test -z "$ac_aux_dir"; then
2095 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2098 # These three variables are undocumented and unsupported,
2099 # and are intended to be withdrawn in a future Autoconf release.
2100 # They can cause serious problems if a builder's source tree is in a directory
2101 # whose full name contains unusual characters.
2102 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2103 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2104 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2107 # Find a good install program. We prefer a C program (faster),
2108 # so one script is as good as another. But avoid the broken or
2109 # incompatible versions:
2110 # SysV /etc/install, /usr/sbin/install
2111 # SunOS /usr/etc/install
2112 # IRIX /sbin/install
2114 # AmigaOS /C/install, which installs bootblocks on floppy discs
2115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2118 # OS/2's system install, which has a completely different semantic
2119 # ./install, which can be erroneously created by make from ./install.sh.
2120 # Reject install programs that cannot install multiple files.
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2122 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2123 if test -z "$INSTALL"; then
2124 if ${ac_cv_path_install+:} false; then :
2125 $as_echo_n "(cached) " >&6
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 # Account for people who put trailing slashes in PATH elements.
2133 case $as_dir/ in #((
2134 ./ | .// | /[cC]/* | \
2135 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2136 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2139 # OSF1 and SCO ODT 3.0 have their own names for install.
2140 # Don't use installbsd from OSF since it installs stuff as root
2142 for ac_prog in ginstall scoinst install; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2145 if test $ac_prog = install &&
2146 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # AIX install. It has an incompatible calling convention.
2149 elif test $ac_prog = install &&
2150 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # program-specific install script used by HP pwplus--don't use.
2154 rm -rf conftest.one conftest.two conftest.dir
2155 echo one > conftest.one
2156 echo two > conftest.two
2158 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2159 test -s conftest.one && test -s conftest.two &&
2160 test -s conftest.dir/conftest.one &&
2161 test -s conftest.dir/conftest.two
2163 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2176 rm -rf conftest.one conftest.two conftest.dir
2179 if test "${ac_cv_path_install+set}" = set; then
2180 INSTALL=$ac_cv_path_install
2182 # As a last resort, use the slow shell script. Don't cache a
2183 # value for INSTALL within a source directory, because that will
2184 # break other packages using the cache if that directory is
2185 # removed, or if the value is a relative name.
2186 INSTALL=$ac_install_sh
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2190 $as_echo "$INSTALL" >&6; }
2192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2193 # It thinks the first close brace ends the variable substitution.
2194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2198 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2201 $as_echo_n "checking whether build environment is sane... " >&6; }
2202 # Reject unsafe characters in $srcdir or the absolute working directory
2203 # name. Accept space and tab only in the latter.
2207 *[\\\"\#\$\&\'\`$am_lf]*)
2208 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2211 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2212 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2215 # Do 'set' in a subshell so we don't clobber the current shell's
2216 # arguments. Must try -L first in case configure is actually a
2217 # symlink; some systems play weird games with the mod time of symlinks
2218 # (eg FreeBSD returns the mod time of the symlink's containing
2222 for am_try in 1 2; do
2223 echo "timestamp, slept: $am_has_slept" > conftest.file
2224 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2225 if test "$*" = "X"; then
2227 set X `ls -t "$srcdir/configure" conftest.file`
2229 if test "$*" != "X $srcdir/configure conftest.file" \
2230 && test "$*" != "X conftest.file $srcdir/configure"; then
2232 # If neither matched, then we have a broken ls. This can happen
2233 # if, for instance, CONFIG_SHELL is bash and it inherits a
2234 # broken ls alias from the environment. This has actually
2235 # happened. Such a system could not be considered "sane".
2236 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2237 alias in your environment" "$LINENO" 5
2239 if test "$2" = conftest.file || test $am_try -eq 2; then
2246 test "$2" = conftest.file
2252 as_fn_error $? "newly created file is older than distributed files!
2253 Check your system clock" "$LINENO" 5
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2256 $as_echo "yes" >&6; }
2257 # If we didn't sleep, we still need to ensure time stamps of config.status and
2258 # generated files are strictly newer.
2260 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2267 test "$program_prefix" != NONE &&
2268 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2269 # Use a double $ so make ignores it.
2270 test "$program_suffix" != NONE &&
2271 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2272 # Double any \ or $.
2273 # By default was `s,x,x', remove it if useless.
2274 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2275 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2277 # Expand $ac_aux_dir to an absolute path.
2278 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2280 if test x"${MISSING+set}" != xset; then
2283 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2285 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2288 # Use eval to expand $SHELL
2289 if eval "$MISSING --is-lightweight"; then
2290 am_missing_run="$MISSING "
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2294 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2297 if test x"${install_sh+set}" != xset; then
2300 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2302 install_sh="\${SHELL} $am_aux_dir/install-sh"
2306 # Installed binaries are usually stripped using 'strip' when the user
2307 # run "make install-strip". However 'strip' might not be the right
2308 # tool to use in cross-compilation environments, therefore Automake
2309 # will honor the 'STRIP' environment variable to overrule this program.
2310 if test "$cross_compiling" != no; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2315 $as_echo_n "checking for $ac_word... " >&6; }
2316 if ${ac_cv_prog_STRIP+:} false; then :
2317 $as_echo_n "(cached) " >&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 STRIP=$ac_cv_prog_STRIP
2340 if test -n "$STRIP"; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2342 $as_echo "$STRIP" >&6; }
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345 $as_echo "no" >&6; }
2350 if test -z "$ac_cv_prog_STRIP"; then
2352 # Extract the first word of "strip", so it can be a program name with args.
2353 set dummy strip; ac_word=$2
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2355 $as_echo_n "checking for $ac_word... " >&6; }
2356 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2357 $as_echo_n "(cached) " >&6
2359 if test -n "$ac_ct_STRIP"; then
2360 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369 ac_cv_prog_ac_ct_STRIP="strip"
2370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2380 if test -n "$ac_ct_STRIP"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2382 $as_echo "$ac_ct_STRIP" >&6; }
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385 $as_echo "no" >&6; }
2388 if test "x$ac_ct_STRIP" = x; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2395 ac_tool_warned=yes ;;
2400 STRIP="$ac_cv_prog_STRIP"
2404 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2407 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2408 if test -z "$MKDIR_P"; then
2409 if ${ac_cv_path_mkdir+:} false; then :
2410 $as_echo_n "(cached) " >&6
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2416 test -z "$as_dir" && as_dir=.
2417 for ac_prog in mkdir gmkdir; do
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2420 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2421 'mkdir (GNU coreutils) '* | \
2422 'mkdir (coreutils) '* | \
2423 'mkdir (fileutils) '4.1*)
2424 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2434 test -d ./--version && rmdir ./--version
2435 if test "${ac_cv_path_mkdir+set}" = set; then
2436 MKDIR_P="$ac_cv_path_mkdir -p"
2438 # As a last resort, use the slow shell script. Don't cache a
2439 # value for MKDIR_P within a source directory, because that will
2440 # break other packages using the cache if that directory is
2441 # removed, or if the value is a relative name.
2442 MKDIR_P="$ac_install_sh -d"
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2446 $as_echo "$MKDIR_P" >&6; }
2448 for ac_prog in gawk mawk nawk awk
2450 # Extract the first word of "$ac_prog", so it can be a program name with args.
2451 set dummy $ac_prog; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_AWK+:} false; then :
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$AWK"; then
2458 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_AWK="$ac_prog"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 if test -n "$AWK"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2480 $as_echo "$AWK" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2487 test -n "$AWK" && break
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2491 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2493 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2494 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2495 $as_echo_n "(cached) " >&6
2497 cat >conftest.make <<\_ACEOF
2498 SHELL = /data/data/com.termux/files/usr/bin/sh
2500 @echo '@@@%%%=$(MAKE)=@@@%%%'
2502 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2505 eval ac_cv_prog_make_${ac_make}_set=yes;;
2507 eval ac_cv_prog_make_${ac_make}_set=no;;
2511 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2513 $as_echo "yes" >&6; }
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517 $as_echo "no" >&6; }
2518 SET_MAKE="MAKE=${MAKE-make}"
2521 rm -rf .tst 2>/dev/null
2522 mkdir .tst 2>/dev/null
2523 if test -d .tst; then
2528 rmdir .tst 2>/dev/null
2530 # Check whether --enable-silent-rules was given.
2531 if test "${enable_silent_rules+set}" = set; then :
2532 enableval=$enable_silent_rules;
2535 case $enable_silent_rules in # (((
2536 yes) AM_DEFAULT_VERBOSITY=0;;
2537 no) AM_DEFAULT_VERBOSITY=1;;
2538 *) AM_DEFAULT_VERBOSITY=1;;
2540 am_make=${MAKE-make}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2542 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2543 if ${am_cv_make_support_nested_variables+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 if $as_echo 'TRUE=$(BAR$(V))
2552 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2553 am_cv_make_support_nested_variables=yes
2555 am_cv_make_support_nested_variables=no
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2559 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2560 if test $am_cv_make_support_nested_variables = yes; then
2562 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2564 AM_V=$AM_DEFAULT_VERBOSITY
2565 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2569 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2570 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2571 # is not polluted with repeated "-I."
2572 am__isrc=' -I$(srcdir)'
2573 # test to see if srcdir already configured
2574 if test -f $srcdir/config.status; then
2575 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2579 # test whether we have cygpath
2580 if test -z "$CYGPATH_W"; then
2581 if (cygpath --version) >/dev/null 2>/dev/null; then
2582 CYGPATH_W='cygpath -w'
2589 # Define the identity of the package.
2594 cat >>confdefs.h <<_ACEOF
2595 #define PACKAGE "$PACKAGE"
2599 cat >>confdefs.h <<_ACEOF
2600 #define VERSION "$VERSION"
2603 # Some tools Automake needs.
2605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2619 # For better backward compatibility. To be removed once Automake 1.9.x
2620 # dies out for good. For more background, see:
2621 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2622 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2623 mkdir_p='$(MKDIR_P)'
2625 # We need awk for the "check" target (and possibly the TAP driver). The
2626 # system "awk" is bad on some platforms.
2627 # Always define AMTAR for backward compatibility. Yes, it's still used
2628 # in the wild :-( We should find a proper way to deprecate it ...
2632 # We'll loop over all known methods to create a tar archive until one works.
2633 _am_tools='gnutar pax cpio none'
2635 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2642 # POSIX will say in a future version that running "rm -f" with no argument
2643 # is OK; and we want to be able to make that assumption in our Makefile
2644 # recipes. So use an aggressive probe to check that the usage we want is
2645 # actually supported "in the wild" to an acceptable degree.
2646 # See automake bug#10828.
2647 # To make any issue more visible, cause the running configure to be aborted
2648 # by default if the 'rm' program in use doesn't match our expectations; the
2649 # user can still override this though.
2650 if rm -f && rm -fr && rm -rf; then : OK; else
2654 Your 'rm' program seems unable to run without file operands specified
2655 on the command line, even when the '-f' option is present. This is contrary
2656 to the behaviour of most rm programs out there, and not conforming with
2657 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2659 Please tell bug-automake@gnu.org about your system, including the value
2660 of your $PATH and any error possibly output before this message. This
2661 can help us improve future automake versions.
2664 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2665 echo 'Configuration will proceed anyway, since you have set the' >&2
2666 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2670 Aborting the configuration process, to ensure you take notice of the issue.
2672 You can download and install GNU coreutils to get an 'rm' implementation
2673 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2675 If you want to complete the configuration process using your problematic
2676 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2677 to "yes", and re-run configure.
2680 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2686 ac_cpp='$CPP $CPPFLAGS'
2687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2692 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_CC+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC="$CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2721 $as_echo "$CC" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_CC"; then
2731 # Extract the first word of "gcc", so it can be a program name with args.
2732 set dummy gcc; ac_word=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_CC"; then
2739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir=.
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748 ac_cv_prog_ac_ct_CC="gcc"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2759 if test -n "$ac_ct_CC"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2761 $as_echo "$ac_ct_CC" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_CC" = x; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned=yes ;;
2782 if test -z "$CC"; then
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2785 set dummy ${ac_tool_prefix}cc; ac_word=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_CC+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC="$CC" # Let the user override the test.
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir=.
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_CC="${ac_tool_prefix}cc"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CC"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814 $as_echo "$CC" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2823 if test -z "$CC"; then
2824 # Extract the first word of "cc", so it can be a program name with args.
2825 set dummy cc; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_CC+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$CC"; then
2832 ac_cv_prog_CC="$CC" # Let the user override the test.
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2843 ac_prog_rejected=yes
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test $ac_prog_rejected = yes; then
2855 # We found a bogon in the path, so make sure we never use it.
2856 set dummy $ac_cv_prog_CC
2858 if test $# != 0; then
2859 # We chose a different compiler from the bogus one.
2860 # However, it has the same basename, so the bogon will be chosen
2861 # first if we set CC to just the basename; use the full file name.
2863 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2869 if test -n "$CC"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2879 if test -z "$CC"; then
2880 if test -n "$ac_tool_prefix"; then
2881 for ac_prog in cl.exe
2883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_CC+:} false; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC="$CC" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test -n "$CC"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2913 $as_echo "$CC" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2920 test -n "$CC" && break
2923 if test -z "$CC"; then
2925 for ac_prog in cl.exe
2927 # Extract the first word of "$ac_prog", so it can be a program name with args.
2928 set dummy $ac_prog; ac_word=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2932 $as_echo_n "(cached) " >&6
2934 if test -n "$ac_ct_CC"; then
2935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir=.
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944 ac_cv_prog_ac_ct_CC="$ac_prog"
2945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2955 if test -n "$ac_ct_CC"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2957 $as_echo "$ac_ct_CC" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2964 test -n "$ac_ct_CC" && break
2967 if test "x$ac_ct_CC" = x; then
2970 case $cross_compiling:$ac_tool_warned in
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974 ac_tool_warned=yes ;;
2983 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2985 as_fn_error $? "no acceptable C compiler found in \$PATH
2986 See \`config.log' for more details" "$LINENO" 5; }
2988 # Provide some information about the compiler.
2989 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2992 for ac_option in --version -v -V -qversion; do
2993 { { ac_try="$ac_compiler $ac_option >&5"
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 $as_echo "$ac_try_echo"; } >&5
3000 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3002 if test -s conftest.err; then
3004 ... rest of stderr output deleted ...
3005 10q' conftest.err >conftest.er1
3006 cat conftest.er1 >&5
3008 rm -f conftest.er1 conftest.err
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3024 ac_clean_files_save=$ac_clean_files
3025 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3026 # Try to create an executable without -o first, disregard a.out.
3027 # It will help us diagnose broken compilers, and finding out an intuition
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3030 $as_echo_n "checking whether the C compiler works... " >&6; }
3031 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3033 # The possible output files:
3034 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3037 for ac_file in $ac_files
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3041 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3046 if { { ac_try="$ac_link_default"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_link_default") 2>&5
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }; then :
3057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3060 # so that the user can short-circuit this test for compilers unknown to
3062 for ac_file in $ac_files ''
3064 test -f "$ac_file" || continue
3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3069 # We found the default executable, but exeext='' is most
3073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3075 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3077 # We set ac_cv_exeext here because the later test for it is not
3078 # safe: cross compilers may not add the suffix if given an `-o'
3079 # argument, so we may need to know it at that point already.
3080 # Even if this section looks crufty: it has the advantage of
3087 test "$ac_cv_exeext" = no && ac_cv_exeext=
3092 if test -z "$ac_file"; then :
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 as_fn_error 77 "C compiler cannot create executables
3101 See \`config.log' for more details" "$LINENO" 5; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3104 $as_echo "yes" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3107 $as_echo_n "checking for C compiler default output file name... " >&6; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3109 $as_echo "$ac_file" >&6; }
3110 ac_exeext=$ac_cv_exeext
3112 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3113 ac_clean_files=$ac_clean_files_save
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3115 $as_echo_n "checking for suffix of executables... " >&6; }
3116 if { { ac_try="$ac_link"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }; then :
3127 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3128 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3129 # work properly (i.e., refer to `conftest.exe'), while it won't with
3131 for ac_file in conftest.exe conftest conftest.*; do
3132 test -f "$ac_file" || continue
3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3135 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3143 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3144 See \`config.log' for more details" "$LINENO" 5; }
3146 rm -f conftest conftest$ac_cv_exeext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3148 $as_echo "$ac_cv_exeext" >&6; }
3150 rm -f conftest.$ac_ext
3151 EXEEXT=$ac_cv_exeext
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3159 FILE *f = fopen ("conftest.out", "w");
3160 return ferror (f) || fclose (f) != 0;
3166 ac_clean_files="$ac_clean_files conftest.out"
3167 # Check that the compiler produces executables we can run. If not, either
3168 # the compiler is broken, or we cross compile.
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3170 $as_echo_n "checking whether we are cross compiling... " >&6; }
3171 if test "$cross_compiling" != yes; then
3172 { { ac_try="$ac_link"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_link") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }
3183 if { ac_try='./conftest$ac_cv_exeext'
3184 { { case "(($ac_try" in
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_try") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }; }; then
3196 if test "$cross_compiling" = maybe; then
3199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3201 as_fn_error $? "cannot run C compiled programs.
3202 If you meant to cross compile, use \`--host'.
3203 See \`config.log' for more details" "$LINENO" 5; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3208 $as_echo "$cross_compiling" >&6; }
3210 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3211 ac_clean_files=$ac_clean_files_save
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3213 $as_echo_n "checking for suffix of object files... " >&6; }
3214 if ${ac_cv_objext+:} false; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 rm -f conftest.o conftest.obj
3229 if { { ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_compile") 2>&5
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }; then :
3240 for ac_file in conftest.o conftest.obj conftest.*; do
3241 test -f "$ac_file" || continue;
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3244 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $? "cannot compute suffix of object files: cannot compile
3255 See \`config.log' for more details" "$LINENO" 5; }
3257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3260 $as_echo "$ac_cv_objext" >&6; }
3261 OBJEXT=$ac_cv_objext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3265 if ${ac_cv_c_compiler_gnu+:} false; then :
3266 $as_echo_n "(cached) " >&6
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3282 if ac_fn_c_try_compile "$LINENO"; then :
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3293 if test $ac_compiler_gnu = yes; then
3298 ac_test_CFLAGS=${CFLAGS+set}
3299 ac_save_CFLAGS=$CFLAGS
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3302 if ${ac_cv_prog_cc_g+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 ac_save_c_werror_flag=$ac_c_werror_flag
3306 ac_c_werror_flag=yes
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3335 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_c_werror_flag=$ac_save_c_werror_flag
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3351 if ac_fn_c_try_compile "$LINENO"; then :
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_c_werror_flag=$ac_save_c_werror_flag
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3362 $as_echo "$ac_cv_prog_cc_g" >&6; }
3363 if test "$ac_test_CFLAGS" = set; then
3364 CFLAGS=$ac_save_CFLAGS
3365 elif test $ac_cv_prog_cc_g = yes; then
3366 if test "$GCC" = yes; then
3372 if test "$GCC" = yes; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3380 if ${ac_cv_prog_cc_c89+:} false; then :
3381 $as_echo_n "(cached) " >&6
3383 ac_cv_prog_cc_c89=no
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3391 struct buf { int x; };
3392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3393 static char *e (p, i)
3399 static char *f (char * (*g) (char **, int), char **p, ...)
3404 s = g (p, va_arg (v,int));
3409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3410 function prototypes and stuff, but not '\xHH' hex character constants.
3411 These don't provoke an error unfortunately, instead are silently treated
3412 as 'x'. The following induces an error, until -std is added to get
3413 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3414 array size at least. It's necessary to write '\x00'==0 to get something
3415 that's true only with -std. */
3416 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3418 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3419 inside strings and character constants. */
3421 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3423 int test (int i, double x);
3424 struct s1 {int (*f) (int a);};
3425 struct s2 {int (*f) (double a);};
3426 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3432 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3437 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3438 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3440 CC="$ac_save_CC $ac_arg"
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442 ac_cv_prog_cc_c89=$ac_arg
3444 rm -f core conftest.err conftest.$ac_objext
3445 test "x$ac_cv_prog_cc_c89" != "xno" && break
3447 rm -f conftest.$ac_ext
3452 case "x$ac_cv_prog_cc_c89" in
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3455 $as_echo "none needed" >&6; } ;;
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3458 $as_echo "unsupported" >&6; } ;;
3460 CC="$CC $ac_cv_prog_cc_c89"
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3462 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3464 if test "x$ac_cv_prog_cc_c89" != xno; then :
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3480 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3481 if ${am_cv_prog_cc_c_o+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3495 # Make sure it works both with $CC and with simple cc.
3496 # Following AC_PROG_CC_C_O, we do the test twice because some
3497 # compilers refuse to overwrite an existing .o file with -o,
3498 # though they will create one.
3499 am_cv_prog_cc_c_o=yes
3501 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3502 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } \
3506 && test -f conftest2.$ac_objext; then
3509 am_cv_prog_cc_c_o=no
3513 rm -f core conftest*
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3517 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3518 if test "$am_cv_prog_cc_c_o" != yes; then
3519 # Losing compiler, so override with the script.
3520 # FIXME: It is wrong to rewrite CC.
3521 # But if we don't then we get into trouble of one sort or another.
3522 # A longer-term fix would be to have automake use am__CC in this case,
3523 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3524 CC="$am_aux_dir/compile $CC"
3527 ac_cpp='$CPP $CPPFLAGS'
3528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3532 DEPDIR="${am__leading_dot}deps"
3534 ac_config_commands="$ac_config_commands depfiles"
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3537 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3538 cat > confinc.mk << 'END'
3540 @echo this is the am__doit target >confinc.out
3545 # BSD make does it like this.
3546 echo '.include "confinc.mk" # ignored' > confmf.BSD
3547 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3548 echo 'include confinc.mk # ignored' > confmf.GNU
3550 for s in GNU BSD; do
3551 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3552 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }
3556 case $?:`cat confinc.out 2>/dev/null` in #(
3557 '0:this is the am__doit target') :
3560 am__include='.include' am__quote='"' ;; #(
3562 am__include='include' am__quote='' ;;
3567 if test "$am__include" != "#"; then
3568 _am_result="yes ($s style)"
3572 rm -f confinc.* confmf.*
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3574 $as_echo "${_am_result}" >&6; }
3576 # Check whether --enable-dependency-tracking was given.
3577 if test "${enable_dependency_tracking+set}" = set; then :
3578 enableval=$enable_dependency_tracking;
3581 if test "x$enable_dependency_tracking" != xno; then
3582 am_depcomp="$ac_aux_dir/depcomp"
3586 if test "x$enable_dependency_tracking" != xno; then
3596 depcc="$CC" am_compiler_list=
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3599 $as_echo_n "checking dependency style of $depcc... " >&6; }
3600 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3604 # We make a subdir and do the tests there. Otherwise we can end up
3605 # making bogus files that we don't know about and never remove. For
3606 # instance it was reported that on HP-UX the gcc test will end up
3607 # making a dummy file named 'D' -- because '-MD' means "put the output
3611 # Copy depcomp to subdir because otherwise we won't find it if we're
3612 # using a relative directory.
3613 cp "$am_depcomp" conftest.dir
3615 # We will build objects and dependencies in a subdirectory because
3616 # it helps to detect inapplicable dependency modes. For instance
3617 # both Tru64's cc and ICC support -MD to output dependencies as a
3618 # side effect of compilation, but ICC will put the dependencies in
3619 # the current directory while Tru64 will put them in the object
3623 am_cv_CC_dependencies_compiler_type=none
3624 if test "$am_compiler_list" = ""; then
3625 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3628 case " $depcc " in #(
3629 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3632 for depmode in $am_compiler_list; do
3633 # Setup a source with many dependencies, because some compilers
3634 # like to wrap large dependency lists on column 80 (with \), and
3635 # we should not choose a depcomp mode which is confused by this.
3637 # We need to recreate these files for each test, as the compiler may
3638 # overwrite some of them when testing with obscure command lines.
3639 # This happens at least with the AIX C compiler.
3641 for i in 1 2 3 4 5 6; do
3642 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3643 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3644 # Solaris 10 /bin/sh.
3645 echo '/* dummy */' > sub/conftst$i.h
3647 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3649 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3650 # mode. It turns out that the SunPro C++ compiler does not properly
3651 # handle '-M -o', and we need to detect this. Also, some Intel
3652 # versions had trouble with output in subdirs.
3653 am__obj=sub/conftest.${OBJEXT-o}
3654 am__minus_obj="-o $am__obj"
3657 # This depmode causes a compiler race in universal mode.
3658 test "$am__universal" = false || continue
3661 # After this tag, mechanisms are not by side-effect, so they'll
3662 # only be used when explicitly requested.
3663 if test "x$enable_dependency_tracking" = xyes; then
3669 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3670 # This compiler won't grok '-c -o', but also, the minuso test has
3671 # not run yet. These depmodes are late enough in the game, and
3672 # so weak that their functioning should not be impacted.
3673 am__obj=conftest.${OBJEXT-o}
3678 if depmode=$depmode \
3679 source=sub/conftest.c object=$am__obj \
3680 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3681 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3682 >/dev/null 2>conftest.err &&
3683 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3684 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3685 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3686 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3687 # icc doesn't choke on unknown options, it will just issue warnings
3688 # or remarks (even with -Werror). So we grep stderr for any message
3689 # that says an option was ignored or not supported.
3690 # When given -MP, icc 7.0 and 7.1 complain thusly:
3691 # icc: Command line warning: ignoring option '-M'; no argument required
3692 # The diagnosis changed in icc 8.0:
3693 # icc: Command line remark: option '-MP' not supported
3694 if (grep 'ignoring option' conftest.err ||
3695 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3696 am_cv_CC_dependencies_compiler_type=$depmode
3705 am_cv_CC_dependencies_compiler_type=none
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3710 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3711 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3714 test "x$enable_dependency_tracking" != xno \
3715 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3717 am__fastdepCC_FALSE='#'
3719 am__fastdepCC_TRUE='#'
3720 am__fastdepCC_FALSE=
3726 # Extract the first word of "xslt-config", so it can be a program name with args.
3727 set dummy xslt-config; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_path_XSLT_CONFIG+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 case $XSLT_CONFIG in
3735 ac_cv_path_XSLT_CONFIG="$XSLT_CONFIG" # Let the user override the test with a path.
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_path_XSLT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 test -z "$ac_cv_path_XSLT_CONFIG" && ac_cv_path_XSLT_CONFIG="no"
3757 XSLT_CONFIG=$ac_cv_path_XSLT_CONFIG
3758 if test -n "$XSLT_CONFIG"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CONFIG" >&5
3760 $as_echo "$XSLT_CONFIG" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3768 if test $XSLT_CONFIG = "no"
3770 echo "xslt library not found, install package libxslt-dev."
3774 XSLT_CFLAGS=`$XSLT_CONFIG --cflags`
3775 CFLAGS="$CFLAGS $XSLT_CFLAGS"
3779 ac_cpp='$CPP $CPPFLAGS'
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3784 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3785 # On Suns, sometimes $CPP names a directory.
3786 if test -n "$CPP" && test -d "$CPP"; then
3789 if test -z "$CPP"; then
3790 if ${ac_cv_prog_CPP+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 # Double quotes because CPP needs to be expanded
3794 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3797 for ac_c_preproc_warn_flag in '' yes
3799 # Use a header file that comes with gcc, so configuring glibc
3800 # with a fresh cross-compiler works.
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802 # <limits.h> exists even on freestanding compilers.
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
3804 # not just through cpp. "Syntax error" is here to catch this case.
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3808 # include <limits.h>
3810 # include <assert.h>
3814 if ac_fn_c_try_cpp "$LINENO"; then :
3817 # Broken: fails on valid input.
3820 rm -f conftest.err conftest.i conftest.$ac_ext
3822 # OK, works on sane cases. Now check whether nonexistent headers
3823 # can be detected and how.
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3826 #include <ac_nonexistent.h>
3828 if ac_fn_c_try_cpp "$LINENO"; then :
3829 # Broken: success on invalid input.
3832 # Passes both tests.
3836 rm -f conftest.err conftest.i conftest.$ac_ext
3839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3840 rm -f conftest.i conftest.err conftest.$ac_ext
3841 if $ac_preproc_ok; then :
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3854 $as_echo "$CPP" >&6; }
3856 for ac_c_preproc_warn_flag in '' yes
3858 # Use a header file that comes with gcc, so configuring glibc
3859 # with a fresh cross-compiler works.
3860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3861 # <limits.h> exists even on freestanding compilers.
3862 # On the NeXT, cc -E runs the code through the compiler's parser,
3863 # not just through cpp. "Syntax error" is here to catch this case.
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3867 # include <limits.h>
3869 # include <assert.h>
3873 if ac_fn_c_try_cpp "$LINENO"; then :
3876 # Broken: fails on valid input.
3879 rm -f conftest.err conftest.i conftest.$ac_ext
3881 # OK, works on sane cases. Now check whether nonexistent headers
3882 # can be detected and how.
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3885 #include <ac_nonexistent.h>
3887 if ac_fn_c_try_cpp "$LINENO"; then :
3888 # Broken: success on invalid input.
3891 # Passes both tests.
3895 rm -f conftest.err conftest.i conftest.$ac_ext
3898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3899 rm -f conftest.i conftest.err conftest.$ac_ext
3900 if $ac_preproc_ok; then :
3903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3905 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3906 See \`config.log' for more details" "$LINENO" 5; }
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3918 if ${ac_cv_path_GREP+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -z "$GREP"; then
3922 ac_path_GREP_found=false
3923 # Loop through the user's path and test for each of PROGNAME-LIST
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3928 test -z "$as_dir" && as_dir=.
3929 for ac_prog in grep ggrep; do
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3932 as_fn_executable_p "$ac_path_GREP" || continue
3933 # Check for GNU ac_path_GREP and select it if it is found.
3934 # Check for GNU $ac_path_GREP
3935 case `"$ac_path_GREP" --version 2>&1` in
3937 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3940 $as_echo_n 0123456789 >"conftest.in"
3943 cat "conftest.in" "conftest.in" >"conftest.tmp"
3944 mv "conftest.tmp" "conftest.in"
3945 cp "conftest.in" "conftest.nl"
3946 $as_echo 'GREP' >> "conftest.nl"
3947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3948 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3949 as_fn_arith $ac_count + 1 && ac_count=$as_val
3950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3951 # Best one so far, save it but keep looking for a better one
3952 ac_cv_path_GREP="$ac_path_GREP"
3953 ac_path_GREP_max=$ac_count
3955 # 10*(2^10) chars as input seems more than enough
3956 test $ac_count -gt 10 && break
3958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3961 $ac_path_GREP_found && break 3
3966 if test -z "$ac_cv_path_GREP"; then
3967 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3970 ac_cv_path_GREP=$GREP
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3975 $as_echo "$ac_cv_path_GREP" >&6; }
3976 GREP="$ac_cv_path_GREP"
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3980 $as_echo_n "checking for egrep... " >&6; }
3981 if ${ac_cv_path_EGREP+:} false; then :
3982 $as_echo_n "(cached) " >&6
3984 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3985 then ac_cv_path_EGREP="$GREP -E"
3987 if test -z "$EGREP"; then
3988 ac_path_EGREP_found=false
3989 # Loop through the user's path and test for each of PROGNAME-LIST
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3994 test -z "$as_dir" && as_dir=.
3995 for ac_prog in egrep; do
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3998 as_fn_executable_p "$ac_path_EGREP" || continue
3999 # Check for GNU ac_path_EGREP and select it if it is found.
4000 # Check for GNU $ac_path_EGREP
4001 case `"$ac_path_EGREP" --version 2>&1` in
4003 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4006 $as_echo_n 0123456789 >"conftest.in"
4009 cat "conftest.in" "conftest.in" >"conftest.tmp"
4010 mv "conftest.tmp" "conftest.in"
4011 cp "conftest.in" "conftest.nl"
4012 $as_echo 'EGREP' >> "conftest.nl"
4013 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4015 as_fn_arith $ac_count + 1 && ac_count=$as_val
4016 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4017 # Best one so far, save it but keep looking for a better one
4018 ac_cv_path_EGREP="$ac_path_EGREP"
4019 ac_path_EGREP_max=$ac_count
4021 # 10*(2^10) chars as input seems more than enough
4022 test $ac_count -gt 10 && break
4024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4027 $ac_path_EGREP_found && break 3
4032 if test -z "$ac_cv_path_EGREP"; then
4033 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4036 ac_cv_path_EGREP=$EGREP
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4042 $as_echo "$ac_cv_path_EGREP" >&6; }
4043 EGREP="$ac_cv_path_EGREP"
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4047 $as_echo_n "checking for ANSI C header files... " >&6; }
4048 if ${ac_cv_header_stdc+:} false; then :
4049 $as_echo_n "(cached) " >&6
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067 ac_cv_header_stdc=yes
4069 ac_cv_header_stdc=no
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 if test $ac_cv_header_stdc = yes; then
4074 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4081 $EGREP "memchr" >/dev/null 2>&1; then :
4084 ac_cv_header_stdc=no
4090 if test $ac_cv_header_stdc = yes; then
4091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4098 $EGREP "free" >/dev/null 2>&1; then :
4101 ac_cv_header_stdc=no
4107 if test $ac_cv_header_stdc = yes; then
4108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4109 if test "$cross_compiling" = yes; then :
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4116 #if ((' ' & 0x0FF) == 0x020)
4117 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4118 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4120 # define ISLOWER(c) \
4121 (('a' <= (c) && (c) <= 'i') \
4122 || ('j' <= (c) && (c) <= 'r') \
4123 || ('s' <= (c) && (c) <= 'z'))
4124 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4127 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4132 for (i = 0; i < 256; i++)
4133 if (XOR (islower (i), ISLOWER (i))
4134 || toupper (i) != TOUPPER (i))
4139 if ac_fn_c_try_run "$LINENO"; then :
4142 ac_cv_header_stdc=no
4144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4145 conftest.$ac_objext conftest.beam conftest.$ac_ext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4151 $as_echo "$ac_cv_header_stdc" >&6; }
4152 if test $ac_cv_header_stdc = yes; then
4154 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4158 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4160 inttypes.h stdint.h unistd.h
4162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4166 cat >>confdefs.h <<_ACEOF
4167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4175 ac_fn_c_check_header_mongrel "$LINENO" "libxml/xmlmemory.h" "ac_cv_header_libxml_xmlmemory_h" "$ac_includes_default"
4176 if test "x$ac_cv_header_libxml_xmlmemory_h" = xyes; then :
4181 ac_fn_c_check_header_mongrel "$LINENO" "libxslt/xslt.h" "ac_cv_header_libxslt_xslt_h" "$ac_includes_default"
4182 if test "x$ac_cv_header_libxslt_xslt_h" = xyes; then :
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lexslt" >&5
4189 $as_echo_n "checking for main in -lexslt... " >&6; }
4190 if ${ac_cv_lib_exslt_main+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 ac_check_lib_save_LIBS=$LIBS
4194 LIBS="-lexslt $LIBS"
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4207 if ac_fn_c_try_link "$LINENO"; then :
4208 ac_cv_lib_exslt_main=yes
4210 ac_cv_lib_exslt_main=no
4212 rm -f core conftest.err conftest.$ac_objext \
4213 conftest$ac_exeext conftest.$ac_ext
4214 LIBS=$ac_check_lib_save_LIBS
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_exslt_main" >&5
4217 $as_echo "$ac_cv_lib_exslt_main" >&6; }
4218 if test "x$ac_cv_lib_exslt_main" = xyes; then :
4219 cat >>confdefs.h <<_ACEOF
4220 #define HAVE_LIBEXSLT 1
4223 LIBS="-lexslt $LIBS"
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
4228 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
4229 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 ac_check_lib_save_LIBS=$LIBS
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4237 /* Override any GCC internal prototype to avoid an error.
4238 Use char because int might match the return type of a GCC
4239 builtin and then its argument prototype would still apply. */
4243 char xmlParseFile ();
4247 return xmlParseFile ();
4252 if ac_fn_c_try_link "$LINENO"; then :
4253 ac_cv_lib_xml2_xmlParseFile=yes
4255 ac_cv_lib_xml2_xmlParseFile=no
4257 rm -f core conftest.err conftest.$ac_objext \
4258 conftest$ac_exeext conftest.$ac_ext
4259 LIBS=$ac_check_lib_save_LIBS
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4262 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
4263 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
4264 cat >>confdefs.h <<_ACEOF
4265 #define HAVE_LIBXML2 1
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xsltSetXIncludeDefault in -lxslt" >&5
4273 $as_echo_n "checking for xsltSetXIncludeDefault in -lxslt... " >&6; }
4274 if ${ac_cv_lib_xslt_xsltSetXIncludeDefault+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 ac_check_lib_save_LIBS=$LIBS
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4282 /* Override any GCC internal prototype to avoid an error.
4283 Use char because int might match the return type of a GCC
4284 builtin and then its argument prototype would still apply. */
4288 char xsltSetXIncludeDefault ();
4292 return xsltSetXIncludeDefault ();
4297 if ac_fn_c_try_link "$LINENO"; then :
4298 ac_cv_lib_xslt_xsltSetXIncludeDefault=yes
4300 ac_cv_lib_xslt_xsltSetXIncludeDefault=no
4302 rm -f core conftest.err conftest.$ac_objext \
4303 conftest$ac_exeext conftest.$ac_ext
4304 LIBS=$ac_check_lib_save_LIBS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xslt_xsltSetXIncludeDefault" >&5
4307 $as_echo "$ac_cv_lib_xslt_xsltSetXIncludeDefault" >&6; }
4308 if test "x$ac_cv_lib_xslt_xsltSetXIncludeDefault" = xyes; then :
4309 cat >>confdefs.h <<_ACEOF
4310 #define HAVE_LIBXSLT 1
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4319 $as_echo_n "checking for ANSI C header files... " >&6; }
4320 if ${ac_cv_header_stdc+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4338 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_cv_header_stdc=yes
4341 ac_cv_header_stdc=no
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 if test $ac_cv_header_stdc = yes; then
4346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4353 $EGREP "memchr" >/dev/null 2>&1; then :
4356 ac_cv_header_stdc=no
4362 if test $ac_cv_header_stdc = yes; then
4363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4370 $EGREP "free" >/dev/null 2>&1; then :
4373 ac_cv_header_stdc=no
4379 if test $ac_cv_header_stdc = yes; then
4380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4381 if test "$cross_compiling" = yes; then :
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 #if ((' ' & 0x0FF) == 0x020)
4389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4392 # define ISLOWER(c) \
4393 (('a' <= (c) && (c) <= 'i') \
4394 || ('j' <= (c) && (c) <= 'r') \
4395 || ('s' <= (c) && (c) <= 'z'))
4396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4404 for (i = 0; i < 256; i++)
4405 if (XOR (islower (i), ISLOWER (i))
4406 || toupper (i) != TOUPPER (i))
4411 if ac_fn_c_try_run "$LINENO"; then :
4414 ac_cv_header_stdc=no
4416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4417 conftest.$ac_objext conftest.beam conftest.$ac_ext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4423 $as_echo "$ac_cv_header_stdc" >&6; }
4424 if test $ac_cv_header_stdc = yes; then
4426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4430 for ac_header in unistd.h
4432 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4433 if test "x$ac_cv_header_unistd_h" = xyes; then :
4434 cat >>confdefs.h <<_ACEOF
4435 #define HAVE_UNISTD_H 1
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4444 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4445 if ${ac_cv_c_const+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4456 /* Ultrix mips cc rejects this sort of thing. */
4457 typedef int charset[2];
4458 const charset cs = { 0, 0 };
4459 /* SunOS 4.1.1 cc rejects this. */
4460 char const *const *pcpcc;
4462 /* NEC SVR4.0.2 mips cc rejects this. */
4463 struct point {int x, y;};
4464 static struct point const zero = {0,0};
4465 /* AIX XL C 1.02.0.0 rejects this.
4466 It does not let you subtract one const X* pointer from another in
4467 an arm of an if-expression whose if-part is not a constant
4469 const char *g = "string";
4470 pcpcc = &g + (g ? g-g : 0);
4471 /* HPUX 7.0 cc rejects these. */
4473 ppc = (char**) pcpcc;
4474 pcpcc = (char const *const *) ppc;
4475 { /* SCO 3.2v4 cc rejects this sort of thing. */
4478 char const *s = 0 ? (char *) 0 : (char const *) 0;
4483 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4485 const int *foo = &x[0];
4488 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4489 typedef const int *iptr;
4493 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4494 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4495 struct s { int j; const int *ap[3]; } bx;
4496 struct s *b = &bx; b->j = 5;
4498 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4502 return !cs[0] && !zero.x;
4509 if ac_fn_c_try_compile "$LINENO"; then :
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4517 $as_echo "$ac_cv_c_const" >&6; }
4518 if test $ac_cv_c_const = no; then
4520 $as_echo "#define const /**/" >>confdefs.h
4526 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile xml2html xml2latex xml2text xml2wiki"
4529 cat >confcache <<\_ACEOF
4530 # This file is a shell script that caches the results of configure
4531 # tests run on this system so they can be shared between configure
4532 # scripts and configure runs, see configure's option --config-cache.
4533 # It is not useful on other systems. If it contains results you don't
4534 # want to keep, you may remove or edit it.
4536 # config.status only pays attention to the cache file if you give it
4537 # the --recheck option to rerun configure.
4539 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4540 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4545 # The following way of writing the cache mishandles newlines in values,
4546 # but we know of no workaround that is simple, portable, and efficient.
4547 # So, we kill variables containing newlines.
4548 # Ultrix sh set writes to stderr and can't be redirected directly,
4549 # and sets the high bit in the cache file unless we assign to the vars.
4551 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4552 eval ac_val=\$$ac_var
4556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4560 _ | IFS | as_nl) ;; #(
4561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4562 *) { eval $ac_var=; unset $ac_var;} ;;
4568 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4569 *${as_nl}ac_space=\ *)
4570 # `set' does not quote correctly, so add quotes: double-quote
4571 # substitution turns \\\\ into \\, and sed turns \\ into \.
4574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4577 # `set' quotes correctly as required by POSIX, so do not add quotes.
4578 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4589 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4591 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4592 if test -w "$cache_file"; then
4593 if test "x$cache_file" != "x/dev/null"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4595 $as_echo "$as_me: updating cache $cache_file" >&6;}
4596 if test ! -f "$cache_file" || test -h "$cache_file"; then
4597 cat confcache >"$cache_file"
4599 case $cache_file in #(
4601 mv -f confcache "$cache_file"$$ &&
4602 mv -f "$cache_file"$$ "$cache_file" ;; #(
4604 mv -f confcache "$cache_file" ;;
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4616 # Let make expand exec_prefix.
4617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4619 # Transform confdefs.h into DEFS.
4620 # Protect against shell expansion while executing Makefile rules.
4621 # Protect against Makefile macro expansion.
4623 # If the first sed substitution is executed (which looks for macros that
4624 # take arguments), then branch to the quote section. Otherwise,
4625 # look for a macro that doesn't take arguments.
4635 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4637 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4641 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4654 DEFS=`sed -n "$ac_script" confdefs.h`
4660 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4661 # 1. Remove the extension, and $U if already installed.
4662 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4663 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4664 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4665 # will be set to the directory where LIBOBJS objects are built.
4666 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4667 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4671 LTLIBOBJS=$ac_ltlibobjs
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4675 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4676 if test -n "$am_sleep_pid"; then
4677 # Hide warnings about reused PIDs.
4678 wait $am_sleep_pid 2>/dev/null
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4681 $as_echo "done" >&6; }
4682 if test -n "$EXEEXT"; then
4684 am__EXEEXT_FALSE='#'
4690 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4691 as_fn_error $? "conditional \"AMDEP\" was never defined.
4692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4694 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4695 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4699 : "${CONFIG_STATUS=./config.status}"
4701 ac_clean_files_save=$ac_clean_files
4702 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4704 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4706 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4708 # Generated by $as_me.
4709 # Run this file to recreate the current configuration.
4710 # Compiler output produced by configure, useful for debugging
4711 # configure, is in config.log if it exists.
4717 SHELL=\${CONFIG_SHELL-$SHELL}
4720 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4721 ## -------------------- ##
4722 ## M4sh Initialization. ##
4723 ## -------------------- ##
4725 # Be more Bourne compatible
4726 DUALCASE=1; export DUALCASE # for MKS sh
4727 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4730 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4731 # is contrary to our usage. Disable this feature.
4732 alias -g '${1+"$@"}'='"$@"'
4733 setopt NO_GLOB_SUBST
4735 case `(set -o) 2>/dev/null` in #(
4747 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4748 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4749 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4751 # Prefer a ksh shell builtin over an external printf program on Solaris,
4752 # but without wasting forks for bash or zsh.
4753 if test -z "$BASH_VERSION$ZSH_VERSION" \
4754 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4755 as_echo='print -r --'
4756 as_echo_n='print -rn --'
4757 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4758 as_echo='printf %s\n'
4759 as_echo_n='printf %s'
4761 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4762 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4763 as_echo_n='/usr/ucb/echo -n'
4765 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4766 as_echo_n_body='eval
4770 expr "X$arg" : "X\\(.*\\)$as_nl";
4771 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4773 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4775 export as_echo_n_body
4776 as_echo_n='sh -c $as_echo_n_body as_echo'
4779 as_echo='sh -c $as_echo_body as_echo'
4782 # The user is always right.
4783 if test "${PATH_SEPARATOR+set}" != set; then
4785 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4786 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4793 # We need space, tab and new line, in precisely that order. Quoting is
4794 # there to prevent editors from complaining about space-tab.
4795 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4796 # splitting by setting IFS to empty value.)
4799 # Find who we are. Look in the path if we contain no directory separator.
4802 *[\\/]* ) as_myself=$0 ;;
4803 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4814 # We did not find ourselves, most probably we were run as `sh COMMAND'
4815 # in which case we are not to be found in the path.
4816 if test "x$as_myself" = x; then
4819 if test ! -f "$as_myself"; then
4820 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4824 # Unset variables that we do not need and which cause bugs (e.g. in
4825 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4826 # suppresses any "Segmentation fault" message there. '((' could
4827 # trigger a bug in pdksh 5.2.14.
4828 for as_var in BASH_ENV ENV MAIL MAILPATH
4829 do eval test x\${$as_var+set} = xset \
4830 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4843 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4846 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4847 # ----------------------------------------
4848 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4849 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4850 # script with STATUS, using 1 if that was 0.
4853 as_status=$1; test $as_status -eq 0 && as_status=1
4855 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4856 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4858 $as_echo "$as_me: error: $2" >&2
4859 as_fn_exit $as_status
4863 # as_fn_set_status STATUS
4864 # -----------------------
4865 # Set $? to STATUS, without forking.
4869 } # as_fn_set_status
4873 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4883 # Portably unset VAR.
4886 { eval $1=; unset $1;}
4888 as_unset=as_fn_unset
4889 # as_fn_append VAR VALUE
4890 # ----------------------
4891 # Append the text in VALUE to the end of the definition contained in VAR. Take
4892 # advantage of any shell optimizations that allow amortized linear growth over
4893 # repeated appends, instead of the typical quadratic growth present in naive
4895 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4896 eval 'as_fn_append ()
4907 # as_fn_arith ARG...
4908 # ------------------
4909 # Perform arithmetic evaluation on the ARGs, and store the result in the
4910 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4911 # must be portable across $(()) and expr.
4912 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4913 eval 'as_fn_arith ()
4920 as_val=`expr "$@" || test $? -eq 1`
4925 if expr a : '\(a\)' >/dev/null 2>&1 &&
4926 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4932 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4933 as_basename=basename
4938 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4944 as_me=`$as_basename -- "$0" ||
4945 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4946 X"$0" : 'X\(//\)$' \| \
4947 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4949 sed '/^.*\/\([^/][^/]*\)\/*$/{
4963 # Avoid depending upon Character Ranges.
4964 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4965 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4966 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4967 as_cr_digits='0123456789'
4968 as_cr_alnum=$as_cr_Letters$as_cr_digits
4970 ECHO_C= ECHO_N= ECHO_T=
4971 case `echo -n x` in #(((((
4973 case `echo 'xy\c'` in
4974 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4976 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4983 rm -f conf$$ conf$$.exe conf$$.file
4984 if test -d conf$$.dir; then
4985 rm -f conf$$.dir/conf$$.file
4988 mkdir conf$$.dir 2>/dev/null
4990 if (echo >conf$$.file) 2>/dev/null; then
4991 if ln -s conf$$.file conf$$ 2>/dev/null; then
4993 # ... but there are two gotchas:
4994 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4995 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4996 # In both cases, we have to default to `cp -pR'.
4997 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4999 elif ln conf$$.file conf$$ 2>/dev/null; then
5007 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5008 rmdir conf$$.dir 2>/dev/null
5013 # Create "$as_dir" as a directory, including parents if necessary.
5018 -*) as_dir=./$as_dir;;
5020 test -d "$as_dir" || eval $as_mkdir_p || {
5024 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5025 *) as_qdir=$as_dir;;
5027 as_dirs="'$as_qdir' $as_dirs"
5028 as_dir=`$as_dirname -- "$as_dir" ||
5029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5030 X"$as_dir" : 'X\(//\)[^/]' \| \
5031 X"$as_dir" : 'X\(//\)$' \| \
5032 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5033 $as_echo X"$as_dir" |
5034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5051 test -d "$as_dir" && break
5053 test -z "$as_dirs" || eval "mkdir $as_dirs"
5054 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5058 if mkdir -p . 2>/dev/null; then
5059 as_mkdir_p='mkdir -p "$as_dir"'
5061 test -d ./-p && rmdir ./-p
5066 # as_fn_executable_p FILE
5067 # -----------------------
5068 # Test if FILE is an executable regular file.
5069 as_fn_executable_p ()
5071 test -f "$1" && test -x "$1"
5072 } # as_fn_executable_p
5074 as_executable_p=as_fn_executable_p
5076 # Sed expression to map a string onto a valid CPP name.
5077 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5079 # Sed expression to map a string onto a valid variable name.
5080 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5084 ## ----------------------------------- ##
5085 ## Main body of $CONFIG_STATUS script. ##
5086 ## ----------------------------------- ##
5088 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5091 # Save the log message, to keep $0 and so on meaningful, and to
5092 # report actual input values of CONFIG_FILES etc. instead of their
5093 # values after options handling.
5095 This file was extended by xmldoc $as_me 0.9, which was
5096 generated by GNU Autoconf 2.69. Invocation command line was
5098 CONFIG_FILES = $CONFIG_FILES
5099 CONFIG_HEADERS = $CONFIG_HEADERS
5100 CONFIG_LINKS = $CONFIG_LINKS
5101 CONFIG_COMMANDS = $CONFIG_COMMANDS
5104 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5109 case $ac_config_files in *"
5110 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5116 # Files that config.status was made for.
5117 config_files="$ac_config_files"
5118 config_commands="$ac_config_commands"
5122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 \`$as_me' instantiates files and other configuration actions
5125 from templates according to the current configuration. Unless the files
5126 and actions are specified as TAGs, all are instantiated by default.
5128 Usage: $0 [OPTION]... [TAG]...
5130 -h, --help print this help, then exit
5131 -V, --version print version number and configuration settings, then exit
5132 --config print configuration, then exit
5133 -q, --quiet, --silent
5134 do not print progress messages
5135 -d, --debug don't remove temporary files
5136 --recheck update $as_me by reconfiguring in the same conditions
5137 --file=FILE[:TEMPLATE]
5138 instantiate the configuration file FILE
5140 Configuration files:
5143 Configuration commands:
5146 Report bugs to <arjen@andromeda.nl>."
5149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5150 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5152 xmldoc config.status 0.9
5153 configured by $0, generated by GNU Autoconf 2.69,
5154 with options \\"\$ac_cs_config\\"
5156 Copyright (C) 2012 Free Software Foundation, Inc.
5157 This config.status script is free software; the Free Software Foundation
5158 gives unlimited permission to copy, distribute and modify it."
5165 test -n "\$AWK" || AWK=awk
5168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5169 # The default lists apply if the user does not specify any file.
5175 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5176 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5192 # Handling of the options.
5193 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5195 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5196 $as_echo "$ac_cs_version"; exit ;;
5197 --config | --confi | --conf | --con | --co | --c )
5198 $as_echo "$ac_cs_config"; exit ;;
5199 --debug | --debu | --deb | --de | --d | -d )
5201 --file | --fil | --fi | --f )
5204 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5205 '') as_fn_error $? "missing file argument" ;;
5207 as_fn_append CONFIG_FILES " '$ac_optarg'"
5208 ac_need_defaults=false;;
5209 --he | --h | --help | --hel | -h )
5210 $as_echo "$ac_cs_usage"; exit ;;
5211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5212 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5216 -*) as_fn_error $? "unrecognized option: \`$1'
5217 Try \`$0 --help' for more information." ;;
5219 *) as_fn_append ac_config_targets " $1"
5220 ac_need_defaults=false ;;
5226 ac_configure_extra_args=
5228 if $ac_cs_silent; then
5230 ac_configure_extra_args="$ac_configure_extra_args --silent"
5234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5235 if \$ac_cs_recheck; then
5236 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5238 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5239 CONFIG_SHELL='$SHELL'
5245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5250 ## Running $as_me. ##
5256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5260 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5266 # Handling of arguments.
5267 for ac_config_target in $ac_config_targets
5269 case $ac_config_target in
5270 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5272 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5273 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5274 "xml2html") CONFIG_FILES="$CONFIG_FILES xml2html" ;;
5275 "xml2latex") CONFIG_FILES="$CONFIG_FILES xml2latex" ;;
5276 "xml2text") CONFIG_FILES="$CONFIG_FILES xml2text" ;;
5277 "xml2wiki") CONFIG_FILES="$CONFIG_FILES xml2wiki" ;;
5279 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5284 # If the user did not use the arguments to specify the items to instantiate,
5285 # then the envvar interface is used. Set only those that are not.
5286 # We use the long form for the default assignment because of an extremely
5287 # bizarre bug on SunOS 4.1.3.
5288 if $ac_need_defaults; then
5289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5290 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5293 # Have a temporary directory for convenience. Make it in the build tree
5294 # simply because there is no reason against having it here, and in addition,
5295 # creating and moving files from /tmp can sometimes cause problems.
5296 # Hook for its removal unless debugging.
5297 # Note that there is a small window in which the directory will not be cleaned:
5298 # after its creation but before its name has been assigned to `$tmp'.
5302 trap 'exit_status=$?
5304 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5306 trap 'as_fn_exit 1' 1 2 13 15
5308 # Create a (secure) tmp directory for tmp files.
5311 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5315 tmp=./conf$$-$RANDOM
5316 (umask 077 && mkdir "$tmp")
5317 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5320 # Set up the scripts for CONFIG_FILES section.
5321 # No need to generate them if there are no CONFIG_FILES.
5322 # This happens for instance with `./config.status config.h'.
5323 if test -n "$CONFIG_FILES"; then
5326 ac_cr=`echo X | tr X '\015'`
5327 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5328 # But we know of no other shell where ac_cr would be empty at this
5329 # point, so we can use a bashism as a fallback.
5330 if test "x$ac_cr" = x; then
5331 eval ac_cr=\$\'\\r\'
5333 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5334 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5340 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5345 echo "cat >conf$$subs.awk <<_ACEOF" &&
5346 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5349 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5350 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5352 for ac_last_try in false false false false false :; do
5353 . ./conf$$subs.sh ||
5354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5356 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5357 if test $ac_delim_n = $ac_delim_num; then
5359 elif $ac_last_try; then
5360 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5362 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5368 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5372 s/^/S["/; s/!.*/"]=/
5382 s/\(.\{148\}\)..*/\1/
5384 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5396 s/\(.\{148\}\)..*/\1/
5398 s/["\\]/\\&/g; s/^/"/; s/$/"/
5402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5407 ' <conf$$subs.awk | sed '
5412 ' >>$CONFIG_STATUS || ac_write_fail=1
5413 rm -f conf$$subs.awk
5414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5416 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5417 for (key in S) S_is_set[key] = 1
5423 nfields = split(line, field, "@")
5425 len = length(field[1])
5426 for (i = 2; i < nfields; i++) {
5428 keylen = length(key)
5429 if (S_is_set[key]) {
5431 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5432 len += length(value) + length(field[++i])
5443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5444 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5445 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5448 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5449 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5452 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5453 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5454 # trailing colons and then remove the whole line if VPATH becomes empty
5455 # (actually we leave an empty line to preserve line numbers).
5456 if test "x$srcdir" = x.; then
5457 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5476 fi # test -n "$CONFIG_FILES"
5479 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5484 :[FHLC]) ac_mode=$ac_tag; continue;;
5486 case $ac_mode$ac_tag in
5488 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5489 :[FH]-) ac_tag=-:-;;
5490 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5507 -) ac_f="$ac_tmp/stdin";;
5508 *) # Look for the file first in the build tree, then in the source tree
5509 # (if the path is not absolute). The absolute path cannot be DOS-style,
5510 # because $ac_f cannot contain `:'.
5514 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5516 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5518 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5519 as_fn_append ac_file_inputs " '$ac_f'"
5522 # Let's still pretend it is `configure' which instantiates (i.e., don't
5523 # use $as_me), people would be surprised to read:
5524 # /* config.h. Generated by config.status. */
5525 configure_input='Generated from '`
5526 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5528 if test x"$ac_file" != x-; then
5529 configure_input="$ac_file. $configure_input"
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5531 $as_echo "$as_me: creating $ac_file" >&6;}
5533 # Neutralize special characters interpreted by sed in replacement strings.
5534 case $configure_input in #(
5535 *\&* | *\|* | *\\* )
5536 ac_sed_conf_input=`$as_echo "$configure_input" |
5537 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5538 *) ac_sed_conf_input=$configure_input;;
5542 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5548 ac_dir=`$as_dirname -- "$ac_file" ||
5549 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5550 X"$ac_file" : 'X\(//\)[^/]' \| \
5551 X"$ac_file" : 'X\(//\)$' \| \
5552 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5553 $as_echo X"$ac_file" |
5554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5571 as_dir="$ac_dir"; as_fn_mkdir_p
5575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5577 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5578 # A ".." for each directory in $ac_dir_suffix.
5579 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5580 case $ac_top_builddir_sub in
5581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5585 ac_abs_top_builddir=$ac_pwd
5586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5587 # for backward compatibility:
5588 ac_top_builddir=$ac_top_build_prefix
5591 .) # We are building in place.
5593 ac_top_srcdir=$ac_top_builddir_sub
5594 ac_abs_top_srcdir=$ac_pwd ;;
5595 [\\/]* | ?:[\\/]* ) # Absolute name.
5596 ac_srcdir=$srcdir$ac_dir_suffix;
5597 ac_top_srcdir=$srcdir
5598 ac_abs_top_srcdir=$srcdir ;;
5600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5601 ac_top_srcdir=$ac_top_build_prefix$srcdir
5602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5614 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5615 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5619 [\\/$]* | ?:[\\/]* ) ;;
5620 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5625 # If the template does not know about datarootdir, expand it.
5626 # FIXME: This hack should be removed a few years after 2.60.
5627 ac_datarootdir_hack=; ac_datarootdir_seen=
5638 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5639 *datarootdir*) ac_datarootdir_seen=yes;;
5640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5642 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5645 ac_datarootdir_hack='
5646 s&@datadir@&$datadir&g
5647 s&@docdir@&$docdir&g
5648 s&@infodir@&$infodir&g
5649 s&@localedir@&$localedir&g
5650 s&@mandir@&$mandir&g
5651 s&\\\${datarootdir}&$datarootdir&g' ;;
5655 # Neutralize VPATH when `$srcdir' = `.'.
5656 # Shell code in configure.ac might set extrasub.
5657 # FIXME: do we really want to maintain this feature?
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659 ac_sed_extra="$ac_vpsub
5662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5665 s|@configure_input@|$ac_sed_conf_input|;t t
5666 s&@top_builddir@&$ac_top_builddir_sub&;t t
5667 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5668 s&@srcdir@&$ac_srcdir&;t t
5669 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5670 s&@top_srcdir@&$ac_top_srcdir&;t t
5671 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5672 s&@builddir@&$ac_builddir&;t t
5673 s&@abs_builddir@&$ac_abs_builddir&;t t
5674 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5675 s&@INSTALL@&$ac_INSTALL&;t t
5676 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5677 $ac_datarootdir_hack
5679 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5680 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5682 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5683 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5684 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5685 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5687 which seems to be undefined. Please make sure it is defined" >&5
5688 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5689 which seems to be undefined. Please make sure it is defined" >&2;}
5691 rm -f "$ac_tmp/stdin"
5693 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5694 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5700 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5701 $as_echo "$as_me: executing $ac_file commands" >&6;}
5706 case $ac_file$ac_mode in
5707 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5708 # Older Autoconf quotes --file arguments for eval, but not when files
5709 # are listed without --file. Let's play safe and only enable the eval
5710 # if we detect the quoting.
5711 # TODO: see whether this extra hack can be removed once we start
5712 # requiring Autoconf 2.70 or later.
5713 case $CONFIG_FILES in #(
5715 eval set x "$CONFIG_FILES" ;; #(
5717 set x $CONFIG_FILES ;; #(
5722 # Used to flag and report bootstrapping failures.
5726 # Strip MF so we end up with the name of the file.
5727 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5728 # Check whether this is an Automake generated Makefile which includes
5729 # dependency-tracking related rules and includes.
5730 # Grep'ing the whole file directly is not great: AIX grep has a line
5731 # limit of 2048, but all sed's we know have understand at least 4000.
5732 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5734 am_dirpart=`$as_dirname -- "$am_mf" ||
5735 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5736 X"$am_mf" : 'X\(//\)[^/]' \| \
5737 X"$am_mf" : 'X\(//\)$' \| \
5738 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5739 $as_echo X"$am_mf" |
5740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5757 am_filepart=`$as_basename -- "$am_mf" ||
5758 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5759 X"$am_mf" : 'X\(//\)$' \| \
5760 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5761 $as_echo X/"$am_mf" |
5762 sed '/^.*\/\([^/][^/]*\)\/*$/{
5775 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5776 && sed -e '/# am--include-marker/d' "$am_filepart" \
5777 | $MAKE -f - am--depfiles" >&5
5779 && sed -e '/# am--include-marker/d' "$am_filepart" \
5780 | $MAKE -f - am--depfiles) >&5 2>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } || am_rc=$?
5785 if test $am_rc -ne 0; then
5786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5788 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5789 for automatic dependency tracking. Try re-running configure with the
5790 '--disable-dependency-tracking' option to at least be able to build
5791 the package (albeit without support for automatic dependency tracking).
5792 See \`config.log' for more details" "$LINENO" 5; }
5794 { am_dirpart=; unset am_dirpart;}
5795 { am_filepart=; unset am_filepart;}
5796 { am_mf=; unset am_mf;}
5797 { am_rc=; unset am_rc;}
5798 rm -f conftest-deps.mk
5808 ac_clean_files=$ac_clean_files_save
5810 test $ac_write_fail = 0 ||
5811 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5814 # configure is writing to config.log, and then calls config.status.
5815 # config.status does its own redirection, appending to config.log.
5816 # Unfortunately, on DOS this fails, as config.log is still kept open
5817 # by configure, so config.status won't be able to write to it; its
5818 # output is simply discarded. So we exec the FD to /dev/null,
5819 # effectively closing config.log, so it can be properly (re)opened and
5820 # appended to by config.status. When coming back to configure, we
5821 # need to make the FD available again.
5822 if test "$no_create" != yes; then
5824 ac_config_status_args=
5825 test "$silent" = yes &&
5826 ac_config_status_args="$ac_config_status_args --quiet"
5828 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5830 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5831 # would make configure fail if this is the last instruction.
5832 $ac_cs_success || as_fn_exit 1
5834 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5836 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}