2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.05.
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 Address Book'
582 PACKAGE_TARNAME='xestia-address-book'
583 PACKAGE_VERSION='0.05'
584 PACKAGE_STRING='Xestia Address Book 0.05'
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
633 FOUND_XML2CONFIG_RES_FALSE
634 FOUND_XML2CONFIG_RES_TRUE
636 FOUND_UUIDGEN_RES_FALSE
637 FOUND_UUIDGEN_RES_TRUE
642 FOUND_CURLCONFIG_RES_FALSE
643 FOUND_CURLCONFIG_RES_TRUE
701 program_transform_name
714 enable_option_checking
721 ac_precious_vars='build_alias
736 # Initialize some variables set by options.
738 ac_init_version=false
739 ac_unrecognized_opts=
741 # The variables have the same names as the options, with
742 # dashes changed to underlines.
750 program_transform_name=s,x,x,
758 # Installation directory options.
759 # These are left unexpanded so users can "make install exec_prefix=/foo"
760 # and all the variables that are supposed to be based on exec_prefix
761 # by default will actually change.
762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
764 bindir='${exec_prefix}/bin'
765 sbindir='${exec_prefix}/sbin'
766 libexecdir='${exec_prefix}/libexec'
767 datarootdir='${prefix}/share'
768 datadir='${datarootdir}'
769 sysconfdir='${prefix}/etc'
770 sharedstatedir='${prefix}/com'
771 localstatedir='${prefix}/var'
772 includedir='${prefix}/include'
773 oldincludedir='/usr/include'
774 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
775 infodir='${datarootdir}/info'
780 libdir='${exec_prefix}/lib'
781 localedir='${datarootdir}/locale'
782 mandir='${datarootdir}/man'
788 # If the previous option needs an argument, assign it.
789 if test -n "$ac_prev"; then
790 eval $ac_prev=\$ac_option
796 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 -build | --build | --buil | --bui | --bu)
813 ac_prev=build_alias ;;
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815 build_alias=$ac_optarg ;;
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819 ac_prev=cache_file ;;
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822 cache_file=$ac_optarg ;;
825 cache_file=config.cache ;;
827 -datadir | --datadir | --datadi | --datad)
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
830 datadir=$ac_optarg ;;
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833 | --dataroo | --dataro | --datar)
834 ac_prev=datarootdir ;;
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837 datarootdir=$ac_optarg ;;
839 -disable-* | --disable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 as_fn_error $? "invalid feature name: $ac_useropt"
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
853 eval enable_$ac_useropt=no ;;
855 -docdir | --docdir | --docdi | --doc | --do)
857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865 -enable-* | --enable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 as_fn_error $? "invalid feature name: $ac_useropt"
870 ac_useropt_orig=$ac_useropt
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877 ac_unrecognized_sep=', ';;
879 eval enable_$ac_useropt=\$ac_optarg ;;
881 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883 | --exec | --exe | --ex)
884 ac_prev=exec_prefix ;;
885 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
886 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
887 | --exec=* | --exe=* | --ex=*)
888 exec_prefix=$ac_optarg ;;
890 -gas | --gas | --ga | --g)
891 # Obsolete; use --with-gas.
894 -help | --help | --hel | --he | -h)
896 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
897 ac_init_help=recursive ;;
898 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
899 ac_init_help=short ;;
901 -host | --host | --hos | --ho)
902 ac_prev=host_alias ;;
903 -host=* | --host=* | --hos=* | --ho=*)
904 host_alias=$ac_optarg ;;
906 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
908 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
910 htmldir=$ac_optarg ;;
912 -includedir | --includedir | --includedi | --included | --include \
913 | --includ | --inclu | --incl | --inc)
914 ac_prev=includedir ;;
915 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
916 | --includ=* | --inclu=* | --incl=* | --inc=*)
917 includedir=$ac_optarg ;;
919 -infodir | --infodir | --infodi | --infod | --info | --inf)
921 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
922 infodir=$ac_optarg ;;
924 -libdir | --libdir | --libdi | --libd)
926 -libdir=* | --libdir=* | --libdi=* | --libd=*)
929 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
930 | --libexe | --libex | --libe)
931 ac_prev=libexecdir ;;
932 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
933 | --libexe=* | --libex=* | --libe=*)
934 libexecdir=$ac_optarg ;;
936 -localedir | --localedir | --localedi | --localed | --locale)
938 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
939 localedir=$ac_optarg ;;
941 -localstatedir | --localstatedir | --localstatedi | --localstated \
942 | --localstate | --localstat | --localsta | --localst | --locals)
943 ac_prev=localstatedir ;;
944 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
945 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
946 localstatedir=$ac_optarg ;;
948 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
950 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
954 # Obsolete; use --without-fp.
957 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
958 | --no-cr | --no-c | -n)
961 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
962 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
965 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
966 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
967 | --oldin | --oldi | --old | --ol | --o)
968 ac_prev=oldincludedir ;;
969 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
970 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
971 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
972 oldincludedir=$ac_optarg ;;
974 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
976 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
979 -program-prefix | --program-prefix | --program-prefi | --program-pref \
980 | --program-pre | --program-pr | --program-p)
981 ac_prev=program_prefix ;;
982 -program-prefix=* | --program-prefix=* | --program-prefi=* \
983 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
984 program_prefix=$ac_optarg ;;
986 -program-suffix | --program-suffix | --program-suffi | --program-suff \
987 | --program-suf | --program-su | --program-s)
988 ac_prev=program_suffix ;;
989 -program-suffix=* | --program-suffix=* | --program-suffi=* \
990 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
991 program_suffix=$ac_optarg ;;
993 -program-transform-name | --program-transform-name \
994 | --program-transform-nam | --program-transform-na \
995 | --program-transform-n | --program-transform- \
996 | --program-transform | --program-transfor \
997 | --program-transfo | --program-transf \
998 | --program-trans | --program-tran \
999 | --progr-tra | --program-tr | --program-t)
1000 ac_prev=program_transform_name ;;
1001 -program-transform-name=* | --program-transform-name=* \
1002 | --program-transform-nam=* | --program-transform-na=* \
1003 | --program-transform-n=* | --program-transform-=* \
1004 | --program-transform=* | --program-transfor=* \
1005 | --program-transfo=* | --program-transf=* \
1006 | --program-trans=* | --program-tran=* \
1007 | --progr-tra=* | --program-tr=* | --program-t=*)
1008 program_transform_name=$ac_optarg ;;
1010 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1012 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1013 pdfdir=$ac_optarg ;;
1015 -psdir | --psdir | --psdi | --psd | --ps)
1017 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1024 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1026 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1028 sbindir=$ac_optarg ;;
1030 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1031 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1032 | --sharedst | --shareds | --shared | --share | --shar \
1034 ac_prev=sharedstatedir ;;
1035 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1036 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1037 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1039 sharedstatedir=$ac_optarg ;;
1041 -site | --site | --sit)
1043 -site=* | --site=* | --sit=*)
1046 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1048 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1049 srcdir=$ac_optarg ;;
1051 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1052 | --syscon | --sysco | --sysc | --sys | --sy)
1053 ac_prev=sysconfdir ;;
1054 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1055 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1056 sysconfdir=$ac_optarg ;;
1058 -target | --target | --targe | --targ | --tar | --ta | --t)
1059 ac_prev=target_alias ;;
1060 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1061 target_alias=$ac_optarg ;;
1063 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1066 -version | --version | --versio | --versi | --vers | -V)
1067 ac_init_version=: ;;
1070 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 as_fn_error $? "invalid package name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1083 eval with_$ac_useropt=\$ac_optarg ;;
1085 -without-* | --without-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid package name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval with_$ac_useropt=no ;;
1102 # Obsolete; use --with-x.
1105 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1106 | --x-incl | --x-inc | --x-in | --x-i)
1107 ac_prev=x_includes ;;
1108 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1109 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1110 x_includes=$ac_optarg ;;
1112 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1113 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1114 ac_prev=x_libraries ;;
1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1117 x_libraries=$ac_optarg ;;
1119 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1120 Try \`$0 --help' for more information"
1124 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1125 # Reject names that are not valid shell variable names.
1126 case $ac_envvar in #(
1127 '' | [0-9]* | *[!_$as_cr_alnum]* )
1128 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1130 eval $ac_envvar=\$ac_optarg
1131 export $ac_envvar ;;
1134 # FIXME: should be removed in autoconf 3.0.
1135 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1137 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144 if test -n "$ac_prev"; then
1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1146 as_fn_error $? "missing argument to $ac_option"
1149 if test -n "$ac_unrecognized_opts"; then
1150 case $enable_option_checking in
1152 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1153 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1157 # Check all directory arguments for consistency.
1158 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1159 datadir sysconfdir sharedstatedir localstatedir includedir \
1160 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1161 libdir localedir mandir
1163 eval ac_val=\$$ac_var
1164 # Remove trailing slashes.
1167 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1168 eval $ac_var=\$ac_val;;
1170 # Be sure to have absolute directory names.
1172 [\\/$]* | ?:[\\/]* ) continue;;
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 elif test "x$build_alias" != "x$host_alias"; then
1195 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1197 test "$silent" = yes && exec 6>/dev/null
1200 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1201 ac_ls_di=`ls -di .` &&
1202 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1203 as_fn_error $? "working directory cannot be determined"
1204 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1205 as_fn_error $? "pwd does not report name of working directory"
1208 # Find the source files, if location was not specified.
1209 if test -z "$srcdir"; then
1210 ac_srcdir_defaulted=yes
1211 # Try the directory containing this script, then the parent directory.
1212 ac_confdir=`$as_dirname -- "$as_myself" ||
1213 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1214 X"$as_myself" : 'X\(//\)[^/]' \| \
1215 X"$as_myself" : 'X\(//\)$' \| \
1216 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1217 $as_echo X"$as_myself" |
1218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1240 ac_srcdir_defaulted=no
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1243 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1244 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1246 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1248 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1250 # When building in place, set srcdir=.
1251 if test "$ac_abs_confdir" = "$ac_pwd"; then
1254 # Remove unnecessary trailing slashes from srcdir.
1255 # Double slashes in file names in object file debugging info
1256 # mess up M-x gdb in Emacs.
1258 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1260 for ac_var in $ac_precious_vars; do
1261 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_env_${ac_var}_value=\$${ac_var}
1263 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1264 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1268 # Report the --help message.
1270 if test "$ac_init_help" = "long"; then
1271 # Omit some internal or obsolete options to make the list less imposing.
1272 # This message is too long to be a string in the A/UX 3.1 sh.
1274 \`configure' configures Xestia Address Book 0.05 to adapt to many kinds of systems.
1276 Usage: $0 [OPTION]... [VAR=VALUE]...
1278 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1279 VAR=VALUE. See below for descriptions of some of the useful variables.
1281 Defaults for the options are specified in brackets.
1284 -h, --help display this help and exit
1285 --help=short display options specific to this package
1286 --help=recursive display the short help of all the included packages
1287 -V, --version display version information and exit
1288 -q, --quiet, --silent do not print \`checking ...' messages
1289 --cache-file=FILE cache test results in FILE [disabled]
1290 -C, --config-cache alias for \`--cache-file=config.cache'
1291 -n, --no-create do not create output files
1292 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1294 Installation directories:
1295 --prefix=PREFIX install architecture-independent files in PREFIX
1296 [$ac_default_prefix]
1297 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1300 By default, \`make install' will install all the files in
1301 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1302 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1303 for instance \`--prefix=\$HOME'.
1305 For better control, use the options below.
1307 Fine tuning of the installation directories:
1308 --bindir=DIR user executables [EPREFIX/bin]
1309 --sbindir=DIR system admin executables [EPREFIX/sbin]
1310 --libexecdir=DIR program executables [EPREFIX/libexec]
1311 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1312 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1313 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1314 --libdir=DIR object code libraries [EPREFIX/lib]
1315 --includedir=DIR C header files [PREFIX/include]
1316 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1317 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1318 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1319 --infodir=DIR info documentation [DATAROOTDIR/info]
1320 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1321 --mandir=DIR man documentation [DATAROOTDIR/man]
1322 --docdir=DIR documentation root
1323 [DATAROOTDIR/doc/xestia-address-book]
1324 --htmldir=DIR html documentation [DOCDIR]
1325 --dvidir=DIR dvi documentation [DOCDIR]
1326 --pdfdir=DIR pdf documentation [DOCDIR]
1327 --psdir=DIR ps documentation [DOCDIR]
1334 if test -n "$ac_init_help"; then
1335 case $ac_init_help in
1336 short | recursive ) echo "Configuration of Xestia Address Book 0.05:";;
1341 --disable-option-checking ignore unrecognized --enable/--with options
1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1344 --enable-debug Enable debugging features for the build.
1347 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1348 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1349 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1350 --with-wx-config=CONFIG wx-config script to use (optional)
1351 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1352 --with-wx-exec-prefix=PREFIX
1353 Exec prefix where wxWidgets is installed (optional)
1355 Some influential environment variables:
1356 CXX C++ compiler command
1357 CXXFLAGS C++ compiler flags
1358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1359 nonstandard directory <lib dir>
1360 LIBS libraries to pass to the linker, e.g. -l<library>
1361 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1362 you have headers in a nonstandard directory <include dir>
1363 CC C compiler command
1364 CFLAGS C compiler flags
1366 CXXCPP C++ preprocessor
1368 Use these variables to override the choices made by `configure' or to help
1369 it to find libraries and programs with nonstandard names/locations.
1371 Report bugs to <bugs@xestia.co.uk>.
1376 if test "$ac_init_help" = "recursive"; then
1377 # If there are subdirs, report their specific --help.
1378 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379 test -d "$ac_dir" ||
1380 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1388 # A ".." for each directory in $ac_dir_suffix.
1389 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390 case $ac_top_builddir_sub in
1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1395 ac_abs_top_builddir=$ac_pwd
1396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397 # for backward compatibility:
1398 ac_top_builddir=$ac_top_build_prefix
1401 .) # We are building in place.
1403 ac_top_srcdir=$ac_top_builddir_sub
1404 ac_abs_top_srcdir=$ac_pwd ;;
1405 [\\/]* | ?:[\\/]* ) # Absolute name.
1406 ac_srcdir=$srcdir$ac_dir_suffix;
1407 ac_top_srcdir=$srcdir
1408 ac_abs_top_srcdir=$srcdir ;;
1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411 ac_top_srcdir=$ac_top_build_prefix$srcdir
1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1416 cd "$ac_dir" || { ac_status=$?; continue; }
1417 # Check for guested configure.
1418 if test -f "$ac_srcdir/configure.gnu"; then
1420 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421 elif test -f "$ac_srcdir/configure"; then
1423 $SHELL "$ac_srcdir/configure" --help=recursive
1425 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427 cd "$ac_pwd" || { ac_status=$?; break; }
1431 test -n "$ac_init_help" && exit $ac_status
1432 if $ac_init_version; then
1434 Xestia Address Book configure 0.05
1435 generated by GNU Autoconf 2.69
1437 Copyright (C) 2012 Free Software Foundation, Inc.
1438 This configure script is free software; the Free Software Foundation
1439 gives unlimited permission to copy, distribute and modify it.
1444 ## ------------------------ ##
1445 ## Autoconf initialization. ##
1446 ## ------------------------ ##
1448 # ac_fn_cxx_try_compile LINENO
1449 # ----------------------------
1450 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1451 ac_fn_cxx_try_compile ()
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 rm -f conftest.$ac_objext
1455 if { { ac_try="$ac_compile"
1457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458 *) ac_try_echo=$ac_try;;
1460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461 $as_echo "$ac_try_echo"; } >&5
1462 (eval "$ac_compile") 2>conftest.err
1464 if test -s conftest.err; then
1465 grep -v '^ *+' conftest.err >conftest.er1
1466 cat conftest.er1 >&5
1467 mv -f conftest.er1 conftest.err
1469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470 test $ac_status = 0; } && {
1471 test -z "$ac_cxx_werror_flag" ||
1472 test ! -s conftest.err
1473 } && test -s conftest.$ac_objext; then :
1476 $as_echo "$as_me: failed program was:" >&5
1477 sed 's/^/| /' conftest.$ac_ext >&5
1481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1482 as_fn_set_status $ac_retval
1484 } # ac_fn_cxx_try_compile
1486 # ac_fn_c_try_compile LINENO
1487 # --------------------------
1488 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1489 ac_fn_c_try_compile ()
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 rm -f conftest.$ac_objext
1493 if { { ac_try="$ac_compile"
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_compile") 2>conftest.err
1502 if test -s conftest.err; then
1503 grep -v '^ *+' conftest.err >conftest.er1
1504 cat conftest.er1 >&5
1505 mv -f conftest.er1 conftest.err
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } && {
1509 test -z "$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1511 } && test -s conftest.$ac_objext; then :
1514 $as_echo "$as_me: failed program was:" >&5
1515 sed 's/^/| /' conftest.$ac_ext >&5
1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1520 as_fn_set_status $ac_retval
1522 } # ac_fn_c_try_compile
1524 # ac_fn_c_try_cpp LINENO
1525 # ----------------------
1526 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530 if { { ac_try="$ac_cpp conftest.$ac_ext"
1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1539 if test -s conftest.err; then
1540 grep -v '^ *+' conftest.err >conftest.er1
1541 cat conftest.er1 >&5
1542 mv -f conftest.er1 conftest.err
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; } > conftest.i && {
1546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1547 test ! -s conftest.err
1551 $as_echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.$ac_ext >&5
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 as_fn_set_status $ac_retval
1561 # ac_fn_cxx_try_cpp LINENO
1562 # ------------------------
1563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_cxx_try_cpp ()
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567 if { { ac_try="$ac_cpp conftest.$ac_ext"
1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570 *) ac_try_echo=$ac_try;;
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1576 if test -s conftest.err; then
1577 grep -v '^ *+' conftest.err >conftest.er1
1578 cat conftest.er1 >&5
1579 mv -f conftest.er1 conftest.err
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } > conftest.i && {
1583 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1584 test ! -s conftest.err
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status $ac_retval
1596 } # ac_fn_cxx_try_cpp
1598 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1599 # ---------------------------------------------------------
1600 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1601 # the include files in INCLUDES and setting the cache variable VAR
1603 ac_fn_cxx_check_header_mongrel ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 if eval \${$3+:} false; then :
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if eval \${$3+:} false; then :
1610 $as_echo_n "(cached) " >&6
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 $as_echo "$ac_res" >&6; }
1616 # Is the header compilable?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1618 $as_echo_n "checking $2 usability... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1624 if ac_fn_cxx_try_compile "$LINENO"; then :
1625 ac_header_compiler=yes
1627 ac_header_compiler=no
1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1631 $as_echo "$ac_header_compiler" >&6; }
1633 # Is the header present?
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1635 $as_echo_n "checking $2 presence... " >&6; }
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1640 if ac_fn_cxx_try_cpp "$LINENO"; then :
1641 ac_header_preproc=yes
1643 ac_header_preproc=no
1645 rm -f conftest.err conftest.i conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1647 $as_echo "$ac_header_preproc" >&6; }
1649 # So? What about this header?
1650 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1653 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1659 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1661 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1663 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1665 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668 ( $as_echo "## -------------------------------- ##
1669 ## Report this to bugs@xestia.co.uk ##
1670 ## -------------------------------- ##"
1671 ) | sed "s/^/$as_me: WARNING: /" >&2
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_cxx_check_header_mongrel
1689 # ac_fn_cxx_try_run LINENO
1690 # ------------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1693 ac_fn_cxx_try_run ()
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_cxx_try_run
1731 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1732 # ---------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_cxx_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_cxx_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 } # ac_fn_cxx_check_header_compile
1762 # ac_fn_cxx_try_link LINENO
1763 # -------------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_link ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 test -x conftest$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status $ac_retval
1806 } # ac_fn_cxx_try_link
1808 # ac_fn_c_try_link LINENO
1809 # -----------------------
1810 # Try to link conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 rm -f conftest.$ac_objext conftest$ac_exeext
1815 if { { ac_try="$ac_link"
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_link") 2>conftest.err
1824 if test -s conftest.err; then
1825 grep -v '^ *+' conftest.err >conftest.er1
1826 cat conftest.er1 >&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && {
1831 test -z "$ac_c_werror_flag" ||
1832 test ! -s conftest.err
1833 } && test -s conftest$ac_exeext && {
1834 test "$cross_compiling" = yes ||
1835 test -x conftest$ac_exeext
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1846 # interfere with the next link command; also delete a directory that is
1847 # left behind by Apple's compiler. We do this before executing the actions.
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval
1852 } # ac_fn_c_try_link
1854 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1855 # -------------------------------------------------------
1856 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1857 # the include files in INCLUDES and setting the cache variable VAR
1859 ac_fn_c_check_header_mongrel ()
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if eval \${$3+:} false; then :
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1872 # Is the header compilable?
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1874 $as_echo_n "checking $2 usability... " >&6; }
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1880 if ac_fn_c_try_compile "$LINENO"; then :
1881 ac_header_compiler=yes
1883 ac_header_compiler=no
1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1887 $as_echo "$ac_header_compiler" >&6; }
1889 # Is the header present?
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1891 $as_echo_n "checking $2 presence... " >&6; }
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1896 if ac_fn_c_try_cpp "$LINENO"; then :
1897 ac_header_preproc=yes
1899 ac_header_preproc=no
1901 rm -f conftest.err conftest.i conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1903 $as_echo "$ac_header_preproc" >&6; }
1905 # So? What about this header?
1906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1909 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1915 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1917 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1919 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1921 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1924 ( $as_echo "## -------------------------------- ##
1925 ## Report this to bugs@xestia.co.uk ##
1926 ## -------------------------------- ##"
1927 ) | sed "s/^/$as_me: WARNING: /" >&2
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6
1935 eval "$3=\$ac_header_compiler"
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 } # ac_fn_c_check_header_mongrel
1945 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1946 # -------------------------------------------
1947 # Tests whether TYPE exists after having included INCLUDES, setting cache
1948 # variable VAR accordingly.
1949 ac_fn_c_check_type ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if eval \${$3+:} false; then :
1955 $as_echo_n "(cached) " >&6
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1970 if ac_fn_c_try_compile "$LINENO"; then :
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1983 if ac_fn_c_try_compile "$LINENO"; then :
1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_type
1998 cat >config.log <<_ACEOF
1999 This file contains any messages produced by compilers while
2000 running configure, to aid debugging if configure makes a mistake.
2002 It was created by Xestia Address Book $as_me 0.05, which was
2003 generated by GNU Autoconf 2.69. Invocation command line was
2015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2022 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2024 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2025 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2027 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2028 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2029 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2030 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir=.
2039 $as_echo "PATH: $as_dir"
2055 # Keep a trace of the command line.
2056 # Strip out --no-create and --no-recursion so they do not pile up.
2057 # Strip out --silent because we don't want to record it for future runs.
2058 # Also quote any args containing shell meta-characters.
2059 # Make two passes to allow for proper duplicate-argument suppression.
2063 ac_must_keep_next=false
2069 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2074 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2077 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2079 as_fn_append ac_configure_args1 " '$ac_arg'"
2080 if test $ac_must_keep_next = true; then
2081 ac_must_keep_next=false # Got value, back to normal.
2084 *=* | --config-cache | -C | -disable-* | --disable-* \
2085 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2086 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2087 | -with-* | --with-* | -without-* | --without-* | --x)
2088 case "$ac_configure_args0 " in
2089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2092 -* ) ac_must_keep_next=true ;;
2095 as_fn_append ac_configure_args " '$ac_arg'"
2100 { ac_configure_args0=; unset ac_configure_args0;}
2101 { ac_configure_args1=; unset ac_configure_args1;}
2103 # When interrupted or exit'd, cleanup temporary files, and complete
2104 # config.log. We remove comments because anyway the quotes in there
2105 # would cause problems or look ugly.
2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108 trap 'exit_status=$?
2109 # Save into config.log some information that might help in debugging.
2113 $as_echo "## ---------------- ##
2114 ## Cache variables. ##
2115 ## ---------------- ##"
2117 # The following way of writing the cache mishandles newlines in values,
2119 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2120 eval ac_val=\$$ac_var
2124 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2125 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2128 _ | IFS | as_nl) ;; #(
2129 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2130 *) { eval $ac_var=; unset $ac_var;} ;;
2135 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2136 *${as_nl}ac_space=\ *)
2138 "s/'\''/'\''\\\\'\'''\''/g;
2139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2149 $as_echo "## ----------------- ##
2150 ## Output variables. ##
2151 ## ----------------- ##"
2153 for ac_var in $ac_subst_vars
2155 eval ac_val=\$$ac_var
2157 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2159 $as_echo "$ac_var='\''$ac_val'\''"
2163 if test -n "$ac_subst_files"; then
2164 $as_echo "## ------------------- ##
2165 ## File substitutions. ##
2166 ## ------------------- ##"
2168 for ac_var in $ac_subst_files
2170 eval ac_val=\$$ac_var
2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2174 $as_echo "$ac_var='\''$ac_val'\''"
2179 if test -s confdefs.h; then
2180 $as_echo "## ----------- ##
2187 test "$ac_signal" != 0 &&
2188 $as_echo "$as_me: caught signal $ac_signal"
2189 $as_echo "$as_me: exit $exit_status"
2191 rm -f core *.core core.conftest.* &&
2192 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2195 for ac_signal in 1 2 13 15; do
2196 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2201 rm -f -r conftest* confdefs.h
2203 $as_echo "/* confdefs.h */" > confdefs.h
2205 # Predefined preprocessor variables.
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_NAME "$PACKAGE_NAME"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_URL "$PACKAGE_URL"
2232 # Let the site file select an alternate cache file if it wants to.
2233 # Prefer an explicitly selected file to automatically selected ones.
2236 if test -n "$CONFIG_SITE"; then
2237 # We do not want a PATH search for config.site.
2238 case $CONFIG_SITE in #((
2239 -*) ac_site_file1=./$CONFIG_SITE;;
2240 */*) ac_site_file1=$CONFIG_SITE;;
2241 *) ac_site_file1=./$CONFIG_SITE;;
2243 elif test "x$prefix" != xNONE; then
2244 ac_site_file1=$prefix/share/config.site
2245 ac_site_file2=$prefix/etc/config.site
2247 ac_site_file1=$ac_default_prefix/share/config.site
2248 ac_site_file2=$ac_default_prefix/etc/config.site
2250 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2252 test "x$ac_site_file" = xNONE && continue
2253 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2255 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2256 sed 's/^/| /' "$ac_site_file" >&5
2258 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260 as_fn_error $? "failed to load site script $ac_site_file
2261 See \`config.log' for more details" "$LINENO" 5; }
2265 if test -r "$cache_file"; then
2266 # Some versions of bash will fail to source /dev/null (special files
2267 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2268 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2270 $as_echo "$as_me: loading cache $cache_file" >&6;}
2272 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2273 *) . "./$cache_file";;
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2278 $as_echo "$as_me: creating cache $cache_file" >&6;}
2282 # Check that the precious variables saved in the cache have kept the same
2284 ac_cache_corrupted=false
2285 for ac_var in $ac_precious_vars; do
2286 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2287 eval ac_new_set=\$ac_env_${ac_var}_set
2288 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2289 eval ac_new_val=\$ac_env_${ac_var}_value
2290 case $ac_old_set,$ac_new_set in
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2293 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2297 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2298 ac_cache_corrupted=: ;;
2301 if test "x$ac_old_val" != "x$ac_new_val"; then
2302 # differences in whitespace do not lead to failure.
2303 ac_old_val_w=`echo x $ac_old_val`
2304 ac_new_val_w=`echo x $ac_new_val`
2305 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2307 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2308 ac_cache_corrupted=:
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2311 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2312 eval $ac_var=\$ac_old_val
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2315 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2317 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2320 # Pass precious variables to config.status.
2321 if test "$ac_new_set" = set; then
2323 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 *) ac_arg=$ac_var=$ac_new_val ;;
2326 case " $ac_configure_args " in
2327 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2328 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2332 if $ac_cache_corrupted; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2336 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2339 ## -------------------- ##
2340 ## Main body of script. ##
2341 ## -------------------- ##
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2350 #AC_CONFIG_SRCDIR([version.h])
2351 #AC_CONFIG_HEADERS([config.h])
2354 $as_echo "#define DEBUG 1" >>confdefs.h
2357 # Checks for programs.
2359 ac_cpp='$CXXCPP $CPPFLAGS'
2360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2363 if test -z "$CXX"; then
2364 if test -n "$CCC"; then
2367 if test -n "$ac_tool_prefix"; then
2368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if ${ac_cv_prog_CXX+:} false; then :
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$CXX"; then
2378 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2398 if test -n "$CXX"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2400 $as_echo "$CXX" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2407 test -n "$CXX" && break
2410 if test -z "$CXX"; then
2412 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2414 # Extract the first word of "$ac_prog", so it can be a program name with args.
2415 set dummy $ac_prog; ac_word=$2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2419 $as_echo_n "(cached) " >&6
2421 if test -n "$ac_ct_CXX"; then
2422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_ac_ct_CXX="$ac_prog"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2442 if test -n "$ac_ct_CXX"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2444 $as_echo "$ac_ct_CXX" >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2451 test -n "$ac_ct_CXX" && break
2454 if test "x$ac_ct_CXX" = x; then
2457 case $cross_compiling:$ac_tool_warned in
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2461 ac_tool_warned=yes ;;
2469 # Provide some information about the compiler.
2470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2473 for ac_option in --version -v -V -qversion; do
2474 { { ac_try="$ac_compiler $ac_option >&5"
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2483 if test -s conftest.err; then
2485 ... rest of stderr output deleted ...
2486 10q' conftest.err >conftest.er1
2487 cat conftest.er1 >&5
2489 rm -f conftest.er1 conftest.err
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; }
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2505 ac_clean_files_save=$ac_clean_files
2506 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2507 # Try to create an executable without -o first, disregard a.out.
2508 # It will help us diagnose broken compilers, and finding out an intuition
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2511 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2512 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2514 # The possible output files:
2515 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2518 for ac_file in $ac_files
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2522 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2527 if { { ac_try="$ac_link_default"
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_link_default") 2>&5
2536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2537 test $ac_status = 0; }; then :
2538 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2539 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2540 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2541 # so that the user can short-circuit this test for compilers unknown to
2543 for ac_file in $ac_files ''
2545 test -f "$ac_file" || continue
2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2550 # We found the default executable, but exeext='' is most
2554 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2556 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 # We set ac_cv_exeext here because the later test for it is not
2559 # safe: cross compilers may not add the suffix if given an `-o'
2560 # argument, so we may need to know it at that point already.
2561 # Even if this section looks crufty: it has the advantage of
2568 test "$ac_cv_exeext" = no && ac_cv_exeext=
2573 if test -z "$ac_file"; then :
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2575 $as_echo "no" >&6; }
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error 77 "C++ compiler cannot create executables
2582 See \`config.log' for more details" "$LINENO" 5; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2585 $as_echo "yes" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2588 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2590 $as_echo "$ac_file" >&6; }
2591 ac_exeext=$ac_cv_exeext
2593 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2594 ac_clean_files=$ac_clean_files_save
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2596 $as_echo_n "checking for suffix of executables... " >&6; }
2597 if { { ac_try="$ac_link"
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_link") 2>&5
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; }; then :
2608 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2609 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2610 # work properly (i.e., refer to `conftest.exe'), while it won't with
2612 for ac_file in conftest.exe conftest conftest.*; do
2613 test -f "$ac_file" || continue
2615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2616 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2625 See \`config.log' for more details" "$LINENO" 5; }
2627 rm -f conftest conftest$ac_cv_exeext
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2629 $as_echo "$ac_cv_exeext" >&6; }
2631 rm -f conftest.$ac_ext
2632 EXEEXT=$ac_cv_exeext
2634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2635 /* end confdefs.h. */
2640 FILE *f = fopen ("conftest.out", "w");
2641 return ferror (f) || fclose (f) != 0;
2647 ac_clean_files="$ac_clean_files conftest.out"
2648 # Check that the compiler produces executables we can run. If not, either
2649 # the compiler is broken, or we cross compile.
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2651 $as_echo_n "checking whether we are cross compiling... " >&6; }
2652 if test "$cross_compiling" != yes; then
2653 { { ac_try="$ac_link"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_link") 2>&5
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; }
2664 if { ac_try='./conftest$ac_cv_exeext'
2665 { { case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_try") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; }; then
2677 if test "$cross_compiling" = maybe; then
2680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682 as_fn_error $? "cannot run C++ compiled programs.
2683 If you meant to cross compile, use \`--host'.
2684 See \`config.log' for more details" "$LINENO" 5; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2689 $as_echo "$cross_compiling" >&6; }
2691 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2692 ac_clean_files=$ac_clean_files_save
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2694 $as_echo_n "checking for suffix of object files... " >&6; }
2695 if ${ac_cv_objext+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2709 rm -f conftest.o conftest.obj
2710 if { { ac_try="$ac_compile"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_compile") 2>&5
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; }; then :
2721 for ac_file in conftest.o conftest.obj conftest.*; do
2722 test -f "$ac_file" || continue;
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2725 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2735 as_fn_error $? "cannot compute suffix of object files: cannot compile
2736 See \`config.log' for more details" "$LINENO" 5; }
2738 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2741 $as_echo "$ac_cv_objext" >&6; }
2742 OBJEXT=$ac_cv_objext
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2745 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2746 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2763 if ac_fn_cxx_try_compile "$LINENO"; then :
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2773 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2774 if test $ac_compiler_gnu = yes; then
2779 ac_test_CXXFLAGS=${CXXFLAGS+set}
2780 ac_save_CXXFLAGS=$CXXFLAGS
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2782 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2783 if ${ac_cv_prog_cxx_g+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2787 ac_cxx_werror_flag=yes
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2801 if ac_fn_cxx_try_compile "$LINENO"; then :
2802 ac_cv_prog_cxx_g=yes
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2816 if ac_fn_cxx_try_compile "$LINENO"; then :
2819 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2832 if ac_fn_cxx_try_compile "$LINENO"; then :
2833 ac_cv_prog_cxx_g=yes
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2843 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2844 if test "$ac_test_CXXFLAGS" = set; then
2845 CXXFLAGS=$ac_save_CXXFLAGS
2846 elif test $ac_cv_prog_cxx_g = yes; then
2847 if test "$GXX" = yes; then
2853 if test "$GXX" = yes; then
2860 ac_cpp='$CPP $CPPFLAGS'
2861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2872 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_CC+:} false; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC="$CC" # Let the user override the test.
2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir=.
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$ac_cv_prog_CC"; then
2911 # Extract the first word of "gcc", so it can be a program name with args.
2912 set dummy gcc; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$ac_ct_CC"; then
2919 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_CC="gcc"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2939 if test -n "$ac_ct_CC"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2941 $as_echo "$ac_ct_CC" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2947 if test "x$ac_ct_CC" = x; then
2950 case $cross_compiling:$ac_tool_warned in
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2954 ac_tool_warned=yes ;;
2962 if test -z "$CC"; then
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2965 set dummy ${ac_tool_prefix}cc; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_CC+:} false; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC="$CC" # Let the user override the test.
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2981 ac_cv_prog_CC="${ac_tool_prefix}cc"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 if test -n "$CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3003 if test -z "$CC"; then
3004 # Extract the first word of "cc", so it can be a program name with args.
3005 set dummy cc; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if ${ac_cv_prog_CC+:} false; then :
3009 $as_echo_n "(cached) " >&6
3011 if test -n "$CC"; then
3012 ac_cv_prog_CC="$CC" # Let the user override the test.
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3023 ac_prog_rejected=yes
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test $ac_prog_rejected = yes; then
3035 # We found a bogon in the path, so make sure we never use it.
3036 set dummy $ac_cv_prog_CC
3038 if test $# != 0; then
3039 # We chose a different compiler from the bogus one.
3040 # However, it has the same basename, so the bogon will be chosen
3041 # first if we set CC to just the basename; use the full file name.
3043 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3049 if test -n "$CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3051 $as_echo "$CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3059 if test -z "$CC"; then
3060 if test -n "$ac_tool_prefix"; then
3061 for ac_prog in cl.exe
3063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC="$CC" # Let the user override the test.
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3100 test -n "$CC" && break
3103 if test -z "$CC"; then
3105 for ac_prog in cl.exe
3107 # Extract the first word of "$ac_prog", so it can be a program name with args.
3108 set dummy $ac_prog; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$ac_ct_CC"; then
3115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir=.
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3124 ac_cv_prog_ac_ct_CC="$ac_prog"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3135 if test -n "$ac_ct_CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3137 $as_echo "$ac_ct_CC" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3144 test -n "$ac_ct_CC" && break
3147 if test "x$ac_ct_CC" = x; then
3150 case $cross_compiling:$ac_tool_warned in
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3154 ac_tool_warned=yes ;;
3163 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error $? "no acceptable C compiler found in \$PATH
3166 See \`config.log' for more details" "$LINENO" 5; }
3168 # Provide some information about the compiler.
3169 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3172 for ac_option in --version -v -V -qversion; do
3173 { { ac_try="$ac_compiler $ac_option >&5"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3182 if test -s conftest.err; then
3184 ... rest of stderr output deleted ...
3185 10q' conftest.err >conftest.er1
3186 cat conftest.er1 >&5
3188 rm -f conftest.er1 conftest.err
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3194 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3195 if ${ac_cv_c_compiler_gnu+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3212 if ac_fn_c_try_compile "$LINENO"; then :
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3222 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3223 if test $ac_compiler_gnu = yes; then
3228 ac_test_CFLAGS=${CFLAGS+set}
3229 ac_save_CFLAGS=$CFLAGS
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3231 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3232 if ${ac_cv_prog_cc_g+:} false; then :
3233 $as_echo_n "(cached) " >&6
3235 ac_save_c_werror_flag=$ac_c_werror_flag
3236 ac_c_werror_flag=yes
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 if ac_fn_c_try_compile "$LINENO"; then :
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3265 if ac_fn_c_try_compile "$LINENO"; then :
3268 ac_c_werror_flag=$ac_save_c_werror_flag
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3281 if ac_fn_c_try_compile "$LINENO"; then :
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 ac_c_werror_flag=$ac_save_c_werror_flag
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3292 $as_echo "$ac_cv_prog_cc_g" >&6; }
3293 if test "$ac_test_CFLAGS" = set; then
3294 CFLAGS=$ac_save_CFLAGS
3295 elif test $ac_cv_prog_cc_g = yes; then
3296 if test "$GCC" = yes; then
3302 if test "$GCC" = yes; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3309 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3310 if ${ac_cv_prog_cc_c89+:} false; then :
3311 $as_echo_n "(cached) " >&6
3313 ac_cv_prog_cc_c89=no
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3320 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3321 struct buf { int x; };
3322 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3323 static char *e (p, i)
3329 static char *f (char * (*g) (char **, int), char **p, ...)
3334 s = g (p, va_arg (v,int));
3339 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3340 function prototypes and stuff, but not '\xHH' hex character constants.
3341 These don't provoke an error unfortunately, instead are silently treated
3342 as 'x'. The following induces an error, until -std is added to get
3343 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3344 array size at least. It's necessary to write '\x00'==0 to get something
3345 that's true only with -std. */
3346 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3348 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3349 inside strings and character constants. */
3351 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3353 int test (int i, double x);
3354 struct s1 {int (*f) (int a);};
3355 struct s2 {int (*f) (double a);};
3356 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3362 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3367 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3368 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3370 CC="$ac_save_CC $ac_arg"
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 ac_cv_prog_cc_c89=$ac_arg
3374 rm -f core conftest.err conftest.$ac_objext
3375 test "x$ac_cv_prog_cc_c89" != "xno" && break
3377 rm -f conftest.$ac_ext
3382 case "x$ac_cv_prog_cc_c89" in
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3385 $as_echo "none needed" >&6; } ;;
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3388 $as_echo "unsupported" >&6; } ;;
3390 CC="$CC $ac_cv_prog_cc_c89"
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3392 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3394 if test "x$ac_cv_prog_cc_c89" != xno; then :
3399 ac_cpp='$CPP $CPPFLAGS'
3400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3410 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3411 # On Suns, sometimes $CPP names a directory.
3412 if test -n "$CPP" && test -d "$CPP"; then
3415 if test -z "$CPP"; then
3416 if ${ac_cv_prog_CPP+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 # Double quotes because CPP needs to be expanded
3420 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423 for ac_c_preproc_warn_flag in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3434 # include <limits.h>
3436 # include <assert.h>
3440 if ac_fn_c_try_cpp "$LINENO"; then :
3443 # Broken: fails on valid input.
3446 rm -f conftest.err conftest.i conftest.$ac_ext
3448 # OK, works on sane cases. Now check whether nonexistent headers
3449 # can be detected and how.
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if ac_fn_c_try_cpp "$LINENO"; then :
3455 # Broken: success on invalid input.
3458 # Passes both tests.
3462 rm -f conftest.err conftest.i conftest.$ac_ext
3465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3466 rm -f conftest.i conftest.err conftest.$ac_ext
3467 if $ac_preproc_ok; then :
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3480 $as_echo "$CPP" >&6; }
3482 for ac_c_preproc_warn_flag in '' yes
3484 # Use a header file that comes with gcc, so configuring glibc
3485 # with a fresh cross-compiler works.
3486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3487 # <limits.h> exists even on freestanding compilers.
3488 # On the NeXT, cc -E runs the code through the compiler's parser,
3489 # not just through cpp. "Syntax error" is here to catch this case.
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3493 # include <limits.h>
3495 # include <assert.h>
3499 if ac_fn_c_try_cpp "$LINENO"; then :
3502 # Broken: fails on valid input.
3505 rm -f conftest.err conftest.i conftest.$ac_ext
3507 # OK, works on sane cases. Now check whether nonexistent headers
3508 # can be detected and how.
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if ac_fn_c_try_cpp "$LINENO"; then :
3514 # Broken: success on invalid input.
3517 # Passes both tests.
3521 rm -f conftest.err conftest.i conftest.$ac_ext
3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3525 rm -f conftest.i conftest.err conftest.$ac_ext
3526 if $ac_preproc_ok; then :
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3532 See \`config.log' for more details" "$LINENO" 5; }
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 # Check prefix directories.
3544 if test "x$prefix" = "xNONE" ; then
3548 if test "x$exec_prefix" = "xNONE" ; then
3555 if test "x$bindir" = "xNONE" ; then
3558 BINDIR=`eval echo $bindir`
3561 # Checks for libraries.
3566 ac_cpp='$CXXCPP $CPPFLAGS'
3567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3572 # Check for C++11 support for the compiler.
3574 CPPFLAGS="$CPPFLAGS -std=c++11"
3575 CXXFLAGS="$CXXFLAGS -std=c++11"
3577 # Checks for header files.
3580 ac_cpp='$CXXCPP $CPPFLAGS'
3581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3585 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3586 if test -z "$CXXCPP"; then
3587 if ${ac_cv_prog_CXXCPP+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 # Double quotes because CXXCPP needs to be expanded
3591 for CXXCPP in "$CXX -E" "/lib/cpp"
3594 for ac_cxx_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error" is here to catch this case.
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3605 # include <limits.h>
3607 # include <assert.h>
3611 if ac_fn_cxx_try_cpp "$LINENO"; then :
3614 # Broken: fails on valid input.
3617 rm -f conftest.err conftest.i conftest.$ac_ext
3619 # OK, works on sane cases. Now check whether nonexistent headers
3620 # can be detected and how.
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3623 #include <ac_nonexistent.h>
3625 if ac_fn_cxx_try_cpp "$LINENO"; then :
3626 # Broken: success on invalid input.
3629 # Passes both tests.
3633 rm -f conftest.err conftest.i conftest.$ac_ext
3636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3637 rm -f conftest.i conftest.err conftest.$ac_ext
3638 if $ac_preproc_ok; then :
3643 ac_cv_prog_CXXCPP=$CXXCPP
3646 CXXCPP=$ac_cv_prog_CXXCPP
3648 ac_cv_prog_CXXCPP=$CXXCPP
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3651 $as_echo "$CXXCPP" >&6; }
3653 for ac_cxx_preproc_warn_flag in '' yes
3655 # Use a header file that comes with gcc, so configuring glibc
3656 # with a fresh cross-compiler works.
3657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3658 # <limits.h> exists even on freestanding compilers.
3659 # On the NeXT, cc -E runs the code through the compiler's parser,
3660 # not just through cpp. "Syntax error" is here to catch this case.
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3664 # include <limits.h>
3666 # include <assert.h>
3670 if ac_fn_cxx_try_cpp "$LINENO"; then :
3673 # Broken: fails on valid input.
3676 rm -f conftest.err conftest.i conftest.$ac_ext
3678 # OK, works on sane cases. Now check whether nonexistent headers
3679 # can be detected and how.
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3682 #include <ac_nonexistent.h>
3684 if ac_fn_cxx_try_cpp "$LINENO"; then :
3685 # Broken: success on invalid input.
3688 # Passes both tests.
3692 rm -f conftest.err conftest.i conftest.$ac_ext
3695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3696 rm -f conftest.i conftest.err conftest.$ac_ext
3697 if $ac_preproc_ok; then :
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3703 See \`config.log' for more details" "$LINENO" 5; }
3707 ac_cpp='$CXXCPP $CPPFLAGS'
3708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3714 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3715 if ${ac_cv_path_GREP+:} false; then :
3716 $as_echo_n "(cached) " >&6
3718 if test -z "$GREP"; then
3719 ac_path_GREP_found=false
3720 # Loop through the user's path and test for each of PROGNAME-LIST
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3725 test -z "$as_dir" && as_dir=.
3726 for ac_prog in grep ggrep; do
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3729 as_fn_executable_p "$ac_path_GREP" || continue
3730 # Check for GNU ac_path_GREP and select it if it is found.
3731 # Check for GNU $ac_path_GREP
3732 case `"$ac_path_GREP" --version 2>&1` in
3734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3737 $as_echo_n 0123456789 >"conftest.in"
3740 cat "conftest.in" "conftest.in" >"conftest.tmp"
3741 mv "conftest.tmp" "conftest.in"
3742 cp "conftest.in" "conftest.nl"
3743 $as_echo 'GREP' >> "conftest.nl"
3744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3746 as_fn_arith $ac_count + 1 && ac_count=$as_val
3747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3748 # Best one so far, save it but keep looking for a better one
3749 ac_cv_path_GREP="$ac_path_GREP"
3750 ac_path_GREP_max=$ac_count
3752 # 10*(2^10) chars as input seems more than enough
3753 test $ac_count -gt 10 && break
3755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3758 $ac_path_GREP_found && break 3
3763 if test -z "$ac_cv_path_GREP"; then
3764 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3767 ac_cv_path_GREP=$GREP
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3772 $as_echo "$ac_cv_path_GREP" >&6; }
3773 GREP="$ac_cv_path_GREP"
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3777 $as_echo_n "checking for egrep... " >&6; }
3778 if ${ac_cv_path_EGREP+:} false; then :
3779 $as_echo_n "(cached) " >&6
3781 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3782 then ac_cv_path_EGREP="$GREP -E"
3784 if test -z "$EGREP"; then
3785 ac_path_EGREP_found=false
3786 # Loop through the user's path and test for each of PROGNAME-LIST
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3791 test -z "$as_dir" && as_dir=.
3792 for ac_prog in egrep; do
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3795 as_fn_executable_p "$ac_path_EGREP" || continue
3796 # Check for GNU ac_path_EGREP and select it if it is found.
3797 # Check for GNU $ac_path_EGREP
3798 case `"$ac_path_EGREP" --version 2>&1` in
3800 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3803 $as_echo_n 0123456789 >"conftest.in"
3806 cat "conftest.in" "conftest.in" >"conftest.tmp"
3807 mv "conftest.tmp" "conftest.in"
3808 cp "conftest.in" "conftest.nl"
3809 $as_echo 'EGREP' >> "conftest.nl"
3810 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3811 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3812 as_fn_arith $ac_count + 1 && ac_count=$as_val
3813 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3814 # Best one so far, save it but keep looking for a better one
3815 ac_cv_path_EGREP="$ac_path_EGREP"
3816 ac_path_EGREP_max=$ac_count
3818 # 10*(2^10) chars as input seems more than enough
3819 test $ac_count -gt 10 && break
3821 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3824 $ac_path_EGREP_found && break 3
3829 if test -z "$ac_cv_path_EGREP"; then
3830 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3833 ac_cv_path_EGREP=$EGREP
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3839 $as_echo "$ac_cv_path_EGREP" >&6; }
3840 EGREP="$ac_cv_path_EGREP"
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3844 $as_echo_n "checking for ANSI C header files... " >&6; }
3845 if ${ac_cv_header_stdc+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3863 if ac_fn_cxx_try_compile "$LINENO"; then :
3864 ac_cv_header_stdc=yes
3866 ac_cv_header_stdc=no
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 if test $ac_cv_header_stdc = yes; then
3871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3878 $EGREP "memchr" >/dev/null 2>&1; then :
3881 ac_cv_header_stdc=no
3887 if test $ac_cv_header_stdc = yes; then
3888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3895 $EGREP "free" >/dev/null 2>&1; then :
3898 ac_cv_header_stdc=no
3904 if test $ac_cv_header_stdc = yes; then
3905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3906 if test "$cross_compiling" = yes; then :
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3913 #if ((' ' & 0x0FF) == 0x020)
3914 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3915 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3917 # define ISLOWER(c) \
3918 (('a' <= (c) && (c) <= 'i') \
3919 || ('j' <= (c) && (c) <= 'r') \
3920 || ('s' <= (c) && (c) <= 'z'))
3921 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3929 for (i = 0; i < 256; i++)
3930 if (XOR (islower (i), ISLOWER (i))
3931 || toupper (i) != TOUPPER (i))
3936 if ac_fn_cxx_try_run "$LINENO"; then :
3939 ac_cv_header_stdc=no
3941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3942 conftest.$ac_objext conftest.beam conftest.$ac_ext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3948 $as_echo "$ac_cv_header_stdc" >&6; }
3949 if test $ac_cv_header_stdc = yes; then
3951 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3957 inttypes.h stdint.h unistd.h
3959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3960 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3963 cat >>confdefs.h <<_ACEOF
3964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3972 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
3974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3977 cat >>confdefs.h <<_ACEOF
3978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3986 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3987 if test "x$ac_cv_header_thread" = xyes; then :
3990 echo "The C++ compiler does not support C++11 extensions which is
3991 needed for Xestia Address Book. Please install or use a
3992 compiler that supports C++11 extensions."
4001 # Check whether --with-wxdir was given.
4002 if test "${with_wxdir+set}" = set; then :
4003 withval=$with_wxdir; wx_config_name="$withval/wx-config"
4004 wx_config_args="--inplace"
4008 # Check whether --with-wx-config was given.
4009 if test "${with_wx_config+set}" = set; then :
4010 withval=$with_wx_config; wx_config_name="$withval"
4014 # Check whether --with-wx-prefix was given.
4015 if test "${with_wx_prefix+set}" = set; then :
4016 withval=$with_wx_prefix; wx_config_prefix="$withval"
4022 # Check whether --with-wx-exec-prefix was given.
4023 if test "${with_wx_exec_prefix+set}" = set; then :
4024 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4026 wx_config_exec_prefix=""
4033 if test x${WX_CONFIG_NAME+set} != xset ; then
4034 WX_CONFIG_NAME=wx-config
4037 if test "x$wx_config_name" != x ; then
4038 WX_CONFIG_NAME="$wx_config_name"
4041 if test x$wx_config_exec_prefix != x ; then
4042 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4043 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4045 if test x$wx_config_prefix != x ; then
4046 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4047 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4049 if test "$cross_compiling" = "yes"; then
4050 wx_config_args="$wx_config_args --host=$host_alias"
4053 if test -x "$WX_CONFIG_NAME" ; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4055 $as_echo_n "checking for wx-config... " >&6; }
4056 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4058 $as_echo "$WX_CONFIG_PATH" >&6; }
4060 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4061 set dummy $WX_CONFIG_NAME; ac_word=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4065 $as_echo_n "(cached) " >&6
4067 case $WX_CONFIG_PATH in
4069 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4074 for as_dir in $as_dummy
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4092 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4093 if test -n "$WX_CONFIG_PATH"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4095 $as_echo "$WX_CONFIG_PATH" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4104 if test "$WX_CONFIG_PATH" != "no" ; then
4107 min_wx_version=$reqwx
4108 if test -z "" ; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4110 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4113 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4116 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4118 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4119 wx_config_major_version=`echo $WX_VERSION | \
4120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4121 wx_config_minor_version=`echo $WX_VERSION | \
4122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4123 wx_config_micro_version=`echo $WX_VERSION | \
4124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4126 wx_requested_major_version=`echo $min_wx_version | \
4127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4128 wx_requested_minor_version=`echo $min_wx_version | \
4129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4130 wx_requested_micro_version=`echo $min_wx_version | \
4131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4135 if test "x$WX_VERSION" != x ; then
4136 if test $wx_config_major_version -gt $wx_requested_major_version; then
4139 if test $wx_config_major_version -eq $wx_requested_major_version; then
4140 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4143 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4144 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4154 if test -n "$wx_ver_ok"; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4156 $as_echo "yes (version $WX_VERSION)" >&6; }
4157 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4160 $as_echo_n "checking for wxWidgets static library... " >&6; }
4161 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4162 if test "x$WX_LIBS_STATIC" = "x"; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4167 $as_echo "yes" >&6; }
4171 if test $wx_config_major_version -gt 2; then
4174 if test $wx_config_major_version -eq 2; then
4175 if test $wx_config_minor_version -gt 2; then
4178 if test $wx_config_minor_version -eq 2; then
4179 if test $wx_config_micro_version -ge 6; then
4188 if test $wx_config_major_version -gt 2; then
4191 if test $wx_config_major_version -eq 2; then
4192 if test $wx_config_minor_version -ge 7; then
4197 if test "x$wx_has_rescomp" = x ; then
4200 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4203 if test "x$wx_has_cppflags" = x ; then
4204 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4205 WX_CPPFLAGS=$WX_CFLAGS
4206 WX_CXXFLAGS=$WX_CFLAGS
4208 WX_CFLAGS_ONLY=$WX_CFLAGS
4209 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4211 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4212 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4213 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4215 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4216 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4223 if test "x$WX_VERSION" = x; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4228 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4238 if test ! -z ""; then
4241 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4242 build with the following settings:
4244 but such build is not available.
4246 To see the wxWidgets builds available on this system, please use
4247 'wx-config --list' command. To use the default build, returned by
4248 'wx-config --selected-config', use the options with their 'auto'
4254 The requested wxWidgets build couldn't be found.
4257 If you still get this error, then check that 'wx-config' is
4258 in path, the directory where wxWidgets libraries are installed
4259 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4260 or equivalent variable and wxWidgets version is $reqwx or above."
4262 as_fn_error $? "$wx_error_message" "$LINENO" 5
4288 WX_VERSION_MAJOR="$wx_config_major_version"
4289 WX_VERSION_MINOR="$wx_config_minor_version"
4290 WX_VERSION_MICRO="$wx_config_micro_version"
4296 if test "$wxWin" != 1; then
4298 wxWidgets must be installed on your system.
4300 Please check that wx-config is in path, the directory where wxWidgets libraries
4301 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4302 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4307 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4308 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4309 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4310 LIBS="$LIBS $WX_LIBS"
4312 # SFML Audio Library
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4315 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4316 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 ac_check_lib_save_LIBS=$LIBS
4320 LIBS="-lsfml-audio $LIBS"
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4333 if ac_fn_cxx_try_link "$LINENO"; then :
4334 ac_cv_lib_sfml_audio_main=yes
4336 ac_cv_lib_sfml_audio_main=no
4338 rm -f core conftest.err conftest.$ac_objext \
4339 conftest$ac_exeext conftest.$ac_ext
4340 LIBS=$ac_check_lib_save_LIBS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4343 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4344 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4345 cat >>confdefs.h <<_ACEOF
4346 #define HAVE_LIBSFML_AUDIO 1
4349 LIBS="-lsfml-audio $LIBS"
4352 echo "The SFML libraries must be installed on your system.
4353 Please check that this library is installed properly before
4354 running configure again."
4360 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4361 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4364 echo "The SFML library headers must be installed on your system.
4365 Please check that the library headers are installed properly
4366 before running configure again."
4374 ac_cpp='$CPP $CPPFLAGS'
4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4384 $as_echo_n "checking for main in -lcurl... " >&6; }
4385 if ${ac_cv_lib_curl_main+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 ac_check_lib_save_LIBS=$LIBS
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4402 if ac_fn_c_try_link "$LINENO"; then :
4403 ac_cv_lib_curl_main=yes
4405 ac_cv_lib_curl_main=no
4407 rm -f core conftest.err conftest.$ac_objext \
4408 conftest$ac_exeext conftest.$ac_ext
4409 LIBS=$ac_check_lib_save_LIBS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4412 $as_echo "$ac_cv_lib_curl_main" >&6; }
4413 if test "x$ac_cv_lib_curl_main" = xyes; then :
4414 cat >>confdefs.h <<_ACEOF
4415 #define HAVE_LIBCURL 1
4421 echo "The cURL library must be installed on your system.
4422 Please check that this library is installed properly before
4423 running configure again."
4430 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4431 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4434 echo "The cURL library headers must be installed on your system.
4435 Please check that the library headers are installed properly
4436 before running configure again."
4443 # Extract the first word of "curl-config", so it can be a program name with args.
4444 set dummy curl-config; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$FOUND_CURLCONFIG"; then
4451 ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_FOUND_CURLCONFIG="yes"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4471 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4472 if test -n "$FOUND_CURLCONFIG"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4474 $as_echo "$FOUND_CURLCONFIG" >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4481 if test x$FOUND_CURLCONFIG = xyes; then
4482 FOUND_CURLCONFIG_RES_TRUE=
4483 FOUND_CURLCONFIG_RES_FALSE='#'
4485 FOUND_CURLCONFIG_RES_TRUE='#'
4486 FOUND_CURLCONFIG_RES_FALSE=
4490 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4492 echo "Cannot find the curl-config program on your system.
4493 If it is installed on your system, adjust your PATH environment
4494 variable before running configure again."
4501 # Extract the first word of "file", so it can be a program name with args.
4502 set dummy file; ac_word=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if ${ac_cv_prog_FOUND_FILE+:} false; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$FOUND_FILE"; then
4509 ac_cv_prog_FOUND_FILE="$FOUND_FILE" # Let the user override the test.
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_FOUND_FILE="yes"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 test -z "$ac_cv_prog_FOUND_FILE" && ac_cv_prog_FOUND_FILE="no"
4529 FOUND_FILE=$ac_cv_prog_FOUND_FILE
4530 if test -n "$FOUND_FILE"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_FILE" >&5
4532 $as_echo "$FOUND_FILE" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4539 if test x$FOUND_FILE = xyes; then
4540 FOUND_FILE_RES_TRUE=
4541 FOUND_FILE_RES_FALSE='#'
4543 FOUND_FILE_RES_TRUE='#'
4544 FOUND_FILE_RES_FALSE=
4548 if test -z "$FOUND_FILE_RES_TRUE"; then :
4550 echo "Cannot find the file program on your system.
4551 If it is installed on your system, adjust your PATH environment
4552 variable before running configure again."
4557 # uuidgen application
4559 # Extract the first word of "uuidgen", so it can be a program name with args.
4560 set dummy uuidgen; ac_word=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -n "$FOUND_UUIDGEN"; then
4567 ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 test -z "$as_dir" && as_dir=.
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4576 ac_cv_prog_FOUND_UUIDGEN="yes"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4587 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4588 if test -n "$FOUND_UUIDGEN"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4590 $as_echo "$FOUND_UUIDGEN" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4597 if test x$FOUND_UUIDGEN = xyes; then
4598 FOUND_UUIDGEN_RES_TRUE=
4599 FOUND_UUIDGEN_RES_FALSE='#'
4601 FOUND_UUIDGEN_RES_TRUE='#'
4602 FOUND_UUIDGEN_RES_FALSE=
4606 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4608 echo "Cannot find the uuidgen program on your system.
4609 If it is installed on your system, adjust your PATH environment
4610 variable before running configure again."
4615 # Checks for typedefs, structures, and compiler characteristics.
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4617 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4618 if ${ac_cv_header_stdbool_h+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4624 #include <stdbool.h>
4626 "error: bool is not defined"
4629 "error: false is not defined"
4632 "error: false is not 0"
4635 "error: true is not defined"
4638 "error: true is not 1"
4640 #ifndef __bool_true_false_are_defined
4641 "error: __bool_true_false_are_defined is not defined"
4644 struct s { _Bool s: 1; _Bool t; } s;
4646 char a[true == 1 ? 1 : -1];
4647 char b[false == 0 ? 1 : -1];
4648 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4649 char d[(bool) 0.5 == true ? 1 : -1];
4650 /* See body of main program for 'e'. */
4651 char f[(_Bool) 0.0 == false ? 1 : -1];
4653 char h[sizeof (_Bool)];
4655 enum { j = false, k = true, l = false * true, m = true * 256 };
4656 /* The following fails for
4657 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4659 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4660 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4661 /* Catch a bug in an HP-UX C compiler. See
4662 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4663 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4675 /* Refer to every declared value, to avoid compiler optimizations. */
4676 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4677 + !m + !n + !o + !p + !q + !pq);
4683 if ac_fn_c_try_compile "$LINENO"; then :
4684 ac_cv_header_stdbool_h=yes
4686 ac_cv_header_stdbool_h=no
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4691 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4692 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4693 if test "x$ac_cv_type__Bool" = xyes; then :
4695 cat >>confdefs.h <<_ACEOF
4696 #define HAVE__BOOL 1
4703 if test $ac_cv_header_stdbool_h = yes; then
4705 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4710 $as_echo_n "checking for inline... " >&6; }
4711 if ${ac_cv_c_inline+:} false; then :
4712 $as_echo_n "(cached) " >&6
4715 for ac_kw in inline __inline__ __inline; do
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4720 static $ac_kw foo_t static_foo () {return 0; }
4721 $ac_kw foo_t foo () {return 0; }
4725 if ac_fn_c_try_compile "$LINENO"; then :
4726 ac_cv_c_inline=$ac_kw
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 test "$ac_cv_c_inline" != no && break
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4734 $as_echo "$ac_cv_c_inline" >&6; }
4736 case $ac_cv_c_inline in
4739 case $ac_cv_c_inline in
4741 *) ac_val=$ac_cv_c_inline;;
4743 cat >>confdefs.h <<_ACEOF
4745 #define inline $ac_val
4752 # Check for Google Test and if it exists, enable the tests.
4755 ac_cpp='$CXXCPP $CPPFLAGS'
4756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4760 for ac_header in gtest/gtest.h
4762 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
4763 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
4764 cat >>confdefs.h <<_ACEOF
4765 #define HAVE_GTEST_GTEST_H 1
4775 ac_cpp='$CPP $CPPFLAGS'
4776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4783 CPPFLAGSOLD=CPPFLAGS
4784 CPPFLAGS=`xml2-config --cflags`
4786 # Extract the first word of "xml2-config", so it can be a program name with args.
4787 set dummy xml2-config; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
4791 $as_echo_n "(cached) " >&6
4793 if test -n "$FOUND_XML2CONFIG"; then
4794 ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_FOUND_XML2CONFIG="yes"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
4814 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
4815 if test -n "$FOUND_XML2CONFIG"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
4817 $as_echo "$FOUND_XML2CONFIG" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4824 if test x$FOUND_XML2CONFIG = xyes; then
4825 FOUND_XML2CONFIG_RES_TRUE=
4826 FOUND_XML2CONFIG_RES_FALSE='#'
4828 FOUND_XML2CONFIG_RES_TRUE='#'
4829 FOUND_XML2CONFIG_RES_FALSE=
4833 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
4835 echo "Cannot find the xml2-config program on your system.
4836 If it is installed on your system, adjust your PATH environment
4837 variable before running configure again."
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4843 $as_echo_n "checking for main in -lxml2... " >&6; }
4844 if ${ac_cv_lib_xml2_main+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 ac_check_lib_save_LIBS=$LIBS
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4861 if ac_fn_c_try_link "$LINENO"; then :
4862 ac_cv_lib_xml2_main=yes
4864 ac_cv_lib_xml2_main=no
4866 rm -f core conftest.err conftest.$ac_objext \
4867 conftest$ac_exeext conftest.$ac_ext
4868 LIBS=$ac_check_lib_save_LIBS
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4871 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4872 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4873 cat >>confdefs.h <<_ACEOF
4874 #define HAVE_LIBXML2 1
4880 echo "The libxml2 library must be installed on your system.
4881 Please check that this library is installed properly before
4882 running configure again."
4888 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4891 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4893 cat >>confdefs.h <<_ACEOF
4894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4898 echo "The libxml2 library headers must be installed on your system.
4899 Please check that the library headers are installed properly
4900 before running configure again."
4908 CPPFLAGS=CPPFLAGSOLD
4910 # Setup the debug setting.
4912 # Check whether --enable-debug was given.
4913 if test "${enable_debug+set}" = set; then :
4914 enableval=$enable_debug; case "${enableval}" in
4917 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4924 # Checks for library functions.
4926 if test x$debug = xtrue; then
4934 if test -z "$DEBUG_TRUE"; then :
4941 if test -z "$DEBUG_TRUE"; then :
4942 DBGSTATUS="DEBUG=true"
4945 DBGSTATUS="DEBUG=false"
4948 if test -z "$DEBUG_TRUE"; then :
4949 echo "Debugging mode has been enabled."
4952 if test x$gtestfound = xyes; then
4954 GTEST_FOUND_FALSE='#'
4956 GTEST_FOUND_TRUE='#'
4960 if test -z "$GTEST_FOUND_TRUE"; then :
4961 GTEST=`cat tests/test.commands`
4964 GTEST=" @echo \"Google Test was not found on the system. Unable to build tests.\""
4967 if test -z "$GTEST_FOUND_TRUE"; then :
4968 echo "Google Test found on the system. Enabling Unit Tests."
4971 ac_config_files="$ac_config_files Makefile"
4973 cat >confcache <<\_ACEOF
4974 # This file is a shell script that caches the results of configure
4975 # tests run on this system so they can be shared between configure
4976 # scripts and configure runs, see configure's option --config-cache.
4977 # It is not useful on other systems. If it contains results you don't
4978 # want to keep, you may remove or edit it.
4980 # config.status only pays attention to the cache file if you give it
4981 # the --recheck option to rerun configure.
4983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4989 # The following way of writing the cache mishandles newlines in values,
4990 # but we know of no workaround that is simple, portable, and efficient.
4991 # So, we kill variables containing newlines.
4992 # Ultrix sh set writes to stderr and can't be redirected directly,
4993 # and sets the high bit in the cache file unless we assign to the vars.
4995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4996 eval ac_val=\$$ac_var
5000 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5004 _ | IFS | as_nl) ;; #(
5005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5006 *) { eval $ac_var=; unset $ac_var;} ;;
5012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5013 *${as_nl}ac_space=\ *)
5014 # `set' does not quote correctly, so add quotes: double-quote
5015 # substitution turns \\\\ into \\, and sed turns \\ into \.
5018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5021 # `set' quotes correctly as required by POSIX, so do not add quotes.
5022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5036 if test -w "$cache_file"; then
5037 if test "x$cache_file" != "x/dev/null"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5039 $as_echo "$as_me: updating cache $cache_file" >&6;}
5040 if test ! -f "$cache_file" || test -h "$cache_file"; then
5041 cat confcache >"$cache_file"
5043 case $cache_file in #(
5045 mv -f confcache "$cache_file"$$ &&
5046 mv -f "$cache_file"$$ "$cache_file" ;; #(
5048 mv -f confcache "$cache_file" ;;
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5059 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5060 # Let make expand exec_prefix.
5061 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5063 # Transform confdefs.h into DEFS.
5064 # Protect against shell expansion while executing Makefile rules.
5065 # Protect against Makefile macro expansion.
5067 # If the first sed substitution is executed (which looks for macros that
5068 # take arguments), then branch to the quote section. Otherwise,
5069 # look for a macro that doesn't take arguments.
5079 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5081 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5085 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5098 DEFS=`sed -n "$ac_script" confdefs.h`
5104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5105 # 1. Remove the extension, and $U if already installed.
5106 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5107 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5109 # will be set to the directory where LIBOBJS objects are built.
5110 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5111 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5115 LTLIBOBJS=$ac_ltlibobjs
5118 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5119 as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5122 if test -z "${FOUND_FILE_RES_TRUE}" && test -z "${FOUND_FILE_RES_FALSE}"; then
5123 as_fn_error $? "conditional \"FOUND_FILE_RES\" was never defined.
5124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5126 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5127 as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5130 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5131 as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5134 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5135 as_fn_error $? "conditional \"DEBUG\" was never defined.
5136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5138 if test -z "${GTEST_FOUND_TRUE}" && test -z "${GTEST_FOUND_FALSE}"; then
5139 as_fn_error $? "conditional \"GTEST_FOUND\" was never defined.
5140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5143 : "${CONFIG_STATUS=./config.status}"
5145 ac_clean_files_save=$ac_clean_files
5146 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5148 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5150 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5152 # Generated by $as_me.
5153 # Run this file to recreate the current configuration.
5154 # Compiler output produced by configure, useful for debugging
5155 # configure, is in config.log if it exists.
5161 SHELL=\${CONFIG_SHELL-$SHELL}
5164 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5165 ## -------------------- ##
5166 ## M4sh Initialization. ##
5167 ## -------------------- ##
5169 # Be more Bourne compatible
5170 DUALCASE=1; export DUALCASE # for MKS sh
5171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5174 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5175 # is contrary to our usage. Disable this feature.
5176 alias -g '${1+"$@"}'='"$@"'
5177 setopt NO_GLOB_SUBST
5179 case `(set -o) 2>/dev/null` in #(
5191 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5192 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5193 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5195 # Prefer a ksh shell builtin over an external printf program on Solaris,
5196 # but without wasting forks for bash or zsh.
5197 if test -z "$BASH_VERSION$ZSH_VERSION" \
5198 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5199 as_echo='print -r --'
5200 as_echo_n='print -rn --'
5201 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5202 as_echo='printf %s\n'
5203 as_echo_n='printf %s'
5205 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5206 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5207 as_echo_n='/usr/ucb/echo -n'
5209 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5210 as_echo_n_body='eval
5214 expr "X$arg" : "X\\(.*\\)$as_nl";
5215 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5217 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5219 export as_echo_n_body
5220 as_echo_n='sh -c $as_echo_n_body as_echo'
5223 as_echo='sh -c $as_echo_body as_echo'
5226 # The user is always right.
5227 if test "${PATH_SEPARATOR+set}" != set; then
5229 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5230 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5237 # We need space, tab and new line, in precisely that order. Quoting is
5238 # there to prevent editors from complaining about space-tab.
5239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5240 # splitting by setting IFS to empty value.)
5243 # Find who we are. Look in the path if we contain no directory separator.
5246 *[\\/]* ) as_myself=$0 ;;
5247 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir=.
5252 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5258 # We did not find ourselves, most probably we were run as `sh COMMAND'
5259 # in which case we are not to be found in the path.
5260 if test "x$as_myself" = x; then
5263 if test ! -f "$as_myself"; then
5264 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5268 # Unset variables that we do not need and which cause bugs (e.g. in
5269 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5270 # suppresses any "Segmentation fault" message there. '((' could
5271 # trigger a bug in pdksh 5.2.14.
5272 for as_var in BASH_ENV ENV MAIL MAILPATH
5273 do eval test x\${$as_var+set} = xset \
5274 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5287 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5290 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5291 # ----------------------------------------
5292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5294 # script with STATUS, using 1 if that was 0.
5297 as_status=$1; test $as_status -eq 0 && as_status=1
5299 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5300 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5302 $as_echo "$as_me: error: $2" >&2
5303 as_fn_exit $as_status
5307 # as_fn_set_status STATUS
5308 # -----------------------
5309 # Set $? to STATUS, without forking.
5313 } # as_fn_set_status
5317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5327 # Portably unset VAR.
5330 { eval $1=; unset $1;}
5332 as_unset=as_fn_unset
5333 # as_fn_append VAR VALUE
5334 # ----------------------
5335 # Append the text in VALUE to the end of the definition contained in VAR. Take
5336 # advantage of any shell optimizations that allow amortized linear growth over
5337 # repeated appends, instead of the typical quadratic growth present in naive
5339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5340 eval 'as_fn_append ()
5351 # as_fn_arith ARG...
5352 # ------------------
5353 # Perform arithmetic evaluation on the ARGs, and store the result in the
5354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5355 # must be portable across $(()) and expr.
5356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5357 eval 'as_fn_arith ()
5364 as_val=`expr "$@" || test $? -eq 1`
5369 if expr a : '\(a\)' >/dev/null 2>&1 &&
5370 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5376 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5377 as_basename=basename
5382 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5388 as_me=`$as_basename -- "$0" ||
5389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5390 X"$0" : 'X\(//\)$' \| \
5391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5393 sed '/^.*\/\([^/][^/]*\)\/*$/{
5407 # Avoid depending upon Character Ranges.
5408 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5409 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5410 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5411 as_cr_digits='0123456789'
5412 as_cr_alnum=$as_cr_Letters$as_cr_digits
5414 ECHO_C= ECHO_N= ECHO_T=
5415 case `echo -n x` in #(((((
5417 case `echo 'xy\c'` in
5418 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5420 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5427 rm -f conf$$ conf$$.exe conf$$.file
5428 if test -d conf$$.dir; then
5429 rm -f conf$$.dir/conf$$.file
5432 mkdir conf$$.dir 2>/dev/null
5434 if (echo >conf$$.file) 2>/dev/null; then
5435 if ln -s conf$$.file conf$$ 2>/dev/null; then
5437 # ... but there are two gotchas:
5438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5440 # In both cases, we have to default to `cp -pR'.
5441 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5443 elif ln conf$$.file conf$$ 2>/dev/null; then
5451 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5452 rmdir conf$$.dir 2>/dev/null
5457 # Create "$as_dir" as a directory, including parents if necessary.
5462 -*) as_dir=./$as_dir;;
5464 test -d "$as_dir" || eval $as_mkdir_p || {
5468 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5469 *) as_qdir=$as_dir;;
5471 as_dirs="'$as_qdir' $as_dirs"
5472 as_dir=`$as_dirname -- "$as_dir" ||
5473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5474 X"$as_dir" : 'X\(//\)[^/]' \| \
5475 X"$as_dir" : 'X\(//\)$' \| \
5476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5477 $as_echo X"$as_dir" |
5478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5495 test -d "$as_dir" && break
5497 test -z "$as_dirs" || eval "mkdir $as_dirs"
5498 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5502 if mkdir -p . 2>/dev/null; then
5503 as_mkdir_p='mkdir -p "$as_dir"'
5505 test -d ./-p && rmdir ./-p
5510 # as_fn_executable_p FILE
5511 # -----------------------
5512 # Test if FILE is an executable regular file.
5513 as_fn_executable_p ()
5515 test -f "$1" && test -x "$1"
5516 } # as_fn_executable_p
5518 as_executable_p=as_fn_executable_p
5520 # Sed expression to map a string onto a valid CPP name.
5521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5523 # Sed expression to map a string onto a valid variable name.
5524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5528 ## ----------------------------------- ##
5529 ## Main body of $CONFIG_STATUS script. ##
5530 ## ----------------------------------- ##
5532 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5535 # Save the log message, to keep $0 and so on meaningful, and to
5536 # report actual input values of CONFIG_FILES etc. instead of their
5537 # values after options handling.
5539 This file was extended by Xestia Address Book $as_me 0.05, which was
5540 generated by GNU Autoconf 2.69. Invocation command line was
5542 CONFIG_FILES = $CONFIG_FILES
5543 CONFIG_HEADERS = $CONFIG_HEADERS
5544 CONFIG_LINKS = $CONFIG_LINKS
5545 CONFIG_COMMANDS = $CONFIG_COMMANDS
5548 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5553 case $ac_config_files in *"
5554 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5560 # Files that config.status was made for.
5561 config_files="$ac_config_files"
5565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5567 \`$as_me' instantiates files and other configuration actions
5568 from templates according to the current configuration. Unless the files
5569 and actions are specified as TAGs, all are instantiated by default.
5571 Usage: $0 [OPTION]... [TAG]...
5573 -h, --help print this help, then exit
5574 -V, --version print version number and configuration settings, then exit
5575 --config print configuration, then exit
5576 -q, --quiet, --silent
5577 do not print progress messages
5578 -d, --debug don't remove temporary files
5579 --recheck update $as_me by reconfiguring in the same conditions
5580 --file=FILE[:TEMPLATE]
5581 instantiate the configuration file FILE
5583 Configuration files:
5586 Report bugs to <bugs@xestia.co.uk>."
5589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5590 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5592 Xestia Address Book config.status 0.05
5593 configured by $0, generated by GNU Autoconf 2.69,
5594 with options \\"\$ac_cs_config\\"
5596 Copyright (C) 2012 Free Software Foundation, Inc.
5597 This config.status script is free software; the Free Software Foundation
5598 gives unlimited permission to copy, distribute and modify it."
5602 test -n "\$AWK" || AWK=awk
5605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5606 # The default lists apply if the user does not specify any file.
5612 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5613 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5617 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5629 # Handling of the options.
5630 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5632 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5633 $as_echo "$ac_cs_version"; exit ;;
5634 --config | --confi | --conf | --con | --co | --c )
5635 $as_echo "$ac_cs_config"; exit ;;
5636 --debug | --debu | --deb | --de | --d | -d )
5638 --file | --fil | --fi | --f )
5641 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5642 '') as_fn_error $? "missing file argument" ;;
5644 as_fn_append CONFIG_FILES " '$ac_optarg'"
5645 ac_need_defaults=false;;
5646 --he | --h | --help | --hel | -h )
5647 $as_echo "$ac_cs_usage"; exit ;;
5648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5649 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5653 -*) as_fn_error $? "unrecognized option: \`$1'
5654 Try \`$0 --help' for more information." ;;
5656 *) as_fn_append ac_config_targets " $1"
5657 ac_need_defaults=false ;;
5663 ac_configure_extra_args=
5665 if $ac_cs_silent; then
5667 ac_configure_extra_args="$ac_configure_extra_args --silent"
5671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5672 if \$ac_cs_recheck; then
5673 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5675 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5676 CONFIG_SHELL='$SHELL'
5682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5686 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5687 ## Running $as_me. ##
5693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5698 # Handling of arguments.
5699 for ac_config_target in $ac_config_targets
5701 case $ac_config_target in
5702 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5704 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5709 # If the user did not use the arguments to specify the items to instantiate,
5710 # then the envvar interface is used. Set only those that are not.
5711 # We use the long form for the default assignment because of an extremely
5712 # bizarre bug on SunOS 4.1.3.
5713 if $ac_need_defaults; then
5714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5717 # Have a temporary directory for convenience. Make it in the build tree
5718 # simply because there is no reason against having it here, and in addition,
5719 # creating and moving files from /tmp can sometimes cause problems.
5720 # Hook for its removal unless debugging.
5721 # Note that there is a small window in which the directory will not be cleaned:
5722 # after its creation but before its name has been assigned to `$tmp'.
5726 trap 'exit_status=$?
5728 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5730 trap 'as_fn_exit 1' 1 2 13 15
5732 # Create a (secure) tmp directory for tmp files.
5735 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5739 tmp=./conf$$-$RANDOM
5740 (umask 077 && mkdir "$tmp")
5741 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5744 # Set up the scripts for CONFIG_FILES section.
5745 # No need to generate them if there are no CONFIG_FILES.
5746 # This happens for instance with `./config.status config.h'.
5747 if test -n "$CONFIG_FILES"; then
5750 ac_cr=`echo X | tr X '\015'`
5751 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5752 # But we know of no other shell where ac_cr would be empty at this
5753 # point, so we can use a bashism as a fallback.
5754 if test "x$ac_cr" = x; then
5755 eval ac_cr=\$\'\\r\'
5757 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5758 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5764 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5769 echo "cat >conf$$subs.awk <<_ACEOF" &&
5770 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5773 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5774 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5776 for ac_last_try in false false false false false :; do
5777 . ./conf$$subs.sh ||
5778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5780 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5781 if test $ac_delim_n = $ac_delim_num; then
5783 elif $ac_last_try; then
5784 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5786 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5792 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5796 s/^/S["/; s/!.*/"]=/
5806 s/\(.\{148\}\)..*/\1/
5808 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5813 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5820 s/\(.\{148\}\)..*/\1/
5822 s/["\\]/\\&/g; s/^/"/; s/$/"/
5826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5831 ' <conf$$subs.awk | sed '
5836 ' >>$CONFIG_STATUS || ac_write_fail=1
5837 rm -f conf$$subs.awk
5838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5840 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5841 for (key in S) S_is_set[key] = 1
5847 nfields = split(line, field, "@")
5849 len = length(field[1])
5850 for (i = 2; i < nfields; i++) {
5852 keylen = length(key)
5853 if (S_is_set[key]) {
5855 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5856 len += length(value) + length(field[++i])
5867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5869 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5872 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5873 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5876 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5877 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5878 # trailing colons and then remove the whole line if VPATH becomes empty
5879 # (actually we leave an empty line to preserve line numbers).
5880 if test "x$srcdir" = x.; then
5881 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5900 fi # test -n "$CONFIG_FILES"
5903 eval set X " :F $CONFIG_FILES "
5908 :[FHLC]) ac_mode=$ac_tag; continue;;
5910 case $ac_mode$ac_tag in
5912 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5913 :[FH]-) ac_tag=-:-;;
5914 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5931 -) ac_f="$ac_tmp/stdin";;
5932 *) # Look for the file first in the build tree, then in the source tree
5933 # (if the path is not absolute). The absolute path cannot be DOS-style,
5934 # because $ac_f cannot contain `:'.
5938 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5940 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5942 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5943 as_fn_append ac_file_inputs " '$ac_f'"
5946 # Let's still pretend it is `configure' which instantiates (i.e., don't
5947 # use $as_me), people would be surprised to read:
5948 # /* config.h. Generated by config.status. */
5949 configure_input='Generated from '`
5950 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5952 if test x"$ac_file" != x-; then
5953 configure_input="$ac_file. $configure_input"
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5955 $as_echo "$as_me: creating $ac_file" >&6;}
5957 # Neutralize special characters interpreted by sed in replacement strings.
5958 case $configure_input in #(
5959 *\&* | *\|* | *\\* )
5960 ac_sed_conf_input=`$as_echo "$configure_input" |
5961 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5962 *) ac_sed_conf_input=$configure_input;;
5966 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5972 ac_dir=`$as_dirname -- "$ac_file" ||
5973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5974 X"$ac_file" : 'X\(//\)[^/]' \| \
5975 X"$ac_file" : 'X\(//\)$' \| \
5976 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5977 $as_echo X"$ac_file" |
5978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5995 as_dir="$ac_dir"; as_fn_mkdir_p
5999 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6001 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6002 # A ".." for each directory in $ac_dir_suffix.
6003 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6004 case $ac_top_builddir_sub in
6005 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6006 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6009 ac_abs_top_builddir=$ac_pwd
6010 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6011 # for backward compatibility:
6012 ac_top_builddir=$ac_top_build_prefix
6015 .) # We are building in place.
6017 ac_top_srcdir=$ac_top_builddir_sub
6018 ac_abs_top_srcdir=$ac_pwd ;;
6019 [\\/]* | ?:[\\/]* ) # Absolute name.
6020 ac_srcdir=$srcdir$ac_dir_suffix;
6021 ac_top_srcdir=$srcdir
6022 ac_abs_top_srcdir=$srcdir ;;
6024 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6025 ac_top_srcdir=$ac_top_build_prefix$srcdir
6026 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6028 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6040 # If the template does not know about datarootdir, expand it.
6041 # FIXME: This hack should be removed a few years after 2.60.
6042 ac_datarootdir_hack=; ac_datarootdir_seen=
6053 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6054 *datarootdir*) ac_datarootdir_seen=yes;;
6055 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6057 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6060 ac_datarootdir_hack='
6061 s&@datadir@&$datadir&g
6062 s&@docdir@&$docdir&g
6063 s&@infodir@&$infodir&g
6064 s&@localedir@&$localedir&g
6065 s&@mandir@&$mandir&g
6066 s&\\\${datarootdir}&$datarootdir&g' ;;
6070 # Neutralize VPATH when `$srcdir' = `.'.
6071 # Shell code in configure.ac might set extrasub.
6072 # FIXME: do we really want to maintain this feature?
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6074 ac_sed_extra="$ac_vpsub
6077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6079 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6080 s|@configure_input@|$ac_sed_conf_input|;t t
6081 s&@top_builddir@&$ac_top_builddir_sub&;t t
6082 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6083 s&@srcdir@&$ac_srcdir&;t t
6084 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6085 s&@top_srcdir@&$ac_top_srcdir&;t t
6086 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6087 s&@builddir@&$ac_builddir&;t t
6088 s&@abs_builddir@&$ac_abs_builddir&;t t
6089 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6090 $ac_datarootdir_hack
6092 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6093 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6095 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6096 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6097 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6098 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6100 which seems to be undefined. Please make sure it is defined" >&5
6101 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6102 which seems to be undefined. Please make sure it is defined" >&2;}
6104 rm -f "$ac_tmp/stdin"
6106 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6107 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6121 ac_clean_files=$ac_clean_files_save
6123 test $ac_write_fail = 0 ||
6124 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6127 # configure is writing to config.log, and then calls config.status.
6128 # config.status does its own redirection, appending to config.log.
6129 # Unfortunately, on DOS this fails, as config.log is still kept open
6130 # by configure, so config.status won't be able to write to it; its
6131 # output is simply discarded. So we exec the FD to /dev/null,
6132 # effectively closing config.log, so it can be properly (re)opened and
6133 # appended to by config.status. When coming back to configure, we
6134 # need to make the FD available again.
6135 if test "$no_create" != yes; then
6137 ac_config_status_args=
6138 test "$silent" = yes &&
6139 ac_config_status_args="$ac_config_status_args --quiet"
6141 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6143 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6144 # would make configure fail if this is the last instruction.
6145 $ac_cs_success || as_fn_exit 1
6147 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6149 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}