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
702 program_transform_name
715 enable_option_checking
722 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 ac_unrecognized_opts=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802 # Accept the important Cygnus configure options, so we can diagnose typos.
804 case $ac_dashdash$ac_option in
808 -bindir | --bindir | --bindi | --bind | --bin | --bi)
810 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
813 -build | --build | --buil | --bui | --bu)
814 ac_prev=build_alias ;;
815 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
816 build_alias=$ac_optarg ;;
818 -cache-file | --cache-file | --cache-fil | --cache-fi \
819 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
820 ac_prev=cache_file ;;
821 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
822 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
823 cache_file=$ac_optarg ;;
826 cache_file=config.cache ;;
828 -datadir | --datadir | --datadi | --datad)
830 -datadir=* | --datadir=* | --datadi=* | --datad=*)
831 datadir=$ac_optarg ;;
833 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
834 | --dataroo | --dataro | --datar)
835 ac_prev=datarootdir ;;
836 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
837 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
838 datarootdir=$ac_optarg ;;
840 -disable-* | --disable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 as_fn_error $? "invalid feature name: $ac_useropt"
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=no ;;
856 -docdir | --docdir | --docdi | --doc | --do)
858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 -enable-* | --enable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 as_fn_error $? "invalid feature name: $ac_useropt"
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=\$ac_optarg ;;
882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
883 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
884 | --exec | --exe | --ex)
885 ac_prev=exec_prefix ;;
886 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
887 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
888 | --exec=* | --exe=* | --ex=*)
889 exec_prefix=$ac_optarg ;;
891 -gas | --gas | --ga | --g)
892 # Obsolete; use --with-gas.
895 -help | --help | --hel | --he | -h)
897 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
898 ac_init_help=recursive ;;
899 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
900 ac_init_help=short ;;
902 -host | --host | --hos | --ho)
903 ac_prev=host_alias ;;
904 -host=* | --host=* | --hos=* | --ho=*)
905 host_alias=$ac_optarg ;;
907 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
909 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
911 htmldir=$ac_optarg ;;
913 -includedir | --includedir | --includedi | --included | --include \
914 | --includ | --inclu | --incl | --inc)
915 ac_prev=includedir ;;
916 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
917 | --includ=* | --inclu=* | --incl=* | --inc=*)
918 includedir=$ac_optarg ;;
920 -infodir | --infodir | --infodi | --infod | --info | --inf)
922 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
923 infodir=$ac_optarg ;;
925 -libdir | --libdir | --libdi | --libd)
927 -libdir=* | --libdir=* | --libdi=* | --libd=*)
930 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
931 | --libexe | --libex | --libe)
932 ac_prev=libexecdir ;;
933 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
934 | --libexe=* | --libex=* | --libe=*)
935 libexecdir=$ac_optarg ;;
937 -localedir | --localedir | --localedi | --localed | --locale)
939 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940 localedir=$ac_optarg ;;
942 -localstatedir | --localstatedir | --localstatedi | --localstated \
943 | --localstate | --localstat | --localsta | --localst | --locals)
944 ac_prev=localstatedir ;;
945 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
946 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
947 localstatedir=$ac_optarg ;;
949 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
951 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955 # Obsolete; use --without-fp.
958 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
959 | --no-cr | --no-c | -n)
962 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
963 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
966 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
967 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
968 | --oldin | --oldi | --old | --ol | --o)
969 ac_prev=oldincludedir ;;
970 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
971 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
972 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
973 oldincludedir=$ac_optarg ;;
975 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
977 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
980 -program-prefix | --program-prefix | --program-prefi | --program-pref \
981 | --program-pre | --program-pr | --program-p)
982 ac_prev=program_prefix ;;
983 -program-prefix=* | --program-prefix=* | --program-prefi=* \
984 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
985 program_prefix=$ac_optarg ;;
987 -program-suffix | --program-suffix | --program-suffi | --program-suff \
988 | --program-suf | --program-su | --program-s)
989 ac_prev=program_suffix ;;
990 -program-suffix=* | --program-suffix=* | --program-suffi=* \
991 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
992 program_suffix=$ac_optarg ;;
994 -program-transform-name | --program-transform-name \
995 | --program-transform-nam | --program-transform-na \
996 | --program-transform-n | --program-transform- \
997 | --program-transform | --program-transfor \
998 | --program-transfo | --program-transf \
999 | --program-trans | --program-tran \
1000 | --progr-tra | --program-tr | --program-t)
1001 ac_prev=program_transform_name ;;
1002 -program-transform-name=* | --program-transform-name=* \
1003 | --program-transform-nam=* | --program-transform-na=* \
1004 | --program-transform-n=* | --program-transform-=* \
1005 | --program-transform=* | --program-transfor=* \
1006 | --program-transfo=* | --program-transf=* \
1007 | --program-trans=* | --program-tran=* \
1008 | --progr-tra=* | --program-tr=* | --program-t=*)
1009 program_transform_name=$ac_optarg ;;
1011 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1013 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1014 pdfdir=$ac_optarg ;;
1016 -psdir | --psdir | --psdi | --psd | --ps)
1018 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1025 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1027 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1029 sbindir=$ac_optarg ;;
1031 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1032 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1033 | --sharedst | --shareds | --shared | --share | --shar \
1035 ac_prev=sharedstatedir ;;
1036 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1037 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1038 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1040 sharedstatedir=$ac_optarg ;;
1042 -site | --site | --sit)
1044 -site=* | --site=* | --sit=*)
1047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1050 srcdir=$ac_optarg ;;
1052 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1053 | --syscon | --sysco | --sysc | --sys | --sy)
1054 ac_prev=sysconfdir ;;
1055 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1056 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1057 sysconfdir=$ac_optarg ;;
1059 -target | --target | --targe | --targ | --tar | --ta | --t)
1060 ac_prev=target_alias ;;
1061 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1062 target_alias=$ac_optarg ;;
1064 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1067 -version | --version | --versio | --versi | --vers | -V)
1068 ac_init_version=: ;;
1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid package name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1084 eval with_$ac_useropt=\$ac_optarg ;;
1086 -without-* | --without-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error $? "invalid package name: $ac_useropt"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1100 eval with_$ac_useropt=no ;;
1103 # Obsolete; use --with-x.
1106 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1107 | --x-incl | --x-inc | --x-in | --x-i)
1108 ac_prev=x_includes ;;
1109 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1110 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1111 x_includes=$ac_optarg ;;
1113 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1114 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1115 ac_prev=x_libraries ;;
1116 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1117 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1118 x_libraries=$ac_optarg ;;
1120 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1121 Try \`$0 --help' for more information"
1125 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1126 # Reject names that are not valid shell variable names.
1127 case $ac_envvar in #(
1128 '' | [0-9]* | *[!_$as_cr_alnum]* )
1129 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 eval $ac_envvar=\$ac_optarg
1132 export $ac_envvar ;;
1135 # FIXME: should be removed in autoconf 3.0.
1136 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1138 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1139 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1145 if test -n "$ac_prev"; then
1146 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1147 as_fn_error $? "missing argument to $ac_option"
1150 if test -n "$ac_unrecognized_opts"; then
1151 case $enable_option_checking in
1153 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1154 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158 # Check all directory arguments for consistency.
1159 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1160 datadir sysconfdir sharedstatedir localstatedir includedir \
1161 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1162 libdir localedir mandir
1164 eval ac_val=\$$ac_var
1165 # Remove trailing slashes.
1168 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1169 eval $ac_var=\$ac_val;;
1171 # Be sure to have absolute directory names.
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 elif test "x$build_alias" != "x$host_alias"; then
1196 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1198 test "$silent" = yes && exec 6>/dev/null
1201 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1202 ac_ls_di=`ls -di .` &&
1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1204 as_fn_error $? "working directory cannot be determined"
1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1206 as_fn_error $? "pwd does not report name of working directory"
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 $as_echo X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1241 ac_srcdir_defaulted=no
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1251 # When building in place, set srcdir=.
1252 if test "$ac_abs_confdir" = "$ac_pwd"; then
1255 # Remove unnecessary trailing slashes from srcdir.
1256 # Double slashes in file names in object file debugging info
1257 # mess up M-x gdb in Emacs.
1259 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1261 for ac_var in $ac_precious_vars; do
1262 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1263 eval ac_env_${ac_var}_value=\$${ac_var}
1264 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1265 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1269 # Report the --help message.
1271 if test "$ac_init_help" = "long"; then
1272 # Omit some internal or obsolete options to make the list less imposing.
1273 # This message is too long to be a string in the A/UX 3.1 sh.
1275 \`configure' configures Xestia Address Book 0.05 to adapt to many kinds of systems.
1277 Usage: $0 [OPTION]... [VAR=VALUE]...
1279 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1280 VAR=VALUE. See below for descriptions of some of the useful variables.
1282 Defaults for the options are specified in brackets.
1285 -h, --help display this help and exit
1286 --help=short display options specific to this package
1287 --help=recursive display the short help of all the included packages
1288 -V, --version display version information and exit
1289 -q, --quiet, --silent do not print \`checking ...' messages
1290 --cache-file=FILE cache test results in FILE [disabled]
1291 -C, --config-cache alias for \`--cache-file=config.cache'
1292 -n, --no-create do not create output files
1293 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1295 Installation directories:
1296 --prefix=PREFIX install architecture-independent files in PREFIX
1297 [$ac_default_prefix]
1298 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1301 By default, \`make install' will install all the files in
1302 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1303 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1304 for instance \`--prefix=\$HOME'.
1306 For better control, use the options below.
1308 Fine tuning of the installation directories:
1309 --bindir=DIR user executables [EPREFIX/bin]
1310 --sbindir=DIR system admin executables [EPREFIX/sbin]
1311 --libexecdir=DIR program executables [EPREFIX/libexec]
1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1315 --libdir=DIR object code libraries [EPREFIX/lib]
1316 --includedir=DIR C header files [PREFIX/include]
1317 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1320 --infodir=DIR info documentation [DATAROOTDIR/info]
1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1322 --mandir=DIR man documentation [DATAROOTDIR/man]
1323 --docdir=DIR documentation root
1324 [DATAROOTDIR/doc/xestia-address-book]
1325 --htmldir=DIR html documentation [DOCDIR]
1326 --dvidir=DIR dvi documentation [DOCDIR]
1327 --pdfdir=DIR pdf documentation [DOCDIR]
1328 --psdir=DIR ps documentation [DOCDIR]
1335 if test -n "$ac_init_help"; then
1336 case $ac_init_help in
1337 short | recursive ) echo "Configuration of Xestia Address Book 0.05:";;
1342 --disable-option-checking ignore unrecognized --enable/--with options
1343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1345 --enable-debug Enable debugging features for the build.
1348 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1349 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1350 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1351 --with-wx-config=CONFIG wx-config script to use (optional)
1352 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1353 --with-wx-exec-prefix=PREFIX
1354 Exec prefix where wxWidgets is installed (optional)
1356 Some influential environment variables:
1357 CXX C++ compiler command
1358 CXXFLAGS C++ compiler flags
1359 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1360 nonstandard directory <lib dir>
1361 LIBS libraries to pass to the linker, e.g. -l<library>
1362 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1363 you have headers in a nonstandard directory <include dir>
1364 CC C compiler command
1365 CFLAGS C compiler flags
1367 CXXCPP C++ preprocessor
1369 Use these variables to override the choices made by `configure' or to help
1370 it to find libraries and programs with nonstandard names/locations.
1372 Report bugs to <bugs@xestia.co.uk>.
1377 if test "$ac_init_help" = "recursive"; then
1378 # If there are subdirs, report their specific --help.
1379 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1380 test -d "$ac_dir" ||
1381 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1386 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1389 # A ".." for each directory in $ac_dir_suffix.
1390 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1391 case $ac_top_builddir_sub in
1392 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1396 ac_abs_top_builddir=$ac_pwd
1397 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1398 # for backward compatibility:
1399 ac_top_builddir=$ac_top_build_prefix
1402 .) # We are building in place.
1404 ac_top_srcdir=$ac_top_builddir_sub
1405 ac_abs_top_srcdir=$ac_pwd ;;
1406 [\\/]* | ?:[\\/]* ) # Absolute name.
1407 ac_srcdir=$srcdir$ac_dir_suffix;
1408 ac_top_srcdir=$srcdir
1409 ac_abs_top_srcdir=$srcdir ;;
1411 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1412 ac_top_srcdir=$ac_top_build_prefix$srcdir
1413 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1415 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1417 cd "$ac_dir" || { ac_status=$?; continue; }
1418 # Check for guested configure.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1426 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1428 cd "$ac_pwd" || { ac_status=$?; break; }
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1435 Xestia Address Book configure 0.05
1436 generated by GNU Autoconf 2.69
1438 Copyright (C) 2012 Free Software Foundation, Inc.
1439 This configure script is free software; the Free Software Foundation
1440 gives unlimited permission to copy, distribute and modify it.
1445 ## ------------------------ ##
1446 ## Autoconf initialization. ##
1447 ## ------------------------ ##
1449 # ac_fn_cxx_try_compile LINENO
1450 # ----------------------------
1451 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1452 ac_fn_cxx_try_compile ()
1454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1455 rm -f conftest.$ac_objext
1456 if { { ac_try="$ac_compile"
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_compile") 2>conftest.err
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } && {
1472 test -z "$ac_cxx_werror_flag" ||
1473 test ! -s conftest.err
1474 } && test -s conftest.$ac_objext; then :
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1483 as_fn_set_status $ac_retval
1485 } # ac_fn_cxx_try_compile
1487 # ac_fn_c_try_compile LINENO
1488 # --------------------------
1489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1490 ac_fn_c_try_compile ()
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 rm -f conftest.$ac_objext
1494 if { { ac_try="$ac_compile"
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_compile") 2>conftest.err
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && {
1510 test -z "$ac_c_werror_flag" ||
1511 test ! -s conftest.err
1512 } && test -s conftest.$ac_objext; then :
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1523 } # ac_fn_c_try_compile
1525 # ac_fn_c_try_cpp LINENO
1526 # ----------------------
1527 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 if { { ac_try="$ac_cpp conftest.$ac_ext"
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } > conftest.i && {
1547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1562 # ac_fn_cxx_try_cpp LINENO
1563 # ------------------------
1564 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1565 ac_fn_cxx_try_cpp ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 if { { ac_try="$ac_cpp conftest.$ac_ext"
1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1577 if test -s conftest.err; then
1578 grep -v '^ *+' conftest.err >conftest.er1
1579 cat conftest.er1 >&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } > conftest.i && {
1584 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1585 test ! -s conftest.err
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status $ac_retval
1597 } # ac_fn_cxx_try_cpp
1599 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1600 # ---------------------------------------------------------
1601 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1602 # the include files in INCLUDES and setting the cache variable VAR
1604 ac_fn_cxx_check_header_mongrel ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if eval \${$3+:} false; then :
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \${$3+:} false; then :
1611 $as_echo_n "(cached) " >&6
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1617 # Is the header compilable?
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1619 $as_echo_n "checking $2 usability... " >&6; }
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1625 if ac_fn_cxx_try_compile "$LINENO"; then :
1626 ac_header_compiler=yes
1628 ac_header_compiler=no
1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1632 $as_echo "$ac_header_compiler" >&6; }
1634 # Is the header present?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1636 $as_echo_n "checking $2 presence... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1641 if ac_fn_cxx_try_cpp "$LINENO"; then :
1642 ac_header_preproc=yes
1644 ac_header_preproc=no
1646 rm -f conftest.err conftest.i conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1648 $as_echo "$ac_header_preproc" >&6; }
1650 # So? What about this header?
1651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1654 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1660 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1662 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1664 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1666 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 ( $as_echo "## -------------------------------- ##
1670 ## Report this to bugs@xestia.co.uk ##
1671 ## -------------------------------- ##"
1672 ) | sed "s/^/$as_me: WARNING: /" >&2
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1680 eval "$3=\$ac_header_compiler"
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 } # ac_fn_cxx_check_header_mongrel
1690 # ac_fn_cxx_try_run LINENO
1691 # ------------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1694 ac_fn_cxx_try_run ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_cxx_try_run
1732 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1733 # ---------------------------------------------------------
1734 # Tests whether HEADER exists and can be compiled using the include files in
1735 # INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_cxx_check_header_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1749 if ac_fn_cxx_try_compile "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 } # ac_fn_cxx_check_header_compile
1763 # ac_fn_cxx_try_link LINENO
1764 # -------------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_link ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext conftest$ac_exeext
1770 if { { ac_try="$ac_link"
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>conftest.err
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest$ac_exeext && {
1789 test "$cross_compiling" = yes ||
1790 test -x conftest$ac_exeext
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801 # interfere with the next link command; also delete a directory that is
1802 # left behind by Apple's compiler. We do this before executing the actions.
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1807 } # ac_fn_cxx_try_link
1809 # ac_fn_c_try_link LINENO
1810 # -----------------------
1811 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 rm -f conftest.$ac_objext conftest$ac_exeext
1816 if { { ac_try="$ac_link"
1818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_link") 2>conftest.err
1825 if test -s conftest.err; then
1826 grep -v '^ *+' conftest.err >conftest.er1
1827 cat conftest.er1 >&5
1828 mv -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && {
1832 test -z "$ac_c_werror_flag" ||
1833 test ! -s conftest.err
1834 } && test -s conftest$ac_exeext && {
1835 test "$cross_compiling" = yes ||
1836 test -x conftest$ac_exeext
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1847 # interfere with the next link command; also delete a directory that is
1848 # left behind by Apple's compiler. We do this before executing the actions.
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status $ac_retval
1853 } # ac_fn_c_try_link
1855 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1856 # -------------------------------------------------------
1857 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1858 # the include files in INCLUDES and setting the cache variable VAR
1860 ac_fn_c_check_header_mongrel ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if eval \${$3+:} false; then :
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \${$3+:} false; then :
1867 $as_echo_n "(cached) " >&6
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1873 # Is the header compilable?
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1875 $as_echo_n "checking $2 usability... " >&6; }
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1881 if ac_fn_c_try_compile "$LINENO"; then :
1882 ac_header_compiler=yes
1884 ac_header_compiler=no
1886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1888 $as_echo "$ac_header_compiler" >&6; }
1890 # Is the header present?
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1892 $as_echo_n "checking $2 presence... " >&6; }
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1897 if ac_fn_c_try_cpp "$LINENO"; then :
1898 ac_header_preproc=yes
1900 ac_header_preproc=no
1902 rm -f conftest.err conftest.i conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1904 $as_echo "$ac_header_preproc" >&6; }
1906 # So? What about this header?
1907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1910 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1912 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1916 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1918 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1920 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1922 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1925 ( $as_echo "## -------------------------------- ##
1926 ## Report this to bugs@xestia.co.uk ##
1927 ## -------------------------------- ##"
1928 ) | sed "s/^/$as_me: WARNING: /" >&2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if eval \${$3+:} false; then :
1934 $as_echo_n "(cached) " >&6
1936 eval "$3=\$ac_header_compiler"
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_header_mongrel
1946 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1947 # -------------------------------------------
1948 # Tests whether TYPE exists after having included INCLUDES, setting cache
1949 # variable VAR accordingly.
1950 ac_fn_c_check_type ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if eval \${$3+:} false; then :
1956 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1984 if ac_fn_c_try_compile "$LINENO"; then :
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_type
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2003 It was created by Xestia Address Book $as_me 0.05, which was
2004 generated by GNU Autoconf 2.69. Invocation command line was
2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2023 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2025 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2026 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2028 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2029 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2030 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2031 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 $as_echo "PATH: $as_dir"
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_must_keep_next=false
2070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2075 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2080 as_fn_append ac_configure_args1 " '$ac_arg'"
2081 if test $ac_must_keep_next = true; then
2082 ac_must_keep_next=false # Got value, back to normal.
2085 *=* | --config-cache | -C | -disable-* | --disable-* \
2086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088 | -with-* | --with-* | -without-* | --without-* | --x)
2089 case "$ac_configure_args0 " in
2090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093 -* ) ac_must_keep_next=true ;;
2096 as_fn_append ac_configure_args " '$ac_arg'"
2101 { ac_configure_args0=; unset ac_configure_args0;}
2102 { ac_configure_args1=; unset ac_configure_args1;}
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log. We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110 # Save into config.log some information that might help in debugging.
2114 $as_echo "## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##"
2118 # The following way of writing the cache mishandles newlines in values,
2120 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2121 eval ac_val=\$$ac_var
2125 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2129 _ | IFS | as_nl) ;; #(
2130 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2131 *) { eval $ac_var=; unset $ac_var;} ;;
2136 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2137 *${as_nl}ac_space=\ *)
2139 "s/'\''/'\''\\\\'\'''\''/g;
2140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2150 $as_echo "## ----------------- ##
2151 ## Output variables. ##
2152 ## ----------------- ##"
2154 for ac_var in $ac_subst_vars
2156 eval ac_val=\$$ac_var
2158 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 $as_echo "$ac_var='\''$ac_val'\''"
2164 if test -n "$ac_subst_files"; then
2165 $as_echo "## ------------------- ##
2166 ## File substitutions. ##
2167 ## ------------------- ##"
2169 for ac_var in $ac_subst_files
2171 eval ac_val=\$$ac_var
2173 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 $as_echo "$ac_var='\''$ac_val'\''"
2180 if test -s confdefs.h; then
2181 $as_echo "## ----------- ##
2188 test "$ac_signal" != 0 &&
2189 $as_echo "$as_me: caught signal $ac_signal"
2190 $as_echo "$as_me: exit $exit_status"
2192 rm -f core *.core core.conftest.* &&
2193 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196 for ac_signal in 1 2 13 15; do
2197 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2202 rm -f -r conftest* confdefs.h
2204 $as_echo "/* confdefs.h */" > confdefs.h
2206 # Predefined preprocessor variables.
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_NAME "$PACKAGE_NAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_URL "$PACKAGE_URL"
2233 # Let the site file select an alternate cache file if it wants to.
2234 # Prefer an explicitly selected file to automatically selected ones.
2237 if test -n "$CONFIG_SITE"; then
2238 # We do not want a PATH search for config.site.
2239 case $CONFIG_SITE in #((
2240 -*) ac_site_file1=./$CONFIG_SITE;;
2241 */*) ac_site_file1=$CONFIG_SITE;;
2242 *) ac_site_file1=./$CONFIG_SITE;;
2244 elif test "x$prefix" != xNONE; then
2245 ac_site_file1=$prefix/share/config.site
2246 ac_site_file2=$prefix/etc/config.site
2248 ac_site_file1=$ac_default_prefix/share/config.site
2249 ac_site_file2=$ac_default_prefix/etc/config.site
2251 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2253 test "x$ac_site_file" = xNONE && continue
2254 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2256 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2259 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 as_fn_error $? "failed to load site script $ac_site_file
2262 See \`config.log' for more details" "$LINENO" 5; }
2266 if test -r "$cache_file"; then
2267 # Some versions of bash will fail to source /dev/null (special files
2268 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2269 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2271 $as_echo "$as_me: loading cache $cache_file" >&6;}
2273 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2274 *) . "./$cache_file";;
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2279 $as_echo "$as_me: creating cache $cache_file" >&6;}
2283 # Check that the precious variables saved in the cache have kept the same
2285 ac_cache_corrupted=false
2286 for ac_var in $ac_precious_vars; do
2287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2288 eval ac_new_set=\$ac_env_${ac_var}_set
2289 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2290 eval ac_new_val=\$ac_env_${ac_var}_value
2291 case $ac_old_set,$ac_new_set in
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2298 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2299 ac_cache_corrupted=: ;;
2302 if test "x$ac_old_val" != "x$ac_new_val"; then
2303 # differences in whitespace do not lead to failure.
2304 ac_old_val_w=`echo x $ac_old_val`
2305 ac_new_val_w=`echo x $ac_new_val`
2306 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2308 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2309 ac_cache_corrupted=:
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2312 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2313 eval $ac_var=\$ac_old_val
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2316 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2318 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2321 # Pass precious variables to config.status.
2322 if test "$ac_new_set" = set; then
2324 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2325 *) ac_arg=$ac_var=$ac_new_val ;;
2327 case " $ac_configure_args " in
2328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2329 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2333 if $ac_cache_corrupted; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2337 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2338 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2340 ## -------------------- ##
2341 ## Main body of script. ##
2342 ## -------------------- ##
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 #AC_CONFIG_SRCDIR([version.h])
2352 #AC_CONFIG_HEADERS([config.h])
2355 $as_echo "#define DEBUG 1" >>confdefs.h
2358 # Checks for programs.
2360 ac_cpp='$CXXCPP $CPPFLAGS'
2361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2364 if test -z "$CXX"; then
2365 if test -n "$CCC"; then
2368 if test -n "$ac_tool_prefix"; then
2369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if ${ac_cv_prog_CXX+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 if test -n "$CXX"; then
2379 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 if test -n "$CXX"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2401 $as_echo "$CXX" >&6; }
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2408 test -n "$CXX" && break
2411 if test -z "$CXX"; then
2413 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2415 # Extract the first word of "$ac_prog", so it can be a program name with args.
2416 set dummy $ac_prog; ac_word=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$ac_ct_CXX"; then
2423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432 ac_cv_prog_ac_ct_CXX="$ac_prog"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2443 if test -n "$ac_ct_CXX"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2445 $as_echo "$ac_ct_CXX" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2452 test -n "$ac_ct_CXX" && break
2455 if test "x$ac_ct_CXX" = x; then
2458 case $cross_compiling:$ac_tool_warned in
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2462 ac_tool_warned=yes ;;
2470 # Provide some information about the compiler.
2471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2474 for ac_option in --version -v -V -qversion; do
2475 { { ac_try="$ac_compiler $ac_option >&5"
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2484 if test -s conftest.err; then
2486 ... rest of stderr output deleted ...
2487 10q' conftest.err >conftest.er1
2488 cat conftest.er1 >&5
2490 rm -f conftest.er1 conftest.err
2491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2492 test $ac_status = 0; }
2495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496 /* end confdefs.h. */
2506 ac_clean_files_save=$ac_clean_files
2507 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2508 # Try to create an executable without -o first, disregard a.out.
2509 # It will help us diagnose broken compilers, and finding out an intuition
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2512 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2513 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2515 # The possible output files:
2516 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2519 for ac_file in $ac_files
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2523 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2528 if { { ac_try="$ac_link_default"
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_link_default") 2>&5
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }; then :
2539 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2540 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2541 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2542 # so that the user can short-circuit this test for compilers unknown to
2544 for ac_file in $ac_files ''
2546 test -f "$ac_file" || continue
2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2551 # We found the default executable, but exeext='' is most
2555 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2557 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2559 # We set ac_cv_exeext here because the later test for it is not
2560 # safe: cross compilers may not add the suffix if given an `-o'
2561 # argument, so we may need to know it at that point already.
2562 # Even if this section looks crufty: it has the advantage of
2569 test "$ac_cv_exeext" = no && ac_cv_exeext=
2574 if test -z "$ac_file"; then :
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576 $as_echo "no" >&6; }
2577 $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error 77 "C++ compiler cannot create executables
2583 See \`config.log' for more details" "$LINENO" 5; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586 $as_echo "yes" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2589 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2591 $as_echo "$ac_file" >&6; }
2592 ac_exeext=$ac_cv_exeext
2594 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2595 ac_clean_files=$ac_clean_files_save
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2597 $as_echo_n "checking for suffix of executables... " >&6; }
2598 if { { ac_try="$ac_link"
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2604 $as_echo "$ac_try_echo"; } >&5
2605 (eval "$ac_link") 2>&5
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; }; then :
2609 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2610 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2611 # work properly (i.e., refer to `conftest.exe'), while it won't with
2613 for ac_file in conftest.exe conftest conftest.*; do
2614 test -f "$ac_file" || continue
2616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2617 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2625 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2626 See \`config.log' for more details" "$LINENO" 5; }
2628 rm -f conftest conftest$ac_cv_exeext
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2630 $as_echo "$ac_cv_exeext" >&6; }
2632 rm -f conftest.$ac_ext
2633 EXEEXT=$ac_cv_exeext
2635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2636 /* end confdefs.h. */
2641 FILE *f = fopen ("conftest.out", "w");
2642 return ferror (f) || fclose (f) != 0;
2648 ac_clean_files="$ac_clean_files conftest.out"
2649 # Check that the compiler produces executables we can run. If not, either
2650 # the compiler is broken, or we cross compile.
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2652 $as_echo_n "checking whether we are cross compiling... " >&6; }
2653 if test "$cross_compiling" != yes; then
2654 { { ac_try="$ac_link"
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>&5
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; }
2665 if { ac_try='./conftest$ac_cv_exeext'
2666 { { case "(($ac_try" in
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_try") 2>&5
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; }; }; then
2678 if test "$cross_compiling" = maybe; then
2681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683 as_fn_error $? "cannot run C++ compiled programs.
2684 If you meant to cross compile, use \`--host'.
2685 See \`config.log' for more details" "$LINENO" 5; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2690 $as_echo "$cross_compiling" >&6; }
2692 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2693 ac_clean_files=$ac_clean_files_save
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2695 $as_echo_n "checking for suffix of object files... " >&6; }
2696 if ${ac_cv_objext+:} false; then :
2697 $as_echo_n "(cached) " >&6
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2710 rm -f conftest.o conftest.obj
2711 if { { ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_compile") 2>&5
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }; then :
2722 for ac_file in conftest.o conftest.obj conftest.*; do
2723 test -f "$ac_file" || continue;
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736 as_fn_error $? "cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details" "$LINENO" 5; }
2739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2742 $as_echo "$ac_cv_objext" >&6; }
2743 OBJEXT=$ac_cv_objext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2746 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2747 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2748 $as_echo_n "(cached) " >&6
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2764 if ac_fn_cxx_try_compile "$LINENO"; then :
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2770 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2774 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2775 if test $ac_compiler_gnu = yes; then
2780 ac_test_CXXFLAGS=${CXXFLAGS+set}
2781 ac_save_CXXFLAGS=$CXXFLAGS
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2783 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2784 if ${ac_cv_prog_cxx_g+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2788 ac_cxx_werror_flag=yes
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2802 if ac_fn_cxx_try_compile "$LINENO"; then :
2803 ac_cv_prog_cxx_g=yes
2806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2807 /* end confdefs.h. */
2817 if ac_fn_cxx_try_compile "$LINENO"; then :
2820 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2833 if ac_fn_cxx_try_compile "$LINENO"; then :
2834 ac_cv_prog_cxx_g=yes
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2844 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2845 if test "$ac_test_CXXFLAGS" = set; then
2846 CXXFLAGS=$ac_save_CXXFLAGS
2847 elif test $ac_cv_prog_cxx_g = yes; then
2848 if test "$GXX" = yes; then
2854 if test "$GXX" = yes; then
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2867 ac_cpp='$CPP $CPPFLAGS'
2868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2873 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if ${ac_cv_prog_CC+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2910 if test -z "$ac_cv_prog_CC"; then
2912 # Extract the first word of "gcc", so it can be a program name with args.
2913 set dummy gcc; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$ac_ct_CC"; then
2920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_ac_ct_CC="gcc"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2942 $as_echo "$ac_ct_CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2948 if test "x$ac_ct_CC" = x; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955 ac_tool_warned=yes ;;
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2966 set dummy ${ac_tool_prefix}cc; ac_word=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if ${ac_cv_prog_CC+:} false; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$CC"; then
2973 ac_cv_prog_CC="$CC" # Let the user override the test.
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir=.
2980 for ac_exec_ext in '' $ac_executable_extensions; do
2981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2982 ac_cv_prog_CC="${ac_tool_prefix}cc"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 if test -n "$CC"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2995 $as_echo "$CC" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3004 if test -z "$CC"; then
3005 # Extract the first word of "cc", so it can be a program name with args.
3006 set dummy cc; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_CC+:} false; then :
3010 $as_echo_n "(cached) " >&6
3012 if test -n "$CC"; then
3013 ac_cv_prog_CC="$CC" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3024 ac_prog_rejected=yes
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 if test $ac_prog_rejected = yes; then
3036 # We found a bogon in the path, so make sure we never use it.
3037 set dummy $ac_cv_prog_CC
3039 if test $# != 0; then
3040 # We chose a different compiler from the bogus one.
3041 # However, it has the same basename, so the bogon will be chosen
3042 # first if we set CC to just the basename; use the full file name.
3044 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$CC"; then
3061 if test -n "$ac_tool_prefix"; then
3062 for ac_prog in cl.exe
3064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC="$CC" # Let the user override the test.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test -n "$CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3101 test -n "$CC" && break
3104 if test -z "$CC"; then
3106 for ac_prog in cl.exe
3108 # Extract the first word of "$ac_prog", so it can be a program name with args.
3109 set dummy $ac_prog; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$ac_ct_CC"; then
3116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_ac_ct_CC="$ac_prog"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136 if test -n "$ac_ct_CC"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138 $as_echo "$ac_ct_CC" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3145 test -n "$ac_ct_CC" && break
3148 if test "x$ac_ct_CC" = x; then
3151 case $cross_compiling:$ac_tool_warned in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned=yes ;;
3164 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 as_fn_error $? "no acceptable C compiler found in \$PATH
3167 See \`config.log' for more details" "$LINENO" 5; }
3169 # Provide some information about the compiler.
3170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3173 for ac_option in --version -v -V -qversion; do
3174 { { ac_try="$ac_compiler $ac_option >&5"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3183 if test -s conftest.err; then
3185 ... rest of stderr output deleted ...
3186 10q' conftest.err >conftest.er1
3187 cat conftest.er1 >&5
3189 rm -f conftest.er1 conftest.err
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3195 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3196 if ${ac_cv_c_compiler_gnu+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3223 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3224 if test $ac_compiler_gnu = yes; then
3229 ac_test_CFLAGS=${CFLAGS+set}
3230 ac_save_CFLAGS=$CFLAGS
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3232 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3233 if ${ac_cv_prog_cc_g+:} false; then :
3234 $as_echo_n "(cached) " >&6
3236 ac_save_c_werror_flag=$ac_c_werror_flag
3237 ac_c_werror_flag=yes
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 if ac_fn_c_try_compile "$LINENO"; then :
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 if ac_fn_c_try_compile "$LINENO"; then :
3269 ac_c_werror_flag=$ac_save_c_werror_flag
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3282 if ac_fn_c_try_compile "$LINENO"; then :
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3293 $as_echo "$ac_cv_prog_cc_g" >&6; }
3294 if test "$ac_test_CFLAGS" = set; then
3295 CFLAGS=$ac_save_CFLAGS
3296 elif test $ac_cv_prog_cc_g = yes; then
3297 if test "$GCC" = yes; then
3303 if test "$GCC" = yes; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3310 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3311 if ${ac_cv_prog_cc_c89+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 ac_cv_prog_cc_c89=no
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3321 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3322 struct buf { int x; };
3323 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3324 static char *e (p, i)
3330 static char *f (char * (*g) (char **, int), char **p, ...)
3335 s = g (p, va_arg (v,int));
3340 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3341 function prototypes and stuff, but not '\xHH' hex character constants.
3342 These don't provoke an error unfortunately, instead are silently treated
3343 as 'x'. The following induces an error, until -std is added to get
3344 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3345 array size at least. It's necessary to write '\x00'==0 to get something
3346 that's true only with -std. */
3347 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3349 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3350 inside strings and character constants. */
3352 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3354 int test (int i, double x);
3355 struct s1 {int (*f) (int a);};
3356 struct s2 {int (*f) (double a);};
3357 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3363 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3368 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3369 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3371 CC="$ac_save_CC $ac_arg"
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 ac_cv_prog_cc_c89=$ac_arg
3375 rm -f core conftest.err conftest.$ac_objext
3376 test "x$ac_cv_prog_cc_c89" != "xno" && break
3378 rm -f conftest.$ac_ext
3383 case "x$ac_cv_prog_cc_c89" in
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3386 $as_echo "none needed" >&6; } ;;
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3389 $as_echo "unsupported" >&6; } ;;
3391 CC="$CC $ac_cv_prog_cc_c89"
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3393 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3395 if test "x$ac_cv_prog_cc_c89" != xno; then :
3400 ac_cpp='$CPP $CPPFLAGS'
3401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3406 ac_cpp='$CPP $CPPFLAGS'
3407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3411 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3412 # On Suns, sometimes $CPP names a directory.
3413 if test -n "$CPP" && test -d "$CPP"; then
3416 if test -z "$CPP"; then
3417 if ${ac_cv_prog_CPP+:} false; then :
3418 $as_echo_n "(cached) " >&6
3420 # Double quotes because CPP needs to be expanded
3421 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3424 for ac_c_preproc_warn_flag in '' yes
3426 # Use a header file that comes with gcc, so configuring glibc
3427 # with a fresh cross-compiler works.
3428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 # <limits.h> exists even on freestanding compilers.
3430 # On the NeXT, cc -E runs the code through the compiler's parser,
3431 # not just through cpp. "Syntax error" is here to catch this case.
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3435 # include <limits.h>
3437 # include <assert.h>
3441 if ac_fn_c_try_cpp "$LINENO"; then :
3444 # Broken: fails on valid input.
3447 rm -f conftest.err conftest.i conftest.$ac_ext
3449 # OK, works on sane cases. Now check whether nonexistent headers
3450 # can be detected and how.
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3453 #include <ac_nonexistent.h>
3455 if ac_fn_c_try_cpp "$LINENO"; then :
3456 # Broken: success on invalid input.
3459 # Passes both tests.
3463 rm -f conftest.err conftest.i conftest.$ac_ext
3466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3467 rm -f conftest.i conftest.err conftest.$ac_ext
3468 if $ac_preproc_ok; then :
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3481 $as_echo "$CPP" >&6; }
3483 for ac_c_preproc_warn_flag in '' yes
3485 # Use a header file that comes with gcc, so configuring glibc
3486 # with a fresh cross-compiler works.
3487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3488 # <limits.h> exists even on freestanding compilers.
3489 # On the NeXT, cc -E runs the code through the compiler's parser,
3490 # not just through cpp. "Syntax error" is here to catch this case.
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3494 # include <limits.h>
3496 # include <assert.h>
3500 if ac_fn_c_try_cpp "$LINENO"; then :
3503 # Broken: fails on valid input.
3506 rm -f conftest.err conftest.i conftest.$ac_ext
3508 # OK, works on sane cases. Now check whether nonexistent headers
3509 # can be detected and how.
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3512 #include <ac_nonexistent.h>
3514 if ac_fn_c_try_cpp "$LINENO"; then :
3515 # Broken: success on invalid input.
3518 # Passes both tests.
3522 rm -f conftest.err conftest.i conftest.$ac_ext
3525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3526 rm -f conftest.i conftest.err conftest.$ac_ext
3527 if $ac_preproc_ok; then :
3530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3533 See \`config.log' for more details" "$LINENO" 5; }
3537 ac_cpp='$CPP $CPPFLAGS'
3538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 # Check prefix directories.
3545 if test "x$prefix" = "xNONE" ; then
3549 if test "x$exec_prefix" = "xNONE" ; then
3556 if test "x$bindir" = "xNONE" ; then
3559 BINDIR=`eval echo $bindir`
3562 if test "x$datarootdir" = "xNONE" ; then
3563 datarootdir="/share"
3565 DATAROOTDIR=`eval echo $datarootdir`
3568 # Checks for libraries.
3573 ac_cpp='$CXXCPP $CPPFLAGS'
3574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3579 # Check for C++11 support for the compiler.
3581 CPPFLAGS="$CPPFLAGS -std=c++11"
3582 CXXFLAGS="$CXXFLAGS -std=c++11"
3584 # Checks for header files.
3587 ac_cpp='$CXXCPP $CPPFLAGS'
3588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3592 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3593 if test -z "$CXXCPP"; then
3594 if ${ac_cv_prog_CXXCPP+:} false; then :
3595 $as_echo_n "(cached) " >&6
3597 # Double quotes because CXXCPP needs to be expanded
3598 for CXXCPP in "$CXX -E" "/lib/cpp"
3601 for ac_cxx_preproc_warn_flag in '' yes
3603 # Use a header file that comes with gcc, so configuring glibc
3604 # with a fresh cross-compiler works.
3605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3606 # <limits.h> exists even on freestanding compilers.
3607 # On the NeXT, cc -E runs the code through the compiler's parser,
3608 # not just through cpp. "Syntax error" is here to catch this case.
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3612 # include <limits.h>
3614 # include <assert.h>
3618 if ac_fn_cxx_try_cpp "$LINENO"; then :
3621 # Broken: fails on valid input.
3624 rm -f conftest.err conftest.i conftest.$ac_ext
3626 # OK, works on sane cases. Now check whether nonexistent headers
3627 # can be detected and how.
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3632 if ac_fn_cxx_try_cpp "$LINENO"; then :
3633 # Broken: success on invalid input.
3636 # Passes both tests.
3640 rm -f conftest.err conftest.i conftest.$ac_ext
3643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3644 rm -f conftest.i conftest.err conftest.$ac_ext
3645 if $ac_preproc_ok; then :
3650 ac_cv_prog_CXXCPP=$CXXCPP
3653 CXXCPP=$ac_cv_prog_CXXCPP
3655 ac_cv_prog_CXXCPP=$CXXCPP
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3658 $as_echo "$CXXCPP" >&6; }
3660 for ac_cxx_preproc_warn_flag in '' yes
3662 # Use a header file that comes with gcc, so configuring glibc
3663 # with a fresh cross-compiler works.
3664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3665 # <limits.h> exists even on freestanding compilers.
3666 # On the NeXT, cc -E runs the code through the compiler's parser,
3667 # not just through cpp. "Syntax error" is here to catch this case.
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3671 # include <limits.h>
3673 # include <assert.h>
3677 if ac_fn_cxx_try_cpp "$LINENO"; then :
3680 # Broken: fails on valid input.
3683 rm -f conftest.err conftest.i conftest.$ac_ext
3685 # OK, works on sane cases. Now check whether nonexistent headers
3686 # can be detected and how.
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3689 #include <ac_nonexistent.h>
3691 if ac_fn_cxx_try_cpp "$LINENO"; then :
3692 # Broken: success on invalid input.
3695 # Passes both tests.
3699 rm -f conftest.err conftest.i conftest.$ac_ext
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.i conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then :
3707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3710 See \`config.log' for more details" "$LINENO" 5; }
3714 ac_cpp='$CXXCPP $CPPFLAGS'
3715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3721 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3722 if ${ac_cv_path_GREP+:} false; then :
3723 $as_echo_n "(cached) " >&6
3725 if test -z "$GREP"; then
3726 ac_path_GREP_found=false
3727 # Loop through the user's path and test for each of PROGNAME-LIST
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3732 test -z "$as_dir" && as_dir=.
3733 for ac_prog in grep ggrep; do
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3736 as_fn_executable_p "$ac_path_GREP" || continue
3737 # Check for GNU ac_path_GREP and select it if it is found.
3738 # Check for GNU $ac_path_GREP
3739 case `"$ac_path_GREP" --version 2>&1` in
3741 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3744 $as_echo_n 0123456789 >"conftest.in"
3747 cat "conftest.in" "conftest.in" >"conftest.tmp"
3748 mv "conftest.tmp" "conftest.in"
3749 cp "conftest.in" "conftest.nl"
3750 $as_echo 'GREP' >> "conftest.nl"
3751 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3753 as_fn_arith $ac_count + 1 && ac_count=$as_val
3754 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3755 # Best one so far, save it but keep looking for a better one
3756 ac_cv_path_GREP="$ac_path_GREP"
3757 ac_path_GREP_max=$ac_count
3759 # 10*(2^10) chars as input seems more than enough
3760 test $ac_count -gt 10 && break
3762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3765 $ac_path_GREP_found && break 3
3770 if test -z "$ac_cv_path_GREP"; then
3771 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3774 ac_cv_path_GREP=$GREP
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3779 $as_echo "$ac_cv_path_GREP" >&6; }
3780 GREP="$ac_cv_path_GREP"
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3784 $as_echo_n "checking for egrep... " >&6; }
3785 if ${ac_cv_path_EGREP+:} false; then :
3786 $as_echo_n "(cached) " >&6
3788 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3789 then ac_cv_path_EGREP="$GREP -E"
3791 if test -z "$EGREP"; then
3792 ac_path_EGREP_found=false
3793 # Loop through the user's path and test for each of PROGNAME-LIST
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3798 test -z "$as_dir" && as_dir=.
3799 for ac_prog in egrep; do
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3802 as_fn_executable_p "$ac_path_EGREP" || continue
3803 # Check for GNU ac_path_EGREP and select it if it is found.
3804 # Check for GNU $ac_path_EGREP
3805 case `"$ac_path_EGREP" --version 2>&1` in
3807 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3810 $as_echo_n 0123456789 >"conftest.in"
3813 cat "conftest.in" "conftest.in" >"conftest.tmp"
3814 mv "conftest.tmp" "conftest.in"
3815 cp "conftest.in" "conftest.nl"
3816 $as_echo 'EGREP' >> "conftest.nl"
3817 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3818 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3819 as_fn_arith $ac_count + 1 && ac_count=$as_val
3820 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3821 # Best one so far, save it but keep looking for a better one
3822 ac_cv_path_EGREP="$ac_path_EGREP"
3823 ac_path_EGREP_max=$ac_count
3825 # 10*(2^10) chars as input seems more than enough
3826 test $ac_count -gt 10 && break
3828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3831 $ac_path_EGREP_found && break 3
3836 if test -z "$ac_cv_path_EGREP"; then
3837 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3840 ac_cv_path_EGREP=$EGREP
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3846 $as_echo "$ac_cv_path_EGREP" >&6; }
3847 EGREP="$ac_cv_path_EGREP"
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3851 $as_echo_n "checking for ANSI C header files... " >&6; }
3852 if ${ac_cv_header_stdc+:} false; then :
3853 $as_echo_n "(cached) " >&6
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3870 if ac_fn_cxx_try_compile "$LINENO"; then :
3871 ac_cv_header_stdc=yes
3873 ac_cv_header_stdc=no
3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 if test $ac_cv_header_stdc = yes; then
3878 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3885 $EGREP "memchr" >/dev/null 2>&1; then :
3888 ac_cv_header_stdc=no
3894 if test $ac_cv_header_stdc = yes; then
3895 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3902 $EGREP "free" >/dev/null 2>&1; then :
3905 ac_cv_header_stdc=no
3911 if test $ac_cv_header_stdc = yes; then
3912 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3913 if test "$cross_compiling" = yes; then :
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3920 #if ((' ' & 0x0FF) == 0x020)
3921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3924 # define ISLOWER(c) \
3925 (('a' <= (c) && (c) <= 'i') \
3926 || ('j' <= (c) && (c) <= 'r') \
3927 || ('s' <= (c) && (c) <= 'z'))
3928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3936 for (i = 0; i < 256; i++)
3937 if (XOR (islower (i), ISLOWER (i))
3938 || toupper (i) != TOUPPER (i))
3943 if ac_fn_cxx_try_run "$LINENO"; then :
3946 ac_cv_header_stdc=no
3948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3949 conftest.$ac_objext conftest.beam conftest.$ac_ext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3955 $as_echo "$ac_cv_header_stdc" >&6; }
3956 if test $ac_cv_header_stdc = yes; then
3958 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3962 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3963 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3964 inttypes.h stdint.h unistd.h
3966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3967 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3969 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3970 cat >>confdefs.h <<_ACEOF
3971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3979 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
3981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3982 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3984 cat >>confdefs.h <<_ACEOF
3985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3993 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3994 if test "x$ac_cv_header_thread" = xyes; then :
3997 echo "The C++ compiler does not support C++11 extensions which is
3998 needed for Xestia Address Book. Please install or use a
3999 compiler that supports C++11 extensions."
4008 # Check whether --with-wxdir was given.
4009 if test "${with_wxdir+set}" = set; then :
4010 withval=$with_wxdir; wx_config_name="$withval/wx-config"
4011 wx_config_args="--inplace"
4015 # Check whether --with-wx-config was given.
4016 if test "${with_wx_config+set}" = set; then :
4017 withval=$with_wx_config; wx_config_name="$withval"
4021 # Check whether --with-wx-prefix was given.
4022 if test "${with_wx_prefix+set}" = set; then :
4023 withval=$with_wx_prefix; wx_config_prefix="$withval"
4029 # Check whether --with-wx-exec-prefix was given.
4030 if test "${with_wx_exec_prefix+set}" = set; then :
4031 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4033 wx_config_exec_prefix=""
4040 if test x${WX_CONFIG_NAME+set} != xset ; then
4041 WX_CONFIG_NAME=wx-config
4044 if test "x$wx_config_name" != x ; then
4045 WX_CONFIG_NAME="$wx_config_name"
4048 if test x$wx_config_exec_prefix != x ; then
4049 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4050 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4052 if test x$wx_config_prefix != x ; then
4053 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4054 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4056 if test "$cross_compiling" = "yes"; then
4057 wx_config_args="$wx_config_args --host=$host_alias"
4060 if test -x "$WX_CONFIG_NAME" ; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4062 $as_echo_n "checking for wx-config... " >&6; }
4063 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4065 $as_echo "$WX_CONFIG_PATH" >&6; }
4067 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4068 set dummy $WX_CONFIG_NAME; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4072 $as_echo_n "(cached) " >&6
4074 case $WX_CONFIG_PATH in
4076 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4081 for as_dir in $as_dummy
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4099 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4100 if test -n "$WX_CONFIG_PATH"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4102 $as_echo "$WX_CONFIG_PATH" >&6; }
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4111 if test "$WX_CONFIG_PATH" != "no" ; then
4114 min_wx_version=$reqwx
4115 if test -z "" ; then
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4117 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4120 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4123 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4125 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4126 wx_config_major_version=`echo $WX_VERSION | \
4127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4128 wx_config_minor_version=`echo $WX_VERSION | \
4129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4130 wx_config_micro_version=`echo $WX_VERSION | \
4131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4133 wx_requested_major_version=`echo $min_wx_version | \
4134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4135 wx_requested_minor_version=`echo $min_wx_version | \
4136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4137 wx_requested_micro_version=`echo $min_wx_version | \
4138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4142 if test "x$WX_VERSION" != x ; then
4143 if test $wx_config_major_version -gt $wx_requested_major_version; then
4146 if test $wx_config_major_version -eq $wx_requested_major_version; then
4147 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4150 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4151 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4161 if test -n "$wx_ver_ok"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4163 $as_echo "yes (version $WX_VERSION)" >&6; }
4164 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4167 $as_echo_n "checking for wxWidgets static library... " >&6; }
4168 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4169 if test "x$WX_LIBS_STATIC" = "x"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4174 $as_echo "yes" >&6; }
4178 if test $wx_config_major_version -gt 2; then
4181 if test $wx_config_major_version -eq 2; then
4182 if test $wx_config_minor_version -gt 2; then
4185 if test $wx_config_minor_version -eq 2; then
4186 if test $wx_config_micro_version -ge 6; then
4195 if test $wx_config_major_version -gt 2; then
4198 if test $wx_config_major_version -eq 2; then
4199 if test $wx_config_minor_version -ge 7; then
4204 if test "x$wx_has_rescomp" = x ; then
4207 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4210 if test "x$wx_has_cppflags" = x ; then
4211 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4212 WX_CPPFLAGS=$WX_CFLAGS
4213 WX_CXXFLAGS=$WX_CFLAGS
4215 WX_CFLAGS_ONLY=$WX_CFLAGS
4216 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4218 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4219 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4220 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4222 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4223 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4230 if test "x$WX_VERSION" = x; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4235 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4245 if test ! -z ""; then
4248 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4249 build with the following settings:
4251 but such build is not available.
4253 To see the wxWidgets builds available on this system, please use
4254 'wx-config --list' command. To use the default build, returned by
4255 'wx-config --selected-config', use the options with their 'auto'
4261 The requested wxWidgets build couldn't be found.
4264 If you still get this error, then check that 'wx-config' is
4265 in path, the directory where wxWidgets libraries are installed
4266 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4267 or equivalent variable and wxWidgets version is $reqwx or above."
4269 as_fn_error $? "$wx_error_message" "$LINENO" 5
4295 WX_VERSION_MAJOR="$wx_config_major_version"
4296 WX_VERSION_MINOR="$wx_config_minor_version"
4297 WX_VERSION_MICRO="$wx_config_micro_version"
4303 if test "$wxWin" != 1; then
4305 wxWidgets must be installed on your system.
4307 Please check that wx-config is in path, the directory where wxWidgets libraries
4308 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4309 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4314 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4315 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4316 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4317 LIBS="$LIBS $WX_LIBS"
4319 # SFML Audio Library
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4322 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4323 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4324 $as_echo_n "(cached) " >&6
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lsfml-audio $LIBS"
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4340 if ac_fn_cxx_try_link "$LINENO"; then :
4341 ac_cv_lib_sfml_audio_main=yes
4343 ac_cv_lib_sfml_audio_main=no
4345 rm -f core conftest.err conftest.$ac_objext \
4346 conftest$ac_exeext conftest.$ac_ext
4347 LIBS=$ac_check_lib_save_LIBS
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4350 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4351 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4352 cat >>confdefs.h <<_ACEOF
4353 #define HAVE_LIBSFML_AUDIO 1
4356 LIBS="-lsfml-audio $LIBS"
4359 echo "The SFML libraries must be installed on your system.
4360 Please check that this library is installed properly before
4361 running configure again."
4367 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4368 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4371 echo "The SFML library headers must be installed on your system.
4372 Please check that the library headers are installed properly
4373 before running configure again."
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4391 $as_echo_n "checking for main in -lcurl... " >&6; }
4392 if ${ac_cv_lib_curl_main+:} false; then :
4393 $as_echo_n "(cached) " >&6
4395 ac_check_lib_save_LIBS=$LIBS
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4409 if ac_fn_c_try_link "$LINENO"; then :
4410 ac_cv_lib_curl_main=yes
4412 ac_cv_lib_curl_main=no
4414 rm -f core conftest.err conftest.$ac_objext \
4415 conftest$ac_exeext conftest.$ac_ext
4416 LIBS=$ac_check_lib_save_LIBS
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4419 $as_echo "$ac_cv_lib_curl_main" >&6; }
4420 if test "x$ac_cv_lib_curl_main" = xyes; then :
4421 cat >>confdefs.h <<_ACEOF
4422 #define HAVE_LIBCURL 1
4428 echo "The cURL library must be installed on your system.
4429 Please check that this library is installed properly before
4430 running configure again."
4437 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4438 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4441 echo "The cURL library headers must be installed on your system.
4442 Please check that the library headers are installed properly
4443 before running configure again."
4450 # Extract the first word of "curl-config", so it can be a program name with args.
4451 set dummy curl-config; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$FOUND_CURLCONFIG"; then
4458 ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_FOUND_CURLCONFIG="yes"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4478 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4479 if test -n "$FOUND_CURLCONFIG"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4481 $as_echo "$FOUND_CURLCONFIG" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 if test x$FOUND_CURLCONFIG = xyes; then
4489 FOUND_CURLCONFIG_RES_TRUE=
4490 FOUND_CURLCONFIG_RES_FALSE='#'
4492 FOUND_CURLCONFIG_RES_TRUE='#'
4493 FOUND_CURLCONFIG_RES_FALSE=
4497 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4499 echo "Cannot find the curl-config program on your system.
4500 If it is installed on your system, adjust your PATH environment
4501 variable before running configure again."
4508 # Extract the first word of "file", so it can be a program name with args.
4509 set dummy file; ac_word=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_prog_FOUND_FILE+:} false; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -n "$FOUND_FILE"; then
4516 ac_cv_prog_FOUND_FILE="$FOUND_FILE" # Let the user override the test.
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_prog_FOUND_FILE="yes"
4526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 test -z "$ac_cv_prog_FOUND_FILE" && ac_cv_prog_FOUND_FILE="no"
4536 FOUND_FILE=$ac_cv_prog_FOUND_FILE
4537 if test -n "$FOUND_FILE"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_FILE" >&5
4539 $as_echo "$FOUND_FILE" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4546 if test x$FOUND_FILE = xyes; then
4547 FOUND_FILE_RES_TRUE=
4548 FOUND_FILE_RES_FALSE='#'
4550 FOUND_FILE_RES_TRUE='#'
4551 FOUND_FILE_RES_FALSE=
4555 if test -z "$FOUND_FILE_RES_TRUE"; then :
4557 echo "Cannot find the file program on your system.
4558 If it is installed on your system, adjust your PATH environment
4559 variable before running configure again."
4564 # uuidgen application
4566 # Extract the first word of "uuidgen", so it can be a program name with args.
4567 set dummy uuidgen; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -n "$FOUND_UUIDGEN"; then
4574 ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_FOUND_UUIDGEN="yes"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4594 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4595 if test -n "$FOUND_UUIDGEN"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4597 $as_echo "$FOUND_UUIDGEN" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4604 if test x$FOUND_UUIDGEN = xyes; then
4605 FOUND_UUIDGEN_RES_TRUE=
4606 FOUND_UUIDGEN_RES_FALSE='#'
4608 FOUND_UUIDGEN_RES_TRUE='#'
4609 FOUND_UUIDGEN_RES_FALSE=
4613 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4615 echo "Cannot find the uuidgen program on your system.
4616 If it is installed on your system, adjust your PATH environment
4617 variable before running configure again."
4622 # Checks for typedefs, structures, and compiler characteristics.
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4624 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4625 if ${ac_cv_header_stdbool_h+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4631 #include <stdbool.h>
4633 "error: bool is not defined"
4636 "error: false is not defined"
4639 "error: false is not 0"
4642 "error: true is not defined"
4645 "error: true is not 1"
4647 #ifndef __bool_true_false_are_defined
4648 "error: __bool_true_false_are_defined is not defined"
4651 struct s { _Bool s: 1; _Bool t; } s;
4653 char a[true == 1 ? 1 : -1];
4654 char b[false == 0 ? 1 : -1];
4655 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4656 char d[(bool) 0.5 == true ? 1 : -1];
4657 /* See body of main program for 'e'. */
4658 char f[(_Bool) 0.0 == false ? 1 : -1];
4660 char h[sizeof (_Bool)];
4662 enum { j = false, k = true, l = false * true, m = true * 256 };
4663 /* The following fails for
4664 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4666 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4667 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4668 /* Catch a bug in an HP-UX C compiler. See
4669 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4670 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4682 /* Refer to every declared value, to avoid compiler optimizations. */
4683 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4684 + !m + !n + !o + !p + !q + !pq);
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 ac_cv_header_stdbool_h=yes
4693 ac_cv_header_stdbool_h=no
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4698 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4699 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4700 if test "x$ac_cv_type__Bool" = xyes; then :
4702 cat >>confdefs.h <<_ACEOF
4703 #define HAVE__BOOL 1
4710 if test $ac_cv_header_stdbool_h = yes; then
4712 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4717 $as_echo_n "checking for inline... " >&6; }
4718 if ${ac_cv_c_inline+:} false; then :
4719 $as_echo_n "(cached) " >&6
4722 for ac_kw in inline __inline__ __inline; do
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 static $ac_kw foo_t static_foo () {return 0; }
4728 $ac_kw foo_t foo () {return 0; }
4732 if ac_fn_c_try_compile "$LINENO"; then :
4733 ac_cv_c_inline=$ac_kw
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736 test "$ac_cv_c_inline" != no && break
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4741 $as_echo "$ac_cv_c_inline" >&6; }
4743 case $ac_cv_c_inline in
4746 case $ac_cv_c_inline in
4748 *) ac_val=$ac_cv_c_inline;;
4750 cat >>confdefs.h <<_ACEOF
4752 #define inline $ac_val
4759 # Check for Google Test and if it exists, enable the tests.
4762 ac_cpp='$CXXCPP $CPPFLAGS'
4763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4767 for ac_header in gtest/gtest.h
4769 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
4770 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
4771 cat >>confdefs.h <<_ACEOF
4772 #define HAVE_GTEST_GTEST_H 1
4782 ac_cpp='$CPP $CPPFLAGS'
4783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 CPPFLAGSOLD=CPPFLAGS
4791 CPPFLAGS=`xml2-config --cflags`
4793 # Extract the first word of "xml2-config", so it can be a program name with args.
4794 set dummy xml2-config; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$FOUND_XML2CONFIG"; then
4801 ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_FOUND_XML2CONFIG="yes"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
4821 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
4822 if test -n "$FOUND_XML2CONFIG"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
4824 $as_echo "$FOUND_XML2CONFIG" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 if test x$FOUND_XML2CONFIG = xyes; then
4832 FOUND_XML2CONFIG_RES_TRUE=
4833 FOUND_XML2CONFIG_RES_FALSE='#'
4835 FOUND_XML2CONFIG_RES_TRUE='#'
4836 FOUND_XML2CONFIG_RES_FALSE=
4840 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
4842 echo "Cannot find the xml2-config program on your system.
4843 If it is installed on your system, adjust your PATH environment
4844 variable before running configure again."
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4850 $as_echo_n "checking for main in -lxml2... " >&6; }
4851 if ${ac_cv_lib_xml2_main+:} false; then :
4852 $as_echo_n "(cached) " >&6
4854 ac_check_lib_save_LIBS=$LIBS
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4868 if ac_fn_c_try_link "$LINENO"; then :
4869 ac_cv_lib_xml2_main=yes
4871 ac_cv_lib_xml2_main=no
4873 rm -f core conftest.err conftest.$ac_objext \
4874 conftest$ac_exeext conftest.$ac_ext
4875 LIBS=$ac_check_lib_save_LIBS
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4878 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4879 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4880 cat >>confdefs.h <<_ACEOF
4881 #define HAVE_LIBXML2 1
4887 echo "The libxml2 library must be installed on your system.
4888 Please check that this library is installed properly before
4889 running configure again."
4895 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4898 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4899 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4900 cat >>confdefs.h <<_ACEOF
4901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4905 echo "The libxml2 library headers must be installed on your system.
4906 Please check that the library headers are installed properly
4907 before running configure again."
4915 CPPFLAGS=CPPFLAGSOLD
4917 # Setup the debug setting.
4919 # Check whether --enable-debug was given.
4920 if test "${enable_debug+set}" = set; then :
4921 enableval=$enable_debug; case "${enableval}" in
4924 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4931 # Checks for library functions.
4933 if test x$debug = xtrue; then
4941 if test -z "$DEBUG_TRUE"; then :
4948 if test -z "$DEBUG_TRUE"; then :
4949 DBGSTATUS="DEBUG=true"
4952 DBGSTATUS="DEBUG=false"
4955 if test -z "$DEBUG_TRUE"; then :
4956 echo "Debugging mode has been enabled."
4959 if test x$gtestfound = xyes; then
4961 GTEST_FOUND_FALSE='#'
4963 GTEST_FOUND_TRUE='#'
4967 if test -z "$GTEST_FOUND_TRUE"; then :
4968 GTEST=`cat tests/test.commands`
4971 GTEST=" @echo \"Google Test was not found on the system. Unable to build tests.\""
4974 if test -z "$GTEST_FOUND_TRUE"; then :
4975 echo "Google Test found on the system. Enabling Unit Tests."
4978 ac_config_files="$ac_config_files Makefile tests/Makefile"
4980 cat >confcache <<\_ACEOF
4981 # This file is a shell script that caches the results of configure
4982 # tests run on this system so they can be shared between configure
4983 # scripts and configure runs, see configure's option --config-cache.
4984 # It is not useful on other systems. If it contains results you don't
4985 # want to keep, you may remove or edit it.
4987 # config.status only pays attention to the cache file if you give it
4988 # the --recheck option to rerun configure.
4990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4996 # The following way of writing the cache mishandles newlines in values,
4997 # but we know of no workaround that is simple, portable, and efficient.
4998 # So, we kill variables containing newlines.
4999 # Ultrix sh set writes to stderr and can't be redirected directly,
5000 # and sets the high bit in the cache file unless we assign to the vars.
5002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5003 eval ac_val=\$$ac_var
5007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5011 _ | IFS | as_nl) ;; #(
5012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5013 *) { eval $ac_var=; unset $ac_var;} ;;
5019 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5020 *${as_nl}ac_space=\ *)
5021 # `set' does not quote correctly, so add quotes: double-quote
5022 # substitution turns \\\\ into \\, and sed turns \\ into \.
5025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5028 # `set' quotes correctly as required by POSIX, so do not add quotes.
5029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5042 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5043 if test -w "$cache_file"; then
5044 if test "x$cache_file" != "x/dev/null"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5046 $as_echo "$as_me: updating cache $cache_file" >&6;}
5047 if test ! -f "$cache_file" || test -h "$cache_file"; then
5048 cat confcache >"$cache_file"
5050 case $cache_file in #(
5052 mv -f confcache "$cache_file"$$ &&
5053 mv -f "$cache_file"$$ "$cache_file" ;; #(
5055 mv -f confcache "$cache_file" ;;
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5067 # Let make expand exec_prefix.
5068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5070 # Transform confdefs.h into DEFS.
5071 # Protect against shell expansion while executing Makefile rules.
5072 # Protect against Makefile macro expansion.
5074 # If the first sed substitution is executed (which looks for macros that
5075 # take arguments), then branch to the quote section. Otherwise,
5076 # look for a macro that doesn't take arguments.
5086 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5088 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5092 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5105 DEFS=`sed -n "$ac_script" confdefs.h`
5111 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5112 # 1. Remove the extension, and $U if already installed.
5113 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5114 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5115 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5116 # will be set to the directory where LIBOBJS objects are built.
5117 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5118 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5122 LTLIBOBJS=$ac_ltlibobjs
5125 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5126 as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5129 if test -z "${FOUND_FILE_RES_TRUE}" && test -z "${FOUND_FILE_RES_FALSE}"; then
5130 as_fn_error $? "conditional \"FOUND_FILE_RES\" was never defined.
5131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5133 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5134 as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5137 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5138 as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5141 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5142 as_fn_error $? "conditional \"DEBUG\" was never defined.
5143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5145 if test -z "${GTEST_FOUND_TRUE}" && test -z "${GTEST_FOUND_FALSE}"; then
5146 as_fn_error $? "conditional \"GTEST_FOUND\" was never defined.
5147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5150 : "${CONFIG_STATUS=./config.status}"
5152 ac_clean_files_save=$ac_clean_files
5153 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5155 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5157 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5159 # Generated by $as_me.
5160 # Run this file to recreate the current configuration.
5161 # Compiler output produced by configure, useful for debugging
5162 # configure, is in config.log if it exists.
5168 SHELL=\${CONFIG_SHELL-$SHELL}
5171 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5172 ## -------------------- ##
5173 ## M4sh Initialization. ##
5174 ## -------------------- ##
5176 # Be more Bourne compatible
5177 DUALCASE=1; export DUALCASE # for MKS sh
5178 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5181 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5182 # is contrary to our usage. Disable this feature.
5183 alias -g '${1+"$@"}'='"$@"'
5184 setopt NO_GLOB_SUBST
5186 case `(set -o) 2>/dev/null` in #(
5198 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5199 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5201 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5202 # Prefer a ksh shell builtin over an external printf program on Solaris,
5203 # but without wasting forks for bash or zsh.
5204 if test -z "$BASH_VERSION$ZSH_VERSION" \
5205 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5206 as_echo='print -r --'
5207 as_echo_n='print -rn --'
5208 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5209 as_echo='printf %s\n'
5210 as_echo_n='printf %s'
5212 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5213 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5214 as_echo_n='/usr/ucb/echo -n'
5216 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5217 as_echo_n_body='eval
5221 expr "X$arg" : "X\\(.*\\)$as_nl";
5222 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5224 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5226 export as_echo_n_body
5227 as_echo_n='sh -c $as_echo_n_body as_echo'
5230 as_echo='sh -c $as_echo_body as_echo'
5233 # The user is always right.
5234 if test "${PATH_SEPARATOR+set}" != set; then
5236 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5237 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5244 # We need space, tab and new line, in precisely that order. Quoting is
5245 # there to prevent editors from complaining about space-tab.
5246 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5247 # splitting by setting IFS to empty value.)
5250 # Find who we are. Look in the path if we contain no directory separator.
5253 *[\\/]* ) as_myself=$0 ;;
5254 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir=.
5259 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5265 # We did not find ourselves, most probably we were run as `sh COMMAND'
5266 # in which case we are not to be found in the path.
5267 if test "x$as_myself" = x; then
5270 if test ! -f "$as_myself"; then
5271 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5275 # Unset variables that we do not need and which cause bugs (e.g. in
5276 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5277 # suppresses any "Segmentation fault" message there. '((' could
5278 # trigger a bug in pdksh 5.2.14.
5279 for as_var in BASH_ENV ENV MAIL MAILPATH
5280 do eval test x\${$as_var+set} = xset \
5281 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5294 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5297 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5298 # ----------------------------------------
5299 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5300 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5301 # script with STATUS, using 1 if that was 0.
5304 as_status=$1; test $as_status -eq 0 && as_status=1
5306 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5307 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5309 $as_echo "$as_me: error: $2" >&2
5310 as_fn_exit $as_status
5314 # as_fn_set_status STATUS
5315 # -----------------------
5316 # Set $? to STATUS, without forking.
5320 } # as_fn_set_status
5324 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5334 # Portably unset VAR.
5337 { eval $1=; unset $1;}
5339 as_unset=as_fn_unset
5340 # as_fn_append VAR VALUE
5341 # ----------------------
5342 # Append the text in VALUE to the end of the definition contained in VAR. Take
5343 # advantage of any shell optimizations that allow amortized linear growth over
5344 # repeated appends, instead of the typical quadratic growth present in naive
5346 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5347 eval 'as_fn_append ()
5358 # as_fn_arith ARG...
5359 # ------------------
5360 # Perform arithmetic evaluation on the ARGs, and store the result in the
5361 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5362 # must be portable across $(()) and expr.
5363 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5364 eval 'as_fn_arith ()
5371 as_val=`expr "$@" || test $? -eq 1`
5376 if expr a : '\(a\)' >/dev/null 2>&1 &&
5377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5384 as_basename=basename
5389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5395 as_me=`$as_basename -- "$0" ||
5396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5397 X"$0" : 'X\(//\)$' \| \
5398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5400 sed '/^.*\/\([^/][^/]*\)\/*$/{
5414 # Avoid depending upon Character Ranges.
5415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5418 as_cr_digits='0123456789'
5419 as_cr_alnum=$as_cr_Letters$as_cr_digits
5421 ECHO_C= ECHO_N= ECHO_T=
5422 case `echo -n x` in #(((((
5424 case `echo 'xy\c'` in
5425 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5427 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5434 rm -f conf$$ conf$$.exe conf$$.file
5435 if test -d conf$$.dir; then
5436 rm -f conf$$.dir/conf$$.file
5439 mkdir conf$$.dir 2>/dev/null
5441 if (echo >conf$$.file) 2>/dev/null; then
5442 if ln -s conf$$.file conf$$ 2>/dev/null; then
5444 # ... but there are two gotchas:
5445 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5446 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5447 # In both cases, we have to default to `cp -pR'.
5448 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5450 elif ln conf$$.file conf$$ 2>/dev/null; then
5458 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5459 rmdir conf$$.dir 2>/dev/null
5464 # Create "$as_dir" as a directory, including parents if necessary.
5469 -*) as_dir=./$as_dir;;
5471 test -d "$as_dir" || eval $as_mkdir_p || {
5475 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5476 *) as_qdir=$as_dir;;
5478 as_dirs="'$as_qdir' $as_dirs"
5479 as_dir=`$as_dirname -- "$as_dir" ||
5480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5481 X"$as_dir" : 'X\(//\)[^/]' \| \
5482 X"$as_dir" : 'X\(//\)$' \| \
5483 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5484 $as_echo X"$as_dir" |
5485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5502 test -d "$as_dir" && break
5504 test -z "$as_dirs" || eval "mkdir $as_dirs"
5505 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5509 if mkdir -p . 2>/dev/null; then
5510 as_mkdir_p='mkdir -p "$as_dir"'
5512 test -d ./-p && rmdir ./-p
5517 # as_fn_executable_p FILE
5518 # -----------------------
5519 # Test if FILE is an executable regular file.
5520 as_fn_executable_p ()
5522 test -f "$1" && test -x "$1"
5523 } # as_fn_executable_p
5525 as_executable_p=as_fn_executable_p
5527 # Sed expression to map a string onto a valid CPP name.
5528 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5530 # Sed expression to map a string onto a valid variable name.
5531 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5535 ## ----------------------------------- ##
5536 ## Main body of $CONFIG_STATUS script. ##
5537 ## ----------------------------------- ##
5539 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5542 # Save the log message, to keep $0 and so on meaningful, and to
5543 # report actual input values of CONFIG_FILES etc. instead of their
5544 # values after options handling.
5546 This file was extended by Xestia Address Book $as_me 0.05, which was
5547 generated by GNU Autoconf 2.69. Invocation command line was
5549 CONFIG_FILES = $CONFIG_FILES
5550 CONFIG_HEADERS = $CONFIG_HEADERS
5551 CONFIG_LINKS = $CONFIG_LINKS
5552 CONFIG_COMMANDS = $CONFIG_COMMANDS
5555 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5560 case $ac_config_files in *"
5561 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5567 # Files that config.status was made for.
5568 config_files="`echo $ac_config_files`"
5572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5574 \`$as_me' instantiates files and other configuration actions
5575 from templates according to the current configuration. Unless the files
5576 and actions are specified as TAGs, all are instantiated by default.
5578 Usage: $0 [OPTION]... [TAG]...
5580 -h, --help print this help, then exit
5581 -V, --version print version number and configuration settings, then exit
5582 --config print configuration, then exit
5583 -q, --quiet, --silent
5584 do not print progress messages
5585 -d, --debug don't remove temporary files
5586 --recheck update $as_me by reconfiguring in the same conditions
5587 --file=FILE[:TEMPLATE]
5588 instantiate the configuration file FILE
5590 Configuration files:
5593 Report bugs to <bugs@xestia.co.uk>."
5596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5597 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5599 Xestia Address Book config.status 0.05
5600 configured by $0, generated by GNU Autoconf 2.69,
5601 with options \\"\$ac_cs_config\\"
5603 Copyright (C) 2012 Free Software Foundation, Inc.
5604 This config.status script is free software; the Free Software Foundation
5605 gives unlimited permission to copy, distribute and modify it."
5609 test -n "\$AWK" || AWK=awk
5612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5613 # The default lists apply if the user does not specify any file.
5619 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5620 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5624 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5636 # Handling of the options.
5637 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5639 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5640 $as_echo "$ac_cs_version"; exit ;;
5641 --config | --confi | --conf | --con | --co | --c )
5642 $as_echo "$ac_cs_config"; exit ;;
5643 --debug | --debu | --deb | --de | --d | -d )
5645 --file | --fil | --fi | --f )
5648 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5649 '') as_fn_error $? "missing file argument" ;;
5651 as_fn_append CONFIG_FILES " '$ac_optarg'"
5652 ac_need_defaults=false;;
5653 --he | --h | --help | --hel | -h )
5654 $as_echo "$ac_cs_usage"; exit ;;
5655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5660 -*) as_fn_error $? "unrecognized option: \`$1'
5661 Try \`$0 --help' for more information." ;;
5663 *) as_fn_append ac_config_targets " $1"
5664 ac_need_defaults=false ;;
5670 ac_configure_extra_args=
5672 if $ac_cs_silent; then
5674 ac_configure_extra_args="$ac_configure_extra_args --silent"
5678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5679 if \$ac_cs_recheck; then
5680 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5683 CONFIG_SHELL='$SHELL'
5689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5694 ## Running $as_me. ##
5700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5705 # Handling of arguments.
5706 for ac_config_target in $ac_config_targets
5708 case $ac_config_target in
5709 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5710 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5712 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5717 # If the user did not use the arguments to specify the items to instantiate,
5718 # then the envvar interface is used. Set only those that are not.
5719 # We use the long form for the default assignment because of an extremely
5720 # bizarre bug on SunOS 4.1.3.
5721 if $ac_need_defaults; then
5722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5725 # Have a temporary directory for convenience. Make it in the build tree
5726 # simply because there is no reason against having it here, and in addition,
5727 # creating and moving files from /tmp can sometimes cause problems.
5728 # Hook for its removal unless debugging.
5729 # Note that there is a small window in which the directory will not be cleaned:
5730 # after its creation but before its name has been assigned to `$tmp'.
5734 trap 'exit_status=$?
5736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5738 trap 'as_fn_exit 1' 1 2 13 15
5740 # Create a (secure) tmp directory for tmp files.
5743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5747 tmp=./conf$$-$RANDOM
5748 (umask 077 && mkdir "$tmp")
5749 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5752 # Set up the scripts for CONFIG_FILES section.
5753 # No need to generate them if there are no CONFIG_FILES.
5754 # This happens for instance with `./config.status config.h'.
5755 if test -n "$CONFIG_FILES"; then
5758 ac_cr=`echo X | tr X '\015'`
5759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5760 # But we know of no other shell where ac_cr would be empty at this
5761 # point, so we can use a bashism as a fallback.
5762 if test "x$ac_cr" = x; then
5763 eval ac_cr=\$\'\\r\'
5765 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5777 echo "cat >conf$$subs.awk <<_ACEOF" &&
5778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5784 for ac_last_try in false false false false false :; do
5785 . ./conf$$subs.sh ||
5786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5788 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5789 if test $ac_delim_n = $ac_delim_num; then
5791 elif $ac_last_try; then
5792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5800 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5804 s/^/S["/; s/!.*/"]=/
5814 s/\(.\{148\}\)..*/\1/
5816 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5828 s/\(.\{148\}\)..*/\1/
5830 s/["\\]/\\&/g; s/^/"/; s/$/"/
5834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5839 ' <conf$$subs.awk | sed '
5844 ' >>$CONFIG_STATUS || ac_write_fail=1
5845 rm -f conf$$subs.awk
5846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5848 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5849 for (key in S) S_is_set[key] = 1
5855 nfields = split(line, field, "@")
5857 len = length(field[1])
5858 for (i = 2; i < nfields; i++) {
5860 keylen = length(key)
5861 if (S_is_set[key]) {
5863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5864 len += length(value) + length(field[++i])
5875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5876 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5877 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5880 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5881 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5886 # trailing colons and then remove the whole line if VPATH becomes empty
5887 # (actually we leave an empty line to preserve line numbers).
5888 if test "x$srcdir" = x.; then
5889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5908 fi # test -n "$CONFIG_FILES"
5911 eval set X " :F $CONFIG_FILES "
5916 :[FHLC]) ac_mode=$ac_tag; continue;;
5918 case $ac_mode$ac_tag in
5920 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5921 :[FH]-) ac_tag=-:-;;
5922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5939 -) ac_f="$ac_tmp/stdin";;
5940 *) # Look for the file first in the build tree, then in the source tree
5941 # (if the path is not absolute). The absolute path cannot be DOS-style,
5942 # because $ac_f cannot contain `:'.
5946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5948 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5950 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5951 as_fn_append ac_file_inputs " '$ac_f'"
5954 # Let's still pretend it is `configure' which instantiates (i.e., don't
5955 # use $as_me), people would be surprised to read:
5956 # /* config.h. Generated by config.status. */
5957 configure_input='Generated from '`
5958 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5960 if test x"$ac_file" != x-; then
5961 configure_input="$ac_file. $configure_input"
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5963 $as_echo "$as_me: creating $ac_file" >&6;}
5965 # Neutralize special characters interpreted by sed in replacement strings.
5966 case $configure_input in #(
5967 *\&* | *\|* | *\\* )
5968 ac_sed_conf_input=`$as_echo "$configure_input" |
5969 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5970 *) ac_sed_conf_input=$configure_input;;
5974 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5980 ac_dir=`$as_dirname -- "$ac_file" ||
5981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5982 X"$ac_file" : 'X\(//\)[^/]' \| \
5983 X"$ac_file" : 'X\(//\)$' \| \
5984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5985 $as_echo X"$ac_file" |
5986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6003 as_dir="$ac_dir"; as_fn_mkdir_p
6007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6009 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6010 # A ".." for each directory in $ac_dir_suffix.
6011 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6012 case $ac_top_builddir_sub in
6013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6017 ac_abs_top_builddir=$ac_pwd
6018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6019 # for backward compatibility:
6020 ac_top_builddir=$ac_top_build_prefix
6023 .) # We are building in place.
6025 ac_top_srcdir=$ac_top_builddir_sub
6026 ac_abs_top_srcdir=$ac_pwd ;;
6027 [\\/]* | ?:[\\/]* ) # Absolute name.
6028 ac_srcdir=$srcdir$ac_dir_suffix;
6029 ac_top_srcdir=$srcdir
6030 ac_abs_top_srcdir=$srcdir ;;
6032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6033 ac_top_srcdir=$ac_top_build_prefix$srcdir
6034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6048 # If the template does not know about datarootdir, expand it.
6049 # FIXME: This hack should be removed a few years after 2.60.
6050 ac_datarootdir_hack=; ac_datarootdir_seen=
6061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6062 *datarootdir*) ac_datarootdir_seen=yes;;
6063 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6065 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6068 ac_datarootdir_hack='
6069 s&@datadir@&$datadir&g
6070 s&@docdir@&$docdir&g
6071 s&@infodir@&$infodir&g
6072 s&@localedir@&$localedir&g
6073 s&@mandir@&$mandir&g
6074 s&\\\${datarootdir}&$datarootdir&g' ;;
6078 # Neutralize VPATH when `$srcdir' = `.'.
6079 # Shell code in configure.ac might set extrasub.
6080 # FIXME: do we really want to maintain this feature?
6081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6082 ac_sed_extra="$ac_vpsub
6085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6088 s|@configure_input@|$ac_sed_conf_input|;t t
6089 s&@top_builddir@&$ac_top_builddir_sub&;t t
6090 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6091 s&@srcdir@&$ac_srcdir&;t t
6092 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6093 s&@top_srcdir@&$ac_top_srcdir&;t t
6094 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6095 s&@builddir@&$ac_builddir&;t t
6096 s&@abs_builddir@&$ac_abs_builddir&;t t
6097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6098 $ac_datarootdir_hack
6100 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6101 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6104 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6106 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6108 which seems to be undefined. Please make sure it is defined" >&5
6109 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6110 which seems to be undefined. Please make sure it is defined" >&2;}
6112 rm -f "$ac_tmp/stdin"
6114 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6115 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6129 ac_clean_files=$ac_clean_files_save
6131 test $ac_write_fail = 0 ||
6132 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6135 # configure is writing to config.log, and then calls config.status.
6136 # config.status does its own redirection, appending to config.log.
6137 # Unfortunately, on DOS this fails, as config.log is still kept open
6138 # by configure, so config.status won't be able to write to it; its
6139 # output is simply discarded. So we exec the FD to /dev/null,
6140 # effectively closing config.log, so it can be properly (re)opened and
6141 # appended to by config.status. When coming back to configure, we
6142 # need to make the FD available again.
6143 if test "$no_create" != yes; then
6145 ac_config_status_args=
6146 test "$silent" = yes &&
6147 ac_config_status_args="$ac_config_status_args --quiet"
6149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6152 # would make configure fail if this is the last instruction.
6153 $ac_cs_success || as_fn_exit 1
6155 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6157 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}