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
684 program_transform_name
697 enable_option_checking
704 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 ac_unrecognized_opts=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name=s,x,x,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=\$ac_optarg ;;
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
877 -help | --help | --hel | --he | -h)
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893 htmldir=$ac_optarg ;;
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
907 -libdir | --libdir | --libdi | --libd)
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
919 -localedir | --localedir | --localedi | --localed | --locale)
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937 # Obsolete; use --without-fp.
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 -psdir | --psdir | --psdi | --psd | --ps)
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011 sbindir=$ac_optarg ;;
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022 sharedstatedir=$ac_optarg ;;
1024 -site | --site | --sit)
1026 -site=* | --site=* | --sit=*)
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=\$ac_optarg ;;
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval with_$ac_useropt=no ;;
1085 # Obsolete; use --with-x.
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1127 if test -n "$ac_prev"; then
1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1178 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1180 test "$silent" = yes && exec 6>/dev/null
1183 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di=`ls -di .` &&
1185 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $? "working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $? "pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1223 ac_srcdir_defaulted=no
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1229 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var in $ac_precious_vars; do
1244 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_${ac_var}_value=\$${ac_var}
1246 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures Xestia Address Book 0.01 to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root
1306 [DATAROOTDIR/doc/xestia-address-book]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1317 if test -n "$ac_init_help"; then
1318 case $ac_init_help in
1319 short | recursive ) echo "Configuration of Xestia Address Book 0.01:";;
1324 --disable-option-checking ignore unrecognized --enable/--with options
1325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1327 --enable-debug Enable a debugging build
1330 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1331 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1332 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1333 --with-wx-config=CONFIG wx-config script to use (optional)
1334 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1335 --with-wx-exec-prefix=PREFIX
1336 Exec prefix where wxWidgets is installed (optional)
1338 Some influential environment variables:
1339 CXX C++ compiler command
1340 CXXFLAGS C++ compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1346 CC C compiler command
1347 CFLAGS C compiler flags
1349 CXXCPP C++ preprocessor
1351 Use these variables to override the choices made by `configure' or to help
1352 it to find libraries and programs with nonstandard names/locations.
1354 Report bugs to <bugs@xestia.co.uk>.
1359 if test "$ac_init_help" = "recursive"; then
1360 # If there are subdirs, report their specific --help.
1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362 test -d "$ac_dir" ||
1363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1371 # A ".." for each directory in $ac_dir_suffix.
1372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1373 case $ac_top_builddir_sub in
1374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1378 ac_abs_top_builddir=$ac_pwd
1379 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1380 # for backward compatibility:
1381 ac_top_builddir=$ac_top_build_prefix
1384 .) # We are building in place.
1386 ac_top_srcdir=$ac_top_builddir_sub
1387 ac_abs_top_srcdir=$ac_pwd ;;
1388 [\\/]* | ?:[\\/]* ) # Absolute name.
1389 ac_srcdir=$srcdir$ac_dir_suffix;
1390 ac_top_srcdir=$srcdir
1391 ac_abs_top_srcdir=$srcdir ;;
1393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1394 ac_top_srcdir=$ac_top_build_prefix$srcdir
1395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1399 cd "$ac_dir" || { ac_status=$?; continue; }
1400 # Check for guested configure.
1401 if test -f "$ac_srcdir/configure.gnu"; then
1403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1404 elif test -f "$ac_srcdir/configure"; then
1406 $SHELL "$ac_srcdir/configure" --help=recursive
1408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1410 cd "$ac_pwd" || { ac_status=$?; break; }
1414 test -n "$ac_init_help" && exit $ac_status
1415 if $ac_init_version; then
1417 Xestia Address Book configure 0.01
1418 generated by GNU Autoconf 2.69
1420 Copyright (C) 2012 Free Software Foundation, Inc.
1421 This configure script is free software; the Free Software Foundation
1422 gives unlimited permission to copy, distribute and modify it.
1427 ## ------------------------ ##
1428 ## Autoconf initialization. ##
1429 ## ------------------------ ##
1431 # ac_fn_cxx_try_compile LINENO
1432 # ----------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_cxx_try_compile ()
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext
1438 if { { ac_try="$ac_compile"
1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_cxx_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1467 } # ac_fn_cxx_try_compile
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_compile
1507 # ac_fn_c_try_cpp LINENO
1508 # ----------------------
1509 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 if { { ac_try="$ac_cpp conftest.$ac_ext"
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } > conftest.i && {
1529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1544 # ac_fn_cxx_try_cpp LINENO
1545 # ------------------------
1546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_cxx_try_cpp ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 if { { ac_try="$ac_cpp conftest.$ac_ext"
1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1559 if test -s conftest.err; then
1560 grep -v '^ *+' conftest.err >conftest.er1
1561 cat conftest.er1 >&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } > conftest.i && {
1566 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1567 test ! -s conftest.err
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status $ac_retval
1579 } # ac_fn_cxx_try_cpp
1581 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1582 # ---------------------------------------------------------
1583 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1584 # the include files in INCLUDES and setting the cache variable VAR
1586 ac_fn_cxx_check_header_mongrel ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 if eval \${$3+:} false; then :
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if eval \${$3+:} false; then :
1593 $as_echo_n "(cached) " >&6
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597 $as_echo "$ac_res" >&6; }
1599 # Is the header compilable?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1601 $as_echo_n "checking $2 usability... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_cxx_try_compile "$LINENO"; then :
1608 ac_header_compiler=yes
1610 ac_header_compiler=no
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1614 $as_echo "$ac_header_compiler" >&6; }
1616 # Is the header present?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1618 $as_echo_n "checking $2 presence... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1623 if ac_fn_cxx_try_cpp "$LINENO"; then :
1624 ac_header_preproc=yes
1626 ac_header_preproc=no
1628 rm -f conftest.err conftest.i conftest.$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1630 $as_echo "$ac_header_preproc" >&6; }
1632 # So? What about this header?
1633 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1636 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1642 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1644 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1646 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1648 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1650 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1651 ( $as_echo "## -------------------------------- ##
1652 ## Report this to bugs@xestia.co.uk ##
1653 ## -------------------------------- ##"
1654 ) | sed "s/^/$as_me: WARNING: /" >&2
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if eval \${$3+:} false; then :
1660 $as_echo_n "(cached) " >&6
1662 eval "$3=\$ac_header_compiler"
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_cxx_check_header_mongrel
1672 # ac_fn_cxx_try_run LINENO
1673 # ------------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1676 ac_fn_cxx_try_run ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 if { { ac_try="$ac_link"
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690 { { case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_try") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; }; }; then :
1702 $as_echo "$as_me: program exited with status $ac_status" >&5
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706 ac_retval=$ac_status
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1712 } # ac_fn_cxx_try_run
1714 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1715 # ---------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_cxx_check_header_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1731 if ac_fn_cxx_try_compile "$LINENO"; then :
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_cxx_check_header_compile
1745 # ac_fn_cxx_try_link LINENO
1746 # -------------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_link ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext conftest$ac_exeext
1752 if { { ac_try="$ac_link"
1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest$ac_exeext && {
1771 test "$cross_compiling" = yes ||
1772 test -x conftest$ac_exeext
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1782 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1783 # interfere with the next link command; also delete a directory that is
1784 # left behind by Apple's compiler. We do this before executing the actions.
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1789 } # ac_fn_cxx_try_link
1791 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1792 # ---------------------------------------------
1793 # Tests whether TYPE exists after having included INCLUDES, setting cache
1794 # variable VAR accordingly.
1795 ac_fn_cxx_check_type ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1816 if ac_fn_cxx_try_compile "$LINENO"; then :
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1829 if ac_fn_cxx_try_compile "$LINENO"; then :
1834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 } # ac_fn_cxx_check_type
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by Xestia Address Book $as_me 0.01, which was
1849 generated by GNU Autoconf 2.69. Invocation command line was
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1870 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1871 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1874 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1875 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1876 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir=.
1885 $as_echo "PATH: $as_dir"
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1909 ac_must_keep_next=false
1915 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917 | -silent | --silent | --silen | --sile | --sil)
1920 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1923 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1925 as_fn_append ac_configure_args1 " '$ac_arg'"
1926 if test $ac_must_keep_next = true; then
1927 ac_must_keep_next=false # Got value, back to normal.
1930 *=* | --config-cache | -C | -disable-* | --disable-* \
1931 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933 | -with-* | --with-* | -without-* | --without-* | --x)
1934 case "$ac_configure_args0 " in
1935 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1938 -* ) ac_must_keep_next=true ;;
1941 as_fn_append ac_configure_args " '$ac_arg'"
1946 { ac_configure_args0=; unset ac_configure_args0;}
1947 { ac_configure_args1=; unset ac_configure_args1;}
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log. We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955 # Save into config.log some information that might help in debugging.
1959 $as_echo "## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##"
1963 # The following way of writing the cache mishandles newlines in values,
1965 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966 eval ac_val=\$$ac_var
1970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1974 _ | IFS | as_nl) ;; #(
1975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976 *) { eval $ac_var=; unset $ac_var;} ;;
1981 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982 *${as_nl}ac_space=\ *)
1984 "s/'\''/'\''\\\\'\'''\''/g;
1985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1995 $as_echo "## ----------------- ##
1996 ## Output variables. ##
1997 ## ----------------- ##"
1999 for ac_var in $ac_subst_vars
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2009 if test -n "$ac_subst_files"; then
2010 $as_echo "## ------------------- ##
2011 ## File substitutions. ##
2012 ## ------------------- ##"
2014 for ac_var in $ac_subst_files
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2025 if test -s confdefs.h; then
2026 $as_echo "## ----------- ##
2033 test "$ac_signal" != 0 &&
2034 $as_echo "$as_me: caught signal $ac_signal"
2035 $as_echo "$as_me: exit $exit_status"
2037 rm -f core *.core core.conftest.* &&
2038 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2041 for ac_signal in 1 2 13 15; do
2042 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2047 rm -f -r conftest* confdefs.h
2049 $as_echo "/* confdefs.h */" > confdefs.h
2051 # Predefined preprocessor variables.
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_NAME "$PACKAGE_NAME"
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_STRING "$PACKAGE_STRING"
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_URL "$PACKAGE_URL"
2078 # Let the site file select an alternate cache file if it wants to.
2079 # Prefer an explicitly selected file to automatically selected ones.
2082 if test -n "$CONFIG_SITE"; then
2083 # We do not want a PATH search for config.site.
2084 case $CONFIG_SITE in #((
2085 -*) ac_site_file1=./$CONFIG_SITE;;
2086 */*) ac_site_file1=$CONFIG_SITE;;
2087 *) ac_site_file1=./$CONFIG_SITE;;
2089 elif test "x$prefix" != xNONE; then
2090 ac_site_file1=$prefix/share/config.site
2091 ac_site_file2=$prefix/etc/config.site
2093 ac_site_file1=$ac_default_prefix/share/config.site
2094 ac_site_file2=$ac_default_prefix/etc/config.site
2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2098 test "x$ac_site_file" = xNONE && continue
2099 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2102 sed 's/^/| /' "$ac_site_file" >&5
2104 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2106 as_fn_error $? "failed to load site script $ac_site_file
2107 See \`config.log' for more details" "$LINENO" 5; }
2111 if test -r "$cache_file"; then
2112 # Some versions of bash will fail to source /dev/null (special files
2113 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2114 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
2118 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119 *) . "./$cache_file";;
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
2128 # Check that the precious variables saved in the cache have kept the same
2130 ac_cache_corrupted=false
2131 for ac_var in $ac_precious_vars; do
2132 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2133 eval ac_new_set=\$ac_env_${ac_var}_set
2134 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135 eval ac_new_val=\$ac_env_${ac_var}_value
2136 case $ac_old_set,$ac_new_set in
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2140 ac_cache_corrupted=: ;;
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2144 ac_cache_corrupted=: ;;
2147 if test "x$ac_old_val" != "x$ac_new_val"; then
2148 # differences in whitespace do not lead to failure.
2149 ac_old_val_w=`echo x $ac_old_val`
2150 ac_new_val_w=`echo x $ac_new_val`
2151 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2154 ac_cache_corrupted=:
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2158 eval $ac_var=\$ac_old_val
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2161 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2163 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2166 # Pass precious variables to config.status.
2167 if test "$ac_new_set" = set; then
2169 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 *) ac_arg=$ac_var=$ac_new_val ;;
2172 case " $ac_configure_args " in
2173 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2174 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2178 if $ac_cache_corrupted; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2183 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2185 ## -------------------- ##
2186 ## Main body of script. ##
2187 ## -------------------- ##
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196 #AC_CONFIG_SRCDIR([version.h])
2197 #AC_CONFIG_HEADERS([config.h])
2200 $as_echo "#define DEBUG 1" >>confdefs.h
2203 # Checks for programs.
2205 ac_cpp='$CXXCPP $CPPFLAGS'
2206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2209 if test -z "$CXX"; then
2210 if test -n "$CCC"; then
2213 if test -n "$ac_tool_prefix"; then
2214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if ${ac_cv_prog_CXX+:} false; then :
2221 $as_echo_n "(cached) " >&6
2223 if test -n "$CXX"; then
2224 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test -n "$CXX"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2246 $as_echo "$CXX" >&6; }
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2249 $as_echo "no" >&6; }
2253 test -n "$CXX" && break
2256 if test -z "$CXX"; then
2258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2260 # Extract the first word of "$ac_prog", so it can be a program name with args.
2261 set dummy $ac_prog; ac_word=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2265 $as_echo_n "(cached) " >&6
2267 if test -n "$ac_ct_CXX"; then
2268 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 ac_cv_prog_ac_ct_CXX="$ac_prog"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2288 if test -n "$ac_ct_CXX"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2290 $as_echo "$ac_ct_CXX" >&6; }
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2297 test -n "$ac_ct_CXX" && break
2300 if test "x$ac_ct_CXX" = x; then
2303 case $cross_compiling:$ac_tool_warned in
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2307 ac_tool_warned=yes ;;
2315 # Provide some information about the compiler.
2316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2319 for ac_option in --version -v -V -qversion; do
2320 { { ac_try="$ac_compiler $ac_option >&5"
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2329 if test -s conftest.err; then
2331 ... rest of stderr output deleted ...
2332 10q' conftest.err >conftest.er1
2333 cat conftest.er1 >&5
2335 rm -f conftest.er1 conftest.err
2336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2337 test $ac_status = 0; }
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2351 ac_clean_files_save=$ac_clean_files
2352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2353 # Try to create an executable without -o first, disregard a.out.
2354 # It will help us diagnose broken compilers, and finding out an intuition
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2357 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2358 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2360 # The possible output files:
2361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2364 for ac_file in $ac_files
2367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2368 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2373 if { { ac_try="$ac_link_default"
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_link_default") 2>&5
2382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383 test $ac_status = 0; }; then :
2384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2386 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2387 # so that the user can short-circuit this test for compilers unknown to
2389 for ac_file in $ac_files ''
2391 test -f "$ac_file" || continue
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2396 # We found the default executable, but exeext='' is most
2400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2404 # We set ac_cv_exeext here because the later test for it is not
2405 # safe: cross compilers may not add the suffix if given an `-o'
2406 # argument, so we may need to know it at that point already.
2407 # Even if this section looks crufty: it has the advantage of
2414 test "$ac_cv_exeext" = no && ac_cv_exeext=
2419 if test -z "$ac_file"; then :
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2422 $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error 77 "C++ compiler cannot create executables
2428 See \`config.log' for more details" "$LINENO" 5; }
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431 $as_echo "yes" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2434 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2436 $as_echo "$ac_file" >&6; }
2437 ac_exeext=$ac_cv_exeext
2439 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2440 ac_clean_files=$ac_clean_files_save
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2442 $as_echo_n "checking for suffix of executables... " >&6; }
2443 if { { ac_try="$ac_link"
2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2446 *) ac_try_echo=$ac_try;;
2448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2449 $as_echo "$ac_try_echo"; } >&5
2450 (eval "$ac_link") 2>&5
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; }; then :
2454 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2456 # work properly (i.e., refer to `conftest.exe'), while it won't with
2458 for ac_file in conftest.exe conftest conftest.*; do
2459 test -f "$ac_file" || continue
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2462 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2471 See \`config.log' for more details" "$LINENO" 5; }
2473 rm -f conftest conftest$ac_cv_exeext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2475 $as_echo "$ac_cv_exeext" >&6; }
2477 rm -f conftest.$ac_ext
2478 EXEEXT=$ac_cv_exeext
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2486 FILE *f = fopen ("conftest.out", "w");
2487 return ferror (f) || fclose (f) != 0;
2493 ac_clean_files="$ac_clean_files conftest.out"
2494 # Check that the compiler produces executables we can run. If not, either
2495 # the compiler is broken, or we cross compile.
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2497 $as_echo_n "checking whether we are cross compiling... " >&6; }
2498 if test "$cross_compiling" != yes; then
2499 { { ac_try="$ac_link"
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_link") 2>&5
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; }
2510 if { ac_try='./conftest$ac_cv_exeext'
2511 { { case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_try") 2>&5
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }; }; then
2523 if test "$cross_compiling" = maybe; then
2526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528 as_fn_error $? "cannot run C++ compiled programs.
2529 If you meant to cross compile, use \`--host'.
2530 See \`config.log' for more details" "$LINENO" 5; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2535 $as_echo "$cross_compiling" >&6; }
2537 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2538 ac_clean_files=$ac_clean_files_save
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2540 $as_echo_n "checking for suffix of object files... " >&6; }
2541 if ${ac_cv_objext+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2555 rm -f conftest.o conftest.obj
2556 if { { ac_try="$ac_compile"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_compile") 2>&5
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }; then :
2567 for ac_file in conftest.o conftest.obj conftest.*; do
2568 test -f "$ac_file" || continue;
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2571 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error $? "cannot compute suffix of object files: cannot compile
2582 See \`config.log' for more details" "$LINENO" 5; }
2584 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2587 $as_echo "$ac_cv_objext" >&6; }
2588 OBJEXT=$ac_cv_objext
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2591 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2592 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2593 $as_echo_n "(cached) " >&6
2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2609 if ac_fn_cxx_try_compile "$LINENO"; then :
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2619 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2620 if test $ac_compiler_gnu = yes; then
2625 ac_test_CXXFLAGS=${CXXFLAGS+set}
2626 ac_save_CXXFLAGS=$CXXFLAGS
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2628 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2629 if ${ac_cv_prog_cxx_g+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2633 ac_cxx_werror_flag=yes
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2647 if ac_fn_cxx_try_compile "$LINENO"; then :
2648 ac_cv_prog_cxx_g=yes
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2662 if ac_fn_cxx_try_compile "$LINENO"; then :
2665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2678 if ac_fn_cxx_try_compile "$LINENO"; then :
2679 ac_cv_prog_cxx_g=yes
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2686 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2689 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2690 if test "$ac_test_CXXFLAGS" = set; then
2691 CXXFLAGS=$ac_save_CXXFLAGS
2692 elif test $ac_cv_prog_cxx_g = yes; then
2693 if test "$GXX" = yes; then
2699 if test "$GXX" = yes; then
2706 ac_cpp='$CPP $CPPFLAGS'
2707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2712 ac_cpp='$CPP $CPPFLAGS'
2713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_CC+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_prog_CC"; then
2757 # Extract the first word of "gcc", so it can be a program name with args.
2758 set dummy gcc; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$ac_ct_CC"; then
2765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_ac_ct_CC="gcc"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2785 if test -n "$ac_ct_CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2787 $as_echo "$ac_ct_CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2793 if test "x$ac_ct_CC" = x; then
2796 case $cross_compiling:$ac_tool_warned in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned=yes ;;
2808 if test -z "$CC"; then
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}cc; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_CC+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_CC="${ac_tool_prefix}cc"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test -n "$CC"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2840 $as_echo "$CC" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2849 if test -z "$CC"; then
2850 # Extract the first word of "cc", so it can be a program name with args.
2851 set dummy cc; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_CC+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$CC"; then
2858 ac_cv_prog_CC="$CC" # Let the user override the test.
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir=.
2866 for ac_exec_ext in '' $ac_executable_extensions; do
2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2869 ac_prog_rejected=yes
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test $ac_prog_rejected = yes; then
2881 # We found a bogon in the path, so make sure we never use it.
2882 set dummy $ac_cv_prog_CC
2884 if test $# != 0; then
2885 # We chose a different compiler from the bogus one.
2886 # However, it has the same basename, so the bogon will be chosen
2887 # first if we set CC to just the basename; use the full file name.
2889 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$CC"; then
2906 if test -n "$ac_tool_prefix"; then
2907 for ac_prog in cl.exe
2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$CC" && break
2949 if test -z "$CC"; then
2951 for ac_prog in cl.exe
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CC="$ac_prog"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2990 test -n "$ac_ct_CC" && break
2993 if test "x$ac_ct_CC" = x; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned=yes ;;
3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $? "no acceptable C compiler found in \$PATH
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 # Provide some information about the compiler.
3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3018 for ac_option in --version -v -V -qversion; do
3019 { { ac_try="$ac_compiler $ac_option >&5"
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3028 if test -s conftest.err; then
3030 ... rest of stderr output deleted ...
3031 10q' conftest.err >conftest.er1
3032 cat conftest.er1 >&5
3034 rm -f conftest.er1 conftest.err
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3040 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3041 if ${ac_cv_c_compiler_gnu+:} false; then :
3042 $as_echo_n "(cached) " >&6
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3058 if ac_fn_c_try_compile "$LINENO"; then :
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3068 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3069 if test $ac_compiler_gnu = yes; then
3074 ac_test_CFLAGS=${CFLAGS+set}
3075 ac_save_CFLAGS=$CFLAGS
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3077 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3078 if ${ac_cv_prog_cc_g+:} false; then :
3079 $as_echo_n "(cached) " >&6
3081 ac_save_c_werror_flag=$ac_c_werror_flag
3082 ac_c_werror_flag=yes
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3096 if ac_fn_c_try_compile "$LINENO"; then :
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"; then :
3114 ac_c_werror_flag=$ac_save_c_werror_flag
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3127 if ac_fn_c_try_compile "$LINENO"; then :
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_c_werror_flag=$ac_save_c_werror_flag
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3138 $as_echo "$ac_cv_prog_cc_g" >&6; }
3139 if test "$ac_test_CFLAGS" = set; then
3140 CFLAGS=$ac_save_CFLAGS
3141 elif test $ac_cv_prog_cc_g = yes; then
3142 if test "$GCC" = yes; then
3148 if test "$GCC" = yes; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3155 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3156 if ${ac_cv_prog_cc_c89+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 ac_cv_prog_cc_c89=no
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3167 struct buf { int x; };
3168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3169 static char *e (p, i)
3175 static char *f (char * (*g) (char **, int), char **p, ...)
3180 s = g (p, va_arg (v,int));
3185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3186 function prototypes and stuff, but not '\xHH' hex character constants.
3187 These don't provoke an error unfortunately, instead are silently treated
3188 as 'x'. The following induces an error, until -std is added to get
3189 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3190 array size at least. It's necessary to write '\x00'==0 to get something
3191 that's true only with -std. */
3192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3194 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3195 inside strings and character constants. */
3197 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3199 int test (int i, double x);
3200 struct s1 {int (*f) (int a);};
3201 struct s2 {int (*f) (double a);};
3202 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3208 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3213 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3214 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3216 CC="$ac_save_CC $ac_arg"
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218 ac_cv_prog_cc_c89=$ac_arg
3220 rm -f core conftest.err conftest.$ac_objext
3221 test "x$ac_cv_prog_cc_c89" != "xno" && break
3223 rm -f conftest.$ac_ext
3228 case "x$ac_cv_prog_cc_c89" in
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3231 $as_echo "none needed" >&6; } ;;
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3234 $as_echo "unsupported" >&6; } ;;
3236 CC="$CC $ac_cv_prog_cc_c89"
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3238 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3240 if test "x$ac_cv_prog_cc_c89" != xno; then :
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 ac_cpp='$CPP $CPPFLAGS'
3252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3256 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3257 # On Suns, sometimes $CPP names a directory.
3258 if test -n "$CPP" && test -d "$CPP"; then
3261 if test -z "$CPP"; then
3262 if ${ac_cv_prog_CPP+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 # Double quotes because CPP needs to be expanded
3266 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3269 for ac_c_preproc_warn_flag in '' yes
3271 # Use a header file that comes with gcc, so configuring glibc
3272 # with a fresh cross-compiler works.
3273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3274 # <limits.h> exists even on freestanding compilers.
3275 # On the NeXT, cc -E runs the code through the compiler's parser,
3276 # not just through cpp. "Syntax error" is here to catch this case.
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3280 # include <limits.h>
3282 # include <assert.h>
3286 if ac_fn_c_try_cpp "$LINENO"; then :
3289 # Broken: fails on valid input.
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3294 # OK, works on sane cases. Now check whether nonexistent headers
3295 # can be detected and how.
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3298 #include <ac_nonexistent.h>
3300 if ac_fn_c_try_cpp "$LINENO"; then :
3301 # Broken: success on invalid input.
3304 # Passes both tests.
3308 rm -f conftest.err conftest.i conftest.$ac_ext
3311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3312 rm -f conftest.i conftest.err conftest.$ac_ext
3313 if $ac_preproc_ok; then :
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3326 $as_echo "$CPP" >&6; }
3328 for ac_c_preproc_warn_flag in '' yes
3330 # Use a header file that comes with gcc, so configuring glibc
3331 # with a fresh cross-compiler works.
3332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3333 # <limits.h> exists even on freestanding compilers.
3334 # On the NeXT, cc -E runs the code through the compiler's parser,
3335 # not just through cpp. "Syntax error" is here to catch this case.
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3339 # include <limits.h>
3341 # include <assert.h>
3345 if ac_fn_c_try_cpp "$LINENO"; then :
3348 # Broken: fails on valid input.
3351 rm -f conftest.err conftest.i conftest.$ac_ext
3353 # OK, works on sane cases. Now check whether nonexistent headers
3354 # can be detected and how.
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3357 #include <ac_nonexistent.h>
3359 if ac_fn_c_try_cpp "$LINENO"; then :
3360 # Broken: success on invalid input.
3363 # Passes both tests.
3367 rm -f conftest.err conftest.i conftest.$ac_ext
3370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3371 rm -f conftest.i conftest.err conftest.$ac_ext
3372 if $ac_preproc_ok; then :
3375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3378 See \`config.log' for more details" "$LINENO" 5; }
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3388 # Checks for libraries.
3393 ac_cpp='$CXXCPP $CPPFLAGS'
3394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3399 # Check for C++11 support for the compiler.
3401 CPPFLAGS="$CPPFLAGS -std=c++11"
3402 CXXFLAGS="$CXXFLAGS -std=c++11"
3406 ac_cpp='$CXXCPP $CPPFLAGS'
3407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3411 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3412 if test -z "$CXXCPP"; then
3413 if ${ac_cv_prog_CXXCPP+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 # Double quotes because CXXCPP needs to be expanded
3417 for CXXCPP in "$CXX -E" "/lib/cpp"
3420 for ac_cxx_preproc_warn_flag in '' yes
3422 # Use a header file that comes with gcc, so configuring glibc
3423 # with a fresh cross-compiler works.
3424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3425 # <limits.h> exists even on freestanding compilers.
3426 # On the NeXT, cc -E runs the code through the compiler's parser,
3427 # not just through cpp. "Syntax error" is here to catch this case.
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3431 # include <limits.h>
3433 # include <assert.h>
3437 if ac_fn_cxx_try_cpp "$LINENO"; then :
3440 # Broken: fails on valid input.
3443 rm -f conftest.err conftest.i conftest.$ac_ext
3445 # OK, works on sane cases. Now check whether nonexistent headers
3446 # can be detected and how.
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3449 #include <ac_nonexistent.h>
3451 if ac_fn_cxx_try_cpp "$LINENO"; then :
3452 # Broken: success on invalid input.
3455 # Passes both tests.
3459 rm -f conftest.err conftest.i conftest.$ac_ext
3462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3463 rm -f conftest.i conftest.err conftest.$ac_ext
3464 if $ac_preproc_ok; then :
3469 ac_cv_prog_CXXCPP=$CXXCPP
3472 CXXCPP=$ac_cv_prog_CXXCPP
3474 ac_cv_prog_CXXCPP=$CXXCPP
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3477 $as_echo "$CXXCPP" >&6; }
3479 for ac_cxx_preproc_warn_flag in '' yes
3481 # Use a header file that comes with gcc, so configuring glibc
3482 # with a fresh cross-compiler works.
3483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3484 # <limits.h> exists even on freestanding compilers.
3485 # On the NeXT, cc -E runs the code through the compiler's parser,
3486 # not just through cpp. "Syntax error" is here to catch this case.
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3490 # include <limits.h>
3492 # include <assert.h>
3496 if ac_fn_cxx_try_cpp "$LINENO"; then :
3499 # Broken: fails on valid input.
3502 rm -f conftest.err conftest.i conftest.$ac_ext
3504 # OK, works on sane cases. Now check whether nonexistent headers
3505 # can be detected and how.
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3508 #include <ac_nonexistent.h>
3510 if ac_fn_cxx_try_cpp "$LINENO"; then :
3511 # Broken: success on invalid input.
3514 # Passes both tests.
3518 rm -f conftest.err conftest.i conftest.$ac_ext
3521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3522 rm -f conftest.i conftest.err conftest.$ac_ext
3523 if $ac_preproc_ok; then :
3526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3529 See \`config.log' for more details" "$LINENO" 5; }
3533 ac_cpp='$CXXCPP $CPPFLAGS'
3534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3541 if ${ac_cv_path_GREP+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 if test -z "$GREP"; then
3545 ac_path_GREP_found=false
3546 # Loop through the user's path and test for each of PROGNAME-LIST
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3551 test -z "$as_dir" && as_dir=.
3552 for ac_prog in grep ggrep; do
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3555 as_fn_executable_p "$ac_path_GREP" || continue
3556 # Check for GNU ac_path_GREP and select it if it is found.
3557 # Check for GNU $ac_path_GREP
3558 case `"$ac_path_GREP" --version 2>&1` in
3560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3563 $as_echo_n 0123456789 >"conftest.in"
3566 cat "conftest.in" "conftest.in" >"conftest.tmp"
3567 mv "conftest.tmp" "conftest.in"
3568 cp "conftest.in" "conftest.nl"
3569 $as_echo 'GREP' >> "conftest.nl"
3570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3572 as_fn_arith $ac_count + 1 && ac_count=$as_val
3573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3574 # Best one so far, save it but keep looking for a better one
3575 ac_cv_path_GREP="$ac_path_GREP"
3576 ac_path_GREP_max=$ac_count
3578 # 10*(2^10) chars as input seems more than enough
3579 test $ac_count -gt 10 && break
3581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3584 $ac_path_GREP_found && break 3
3589 if test -z "$ac_cv_path_GREP"; then
3590 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3593 ac_cv_path_GREP=$GREP
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3598 $as_echo "$ac_cv_path_GREP" >&6; }
3599 GREP="$ac_cv_path_GREP"
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3603 $as_echo_n "checking for egrep... " >&6; }
3604 if ${ac_cv_path_EGREP+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3608 then ac_cv_path_EGREP="$GREP -E"
3610 if test -z "$EGREP"; then
3611 ac_path_EGREP_found=false
3612 # Loop through the user's path and test for each of PROGNAME-LIST
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3617 test -z "$as_dir" && as_dir=.
3618 for ac_prog in egrep; do
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3621 as_fn_executable_p "$ac_path_EGREP" || continue
3622 # Check for GNU ac_path_EGREP and select it if it is found.
3623 # Check for GNU $ac_path_EGREP
3624 case `"$ac_path_EGREP" --version 2>&1` in
3626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3629 $as_echo_n 0123456789 >"conftest.in"
3632 cat "conftest.in" "conftest.in" >"conftest.tmp"
3633 mv "conftest.tmp" "conftest.in"
3634 cp "conftest.in" "conftest.nl"
3635 $as_echo 'EGREP' >> "conftest.nl"
3636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3638 as_fn_arith $ac_count + 1 && ac_count=$as_val
3639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3640 # Best one so far, save it but keep looking for a better one
3641 ac_cv_path_EGREP="$ac_path_EGREP"
3642 ac_path_EGREP_max=$ac_count
3644 # 10*(2^10) chars as input seems more than enough
3645 test $ac_count -gt 10 && break
3647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3650 $ac_path_EGREP_found && break 3
3655 if test -z "$ac_cv_path_EGREP"; then
3656 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3659 ac_cv_path_EGREP=$EGREP
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3665 $as_echo "$ac_cv_path_EGREP" >&6; }
3666 EGREP="$ac_cv_path_EGREP"
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3670 $as_echo_n "checking for ANSI C header files... " >&6; }
3671 if ${ac_cv_header_stdc+:} false; then :
3672 $as_echo_n "(cached) " >&6
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3689 if ac_fn_cxx_try_compile "$LINENO"; then :
3690 ac_cv_header_stdc=yes
3692 ac_cv_header_stdc=no
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 if test $ac_cv_header_stdc = yes; then
3697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3704 $EGREP "memchr" >/dev/null 2>&1; then :
3707 ac_cv_header_stdc=no
3713 if test $ac_cv_header_stdc = yes; then
3714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3721 $EGREP "free" >/dev/null 2>&1; then :
3724 ac_cv_header_stdc=no
3730 if test $ac_cv_header_stdc = yes; then
3731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3732 if test "$cross_compiling" = yes; then :
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3739 #if ((' ' & 0x0FF) == 0x020)
3740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3743 # define ISLOWER(c) \
3744 (('a' <= (c) && (c) <= 'i') \
3745 || ('j' <= (c) && (c) <= 'r') \
3746 || ('s' <= (c) && (c) <= 'z'))
3747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3755 for (i = 0; i < 256; i++)
3756 if (XOR (islower (i), ISLOWER (i))
3757 || toupper (i) != TOUPPER (i))
3762 if ac_fn_cxx_try_run "$LINENO"; then :
3765 ac_cv_header_stdc=no
3767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3768 conftest.$ac_objext conftest.beam conftest.$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3774 $as_echo "$ac_cv_header_stdc" >&6; }
3775 if test $ac_cv_header_stdc = yes; then
3777 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3781 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3782 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3783 inttypes.h stdint.h unistd.h
3785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3786 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3789 cat >>confdefs.h <<_ACEOF
3790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3798 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3799 if test "x$ac_cv_header_thread" = xyes; then :
3802 echo "The C++ compiler does not support C++11 extensions which is
3803 needed for Xestia Address Book. Please install or use a
3804 compiler that supports C++11 extensions."
3813 # Check whether --with-wxdir was given.
3814 if test "${with_wxdir+set}" = set; then :
3815 withval=$with_wxdir; wx_config_name="$withval/wx-config"
3816 wx_config_args="--inplace"
3820 # Check whether --with-wx-config was given.
3821 if test "${with_wx_config+set}" = set; then :
3822 withval=$with_wx_config; wx_config_name="$withval"
3826 # Check whether --with-wx-prefix was given.
3827 if test "${with_wx_prefix+set}" = set; then :
3828 withval=$with_wx_prefix; wx_config_prefix="$withval"
3834 # Check whether --with-wx-exec-prefix was given.
3835 if test "${with_wx_exec_prefix+set}" = set; then :
3836 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3838 wx_config_exec_prefix=""
3845 if test x${WX_CONFIG_NAME+set} != xset ; then
3846 WX_CONFIG_NAME=wx-config
3849 if test "x$wx_config_name" != x ; then
3850 WX_CONFIG_NAME="$wx_config_name"
3853 if test x$wx_config_exec_prefix != x ; then
3854 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3855 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3857 if test x$wx_config_prefix != x ; then
3858 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3859 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3861 if test "$cross_compiling" = "yes"; then
3862 wx_config_args="$wx_config_args --host=$host_alias"
3865 if test -x "$WX_CONFIG_NAME" ; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3867 $as_echo_n "checking for wx-config... " >&6; }
3868 WX_CONFIG_PATH="$WX_CONFIG_NAME"
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3870 $as_echo "$WX_CONFIG_PATH" >&6; }
3872 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3873 set dummy $WX_CONFIG_NAME; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3877 $as_echo_n "(cached) " >&6
3879 case $WX_CONFIG_PATH in
3881 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3886 for as_dir in $as_dummy
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3904 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3905 if test -n "$WX_CONFIG_PATH"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3907 $as_echo "$WX_CONFIG_PATH" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3916 if test "$WX_CONFIG_PATH" != "no" ; then
3919 min_wx_version=$reqwx
3920 if test -z "" ; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3922 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3925 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3928 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
3930 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3931 wx_config_major_version=`echo $WX_VERSION | \
3932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3933 wx_config_minor_version=`echo $WX_VERSION | \
3934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3935 wx_config_micro_version=`echo $WX_VERSION | \
3936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3938 wx_requested_major_version=`echo $min_wx_version | \
3939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3940 wx_requested_minor_version=`echo $min_wx_version | \
3941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3942 wx_requested_micro_version=`echo $min_wx_version | \
3943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3947 if test "x$WX_VERSION" != x ; then
3948 if test $wx_config_major_version -gt $wx_requested_major_version; then
3951 if test $wx_config_major_version -eq $wx_requested_major_version; then
3952 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3955 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3956 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3966 if test -n "$wx_ver_ok"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3968 $as_echo "yes (version $WX_VERSION)" >&6; }
3969 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3972 $as_echo_n "checking for wxWidgets static library... " >&6; }
3973 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
3974 if test "x$WX_LIBS_STATIC" = "x"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979 $as_echo "yes" >&6; }
3983 if test $wx_config_major_version -gt 2; then
3986 if test $wx_config_major_version -eq 2; then
3987 if test $wx_config_minor_version -gt 2; then
3990 if test $wx_config_minor_version -eq 2; then
3991 if test $wx_config_micro_version -ge 6; then
4000 if test $wx_config_major_version -gt 2; then
4003 if test $wx_config_major_version -eq 2; then
4004 if test $wx_config_minor_version -ge 7; then
4009 if test "x$wx_has_rescomp" = x ; then
4012 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4015 if test "x$wx_has_cppflags" = x ; then
4016 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4017 WX_CPPFLAGS=$WX_CFLAGS
4018 WX_CXXFLAGS=$WX_CFLAGS
4020 WX_CFLAGS_ONLY=$WX_CFLAGS
4021 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4023 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4024 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4025 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4027 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4028 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4035 if test "x$WX_VERSION" = x; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4040 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4050 if test ! -z ""; then
4053 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4054 build with the following settings:
4056 but such build is not available.
4058 To see the wxWidgets builds available on this system, please use
4059 'wx-config --list' command. To use the default build, returned by
4060 'wx-config --selected-config', use the options with their 'auto'
4066 The requested wxWidgets build couldn't be found.
4069 If you still get this error, then check that 'wx-config' is
4070 in path, the directory where wxWidgets libraries are installed
4071 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4072 or equivalent variable and wxWidgets version is $reqwx or above."
4074 as_fn_error $? "$wx_error_message" "$LINENO" 5
4100 WX_VERSION_MAJOR="$wx_config_major_version"
4101 WX_VERSION_MINOR="$wx_config_minor_version"
4102 WX_VERSION_MICRO="$wx_config_micro_version"
4108 if test "$wxWin" != 1; then
4110 wxWidgets must be installed on your system.
4112 Please check that wx-config is in path, the directory where wxWidgets libraries
4113 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4114 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4119 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4120 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4121 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4122 LIBS="$LIBS $WX_LIBS"
4124 # SFML Audio Library
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4127 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4128 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 ac_check_lib_save_LIBS=$LIBS
4132 LIBS="-lsfml-audio $LIBS"
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4145 if ac_fn_cxx_try_link "$LINENO"; then :
4146 ac_cv_lib_sfml_audio_main=yes
4148 ac_cv_lib_sfml_audio_main=no
4150 rm -f core conftest.err conftest.$ac_objext \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4155 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4156 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4157 cat >>confdefs.h <<_ACEOF
4158 #define HAVE_LIBSFML_AUDIO 1
4161 LIBS="-lsfml-audio $LIBS"
4164 echo "The SFML libraries must be installed on your system.
4165 Please check that this library is installed properly before
4166 running configure again."
4172 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4173 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4176 echo "The SFML library headers must be installed on your system.
4177 Please check that the library headers are installed properly
4178 before running configure again."
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossp-uuid++" >&5
4188 $as_echo_n "checking for main in -lossp-uuid++... " >&6; }
4189 if ${ac_cv_lib_ossp_uuidpp_main+:} false; then :
4190 $as_echo_n "(cached) " >&6
4192 ac_check_lib_save_LIBS=$LIBS
4193 LIBS="-lossp-uuid++ $LIBS"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4206 if ac_fn_cxx_try_link "$LINENO"; then :
4207 ac_cv_lib_ossp_uuidpp_main=yes
4209 ac_cv_lib_ossp_uuidpp_main=no
4211 rm -f core conftest.err conftest.$ac_objext \
4212 conftest$ac_exeext conftest.$ac_ext
4213 LIBS=$ac_check_lib_save_LIBS
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuidpp_main" >&5
4216 $as_echo "$ac_cv_lib_ossp_uuidpp_main" >&6; }
4217 if test "x$ac_cv_lib_ossp_uuidpp_main" = xyes; then :
4218 cat >>confdefs.h <<_ACEOF
4219 #define HAVE_LIBOSSP_UUID__ 1
4222 LIBS="-lossp-uuid++ $LIBS"
4225 echo "The OSSP UUID C++ library must be installed on your system.
4226 Please check that this library is installed properly before
4227 running configure again."
4233 ac_fn_cxx_check_header_mongrel "$LINENO" "ossp/uuid++.hh" "ac_cv_header_ossp_uuidpp_hh" "$ac_includes_default"
4234 if test "x$ac_cv_header_ossp_uuidpp_hh" = xyes; then :
4237 echo "The OSSP UUID C++ library headers must be installed on your system.
4238 Please check that the library headers are installed properly
4239 before running configure again."
4247 ac_cpp='$CXXCPP $CPPFLAGS'
4248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4256 $as_echo_n "checking for main in -lcurl... " >&6; }
4257 if ${ac_cv_lib_curl_main+:} false; then :
4258 $as_echo_n "(cached) " >&6
4260 ac_check_lib_save_LIBS=$LIBS
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4274 if ac_fn_cxx_try_link "$LINENO"; then :
4275 ac_cv_lib_curl_main=yes
4277 ac_cv_lib_curl_main=no
4279 rm -f core conftest.err conftest.$ac_objext \
4280 conftest$ac_exeext conftest.$ac_ext
4281 LIBS=$ac_check_lib_save_LIBS
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4284 $as_echo "$ac_cv_lib_curl_main" >&6; }
4285 if test "x$ac_cv_lib_curl_main" = xyes; then :
4286 cat >>confdefs.h <<_ACEOF
4287 #define HAVE_LIBCURL 1
4293 echo "The cURL library must be installed on your system.
4294 Please check that this library is installed properly before
4295 running configure again."
4301 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4302 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4305 echo "The cURL library headers must be installed on your system.
4306 Please check that the library headers are installed properly
4307 before running configure again."
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4317 $as_echo_n "checking for main in -lxml2... " >&6; }
4318 if ${ac_cv_lib_xml2_main+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_check_lib_save_LIBS=$LIBS
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4335 if ac_fn_cxx_try_link "$LINENO"; then :
4336 ac_cv_lib_xml2_main=yes
4338 ac_cv_lib_xml2_main=no
4340 rm -f core conftest.err conftest.$ac_objext \
4341 conftest$ac_exeext conftest.$ac_ext
4342 LIBS=$ac_check_lib_save_LIBS
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4345 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4346 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4347 cat >>confdefs.h <<_ACEOF
4348 #define HAVE_LIBXML2 1
4354 echo "The libxml2 library must be installed on your system.
4355 Please check that this library is installed properly before
4356 running configure again."
4362 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4365 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4367 cat >>confdefs.h <<_ACEOF
4368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4372 echo "The libxml2 library headers must be installed on your system.
4373 Please check that the library headers are installed properly
4374 before running configure again."
4382 # Checks for header files.
4383 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4386 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4388 cat >>confdefs.h <<_ACEOF
4389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4397 # Checks for typedefs, structures, and compiler characteristics.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4399 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4400 if ${ac_cv_header_stdbool_h+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4406 #include <stdbool.h>
4408 "error: bool is not defined"
4411 "error: false is not defined"
4414 "error: false is not 0"
4417 "error: true is not defined"
4420 "error: true is not 1"
4422 #ifndef __bool_true_false_are_defined
4423 "error: __bool_true_false_are_defined is not defined"
4426 struct s { _Bool s: 1; _Bool t; } s;
4428 char a[true == 1 ? 1 : -1];
4429 char b[false == 0 ? 1 : -1];
4430 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4431 char d[(bool) 0.5 == true ? 1 : -1];
4432 /* See body of main program for 'e'. */
4433 char f[(_Bool) 0.0 == false ? 1 : -1];
4435 char h[sizeof (_Bool)];
4437 enum { j = false, k = true, l = false * true, m = true * 256 };
4438 /* The following fails for
4439 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4441 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4442 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4443 /* Catch a bug in an HP-UX C compiler. See
4444 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4445 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4457 /* Refer to every declared value, to avoid compiler optimizations. */
4458 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4459 + !m + !n + !o + !p + !q + !pq);
4465 if ac_fn_cxx_try_compile "$LINENO"; then :
4466 ac_cv_header_stdbool_h=yes
4468 ac_cv_header_stdbool_h=no
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4473 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4474 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4475 if test "x$ac_cv_type__Bool" = xyes; then :
4477 cat >>confdefs.h <<_ACEOF
4478 #define HAVE__BOOL 1
4485 if test $ac_cv_header_stdbool_h = yes; then
4487 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4492 $as_echo_n "checking for inline... " >&6; }
4493 if ${ac_cv_c_inline+:} false; then :
4494 $as_echo_n "(cached) " >&6
4497 for ac_kw in inline __inline__ __inline; do
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4502 static $ac_kw foo_t static_foo () {return 0; }
4503 $ac_kw foo_t foo () {return 0; }
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_cv_c_inline=$ac_kw
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 test "$ac_cv_c_inline" != no && break
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4516 $as_echo "$ac_cv_c_inline" >&6; }
4518 case $ac_cv_c_inline in
4521 case $ac_cv_c_inline in
4523 *) ac_val=$ac_cv_c_inline;;
4525 cat >>confdefs.h <<_ACEOF
4527 #define inline $ac_val
4534 # Setup the debug setting.
4536 # Check whether --enable-debug was given.
4537 if test "${enable_debug+set}" = set; then :
4538 enableval=$enable_debug; case "${enableval}" in
4541 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4548 # Checks for library functions.
4550 if test x$debug = xtrue; then
4558 if test -z "$DEBUG_TRUE"; then :
4565 if test -z "$DEBUG_TRUE"; then :
4566 DBGSTATUS="DEBUG=true"
4569 DBGSTATUS="DEBUG=false"
4572 if test -z "$DEBUG_TRUE"; then :
4573 echo "Debugging mode has been enabled."
4576 ac_config_files="$ac_config_files Makefile"
4578 cat >confcache <<\_ACEOF
4579 # This file is a shell script that caches the results of configure
4580 # tests run on this system so they can be shared between configure
4581 # scripts and configure runs, see configure's option --config-cache.
4582 # It is not useful on other systems. If it contains results you don't
4583 # want to keep, you may remove or edit it.
4585 # config.status only pays attention to the cache file if you give it
4586 # the --recheck option to rerun configure.
4588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4594 # The following way of writing the cache mishandles newlines in values,
4595 # but we know of no workaround that is simple, portable, and efficient.
4596 # So, we kill variables containing newlines.
4597 # Ultrix sh set writes to stderr and can't be redirected directly,
4598 # and sets the high bit in the cache file unless we assign to the vars.
4600 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4601 eval ac_val=\$$ac_var
4605 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4609 _ | IFS | as_nl) ;; #(
4610 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4611 *) { eval $ac_var=; unset $ac_var;} ;;
4617 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4618 *${as_nl}ac_space=\ *)
4619 # `set' does not quote correctly, so add quotes: double-quote
4620 # substitution turns \\\\ into \\, and sed turns \\ into \.
4623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4626 # `set' quotes correctly as required by POSIX, so do not add quotes.
4627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4636 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4638 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4640 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4641 if test -w "$cache_file"; then
4642 if test "x$cache_file" != "x/dev/null"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4644 $as_echo "$as_me: updating cache $cache_file" >&6;}
4645 if test ! -f "$cache_file" || test -h "$cache_file"; then
4646 cat confcache >"$cache_file"
4648 case $cache_file in #(
4650 mv -f confcache "$cache_file"$$ &&
4651 mv -f "$cache_file"$$ "$cache_file" ;; #(
4653 mv -f confcache "$cache_file" ;;
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4665 # Let make expand exec_prefix.
4666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4668 # Transform confdefs.h into DEFS.
4669 # Protect against shell expansion while executing Makefile rules.
4670 # Protect against Makefile macro expansion.
4672 # If the first sed substitution is executed (which looks for macros that
4673 # take arguments), then branch to the quote section. Otherwise,
4674 # look for a macro that doesn't take arguments.
4684 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4686 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4690 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4703 DEFS=`sed -n "$ac_script" confdefs.h`
4709 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4710 # 1. Remove the extension, and $U if already installed.
4711 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4712 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4713 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4714 # will be set to the directory where LIBOBJS objects are built.
4715 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4716 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4720 LTLIBOBJS=$ac_ltlibobjs
4723 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
4724 as_fn_error $? "conditional \"DEBUG\" was never defined.
4725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4728 : "${CONFIG_STATUS=./config.status}"
4730 ac_clean_files_save=$ac_clean_files
4731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4737 # Generated by $as_me.
4738 # Run this file to recreate the current configuration.
4739 # Compiler output produced by configure, useful for debugging
4740 # configure, is in config.log if it exists.
4746 SHELL=\${CONFIG_SHELL-$SHELL}
4749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4750 ## -------------------- ##
4751 ## M4sh Initialization. ##
4752 ## -------------------- ##
4754 # Be more Bourne compatible
4755 DUALCASE=1; export DUALCASE # for MKS sh
4756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4760 # is contrary to our usage. Disable this feature.
4761 alias -g '${1+"$@"}'='"$@"'
4762 setopt NO_GLOB_SUBST
4764 case `(set -o) 2>/dev/null` in #(
4776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4780 # Prefer a ksh shell builtin over an external printf program on Solaris,
4781 # but without wasting forks for bash or zsh.
4782 if test -z "$BASH_VERSION$ZSH_VERSION" \
4783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4784 as_echo='print -r --'
4785 as_echo_n='print -rn --'
4786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4787 as_echo='printf %s\n'
4788 as_echo_n='printf %s'
4790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4791 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4792 as_echo_n='/usr/ucb/echo -n'
4794 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4795 as_echo_n_body='eval
4799 expr "X$arg" : "X\\(.*\\)$as_nl";
4800 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4802 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4804 export as_echo_n_body
4805 as_echo_n='sh -c $as_echo_n_body as_echo'
4808 as_echo='sh -c $as_echo_body as_echo'
4811 # The user is always right.
4812 if test "${PATH_SEPARATOR+set}" != set; then
4814 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4815 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4822 # We need space, tab and new line, in precisely that order. Quoting is
4823 # there to prevent editors from complaining about space-tab.
4824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4825 # splitting by setting IFS to empty value.)
4828 # Find who we are. Look in the path if we contain no directory separator.
4831 *[\\/]* ) as_myself=$0 ;;
4832 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4843 # We did not find ourselves, most probably we were run as `sh COMMAND'
4844 # in which case we are not to be found in the path.
4845 if test "x$as_myself" = x; then
4848 if test ! -f "$as_myself"; then
4849 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4853 # Unset variables that we do not need and which cause bugs (e.g. in
4854 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4855 # suppresses any "Segmentation fault" message there. '((' could
4856 # trigger a bug in pdksh 5.2.14.
4857 for as_var in BASH_ENV ENV MAIL MAILPATH
4858 do eval test x\${$as_var+set} = xset \
4859 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4875 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4876 # ----------------------------------------
4877 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4878 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4879 # script with STATUS, using 1 if that was 0.
4882 as_status=$1; test $as_status -eq 0 && as_status=1
4884 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4885 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4887 $as_echo "$as_me: error: $2" >&2
4888 as_fn_exit $as_status
4892 # as_fn_set_status STATUS
4893 # -----------------------
4894 # Set $? to STATUS, without forking.
4898 } # as_fn_set_status
4902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4912 # Portably unset VAR.
4915 { eval $1=; unset $1;}
4917 as_unset=as_fn_unset
4918 # as_fn_append VAR VALUE
4919 # ----------------------
4920 # Append the text in VALUE to the end of the definition contained in VAR. Take
4921 # advantage of any shell optimizations that allow amortized linear growth over
4922 # repeated appends, instead of the typical quadratic growth present in naive
4924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4925 eval 'as_fn_append ()
4936 # as_fn_arith ARG...
4937 # ------------------
4938 # Perform arithmetic evaluation on the ARGs, and store the result in the
4939 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4940 # must be portable across $(()) and expr.
4941 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4942 eval 'as_fn_arith ()
4949 as_val=`expr "$@" || test $? -eq 1`
4954 if expr a : '\(a\)' >/dev/null 2>&1 &&
4955 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4962 as_basename=basename
4967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4973 as_me=`$as_basename -- "$0" ||
4974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4975 X"$0" : 'X\(//\)$' \| \
4976 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4978 sed '/^.*\/\([^/][^/]*\)\/*$/{
4992 # Avoid depending upon Character Ranges.
4993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4996 as_cr_digits='0123456789'
4997 as_cr_alnum=$as_cr_Letters$as_cr_digits
4999 ECHO_C= ECHO_N= ECHO_T=
5000 case `echo -n x` in #(((((
5002 case `echo 'xy\c'` in
5003 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5005 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5012 rm -f conf$$ conf$$.exe conf$$.file
5013 if test -d conf$$.dir; then
5014 rm -f conf$$.dir/conf$$.file
5017 mkdir conf$$.dir 2>/dev/null
5019 if (echo >conf$$.file) 2>/dev/null; then
5020 if ln -s conf$$.file conf$$ 2>/dev/null; then
5022 # ... but there are two gotchas:
5023 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5024 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5025 # In both cases, we have to default to `cp -pR'.
5026 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5028 elif ln conf$$.file conf$$ 2>/dev/null; then
5036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5037 rmdir conf$$.dir 2>/dev/null
5042 # Create "$as_dir" as a directory, including parents if necessary.
5047 -*) as_dir=./$as_dir;;
5049 test -d "$as_dir" || eval $as_mkdir_p || {
5053 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5054 *) as_qdir=$as_dir;;
5056 as_dirs="'$as_qdir' $as_dirs"
5057 as_dir=`$as_dirname -- "$as_dir" ||
5058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059 X"$as_dir" : 'X\(//\)[^/]' \| \
5060 X"$as_dir" : 'X\(//\)$' \| \
5061 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5062 $as_echo X"$as_dir" |
5063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5080 test -d "$as_dir" && break
5082 test -z "$as_dirs" || eval "mkdir $as_dirs"
5083 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5087 if mkdir -p . 2>/dev/null; then
5088 as_mkdir_p='mkdir -p "$as_dir"'
5090 test -d ./-p && rmdir ./-p
5095 # as_fn_executable_p FILE
5096 # -----------------------
5097 # Test if FILE is an executable regular file.
5098 as_fn_executable_p ()
5100 test -f "$1" && test -x "$1"
5101 } # as_fn_executable_p
5103 as_executable_p=as_fn_executable_p
5105 # Sed expression to map a string onto a valid CPP name.
5106 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5108 # Sed expression to map a string onto a valid variable name.
5109 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5113 ## ----------------------------------- ##
5114 ## Main body of $CONFIG_STATUS script. ##
5115 ## ----------------------------------- ##
5117 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5120 # Save the log message, to keep $0 and so on meaningful, and to
5121 # report actual input values of CONFIG_FILES etc. instead of their
5122 # values after options handling.
5124 This file was extended by Xestia Address Book $as_me 0.01, which was
5125 generated by GNU Autoconf 2.69. Invocation command line was
5127 CONFIG_FILES = $CONFIG_FILES
5128 CONFIG_HEADERS = $CONFIG_HEADERS
5129 CONFIG_LINKS = $CONFIG_LINKS
5130 CONFIG_COMMANDS = $CONFIG_COMMANDS
5133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5138 case $ac_config_files in *"
5139 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 # Files that config.status was made for.
5146 config_files="$ac_config_files"
5150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5152 \`$as_me' instantiates files and other configuration actions
5153 from templates according to the current configuration. Unless the files
5154 and actions are specified as TAGs, all are instantiated by default.
5156 Usage: $0 [OPTION]... [TAG]...
5158 -h, --help print this help, then exit
5159 -V, --version print version number and configuration settings, then exit
5160 --config print configuration, then exit
5161 -q, --quiet, --silent
5162 do not print progress messages
5163 -d, --debug don't remove temporary files
5164 --recheck update $as_me by reconfiguring in the same conditions
5165 --file=FILE[:TEMPLATE]
5166 instantiate the configuration file FILE
5168 Configuration files:
5171 Report bugs to <bugs@xestia.co.uk>."
5174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5175 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5177 Xestia Address Book config.status 0.01
5178 configured by $0, generated by GNU Autoconf 2.69,
5179 with options \\"\$ac_cs_config\\"
5181 Copyright (C) 2012 Free Software Foundation, Inc.
5182 This config.status script is free software; the Free Software Foundation
5183 gives unlimited permission to copy, distribute and modify it."
5187 test -n "\$AWK" || AWK=awk
5190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5191 # The default lists apply if the user does not specify any file.
5197 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5198 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5214 # Handling of the options.
5215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5217 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5218 $as_echo "$ac_cs_version"; exit ;;
5219 --config | --confi | --conf | --con | --co | --c )
5220 $as_echo "$ac_cs_config"; exit ;;
5221 --debug | --debu | --deb | --de | --d | -d )
5223 --file | --fil | --fi | --f )
5226 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5227 '') as_fn_error $? "missing file argument" ;;
5229 as_fn_append CONFIG_FILES " '$ac_optarg'"
5230 ac_need_defaults=false;;
5231 --he | --h | --help | --hel | -h )
5232 $as_echo "$ac_cs_usage"; exit ;;
5233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5234 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5238 -*) as_fn_error $? "unrecognized option: \`$1'
5239 Try \`$0 --help' for more information." ;;
5241 *) as_fn_append ac_config_targets " $1"
5242 ac_need_defaults=false ;;
5248 ac_configure_extra_args=
5250 if $ac_cs_silent; then
5252 ac_configure_extra_args="$ac_configure_extra_args --silent"
5256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5257 if \$ac_cs_recheck; then
5258 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5260 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5261 CONFIG_SHELL='$SHELL'
5267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5271 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5272 ## Running $as_me. ##
5278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 # Handling of arguments.
5284 for ac_config_target in $ac_config_targets
5286 case $ac_config_target in
5287 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5289 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5294 # If the user did not use the arguments to specify the items to instantiate,
5295 # then the envvar interface is used. Set only those that are not.
5296 # We use the long form for the default assignment because of an extremely
5297 # bizarre bug on SunOS 4.1.3.
5298 if $ac_need_defaults; then
5299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5302 # Have a temporary directory for convenience. Make it in the build tree
5303 # simply because there is no reason against having it here, and in addition,
5304 # creating and moving files from /tmp can sometimes cause problems.
5305 # Hook for its removal unless debugging.
5306 # Note that there is a small window in which the directory will not be cleaned:
5307 # after its creation but before its name has been assigned to `$tmp'.
5311 trap 'exit_status=$?
5313 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5315 trap 'as_fn_exit 1' 1 2 13 15
5317 # Create a (secure) tmp directory for tmp files.
5320 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5324 tmp=./conf$$-$RANDOM
5325 (umask 077 && mkdir "$tmp")
5326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5329 # Set up the scripts for CONFIG_FILES section.
5330 # No need to generate them if there are no CONFIG_FILES.
5331 # This happens for instance with `./config.status config.h'.
5332 if test -n "$CONFIG_FILES"; then
5335 ac_cr=`echo X | tr X '\015'`
5336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5337 # But we know of no other shell where ac_cr would be empty at this
5338 # point, so we can use a bashism as a fallback.
5339 if test "x$ac_cr" = x; then
5340 eval ac_cr=\$\'\\r\'
5342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5354 echo "cat >conf$$subs.awk <<_ACEOF" &&
5355 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5361 for ac_last_try in false false false false false :; do
5362 . ./conf$$subs.sh ||
5363 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5365 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5366 if test $ac_delim_n = $ac_delim_num; then
5368 elif $ac_last_try; then
5369 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5381 s/^/S["/; s/!.*/"]=/
5391 s/\(.\{148\}\)..*/\1/
5393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5405 s/\(.\{148\}\)..*/\1/
5407 s/["\\]/\\&/g; s/^/"/; s/$/"/
5411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5416 ' <conf$$subs.awk | sed '
5421 ' >>$CONFIG_STATUS || ac_write_fail=1
5422 rm -f conf$$subs.awk
5423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5426 for (key in S) S_is_set[key] = 1
5432 nfields = split(line, field, "@")
5434 len = length(field[1])
5435 for (i = 2; i < nfields; i++) {
5437 keylen = length(key)
5438 if (S_is_set[key]) {
5440 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5441 len += length(value) + length(field[++i])
5452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5454 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5458 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5463 # trailing colons and then remove the whole line if VPATH becomes empty
5464 # (actually we leave an empty line to preserve line numbers).
5465 if test "x$srcdir" = x.; then
5466 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5485 fi # test -n "$CONFIG_FILES"
5488 eval set X " :F $CONFIG_FILES "
5493 :[FHLC]) ac_mode=$ac_tag; continue;;
5495 case $ac_mode$ac_tag in
5497 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5498 :[FH]-) ac_tag=-:-;;
5499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5516 -) ac_f="$ac_tmp/stdin";;
5517 *) # Look for the file first in the build tree, then in the source tree
5518 # (if the path is not absolute). The absolute path cannot be DOS-style,
5519 # because $ac_f cannot contain `:'.
5523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5525 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5527 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5528 as_fn_append ac_file_inputs " '$ac_f'"
5531 # Let's still pretend it is `configure' which instantiates (i.e., don't
5532 # use $as_me), people would be surprised to read:
5533 # /* config.h. Generated by config.status. */
5534 configure_input='Generated from '`
5535 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5537 if test x"$ac_file" != x-; then
5538 configure_input="$ac_file. $configure_input"
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5540 $as_echo "$as_me: creating $ac_file" >&6;}
5542 # Neutralize special characters interpreted by sed in replacement strings.
5543 case $configure_input in #(
5544 *\&* | *\|* | *\\* )
5545 ac_sed_conf_input=`$as_echo "$configure_input" |
5546 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5547 *) ac_sed_conf_input=$configure_input;;
5551 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5557 ac_dir=`$as_dirname -- "$ac_file" ||
5558 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5559 X"$ac_file" : 'X\(//\)[^/]' \| \
5560 X"$ac_file" : 'X\(//\)$' \| \
5561 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5562 $as_echo X"$ac_file" |
5563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5580 as_dir="$ac_dir"; as_fn_mkdir_p
5584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5587 # A ".." for each directory in $ac_dir_suffix.
5588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5589 case $ac_top_builddir_sub in
5590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5594 ac_abs_top_builddir=$ac_pwd
5595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5596 # for backward compatibility:
5597 ac_top_builddir=$ac_top_build_prefix
5600 .) # We are building in place.
5602 ac_top_srcdir=$ac_top_builddir_sub
5603 ac_abs_top_srcdir=$ac_pwd ;;
5604 [\\/]* | ?:[\\/]* ) # Absolute name.
5605 ac_srcdir=$srcdir$ac_dir_suffix;
5606 ac_top_srcdir=$srcdir
5607 ac_abs_top_srcdir=$srcdir ;;
5609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5610 ac_top_srcdir=$ac_top_build_prefix$srcdir
5611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5625 # If the template does not know about datarootdir, expand it.
5626 # FIXME: This hack should be removed a few years after 2.60.
5627 ac_datarootdir_hack=; ac_datarootdir_seen=
5638 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5639 *datarootdir*) ac_datarootdir_seen=yes;;
5640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5642 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5645 ac_datarootdir_hack='
5646 s&@datadir@&$datadir&g
5647 s&@docdir@&$docdir&g
5648 s&@infodir@&$infodir&g
5649 s&@localedir@&$localedir&g
5650 s&@mandir@&$mandir&g
5651 s&\\\${datarootdir}&$datarootdir&g' ;;
5655 # Neutralize VPATH when `$srcdir' = `.'.
5656 # Shell code in configure.ac might set extrasub.
5657 # FIXME: do we really want to maintain this feature?
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659 ac_sed_extra="$ac_vpsub
5662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5665 s|@configure_input@|$ac_sed_conf_input|;t t
5666 s&@top_builddir@&$ac_top_builddir_sub&;t t
5667 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5668 s&@srcdir@&$ac_srcdir&;t t
5669 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5670 s&@top_srcdir@&$ac_top_srcdir&;t t
5671 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5672 s&@builddir@&$ac_builddir&;t t
5673 s&@abs_builddir@&$ac_abs_builddir&;t t
5674 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5675 $ac_datarootdir_hack
5677 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5678 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5680 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5681 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5682 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5683 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5685 which seems to be undefined. Please make sure it is defined" >&5
5686 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5687 which seems to be undefined. Please make sure it is defined" >&2;}
5689 rm -f "$ac_tmp/stdin"
5691 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5692 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5706 ac_clean_files=$ac_clean_files_save
5708 test $ac_write_fail = 0 ||
5709 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5712 # configure is writing to config.log, and then calls config.status.
5713 # config.status does its own redirection, appending to config.log.
5714 # Unfortunately, on DOS this fails, as config.log is still kept open
5715 # by configure, so config.status won't be able to write to it; its
5716 # output is simply discarded. So we exec the FD to /dev/null,
5717 # effectively closing config.log, so it can be properly (re)opened and
5718 # appended to by config.status. When coming back to configure, we
5719 # need to make the FD available again.
5720 if test "$no_create" != yes; then
5722 ac_config_status_args=
5723 test "$silent" = yes &&
5724 ac_config_status_args="$ac_config_status_args --quiet"
5726 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5728 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5729 # would make configure fail if this is the last instruction.
5730 $ac_cs_success || as_fn_exit 1
5732 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5734 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}