2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.01.
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.01'
584 PACKAGE_STRING='Xestia Address Book 0.01'
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
677 program_transform_name
690 enable_option_checking
696 ac_precious_vars='build_alias
711 # Initialize some variables set by options.
713 ac_init_version=false
714 ac_unrecognized_opts=
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
725 program_transform_name=s,x,x,
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir='${exec_prefix}/bin'
740 sbindir='${exec_prefix}/sbin'
741 libexecdir='${exec_prefix}/libexec'
742 datarootdir='${prefix}/share'
743 datadir='${datarootdir}'
744 sysconfdir='${prefix}/etc'
745 sharedstatedir='${prefix}/com'
746 localstatedir='${prefix}/var'
747 includedir='${prefix}/include'
748 oldincludedir='/usr/include'
749 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
750 infodir='${datarootdir}/info'
755 libdir='${exec_prefix}/lib'
756 localedir='${datarootdir}/locale'
757 mandir='${datarootdir}/man'
763 # If the previous option needs an argument, assign it.
764 if test -n "$ac_prev"; then
765 eval $ac_prev=\$ac_option
771 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776 # Accept the important Cygnus configure options, so we can diagnose typos.
778 case $ac_dashdash$ac_option in
782 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787 -build | --build | --buil | --bui | --bu)
788 ac_prev=build_alias ;;
789 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790 build_alias=$ac_optarg ;;
792 -cache-file | --cache-file | --cache-fil | --cache-fi \
793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794 ac_prev=cache_file ;;
795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797 cache_file=$ac_optarg ;;
800 cache_file=config.cache ;;
802 -datadir | --datadir | --datadi | --datad)
804 -datadir=* | --datadir=* | --datadi=* | --datad=*)
805 datadir=$ac_optarg ;;
807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808 | --dataroo | --dataro | --datar)
809 ac_prev=datarootdir ;;
810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812 datarootdir=$ac_optarg ;;
814 -disable-* | --disable-*)
815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818 as_fn_error $? "invalid feature name: $ac_useropt"
819 ac_useropt_orig=$ac_useropt
820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826 ac_unrecognized_sep=', ';;
828 eval enable_$ac_useropt=no ;;
830 -docdir | --docdir | --docdi | --doc | --do)
832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
840 -enable-* | --enable-*)
841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=\$ac_optarg ;;
856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858 | --exec | --exe | --ex)
859 ac_prev=exec_prefix ;;
860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862 | --exec=* | --exe=* | --ex=*)
863 exec_prefix=$ac_optarg ;;
865 -gas | --gas | --ga | --g)
866 # Obsolete; use --with-gas.
869 -help | --help | --hel | --he | -h)
871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872 ac_init_help=recursive ;;
873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874 ac_init_help=short ;;
876 -host | --host | --hos | --ho)
877 ac_prev=host_alias ;;
878 -host=* | --host=* | --hos=* | --ho=*)
879 host_alias=$ac_optarg ;;
881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 htmldir=$ac_optarg ;;
887 -includedir | --includedir | --includedi | --included | --include \
888 | --includ | --inclu | --incl | --inc)
889 ac_prev=includedir ;;
890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891 | --includ=* | --inclu=* | --incl=* | --inc=*)
892 includedir=$ac_optarg ;;
894 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897 infodir=$ac_optarg ;;
899 -libdir | --libdir | --libdi | --libd)
901 -libdir=* | --libdir=* | --libdi=* | --libd=*)
904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905 | --libexe | --libex | --libe)
906 ac_prev=libexecdir ;;
907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908 | --libexe=* | --libex=* | --libe=*)
909 libexecdir=$ac_optarg ;;
911 -localedir | --localedir | --localedi | --localed | --locale)
913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914 localedir=$ac_optarg ;;
916 -localstatedir | --localstatedir | --localstatedi | --localstated \
917 | --localstate | --localstat | --localsta | --localst | --locals)
918 ac_prev=localstatedir ;;
919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921 localstatedir=$ac_optarg ;;
923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929 # Obsolete; use --without-fp.
932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933 | --no-cr | --no-c | -n)
936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942 | --oldin | --oldi | --old | --ol | --o)
943 ac_prev=oldincludedir ;;
944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947 oldincludedir=$ac_optarg ;;
949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954 -program-prefix | --program-prefix | --program-prefi | --program-pref \
955 | --program-pre | --program-pr | --program-p)
956 ac_prev=program_prefix ;;
957 -program-prefix=* | --program-prefix=* | --program-prefi=* \
958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959 program_prefix=$ac_optarg ;;
961 -program-suffix | --program-suffix | --program-suffi | --program-suff \
962 | --program-suf | --program-su | --program-s)
963 ac_prev=program_suffix ;;
964 -program-suffix=* | --program-suffix=* | --program-suffi=* \
965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966 program_suffix=$ac_optarg ;;
968 -program-transform-name | --program-transform-name \
969 | --program-transform-nam | --program-transform-na \
970 | --program-transform-n | --program-transform- \
971 | --program-transform | --program-transfor \
972 | --program-transfo | --program-transf \
973 | --program-trans | --program-tran \
974 | --progr-tra | --program-tr | --program-t)
975 ac_prev=program_transform_name ;;
976 -program-transform-name=* | --program-transform-name=* \
977 | --program-transform-nam=* | --program-transform-na=* \
978 | --program-transform-n=* | --program-transform-=* \
979 | --program-transform=* | --program-transfor=* \
980 | --program-transfo=* | --program-transf=* \
981 | --program-trans=* | --program-tran=* \
982 | --progr-tra=* | --program-tr=* | --program-t=*)
983 program_transform_name=$ac_optarg ;;
985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990 -psdir | --psdir | --psdi | --psd | --ps)
992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 sbindir=$ac_optarg ;;
1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007 | --sharedst | --shareds | --shared | --share | --shar \
1009 ac_prev=sharedstatedir ;;
1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 sharedstatedir=$ac_optarg ;;
1016 -site | --site | --sit)
1018 -site=* | --site=* | --sit=*)
1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024 srcdir=$ac_optarg ;;
1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027 | --syscon | --sysco | --sysc | --sys | --sy)
1028 ac_prev=sysconfdir ;;
1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031 sysconfdir=$ac_optarg ;;
1033 -target | --target | --targe | --targ | --tar | --ta | --t)
1034 ac_prev=target_alias ;;
1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036 target_alias=$ac_optarg ;;
1038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1041 -version | --version | --versio | --versi | --vers | -V)
1042 ac_init_version=: ;;
1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1058 eval with_$ac_useropt=\$ac_optarg ;;
1060 -without-* | --without-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval with_$ac_useropt=no ;;
1077 # Obsolete; use --with-x.
1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081 | --x-incl | --x-inc | --x-in | --x-i)
1082 ac_prev=x_includes ;;
1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085 x_includes=$ac_optarg ;;
1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089 ac_prev=x_libraries ;;
1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092 x_libraries=$ac_optarg ;;
1094 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information"
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 case $ac_envvar in #(
1102 '' | [0-9]* | *[!_$as_cr_alnum]* )
1103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 eval $ac_envvar=\$ac_optarg
1106 export $ac_envvar ;;
1109 # FIXME: should be removed in autoconf 3.0.
1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1119 if test -n "$ac_prev"; then
1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121 as_fn_error $? "missing argument to $ac_option"
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1132 # Check all directory arguments for consistency.
1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir
1138 eval ac_val=\$$ac_var
1139 # Remove trailing slashes.
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143 eval $ac_var=\$ac_val;;
1145 # Be sure to have absolute directory names.
1147 [\\/$]* | ?:[\\/]* ) continue;;
1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 elif test "x$build_alias" != "x$host_alias"; then
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1249 \`configure' configures Xestia Address Book 0.01 to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root
1298 [DATAROOTDIR/doc/xestia-address-book]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of Xestia Address Book 0.01:";;
1316 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1317 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1318 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1319 --with-wx-config=CONFIG wx-config script to use (optional)
1320 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1321 --with-wx-exec-prefix=PREFIX
1322 Exec prefix where wxWidgets is installed (optional)
1324 Some influential environment variables:
1325 CXX C++ compiler command
1326 CXXFLAGS C++ compiler flags
1327 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1328 nonstandard directory <lib dir>
1329 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1331 you have headers in a nonstandard directory <include dir>
1332 CC C compiler command
1333 CFLAGS C compiler flags
1335 CXXCPP C++ preprocessor
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to <bugs@xestia.co.uk>.
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1370 .) # We are building in place.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1396 cd "$ac_pwd" || { ac_status=$?; break; }
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1403 Xestia Address Book configure 0.01
1404 generated by GNU Autoconf 2.69
1406 Copyright (C) 2012 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_cxx_try_compile LINENO
1418 # ----------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_cxx_try_compile ()
1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423 rm -f conftest.$ac_objext
1424 if { { ac_try="$ac_compile"
1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_cxx_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1451 as_fn_set_status $ac_retval
1453 } # ac_fn_cxx_try_compile
1455 # ac_fn_c_try_compile LINENO
1456 # --------------------------
1457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_compile ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 rm -f conftest.$ac_objext
1462 if { { ac_try="$ac_compile"
1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_compile") 2>conftest.err
1471 if test -s conftest.err; then
1472 grep -v '^ *+' conftest.err >conftest.er1
1473 cat conftest.er1 >&5
1474 mv -f conftest.er1 conftest.err
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; } && {
1478 test -z "$ac_c_werror_flag" ||
1479 test ! -s conftest.err
1480 } && test -s conftest.$ac_objext; then :
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1489 as_fn_set_status $ac_retval
1491 } # ac_fn_c_try_compile
1493 # ac_fn_c_try_cpp LINENO
1494 # ----------------------
1495 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 if { { ac_try="$ac_cpp conftest.$ac_ext"
1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502 *) ac_try_echo=$ac_try;;
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1508 if test -s conftest.err; then
1509 grep -v '^ *+' conftest.err >conftest.er1
1510 cat conftest.er1 >&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } > conftest.i && {
1515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1520 $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.$ac_ext >&5
1525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1526 as_fn_set_status $ac_retval
1530 # ac_fn_cxx_try_cpp LINENO
1531 # ------------------------
1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_cxx_try_cpp ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 if { { ac_try="$ac_cpp conftest.$ac_ext"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } > conftest.i && {
1552 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1553 test ! -s conftest.err
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } # ac_fn_cxx_try_cpp
1567 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1568 # ---------------------------------------------------------
1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1570 # the include files in INCLUDES and setting the cache variable VAR
1572 ac_fn_cxx_check_header_mongrel ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if eval \${$3+:} false; then :
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579 $as_echo_n "(cached) " >&6
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1585 # Is the header compilable?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1587 $as_echo_n "checking $2 usability... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h. */
1593 if ac_fn_cxx_try_compile "$LINENO"; then :
1594 ac_header_compiler=yes
1596 ac_header_compiler=no
1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1600 $as_echo "$ac_header_compiler" >&6; }
1602 # Is the header present?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1604 $as_echo_n "checking $2 presence... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1609 if ac_fn_cxx_try_cpp "$LINENO"; then :
1610 ac_header_preproc=yes
1612 ac_header_preproc=no
1614 rm -f conftest.err conftest.i conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1616 $as_echo "$ac_header_preproc" >&6; }
1618 # So? What about this header?
1619 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1630 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1634 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637 ( $as_echo "## -------------------------------- ##
1638 ## Report this to bugs@xestia.co.uk ##
1639 ## -------------------------------- ##"
1640 ) | sed "s/^/$as_me: WARNING: /" >&2
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \${$3+:} false; then :
1646 $as_echo_n "(cached) " >&6
1648 eval "$3=\$ac_header_compiler"
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 } # ac_fn_cxx_check_header_mongrel
1658 # ac_fn_cxx_try_run LINENO
1659 # ------------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1662 ac_fn_cxx_try_run ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 ac_retval=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1698 } # ac_fn_cxx_try_run
1700 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1701 # ---------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_cxx_check_header_compile ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1717 if ac_fn_cxx_try_compile "$LINENO"; then :
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 } # ac_fn_cxx_check_header_compile
1731 # ac_fn_cxx_try_link LINENO
1732 # -------------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_cxx_try_link ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_cxx_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 test -x conftest$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1775 } # ac_fn_cxx_try_link
1777 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1778 # ---------------------------------------------
1779 # Tests whether TYPE exists after having included INCLUDES, setting cache
1780 # variable VAR accordingly.
1781 ac_fn_cxx_check_type ()
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1802 if ac_fn_cxx_try_compile "$LINENO"; then :
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1815 if ac_fn_cxx_try_compile "$LINENO"; then :
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_cxx_check_type
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1834 It was created by Xestia Address Book $as_me 0.01, which was
1835 generated by GNU Autoconf 2.69. Invocation command line was
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1856 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1857 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1860 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1861 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1862 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 test -z "$as_dir" && as_dir=.
1871 $as_echo "PATH: $as_dir"
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1895 ac_must_keep_next=false
1901 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903 | -silent | --silent | --silen | --sile | --sil)
1906 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1909 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1911 as_fn_append ac_configure_args1 " '$ac_arg'"
1912 if test $ac_must_keep_next = true; then
1913 ac_must_keep_next=false # Got value, back to normal.
1916 *=* | --config-cache | -C | -disable-* | --disable-* \
1917 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919 | -with-* | --with-* | -without-* | --without-* | --x)
1920 case "$ac_configure_args0 " in
1921 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1924 -* ) ac_must_keep_next=true ;;
1927 as_fn_append ac_configure_args " '$ac_arg'"
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log. We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941 # Save into config.log some information that might help in debugging.
1945 $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1949 # The following way of writing the cache mishandles newlines in values,
1951 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952 eval ac_val=\$$ac_var
1956 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1960 _ | IFS | as_nl) ;; #(
1961 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962 *) { eval $ac_var=; unset $ac_var;} ;;
1967 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968 *${as_nl}ac_space=\ *)
1970 "s/'\''/'\''\\\\'\'''\''/g;
1971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1981 $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1985 for ac_var in $ac_subst_vars
1987 eval ac_val=\$$ac_var
1989 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1991 $as_echo "$ac_var='\''$ac_val'\''"
1995 if test -n "$ac_subst_files"; then
1996 $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
2000 for ac_var in $ac_subst_files
2002 eval ac_val=\$$ac_var
2004 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2006 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -s confdefs.h; then
2012 $as_echo "## ----------- ##
2019 test "$ac_signal" != 0 &&
2020 $as_echo "$as_me: caught signal $ac_signal"
2021 $as_echo "$as_me: exit $exit_status"
2023 rm -f core *.core core.conftest.* &&
2024 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2027 for ac_signal in 1 2 13 15; do
2028 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2035 $as_echo "/* confdefs.h */" > confdefs.h
2037 # Predefined preprocessor variables.
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2068 if test -n "$CONFIG_SITE"; then
2069 # We do not want a PATH search for config.site.
2070 case $CONFIG_SITE in #((
2071 -*) ac_site_file1=./$CONFIG_SITE;;
2072 */*) ac_site_file1=$CONFIG_SITE;;
2073 *) ac_site_file1=./$CONFIG_SITE;;
2075 elif test "x$prefix" != xNONE; then
2076 ac_site_file1=$prefix/share/config.site
2077 ac_site_file2=$prefix/etc/config.site
2079 ac_site_file1=$ac_default_prefix/share/config.site
2080 ac_site_file2=$ac_default_prefix/etc/config.site
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2084 test "x$ac_site_file" = xNONE && continue
2085 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088 sed 's/^/| /' "$ac_site_file" >&5
2090 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2097 if test -r "$cache_file"; then
2098 # Some versions of bash will fail to source /dev/null (special files
2099 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2100 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2104 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105 *) . "./$cache_file";;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114 # Check that the precious variables saved in the cache have kept the same
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119 eval ac_new_set=\$ac_env_${ac_var}_set
2120 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121 eval ac_new_val=\$ac_env_${ac_var}_value
2122 case $ac_old_set,$ac_new_set in
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126 ac_cache_corrupted=: ;;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130 ac_cache_corrupted=: ;;
2133 if test "x$ac_old_val" != "x$ac_new_val"; then
2134 # differences in whitespace do not lead to failure.
2135 ac_old_val_w=`echo x $ac_old_val`
2136 ac_new_val_w=`echo x $ac_new_val`
2137 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140 ac_cache_corrupted=:
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144 eval $ac_var=\$ac_old_val
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2147 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2152 # Pass precious variables to config.status.
2153 if test "$ac_new_set" = set; then
2155 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 *) ac_arg=$ac_var=$ac_new_val ;;
2158 case " $ac_configure_args " in
2159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2160 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2164 if $ac_cache_corrupted; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182 #AC_CONFIG_SRCDIR([version.h])
2183 #AC_CONFIG_HEADERS([config.h])
2185 # Checks for programs.
2187 ac_cpp='$CXXCPP $CPPFLAGS'
2188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2191 if test -z "$CXX"; then
2192 if test -n "$CCC"; then
2195 if test -n "$ac_tool_prefix"; then
2196 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if ${ac_cv_prog_CXX+:} false; then :
2203 $as_echo_n "(cached) " >&6
2205 if test -n "$CXX"; then
2206 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CXX"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2228 $as_echo "$CXX" >&6; }
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2235 test -n "$CXX" && break
2238 if test -z "$CXX"; then
2240 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2242 # Extract the first word of "$ac_prog", so it can be a program name with args.
2243 set dummy $ac_prog; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2247 $as_echo_n "(cached) " >&6
2249 if test -n "$ac_ct_CXX"; then
2250 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_ac_ct_CXX="$ac_prog"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2270 if test -n "$ac_ct_CXX"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2272 $as_echo "$ac_ct_CXX" >&6; }
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2279 test -n "$ac_ct_CXX" && break
2282 if test "x$ac_ct_CXX" = x; then
2285 case $cross_compiling:$ac_tool_warned in
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2289 ac_tool_warned=yes ;;
2297 # Provide some information about the compiler.
2298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2301 for ac_option in --version -v -V -qversion; do
2302 { { ac_try="$ac_compiler $ac_option >&5"
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2311 if test -s conftest.err; then
2313 ... rest of stderr output deleted ...
2314 10q' conftest.err >conftest.er1
2315 cat conftest.er1 >&5
2317 rm -f conftest.er1 conftest.err
2318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319 test $ac_status = 0; }
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2333 ac_clean_files_save=$ac_clean_files
2334 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2335 # Try to create an executable without -o first, disregard a.out.
2336 # It will help us diagnose broken compilers, and finding out an intuition
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2339 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2340 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2342 # The possible output files:
2343 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2346 for ac_file in $ac_files
2349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2350 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2355 if { { ac_try="$ac_link_default"
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362 (eval "$ac_link_default") 2>&5
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; }; then :
2366 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2367 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2368 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2369 # so that the user can short-circuit this test for compilers unknown to
2371 for ac_file in $ac_files ''
2373 test -f "$ac_file" || continue
2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2378 # We found the default executable, but exeext='' is most
2382 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2384 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386 # We set ac_cv_exeext here because the later test for it is not
2387 # safe: cross compilers may not add the suffix if given an `-o'
2388 # argument, so we may need to know it at that point already.
2389 # Even if this section looks crufty: it has the advantage of
2396 test "$ac_cv_exeext" = no && ac_cv_exeext=
2401 if test -z "$ac_file"; then :
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409 as_fn_error 77 "C++ compiler cannot create executables
2410 See \`config.log' for more details" "$LINENO" 5; }
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2413 $as_echo "yes" >&6; }
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2416 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2418 $as_echo "$ac_file" >&6; }
2419 ac_exeext=$ac_cv_exeext
2421 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2422 ac_clean_files=$ac_clean_files_save
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2424 $as_echo_n "checking for suffix of executables... " >&6; }
2425 if { { ac_try="$ac_link"
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_link") 2>&5
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; }; then :
2436 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2437 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2438 # work properly (i.e., refer to `conftest.exe'), while it won't with
2440 for ac_file in conftest.exe conftest conftest.*; do
2441 test -f "$ac_file" || continue
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2444 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2453 See \`config.log' for more details" "$LINENO" 5; }
2455 rm -f conftest conftest$ac_cv_exeext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2457 $as_echo "$ac_cv_exeext" >&6; }
2459 rm -f conftest.$ac_ext
2460 EXEEXT=$ac_cv_exeext
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2468 FILE *f = fopen ("conftest.out", "w");
2469 return ferror (f) || fclose (f) != 0;
2475 ac_clean_files="$ac_clean_files conftest.out"
2476 # Check that the compiler produces executables we can run. If not, either
2477 # the compiler is broken, or we cross compile.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2479 $as_echo_n "checking whether we are cross compiling... " >&6; }
2480 if test "$cross_compiling" != yes; then
2481 { { ac_try="$ac_link"
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 $as_echo "$ac_try_echo"; } >&5
2488 (eval "$ac_link") 2>&5
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; }
2492 if { ac_try='./conftest$ac_cv_exeext'
2493 { { case "(($ac_try" in
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499 (eval "$ac_try") 2>&5
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; }; }; then
2505 if test "$cross_compiling" = maybe; then
2508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 as_fn_error $? "cannot run C++ compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details" "$LINENO" 5; }
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2517 $as_echo "$cross_compiling" >&6; }
2519 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2520 ac_clean_files=$ac_clean_files_save
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2522 $as_echo_n "checking for suffix of object files... " >&6; }
2523 if ${ac_cv_objext+:} false; then :
2524 $as_echo_n "(cached) " >&6
2526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527 /* end confdefs.h. */
2537 rm -f conftest.o conftest.obj
2538 if { { ac_try="$ac_compile"
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_compile") 2>&5
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }; then :
2549 for ac_file in conftest.o conftest.obj conftest.*; do
2550 test -f "$ac_file" || continue;
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2553 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2558 $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563 as_fn_error $? "cannot compute suffix of object files: cannot compile
2564 See \`config.log' for more details" "$LINENO" 5; }
2566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2569 $as_echo "$ac_cv_objext" >&6; }
2570 OBJEXT=$ac_cv_objext
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2573 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2574 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2575 $as_echo_n "(cached) " >&6
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2591 if ac_fn_cxx_try_compile "$LINENO"; then :
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2601 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2602 if test $ac_compiler_gnu = yes; then
2607 ac_test_CXXFLAGS=${CXXFLAGS+set}
2608 ac_save_CXXFLAGS=$CXXFLAGS
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2610 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2611 if ${ac_cv_prog_cxx_g+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2615 ac_cxx_werror_flag=yes
2618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619 /* end confdefs.h. */
2629 if ac_fn_cxx_try_compile "$LINENO"; then :
2630 ac_cv_prog_cxx_g=yes
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2644 if ac_fn_cxx_try_compile "$LINENO"; then :
2647 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2660 if ac_fn_cxx_try_compile "$LINENO"; then :
2661 ac_cv_prog_cxx_g=yes
2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2671 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2672 if test "$ac_test_CXXFLAGS" = set; then
2673 CXXFLAGS=$ac_save_CXXFLAGS
2674 elif test $ac_cv_prog_cxx_g = yes; then
2675 if test "$GXX" = yes; then
2681 if test "$GXX" = yes; then
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2694 ac_cpp='$CPP $CPPFLAGS'
2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2698 if test -n "$ac_tool_prefix"; then
2699 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if ${ac_cv_prog_CC+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2737 if test -z "$ac_cv_prog_CC"; then
2739 # Extract the first word of "gcc", so it can be a program name with args.
2740 set dummy gcc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$ac_ct_CC"; then
2747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_ac_ct_CC="gcc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2767 if test -n "$ac_ct_CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2769 $as_echo "$ac_ct_CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2775 if test "x$ac_ct_CC" = x; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2782 ac_tool_warned=yes ;;
2790 if test -z "$CC"; then
2791 if test -n "$ac_tool_prefix"; then
2792 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2793 set dummy ${ac_tool_prefix}cc; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_CC+:} false; then :
2797 $as_echo_n "(cached) " >&6
2799 if test -n "$CC"; then
2800 ac_cv_prog_CC="$CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_CC="${ac_tool_prefix}cc"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 if test -n "$CC"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2822 $as_echo "$CC" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2831 if test -z "$CC"; then
2832 # Extract the first word of "cc", so it can be a program name with args.
2833 set dummy cc; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if ${ac_cv_prog_CC+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CC"; then
2840 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2851 ac_prog_rejected=yes
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 if test $ac_prog_rejected = yes; then
2863 # We found a bogon in the path, so make sure we never use it.
2864 set dummy $ac_cv_prog_CC
2866 if test $# != 0; then
2867 # We chose a different compiler from the bogus one.
2868 # However, it has the same basename, so the bogon will be chosen
2869 # first if we set CC to just the basename; use the full file name.
2871 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2877 if test -n "$CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2879 $as_echo "$CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2887 if test -z "$CC"; then
2888 if test -n "$ac_tool_prefix"; then
2889 for ac_prog in cl.exe
2891 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2928 test -n "$CC" && break
2931 if test -z "$CC"; then
2933 for ac_prog in cl.exe
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_CC"; then
2943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_ac_ct_CC="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$ac_ct_CC" && break
2975 if test "x$ac_ct_CC" = x; then
2978 case $cross_compiling:$ac_tool_warned in
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned=yes ;;
2991 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "no acceptable C compiler found in \$PATH
2994 See \`config.log' for more details" "$LINENO" 5; }
2996 # Provide some information about the compiler.
2997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3000 for ac_option in --version -v -V -qversion; do
3001 { { ac_try="$ac_compiler $ac_option >&5"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3010 if test -s conftest.err; then
3012 ... rest of stderr output deleted ...
3013 10q' conftest.err >conftest.er1
3014 cat conftest.er1 >&5
3016 rm -f conftest.er1 conftest.err
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3023 if ${ac_cv_c_compiler_gnu+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3040 if ac_fn_c_try_compile "$LINENO"; then :
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3051 if test $ac_compiler_gnu = yes; then
3056 ac_test_CFLAGS=${CFLAGS+set}
3057 ac_save_CFLAGS=$CFLAGS
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3060 if ${ac_cv_prog_cc_g+:} false; then :
3061 $as_echo_n "(cached) " >&6
3063 ac_save_c_werror_flag=$ac_c_werror_flag
3064 ac_c_werror_flag=yes
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3078 if ac_fn_c_try_compile "$LINENO"; then :
3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3093 if ac_fn_c_try_compile "$LINENO"; then :
3096 ac_c_werror_flag=$ac_save_c_werror_flag
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3109 if ac_fn_c_try_compile "$LINENO"; then :
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 ac_c_werror_flag=$ac_save_c_werror_flag
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3120 $as_echo "$ac_cv_prog_cc_g" >&6; }
3121 if test "$ac_test_CFLAGS" = set; then
3122 CFLAGS=$ac_save_CFLAGS
3123 elif test $ac_cv_prog_cc_g = yes; then
3124 if test "$GCC" = yes; then
3130 if test "$GCC" = yes; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3138 if ${ac_cv_prog_cc_c89+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 ac_cv_prog_cc_c89=no
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3149 struct buf { int x; };
3150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3151 static char *e (p, i)
3157 static char *f (char * (*g) (char **, int), char **p, ...)
3162 s = g (p, va_arg (v,int));
3167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3168 function prototypes and stuff, but not '\xHH' hex character constants.
3169 These don't provoke an error unfortunately, instead are silently treated
3170 as 'x'. The following induces an error, until -std is added to get
3171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3172 array size at least. It's necessary to write '\x00'==0 to get something
3173 that's true only with -std. */
3174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3177 inside strings and character constants. */
3179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3181 int test (int i, double x);
3182 struct s1 {int (*f) (int a);};
3183 struct s2 {int (*f) (double a);};
3184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3198 CC="$ac_save_CC $ac_arg"
3199 if ac_fn_c_try_compile "$LINENO"; then :
3200 ac_cv_prog_cc_c89=$ac_arg
3202 rm -f core conftest.err conftest.$ac_objext
3203 test "x$ac_cv_prog_cc_c89" != "xno" && break
3205 rm -f conftest.$ac_ext
3210 case "x$ac_cv_prog_cc_c89" in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3213 $as_echo "none needed" >&6; } ;;
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3216 $as_echo "unsupported" >&6; } ;;
3218 CC="$CC $ac_cv_prog_cc_c89"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3222 if test "x$ac_cv_prog_cc_c89" != xno; then :
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 ac_cpp='$CPP $CPPFLAGS'
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3239 # On Suns, sometimes $CPP names a directory.
3240 if test -n "$CPP" && test -d "$CPP"; then
3243 if test -z "$CPP"; then
3244 if ${ac_cv_prog_CPP+:} false; then :
3245 $as_echo_n "(cached) " >&6
3247 # Double quotes because CPP needs to be expanded
3248 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3251 for ac_c_preproc_warn_flag in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3262 # include <limits.h>
3264 # include <assert.h>
3268 if ac_fn_c_try_cpp "$LINENO"; then :
3271 # Broken: fails on valid input.
3274 rm -f conftest.err conftest.i conftest.$ac_ext
3276 # OK, works on sane cases. Now check whether nonexistent headers
3277 # can be detected and how.
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if ac_fn_c_try_cpp "$LINENO"; then :
3283 # Broken: success on invalid input.
3286 # Passes both tests.
3290 rm -f conftest.err conftest.i conftest.$ac_ext
3293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3294 rm -f conftest.i conftest.err conftest.$ac_ext
3295 if $ac_preproc_ok; then :
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3308 $as_echo "$CPP" >&6; }
3310 for ac_c_preproc_warn_flag in '' yes
3312 # Use a header file that comes with gcc, so configuring glibc
3313 # with a fresh cross-compiler works.
3314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3315 # <limits.h> exists even on freestanding compilers.
3316 # On the NeXT, cc -E runs the code through the compiler's parser,
3317 # not just through cpp. "Syntax error" is here to catch this case.
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3321 # include <limits.h>
3323 # include <assert.h>
3327 if ac_fn_c_try_cpp "$LINENO"; then :
3330 # Broken: fails on valid input.
3333 rm -f conftest.err conftest.i conftest.$ac_ext
3335 # OK, works on sane cases. Now check whether nonexistent headers
3336 # can be detected and how.
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3339 #include <ac_nonexistent.h>
3341 if ac_fn_c_try_cpp "$LINENO"; then :
3342 # Broken: success on invalid input.
3345 # Passes both tests.
3349 rm -f conftest.err conftest.i conftest.$ac_ext
3352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3353 rm -f conftest.i conftest.err conftest.$ac_ext
3354 if $ac_preproc_ok; then :
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3360 See \`config.log' for more details" "$LINENO" 5; }
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 # Checks for libraries.
3375 ac_cpp='$CXXCPP $CPPFLAGS'
3376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3381 # Check for C++11 support for the compiler.
3383 CPPFLAGS="$CPPFLAGS -std=c++11"
3384 CXXFLAGS="$CXXFLAGS -std=c++11"
3388 ac_cpp='$CXXCPP $CPPFLAGS'
3389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3393 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3394 if test -z "$CXXCPP"; then
3395 if ${ac_cv_prog_CXXCPP+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 # Double quotes because CXXCPP needs to be expanded
3399 for CXXCPP in "$CXX -E" "/lib/cpp"
3402 for ac_cxx_preproc_warn_flag in '' yes
3404 # Use a header file that comes with gcc, so configuring glibc
3405 # with a fresh cross-compiler works.
3406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3407 # <limits.h> exists even on freestanding compilers.
3408 # On the NeXT, cc -E runs the code through the compiler's parser,
3409 # not just through cpp. "Syntax error" is here to catch this case.
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3413 # include <limits.h>
3415 # include <assert.h>
3419 if ac_fn_cxx_try_cpp "$LINENO"; then :
3422 # Broken: fails on valid input.
3425 rm -f conftest.err conftest.i conftest.$ac_ext
3427 # OK, works on sane cases. Now check whether nonexistent headers
3428 # can be detected and how.
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3431 #include <ac_nonexistent.h>
3433 if ac_fn_cxx_try_cpp "$LINENO"; then :
3434 # Broken: success on invalid input.
3437 # Passes both tests.
3441 rm -f conftest.err conftest.i conftest.$ac_ext
3444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3445 rm -f conftest.i conftest.err conftest.$ac_ext
3446 if $ac_preproc_ok; then :
3451 ac_cv_prog_CXXCPP=$CXXCPP
3454 CXXCPP=$ac_cv_prog_CXXCPP
3456 ac_cv_prog_CXXCPP=$CXXCPP
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3459 $as_echo "$CXXCPP" >&6; }
3461 for ac_cxx_preproc_warn_flag in '' yes
3463 # Use a header file that comes with gcc, so configuring glibc
3464 # with a fresh cross-compiler works.
3465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3466 # <limits.h> exists even on freestanding compilers.
3467 # On the NeXT, cc -E runs the code through the compiler's parser,
3468 # not just through cpp. "Syntax error" is here to catch this case.
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3472 # include <limits.h>
3474 # include <assert.h>
3478 if ac_fn_cxx_try_cpp "$LINENO"; then :
3481 # Broken: fails on valid input.
3484 rm -f conftest.err conftest.i conftest.$ac_ext
3486 # OK, works on sane cases. Now check whether nonexistent headers
3487 # can be detected and how.
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3490 #include <ac_nonexistent.h>
3492 if ac_fn_cxx_try_cpp "$LINENO"; then :
3493 # Broken: success on invalid input.
3496 # Passes both tests.
3500 rm -f conftest.err conftest.i conftest.$ac_ext
3503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3504 rm -f conftest.i conftest.err conftest.$ac_ext
3505 if $ac_preproc_ok; then :
3508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3511 See \`config.log' for more details" "$LINENO" 5; }
3515 ac_cpp='$CXXCPP $CPPFLAGS'
3516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3522 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3523 if ${ac_cv_path_GREP+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 if test -z "$GREP"; then
3527 ac_path_GREP_found=false
3528 # Loop through the user's path and test for each of PROGNAME-LIST
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3533 test -z "$as_dir" && as_dir=.
3534 for ac_prog in grep ggrep; do
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3537 as_fn_executable_p "$ac_path_GREP" || continue
3538 # Check for GNU ac_path_GREP and select it if it is found.
3539 # Check for GNU $ac_path_GREP
3540 case `"$ac_path_GREP" --version 2>&1` in
3542 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3545 $as_echo_n 0123456789 >"conftest.in"
3548 cat "conftest.in" "conftest.in" >"conftest.tmp"
3549 mv "conftest.tmp" "conftest.in"
3550 cp "conftest.in" "conftest.nl"
3551 $as_echo 'GREP' >> "conftest.nl"
3552 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3554 as_fn_arith $ac_count + 1 && ac_count=$as_val
3555 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3556 # Best one so far, save it but keep looking for a better one
3557 ac_cv_path_GREP="$ac_path_GREP"
3558 ac_path_GREP_max=$ac_count
3560 # 10*(2^10) chars as input seems more than enough
3561 test $ac_count -gt 10 && break
3563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3566 $ac_path_GREP_found && break 3
3571 if test -z "$ac_cv_path_GREP"; then
3572 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3575 ac_cv_path_GREP=$GREP
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3580 $as_echo "$ac_cv_path_GREP" >&6; }
3581 GREP="$ac_cv_path_GREP"
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3585 $as_echo_n "checking for egrep... " >&6; }
3586 if ${ac_cv_path_EGREP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3589 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3590 then ac_cv_path_EGREP="$GREP -E"
3592 if test -z "$EGREP"; then
3593 ac_path_EGREP_found=false
3594 # Loop through the user's path and test for each of PROGNAME-LIST
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3599 test -z "$as_dir" && as_dir=.
3600 for ac_prog in egrep; do
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3603 as_fn_executable_p "$ac_path_EGREP" || continue
3604 # Check for GNU ac_path_EGREP and select it if it is found.
3605 # Check for GNU $ac_path_EGREP
3606 case `"$ac_path_EGREP" --version 2>&1` in
3608 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3611 $as_echo_n 0123456789 >"conftest.in"
3614 cat "conftest.in" "conftest.in" >"conftest.tmp"
3615 mv "conftest.tmp" "conftest.in"
3616 cp "conftest.in" "conftest.nl"
3617 $as_echo 'EGREP' >> "conftest.nl"
3618 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3619 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3620 as_fn_arith $ac_count + 1 && ac_count=$as_val
3621 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3622 # Best one so far, save it but keep looking for a better one
3623 ac_cv_path_EGREP="$ac_path_EGREP"
3624 ac_path_EGREP_max=$ac_count
3626 # 10*(2^10) chars as input seems more than enough
3627 test $ac_count -gt 10 && break
3629 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3632 $ac_path_EGREP_found && break 3
3637 if test -z "$ac_cv_path_EGREP"; then
3638 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3641 ac_cv_path_EGREP=$EGREP
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3647 $as_echo "$ac_cv_path_EGREP" >&6; }
3648 EGREP="$ac_cv_path_EGREP"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3652 $as_echo_n "checking for ANSI C header files... " >&6; }
3653 if ${ac_cv_header_stdc+:} false; then :
3654 $as_echo_n "(cached) " >&6
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3671 if ac_fn_cxx_try_compile "$LINENO"; then :
3672 ac_cv_header_stdc=yes
3674 ac_cv_header_stdc=no
3676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 if test $ac_cv_header_stdc = yes; then
3679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3686 $EGREP "memchr" >/dev/null 2>&1; then :
3689 ac_cv_header_stdc=no
3695 if test $ac_cv_header_stdc = yes; then
3696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3703 $EGREP "free" >/dev/null 2>&1; then :
3706 ac_cv_header_stdc=no
3712 if test $ac_cv_header_stdc = yes; then
3713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3714 if test "$cross_compiling" = yes; then :
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3721 #if ((' ' & 0x0FF) == 0x020)
3722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3725 # define ISLOWER(c) \
3726 (('a' <= (c) && (c) <= 'i') \
3727 || ('j' <= (c) && (c) <= 'r') \
3728 || ('s' <= (c) && (c) <= 'z'))
3729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3737 for (i = 0; i < 256; i++)
3738 if (XOR (islower (i), ISLOWER (i))
3739 || toupper (i) != TOUPPER (i))
3744 if ac_fn_cxx_try_run "$LINENO"; then :
3747 ac_cv_header_stdc=no
3749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3750 conftest.$ac_objext conftest.beam conftest.$ac_ext
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3756 $as_echo "$ac_cv_header_stdc" >&6; }
3757 if test $ac_cv_header_stdc = yes; then
3759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3765 inttypes.h stdint.h unistd.h
3767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3768 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3771 cat >>confdefs.h <<_ACEOF
3772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3780 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3781 if test "x$ac_cv_header_thread" = xyes; then :
3784 echo "The C++ compiler does not support C++11 extensions which is
3785 needed for Xestia Address Book. Please install or use a
3786 compiler that supports C++11 extensions."
3795 # Check whether --with-wxdir was given.
3796 if test "${with_wxdir+set}" = set; then :
3797 withval=$with_wxdir; wx_config_name="$withval/wx-config"
3798 wx_config_args="--inplace"
3802 # Check whether --with-wx-config was given.
3803 if test "${with_wx_config+set}" = set; then :
3804 withval=$with_wx_config; wx_config_name="$withval"
3808 # Check whether --with-wx-prefix was given.
3809 if test "${with_wx_prefix+set}" = set; then :
3810 withval=$with_wx_prefix; wx_config_prefix="$withval"
3816 # Check whether --with-wx-exec-prefix was given.
3817 if test "${with_wx_exec_prefix+set}" = set; then :
3818 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3820 wx_config_exec_prefix=""
3826 if test x${WX_CONFIG_NAME+set} != xset ; then
3827 WX_CONFIG_NAME=wx-config
3830 if test "x$wx_config_name" != x ; then
3831 WX_CONFIG_NAME="$wx_config_name"
3834 if test x$wx_config_exec_prefix != x ; then
3835 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3836 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3838 if test x$wx_config_prefix != x ; then
3839 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3840 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3842 if test "$cross_compiling" = "yes"; then
3843 wx_config_args="$wx_config_args --host=$host_alias"
3846 if test -x "$WX_CONFIG_NAME" ; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3848 $as_echo_n "checking for wx-config... " >&6; }
3849 WX_CONFIG_PATH="$WX_CONFIG_NAME"
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3851 $as_echo "$WX_CONFIG_PATH" >&6; }
3853 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3854 set dummy $WX_CONFIG_NAME; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3858 $as_echo_n "(cached) " >&6
3860 case $WX_CONFIG_PATH in
3862 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3867 for as_dir in $as_dummy
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3885 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3886 if test -n "$WX_CONFIG_PATH"; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3888 $as_echo "$WX_CONFIG_PATH" >&6; }
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3891 $as_echo "no" >&6; }
3897 if test "$WX_CONFIG_PATH" != "no" ; then
3900 min_wx_version=$reqwx
3901 if test -z "" ; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3903 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3906 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3909 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
3911 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3912 wx_config_major_version=`echo $WX_VERSION | \
3913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3914 wx_config_minor_version=`echo $WX_VERSION | \
3915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3916 wx_config_micro_version=`echo $WX_VERSION | \
3917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3919 wx_requested_major_version=`echo $min_wx_version | \
3920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3921 wx_requested_minor_version=`echo $min_wx_version | \
3922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3923 wx_requested_micro_version=`echo $min_wx_version | \
3924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3928 if test "x$WX_VERSION" != x ; then
3929 if test $wx_config_major_version -gt $wx_requested_major_version; then
3932 if test $wx_config_major_version -eq $wx_requested_major_version; then
3933 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3936 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3937 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3947 if test -n "$wx_ver_ok"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3950 $as_echo "yes (version $WX_VERSION)" >&6; }
3951 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3954 $as_echo_n "checking for wxWidgets static library... " >&6; }
3955 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
3956 if test "x$WX_LIBS_STATIC" = "x"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961 $as_echo "yes" >&6; }
3965 if test $wx_config_major_version -gt 2; then
3968 if test $wx_config_major_version -eq 2; then
3969 if test $wx_config_minor_version -gt 2; then
3972 if test $wx_config_minor_version -eq 2; then
3973 if test $wx_config_micro_version -ge 6; then
3982 if test $wx_config_major_version -gt 2; then
3985 if test $wx_config_major_version -eq 2; then
3986 if test $wx_config_minor_version -ge 7; then
3991 if test "x$wx_has_rescomp" = x ; then
3994 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
3997 if test "x$wx_has_cppflags" = x ; then
3998 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3999 WX_CPPFLAGS=$WX_CFLAGS
4000 WX_CXXFLAGS=$WX_CFLAGS
4002 WX_CFLAGS_ONLY=$WX_CFLAGS
4003 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4005 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
4006 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
4007 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
4009 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4010 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4017 if test "x$WX_VERSION" = x; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4022 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4057 if test "$wxWin" != 1; then
4059 wxWidgets must be installed on your system.
4061 Please check that wx-config is in path, the directory where wxWidgets libraries
4062 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4063 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4068 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4069 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4070 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4071 LIBS="$LIBS $WX_LIBS"
4073 # SFML Audio Library
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4076 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4077 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 ac_check_lib_save_LIBS=$LIBS
4081 LIBS="-lsfml-audio $LIBS"
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4094 if ac_fn_cxx_try_link "$LINENO"; then :
4095 ac_cv_lib_sfml_audio_main=yes
4097 ac_cv_lib_sfml_audio_main=no
4099 rm -f core conftest.err conftest.$ac_objext \
4100 conftest$ac_exeext conftest.$ac_ext
4101 LIBS=$ac_check_lib_save_LIBS
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4104 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4105 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4106 cat >>confdefs.h <<_ACEOF
4107 #define HAVE_LIBSFML_AUDIO 1
4110 LIBS="-lsfml-audio $LIBS"
4113 echo "The SFML libraries must be installed on your system.
4114 Please check that this library is installed properly before
4115 running configure again."
4121 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4122 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4125 echo "The SFML library headers must be installed on your system.
4126 Please check that the library headers are installed properly
4127 before running configure again."
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossp-uuid++" >&5
4137 $as_echo_n "checking for main in -lossp-uuid++... " >&6; }
4138 if ${ac_cv_lib_ossp_uuidpp_main+:} false; then :
4139 $as_echo_n "(cached) " >&6
4141 ac_check_lib_save_LIBS=$LIBS
4142 LIBS="-lossp-uuid++ $LIBS"
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4155 if ac_fn_cxx_try_link "$LINENO"; then :
4156 ac_cv_lib_ossp_uuidpp_main=yes
4158 ac_cv_lib_ossp_uuidpp_main=no
4160 rm -f core conftest.err conftest.$ac_objext \
4161 conftest$ac_exeext conftest.$ac_ext
4162 LIBS=$ac_check_lib_save_LIBS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuidpp_main" >&5
4165 $as_echo "$ac_cv_lib_ossp_uuidpp_main" >&6; }
4166 if test "x$ac_cv_lib_ossp_uuidpp_main" = xyes; then :
4167 cat >>confdefs.h <<_ACEOF
4168 #define HAVE_LIBOSSP_UUID__ 1
4171 LIBS="-lossp-uuid++ $LIBS"
4174 echo "The OSSP UUID C++ library must be installed on your system.
4175 Please check that this library is installed properly before
4176 running configure again."
4182 ac_fn_cxx_check_header_mongrel "$LINENO" "ossp/uuid++.hh" "ac_cv_header_ossp_uuidpp_hh" "$ac_includes_default"
4183 if test "x$ac_cv_header_ossp_uuidpp_hh" = xyes; then :
4186 echo "The OSSP UUID C++ library headers must be installed on your system.
4187 Please check that the library headers are installed properly
4188 before running configure again."
4196 ac_cpp='$CXXCPP $CPPFLAGS'
4197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4205 $as_echo_n "checking for main in -lcurl... " >&6; }
4206 if ${ac_cv_lib_curl_main+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 ac_check_lib_save_LIBS=$LIBS
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4223 if ac_fn_cxx_try_link "$LINENO"; then :
4224 ac_cv_lib_curl_main=yes
4226 ac_cv_lib_curl_main=no
4228 rm -f core conftest.err conftest.$ac_objext \
4229 conftest$ac_exeext conftest.$ac_ext
4230 LIBS=$ac_check_lib_save_LIBS
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4233 $as_echo "$ac_cv_lib_curl_main" >&6; }
4234 if test "x$ac_cv_lib_curl_main" = xyes; then :
4235 cat >>confdefs.h <<_ACEOF
4236 #define HAVE_LIBCURL 1
4242 echo "The cURL library must be installed on your system.
4243 Please check that this library is installed properly before
4244 running configure again."
4250 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4251 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4254 echo "The cURL library headers must be installed on your system.
4255 Please check that the library headers are installed properly
4256 before running configure again."
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4266 $as_echo_n "checking for main in -lxml2... " >&6; }
4267 if ${ac_cv_lib_xml2_main+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 ac_check_lib_save_LIBS=$LIBS
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4284 if ac_fn_cxx_try_link "$LINENO"; then :
4285 ac_cv_lib_xml2_main=yes
4287 ac_cv_lib_xml2_main=no
4289 rm -f core conftest.err conftest.$ac_objext \
4290 conftest$ac_exeext conftest.$ac_ext
4291 LIBS=$ac_check_lib_save_LIBS
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4294 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4295 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4296 cat >>confdefs.h <<_ACEOF
4297 #define HAVE_LIBXML2 1
4303 echo "The libxml2 library must be installed on your system.
4304 Please check that this library is installed properly before
4305 running configure again."
4311 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4314 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4316 cat >>confdefs.h <<_ACEOF
4317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4321 echo "The libxml2 library headers must be installed on your system.
4322 Please check that the library headers are installed properly
4323 before running configure again."
4331 # Checks for header files.
4332 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4335 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4337 cat >>confdefs.h <<_ACEOF
4338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4346 # Checks for typedefs, structures, and compiler characteristics.
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4348 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4349 if ${ac_cv_header_stdbool_h+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4355 #include <stdbool.h>
4357 "error: bool is not defined"
4360 "error: false is not defined"
4363 "error: false is not 0"
4366 "error: true is not defined"
4369 "error: true is not 1"
4371 #ifndef __bool_true_false_are_defined
4372 "error: __bool_true_false_are_defined is not defined"
4375 struct s { _Bool s: 1; _Bool t; } s;
4377 char a[true == 1 ? 1 : -1];
4378 char b[false == 0 ? 1 : -1];
4379 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4380 char d[(bool) 0.5 == true ? 1 : -1];
4381 /* See body of main program for 'e'. */
4382 char f[(_Bool) 0.0 == false ? 1 : -1];
4384 char h[sizeof (_Bool)];
4386 enum { j = false, k = true, l = false * true, m = true * 256 };
4387 /* The following fails for
4388 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4390 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4391 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4392 /* Catch a bug in an HP-UX C compiler. See
4393 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4394 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4406 /* Refer to every declared value, to avoid compiler optimizations. */
4407 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4408 + !m + !n + !o + !p + !q + !pq);
4414 if ac_fn_cxx_try_compile "$LINENO"; then :
4415 ac_cv_header_stdbool_h=yes
4417 ac_cv_header_stdbool_h=no
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4422 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4423 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4424 if test "x$ac_cv_type__Bool" = xyes; then :
4426 cat >>confdefs.h <<_ACEOF
4427 #define HAVE__BOOL 1
4434 if test $ac_cv_header_stdbool_h = yes; then
4436 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4441 $as_echo_n "checking for inline... " >&6; }
4442 if ${ac_cv_c_inline+:} false; then :
4443 $as_echo_n "(cached) " >&6
4446 for ac_kw in inline __inline__ __inline; do
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 static $ac_kw foo_t static_foo () {return 0; }
4452 $ac_kw foo_t foo () {return 0; }
4456 if ac_fn_cxx_try_compile "$LINENO"; then :
4457 ac_cv_c_inline=$ac_kw
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 test "$ac_cv_c_inline" != no && break
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4465 $as_echo "$ac_cv_c_inline" >&6; }
4467 case $ac_cv_c_inline in
4470 case $ac_cv_c_inline in
4472 *) ac_val=$ac_cv_c_inline;;
4474 cat >>confdefs.h <<_ACEOF
4476 #define inline $ac_val
4483 # Checks for library functions.
4485 ac_config_files="$ac_config_files Makefile"
4487 cat >confcache <<\_ACEOF
4488 # This file is a shell script that caches the results of configure
4489 # tests run on this system so they can be shared between configure
4490 # scripts and configure runs, see configure's option --config-cache.
4491 # It is not useful on other systems. If it contains results you don't
4492 # want to keep, you may remove or edit it.
4494 # config.status only pays attention to the cache file if you give it
4495 # the --recheck option to rerun configure.
4497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4503 # The following way of writing the cache mishandles newlines in values,
4504 # but we know of no workaround that is simple, portable, and efficient.
4505 # So, we kill variables containing newlines.
4506 # Ultrix sh set writes to stderr and can't be redirected directly,
4507 # and sets the high bit in the cache file unless we assign to the vars.
4509 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4510 eval ac_val=\$$ac_var
4514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4518 _ | IFS | as_nl) ;; #(
4519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4520 *) { eval $ac_var=; unset $ac_var;} ;;
4526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4527 *${as_nl}ac_space=\ *)
4528 # `set' does not quote correctly, so add quotes: double-quote
4529 # substitution turns \\\\ into \\, and sed turns \\ into \.
4532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4535 # `set' quotes correctly as required by POSIX, so do not add quotes.
4536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4549 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4550 if test -w "$cache_file"; then
4551 if test "x$cache_file" != "x/dev/null"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4553 $as_echo "$as_me: updating cache $cache_file" >&6;}
4554 if test ! -f "$cache_file" || test -h "$cache_file"; then
4555 cat confcache >"$cache_file"
4557 case $cache_file in #(
4559 mv -f confcache "$cache_file"$$ &&
4560 mv -f "$cache_file"$$ "$cache_file" ;; #(
4562 mv -f confcache "$cache_file" ;;
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4574 # Let make expand exec_prefix.
4575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4577 # Transform confdefs.h into DEFS.
4578 # Protect against shell expansion while executing Makefile rules.
4579 # Protect against Makefile macro expansion.
4581 # If the first sed substitution is executed (which looks for macros that
4582 # take arguments), then branch to the quote section. Otherwise,
4583 # look for a macro that doesn't take arguments.
4593 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4595 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4599 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4612 DEFS=`sed -n "$ac_script" confdefs.h`
4618 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4619 # 1. Remove the extension, and $U if already installed.
4620 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4621 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4622 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4623 # will be set to the directory where LIBOBJS objects are built.
4624 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4625 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4629 LTLIBOBJS=$ac_ltlibobjs
4633 : "${CONFIG_STATUS=./config.status}"
4635 ac_clean_files_save=$ac_clean_files
4636 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4638 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4640 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4642 # Generated by $as_me.
4643 # Run this file to recreate the current configuration.
4644 # Compiler output produced by configure, useful for debugging
4645 # configure, is in config.log if it exists.
4651 SHELL=\${CONFIG_SHELL-$SHELL}
4654 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4655 ## -------------------- ##
4656 ## M4sh Initialization. ##
4657 ## -------------------- ##
4659 # Be more Bourne compatible
4660 DUALCASE=1; export DUALCASE # for MKS sh
4661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4664 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4665 # is contrary to our usage. Disable this feature.
4666 alias -g '${1+"$@"}'='"$@"'
4667 setopt NO_GLOB_SUBST
4669 case `(set -o) 2>/dev/null` in #(
4681 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4682 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4683 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4685 # Prefer a ksh shell builtin over an external printf program on Solaris,
4686 # but without wasting forks for bash or zsh.
4687 if test -z "$BASH_VERSION$ZSH_VERSION" \
4688 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4689 as_echo='print -r --'
4690 as_echo_n='print -rn --'
4691 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4692 as_echo='printf %s\n'
4693 as_echo_n='printf %s'
4695 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4696 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4697 as_echo_n='/usr/ucb/echo -n'
4699 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4700 as_echo_n_body='eval
4704 expr "X$arg" : "X\\(.*\\)$as_nl";
4705 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4707 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4709 export as_echo_n_body
4710 as_echo_n='sh -c $as_echo_n_body as_echo'
4713 as_echo='sh -c $as_echo_body as_echo'
4716 # The user is always right.
4717 if test "${PATH_SEPARATOR+set}" != set; then
4719 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4720 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4727 # We need space, tab and new line, in precisely that order. Quoting is
4728 # there to prevent editors from complaining about space-tab.
4729 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4730 # splitting by setting IFS to empty value.)
4733 # Find who we are. Look in the path if we contain no directory separator.
4736 *[\\/]* ) as_myself=$0 ;;
4737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir=.
4742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4748 # We did not find ourselves, most probably we were run as `sh COMMAND'
4749 # in which case we are not to be found in the path.
4750 if test "x$as_myself" = x; then
4753 if test ! -f "$as_myself"; then
4754 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4758 # Unset variables that we do not need and which cause bugs (e.g. in
4759 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4760 # suppresses any "Segmentation fault" message there. '((' could
4761 # trigger a bug in pdksh 5.2.14.
4762 for as_var in BASH_ENV ENV MAIL MAILPATH
4763 do eval test x\${$as_var+set} = xset \
4764 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4777 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4780 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4781 # ----------------------------------------
4782 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4783 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4784 # script with STATUS, using 1 if that was 0.
4787 as_status=$1; test $as_status -eq 0 && as_status=1
4789 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4790 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4792 $as_echo "$as_me: error: $2" >&2
4793 as_fn_exit $as_status
4797 # as_fn_set_status STATUS
4798 # -----------------------
4799 # Set $? to STATUS, without forking.
4803 } # as_fn_set_status
4807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4817 # Portably unset VAR.
4820 { eval $1=; unset $1;}
4822 as_unset=as_fn_unset
4823 # as_fn_append VAR VALUE
4824 # ----------------------
4825 # Append the text in VALUE to the end of the definition contained in VAR. Take
4826 # advantage of any shell optimizations that allow amortized linear growth over
4827 # repeated appends, instead of the typical quadratic growth present in naive
4829 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4830 eval 'as_fn_append ()
4841 # as_fn_arith ARG...
4842 # ------------------
4843 # Perform arithmetic evaluation on the ARGs, and store the result in the
4844 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4845 # must be portable across $(()) and expr.
4846 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4847 eval 'as_fn_arith ()
4854 as_val=`expr "$@" || test $? -eq 1`
4859 if expr a : '\(a\)' >/dev/null 2>&1 &&
4860 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4867 as_basename=basename
4872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4878 as_me=`$as_basename -- "$0" ||
4879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4880 X"$0" : 'X\(//\)$' \| \
4881 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4883 sed '/^.*\/\([^/][^/]*\)\/*$/{
4897 # Avoid depending upon Character Ranges.
4898 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4899 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4900 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4901 as_cr_digits='0123456789'
4902 as_cr_alnum=$as_cr_Letters$as_cr_digits
4904 ECHO_C= ECHO_N= ECHO_T=
4905 case `echo -n x` in #(((((
4907 case `echo 'xy\c'` in
4908 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4910 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4917 rm -f conf$$ conf$$.exe conf$$.file
4918 if test -d conf$$.dir; then
4919 rm -f conf$$.dir/conf$$.file
4922 mkdir conf$$.dir 2>/dev/null
4924 if (echo >conf$$.file) 2>/dev/null; then
4925 if ln -s conf$$.file conf$$ 2>/dev/null; then
4927 # ... but there are two gotchas:
4928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4930 # In both cases, we have to default to `cp -pR'.
4931 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4933 elif ln conf$$.file conf$$ 2>/dev/null; then
4941 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4942 rmdir conf$$.dir 2>/dev/null
4947 # Create "$as_dir" as a directory, including parents if necessary.
4952 -*) as_dir=./$as_dir;;
4954 test -d "$as_dir" || eval $as_mkdir_p || {
4958 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4959 *) as_qdir=$as_dir;;
4961 as_dirs="'$as_qdir' $as_dirs"
4962 as_dir=`$as_dirname -- "$as_dir" ||
4963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4964 X"$as_dir" : 'X\(//\)[^/]' \| \
4965 X"$as_dir" : 'X\(//\)$' \| \
4966 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4967 $as_echo X"$as_dir" |
4968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4985 test -d "$as_dir" && break
4987 test -z "$as_dirs" || eval "mkdir $as_dirs"
4988 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4992 if mkdir -p . 2>/dev/null; then
4993 as_mkdir_p='mkdir -p "$as_dir"'
4995 test -d ./-p && rmdir ./-p
5000 # as_fn_executable_p FILE
5001 # -----------------------
5002 # Test if FILE is an executable regular file.
5003 as_fn_executable_p ()
5005 test -f "$1" && test -x "$1"
5006 } # as_fn_executable_p
5008 as_executable_p=as_fn_executable_p
5010 # Sed expression to map a string onto a valid CPP name.
5011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5013 # Sed expression to map a string onto a valid variable name.
5014 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5018 ## ----------------------------------- ##
5019 ## Main body of $CONFIG_STATUS script. ##
5020 ## ----------------------------------- ##
5022 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5025 # Save the log message, to keep $0 and so on meaningful, and to
5026 # report actual input values of CONFIG_FILES etc. instead of their
5027 # values after options handling.
5029 This file was extended by Xestia Address Book $as_me 0.01, which was
5030 generated by GNU Autoconf 2.69. Invocation command line was
5032 CONFIG_FILES = $CONFIG_FILES
5033 CONFIG_HEADERS = $CONFIG_HEADERS
5034 CONFIG_LINKS = $CONFIG_LINKS
5035 CONFIG_COMMANDS = $CONFIG_COMMANDS
5038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5043 case $ac_config_files in *"
5044 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5050 # Files that config.status was made for.
5051 config_files="$ac_config_files"
5055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5057 \`$as_me' instantiates files and other configuration actions
5058 from templates according to the current configuration. Unless the files
5059 and actions are specified as TAGs, all are instantiated by default.
5061 Usage: $0 [OPTION]... [TAG]...
5063 -h, --help print this help, then exit
5064 -V, --version print version number and configuration settings, then exit
5065 --config print configuration, then exit
5066 -q, --quiet, --silent
5067 do not print progress messages
5068 -d, --debug don't remove temporary files
5069 --recheck update $as_me by reconfiguring in the same conditions
5070 --file=FILE[:TEMPLATE]
5071 instantiate the configuration file FILE
5073 Configuration files:
5076 Report bugs to <bugs@xestia.co.uk>."
5079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5080 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5082 Xestia Address Book config.status 0.01
5083 configured by $0, generated by GNU Autoconf 2.69,
5084 with options \\"\$ac_cs_config\\"
5086 Copyright (C) 2012 Free Software Foundation, Inc.
5087 This config.status script is free software; the Free Software Foundation
5088 gives unlimited permission to copy, distribute and modify it."
5092 test -n "\$AWK" || AWK=awk
5095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5096 # The default lists apply if the user does not specify any file.
5102 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5103 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5107 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5119 # Handling of the options.
5120 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5122 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5123 $as_echo "$ac_cs_version"; exit ;;
5124 --config | --confi | --conf | --con | --co | --c )
5125 $as_echo "$ac_cs_config"; exit ;;
5126 --debug | --debu | --deb | --de | --d | -d )
5128 --file | --fil | --fi | --f )
5131 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5132 '') as_fn_error $? "missing file argument" ;;
5134 as_fn_append CONFIG_FILES " '$ac_optarg'"
5135 ac_need_defaults=false;;
5136 --he | --h | --help | --hel | -h )
5137 $as_echo "$ac_cs_usage"; exit ;;
5138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5139 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5143 -*) as_fn_error $? "unrecognized option: \`$1'
5144 Try \`$0 --help' for more information." ;;
5146 *) as_fn_append ac_config_targets " $1"
5147 ac_need_defaults=false ;;
5153 ac_configure_extra_args=
5155 if $ac_cs_silent; then
5157 ac_configure_extra_args="$ac_configure_extra_args --silent"
5161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5162 if \$ac_cs_recheck; then
5163 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5165 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5166 CONFIG_SHELL='$SHELL'
5172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5176 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5177 ## Running $as_me. ##
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5188 # Handling of arguments.
5189 for ac_config_target in $ac_config_targets
5191 case $ac_config_target in
5192 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5194 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5199 # If the user did not use the arguments to specify the items to instantiate,
5200 # then the envvar interface is used. Set only those that are not.
5201 # We use the long form for the default assignment because of an extremely
5202 # bizarre bug on SunOS 4.1.3.
5203 if $ac_need_defaults; then
5204 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5207 # Have a temporary directory for convenience. Make it in the build tree
5208 # simply because there is no reason against having it here, and in addition,
5209 # creating and moving files from /tmp can sometimes cause problems.
5210 # Hook for its removal unless debugging.
5211 # Note that there is a small window in which the directory will not be cleaned:
5212 # after its creation but before its name has been assigned to `$tmp'.
5216 trap 'exit_status=$?
5218 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5220 trap 'as_fn_exit 1' 1 2 13 15
5222 # Create a (secure) tmp directory for tmp files.
5225 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5229 tmp=./conf$$-$RANDOM
5230 (umask 077 && mkdir "$tmp")
5231 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5234 # Set up the scripts for CONFIG_FILES section.
5235 # No need to generate them if there are no CONFIG_FILES.
5236 # This happens for instance with `./config.status config.h'.
5237 if test -n "$CONFIG_FILES"; then
5240 ac_cr=`echo X | tr X '\015'`
5241 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5242 # But we know of no other shell where ac_cr would be empty at this
5243 # point, so we can use a bashism as a fallback.
5244 if test "x$ac_cr" = x; then
5245 eval ac_cr=\$\'\\r\'
5247 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5248 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5254 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5259 echo "cat >conf$$subs.awk <<_ACEOF" &&
5260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5266 for ac_last_try in false false false false false :; do
5267 . ./conf$$subs.sh ||
5268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5270 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5271 if test $ac_delim_n = $ac_delim_num; then
5273 elif $ac_last_try; then
5274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5286 s/^/S["/; s/!.*/"]=/
5296 s/\(.\{148\}\)..*/\1/
5298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5310 s/\(.\{148\}\)..*/\1/
5312 s/["\\]/\\&/g; s/^/"/; s/$/"/
5316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5321 ' <conf$$subs.awk | sed '
5326 ' >>$CONFIG_STATUS || ac_write_fail=1
5327 rm -f conf$$subs.awk
5328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5330 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5331 for (key in S) S_is_set[key] = 1
5337 nfields = split(line, field, "@")
5339 len = length(field[1])
5340 for (i = 2; i < nfields; i++) {
5342 keylen = length(key)
5343 if (S_is_set[key]) {
5345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5346 len += length(value) + length(field[++i])
5357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5358 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5359 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5362 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5363 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5366 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5367 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5368 # trailing colons and then remove the whole line if VPATH becomes empty
5369 # (actually we leave an empty line to preserve line numbers).
5370 if test "x$srcdir" = x.; then
5371 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390 fi # test -n "$CONFIG_FILES"
5393 eval set X " :F $CONFIG_FILES "
5398 :[FHLC]) ac_mode=$ac_tag; continue;;
5400 case $ac_mode$ac_tag in
5402 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5403 :[FH]-) ac_tag=-:-;;
5404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5421 -) ac_f="$ac_tmp/stdin";;
5422 *) # Look for the file first in the build tree, then in the source tree
5423 # (if the path is not absolute). The absolute path cannot be DOS-style,
5424 # because $ac_f cannot contain `:'.
5428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5430 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5433 as_fn_append ac_file_inputs " '$ac_f'"
5436 # Let's still pretend it is `configure' which instantiates (i.e., don't
5437 # use $as_me), people would be surprised to read:
5438 # /* config.h. Generated by config.status. */
5439 configure_input='Generated from '`
5440 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5442 if test x"$ac_file" != x-; then
5443 configure_input="$ac_file. $configure_input"
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5445 $as_echo "$as_me: creating $ac_file" >&6;}
5447 # Neutralize special characters interpreted by sed in replacement strings.
5448 case $configure_input in #(
5449 *\&* | *\|* | *\\* )
5450 ac_sed_conf_input=`$as_echo "$configure_input" |
5451 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5452 *) ac_sed_conf_input=$configure_input;;
5456 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5462 ac_dir=`$as_dirname -- "$ac_file" ||
5463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5464 X"$ac_file" : 'X\(//\)[^/]' \| \
5465 X"$ac_file" : 'X\(//\)$' \| \
5466 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5467 $as_echo X"$ac_file" |
5468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5485 as_dir="$ac_dir"; as_fn_mkdir_p
5489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5492 # A ".." for each directory in $ac_dir_suffix.
5493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5494 case $ac_top_builddir_sub in
5495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5499 ac_abs_top_builddir=$ac_pwd
5500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5501 # for backward compatibility:
5502 ac_top_builddir=$ac_top_build_prefix
5505 .) # We are building in place.
5507 ac_top_srcdir=$ac_top_builddir_sub
5508 ac_abs_top_srcdir=$ac_pwd ;;
5509 [\\/]* | ?:[\\/]* ) # Absolute name.
5510 ac_srcdir=$srcdir$ac_dir_suffix;
5511 ac_top_srcdir=$srcdir
5512 ac_abs_top_srcdir=$srcdir ;;
5514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5515 ac_top_srcdir=$ac_top_build_prefix$srcdir
5516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5530 # If the template does not know about datarootdir, expand it.
5531 # FIXME: This hack should be removed a few years after 2.60.
5532 ac_datarootdir_hack=; ac_datarootdir_seen=
5543 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5544 *datarootdir*) ac_datarootdir_seen=yes;;
5545 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5547 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5550 ac_datarootdir_hack='
5551 s&@datadir@&$datadir&g
5552 s&@docdir@&$docdir&g
5553 s&@infodir@&$infodir&g
5554 s&@localedir@&$localedir&g
5555 s&@mandir@&$mandir&g
5556 s&\\\${datarootdir}&$datarootdir&g' ;;
5560 # Neutralize VPATH when `$srcdir' = `.'.
5561 # Shell code in configure.ac might set extrasub.
5562 # FIXME: do we really want to maintain this feature?
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 ac_sed_extra="$ac_vpsub
5567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5570 s|@configure_input@|$ac_sed_conf_input|;t t
5571 s&@top_builddir@&$ac_top_builddir_sub&;t t
5572 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5573 s&@srcdir@&$ac_srcdir&;t t
5574 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5575 s&@top_srcdir@&$ac_top_srcdir&;t t
5576 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5577 s&@builddir@&$ac_builddir&;t t
5578 s&@abs_builddir@&$ac_abs_builddir&;t t
5579 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5580 $ac_datarootdir_hack
5582 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5583 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5585 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5586 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5587 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5588 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5590 which seems to be undefined. Please make sure it is defined" >&5
5591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5592 which seems to be undefined. Please make sure it is defined" >&2;}
5594 rm -f "$ac_tmp/stdin"
5596 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5597 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5611 ac_clean_files=$ac_clean_files_save
5613 test $ac_write_fail = 0 ||
5614 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5617 # configure is writing to config.log, and then calls config.status.
5618 # config.status does its own redirection, appending to config.log.
5619 # Unfortunately, on DOS this fails, as config.log is still kept open
5620 # by configure, so config.status won't be able to write to it; its
5621 # output is simply discarded. So we exec the FD to /dev/null,
5622 # effectively closing config.log, so it can be properly (re)opened and
5623 # appended to by config.status. When coming back to configure, we
5624 # need to make the FD available again.
5625 if test "$no_create" != yes; then
5627 ac_config_status_args=
5628 test "$silent" = yes &&
5629 ac_config_status_args="$ac_config_status_args --quiet"
5631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5634 # would make configure fail if this is the last instruction.
5635 $ac_cs_success || as_fn_exit 1
5637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}