2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xmldoc 0.8.
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-/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.8'
584 PACKAGE_STRING='xmldoc 0.8'
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
703 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 runstatedir='${localstatedir}/run'
768 includedir='${prefix}/include'
769 oldincludedir='/usr/include'
770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
771 infodir='${datarootdir}/info'
776 libdir='${exec_prefix}/lib'
777 localedir='${datarootdir}/locale'
778 mandir='${datarootdir}/man'
784 # If the previous option needs an argument, assign it.
785 if test -n "$ac_prev"; then
786 eval $ac_prev=\$ac_option
792 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
797 # Accept the important Cygnus configure options, so we can diagnose typos.
799 case $ac_dashdash$ac_option in
803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808 -build | --build | --buil | --bui | --bu)
809 ac_prev=build_alias ;;
810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811 build_alias=$ac_optarg ;;
813 -cache-file | --cache-file | --cache-fil | --cache-fi \
814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815 ac_prev=cache_file ;;
816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818 cache_file=$ac_optarg ;;
821 cache_file=config.cache ;;
823 -datadir | --datadir | --datadi | --datad)
825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
826 datadir=$ac_optarg ;;
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
835 -disable-* | --disable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
849 eval enable_$ac_useropt=no ;;
851 -docdir | --docdir | --docdi | --doc | --do)
853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
861 -enable-* | --enable-*)
862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 as_fn_error $? "invalid feature name: $ac_useropt"
866 ac_useropt_orig=$ac_useropt
867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
875 eval enable_$ac_useropt=\$ac_optarg ;;
877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879 | --exec | --exe | --ex)
880 ac_prev=exec_prefix ;;
881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883 | --exec=* | --exe=* | --ex=*)
884 exec_prefix=$ac_optarg ;;
886 -gas | --gas | --ga | --g)
887 # Obsolete; use --with-gas.
890 -help | --help | --hel | --he | -h)
892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893 ac_init_help=recursive ;;
894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895 ac_init_help=short ;;
897 -host | --host | --hos | --ho)
898 ac_prev=host_alias ;;
899 -host=* | --host=* | --hos=* | --ho=*)
900 host_alias=$ac_optarg ;;
902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
906 htmldir=$ac_optarg ;;
908 -includedir | --includedir | --includedi | --included | --include \
909 | --includ | --inclu | --incl | --inc)
910 ac_prev=includedir ;;
911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912 | --includ=* | --inclu=* | --incl=* | --inc=*)
913 includedir=$ac_optarg ;;
915 -infodir | --infodir | --infodi | --infod | --info | --inf)
917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918 infodir=$ac_optarg ;;
920 -libdir | --libdir | --libdi | --libd)
922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926 | --libexe | --libex | --libe)
927 ac_prev=libexecdir ;;
928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929 | --libexe=* | --libex=* | --libe=*)
930 libexecdir=$ac_optarg ;;
932 -localedir | --localedir | --localedi | --localed | --locale)
934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935 localedir=$ac_optarg ;;
937 -localstatedir | --localstatedir | --localstatedi | --localstated \
938 | --localstate | --localstat | --localsta | --localst | --locals)
939 ac_prev=localstatedir ;;
940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942 localstatedir=$ac_optarg ;;
944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
950 # Obsolete; use --without-fp.
953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954 | --no-cr | --no-c | -n)
957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963 | --oldin | --oldi | --old | --ol | --o)
964 ac_prev=oldincludedir ;;
965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968 oldincludedir=$ac_optarg ;;
970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
975 -program-prefix | --program-prefix | --program-prefi | --program-pref \
976 | --program-pre | --program-pr | --program-p)
977 ac_prev=program_prefix ;;
978 -program-prefix=* | --program-prefix=* | --program-prefi=* \
979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980 program_prefix=$ac_optarg ;;
982 -program-suffix | --program-suffix | --program-suffi | --program-suff \
983 | --program-suf | --program-su | --program-s)
984 ac_prev=program_suffix ;;
985 -program-suffix=* | --program-suffix=* | --program-suffi=* \
986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987 program_suffix=$ac_optarg ;;
989 -program-transform-name | --program-transform-name \
990 | --program-transform-nam | --program-transform-na \
991 | --program-transform-n | --program-transform- \
992 | --program-transform | --program-transfor \
993 | --program-transfo | --program-transf \
994 | --program-trans | --program-tran \
995 | --progr-tra | --program-tr | --program-t)
996 ac_prev=program_transform_name ;;
997 -program-transform-name=* | --program-transform-name=* \
998 | --program-transform-nam=* | --program-transform-na=* \
999 | --program-transform-n=* | --program-transform-=* \
1000 | --program-transform=* | --program-transfor=* \
1001 | --program-transfo=* | --program-transf=* \
1002 | --program-trans=* | --program-tran=* \
1003 | --progr-tra=* | --program-tr=* | --program-t=*)
1004 program_transform_name=$ac_optarg ;;
1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009 pdfdir=$ac_optarg ;;
1011 -psdir | --psdir | --psdi | --psd | --ps)
1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1020 -runstatedir | --runstatedir | --runstatedi | --runstated \
1021 | --runstate | --runstat | --runsta | --runst | --runs \
1022 | --run | --ru | --r)
1023 ac_prev=runstatedir ;;
1024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1026 | --run=* | --ru=* | --r=*)
1027 runstatedir=$ac_optarg ;;
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 sbindir=$ac_optarg ;;
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 sharedstatedir=$ac_optarg ;;
1046 -site | --site | --sit)
1048 -site=* | --site=* | --sit=*)
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=\$ac_optarg ;;
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1104 eval with_$ac_useropt=no ;;
1107 # Obsolete; use --with-x.
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1124 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1125 Try \`$0 --help' for more information"
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1139 # FIXME: should be removed in autoconf 3.0.
1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir runstatedir
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1175 # Be sure to have absolute directory names.
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1188 target=$target_alias
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures xmldoc 0.8 to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/xmldoc]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --program-prefix=PREFIX prepend PREFIX to installed program names
1339 --program-suffix=SUFFIX append SUFFIX to installed program names
1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive ) echo "Configuration of xmldoc 0.8:";;
1351 --disable-option-checking ignore unrecognized --enable/--with options
1352 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1353 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1354 --enable-silent-rules less verbose build output (undo: "make V=1")
1355 --disable-silent-rules verbose build output (undo: "make V=0")
1356 --enable-dependency-tracking
1357 do not reject slow dependency extractors
1358 --disable-dependency-tracking
1359 speeds up one-time build
1361 Some influential environment variables:
1362 CC C compiler command
1363 CFLAGS C compiler flags
1364 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1365 nonstandard directory <lib dir>
1366 LIBS libraries to pass to the linker, e.g. -l<library>
1367 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1368 you have headers in a nonstandard directory <include dir>
1371 Use these variables to override the choices made by `configure' or to help
1372 it to find libraries and programs with nonstandard names/locations.
1374 Report bugs to <arjen@andromeda.nl>.
1379 if test "$ac_init_help" = "recursive"; then
1380 # If there are subdirs, report their specific --help.
1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1382 test -d "$ac_dir" ||
1383 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1388 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1391 # A ".." for each directory in $ac_dir_suffix.
1392 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1393 case $ac_top_builddir_sub in
1394 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1398 ac_abs_top_builddir=$ac_pwd
1399 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1400 # for backward compatibility:
1401 ac_top_builddir=$ac_top_build_prefix
1404 .) # We are building in place.
1406 ac_top_srcdir=$ac_top_builddir_sub
1407 ac_abs_top_srcdir=$ac_pwd ;;
1408 [\\/]* | ?:[\\/]* ) # Absolute name.
1409 ac_srcdir=$srcdir$ac_dir_suffix;
1410 ac_top_srcdir=$srcdir
1411 ac_abs_top_srcdir=$srcdir ;;
1413 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1414 ac_top_srcdir=$ac_top_build_prefix$srcdir
1415 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1417 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1419 cd "$ac_dir" || { ac_status=$?; continue; }
1420 # Check for guested configure.
1421 if test -f "$ac_srcdir/configure.gnu"; then
1423 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1424 elif test -f "$ac_srcdir/configure"; then
1426 $SHELL "$ac_srcdir/configure" --help=recursive
1428 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1430 cd "$ac_pwd" || { ac_status=$?; break; }
1434 test -n "$ac_init_help" && exit $ac_status
1435 if $ac_init_version; then
1437 xmldoc configure 0.8
1438 generated by GNU Autoconf 2.69
1440 Copyright (C) 2012 Free Software Foundation, Inc.
1441 This configure script is free software; the Free Software Foundation
1442 gives unlimited permission to copy, distribute and modify it.
1447 ## ------------------------ ##
1448 ## Autoconf initialization. ##
1449 ## ------------------------ ##
1451 # ac_fn_c_try_compile LINENO
1452 # --------------------------
1453 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1454 ac_fn_c_try_compile ()
1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457 rm -f conftest.$ac_objext
1458 if { { ac_try="$ac_compile"
1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_compile") 2>conftest.err
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } && {
1474 test -z "$ac_c_werror_flag" ||
1475 test ! -s conftest.err
1476 } && test -s conftest.$ac_objext; then :
1479 $as_echo "$as_me: failed program was:" >&5
1480 sed 's/^/| /' conftest.$ac_ext >&5
1484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1485 as_fn_set_status $ac_retval
1487 } # ac_fn_c_try_compile
1489 # ac_fn_c_try_cpp LINENO
1490 # ----------------------
1491 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 if { { ac_try="$ac_cpp conftest.$ac_ext"
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } > conftest.i && {
1511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1526 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1527 # -------------------------------------------------------
1528 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1529 # the include files in INCLUDES and setting the cache variable VAR
1531 ac_fn_c_check_header_mongrel ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 if eval \${$3+:} false; then :
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 $as_echo_n "checking for $2... " >&6; }
1537 if eval \${$3+:} false; then :
1538 $as_echo_n "(cached) " >&6
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1542 $as_echo "$ac_res" >&6; }
1544 # Is the header compilable?
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1546 $as_echo_n "checking $2 usability... " >&6; }
1547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1548 /* end confdefs.h. */
1552 if ac_fn_c_try_compile "$LINENO"; then :
1553 ac_header_compiler=yes
1555 ac_header_compiler=no
1557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1559 $as_echo "$ac_header_compiler" >&6; }
1561 # Is the header present?
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1563 $as_echo_n "checking $2 presence... " >&6; }
1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1565 /* end confdefs.h. */
1568 if ac_fn_c_try_cpp "$LINENO"; then :
1569 ac_header_preproc=yes
1571 ac_header_preproc=no
1573 rm -f conftest.err conftest.i conftest.$ac_ext
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1575 $as_echo "$ac_header_preproc" >&6; }
1577 # So? What about this header?
1578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1581 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1587 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1589 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1591 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1593 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1595 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1596 ( $as_echo "## --------------------------------- ##
1597 ## Report this to arjen@andromeda.nl ##
1598 ## --------------------------------- ##"
1599 ) | sed "s/^/$as_me: WARNING: /" >&2
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if eval \${$3+:} false; then :
1605 $as_echo_n "(cached) " >&6
1607 eval "$3=\$ac_header_compiler"
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 } # ac_fn_c_check_header_mongrel
1617 # ac_fn_c_try_run LINENO
1618 # ----------------------
1619 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1620 # that executables *can* be run.
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if { { ac_try="$ac_link"
1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_link") 2>&5
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1635 { { case "(($ac_try" in
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_try") 2>&5
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; }; }; then :
1647 $as_echo "$as_me: program exited with status $ac_status" >&5
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1651 ac_retval=$ac_status
1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status $ac_retval
1659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists and can be compiled using the include files in
1662 # INCLUDES, setting the cache variable VAR accordingly.
1663 ac_fn_c_check_header_compile ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669 $as_echo_n "(cached) " >&6
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1676 if ac_fn_c_try_compile "$LINENO"; then :
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 } # ac_fn_c_check_header_compile
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>conftest.err
1706 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest$ac_exeext && {
1716 test "$cross_compiling" = yes ||
1717 test -x conftest$ac_exeext
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728 # interfere with the next link command; also delete a directory that is
1729 # left behind by Apple's compiler. We do this before executing the actions.
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1734 } # ac_fn_c_try_link
1735 cat >config.log <<_ACEOF
1736 This file contains any messages produced by compilers while
1737 running configure, to aid debugging if configure makes a mistake.
1739 It was created by xmldoc $as_me 0.8, which was
1740 generated by GNU Autoconf 2.69. Invocation command line was
1752 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1753 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1754 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1755 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1756 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1758 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1759 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1761 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1762 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1763 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1764 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1765 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1766 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1767 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir=.
1776 $as_echo "PATH: $as_dir"
1792 # Keep a trace of the command line.
1793 # Strip out --no-create and --no-recursion so they do not pile up.
1794 # Strip out --silent because we don't want to record it for future runs.
1795 # Also quote any args containing shell meta-characters.
1796 # Make two passes to allow for proper duplicate-argument suppression.
1800 ac_must_keep_next=false
1806 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1807 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1808 | -silent | --silent | --silen | --sile | --sil)
1811 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1816 as_fn_append ac_configure_args1 " '$ac_arg'"
1817 if test $ac_must_keep_next = true; then
1818 ac_must_keep_next=false # Got value, back to normal.
1821 *=* | --config-cache | -C | -disable-* | --disable-* \
1822 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1823 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1824 | -with-* | --with-* | -without-* | --without-* | --x)
1825 case "$ac_configure_args0 " in
1826 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1829 -* ) ac_must_keep_next=true ;;
1832 as_fn_append ac_configure_args " '$ac_arg'"
1837 { ac_configure_args0=; unset ac_configure_args0;}
1838 { ac_configure_args1=; unset ac_configure_args1;}
1840 # When interrupted or exit'd, cleanup temporary files, and complete
1841 # config.log. We remove comments because anyway the quotes in there
1842 # would cause problems or look ugly.
1843 # WARNING: Use '\'' to represent an apostrophe within the trap.
1844 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1845 trap 'exit_status=$?
1846 # Save into config.log some information that might help in debugging.
1850 $as_echo "## ---------------- ##
1851 ## Cache variables. ##
1852 ## ---------------- ##"
1854 # The following way of writing the cache mishandles newlines in values,
1856 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1857 eval ac_val=\$$ac_var
1861 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1865 _ | IFS | as_nl) ;; #(
1866 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1867 *) { eval $ac_var=; unset $ac_var;} ;;
1872 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1873 *${as_nl}ac_space=\ *)
1875 "s/'\''/'\''\\\\'\'''\''/g;
1876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1886 $as_echo "## ----------------- ##
1887 ## Output variables. ##
1888 ## ----------------- ##"
1890 for ac_var in $ac_subst_vars
1892 eval ac_val=\$$ac_var
1894 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1896 $as_echo "$ac_var='\''$ac_val'\''"
1900 if test -n "$ac_subst_files"; then
1901 $as_echo "## ------------------- ##
1902 ## File substitutions. ##
1903 ## ------------------- ##"
1905 for ac_var in $ac_subst_files
1907 eval ac_val=\$$ac_var
1909 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911 $as_echo "$ac_var='\''$ac_val'\''"
1916 if test -s confdefs.h; then
1917 $as_echo "## ----------- ##
1924 test "$ac_signal" != 0 &&
1925 $as_echo "$as_me: caught signal $ac_signal"
1926 $as_echo "$as_me: exit $exit_status"
1928 rm -f core *.core core.conftest.* &&
1929 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1932 for ac_signal in 1 2 13 15; do
1933 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1937 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1938 rm -f -r conftest* confdefs.h
1940 $as_echo "/* confdefs.h */" > confdefs.h
1942 # Predefined preprocessor variables.
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_NAME "$PACKAGE_NAME"
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1956 cat >>confdefs.h <<_ACEOF
1957 #define PACKAGE_STRING "$PACKAGE_STRING"
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1964 cat >>confdefs.h <<_ACEOF
1965 #define PACKAGE_URL "$PACKAGE_URL"
1969 # Let the site file select an alternate cache file if it wants to.
1970 # Prefer an explicitly selected file to automatically selected ones.
1973 if test -n "$CONFIG_SITE"; then
1974 # We do not want a PATH search for config.site.
1975 case $CONFIG_SITE in #((
1976 -*) ac_site_file1=./$CONFIG_SITE;;
1977 */*) ac_site_file1=$CONFIG_SITE;;
1978 *) ac_site_file1=./$CONFIG_SITE;;
1980 elif test "x$prefix" != xNONE; then
1981 ac_site_file1=$prefix/share/config.site
1982 ac_site_file2=$prefix/etc/config.site
1984 ac_site_file1=$ac_default_prefix/share/config.site
1985 ac_site_file2=$ac_default_prefix/etc/config.site
1987 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1989 test "x$ac_site_file" = xNONE && continue
1990 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1992 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1993 sed 's/^/| /' "$ac_site_file" >&5
1995 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997 as_fn_error $? "failed to load site script $ac_site_file
1998 See \`config.log' for more details" "$LINENO" 5; }
2002 if test -r "$cache_file"; then
2003 # Some versions of bash will fail to source /dev/null (special files
2004 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2005 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2007 $as_echo "$as_me: loading cache $cache_file" >&6;}
2009 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010 *) . "./$cache_file";;
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2015 $as_echo "$as_me: creating cache $cache_file" >&6;}
2019 # Check that the precious variables saved in the cache have kept the same
2021 ac_cache_corrupted=false
2022 for ac_var in $ac_precious_vars; do
2023 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2024 eval ac_new_set=\$ac_env_${ac_var}_set
2025 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2026 eval ac_new_val=\$ac_env_${ac_var}_value
2027 case $ac_old_set,$ac_new_set in
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031 ac_cache_corrupted=: ;;
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2034 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035 ac_cache_corrupted=: ;;
2038 if test "x$ac_old_val" != "x$ac_new_val"; then
2039 # differences in whitespace do not lead to failure.
2040 ac_old_val_w=`echo x $ac_old_val`
2041 ac_new_val_w=`echo x $ac_new_val`
2042 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2044 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2045 ac_cache_corrupted=:
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2048 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2049 eval $ac_var=\$ac_old_val
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2052 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2054 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2057 # Pass precious variables to config.status.
2058 if test "$ac_new_set" = set; then
2060 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2061 *) ac_arg=$ac_var=$ac_new_val ;;
2063 case " $ac_configure_args " in
2064 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2065 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2069 if $ac_cache_corrupted; then
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2073 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2074 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2076 ## -------------------- ##
2077 ## Main body of script. ##
2078 ## -------------------- ##
2081 ac_cpp='$CPP $CPPFLAGS'
2082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2087 am__api_version='1.15'
2090 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2091 if test -f "$ac_dir/install-sh"; then
2093 ac_install_sh="$ac_aux_dir/install-sh -c"
2095 elif test -f "$ac_dir/install.sh"; then
2097 ac_install_sh="$ac_aux_dir/install.sh -c"
2099 elif test -f "$ac_dir/shtool"; then
2101 ac_install_sh="$ac_aux_dir/shtool install -c"
2105 if test -z "$ac_aux_dir"; then
2106 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2109 # These three variables are undocumented and unsupported,
2110 # and are intended to be withdrawn in a future Autoconf release.
2111 # They can cause serious problems if a builder's source tree is in a directory
2112 # whose full name contains unusual characters.
2113 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2114 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2115 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2118 # Find a good install program. We prefer a C program (faster),
2119 # so one script is as good as another. But avoid the broken or
2120 # incompatible versions:
2121 # SysV /etc/install, /usr/sbin/install
2122 # SunOS /usr/etc/install
2123 # IRIX /sbin/install
2125 # AmigaOS /C/install, which installs bootblocks on floppy discs
2126 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2127 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2128 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2129 # OS/2's system install, which has a completely different semantic
2130 # ./install, which can be erroneously created by make from ./install.sh.
2131 # Reject install programs that cannot install multiple files.
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2133 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2134 if test -z "$INSTALL"; then
2135 if ${ac_cv_path_install+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 # Account for people who put trailing slashes in PATH elements.
2144 case $as_dir/ in #((
2145 ./ | .// | /[cC]/* | \
2146 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2147 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2150 # OSF1 and SCO ODT 3.0 have their own names for install.
2151 # Don't use installbsd from OSF since it installs stuff as root
2153 for ac_prog in ginstall scoinst install; do
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2156 if test $ac_prog = install &&
2157 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2158 # AIX install. It has an incompatible calling convention.
2160 elif test $ac_prog = install &&
2161 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2162 # program-specific install script used by HP pwplus--don't use.
2165 rm -rf conftest.one conftest.two conftest.dir
2166 echo one > conftest.one
2167 echo two > conftest.two
2169 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2170 test -s conftest.one && test -s conftest.two &&
2171 test -s conftest.dir/conftest.one &&
2172 test -s conftest.dir/conftest.two
2174 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2187 rm -rf conftest.one conftest.two conftest.dir
2190 if test "${ac_cv_path_install+set}" = set; then
2191 INSTALL=$ac_cv_path_install
2193 # As a last resort, use the slow shell script. Don't cache a
2194 # value for INSTALL within a source directory, because that will
2195 # break other packages using the cache if that directory is
2196 # removed, or if the value is a relative name.
2197 INSTALL=$ac_install_sh
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2201 $as_echo "$INSTALL" >&6; }
2203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2204 # It thinks the first close brace ends the variable substitution.
2205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2212 $as_echo_n "checking whether build environment is sane... " >&6; }
2213 # Reject unsafe characters in $srcdir or the absolute working directory
2214 # name. Accept space and tab only in the latter.
2218 *[\\\"\#\$\&\'\`$am_lf]*)
2219 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2222 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2223 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2226 # Do 'set' in a subshell so we don't clobber the current shell's
2227 # arguments. Must try -L first in case configure is actually a
2228 # symlink; some systems play weird games with the mod time of symlinks
2229 # (eg FreeBSD returns the mod time of the symlink's containing
2233 for am_try in 1 2; do
2234 echo "timestamp, slept: $am_has_slept" > conftest.file
2235 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2236 if test "$*" = "X"; then
2238 set X `ls -t "$srcdir/configure" conftest.file`
2240 if test "$*" != "X $srcdir/configure conftest.file" \
2241 && test "$*" != "X conftest.file $srcdir/configure"; then
2243 # If neither matched, then we have a broken ls. This can happen
2244 # if, for instance, CONFIG_SHELL is bash and it inherits a
2245 # broken ls alias from the environment. This has actually
2246 # happened. Such a system could not be considered "sane".
2247 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2248 alias in your environment" "$LINENO" 5
2250 if test "$2" = conftest.file || test $am_try -eq 2; then
2257 test "$2" = conftest.file
2263 as_fn_error $? "newly created file is older than distributed files!
2264 Check your system clock" "$LINENO" 5
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2267 $as_echo "yes" >&6; }
2268 # If we didn't sleep, we still need to ensure time stamps of config.status and
2269 # generated files are strictly newer.
2271 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2278 test "$program_prefix" != NONE &&
2279 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2280 # Use a double $ so make ignores it.
2281 test "$program_suffix" != NONE &&
2282 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2283 # Double any \ or $.
2284 # By default was `s,x,x', remove it if useless.
2285 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2286 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2288 # Expand $ac_aux_dir to an absolute path.
2289 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2291 if test x"${MISSING+set}" != xset; then
2294 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2296 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2299 # Use eval to expand $SHELL
2300 if eval "$MISSING --is-lightweight"; then
2301 am_missing_run="$MISSING "
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2305 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2308 if test x"${install_sh+set}" != xset; then
2311 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2313 install_sh="\${SHELL} $am_aux_dir/install-sh"
2317 # Installed binaries are usually stripped using 'strip' when the user
2318 # run "make install-strip". However 'strip' might not be the right
2319 # tool to use in cross-compilation environments, therefore Automake
2320 # will honor the 'STRIP' environment variable to overrule this program.
2321 if test "$cross_compiling" != no; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2324 set dummy ${ac_tool_prefix}strip; ac_word=$2
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
2327 if ${ac_cv_prog_STRIP+:} false; then :
2328 $as_echo_n "(cached) " >&6
2330 if test -n "$STRIP"; then
2331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 STRIP=$ac_cv_prog_STRIP
2351 if test -n "$STRIP"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2353 $as_echo "$STRIP" >&6; }
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2356 $as_echo "no" >&6; }
2361 if test -z "$ac_cv_prog_STRIP"; then
2363 # Extract the first word of "strip", so it can be a program name with args.
2364 set dummy strip; ac_word=$2
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2368 $as_echo_n "(cached) " >&6
2370 if test -n "$ac_ct_STRIP"; then
2371 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_ac_ct_STRIP="strip"
2381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2391 if test -n "$ac_ct_STRIP"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2393 $as_echo "$ac_ct_STRIP" >&6; }
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2396 $as_echo "no" >&6; }
2399 if test "x$ac_ct_STRIP" = x; then
2402 case $cross_compiling:$ac_tool_warned in
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2406 ac_tool_warned=yes ;;
2411 STRIP="$ac_cv_prog_STRIP"
2415 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2418 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2419 if test -z "$MKDIR_P"; then
2420 if ${ac_cv_path_mkdir+:} false; then :
2421 $as_echo_n "(cached) " >&6
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2427 test -z "$as_dir" && as_dir=.
2428 for ac_prog in mkdir gmkdir; do
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2431 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2432 'mkdir (GNU coreutils) '* | \
2433 'mkdir (coreutils) '* | \
2434 'mkdir (fileutils) '4.1*)
2435 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2445 test -d ./--version && rmdir ./--version
2446 if test "${ac_cv_path_mkdir+set}" = set; then
2447 MKDIR_P="$ac_cv_path_mkdir -p"
2449 # As a last resort, use the slow shell script. Don't cache a
2450 # value for MKDIR_P within a source directory, because that will
2451 # break other packages using the cache if that directory is
2452 # removed, or if the value is a relative name.
2453 MKDIR_P="$ac_install_sh -d"
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2457 $as_echo "$MKDIR_P" >&6; }
2459 for ac_prog in gawk mawk nawk awk
2461 # Extract the first word of "$ac_prog", so it can be a program name with args.
2462 set dummy $ac_prog; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if ${ac_cv_prog_AWK+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$AWK"; then
2469 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2478 ac_cv_prog_AWK="$ac_prog"
2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$AWK"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2491 $as_echo "$AWK" >&6; }
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2498 test -n "$AWK" && break
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2504 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2505 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2506 $as_echo_n "(cached) " >&6
2508 cat >conftest.make <<\_ACEOF
2511 @echo '@@@%%%=$(MAKE)=@@@%%%'
2513 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2514 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2516 eval ac_cv_prog_make_${ac_make}_set=yes;;
2518 eval ac_cv_prog_make_${ac_make}_set=no;;
2522 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524 $as_echo "yes" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2529 SET_MAKE="MAKE=${MAKE-make}"
2532 rm -rf .tst 2>/dev/null
2533 mkdir .tst 2>/dev/null
2534 if test -d .tst; then
2539 rmdir .tst 2>/dev/null
2541 # Check whether --enable-silent-rules was given.
2542 if test "${enable_silent_rules+set}" = set; then :
2543 enableval=$enable_silent_rules;
2546 case $enable_silent_rules in # (((
2547 yes) AM_DEFAULT_VERBOSITY=0;;
2548 no) AM_DEFAULT_VERBOSITY=1;;
2549 *) AM_DEFAULT_VERBOSITY=1;;
2551 am_make=${MAKE-make}
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2553 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2554 if ${am_cv_make_support_nested_variables+:} false; then :
2555 $as_echo_n "(cached) " >&6
2557 if $as_echo 'TRUE=$(BAR$(V))
2563 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2564 am_cv_make_support_nested_variables=yes
2566 am_cv_make_support_nested_variables=no
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2570 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2571 if test $am_cv_make_support_nested_variables = yes; then
2573 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2575 AM_V=$AM_DEFAULT_VERBOSITY
2576 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2580 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2581 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2582 # is not polluted with repeated "-I."
2583 am__isrc=' -I$(srcdir)'
2584 # test to see if srcdir already configured
2585 if test -f $srcdir/config.status; then
2586 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2590 # test whether we have cygpath
2591 if test -z "$CYGPATH_W"; then
2592 if (cygpath --version) >/dev/null 2>/dev/null; then
2593 CYGPATH_W='cygpath -w'
2600 # Define the identity of the package.
2605 cat >>confdefs.h <<_ACEOF
2606 #define PACKAGE "$PACKAGE"
2610 cat >>confdefs.h <<_ACEOF
2611 #define VERSION "$VERSION"
2614 # Some tools Automake needs.
2616 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2619 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2622 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2625 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2628 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2630 # For better backward compatibility. To be removed once Automake 1.9.x
2631 # dies out for good. For more background, see:
2632 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2633 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2634 mkdir_p='$(MKDIR_P)'
2636 # We need awk for the "check" target (and possibly the TAP driver). The
2637 # system "awk" is bad on some platforms.
2638 # Always define AMTAR for backward compatibility. Yes, it's still used
2639 # in the wild :-( We should find a proper way to deprecate it ...
2643 # We'll loop over all known methods to create a tar archive until one works.
2644 _am_tools='gnutar pax cpio none'
2646 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2653 # POSIX will say in a future version that running "rm -f" with no argument
2654 # is OK; and we want to be able to make that assumption in our Makefile
2655 # recipes. So use an aggressive probe to check that the usage we want is
2656 # actually supported "in the wild" to an acceptable degree.
2657 # See automake bug#10828.
2658 # To make any issue more visible, cause the running configure to be aborted
2659 # by default if the 'rm' program in use doesn't match our expectations; the
2660 # user can still override this though.
2661 if rm -f && rm -fr && rm -rf; then : OK; else
2665 Your 'rm' program seems unable to run without file operands specified
2666 on the command line, even when the '-f' option is present. This is contrary
2667 to the behaviour of most rm programs out there, and not conforming with
2668 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2670 Please tell bug-automake@gnu.org about your system, including the value
2671 of your $PATH and any error possibly output before this message. This
2672 can help us improve future automake versions.
2675 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2676 echo 'Configuration will proceed anyway, since you have set the' >&2
2677 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2681 Aborting the configuration process, to ensure you take notice of the issue.
2683 You can download and install GNU coreutils to get an 'rm' implementation
2684 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2686 If you want to complete the configuration process using your problematic
2687 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2688 to "yes", and re-run configure.
2691 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2697 ac_cpp='$CPP $CPPFLAGS'
2698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2701 if test -n "$ac_tool_prefix"; then
2702 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2703 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if ${ac_cv_prog_CC+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC="$CC" # Let the user override the test.
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2740 if test -z "$ac_cv_prog_CC"; then
2742 # Extract the first word of "gcc", so it can be a program name with args.
2743 set dummy gcc; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$ac_ct_CC"; then
2750 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_ac_ct_CC="gcc"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2770 if test -n "$ac_ct_CC"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2772 $as_echo "$ac_ct_CC" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2778 if test "x$ac_ct_CC" = x; then
2781 case $cross_compiling:$ac_tool_warned in
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2785 ac_tool_warned=yes ;;
2793 if test -z "$CC"; then
2794 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2796 set dummy ${ac_tool_prefix}cc; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_CC+:} false; then :
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_CC="${ac_tool_prefix}cc"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825 $as_echo "$CC" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2834 if test -z "$CC"; then
2835 # Extract the first word of "cc", so it can be a program name with args.
2836 set dummy cc; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_CC+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC="$CC" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2854 ac_prog_rejected=yes
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test $ac_prog_rejected = yes; then
2866 # We found a bogon in the path, so make sure we never use it.
2867 set dummy $ac_cv_prog_CC
2869 if test $# != 0; then
2870 # We chose a different compiler from the bogus one.
2871 # However, it has the same basename, so the bogon will be chosen
2872 # first if we set CC to just the basename; use the full file name.
2874 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2880 if test -n "$CC"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882 $as_echo "$CC" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 for ac_prog in cl.exe
2894 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2895 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CC+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC="$CC" # Let the user override the test.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2931 test -n "$CC" && break
2934 if test -z "$CC"; then
2936 for ac_prog in cl.exe
2938 # Extract the first word of "$ac_prog", so it can be a program name with args.
2939 set dummy $ac_prog; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$ac_ct_CC"; then
2946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_ac_ct_CC="$ac_prog"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2966 if test -n "$ac_ct_CC"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2968 $as_echo "$ac_ct_CC" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2975 test -n "$ac_ct_CC" && break
2978 if test "x$ac_ct_CC" = x; then
2981 case $cross_compiling:$ac_tool_warned in
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985 ac_tool_warned=yes ;;
2994 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996 as_fn_error $? "no acceptable C compiler found in \$PATH
2997 See \`config.log' for more details" "$LINENO" 5; }
2999 # Provide some information about the compiler.
3000 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3003 for ac_option in --version -v -V -qversion; do
3004 { { ac_try="$ac_compiler $ac_option >&5"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3013 if test -s conftest.err; then
3015 ... rest of stderr output deleted ...
3016 10q' conftest.err >conftest.er1
3017 cat conftest.er1 >&5
3019 rm -f conftest.er1 conftest.err
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3021 test $ac_status = 0; }
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 ac_clean_files_save=$ac_clean_files
3036 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3037 # Try to create an executable without -o first, disregard a.out.
3038 # It will help us diagnose broken compilers, and finding out an intuition
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3041 $as_echo_n "checking whether the C compiler works... " >&6; }
3042 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3044 # The possible output files:
3045 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3048 for ac_file in $ac_files
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3052 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3057 if { { ac_try="$ac_link_default"
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3063 $as_echo "$ac_try_echo"; } >&5
3064 (eval "$ac_link_default") 2>&5
3066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; }; then :
3068 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3069 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3070 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3071 # so that the user can short-circuit this test for compilers unknown to
3073 for ac_file in $ac_files ''
3075 test -f "$ac_file" || continue
3077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3080 # We found the default executable, but exeext='' is most
3084 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3086 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3088 # We set ac_cv_exeext here because the later test for it is not
3089 # safe: cross compilers may not add the suffix if given an `-o'
3090 # argument, so we may need to know it at that point already.
3091 # Even if this section looks crufty: it has the advantage of
3098 test "$ac_cv_exeext" = no && ac_cv_exeext=
3103 if test -z "$ac_file"; then :
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 as_fn_error 77 "C compiler cannot create executables
3112 See \`config.log' for more details" "$LINENO" 5; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3115 $as_echo "yes" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3118 $as_echo_n "checking for C compiler default output file name... " >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3120 $as_echo "$ac_file" >&6; }
3121 ac_exeext=$ac_cv_exeext
3123 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3124 ac_clean_files=$ac_clean_files_save
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3126 $as_echo_n "checking for suffix of executables... " >&6; }
3127 if { { ac_try="$ac_link"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_link") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; then :
3138 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3139 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3140 # work properly (i.e., refer to `conftest.exe'), while it won't with
3142 for ac_file in conftest.exe conftest conftest.*; do
3143 test -f "$ac_file" || continue
3145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3146 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3155 See \`config.log' for more details" "$LINENO" 5; }
3157 rm -f conftest conftest$ac_cv_exeext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3159 $as_echo "$ac_cv_exeext" >&6; }
3161 rm -f conftest.$ac_ext
3162 EXEEXT=$ac_cv_exeext
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3170 FILE *f = fopen ("conftest.out", "w");
3171 return ferror (f) || fclose (f) != 0;
3177 ac_clean_files="$ac_clean_files conftest.out"
3178 # Check that the compiler produces executables we can run. If not, either
3179 # the compiler is broken, or we cross compile.
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3181 $as_echo_n "checking whether we are cross compiling... " >&6; }
3182 if test "$cross_compiling" != yes; then
3183 { { ac_try="$ac_link"
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_link") 2>&5
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }
3194 if { ac_try='./conftest$ac_cv_exeext'
3195 { { case "(($ac_try" in
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_try") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }; }; then
3207 if test "$cross_compiling" = maybe; then
3210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error $? "cannot run C compiled programs.
3213 If you meant to cross compile, use \`--host'.
3214 See \`config.log' for more details" "$LINENO" 5; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3219 $as_echo "$cross_compiling" >&6; }
3221 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3222 ac_clean_files=$ac_clean_files_save
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3224 $as_echo_n "checking for suffix of object files... " >&6; }
3225 if ${ac_cv_objext+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3239 rm -f conftest.o conftest.obj
3240 if { { ac_try="$ac_compile"
3242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246 $as_echo "$ac_try_echo"; } >&5
3247 (eval "$ac_compile") 2>&5
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }; then :
3251 for ac_file in conftest.o conftest.obj conftest.*; do
3252 test -f "$ac_file" || continue;
3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3255 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3260 $as_echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 as_fn_error $? "cannot compute suffix of object files: cannot compile
3266 See \`config.log' for more details" "$LINENO" 5; }
3268 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3271 $as_echo "$ac_cv_objext" >&6; }
3272 OBJEXT=$ac_cv_objext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3275 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3276 if ${ac_cv_c_compiler_gnu+:} false; then :
3277 $as_echo_n "(cached) " >&6
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3293 if ac_fn_c_try_compile "$LINENO"; then :
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3303 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3304 if test $ac_compiler_gnu = yes; then
3309 ac_test_CFLAGS=${CFLAGS+set}
3310 ac_save_CFLAGS=$CFLAGS
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3312 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3313 if ${ac_cv_prog_cc_g+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 ac_save_c_werror_flag=$ac_c_werror_flag
3317 ac_c_werror_flag=yes
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3349 ac_c_werror_flag=$ac_save_c_werror_flag
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3362 if ac_fn_c_try_compile "$LINENO"; then :
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 ac_c_werror_flag=$ac_save_c_werror_flag
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3373 $as_echo "$ac_cv_prog_cc_g" >&6; }
3374 if test "$ac_test_CFLAGS" = set; then
3375 CFLAGS=$ac_save_CFLAGS
3376 elif test $ac_cv_prog_cc_g = yes; then
3377 if test "$GCC" = yes; then
3383 if test "$GCC" = yes; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3390 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3391 if ${ac_cv_prog_cc_c89+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 ac_cv_prog_cc_c89=no
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3402 struct buf { int x; };
3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3415 s = g (p, va_arg (v,int));
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not '\xHH' hex character constants.
3422 These don't provoke an error unfortunately, instead are silently treated
3423 as 'x'. The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3425 array size at least. It's necessary to write '\x00'==0 to get something
3426 that's true only with -std. */
3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3451 CC="$ac_save_CC $ac_arg"
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_cv_prog_cc_c89=$ac_arg
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x$ac_cv_prog_cc_c89" != "xno" && break
3458 rm -f conftest.$ac_ext
3463 case "x$ac_cv_prog_cc_c89" in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3466 $as_echo "none needed" >&6; } ;;
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3469 $as_echo "unsupported" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3475 if test "x$ac_cv_prog_cc_c89" != xno; then :
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 ac_cpp='$CPP $CPPFLAGS'
3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3491 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3492 if ${am_cv_prog_cc_c_o+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 # Make sure it works both with $CC and with simple cc.
3507 # Following AC_PROG_CC_C_O, we do the test twice because some
3508 # compilers refuse to overwrite an existing .o file with -o,
3509 # though they will create one.
3510 am_cv_prog_cc_c_o=yes
3512 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3513 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } \
3517 && test -f conftest2.$ac_objext; then
3520 am_cv_prog_cc_c_o=no
3524 rm -f core conftest*
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3528 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3529 if test "$am_cv_prog_cc_c_o" != yes; then
3530 # Losing compiler, so override with the script.
3531 # FIXME: It is wrong to rewrite CC.
3532 # But if we don't then we get into trouble of one sort or another.
3533 # A longer-term fix would be to have automake use am__CC in this case,
3534 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3535 CC="$am_aux_dir/compile $CC"
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 DEPDIR="${am__leading_dot}deps"
3545 ac_config_commands="$ac_config_commands depfiles"
3548 am_make=${MAKE-make}
3549 cat > confinc << 'END'
3551 @echo this is the am__doit target
3554 # If we don't find an include directive, just comment out the code.
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3556 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3560 # First try GNU make style include.
3561 echo "include confinc" > confmf
3562 # Ignore all kinds of additional output from 'make'.
3563 case `$am_make -s -f confmf 2> /dev/null` in #(
3564 *the\ am__doit\ target*)
3570 # Now try BSD make style include.
3571 if test "$am__include" = "#"; then
3572 echo '.include "confinc"' > confmf
3573 case `$am_make -s -f confmf 2> /dev/null` in #(
3574 *the\ am__doit\ target*)
3575 am__include=.include
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3584 $as_echo "$_am_result" >&6; }
3585 rm -f confinc confmf
3587 # Check whether --enable-dependency-tracking was given.
3588 if test "${enable_dependency_tracking+set}" = set; then :
3589 enableval=$enable_dependency_tracking;
3592 if test "x$enable_dependency_tracking" != xno; then
3593 am_depcomp="$ac_aux_dir/depcomp"
3597 if test "x$enable_dependency_tracking" != xno; then
3607 depcc="$CC" am_compiler_list=
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3610 $as_echo_n "checking dependency style of $depcc... " >&6; }
3611 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3612 $as_echo_n "(cached) " >&6
3614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3615 # We make a subdir and do the tests there. Otherwise we can end up
3616 # making bogus files that we don't know about and never remove. For
3617 # instance it was reported that on HP-UX the gcc test will end up
3618 # making a dummy file named 'D' -- because '-MD' means "put the output
3622 # Copy depcomp to subdir because otherwise we won't find it if we're
3623 # using a relative directory.
3624 cp "$am_depcomp" conftest.dir
3626 # We will build objects and dependencies in a subdirectory because
3627 # it helps to detect inapplicable dependency modes. For instance
3628 # both Tru64's cc and ICC support -MD to output dependencies as a
3629 # side effect of compilation, but ICC will put the dependencies in
3630 # the current directory while Tru64 will put them in the object
3634 am_cv_CC_dependencies_compiler_type=none
3635 if test "$am_compiler_list" = ""; then
3636 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3639 case " $depcc " in #(
3640 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3643 for depmode in $am_compiler_list; do
3644 # Setup a source with many dependencies, because some compilers
3645 # like to wrap large dependency lists on column 80 (with \), and
3646 # we should not choose a depcomp mode which is confused by this.
3648 # We need to recreate these files for each test, as the compiler may
3649 # overwrite some of them when testing with obscure command lines.
3650 # This happens at least with the AIX C compiler.
3652 for i in 1 2 3 4 5 6; do
3653 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3654 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3655 # Solaris 10 /bin/sh.
3656 echo '/* dummy */' > sub/conftst$i.h
3658 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3660 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3661 # mode. It turns out that the SunPro C++ compiler does not properly
3662 # handle '-M -o', and we need to detect this. Also, some Intel
3663 # versions had trouble with output in subdirs.
3664 am__obj=sub/conftest.${OBJEXT-o}
3665 am__minus_obj="-o $am__obj"
3668 # This depmode causes a compiler race in universal mode.
3669 test "$am__universal" = false || continue
3672 # After this tag, mechanisms are not by side-effect, so they'll
3673 # only be used when explicitly requested.
3674 if test "x$enable_dependency_tracking" = xyes; then
3680 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3681 # This compiler won't grok '-c -o', but also, the minuso test has
3682 # not run yet. These depmodes are late enough in the game, and
3683 # so weak that their functioning should not be impacted.
3684 am__obj=conftest.${OBJEXT-o}
3689 if depmode=$depmode \
3690 source=sub/conftest.c object=$am__obj \
3691 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3692 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3693 >/dev/null 2>conftest.err &&
3694 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3695 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3696 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3697 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3698 # icc doesn't choke on unknown options, it will just issue warnings
3699 # or remarks (even with -Werror). So we grep stderr for any message
3700 # that says an option was ignored or not supported.
3701 # When given -MP, icc 7.0 and 7.1 complain thusly:
3702 # icc: Command line warning: ignoring option '-M'; no argument required
3703 # The diagnosis changed in icc 8.0:
3704 # icc: Command line remark: option '-MP' not supported
3705 if (grep 'ignoring option' conftest.err ||
3706 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3707 am_cv_CC_dependencies_compiler_type=$depmode
3716 am_cv_CC_dependencies_compiler_type=none
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3721 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3722 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3725 test "x$enable_dependency_tracking" != xno \
3726 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3728 am__fastdepCC_FALSE='#'
3730 am__fastdepCC_TRUE='#'
3731 am__fastdepCC_FALSE=
3737 CFLAGS="$CFLAGS -I/usr/include/libxml2"
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3746 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3747 # On Suns, sometimes $CPP names a directory.
3748 if test -n "$CPP" && test -d "$CPP"; then
3751 if test -z "$CPP"; then
3752 if ${ac_cv_prog_CPP+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 # Double quotes because CPP needs to be expanded
3756 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3759 for ac_c_preproc_warn_flag in '' yes
3761 # Use a header file that comes with gcc, so configuring glibc
3762 # with a fresh cross-compiler works.
3763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3764 # <limits.h> exists even on freestanding compilers.
3765 # On the NeXT, cc -E runs the code through the compiler's parser,
3766 # not just through cpp. "Syntax error" is here to catch this case.
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3770 # include <limits.h>
3772 # include <assert.h>
3776 if ac_fn_c_try_cpp "$LINENO"; then :
3779 # Broken: fails on valid input.
3782 rm -f conftest.err conftest.i conftest.$ac_ext
3784 # OK, works on sane cases. Now check whether nonexistent headers
3785 # can be detected and how.
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if ac_fn_c_try_cpp "$LINENO"; then :
3791 # Broken: success on invalid input.
3794 # Passes both tests.
3798 rm -f conftest.err conftest.i conftest.$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.i conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then :
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3816 $as_echo "$CPP" >&6; }
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3829 # include <limits.h>
3831 # include <assert.h>
3835 if ac_fn_c_try_cpp "$LINENO"; then :
3838 # Broken: fails on valid input.
3841 rm -f conftest.err conftest.i conftest.$ac_ext
3843 # OK, works on sane cases. Now check whether nonexistent headers
3844 # can be detected and how.
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3847 #include <ac_nonexistent.h>
3849 if ac_fn_c_try_cpp "$LINENO"; then :
3850 # Broken: success on invalid input.
3853 # Passes both tests.
3857 rm -f conftest.err conftest.i conftest.$ac_ext
3860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3861 rm -f conftest.i conftest.err conftest.$ac_ext
3862 if $ac_preproc_ok; then :
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3868 See \`config.log' for more details" "$LINENO" 5; }
3872 ac_cpp='$CPP $CPPFLAGS'
3873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3879 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3880 if ${ac_cv_path_GREP+:} false; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -z "$GREP"; then
3884 ac_path_GREP_found=false
3885 # Loop through the user's path and test for each of PROGNAME-LIST
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3890 test -z "$as_dir" && as_dir=.
3891 for ac_prog in grep ggrep; do
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3894 as_fn_executable_p "$ac_path_GREP" || continue
3895 # Check for GNU ac_path_GREP and select it if it is found.
3896 # Check for GNU $ac_path_GREP
3897 case `"$ac_path_GREP" --version 2>&1` in
3899 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3902 $as_echo_n 0123456789 >"conftest.in"
3905 cat "conftest.in" "conftest.in" >"conftest.tmp"
3906 mv "conftest.tmp" "conftest.in"
3907 cp "conftest.in" "conftest.nl"
3908 $as_echo 'GREP' >> "conftest.nl"
3909 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3910 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3911 as_fn_arith $ac_count + 1 && ac_count=$as_val
3912 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3913 # Best one so far, save it but keep looking for a better one
3914 ac_cv_path_GREP="$ac_path_GREP"
3915 ac_path_GREP_max=$ac_count
3917 # 10*(2^10) chars as input seems more than enough
3918 test $ac_count -gt 10 && break
3920 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3923 $ac_path_GREP_found && break 3
3928 if test -z "$ac_cv_path_GREP"; then
3929 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3932 ac_cv_path_GREP=$GREP
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3937 $as_echo "$ac_cv_path_GREP" >&6; }
3938 GREP="$ac_cv_path_GREP"
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3942 $as_echo_n "checking for egrep... " >&6; }
3943 if ${ac_cv_path_EGREP+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3947 then ac_cv_path_EGREP="$GREP -E"
3949 if test -z "$EGREP"; then
3950 ac_path_EGREP_found=false
3951 # Loop through the user's path and test for each of PROGNAME-LIST
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3956 test -z "$as_dir" && as_dir=.
3957 for ac_prog in egrep; do
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3960 as_fn_executable_p "$ac_path_EGREP" || continue
3961 # Check for GNU ac_path_EGREP and select it if it is found.
3962 # Check for GNU $ac_path_EGREP
3963 case `"$ac_path_EGREP" --version 2>&1` in
3965 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3968 $as_echo_n 0123456789 >"conftest.in"
3971 cat "conftest.in" "conftest.in" >"conftest.tmp"
3972 mv "conftest.tmp" "conftest.in"
3973 cp "conftest.in" "conftest.nl"
3974 $as_echo 'EGREP' >> "conftest.nl"
3975 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3976 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3977 as_fn_arith $ac_count + 1 && ac_count=$as_val
3978 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3979 # Best one so far, save it but keep looking for a better one
3980 ac_cv_path_EGREP="$ac_path_EGREP"
3981 ac_path_EGREP_max=$ac_count
3983 # 10*(2^10) chars as input seems more than enough
3984 test $ac_count -gt 10 && break
3986 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3989 $ac_path_EGREP_found && break 3
3994 if test -z "$ac_cv_path_EGREP"; then
3995 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3998 ac_cv_path_EGREP=$EGREP
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4004 $as_echo "$ac_cv_path_EGREP" >&6; }
4005 EGREP="$ac_cv_path_EGREP"
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4009 $as_echo_n "checking for ANSI C header files... " >&6; }
4010 if ${ac_cv_header_stdc+:} false; then :
4011 $as_echo_n "(cached) " >&6
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4028 if ac_fn_c_try_compile "$LINENO"; then :
4029 ac_cv_header_stdc=yes
4031 ac_cv_header_stdc=no
4033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 if test $ac_cv_header_stdc = yes; then
4036 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043 $EGREP "memchr" >/dev/null 2>&1; then :
4046 ac_cv_header_stdc=no
4052 if test $ac_cv_header_stdc = yes; then
4053 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4060 $EGREP "free" >/dev/null 2>&1; then :
4063 ac_cv_header_stdc=no
4069 if test $ac_cv_header_stdc = yes; then
4070 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4071 if test "$cross_compiling" = yes; then :
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4078 #if ((' ' & 0x0FF) == 0x020)
4079 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4080 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4082 # define ISLOWER(c) \
4083 (('a' <= (c) && (c) <= 'i') \
4084 || ('j' <= (c) && (c) <= 'r') \
4085 || ('s' <= (c) && (c) <= 'z'))
4086 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4089 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4094 for (i = 0; i < 256; i++)
4095 if (XOR (islower (i), ISLOWER (i))
4096 || toupper (i) != TOUPPER (i))
4101 if ac_fn_c_try_run "$LINENO"; then :
4104 ac_cv_header_stdc=no
4106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4107 conftest.$ac_objext conftest.beam conftest.$ac_ext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4113 $as_echo "$ac_cv_header_stdc" >&6; }
4114 if test $ac_cv_header_stdc = yes; then
4116 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4120 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4121 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4122 inttypes.h stdint.h unistd.h
4124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4128 cat >>confdefs.h <<_ACEOF
4129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4137 ac_fn_c_check_header_mongrel "$LINENO" "libxml/xmlmemory.h" "ac_cv_header_libxml_xmlmemory_h" "$ac_includes_default"
4138 if test "x$ac_cv_header_libxml_xmlmemory_h" = xyes; then :
4143 ac_fn_c_check_header_mongrel "$LINENO" "libxslt/xslt.h" "ac_cv_header_libxslt_xslt_h" "$ac_includes_default"
4144 if test "x$ac_cv_header_libxslt_xslt_h" = xyes; then :
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lexslt" >&5
4151 $as_echo_n "checking for main in -lexslt... " >&6; }
4152 if ${ac_cv_lib_exslt_main+:} false; then :
4153 $as_echo_n "(cached) " >&6
4155 ac_check_lib_save_LIBS=$LIBS
4156 LIBS="-lexslt $LIBS"
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4169 if ac_fn_c_try_link "$LINENO"; then :
4170 ac_cv_lib_exslt_main=yes
4172 ac_cv_lib_exslt_main=no
4174 rm -f core conftest.err conftest.$ac_objext \
4175 conftest$ac_exeext conftest.$ac_ext
4176 LIBS=$ac_check_lib_save_LIBS
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_exslt_main" >&5
4179 $as_echo "$ac_cv_lib_exslt_main" >&6; }
4180 if test "x$ac_cv_lib_exslt_main" = xyes; then :
4181 cat >>confdefs.h <<_ACEOF
4182 #define HAVE_LIBEXSLT 1
4185 LIBS="-lexslt $LIBS"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
4190 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
4191 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_check_lib_save_LIBS=$LIBS
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4199 /* Override any GCC internal prototype to avoid an error.
4200 Use char because int might match the return type of a GCC
4201 builtin and then its argument prototype would still apply. */
4205 char xmlParseFile ();
4209 return xmlParseFile ();
4214 if ac_fn_c_try_link "$LINENO"; then :
4215 ac_cv_lib_xml2_xmlParseFile=yes
4217 ac_cv_lib_xml2_xmlParseFile=no
4219 rm -f core conftest.err conftest.$ac_objext \
4220 conftest$ac_exeext conftest.$ac_ext
4221 LIBS=$ac_check_lib_save_LIBS
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4224 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
4225 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
4226 cat >>confdefs.h <<_ACEOF
4227 #define HAVE_LIBXML2 1
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xsltSetXIncludeDefault in -lxslt" >&5
4235 $as_echo_n "checking for xsltSetXIncludeDefault in -lxslt... " >&6; }
4236 if ${ac_cv_lib_xslt_xsltSetXIncludeDefault+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_check_lib_save_LIBS=$LIBS
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4244 /* Override any GCC internal prototype to avoid an error.
4245 Use char because int might match the return type of a GCC
4246 builtin and then its argument prototype would still apply. */
4250 char xsltSetXIncludeDefault ();
4254 return xsltSetXIncludeDefault ();
4259 if ac_fn_c_try_link "$LINENO"; then :
4260 ac_cv_lib_xslt_xsltSetXIncludeDefault=yes
4262 ac_cv_lib_xslt_xsltSetXIncludeDefault=no
4264 rm -f core conftest.err conftest.$ac_objext \
4265 conftest$ac_exeext conftest.$ac_ext
4266 LIBS=$ac_check_lib_save_LIBS
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xslt_xsltSetXIncludeDefault" >&5
4269 $as_echo "$ac_cv_lib_xslt_xsltSetXIncludeDefault" >&6; }
4270 if test "x$ac_cv_lib_xslt_xsltSetXIncludeDefault" = xyes; then :
4271 cat >>confdefs.h <<_ACEOF
4272 #define HAVE_LIBXSLT 1
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4281 $as_echo_n "checking for ANSI C header files... " >&6; }
4282 if ${ac_cv_header_stdc+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_header_stdc=yes
4303 ac_cv_header_stdc=no
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 if test $ac_cv_header_stdc = yes; then
4308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4315 $EGREP "memchr" >/dev/null 2>&1; then :
4318 ac_cv_header_stdc=no
4324 if test $ac_cv_header_stdc = yes; then
4325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4332 $EGREP "free" >/dev/null 2>&1; then :
4335 ac_cv_header_stdc=no
4341 if test $ac_cv_header_stdc = yes; then
4342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4343 if test "$cross_compiling" = yes; then :
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4350 #if ((' ' & 0x0FF) == 0x020)
4351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4354 # define ISLOWER(c) \
4355 (('a' <= (c) && (c) <= 'i') \
4356 || ('j' <= (c) && (c) <= 'r') \
4357 || ('s' <= (c) && (c) <= 'z'))
4358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4366 for (i = 0; i < 256; i++)
4367 if (XOR (islower (i), ISLOWER (i))
4368 || toupper (i) != TOUPPER (i))
4373 if ac_fn_c_try_run "$LINENO"; then :
4376 ac_cv_header_stdc=no
4378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4379 conftest.$ac_objext conftest.beam conftest.$ac_ext
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4385 $as_echo "$ac_cv_header_stdc" >&6; }
4386 if test $ac_cv_header_stdc = yes; then
4388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4392 for ac_header in unistd.h
4394 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4395 if test "x$ac_cv_header_unistd_h" = xyes; then :
4396 cat >>confdefs.h <<_ACEOF
4397 #define HAVE_UNISTD_H 1
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4406 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4407 if ${ac_cv_c_const+:} false; then :
4408 $as_echo_n "(cached) " >&6
4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4418 /* Ultrix mips cc rejects this sort of thing. */
4419 typedef int charset[2];
4420 const charset cs = { 0, 0 };
4421 /* SunOS 4.1.1 cc rejects this. */
4422 char const *const *pcpcc;
4424 /* NEC SVR4.0.2 mips cc rejects this. */
4425 struct point {int x, y;};
4426 static struct point const zero = {0,0};
4427 /* AIX XL C 1.02.0.0 rejects this.
4428 It does not let you subtract one const X* pointer from another in
4429 an arm of an if-expression whose if-part is not a constant
4431 const char *g = "string";
4432 pcpcc = &g + (g ? g-g : 0);
4433 /* HPUX 7.0 cc rejects these. */
4435 ppc = (char**) pcpcc;
4436 pcpcc = (char const *const *) ppc;
4437 { /* SCO 3.2v4 cc rejects this sort of thing. */
4440 char const *s = 0 ? (char *) 0 : (char const *) 0;
4445 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4447 const int *foo = &x[0];
4450 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4451 typedef const int *iptr;
4455 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4456 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4457 struct s { int j; const int *ap[3]; } bx;
4458 struct s *b = &bx; b->j = 5;
4460 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4464 return !cs[0] && !zero.x;
4471 if ac_fn_c_try_compile "$LINENO"; then :
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4479 $as_echo "$ac_cv_c_const" >&6; }
4480 if test $ac_cv_c_const = no; then
4482 $as_echo "#define const /**/" >>confdefs.h
4488 ac_config_files="$ac_config_files Makefile doc/Makefile"
4491 cat >confcache <<\_ACEOF
4492 # This file is a shell script that caches the results of configure
4493 # tests run on this system so they can be shared between configure
4494 # scripts and configure runs, see configure's option --config-cache.
4495 # It is not useful on other systems. If it contains results you don't
4496 # want to keep, you may remove or edit it.
4498 # config.status only pays attention to the cache file if you give it
4499 # the --recheck option to rerun configure.
4501 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4502 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4507 # The following way of writing the cache mishandles newlines in values,
4508 # but we know of no workaround that is simple, portable, and efficient.
4509 # So, we kill variables containing newlines.
4510 # Ultrix sh set writes to stderr and can't be redirected directly,
4511 # and sets the high bit in the cache file unless we assign to the vars.
4513 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4514 eval ac_val=\$$ac_var
4518 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4522 _ | IFS | as_nl) ;; #(
4523 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4524 *) { eval $ac_var=; unset $ac_var;} ;;
4530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4531 *${as_nl}ac_space=\ *)
4532 # `set' does not quote correctly, so add quotes: double-quote
4533 # substitution turns \\\\ into \\, and sed turns \\ into \.
4536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4539 # `set' quotes correctly as required by POSIX, so do not add quotes.
4540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4553 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4554 if test -w "$cache_file"; then
4555 if test "x$cache_file" != "x/dev/null"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4557 $as_echo "$as_me: updating cache $cache_file" >&6;}
4558 if test ! -f "$cache_file" || test -h "$cache_file"; then
4559 cat confcache >"$cache_file"
4561 case $cache_file in #(
4563 mv -f confcache "$cache_file"$$ &&
4564 mv -f "$cache_file"$$ "$cache_file" ;; #(
4566 mv -f confcache "$cache_file" ;;
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4572 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4578 # Let make expand exec_prefix.
4579 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4581 # Transform confdefs.h into DEFS.
4582 # Protect against shell expansion while executing Makefile rules.
4583 # Protect against Makefile macro expansion.
4585 # If the first sed substitution is executed (which looks for macros that
4586 # take arguments), then branch to the quote section. Otherwise,
4587 # look for a macro that doesn't take arguments.
4597 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4599 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4603 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4616 DEFS=`sed -n "$ac_script" confdefs.h`
4622 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4623 # 1. Remove the extension, and $U if already installed.
4624 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4625 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4626 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4627 # will be set to the directory where LIBOBJS objects are built.
4628 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4629 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4633 LTLIBOBJS=$ac_ltlibobjs
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4637 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4638 if test -n "$am_sleep_pid"; then
4639 # Hide warnings about reused PIDs.
4640 wait $am_sleep_pid 2>/dev/null
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4643 $as_echo "done" >&6; }
4644 if test -n "$EXEEXT"; then
4646 am__EXEEXT_FALSE='#'
4652 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4653 as_fn_error $? "conditional \"AMDEP\" was never defined.
4654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4656 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4657 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4661 : "${CONFIG_STATUS=./config.status}"
4663 ac_clean_files_save=$ac_clean_files
4664 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4666 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4668 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4670 # Generated by $as_me.
4671 # Run this file to recreate the current configuration.
4672 # Compiler output produced by configure, useful for debugging
4673 # configure, is in config.log if it exists.
4679 SHELL=\${CONFIG_SHELL-$SHELL}
4682 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4683 ## -------------------- ##
4684 ## M4sh Initialization. ##
4685 ## -------------------- ##
4687 # Be more Bourne compatible
4688 DUALCASE=1; export DUALCASE # for MKS sh
4689 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4692 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4693 # is contrary to our usage. Disable this feature.
4694 alias -g '${1+"$@"}'='"$@"'
4695 setopt NO_GLOB_SUBST
4697 case `(set -o) 2>/dev/null` in #(
4709 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4710 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4711 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4712 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4713 # Prefer a ksh shell builtin over an external printf program on Solaris,
4714 # but without wasting forks for bash or zsh.
4715 if test -z "$BASH_VERSION$ZSH_VERSION" \
4716 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4717 as_echo='print -r --'
4718 as_echo_n='print -rn --'
4719 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4720 as_echo='printf %s\n'
4721 as_echo_n='printf %s'
4723 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4724 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4725 as_echo_n='/usr/ucb/echo -n'
4727 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4728 as_echo_n_body='eval
4732 expr "X$arg" : "X\\(.*\\)$as_nl";
4733 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4735 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4737 export as_echo_n_body
4738 as_echo_n='sh -c $as_echo_n_body as_echo'
4741 as_echo='sh -c $as_echo_body as_echo'
4744 # The user is always right.
4745 if test "${PATH_SEPARATOR+set}" != set; then
4747 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4748 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4755 # We need space, tab and new line, in precisely that order. Quoting is
4756 # there to prevent editors from complaining about space-tab.
4757 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4758 # splitting by setting IFS to empty value.)
4761 # Find who we are. Look in the path if we contain no directory separator.
4764 *[\\/]* ) as_myself=$0 ;;
4765 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir=.
4770 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4776 # We did not find ourselves, most probably we were run as `sh COMMAND'
4777 # in which case we are not to be found in the path.
4778 if test "x$as_myself" = x; then
4781 if test ! -f "$as_myself"; then
4782 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4786 # Unset variables that we do not need and which cause bugs (e.g. in
4787 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4788 # suppresses any "Segmentation fault" message there. '((' could
4789 # trigger a bug in pdksh 5.2.14.
4790 for as_var in BASH_ENV ENV MAIL MAILPATH
4791 do eval test x\${$as_var+set} = xset \
4792 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4805 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4808 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4809 # ----------------------------------------
4810 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4811 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4812 # script with STATUS, using 1 if that was 0.
4815 as_status=$1; test $as_status -eq 0 && as_status=1
4817 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4818 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4820 $as_echo "$as_me: error: $2" >&2
4821 as_fn_exit $as_status
4825 # as_fn_set_status STATUS
4826 # -----------------------
4827 # Set $? to STATUS, without forking.
4831 } # as_fn_set_status
4835 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4845 # Portably unset VAR.
4848 { eval $1=; unset $1;}
4850 as_unset=as_fn_unset
4851 # as_fn_append VAR VALUE
4852 # ----------------------
4853 # Append the text in VALUE to the end of the definition contained in VAR. Take
4854 # advantage of any shell optimizations that allow amortized linear growth over
4855 # repeated appends, instead of the typical quadratic growth present in naive
4857 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4858 eval 'as_fn_append ()
4869 # as_fn_arith ARG...
4870 # ------------------
4871 # Perform arithmetic evaluation on the ARGs, and store the result in the
4872 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4873 # must be portable across $(()) and expr.
4874 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4875 eval 'as_fn_arith ()
4882 as_val=`expr "$@" || test $? -eq 1`
4887 if expr a : '\(a\)' >/dev/null 2>&1 &&
4888 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4894 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4895 as_basename=basename
4900 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4906 as_me=`$as_basename -- "$0" ||
4907 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4908 X"$0" : 'X\(//\)$' \| \
4909 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4911 sed '/^.*\/\([^/][^/]*\)\/*$/{
4925 # Avoid depending upon Character Ranges.
4926 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4927 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4928 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4929 as_cr_digits='0123456789'
4930 as_cr_alnum=$as_cr_Letters$as_cr_digits
4932 ECHO_C= ECHO_N= ECHO_T=
4933 case `echo -n x` in #(((((
4935 case `echo 'xy\c'` in
4936 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4938 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4945 rm -f conf$$ conf$$.exe conf$$.file
4946 if test -d conf$$.dir; then
4947 rm -f conf$$.dir/conf$$.file
4950 mkdir conf$$.dir 2>/dev/null
4952 if (echo >conf$$.file) 2>/dev/null; then
4953 if ln -s conf$$.file conf$$ 2>/dev/null; then
4955 # ... but there are two gotchas:
4956 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4957 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4958 # In both cases, we have to default to `cp -pR'.
4959 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4961 elif ln conf$$.file conf$$ 2>/dev/null; then
4969 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4970 rmdir conf$$.dir 2>/dev/null
4975 # Create "$as_dir" as a directory, including parents if necessary.
4980 -*) as_dir=./$as_dir;;
4982 test -d "$as_dir" || eval $as_mkdir_p || {
4986 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4987 *) as_qdir=$as_dir;;
4989 as_dirs="'$as_qdir' $as_dirs"
4990 as_dir=`$as_dirname -- "$as_dir" ||
4991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4992 X"$as_dir" : 'X\(//\)[^/]' \| \
4993 X"$as_dir" : 'X\(//\)$' \| \
4994 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4995 $as_echo X"$as_dir" |
4996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5013 test -d "$as_dir" && break
5015 test -z "$as_dirs" || eval "mkdir $as_dirs"
5016 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5020 if mkdir -p . 2>/dev/null; then
5021 as_mkdir_p='mkdir -p "$as_dir"'
5023 test -d ./-p && rmdir ./-p
5028 # as_fn_executable_p FILE
5029 # -----------------------
5030 # Test if FILE is an executable regular file.
5031 as_fn_executable_p ()
5033 test -f "$1" && test -x "$1"
5034 } # as_fn_executable_p
5036 as_executable_p=as_fn_executable_p
5038 # Sed expression to map a string onto a valid CPP name.
5039 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5041 # Sed expression to map a string onto a valid variable name.
5042 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5046 ## ----------------------------------- ##
5047 ## Main body of $CONFIG_STATUS script. ##
5048 ## ----------------------------------- ##
5050 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5053 # Save the log message, to keep $0 and so on meaningful, and to
5054 # report actual input values of CONFIG_FILES etc. instead of their
5055 # values after options handling.
5057 This file was extended by xmldoc $as_me 0.8, which was
5058 generated by GNU Autoconf 2.69. Invocation command line was
5060 CONFIG_FILES = $CONFIG_FILES
5061 CONFIG_HEADERS = $CONFIG_HEADERS
5062 CONFIG_LINKS = $CONFIG_LINKS
5063 CONFIG_COMMANDS = $CONFIG_COMMANDS
5066 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5071 case $ac_config_files in *"
5072 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5078 # Files that config.status was made for.
5079 config_files="$ac_config_files"
5080 config_commands="$ac_config_commands"
5084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5086 \`$as_me' instantiates files and other configuration actions
5087 from templates according to the current configuration. Unless the files
5088 and actions are specified as TAGs, all are instantiated by default.
5090 Usage: $0 [OPTION]... [TAG]...
5092 -h, --help print this help, then exit
5093 -V, --version print version number and configuration settings, then exit
5094 --config print configuration, then exit
5095 -q, --quiet, --silent
5096 do not print progress messages
5097 -d, --debug don't remove temporary files
5098 --recheck update $as_me by reconfiguring in the same conditions
5099 --file=FILE[:TEMPLATE]
5100 instantiate the configuration file FILE
5102 Configuration files:
5105 Configuration commands:
5108 Report bugs to <arjen@andromeda.nl>."
5111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5112 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5114 xmldoc config.status 0.8
5115 configured by $0, generated by GNU Autoconf 2.69,
5116 with options \\"\$ac_cs_config\\"
5118 Copyright (C) 2012 Free Software Foundation, Inc.
5119 This config.status script is free software; the Free Software Foundation
5120 gives unlimited permission to copy, distribute and modify it."
5127 test -n "\$AWK" || AWK=awk
5130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5131 # The default lists apply if the user does not specify any file.
5137 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5138 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5154 # Handling of the options.
5155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5157 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5158 $as_echo "$ac_cs_version"; exit ;;
5159 --config | --confi | --conf | --con | --co | --c )
5160 $as_echo "$ac_cs_config"; exit ;;
5161 --debug | --debu | --deb | --de | --d | -d )
5163 --file | --fil | --fi | --f )
5166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5167 '') as_fn_error $? "missing file argument" ;;
5169 as_fn_append CONFIG_FILES " '$ac_optarg'"
5170 ac_need_defaults=false;;
5171 --he | --h | --help | --hel | -h )
5172 $as_echo "$ac_cs_usage"; exit ;;
5173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5174 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5178 -*) as_fn_error $? "unrecognized option: \`$1'
5179 Try \`$0 --help' for more information." ;;
5181 *) as_fn_append ac_config_targets " $1"
5182 ac_need_defaults=false ;;
5188 ac_configure_extra_args=
5190 if $ac_cs_silent; then
5192 ac_configure_extra_args="$ac_configure_extra_args --silent"
5196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5197 if \$ac_cs_recheck; then
5198 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5200 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5201 CONFIG_SHELL='$SHELL'
5207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5211 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5212 ## Running $as_me. ##
5218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5222 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5228 # Handling of arguments.
5229 for ac_config_target in $ac_config_targets
5231 case $ac_config_target in
5232 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5233 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5234 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5236 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5241 # If the user did not use the arguments to specify the items to instantiate,
5242 # then the envvar interface is used. Set only those that are not.
5243 # We use the long form for the default assignment because of an extremely
5244 # bizarre bug on SunOS 4.1.3.
5245 if $ac_need_defaults; then
5246 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5247 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5250 # Have a temporary directory for convenience. Make it in the build tree
5251 # simply because there is no reason against having it here, and in addition,
5252 # creating and moving files from /tmp can sometimes cause problems.
5253 # Hook for its removal unless debugging.
5254 # Note that there is a small window in which the directory will not be cleaned:
5255 # after its creation but before its name has been assigned to `$tmp'.
5259 trap 'exit_status=$?
5261 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5263 trap 'as_fn_exit 1' 1 2 13 15
5265 # Create a (secure) tmp directory for tmp files.
5268 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5272 tmp=./conf$$-$RANDOM
5273 (umask 077 && mkdir "$tmp")
5274 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5277 # Set up the scripts for CONFIG_FILES section.
5278 # No need to generate them if there are no CONFIG_FILES.
5279 # This happens for instance with `./config.status config.h'.
5280 if test -n "$CONFIG_FILES"; then
5283 ac_cr=`echo X | tr X '\015'`
5284 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5285 # But we know of no other shell where ac_cr would be empty at this
5286 # point, so we can use a bashism as a fallback.
5287 if test "x$ac_cr" = x; then
5288 eval ac_cr=\$\'\\r\'
5290 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5291 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5297 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5302 echo "cat >conf$$subs.awk <<_ACEOF" &&
5303 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5306 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5307 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5309 for ac_last_try in false false false false false :; do
5310 . ./conf$$subs.sh ||
5311 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5313 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5314 if test $ac_delim_n = $ac_delim_num; then
5316 elif $ac_last_try; then
5317 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5319 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5325 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5329 s/^/S["/; s/!.*/"]=/
5339 s/\(.\{148\}\)..*/\1/
5341 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5346 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5353 s/\(.\{148\}\)..*/\1/
5355 s/["\\]/\\&/g; s/^/"/; s/$/"/
5359 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5364 ' <conf$$subs.awk | sed '
5369 ' >>$CONFIG_STATUS || ac_write_fail=1
5370 rm -f conf$$subs.awk
5371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5373 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5374 for (key in S) S_is_set[key] = 1
5380 nfields = split(line, field, "@")
5382 len = length(field[1])
5383 for (i = 2; i < nfields; i++) {
5385 keylen = length(key)
5386 if (S_is_set[key]) {
5388 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5389 len += length(value) + length(field[++i])
5400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5401 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5402 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5405 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5406 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5409 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5410 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5411 # trailing colons and then remove the whole line if VPATH becomes empty
5412 # (actually we leave an empty line to preserve line numbers).
5413 if test "x$srcdir" = x.; then
5414 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5433 fi # test -n "$CONFIG_FILES"
5436 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5441 :[FHLC]) ac_mode=$ac_tag; continue;;
5443 case $ac_mode$ac_tag in
5445 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5446 :[FH]-) ac_tag=-:-;;
5447 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5464 -) ac_f="$ac_tmp/stdin";;
5465 *) # Look for the file first in the build tree, then in the source tree
5466 # (if the path is not absolute). The absolute path cannot be DOS-style,
5467 # because $ac_f cannot contain `:'.
5471 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5473 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5475 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5476 as_fn_append ac_file_inputs " '$ac_f'"
5479 # Let's still pretend it is `configure' which instantiates (i.e., don't
5480 # use $as_me), people would be surprised to read:
5481 # /* config.h. Generated by config.status. */
5482 configure_input='Generated from '`
5483 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5485 if test x"$ac_file" != x-; then
5486 configure_input="$ac_file. $configure_input"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5488 $as_echo "$as_me: creating $ac_file" >&6;}
5490 # Neutralize special characters interpreted by sed in replacement strings.
5491 case $configure_input in #(
5492 *\&* | *\|* | *\\* )
5493 ac_sed_conf_input=`$as_echo "$configure_input" |
5494 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5495 *) ac_sed_conf_input=$configure_input;;
5499 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5505 ac_dir=`$as_dirname -- "$ac_file" ||
5506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5507 X"$ac_file" : 'X\(//\)[^/]' \| \
5508 X"$ac_file" : 'X\(//\)$' \| \
5509 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5510 $as_echo X"$ac_file" |
5511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5528 as_dir="$ac_dir"; as_fn_mkdir_p
5532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5535 # A ".." for each directory in $ac_dir_suffix.
5536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5537 case $ac_top_builddir_sub in
5538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5542 ac_abs_top_builddir=$ac_pwd
5543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5544 # for backward compatibility:
5545 ac_top_builddir=$ac_top_build_prefix
5548 .) # We are building in place.
5550 ac_top_srcdir=$ac_top_builddir_sub
5551 ac_abs_top_srcdir=$ac_pwd ;;
5552 [\\/]* | ?:[\\/]* ) # Absolute name.
5553 ac_srcdir=$srcdir$ac_dir_suffix;
5554 ac_top_srcdir=$srcdir
5555 ac_abs_top_srcdir=$srcdir ;;
5557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5558 ac_top_srcdir=$ac_top_build_prefix$srcdir
5559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5571 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5572 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5576 [\\/$]* | ?:[\\/]* ) ;;
5577 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5582 # If the template does not know about datarootdir, expand it.
5583 # FIXME: This hack should be removed a few years after 2.60.
5584 ac_datarootdir_hack=; ac_datarootdir_seen=
5595 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5596 *datarootdir*) ac_datarootdir_seen=yes;;
5597 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5599 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5602 ac_datarootdir_hack='
5603 s&@datadir@&$datadir&g
5604 s&@docdir@&$docdir&g
5605 s&@infodir@&$infodir&g
5606 s&@localedir@&$localedir&g
5607 s&@mandir@&$mandir&g
5608 s&\\\${datarootdir}&$datarootdir&g' ;;
5612 # Neutralize VPATH when `$srcdir' = `.'.
5613 # Shell code in configure.ac might set extrasub.
5614 # FIXME: do we really want to maintain this feature?
5615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5616 ac_sed_extra="$ac_vpsub
5619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5621 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5622 s|@configure_input@|$ac_sed_conf_input|;t t
5623 s&@top_builddir@&$ac_top_builddir_sub&;t t
5624 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5625 s&@srcdir@&$ac_srcdir&;t t
5626 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5627 s&@top_srcdir@&$ac_top_srcdir&;t t
5628 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5629 s&@builddir@&$ac_builddir&;t t
5630 s&@abs_builddir@&$ac_abs_builddir&;t t
5631 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5632 s&@INSTALL@&$ac_INSTALL&;t t
5633 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5634 $ac_datarootdir_hack
5636 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5637 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5639 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5640 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5641 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5642 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5644 which seems to be undefined. Please make sure it is defined" >&5
5645 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5646 which seems to be undefined. Please make sure it is defined" >&2;}
5648 rm -f "$ac_tmp/stdin"
5650 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5651 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5657 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5658 $as_echo "$as_me: executing $ac_file commands" >&6;}
5663 case $ac_file$ac_mode in
5664 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5665 # Older Autoconf quotes --file arguments for eval, but not when files
5666 # are listed without --file. Let's play safe and only enable the eval
5667 # if we detect the quoting.
5668 case $CONFIG_FILES in
5669 *\'*) eval set x "$CONFIG_FILES" ;;
5670 *) set x $CONFIG_FILES ;;
5675 # Strip MF so we end up with the name of the file.
5676 mf=`echo "$mf" | sed -e 's/:.*$//'`
5677 # Check whether this is an Automake generated Makefile or not.
5678 # We used to match only the files named 'Makefile.in', but
5679 # some people rename them; so instead we look at the file content.
5680 # Grep'ing the first line is not enough: some people post-process
5681 # each Makefile.in and add a new line on top of each file to say so.
5682 # Grep'ing the whole file is not good either: AIX grep has a line
5683 # limit of 2048, but all sed's we know have understand at least 4000.
5684 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5685 dirpart=`$as_dirname -- "$mf" ||
5686 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5687 X"$mf" : 'X\(//\)[^/]' \| \
5688 X"$mf" : 'X\(//\)$' \| \
5689 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5711 # Extract the definition of DEPDIR, am__include, and am__quote
5712 # from the Makefile without running 'make'.
5713 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5714 test -z "$DEPDIR" && continue
5715 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5716 test -z "$am__include" && continue
5717 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5718 # Find all dependency output files, they are included files with
5719 # $(DEPDIR) in their names. We invoke sed twice because it is the
5720 # simplest approach to changing $(DEPDIR) to its actual value in the
5722 for file in `sed -n "
5723 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5724 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5725 # Make sure the directory exists.
5726 test -f "$dirpart/$file" && continue
5727 fdir=`$as_dirname -- "$file" ||
5728 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5729 X"$file" : 'X\(//\)[^/]' \| \
5730 X"$file" : 'X\(//\)$' \| \
5731 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5750 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5751 # echo "creating $dirpart/$file"
5752 echo '# dummy' > "$dirpart/$file"
5764 ac_clean_files=$ac_clean_files_save
5766 test $ac_write_fail = 0 ||
5767 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5770 # configure is writing to config.log, and then calls config.status.
5771 # config.status does its own redirection, appending to config.log.
5772 # Unfortunately, on DOS this fails, as config.log is still kept open
5773 # by configure, so config.status won't be able to write to it; its
5774 # output is simply discarded. So we exec the FD to /dev/null,
5775 # effectively closing config.log, so it can be properly (re)opened and
5776 # appended to by config.status. When coming back to configure, we
5777 # need to make the FD available again.
5778 if test "$no_create" != yes; then
5780 ac_config_status_args=
5781 test "$silent" = yes &&
5782 ac_config_status_args="$ac_config_status_args --quiet"
5784 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5786 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5787 # would make configure fail if this is the last instruction.
5788 $ac_cs_success || as_fn_exit 1
5790 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5792 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}