2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Calendar 0.02.
5 # Report bugs to <bugs@xestia.co.uk>.
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 bugs@xestia.co.uk
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='Xestia Calendar'
582 PACKAGE_TARNAME='xestia-calendar'
583 PACKAGE_VERSION='0.02'
584 PACKAGE_STRING='Xestia Calendar 0.02'
585 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
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='LTLIBOBJS
630 FOUND_XML2CONFIG_RES_FALSE
631 FOUND_XML2CONFIG_RES_TRUE
633 FOUND_UUIDGEN_RES_FALSE
634 FOUND_UUIDGEN_RES_TRUE
636 FOUND_CURLCONFIG_RES_FALSE
637 FOUND_CURLCONFIG_RES_TRUE
696 program_transform_name
709 enable_option_checking
716 ac_precious_vars='build_alias
731 # Initialize some variables set by options.
733 ac_init_version=false
734 ac_unrecognized_opts=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name=s,x,x,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
820 cache_file=config.cache ;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=no ;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
874 eval enable_$ac_useropt=\$ac_optarg ;;
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
889 -help | --help | --hel | --he | -h)
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 htmldir=$ac_optarg ;;
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
919 -libdir | --libdir | --libdi | --libd)
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
931 -localedir | --localedir | --localedi | --localed | --locale)
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 # Obsolete; use --without-fp.
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1010 -psdir | --psdir | --psdi | --psd | --ps)
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 sbindir=$ac_optarg ;;
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 sharedstatedir=$ac_optarg ;;
1036 -site | --site | --sit)
1038 -site=* | --site=* | --sit=*)
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval with_$ac_useropt=\$ac_optarg ;;
1080 -without-* | --without-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=no ;;
1097 # Obsolete; use --with-x.
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1101 | --x-incl | --x-inc | --x-in | --x-i)
1102 ac_prev=x_includes ;;
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1105 x_includes=$ac_optarg ;;
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1109 ac_prev=x_libraries ;;
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1115 Try \`$0 --help' for more information"
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 case $ac_envvar in #(
1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125 eval $ac_envvar=\$ac_optarg
1126 export $ac_envvar ;;
1129 # FIXME: should be removed in autoconf 3.0.
1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1133 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1139 if test -n "$ac_prev"; then
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1141 as_fn_error $? "missing argument to $ac_option"
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 # Check all directory arguments for consistency.
1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir
1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes.
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1163 eval $ac_var=\$ac_val;;
1165 # Be sure to have absolute directory names.
1167 [\\/$]* | ?:[\\/]* ) continue;;
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173 # There might be people who depend on the old broken behavior: `$host'
1174 # used to hold the argument of --host etc.
1175 # FIXME: To remove some day.
1178 target=$target_alias
1180 # FIXME: To remove some day.
1181 if test "x$host_alias" != x; then
1182 if test "x$build_alias" = x; then
1183 cross_compiling=maybe
1184 elif test "x$build_alias" != "x$host_alias"; then
1190 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192 test "$silent" = yes && exec 6>/dev/null
1195 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196 ac_ls_di=`ls -di .` &&
1197 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198 as_fn_error $? "working directory cannot be determined"
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 as_fn_error $? "pwd does not report name of working directory"
1203 # Find the source files, if location was not specified.
1204 if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes
1206 # Try the directory containing this script, then the parent directory.
1207 ac_confdir=`$as_dirname -- "$as_myself" ||
1208 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209 X"$as_myself" : 'X\(//\)[^/]' \| \
1210 X"$as_myself" : 'X\(//\)$' \| \
1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1212 $as_echo X"$as_myself" |
1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1235 ac_srcdir_defaulted=no
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1239 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var in $ac_precious_vars; do
1256 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_${ac_var}_value=\$${ac_var}
1258 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures Xestia Calendar 0.02 to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking ...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/xestia-calendar]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1328 if test -n "$ac_init_help"; then
1329 case $ac_init_help in
1330 short | recursive ) echo "Configuration of Xestia Calendar 0.02:";;
1335 --disable-option-checking ignore unrecognized --enable/--with options
1336 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1337 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1338 --enable-debug Enable debugging features for the build.
1341 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1342 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1343 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1344 --with-wx-config=CONFIG wx-config script to use (optional)
1345 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1346 --with-wx-exec-prefix=PREFIX
1347 Exec prefix where wxWidgets is installed (optional)
1349 Some influential environment variables:
1350 CXX C++ compiler command
1351 CXXFLAGS C++ compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1357 CC C compiler command
1358 CFLAGS C compiler flags
1360 CXXCPP C++ preprocessor
1362 Use these variables to override the choices made by `configure' or to help
1363 it to find libraries and programs with nonstandard names/locations.
1365 Report bugs to <bugs@xestia.co.uk>.
1370 if test "$ac_init_help" = "recursive"; then
1371 # If there are subdirs, report their specific --help.
1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373 test -d "$ac_dir" ||
1374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1382 # A ".." for each directory in $ac_dir_suffix.
1383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1384 case $ac_top_builddir_sub in
1385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389 ac_abs_top_builddir=$ac_pwd
1390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1391 # for backward compatibility:
1392 ac_top_builddir=$ac_top_build_prefix
1395 .) # We are building in place.
1397 ac_top_srcdir=$ac_top_builddir_sub
1398 ac_abs_top_srcdir=$ac_pwd ;;
1399 [\\/]* | ?:[\\/]* ) # Absolute name.
1400 ac_srcdir=$srcdir$ac_dir_suffix;
1401 ac_top_srcdir=$srcdir
1402 ac_abs_top_srcdir=$srcdir ;;
1404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1405 ac_top_srcdir=$ac_top_build_prefix$srcdir
1406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1410 cd "$ac_dir" || { ac_status=$?; continue; }
1411 # Check for guested configure.
1412 if test -f "$ac_srcdir/configure.gnu"; then
1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415 elif test -f "$ac_srcdir/configure"; then
1417 $SHELL "$ac_srcdir/configure" --help=recursive
1419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1421 cd "$ac_pwd" || { ac_status=$?; break; }
1425 test -n "$ac_init_help" && exit $ac_status
1426 if $ac_init_version; then
1428 Xestia Calendar configure 0.02
1429 generated by GNU Autoconf 2.69
1431 Copyright (C) 2012 Free Software Foundation, Inc.
1432 This configure script is free software; the Free Software Foundation
1433 gives unlimited permission to copy, distribute and modify it.
1438 ## ------------------------ ##
1439 ## Autoconf initialization. ##
1440 ## ------------------------ ##
1442 # ac_fn_cxx_try_compile LINENO
1443 # ----------------------------
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1445 ac_fn_cxx_try_compile ()
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448 rm -f conftest.$ac_objext
1449 if { { ac_try="$ac_compile"
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_compile") 2>conftest.err
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && {
1465 test -z "$ac_cxx_werror_flag" ||
1466 test ! -s conftest.err
1467 } && test -s conftest.$ac_objext; then :
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476 as_fn_set_status $ac_retval
1478 } # ac_fn_cxx_try_compile
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.$ac_objext; then :
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514 as_fn_set_status $ac_retval
1516 } # ac_fn_c_try_compile
1518 # ac_fn_c_try_cpp LINENO
1519 # ----------------------
1520 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 if { { ac_try="$ac_cpp conftest.$ac_ext"
1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } > conftest.i && {
1540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1555 # ac_fn_cxx_try_cpp LINENO
1556 # ------------------------
1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_cxx_try_cpp ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_cpp conftest.$ac_ext"
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } > conftest.i && {
1577 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1578 test ! -s conftest.err
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status $ac_retval
1590 } # ac_fn_cxx_try_cpp
1592 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1593 # ---------------------------------------------------------
1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1595 # the include files in INCLUDES and setting the cache variable VAR
1597 ac_fn_cxx_check_header_mongrel ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if eval \${$3+:} false; then :
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1610 # Is the header compilable?
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1612 $as_echo_n "checking $2 usability... " >&6; }
1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1618 if ac_fn_cxx_try_compile "$LINENO"; then :
1619 ac_header_compiler=yes
1621 ac_header_compiler=no
1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1625 $as_echo "$ac_header_compiler" >&6; }
1627 # Is the header present?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1629 $as_echo_n "checking $2 presence... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1634 if ac_fn_cxx_try_cpp "$LINENO"; then :
1635 ac_header_preproc=yes
1637 ac_header_preproc=no
1639 rm -f conftest.err conftest.i conftest.$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1641 $as_echo "$ac_header_preproc" >&6; }
1643 # So? What about this header?
1644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1655 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1659 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 ( $as_echo "## -------------------------------- ##
1663 ## Report this to bugs@xestia.co.uk ##
1664 ## -------------------------------- ##"
1665 ) | sed "s/^/$as_me: WARNING: /" >&2
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \${$3+:} false; then :
1671 $as_echo_n "(cached) " >&6
1673 eval "$3=\$ac_header_compiler"
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 $as_echo "$ac_res" >&6; }
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_cxx_check_header_mongrel
1683 # ac_fn_cxx_try_run LINENO
1684 # ------------------------
1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1686 # that executables *can* be run.
1687 ac_fn_cxx_try_run ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 if { { ac_try="$ac_link"
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_link") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1701 { { case "(($ac_try" in
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_try") 2>&5
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; }; }; then :
1713 $as_echo "$as_me: program exited with status $ac_status" >&5
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1717 ac_retval=$ac_status
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_cxx_try_run
1725 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1726 # ---------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_cxx_check_header_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1742 if ac_fn_cxx_try_compile "$LINENO"; then :
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_cxx_check_header_compile
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 rm -f conftest.$ac_objext conftest$ac_exeext
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest$ac_exeext && {
1782 test "$cross_compiling" = yes ||
1783 test -x conftest$ac_exeext
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794 # interfere with the next link command; also delete a directory that is
1795 # left behind by Apple's compiler. We do this before executing the actions.
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status $ac_retval
1800 } # ac_fn_c_try_link
1802 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1805 # the include files in INCLUDES and setting the cache variable VAR
1807 ac_fn_c_check_header_mongrel ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if eval \${$3+:} false; then :
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1820 # Is the header compilable?
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1822 $as_echo_n "checking $2 usability... " >&6; }
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1828 if ac_fn_c_try_compile "$LINENO"; then :
1829 ac_header_compiler=yes
1831 ac_header_compiler=no
1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1835 $as_echo "$ac_header_compiler" >&6; }
1837 # Is the header present?
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1839 $as_echo_n "checking $2 presence... " >&6; }
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1844 if ac_fn_c_try_cpp "$LINENO"; then :
1845 ac_header_preproc=yes
1847 ac_header_preproc=no
1849 rm -f conftest.err conftest.i conftest.$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1851 $as_echo "$ac_header_preproc" >&6; }
1853 # So? What about this header?
1854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1857 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1863 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1865 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1867 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1869 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1871 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1872 ( $as_echo "## -------------------------------- ##
1873 ## Report this to bugs@xestia.co.uk ##
1874 ## -------------------------------- ##"
1875 ) | sed "s/^/$as_me: WARNING: /" >&2
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881 $as_echo_n "(cached) " >&6
1883 eval "$3=\$ac_header_compiler"
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 } # ac_fn_c_check_header_mongrel
1893 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1894 # -------------------------------------------
1895 # Tests whether TYPE exists after having included INCLUDES, setting cache
1896 # variable VAR accordingly.
1897 ac_fn_c_check_type ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \${$3+:} false; then :
1903 $as_echo_n "(cached) " >&6
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1931 if ac_fn_c_try_compile "$LINENO"; then :
1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 } # ac_fn_c_check_type
1946 cat >config.log <<_ACEOF
1947 This file contains any messages produced by compilers while
1948 running configure, to aid debugging if configure makes a mistake.
1950 It was created by Xestia Calendar $as_me 0.02, which was
1951 generated by GNU Autoconf 2.69. Invocation command line was
1963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1975 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 $as_echo "PATH: $as_dir"
2003 # Keep a trace of the command line.
2004 # Strip out --no-create and --no-recursion so they do not pile up.
2005 # Strip out --silent because we don't want to record it for future runs.
2006 # Also quote any args containing shell meta-characters.
2007 # Make two passes to allow for proper duplicate-argument suppression.
2011 ac_must_keep_next=false
2017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019 | -silent | --silent | --silen | --sile | --sil)
2022 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027 as_fn_append ac_configure_args1 " '$ac_arg'"
2028 if test $ac_must_keep_next = true; then
2029 ac_must_keep_next=false # Got value, back to normal.
2032 *=* | --config-cache | -C | -disable-* | --disable-* \
2033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2035 | -with-* | --with-* | -without-* | --without-* | --x)
2036 case "$ac_configure_args0 " in
2037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2040 -* ) ac_must_keep_next=true ;;
2043 as_fn_append ac_configure_args " '$ac_arg'"
2048 { ac_configure_args0=; unset ac_configure_args0;}
2049 { ac_configure_args1=; unset ac_configure_args1;}
2051 # When interrupted or exit'd, cleanup temporary files, and complete
2052 # config.log. We remove comments because anyway the quotes in there
2053 # would cause problems or look ugly.
2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2056 trap 'exit_status=$?
2057 # Save into config.log some information that might help in debugging.
2061 $as_echo "## ---------------- ##
2062 ## Cache variables. ##
2063 ## ---------------- ##"
2065 # The following way of writing the cache mishandles newlines in values,
2067 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2068 eval ac_val=\$$ac_var
2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2076 _ | IFS | as_nl) ;; #(
2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2078 *) { eval $ac_var=; unset $ac_var;} ;;
2083 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2084 *${as_nl}ac_space=\ *)
2086 "s/'\''/'\''\\\\'\'''\''/g;
2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 $as_echo "## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##"
2101 for ac_var in $ac_subst_vars
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -n "$ac_subst_files"; then
2112 $as_echo "## ------------------- ##
2113 ## File substitutions. ##
2114 ## ------------------- ##"
2116 for ac_var in $ac_subst_files
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2127 if test -s confdefs.h; then
2128 $as_echo "## ----------- ##
2135 test "$ac_signal" != 0 &&
2136 $as_echo "$as_me: caught signal $ac_signal"
2137 $as_echo "$as_me: exit $exit_status"
2139 rm -f core *.core core.conftest.* &&
2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 for ac_signal in 1 2 13 15; do
2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2151 $as_echo "/* confdefs.h */" > confdefs.h
2153 # Predefined preprocessor variables.
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2184 if test -n "$CONFIG_SITE"; then
2185 # We do not want a PATH search for config.site.
2186 case $CONFIG_SITE in #((
2187 -*) ac_site_file1=./$CONFIG_SITE;;
2188 */*) ac_site_file1=$CONFIG_SITE;;
2189 *) ac_site_file1=./$CONFIG_SITE;;
2191 elif test "x$prefix" != xNONE; then
2192 ac_site_file1=$prefix/share/config.site
2193 ac_site_file2=$prefix/etc/config.site
2195 ac_site_file1=$ac_default_prefix/share/config.site
2196 ac_site_file2=$ac_default_prefix/etc/config.site
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200 test "x$ac_site_file" = xNONE && continue
2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204 sed 's/^/| /' "$ac_site_file" >&5
2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 as_fn_error $? "failed to load site script $ac_site_file
2209 See \`config.log' for more details" "$LINENO" 5; }
2213 if test -r "$cache_file"; then
2214 # Some versions of bash will fail to source /dev/null (special files
2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2216 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221 *) . "./$cache_file";;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230 # Check that the precious variables saved in the cache have kept the same
2232 ac_cache_corrupted=false
2233 for ac_var in $ac_precious_vars; do
2234 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2235 eval ac_new_set=\$ac_env_${ac_var}_set
2236 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2237 eval ac_new_val=\$ac_env_${ac_var}_value
2238 case $ac_old_set,$ac_new_set in
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2241 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2242 ac_cache_corrupted=: ;;
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2249 if test "x$ac_old_val" != "x$ac_new_val"; then
2250 # differences in whitespace do not lead to failure.
2251 ac_old_val_w=`echo x $ac_old_val`
2252 ac_new_val_w=`echo x $ac_new_val`
2253 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2256 ac_cache_corrupted=:
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2260 eval $ac_var=\$ac_old_val
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2263 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2265 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2268 # Pass precious variables to config.status.
2269 if test "$ac_new_set" = set; then
2271 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2272 *) ac_arg=$ac_var=$ac_new_val ;;
2274 case " $ac_configure_args " in
2275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2276 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2280 if $ac_cache_corrupted; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2285 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2287 ## -------------------- ##
2288 ## Main body of script. ##
2289 ## -------------------- ##
2292 ac_cpp='$CPP $CPPFLAGS'
2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298 #AC_CONFIG_SRCDIR([version.h])
2299 #AC_CONFIG_HEADERS([config.h])
2302 $as_echo "#define DEBUG 1" >>confdefs.h
2305 # Checks for programs.
2307 ac_cpp='$CXXCPP $CPPFLAGS'
2308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2311 if test -z "$CXX"; then
2312 if test -n "$CCC"; then
2315 if test -n "$ac_tool_prefix"; then
2316 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if ${ac_cv_prog_CXX+:} false; then :
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$CXX"; then
2326 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$CXX"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2348 $as_echo "$CXX" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2355 test -n "$CXX" && break
2358 if test -z "$CXX"; then
2360 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2362 # Extract the first word of "$ac_prog", so it can be a program name with args.
2363 set dummy $ac_prog; ac_word=$2
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2367 $as_echo_n "(cached) " >&6
2369 if test -n "$ac_ct_CXX"; then
2370 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2379 ac_cv_prog_ac_ct_CXX="$ac_prog"
2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2390 if test -n "$ac_ct_CXX"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2392 $as_echo "$ac_ct_CXX" >&6; }
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395 $as_echo "no" >&6; }
2399 test -n "$ac_ct_CXX" && break
2402 if test "x$ac_ct_CXX" = x; then
2405 case $cross_compiling:$ac_tool_warned in
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2409 ac_tool_warned=yes ;;
2417 # Provide some information about the compiler.
2418 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2421 for ac_option in --version -v -V -qversion; do
2422 { { ac_try="$ac_compiler $ac_option >&5"
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428 $as_echo "$ac_try_echo"; } >&5
2429 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2431 if test -s conftest.err; then
2433 ... rest of stderr output deleted ...
2434 10q' conftest.err >conftest.er1
2435 cat conftest.er1 >&5
2437 rm -f conftest.er1 conftest.err
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; }
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2453 ac_clean_files_save=$ac_clean_files
2454 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2455 # Try to create an executable without -o first, disregard a.out.
2456 # It will help us diagnose broken compilers, and finding out an intuition
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2459 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2460 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2462 # The possible output files:
2463 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2466 for ac_file in $ac_files
2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2470 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2475 if { { ac_try="$ac_link_default"
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_link_default") 2>&5
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; }; then :
2486 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2487 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2488 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2489 # so that the user can short-circuit this test for compilers unknown to
2491 for ac_file in $ac_files ''
2493 test -f "$ac_file" || continue
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2498 # We found the default executable, but exeext='' is most
2502 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2504 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2506 # We set ac_cv_exeext here because the later test for it is not
2507 # safe: cross compilers may not add the suffix if given an `-o'
2508 # argument, so we may need to know it at that point already.
2509 # Even if this section looks crufty: it has the advantage of
2516 test "$ac_cv_exeext" = no && ac_cv_exeext=
2521 if test -z "$ac_file"; then :
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523 $as_echo "no" >&6; }
2524 $as_echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 as_fn_error 77 "C++ compiler cannot create executables
2530 See \`config.log' for more details" "$LINENO" 5; }
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2533 $as_echo "yes" >&6; }
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2536 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2538 $as_echo "$ac_file" >&6; }
2539 ac_exeext=$ac_cv_exeext
2541 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2542 ac_clean_files=$ac_clean_files_save
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2544 $as_echo_n "checking for suffix of executables... " >&6; }
2545 if { { ac_try="$ac_link"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_link") 2>&5
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; }; then :
2556 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2557 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2558 # work properly (i.e., refer to `conftest.exe'), while it won't with
2560 for ac_file in conftest.exe conftest conftest.*; do
2561 test -f "$ac_file" || continue
2563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2564 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2573 See \`config.log' for more details" "$LINENO" 5; }
2575 rm -f conftest conftest$ac_cv_exeext
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2577 $as_echo "$ac_cv_exeext" >&6; }
2579 rm -f conftest.$ac_ext
2580 EXEEXT=$ac_cv_exeext
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2588 FILE *f = fopen ("conftest.out", "w");
2589 return ferror (f) || fclose (f) != 0;
2595 ac_clean_files="$ac_clean_files conftest.out"
2596 # Check that the compiler produces executables we can run. If not, either
2597 # the compiler is broken, or we cross compile.
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2599 $as_echo_n "checking whether we are cross compiling... " >&6; }
2600 if test "$cross_compiling" != yes; then
2601 { { ac_try="$ac_link"
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607 $as_echo "$ac_try_echo"; } >&5
2608 (eval "$ac_link") 2>&5
2610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2611 test $ac_status = 0; }
2612 if { ac_try='./conftest$ac_cv_exeext'
2613 { { case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_try") 2>&5
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; }; }; then
2625 if test "$cross_compiling" = maybe; then
2628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 as_fn_error $? "cannot run C++ compiled programs.
2631 If you meant to cross compile, use \`--host'.
2632 See \`config.log' for more details" "$LINENO" 5; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2637 $as_echo "$cross_compiling" >&6; }
2639 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2640 ac_clean_files=$ac_clean_files_save
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2642 $as_echo_n "checking for suffix of object files... " >&6; }
2643 if ${ac_cv_objext+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2657 rm -f conftest.o conftest.obj
2658 if { { ac_try="$ac_compile"
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_compile") 2>&5
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; }; then :
2669 for ac_file in conftest.o conftest.obj conftest.*; do
2670 test -f "$ac_file" || continue;
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2673 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683 as_fn_error $? "cannot compute suffix of object files: cannot compile
2684 See \`config.log' for more details" "$LINENO" 5; }
2686 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2689 $as_echo "$ac_cv_objext" >&6; }
2690 OBJEXT=$ac_cv_objext
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2693 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2694 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2695 $as_echo_n "(cached) " >&6
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2711 if ac_fn_cxx_try_compile "$LINENO"; then :
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2721 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2722 if test $ac_compiler_gnu = yes; then
2727 ac_test_CXXFLAGS=${CXXFLAGS+set}
2728 ac_save_CXXFLAGS=$CXXFLAGS
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2730 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2731 if ${ac_cv_prog_cxx_g+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2735 ac_cxx_werror_flag=yes
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2749 if ac_fn_cxx_try_compile "$LINENO"; then :
2750 ac_cv_prog_cxx_g=yes
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2764 if ac_fn_cxx_try_compile "$LINENO"; then :
2767 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2780 if ac_fn_cxx_try_compile "$LINENO"; then :
2781 ac_cv_prog_cxx_g=yes
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2791 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2792 if test "$ac_test_CXXFLAGS" = set; then
2793 CXXFLAGS=$ac_save_CXXFLAGS
2794 elif test $ac_cv_prog_cxx_g = yes; then
2795 if test "$GXX" = yes; then
2801 if test "$GXX" = yes; then
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2814 ac_cpp='$CPP $CPPFLAGS'
2815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 if test -n "$ac_tool_prefix"; then
2819 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2820 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_CC+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC="$CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2857 if test -z "$ac_cv_prog_CC"; then
2859 # Extract the first word of "gcc", so it can be a program name with args.
2860 set dummy gcc; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$ac_ct_CC"; then
2867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir=.
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2876 ac_cv_prog_ac_ct_CC="gcc"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2887 if test -n "$ac_ct_CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2889 $as_echo "$ac_ct_CC" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2895 if test "x$ac_ct_CC" = x; then
2898 case $cross_compiling:$ac_tool_warned in
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2902 ac_tool_warned=yes ;;
2910 if test -z "$CC"; then
2911 if test -n "$ac_tool_prefix"; then
2912 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2913 set dummy ${ac_tool_prefix}cc; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_CC+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$CC"; then
2920 ac_cv_prog_CC="$CC" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_CC="${ac_tool_prefix}cc"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 if test -n "$CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2951 if test -z "$CC"; then
2952 # Extract the first word of "cc", so it can be a program name with args.
2953 set dummy cc; ac_word=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if ${ac_cv_prog_CC+:} false; then :
2957 $as_echo_n "(cached) " >&6
2959 if test -n "$CC"; then
2960 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2971 ac_prog_rejected=yes
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test $ac_prog_rejected = yes; then
2983 # We found a bogon in the path, so make sure we never use it.
2984 set dummy $ac_cv_prog_CC
2986 if test $# != 0; then
2987 # We chose a different compiler from the bogus one.
2988 # However, it has the same basename, so the bogon will be chosen
2989 # first if we set CC to just the basename; use the full file name.
2991 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2997 if test -n "$CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2999 $as_echo "$CC" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3007 if test -z "$CC"; then
3008 if test -n "$ac_tool_prefix"; then
3009 for ac_prog in cl.exe
3011 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$CC"; then
3019 ac_cv_prog_CC="$CC" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 if test -n "$CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041 $as_echo "$CC" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3048 test -n "$CC" && break
3051 if test -z "$CC"; then
3053 for ac_prog in cl.exe
3055 # Extract the first word of "$ac_prog", so it can be a program name with args.
3056 set dummy $ac_prog; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$ac_ct_CC"; then
3063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_ac_ct_CC="$ac_prog"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3083 if test -n "$ac_ct_CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3085 $as_echo "$ac_ct_CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3092 test -n "$ac_ct_CC" && break
3095 if test "x$ac_ct_CC" = x; then
3098 case $cross_compiling:$ac_tool_warned in
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3102 ac_tool_warned=yes ;;
3111 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113 as_fn_error $? "no acceptable C compiler found in \$PATH
3114 See \`config.log' for more details" "$LINENO" 5; }
3116 # Provide some information about the compiler.
3117 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3120 for ac_option in --version -v -V -qversion; do
3121 { { ac_try="$ac_compiler $ac_option >&5"
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3130 if test -s conftest.err; then
3132 ... rest of stderr output deleted ...
3133 10q' conftest.err >conftest.er1
3134 cat conftest.er1 >&5
3136 rm -f conftest.er1 conftest.err
3137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3138 test $ac_status = 0; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3142 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3143 if ${ac_cv_c_compiler_gnu+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3160 if ac_fn_c_try_compile "$LINENO"; then :
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3170 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3171 if test $ac_compiler_gnu = yes; then
3176 ac_test_CFLAGS=${CFLAGS+set}
3177 ac_save_CFLAGS=$CFLAGS
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3179 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3180 if ${ac_cv_prog_cc_g+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 ac_save_c_werror_flag=$ac_c_werror_flag
3184 ac_c_werror_flag=yes
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_c_werror_flag=$ac_save_c_werror_flag
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 if ac_fn_c_try_compile "$LINENO"; then :
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_c_werror_flag=$ac_save_c_werror_flag
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3240 $as_echo "$ac_cv_prog_cc_g" >&6; }
3241 if test "$ac_test_CFLAGS" = set; then
3242 CFLAGS=$ac_save_CFLAGS
3243 elif test $ac_cv_prog_cc_g = yes; then
3244 if test "$GCC" = yes; then
3250 if test "$GCC" = yes; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3257 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3258 if ${ac_cv_prog_cc_c89+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 ac_cv_prog_cc_c89=no
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3269 struct buf { int x; };
3270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3271 static char *e (p, i)
3277 static char *f (char * (*g) (char **, int), char **p, ...)
3282 s = g (p, va_arg (v,int));
3287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3288 function prototypes and stuff, but not '\xHH' hex character constants.
3289 These don't provoke an error unfortunately, instead are silently treated
3290 as 'x'. The following induces an error, until -std is added to get
3291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3292 array size at least. It's necessary to write '\x00'==0 to get something
3293 that's true only with -std. */
3294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3297 inside strings and character constants. */
3299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3301 int test (int i, double x);
3302 struct s1 {int (*f) (int a);};
3303 struct s2 {int (*f) (double a);};
3304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3318 CC="$ac_save_CC $ac_arg"
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320 ac_cv_prog_cc_c89=$ac_arg
3322 rm -f core conftest.err conftest.$ac_objext
3323 test "x$ac_cv_prog_cc_c89" != "xno" && break
3325 rm -f conftest.$ac_ext
3330 case "x$ac_cv_prog_cc_c89" in
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3333 $as_echo "none needed" >&6; } ;;
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3336 $as_echo "unsupported" >&6; } ;;
3338 CC="$CC $ac_cv_prog_cc_c89"
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3342 if test "x$ac_cv_prog_cc_c89" != xno; then :
3347 ac_cpp='$CPP $CPPFLAGS'
3348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3358 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3359 # On Suns, sometimes $CPP names a directory.
3360 if test -n "$CPP" && test -d "$CPP"; then
3363 if test -z "$CPP"; then
3364 if ${ac_cv_prog_CPP+:} false; then :
3365 $as_echo_n "(cached) " >&6
3367 # Double quotes because CPP needs to be expanded
3368 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3371 for ac_c_preproc_warn_flag in '' yes
3373 # Use a header file that comes with gcc, so configuring glibc
3374 # with a fresh cross-compiler works.
3375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3376 # <limits.h> exists even on freestanding compilers.
3377 # On the NeXT, cc -E runs the code through the compiler's parser,
3378 # not just through cpp. "Syntax error" is here to catch this case.
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3382 # include <limits.h>
3384 # include <assert.h>
3388 if ac_fn_c_try_cpp "$LINENO"; then :
3391 # Broken: fails on valid input.
3394 rm -f conftest.err conftest.i conftest.$ac_ext
3396 # OK, works on sane cases. Now check whether nonexistent headers
3397 # can be detected and how.
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3400 #include <ac_nonexistent.h>
3402 if ac_fn_c_try_cpp "$LINENO"; then :
3403 # Broken: success on invalid input.
3406 # Passes both tests.
3410 rm -f conftest.err conftest.i conftest.$ac_ext
3413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3414 rm -f conftest.i conftest.err conftest.$ac_ext
3415 if $ac_preproc_ok; then :
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3428 $as_echo "$CPP" >&6; }
3430 for ac_c_preproc_warn_flag in '' yes
3432 # Use a header file that comes with gcc, so configuring glibc
3433 # with a fresh cross-compiler works.
3434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3435 # <limits.h> exists even on freestanding compilers.
3436 # On the NeXT, cc -E runs the code through the compiler's parser,
3437 # not just through cpp. "Syntax error" is here to catch this case.
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3441 # include <limits.h>
3443 # include <assert.h>
3447 if ac_fn_c_try_cpp "$LINENO"; then :
3450 # Broken: fails on valid input.
3453 rm -f conftest.err conftest.i conftest.$ac_ext
3455 # OK, works on sane cases. Now check whether nonexistent headers
3456 # can be detected and how.
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3459 #include <ac_nonexistent.h>
3461 if ac_fn_c_try_cpp "$LINENO"; then :
3462 # Broken: success on invalid input.
3465 # Passes both tests.
3469 rm -f conftest.err conftest.i conftest.$ac_ext
3472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3473 rm -f conftest.i conftest.err conftest.$ac_ext
3474 if $ac_preproc_ok; then :
3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3480 See \`config.log' for more details" "$LINENO" 5; }
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 # Check prefix directories.
3492 if test "x$prefix" = "xNONE" ; then
3496 if test "x$exec_prefix" = "xNONE" ; then
3503 if test "x$bindir" = "xNONE" ; then
3506 BINDIR=`eval echo $bindir`
3509 if test "x$datarootdir" = "xNONE" ; then
3510 datarootdir="/share"
3512 DATAROOTDIR=`eval echo $datarootdir`
3515 # Checks for libraries.
3520 ac_cpp='$CXXCPP $CPPFLAGS'
3521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3526 # Check for C++11 support for the compiler.
3528 CPPFLAGS="$CPPFLAGS -std=c++11"
3529 CXXFLAGS="$CXXFLAGS -std=c++11"
3531 # Checks for header files.
3534 ac_cpp='$CXXCPP $CPPFLAGS'
3535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3539 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3540 if test -z "$CXXCPP"; then
3541 if ${ac_cv_prog_CXXCPP+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 # Double quotes because CXXCPP needs to be expanded
3545 for CXXCPP in "$CXX -E" "/lib/cpp"
3548 for ac_cxx_preproc_warn_flag in '' yes
3550 # Use a header file that comes with gcc, so configuring glibc
3551 # with a fresh cross-compiler works.
3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553 # <limits.h> exists even on freestanding compilers.
3554 # On the NeXT, cc -E runs the code through the compiler's parser,
3555 # not just through cpp. "Syntax error" is here to catch this case.
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3559 # include <limits.h>
3561 # include <assert.h>
3565 if ac_fn_cxx_try_cpp "$LINENO"; then :
3568 # Broken: fails on valid input.
3571 rm -f conftest.err conftest.i conftest.$ac_ext
3573 # OK, works on sane cases. Now check whether nonexistent headers
3574 # can be detected and how.
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3577 #include <ac_nonexistent.h>
3579 if ac_fn_cxx_try_cpp "$LINENO"; then :
3580 # Broken: success on invalid input.
3583 # Passes both tests.
3587 rm -f conftest.err conftest.i conftest.$ac_ext
3590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3591 rm -f conftest.i conftest.err conftest.$ac_ext
3592 if $ac_preproc_ok; then :
3597 ac_cv_prog_CXXCPP=$CXXCPP
3600 CXXCPP=$ac_cv_prog_CXXCPP
3602 ac_cv_prog_CXXCPP=$CXXCPP
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3605 $as_echo "$CXXCPP" >&6; }
3607 for ac_cxx_preproc_warn_flag in '' yes
3609 # Use a header file that comes with gcc, so configuring glibc
3610 # with a fresh cross-compiler works.
3611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 # <limits.h> exists even on freestanding compilers.
3613 # On the NeXT, cc -E runs the code through the compiler's parser,
3614 # not just through cpp. "Syntax error" is here to catch this case.
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3618 # include <limits.h>
3620 # include <assert.h>
3624 if ac_fn_cxx_try_cpp "$LINENO"; then :
3627 # Broken: fails on valid input.
3630 rm -f conftest.err conftest.i conftest.$ac_ext
3632 # OK, works on sane cases. Now check whether nonexistent headers
3633 # can be detected and how.
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3636 #include <ac_nonexistent.h>
3638 if ac_fn_cxx_try_cpp "$LINENO"; then :
3639 # Broken: success on invalid input.
3642 # Passes both tests.
3646 rm -f conftest.err conftest.i conftest.$ac_ext
3649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3650 rm -f conftest.i conftest.err conftest.$ac_ext
3651 if $ac_preproc_ok; then :
3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3657 See \`config.log' for more details" "$LINENO" 5; }
3661 ac_cpp='$CXXCPP $CPPFLAGS'
3662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3668 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3669 if ${ac_cv_path_GREP+:} false; then :
3670 $as_echo_n "(cached) " >&6
3672 if test -z "$GREP"; then
3673 ac_path_GREP_found=false
3674 # Loop through the user's path and test for each of PROGNAME-LIST
3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3679 test -z "$as_dir" && as_dir=.
3680 for ac_prog in grep ggrep; do
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3683 as_fn_executable_p "$ac_path_GREP" || continue
3684 # Check for GNU ac_path_GREP and select it if it is found.
3685 # Check for GNU $ac_path_GREP
3686 case `"$ac_path_GREP" --version 2>&1` in
3688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3691 $as_echo_n 0123456789 >"conftest.in"
3694 cat "conftest.in" "conftest.in" >"conftest.tmp"
3695 mv "conftest.tmp" "conftest.in"
3696 cp "conftest.in" "conftest.nl"
3697 $as_echo 'GREP' >> "conftest.nl"
3698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3700 as_fn_arith $ac_count + 1 && ac_count=$as_val
3701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3702 # Best one so far, save it but keep looking for a better one
3703 ac_cv_path_GREP="$ac_path_GREP"
3704 ac_path_GREP_max=$ac_count
3706 # 10*(2^10) chars as input seems more than enough
3707 test $ac_count -gt 10 && break
3709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3712 $ac_path_GREP_found && break 3
3717 if test -z "$ac_cv_path_GREP"; then
3718 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3721 ac_cv_path_GREP=$GREP
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3726 $as_echo "$ac_cv_path_GREP" >&6; }
3727 GREP="$ac_cv_path_GREP"
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3731 $as_echo_n "checking for egrep... " >&6; }
3732 if ${ac_cv_path_EGREP+:} false; then :
3733 $as_echo_n "(cached) " >&6
3735 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3736 then ac_cv_path_EGREP="$GREP -E"
3738 if test -z "$EGREP"; then
3739 ac_path_EGREP_found=false
3740 # Loop through the user's path and test for each of PROGNAME-LIST
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3745 test -z "$as_dir" && as_dir=.
3746 for ac_prog in egrep; do
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3749 as_fn_executable_p "$ac_path_EGREP" || continue
3750 # Check for GNU ac_path_EGREP and select it if it is found.
3751 # Check for GNU $ac_path_EGREP
3752 case `"$ac_path_EGREP" --version 2>&1` in
3754 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3757 $as_echo_n 0123456789 >"conftest.in"
3760 cat "conftest.in" "conftest.in" >"conftest.tmp"
3761 mv "conftest.tmp" "conftest.in"
3762 cp "conftest.in" "conftest.nl"
3763 $as_echo 'EGREP' >> "conftest.nl"
3764 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3766 as_fn_arith $ac_count + 1 && ac_count=$as_val
3767 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3768 # Best one so far, save it but keep looking for a better one
3769 ac_cv_path_EGREP="$ac_path_EGREP"
3770 ac_path_EGREP_max=$ac_count
3772 # 10*(2^10) chars as input seems more than enough
3773 test $ac_count -gt 10 && break
3775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3778 $ac_path_EGREP_found && break 3
3783 if test -z "$ac_cv_path_EGREP"; then
3784 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3787 ac_cv_path_EGREP=$EGREP
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3793 $as_echo "$ac_cv_path_EGREP" >&6; }
3794 EGREP="$ac_cv_path_EGREP"
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3798 $as_echo_n "checking for ANSI C header files... " >&6; }
3799 if ${ac_cv_header_stdc+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3817 if ac_fn_cxx_try_compile "$LINENO"; then :
3818 ac_cv_header_stdc=yes
3820 ac_cv_header_stdc=no
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 if test $ac_cv_header_stdc = yes; then
3825 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3832 $EGREP "memchr" >/dev/null 2>&1; then :
3835 ac_cv_header_stdc=no
3841 if test $ac_cv_header_stdc = yes; then
3842 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3849 $EGREP "free" >/dev/null 2>&1; then :
3852 ac_cv_header_stdc=no
3858 if test $ac_cv_header_stdc = yes; then
3859 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3860 if test "$cross_compiling" = yes; then :
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3867 #if ((' ' & 0x0FF) == 0x020)
3868 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3869 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3871 # define ISLOWER(c) \
3872 (('a' <= (c) && (c) <= 'i') \
3873 || ('j' <= (c) && (c) <= 'r') \
3874 || ('s' <= (c) && (c) <= 'z'))
3875 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3878 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3883 for (i = 0; i < 256; i++)
3884 if (XOR (islower (i), ISLOWER (i))
3885 || toupper (i) != TOUPPER (i))
3890 if ac_fn_cxx_try_run "$LINENO"; then :
3893 ac_cv_header_stdc=no
3895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3896 conftest.$ac_objext conftest.beam conftest.$ac_ext
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3902 $as_echo "$ac_cv_header_stdc" >&6; }
3903 if test $ac_cv_header_stdc = yes; then
3905 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3910 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3911 inttypes.h stdint.h unistd.h
3913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3914 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3917 cat >>confdefs.h <<_ACEOF
3918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3926 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
3928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3929 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3931 cat >>confdefs.h <<_ACEOF
3932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3940 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3941 if test "x$ac_cv_header_thread" = xyes; then :
3944 echo "The C++ compiler does not support C++11 extensions which is
3945 needed for Xestia Address Book. Please install or use a
3946 compiler that supports C++11 extensions."
3955 # Check whether --with-wxdir was given.
3956 if test "${with_wxdir+set}" = set; then :
3957 withval=$with_wxdir; wx_config_name="$withval/wx-config"
3958 wx_config_args="--inplace"
3962 # Check whether --with-wx-config was given.
3963 if test "${with_wx_config+set}" = set; then :
3964 withval=$with_wx_config; wx_config_name="$withval"
3968 # Check whether --with-wx-prefix was given.
3969 if test "${with_wx_prefix+set}" = set; then :
3970 withval=$with_wx_prefix; wx_config_prefix="$withval"
3976 # Check whether --with-wx-exec-prefix was given.
3977 if test "${with_wx_exec_prefix+set}" = set; then :
3978 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3980 wx_config_exec_prefix=""
3987 if test x${WX_CONFIG_NAME+set} != xset ; then
3988 WX_CONFIG_NAME=wx-config
3991 if test "x$wx_config_name" != x ; then
3992 WX_CONFIG_NAME="$wx_config_name"
3995 if test x$wx_config_exec_prefix != x ; then
3996 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3997 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3999 if test x$wx_config_prefix != x ; then
4000 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4001 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4003 if test "$cross_compiling" = "yes"; then
4004 wx_config_args="$wx_config_args --host=$host_alias"
4007 if test -x "$WX_CONFIG_NAME" ; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4009 $as_echo_n "checking for wx-config... " >&6; }
4010 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4012 $as_echo "$WX_CONFIG_PATH" >&6; }
4014 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4015 set dummy $WX_CONFIG_NAME; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4019 $as_echo_n "(cached) " >&6
4021 case $WX_CONFIG_PATH in
4023 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4028 for as_dir in $as_dummy
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4046 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4047 if test -n "$WX_CONFIG_PATH"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4049 $as_echo "$WX_CONFIG_PATH" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4058 if test "$WX_CONFIG_PATH" != "no" ; then
4061 min_wx_version=$reqwx
4062 if test -z "" ; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4064 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4067 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4070 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4072 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4073 wx_config_major_version=`echo $WX_VERSION | \
4074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4075 wx_config_minor_version=`echo $WX_VERSION | \
4076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4077 wx_config_micro_version=`echo $WX_VERSION | \
4078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4080 wx_requested_major_version=`echo $min_wx_version | \
4081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4082 wx_requested_minor_version=`echo $min_wx_version | \
4083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4084 wx_requested_micro_version=`echo $min_wx_version | \
4085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4089 if test "x$WX_VERSION" != x ; then
4090 if test $wx_config_major_version -gt $wx_requested_major_version; then
4093 if test $wx_config_major_version -eq $wx_requested_major_version; then
4094 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4097 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4098 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4108 if test -n "$wx_ver_ok"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4110 $as_echo "yes (version $WX_VERSION)" >&6; }
4111 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4114 $as_echo_n "checking for wxWidgets static library... " >&6; }
4115 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4116 if test "x$WX_LIBS_STATIC" = "x"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121 $as_echo "yes" >&6; }
4125 if test $wx_config_major_version -gt 2; then
4128 if test $wx_config_major_version -eq 2; then
4129 if test $wx_config_minor_version -gt 2; then
4132 if test $wx_config_minor_version -eq 2; then
4133 if test $wx_config_micro_version -ge 6; then
4142 if test $wx_config_major_version -gt 2; then
4145 if test $wx_config_major_version -eq 2; then
4146 if test $wx_config_minor_version -ge 7; then
4151 if test "x$wx_has_rescomp" = x ; then
4154 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4157 if test "x$wx_has_cppflags" = x ; then
4158 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4159 WX_CPPFLAGS=$WX_CFLAGS
4160 WX_CXXFLAGS=$WX_CFLAGS
4162 WX_CFLAGS_ONLY=$WX_CFLAGS
4163 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4165 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4166 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4167 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4169 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4170 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4177 if test "x$WX_VERSION" = x; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4182 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4192 if test ! -z ""; then
4195 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4196 build with the following settings:
4198 but such build is not available.
4200 To see the wxWidgets builds available on this system, please use
4201 'wx-config --list' command. To use the default build, returned by
4202 'wx-config --selected-config', use the options with their 'auto'
4208 The requested wxWidgets build couldn't be found.
4211 If you still get this error, then check that 'wx-config' is
4212 in path, the directory where wxWidgets libraries are installed
4213 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4214 or equivalent variable and wxWidgets version is $reqwx or above."
4216 as_fn_error $? "$wx_error_message" "$LINENO" 5
4242 WX_VERSION_MAJOR="$wx_config_major_version"
4243 WX_VERSION_MINOR="$wx_config_minor_version"
4244 WX_VERSION_MICRO="$wx_config_micro_version"
4250 if test "$wxWin" != 1; then
4252 wxWidgets must be installed on your system.
4254 Please check that wx-config is in path, the directory where wxWidgets libraries
4255 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4256 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4261 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4262 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4263 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4264 LIBS="$LIBS $WX_LIBS"
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4277 $as_echo_n "checking for main in -lcurl... " >&6; }
4278 if ${ac_cv_lib_curl_main+:} false; then :
4279 $as_echo_n "(cached) " >&6
4281 ac_check_lib_save_LIBS=$LIBS
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4295 if ac_fn_c_try_link "$LINENO"; then :
4296 ac_cv_lib_curl_main=yes
4298 ac_cv_lib_curl_main=no
4300 rm -f core conftest.err conftest.$ac_objext \
4301 conftest$ac_exeext conftest.$ac_ext
4302 LIBS=$ac_check_lib_save_LIBS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4305 $as_echo "$ac_cv_lib_curl_main" >&6; }
4306 if test "x$ac_cv_lib_curl_main" = xyes; then :
4307 cat >>confdefs.h <<_ACEOF
4308 #define HAVE_LIBCURL 1
4314 echo "The cURL library must be installed on your system.
4315 Please check that this library is installed properly before
4316 running configure again."
4323 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4324 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4327 echo "The cURL library headers must be installed on your system.
4328 Please check that the library headers are installed properly
4329 before running configure again."
4336 # Extract the first word of "curl-config", so it can be a program name with args.
4337 set dummy curl-config; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$FOUND_CURLCONFIG"; then
4344 ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_FOUND_CURLCONFIG="yes"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4364 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4365 if test -n "$FOUND_CURLCONFIG"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4367 $as_echo "$FOUND_CURLCONFIG" >&6; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 if test x$FOUND_CURLCONFIG = xyes; then
4375 FOUND_CURLCONFIG_RES_TRUE=
4376 FOUND_CURLCONFIG_RES_FALSE='#'
4378 FOUND_CURLCONFIG_RES_TRUE='#'
4379 FOUND_CURLCONFIG_RES_FALSE=
4383 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4385 echo "Cannot find the curl-config program on your system.
4386 If it is installed on your system, adjust your PATH environment
4387 variable before running configure again."
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsqlite3" >&5
4395 $as_echo_n "checking for main in -lsqlite3... " >&6; }
4396 if ${ac_cv_lib_sqlite3_main+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 ac_check_lib_save_LIBS=$LIBS
4400 LIBS="-lsqlite3 $LIBS"
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4413 if ac_fn_c_try_link "$LINENO"; then :
4414 ac_cv_lib_sqlite3_main=yes
4416 ac_cv_lib_sqlite3_main=no
4418 rm -f core conftest.err conftest.$ac_objext \
4419 conftest$ac_exeext conftest.$ac_ext
4420 LIBS=$ac_check_lib_save_LIBS
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_main" >&5
4423 $as_echo "$ac_cv_lib_sqlite3_main" >&6; }
4424 if test "x$ac_cv_lib_sqlite3_main" = xyes; then :
4425 cat >>confdefs.h <<_ACEOF
4426 #define HAVE_LIBSQLITE3 1
4429 LIBS="-lsqlite3 $LIBS"
4432 echo "The SQLite library must be installed on your system.
4433 Please check that this library is installed properly before
4434 running configure again."
4440 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
4441 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
4444 echo "The SQLite library headers must be installed on your system.
4445 Please check that the library headers are installed properly
4446 before running configure again."
4453 # uuidgen application
4455 # Extract the first word of "uuidgen", so it can be a program name with args.
4456 set dummy uuidgen; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$FOUND_UUIDGEN"; then
4463 ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_FOUND_UUIDGEN="yes"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4483 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4484 if test -n "$FOUND_UUIDGEN"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4486 $as_echo "$FOUND_UUIDGEN" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4493 if test x$FOUND_UUIDGEN = xyes; then
4494 FOUND_UUIDGEN_RES_TRUE=
4495 FOUND_UUIDGEN_RES_FALSE='#'
4497 FOUND_UUIDGEN_RES_TRUE='#'
4498 FOUND_UUIDGEN_RES_FALSE=
4502 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4504 echo "Cannot find the uuidgen program on your system.
4505 If it is installed on your system, adjust your PATH environment
4506 variable before running configure again."
4511 # Checks for typedefs, structures, and compiler characteristics.
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4513 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4514 if ${ac_cv_header_stdbool_h+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4520 #include <stdbool.h>
4522 "error: bool is not defined"
4525 "error: false is not defined"
4528 "error: false is not 0"
4531 "error: true is not defined"
4534 "error: true is not 1"
4536 #ifndef __bool_true_false_are_defined
4537 "error: __bool_true_false_are_defined is not defined"
4540 struct s { _Bool s: 1; _Bool t; } s;
4542 char a[true == 1 ? 1 : -1];
4543 char b[false == 0 ? 1 : -1];
4544 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4545 char d[(bool) 0.5 == true ? 1 : -1];
4546 /* See body of main program for 'e'. */
4547 char f[(_Bool) 0.0 == false ? 1 : -1];
4549 char h[sizeof (_Bool)];
4551 enum { j = false, k = true, l = false * true, m = true * 256 };
4552 /* The following fails for
4553 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4555 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4556 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4557 /* Catch a bug in an HP-UX C compiler. See
4558 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4559 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4571 /* Refer to every declared value, to avoid compiler optimizations. */
4572 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4573 + !m + !n + !o + !p + !q + !pq);
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_header_stdbool_h=yes
4582 ac_cv_header_stdbool_h=no
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4587 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4588 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4589 if test "x$ac_cv_type__Bool" = xyes; then :
4591 cat >>confdefs.h <<_ACEOF
4592 #define HAVE__BOOL 1
4599 if test $ac_cv_header_stdbool_h = yes; then
4601 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4606 $as_echo_n "checking for inline... " >&6; }
4607 if ${ac_cv_c_inline+:} false; then :
4608 $as_echo_n "(cached) " >&6
4611 for ac_kw in inline __inline__ __inline; do
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 static $ac_kw foo_t static_foo () {return 0; }
4617 $ac_kw foo_t foo () {return 0; }
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_cv_c_inline=$ac_kw
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 test "$ac_cv_c_inline" != no && break
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4630 $as_echo "$ac_cv_c_inline" >&6; }
4632 case $ac_cv_c_inline in
4635 case $ac_cv_c_inline in
4637 *) ac_val=$ac_cv_c_inline;;
4639 cat >>confdefs.h <<_ACEOF
4641 #define inline $ac_val
4648 # Check for Google Test and if it exists, enable the tests.
4651 ac_cpp='$CXXCPP $CPPFLAGS'
4652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4656 for ac_header in gtest/gtest.h
4658 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
4659 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
4660 cat >>confdefs.h <<_ACEOF
4661 #define HAVE_GTEST_GTEST_H 1
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CPPFLAGSOLD=CPPFLAGS
4680 CPPFLAGS=`xml2-config --cflags`
4682 # Extract the first word of "xml2-config", so it can be a program name with args.
4683 set dummy xml2-config; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -n "$FOUND_XML2CONFIG"; then
4690 ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_FOUND_XML2CONFIG="yes"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
4710 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
4711 if test -n "$FOUND_XML2CONFIG"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
4713 $as_echo "$FOUND_XML2CONFIG" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 if test x$FOUND_XML2CONFIG = xyes; then
4721 FOUND_XML2CONFIG_RES_TRUE=
4722 FOUND_XML2CONFIG_RES_FALSE='#'
4724 FOUND_XML2CONFIG_RES_TRUE='#'
4725 FOUND_XML2CONFIG_RES_FALSE=
4729 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
4731 echo "Cannot find the xml2-config program on your system.
4732 If it is installed on your system, adjust your PATH environment
4733 variable before running configure again."
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4739 $as_echo_n "checking for main in -lxml2... " >&6; }
4740 if ${ac_cv_lib_xml2_main+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 ac_check_lib_save_LIBS=$LIBS
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4757 if ac_fn_c_try_link "$LINENO"; then :
4758 ac_cv_lib_xml2_main=yes
4760 ac_cv_lib_xml2_main=no
4762 rm -f core conftest.err conftest.$ac_objext \
4763 conftest$ac_exeext conftest.$ac_ext
4764 LIBS=$ac_check_lib_save_LIBS
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4767 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4768 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4769 cat >>confdefs.h <<_ACEOF
4770 #define HAVE_LIBXML2 1
4776 echo "The libxml2 library must be installed on your system.
4777 Please check that this library is installed properly before
4778 running configure again."
4784 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4787 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4789 cat >>confdefs.h <<_ACEOF
4790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4794 echo "The libxml2 library headers must be installed on your system.
4795 Please check that the library headers are installed properly
4796 before running configure again."
4804 CPPFLAGS=CPPFLAGSOLD
4806 # Setup the debug setting.
4808 # Check whether --enable-debug was given.
4809 if test "${enable_debug+set}" = set; then :
4810 enableval=$enable_debug; case "${enableval}" in
4813 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4820 # Checks for library functions.
4822 if test x$debug = xtrue; then
4830 if test -z "$DEBUG_TRUE"; then :
4837 if test -z "$DEBUG_TRUE"; then :
4838 DBGSTATUS="DEBUG=true"
4841 DBGSTATUS="DEBUG=false"
4844 if test -z "$DEBUG_TRUE"; then :
4845 echo "Debugging mode has been enabled."
4848 #AM_CONDITIONAL([GTEST_FOUND], [test x$gtestfound = xyes])
4849 #AM_COND_IF([GTEST_FOUND], [AC_SUBST([GTEST], [`cat tests/test.commands`])],
4850 # [AC_SUBST([GTEST], [" @echo \"Google Test was not found on the system. Unable to build tests.\""])])
4851 #AM_COND_IF([GTEST_FOUND], [echo "Google Test found on the system. Enabling Unit Tests."]);
4853 ac_config_files="$ac_config_files Makefile"
4855 #AC_CONFIG_FILES([Makefile tests/Makefile])
4856 cat >confcache <<\_ACEOF
4857 # This file is a shell script that caches the results of configure
4858 # tests run on this system so they can be shared between configure
4859 # scripts and configure runs, see configure's option --config-cache.
4860 # It is not useful on other systems. If it contains results you don't
4861 # want to keep, you may remove or edit it.
4863 # config.status only pays attention to the cache file if you give it
4864 # the --recheck option to rerun configure.
4866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4872 # The following way of writing the cache mishandles newlines in values,
4873 # but we know of no workaround that is simple, portable, and efficient.
4874 # So, we kill variables containing newlines.
4875 # Ultrix sh set writes to stderr and can't be redirected directly,
4876 # and sets the high bit in the cache file unless we assign to the vars.
4878 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4879 eval ac_val=\$$ac_var
4883 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4887 _ | IFS | as_nl) ;; #(
4888 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4889 *) { eval $ac_var=; unset $ac_var;} ;;
4895 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4896 *${as_nl}ac_space=\ *)
4897 # `set' does not quote correctly, so add quotes: double-quote
4898 # substitution turns \\\\ into \\, and sed turns \\ into \.
4901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4904 # `set' quotes correctly as required by POSIX, so do not add quotes.
4905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4916 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4918 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4919 if test -w "$cache_file"; then
4920 if test "x$cache_file" != "x/dev/null"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4922 $as_echo "$as_me: updating cache $cache_file" >&6;}
4923 if test ! -f "$cache_file" || test -h "$cache_file"; then
4924 cat confcache >"$cache_file"
4926 case $cache_file in #(
4928 mv -f confcache "$cache_file"$$ &&
4929 mv -f "$cache_file"$$ "$cache_file" ;; #(
4931 mv -f confcache "$cache_file" ;;
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4937 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4943 # Let make expand exec_prefix.
4944 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4946 # Transform confdefs.h into DEFS.
4947 # Protect against shell expansion while executing Makefile rules.
4948 # Protect against Makefile macro expansion.
4950 # If the first sed substitution is executed (which looks for macros that
4951 # take arguments), then branch to the quote section. Otherwise,
4952 # look for a macro that doesn't take arguments.
4962 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4964 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4968 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4981 DEFS=`sed -n "$ac_script" confdefs.h`
4987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4988 # 1. Remove the extension, and $U if already installed.
4989 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4990 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4992 # will be set to the directory where LIBOBJS objects are built.
4993 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4994 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4998 LTLIBOBJS=$ac_ltlibobjs
5001 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5002 as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5005 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5006 as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5009 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5010 as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5013 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5014 as_fn_error $? "conditional \"DEBUG\" was never defined.
5015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5018 : "${CONFIG_STATUS=./config.status}"
5020 ac_clean_files_save=$ac_clean_files
5021 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5023 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5025 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5027 # Generated by $as_me.
5028 # Run this file to recreate the current configuration.
5029 # Compiler output produced by configure, useful for debugging
5030 # configure, is in config.log if it exists.
5036 SHELL=\${CONFIG_SHELL-$SHELL}
5039 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5040 ## -------------------- ##
5041 ## M4sh Initialization. ##
5042 ## -------------------- ##
5044 # Be more Bourne compatible
5045 DUALCASE=1; export DUALCASE # for MKS sh
5046 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5049 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5050 # is contrary to our usage. Disable this feature.
5051 alias -g '${1+"$@"}'='"$@"'
5052 setopt NO_GLOB_SUBST
5054 case `(set -o) 2>/dev/null` in #(
5066 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5067 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5070 # Prefer a ksh shell builtin over an external printf program on Solaris,
5071 # but without wasting forks for bash or zsh.
5072 if test -z "$BASH_VERSION$ZSH_VERSION" \
5073 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5074 as_echo='print -r --'
5075 as_echo_n='print -rn --'
5076 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5077 as_echo='printf %s\n'
5078 as_echo_n='printf %s'
5080 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5081 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5082 as_echo_n='/usr/ucb/echo -n'
5084 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5085 as_echo_n_body='eval
5089 expr "X$arg" : "X\\(.*\\)$as_nl";
5090 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5092 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5094 export as_echo_n_body
5095 as_echo_n='sh -c $as_echo_n_body as_echo'
5098 as_echo='sh -c $as_echo_body as_echo'
5101 # The user is always right.
5102 if test "${PATH_SEPARATOR+set}" != set; then
5104 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5105 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5112 # We need space, tab and new line, in precisely that order. Quoting is
5113 # there to prevent editors from complaining about space-tab.
5114 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5115 # splitting by setting IFS to empty value.)
5118 # Find who we are. Look in the path if we contain no directory separator.
5121 *[\\/]* ) as_myself=$0 ;;
5122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 test -z "$as_dir" && as_dir=.
5127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5133 # We did not find ourselves, most probably we were run as `sh COMMAND'
5134 # in which case we are not to be found in the path.
5135 if test "x$as_myself" = x; then
5138 if test ! -f "$as_myself"; then
5139 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5143 # Unset variables that we do not need and which cause bugs (e.g. in
5144 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5145 # suppresses any "Segmentation fault" message there. '((' could
5146 # trigger a bug in pdksh 5.2.14.
5147 for as_var in BASH_ENV ENV MAIL MAILPATH
5148 do eval test x\${$as_var+set} = xset \
5149 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5162 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5165 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5166 # ----------------------------------------
5167 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5168 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5169 # script with STATUS, using 1 if that was 0.
5172 as_status=$1; test $as_status -eq 0 && as_status=1
5174 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5175 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5177 $as_echo "$as_me: error: $2" >&2
5178 as_fn_exit $as_status
5182 # as_fn_set_status STATUS
5183 # -----------------------
5184 # Set $? to STATUS, without forking.
5188 } # as_fn_set_status
5192 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5202 # Portably unset VAR.
5205 { eval $1=; unset $1;}
5207 as_unset=as_fn_unset
5208 # as_fn_append VAR VALUE
5209 # ----------------------
5210 # Append the text in VALUE to the end of the definition contained in VAR. Take
5211 # advantage of any shell optimizations that allow amortized linear growth over
5212 # repeated appends, instead of the typical quadratic growth present in naive
5214 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5215 eval 'as_fn_append ()
5226 # as_fn_arith ARG...
5227 # ------------------
5228 # Perform arithmetic evaluation on the ARGs, and store the result in the
5229 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5230 # must be portable across $(()) and expr.
5231 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5232 eval 'as_fn_arith ()
5239 as_val=`expr "$@" || test $? -eq 1`
5244 if expr a : '\(a\)' >/dev/null 2>&1 &&
5245 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5251 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5252 as_basename=basename
5257 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5263 as_me=`$as_basename -- "$0" ||
5264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5265 X"$0" : 'X\(//\)$' \| \
5266 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5268 sed '/^.*\/\([^/][^/]*\)\/*$/{
5282 # Avoid depending upon Character Ranges.
5283 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5284 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5285 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5286 as_cr_digits='0123456789'
5287 as_cr_alnum=$as_cr_Letters$as_cr_digits
5289 ECHO_C= ECHO_N= ECHO_T=
5290 case `echo -n x` in #(((((
5292 case `echo 'xy\c'` in
5293 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5295 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5302 rm -f conf$$ conf$$.exe conf$$.file
5303 if test -d conf$$.dir; then
5304 rm -f conf$$.dir/conf$$.file
5307 mkdir conf$$.dir 2>/dev/null
5309 if (echo >conf$$.file) 2>/dev/null; then
5310 if ln -s conf$$.file conf$$ 2>/dev/null; then
5312 # ... but there are two gotchas:
5313 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5314 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5315 # In both cases, we have to default to `cp -pR'.
5316 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5318 elif ln conf$$.file conf$$ 2>/dev/null; then
5326 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5327 rmdir conf$$.dir 2>/dev/null
5332 # Create "$as_dir" as a directory, including parents if necessary.
5337 -*) as_dir=./$as_dir;;
5339 test -d "$as_dir" || eval $as_mkdir_p || {
5343 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5344 *) as_qdir=$as_dir;;
5346 as_dirs="'$as_qdir' $as_dirs"
5347 as_dir=`$as_dirname -- "$as_dir" ||
5348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5349 X"$as_dir" : 'X\(//\)[^/]' \| \
5350 X"$as_dir" : 'X\(//\)$' \| \
5351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5352 $as_echo X"$as_dir" |
5353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5370 test -d "$as_dir" && break
5372 test -z "$as_dirs" || eval "mkdir $as_dirs"
5373 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5377 if mkdir -p . 2>/dev/null; then
5378 as_mkdir_p='mkdir -p "$as_dir"'
5380 test -d ./-p && rmdir ./-p
5385 # as_fn_executable_p FILE
5386 # -----------------------
5387 # Test if FILE is an executable regular file.
5388 as_fn_executable_p ()
5390 test -f "$1" && test -x "$1"
5391 } # as_fn_executable_p
5393 as_executable_p=as_fn_executable_p
5395 # Sed expression to map a string onto a valid CPP name.
5396 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5398 # Sed expression to map a string onto a valid variable name.
5399 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5403 ## ----------------------------------- ##
5404 ## Main body of $CONFIG_STATUS script. ##
5405 ## ----------------------------------- ##
5407 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5410 # Save the log message, to keep $0 and so on meaningful, and to
5411 # report actual input values of CONFIG_FILES etc. instead of their
5412 # values after options handling.
5414 This file was extended by Xestia Calendar $as_me 0.02, which was
5415 generated by GNU Autoconf 2.69. Invocation command line was
5417 CONFIG_FILES = $CONFIG_FILES
5418 CONFIG_HEADERS = $CONFIG_HEADERS
5419 CONFIG_LINKS = $CONFIG_LINKS
5420 CONFIG_COMMANDS = $CONFIG_COMMANDS
5423 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5428 case $ac_config_files in *"
5429 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5435 # Files that config.status was made for.
5436 config_files="`echo $ac_config_files`"
5440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5442 \`$as_me' instantiates files and other configuration actions
5443 from templates according to the current configuration. Unless the files
5444 and actions are specified as TAGs, all are instantiated by default.
5446 Usage: $0 [OPTION]... [TAG]...
5448 -h, --help print this help, then exit
5449 -V, --version print version number and configuration settings, then exit
5450 --config print configuration, then exit
5451 -q, --quiet, --silent
5452 do not print progress messages
5453 -d, --debug don't remove temporary files
5454 --recheck update $as_me by reconfiguring in the same conditions
5455 --file=FILE[:TEMPLATE]
5456 instantiate the configuration file FILE
5458 Configuration files:
5461 Report bugs to <bugs@xestia.co.uk>."
5464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5465 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5467 Xestia Calendar config.status 0.02
5468 configured by $0, generated by GNU Autoconf 2.69,
5469 with options \\"\$ac_cs_config\\"
5471 Copyright (C) 2012 Free Software Foundation, Inc.
5472 This config.status script is free software; the Free Software Foundation
5473 gives unlimited permission to copy, distribute and modify it."
5477 test -n "\$AWK" || AWK=awk
5480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5481 # The default lists apply if the user does not specify any file.
5487 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5488 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5504 # Handling of the options.
5505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5507 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5508 $as_echo "$ac_cs_version"; exit ;;
5509 --config | --confi | --conf | --con | --co | --c )
5510 $as_echo "$ac_cs_config"; exit ;;
5511 --debug | --debu | --deb | --de | --d | -d )
5513 --file | --fil | --fi | --f )
5516 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5517 '') as_fn_error $? "missing file argument" ;;
5519 as_fn_append CONFIG_FILES " '$ac_optarg'"
5520 ac_need_defaults=false;;
5521 --he | --h | --help | --hel | -h )
5522 $as_echo "$ac_cs_usage"; exit ;;
5523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5524 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5528 -*) as_fn_error $? "unrecognized option: \`$1'
5529 Try \`$0 --help' for more information." ;;
5531 *) as_fn_append ac_config_targets " $1"
5532 ac_need_defaults=false ;;
5538 ac_configure_extra_args=
5540 if $ac_cs_silent; then
5542 ac_configure_extra_args="$ac_configure_extra_args --silent"
5546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5547 if \$ac_cs_recheck; then
5548 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5550 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5551 CONFIG_SHELL='$SHELL'
5557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5562 ## Running $as_me. ##
5568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5573 # Handling of arguments.
5574 for ac_config_target in $ac_config_targets
5576 case $ac_config_target in
5577 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5579 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5584 # If the user did not use the arguments to specify the items to instantiate,
5585 # then the envvar interface is used. Set only those that are not.
5586 # We use the long form for the default assignment because of an extremely
5587 # bizarre bug on SunOS 4.1.3.
5588 if $ac_need_defaults; then
5589 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5592 # Have a temporary directory for convenience. Make it in the build tree
5593 # simply because there is no reason against having it here, and in addition,
5594 # creating and moving files from /tmp can sometimes cause problems.
5595 # Hook for its removal unless debugging.
5596 # Note that there is a small window in which the directory will not be cleaned:
5597 # after its creation but before its name has been assigned to `$tmp'.
5601 trap 'exit_status=$?
5603 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5605 trap 'as_fn_exit 1' 1 2 13 15
5607 # Create a (secure) tmp directory for tmp files.
5610 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5614 tmp=./conf$$-$RANDOM
5615 (umask 077 && mkdir "$tmp")
5616 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5619 # Set up the scripts for CONFIG_FILES section.
5620 # No need to generate them if there are no CONFIG_FILES.
5621 # This happens for instance with `./config.status config.h'.
5622 if test -n "$CONFIG_FILES"; then
5625 ac_cr=`echo X | tr X '\015'`
5626 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5627 # But we know of no other shell where ac_cr would be empty at this
5628 # point, so we can use a bashism as a fallback.
5629 if test "x$ac_cr" = x; then
5630 eval ac_cr=\$\'\\r\'
5632 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5633 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5639 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5644 echo "cat >conf$$subs.awk <<_ACEOF" &&
5645 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5648 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5649 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5651 for ac_last_try in false false false false false :; do
5652 . ./conf$$subs.sh ||
5653 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5655 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5656 if test $ac_delim_n = $ac_delim_num; then
5658 elif $ac_last_try; then
5659 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5661 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5667 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5671 s/^/S["/; s/!.*/"]=/
5681 s/\(.\{148\}\)..*/\1/
5683 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5695 s/\(.\{148\}\)..*/\1/
5697 s/["\\]/\\&/g; s/^/"/; s/$/"/
5701 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5706 ' <conf$$subs.awk | sed '
5711 ' >>$CONFIG_STATUS || ac_write_fail=1
5712 rm -f conf$$subs.awk
5713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5715 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5716 for (key in S) S_is_set[key] = 1
5722 nfields = split(line, field, "@")
5724 len = length(field[1])
5725 for (i = 2; i < nfields; i++) {
5727 keylen = length(key)
5728 if (S_is_set[key]) {
5730 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5731 len += length(value) + length(field[++i])
5742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5743 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5744 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5747 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5748 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5751 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5752 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5753 # trailing colons and then remove the whole line if VPATH becomes empty
5754 # (actually we leave an empty line to preserve line numbers).
5755 if test "x$srcdir" = x.; then
5756 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5775 fi # test -n "$CONFIG_FILES"
5778 eval set X " :F $CONFIG_FILES "
5783 :[FHLC]) ac_mode=$ac_tag; continue;;
5785 case $ac_mode$ac_tag in
5787 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5788 :[FH]-) ac_tag=-:-;;
5789 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5806 -) ac_f="$ac_tmp/stdin";;
5807 *) # Look for the file first in the build tree, then in the source tree
5808 # (if the path is not absolute). The absolute path cannot be DOS-style,
5809 # because $ac_f cannot contain `:'.
5813 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5815 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5817 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5818 as_fn_append ac_file_inputs " '$ac_f'"
5821 # Let's still pretend it is `configure' which instantiates (i.e., don't
5822 # use $as_me), people would be surprised to read:
5823 # /* config.h. Generated by config.status. */
5824 configure_input='Generated from '`
5825 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5827 if test x"$ac_file" != x-; then
5828 configure_input="$ac_file. $configure_input"
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5830 $as_echo "$as_me: creating $ac_file" >&6;}
5832 # Neutralize special characters interpreted by sed in replacement strings.
5833 case $configure_input in #(
5834 *\&* | *\|* | *\\* )
5835 ac_sed_conf_input=`$as_echo "$configure_input" |
5836 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5837 *) ac_sed_conf_input=$configure_input;;
5841 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5847 ac_dir=`$as_dirname -- "$ac_file" ||
5848 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5849 X"$ac_file" : 'X\(//\)[^/]' \| \
5850 X"$ac_file" : 'X\(//\)$' \| \
5851 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5852 $as_echo X"$ac_file" |
5853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5870 as_dir="$ac_dir"; as_fn_mkdir_p
5874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5876 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5877 # A ".." for each directory in $ac_dir_suffix.
5878 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5879 case $ac_top_builddir_sub in
5880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5884 ac_abs_top_builddir=$ac_pwd
5885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5886 # for backward compatibility:
5887 ac_top_builddir=$ac_top_build_prefix
5890 .) # We are building in place.
5892 ac_top_srcdir=$ac_top_builddir_sub
5893 ac_abs_top_srcdir=$ac_pwd ;;
5894 [\\/]* | ?:[\\/]* ) # Absolute name.
5895 ac_srcdir=$srcdir$ac_dir_suffix;
5896 ac_top_srcdir=$srcdir
5897 ac_abs_top_srcdir=$srcdir ;;
5899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5900 ac_top_srcdir=$ac_top_build_prefix$srcdir
5901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5915 # If the template does not know about datarootdir, expand it.
5916 # FIXME: This hack should be removed a few years after 2.60.
5917 ac_datarootdir_hack=; ac_datarootdir_seen=
5928 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5929 *datarootdir*) ac_datarootdir_seen=yes;;
5930 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5932 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5935 ac_datarootdir_hack='
5936 s&@datadir@&$datadir&g
5937 s&@docdir@&$docdir&g
5938 s&@infodir@&$infodir&g
5939 s&@localedir@&$localedir&g
5940 s&@mandir@&$mandir&g
5941 s&\\\${datarootdir}&$datarootdir&g' ;;
5945 # Neutralize VPATH when `$srcdir' = `.'.
5946 # Shell code in configure.ac might set extrasub.
5947 # FIXME: do we really want to maintain this feature?
5948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5949 ac_sed_extra="$ac_vpsub
5952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5955 s|@configure_input@|$ac_sed_conf_input|;t t
5956 s&@top_builddir@&$ac_top_builddir_sub&;t t
5957 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5958 s&@srcdir@&$ac_srcdir&;t t
5959 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5960 s&@top_srcdir@&$ac_top_srcdir&;t t
5961 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5962 s&@builddir@&$ac_builddir&;t t
5963 s&@abs_builddir@&$ac_abs_builddir&;t t
5964 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5965 $ac_datarootdir_hack
5967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5968 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5971 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5973 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5975 which seems to be undefined. Please make sure it is defined" >&5
5976 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5977 which seems to be undefined. Please make sure it is defined" >&2;}
5979 rm -f "$ac_tmp/stdin"
5981 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5982 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5996 ac_clean_files=$ac_clean_files_save
5998 test $ac_write_fail = 0 ||
5999 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6002 # configure is writing to config.log, and then calls config.status.
6003 # config.status does its own redirection, appending to config.log.
6004 # Unfortunately, on DOS this fails, as config.log is still kept open
6005 # by configure, so config.status won't be able to write to it; its
6006 # output is simply discarded. So we exec the FD to /dev/null,
6007 # effectively closing config.log, so it can be properly (re)opened and
6008 # appended to by config.status. When coming back to configure, we
6009 # need to make the FD available again.
6010 if test "$no_create" != yes; then
6012 ac_config_status_args=
6013 test "$silent" = yes &&
6014 ac_config_status_args="$ac_config_status_args --quiet"
6016 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6018 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6019 # would make configure fail if this is the last instruction.
6020 $ac_cs_success || as_fn_exit 1
6022 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6024 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}