2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.05.
5 # Report bugs to <bugs@xestia.co.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='Xestia Address Book'
582 PACKAGE_TARNAME='xestia-address-book'
583 PACKAGE_VERSION='0.05'
584 PACKAGE_STRING='Xestia Address Book 0.05'
585 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
588 # Factoring default headers for most tests.
589 ac_includes_default="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars='LTLIBOBJS
633 FOUND_XML2CONFIG_RES_FALSE
634 FOUND_XML2CONFIG_RES_TRUE
636 FOUND_UUIDGEN_RES_FALSE
637 FOUND_UUIDGEN_RES_TRUE
642 FOUND_CURLCONFIG_RES_FALSE
643 FOUND_CURLCONFIG_RES_TRUE
709 program_transform_name
722 enable_option_checking
729 ac_precious_vars='build_alias
751 # Initialize some variables set by options.
753 ac_init_version=false
754 ac_unrecognized_opts=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name=s,x,x,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir='${exec_prefix}/bin'
780 sbindir='${exec_prefix}/sbin'
781 libexecdir='${exec_prefix}/libexec'
782 datarootdir='${prefix}/share'
783 datadir='${datarootdir}'
784 sysconfdir='${prefix}/etc'
785 sharedstatedir='${prefix}/com'
786 localstatedir='${prefix}/var'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
840 cache_file=config.cache ;;
842 -datadir | --datadir | --datadi | --datad)
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=no ;;
870 -docdir | --docdir | --docdi | --doc | --do)
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880 -enable-* | --enable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=\$ac_optarg ;;
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
909 -help | --help | --hel | --he | -h)
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 htmldir=$ac_optarg ;;
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
939 -libdir | --libdir | --libdi | --libd)
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
951 -localedir | --localedir | --localedi | --localed | --locale)
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969 # Obsolete; use --without-fp.
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1030 -psdir | --psdir | --psdi | --psd | --ps)
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043 sbindir=$ac_optarg ;;
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047 | --sharedst | --shareds | --shared | --share | --shar \
1049 ac_prev=sharedstatedir ;;
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054 sharedstatedir=$ac_optarg ;;
1056 -site | --site | --sit)
1058 -site=* | --site=* | --sit=*)
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064 srcdir=$ac_optarg ;;
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067 | --syscon | --sysco | --sysc | --sys | --sy)
1068 ac_prev=sysconfdir ;;
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071 sysconfdir=$ac_optarg ;;
1073 -target | --target | --targe | --targ | --tar | --ta | --t)
1074 ac_prev=target_alias ;;
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076 target_alias=$ac_optarg ;;
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 -version | --version | --versio | --versi | --vers | -V)
1082 ac_init_version=: ;;
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 as_fn_error $? "invalid package name: $ac_useropt"
1089 ac_useropt_orig=$ac_useropt
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096 ac_unrecognized_sep=', ';;
1098 eval with_$ac_useropt=\$ac_optarg ;;
1100 -without-* | --without-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid package name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1114 eval with_$ac_useropt=no ;;
1117 # Obsolete; use --with-x.
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121 | --x-incl | --x-inc | --x-in | --x-i)
1122 ac_prev=x_includes ;;
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125 x_includes=$ac_optarg ;;
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129 ac_prev=x_libraries ;;
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132 x_libraries=$ac_optarg ;;
1134 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1135 Try \`$0 --help' for more information"
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 case $ac_envvar in #(
1142 '' | [0-9]* | *[!_$as_cr_alnum]* )
1143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1145 eval $ac_envvar=\$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159 if test -n "$ac_prev"; then
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161 as_fn_error $? "missing argument to $ac_option"
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val=\$$ac_var
1179 # Remove trailing slashes.
1182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x; then
1202 if test "x$build_alias" = x; then
1203 cross_compiling=maybe
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 as_fn_error $? "working directory cannot be determined"
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 as_fn_error $? "pwd does not report name of working directory"
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$as_myself" ||
1228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$as_myself" : 'X\(//\)[^/]' \| \
1230 X"$as_myself" : 'X\(//\)$' \| \
1231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232 $as_echo X"$as_myself" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var in $ac_precious_vars; do
1276 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_${ac_var}_value=\$${ac_var}
1278 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures Xestia Address Book 0.05 to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking ...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root
1338 [DATAROOTDIR/doc/xestia-address-book]
1339 --htmldir=DIR html documentation [DOCDIR]
1340 --dvidir=DIR dvi documentation [DOCDIR]
1341 --pdfdir=DIR pdf documentation [DOCDIR]
1342 --psdir=DIR ps documentation [DOCDIR]
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of Xestia Address Book 0.05:";;
1356 --disable-option-checking ignore unrecognized --enable/--with options
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --enable-debug Enable debugging features for the build.
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1365 --with-wx-config=CONFIG wx-config script to use (optional)
1366 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1367 --with-wx-exec-prefix=PREFIX
1368 Exec prefix where wxWidgets is installed (optional)
1370 Some influential environment variables:
1371 CXX C++ compiler command
1372 CXXFLAGS C++ compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 LIBS libraries to pass to the linker, e.g. -l<library>
1376 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CC C compiler command
1379 CFLAGS C compiler flags
1381 CXXCPP C++ preprocessor
1382 PKG_CONFIG path to pkg-config utility
1384 directories to add to pkg-config's search path
1386 path overriding pkg-config's built-in search path
1387 SFML_CFLAGS C compiler flags for SFML, overriding pkg-config
1388 SFML_LIBS linker flags for SFML, overriding pkg-config
1389 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1390 CURL_LIBS linker flags for CURL, overriding pkg-config
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <bugs@xestia.co.uk>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" ||
1404 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Xestia Address Book configure 0.05
1459 generated by GNU Autoconf 2.69
1461 Copyright (C) 2012 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1468 ## ------------------------ ##
1469 ## Autoconf initialization. ##
1470 ## ------------------------ ##
1472 # ac_fn_cxx_try_compile LINENO
1473 # ----------------------------
1474 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1475 ac_fn_cxx_try_compile ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 rm -f conftest.$ac_objext
1479 if { { ac_try="$ac_compile"
1481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1482 *) ac_try_echo=$ac_try;;
1484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_compile") 2>conftest.err
1488 if test -s conftest.err; then
1489 grep -v '^ *+' conftest.err >conftest.er1
1490 cat conftest.er1 >&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } && {
1495 test -z "$ac_cxx_werror_flag" ||
1496 test ! -s conftest.err
1497 } && test -s conftest.$ac_objext; then :
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.$ac_ext >&5
1505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 as_fn_set_status $ac_retval
1508 } # ac_fn_cxx_try_compile
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1585 # ac_fn_cxx_try_cpp LINENO
1586 # ------------------------
1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_cxx_try_cpp ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 if { { ac_try="$ac_cpp conftest.$ac_ext"
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } > conftest.i && {
1607 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1608 test ! -s conftest.err
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_cxx_try_cpp
1622 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1623 # ---------------------------------------------------------
1624 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1625 # the include files in INCLUDES and setting the cache variable VAR
1627 ac_fn_cxx_check_header_mongrel ()
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if eval \${$3+:} false; then :
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638 $as_echo "$ac_res" >&6; }
1640 # Is the header compilable?
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1642 $as_echo_n "checking $2 usability... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1648 if ac_fn_cxx_try_compile "$LINENO"; then :
1649 ac_header_compiler=yes
1651 ac_header_compiler=no
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1655 $as_echo "$ac_header_compiler" >&6; }
1657 # Is the header present?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1659 $as_echo_n "checking $2 presence... " >&6; }
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1664 if ac_fn_cxx_try_cpp "$LINENO"; then :
1665 ac_header_preproc=yes
1667 ac_header_preproc=no
1669 rm -f conftest.err conftest.i conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1671 $as_echo "$ac_header_preproc" >&6; }
1673 # So? What about this header?
1674 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1677 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1683 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1685 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1687 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1689 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1692 ( $as_echo "## -------------------------------- ##
1693 ## Report this to bugs@xestia.co.uk ##
1694 ## -------------------------------- ##"
1695 ) | sed "s/^/$as_me: WARNING: /" >&2
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1703 eval "$3=\$ac_header_compiler"
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707 $as_echo "$ac_res" >&6; }
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 } # ac_fn_cxx_check_header_mongrel
1713 # ac_fn_cxx_try_run LINENO
1714 # ------------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1716 # that executables *can* be run.
1717 ac_fn_cxx_try_run ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if { { ac_try="$ac_link"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1731 { { case "(($ac_try" in
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_try") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; }; }; then :
1743 $as_echo "$as_me: program exited with status $ac_status" >&5
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1747 ac_retval=$ac_status
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_cxx_try_run
1755 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1756 # ---------------------------------------------------------
1757 # Tests whether HEADER exists and can be compiled using the include files in
1758 # INCLUDES, setting the cache variable VAR accordingly.
1759 ac_fn_cxx_check_header_compile ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1772 if ac_fn_cxx_try_compile "$LINENO"; then :
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 } # ac_fn_cxx_check_header_compile
1786 # ac_fn_cxx_try_link LINENO
1787 # -------------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_cxx_try_link ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 test -x conftest$ac_exeext
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 as_fn_set_status $ac_retval
1830 } # ac_fn_cxx_try_link
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 test -x conftest$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 as_fn_set_status $ac_retval
1876 } # ac_fn_c_try_link
1878 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1881 # the include files in INCLUDES and setting the cache variable VAR
1883 ac_fn_c_check_header_mongrel ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if eval \${$3+:} false; then :
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890 $as_echo_n "(cached) " >&6
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1896 # Is the header compilable?
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1898 $as_echo_n "checking $2 usability... " >&6; }
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 ac_header_compiler=yes
1907 ac_header_compiler=no
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1911 $as_echo "$ac_header_compiler" >&6; }
1913 # Is the header present?
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1915 $as_echo_n "checking $2 presence... " >&6; }
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1920 if ac_fn_c_try_cpp "$LINENO"; then :
1921 ac_header_preproc=yes
1923 ac_header_preproc=no
1925 rm -f conftest.err conftest.i conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1927 $as_echo "$ac_header_preproc" >&6; }
1929 # So? What about this header?
1930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1933 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1939 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1941 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1943 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1945 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948 ( $as_echo "## -------------------------------- ##
1949 ## Report this to bugs@xestia.co.uk ##
1950 ## -------------------------------- ##"
1951 ) | sed "s/^/$as_me: WARNING: /" >&2
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1959 eval "$3=\$ac_header_compiler"
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 } # ac_fn_c_check_header_mongrel
1969 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1970 # -------------------------------------------
1971 # Tests whether TYPE exists after having included INCLUDES, setting cache
1972 # variable VAR accordingly.
1973 ac_fn_c_check_type ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval \${$3+:} false; then :
1979 $as_echo_n "(cached) " >&6
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2007 if ac_fn_c_try_compile "$LINENO"; then :
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_type
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2026 It was created by Xestia Address Book $as_me 0.05, which was
2027 generated by GNU Autoconf 2.69. Invocation command line was
2039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 $as_echo "PATH: $as_dir"
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2087 ac_must_keep_next=false
2093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2098 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2103 as_fn_append ac_configure_args1 " '$ac_arg'"
2104 if test $ac_must_keep_next = true; then
2105 ac_must_keep_next=false # Got value, back to normal.
2108 *=* | --config-cache | -C | -disable-* | --disable-* \
2109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111 | -with-* | --with-* | -without-* | --without-* | --x)
2112 case "$ac_configure_args0 " in
2113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 -* ) ac_must_keep_next=true ;;
2119 as_fn_append ac_configure_args " '$ac_arg'"
2124 { ac_configure_args0=; unset ac_configure_args0;}
2125 { ac_configure_args1=; unset ac_configure_args1;}
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log. We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133 # Save into config.log some information that might help in debugging.
2137 $as_echo "## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##"
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154 *) { eval $ac_var=; unset $ac_var;} ;;
2159 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 $as_echo "## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##"
2177 for ac_var in $ac_subst_vars
2179 eval ac_val=\$$ac_var
2181 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 $as_echo "$ac_var='\''$ac_val'\''"
2187 if test -n "$ac_subst_files"; then
2188 $as_echo "## ------------------- ##
2189 ## File substitutions. ##
2190 ## ------------------- ##"
2192 for ac_var in $ac_subst_files
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 $as_echo "$ac_var='\''$ac_val'\''"
2203 if test -s confdefs.h; then
2204 $as_echo "## ----------- ##
2211 test "$ac_signal" != 0 &&
2212 $as_echo "$as_me: caught signal $ac_signal"
2213 $as_echo "$as_me: exit $exit_status"
2215 rm -f core *.core core.conftest.* &&
2216 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2219 for ac_signal in 1 2 13 15; do
2220 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2225 rm -f -r conftest* confdefs.h
2227 $as_echo "/* confdefs.h */" > confdefs.h
2229 # Predefined preprocessor variables.
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_URL "$PACKAGE_URL"
2256 # Let the site file select an alternate cache file if it wants to.
2257 # Prefer an explicitly selected file to automatically selected ones.
2260 if test -n "$CONFIG_SITE"; then
2261 # We do not want a PATH search for config.site.
2262 case $CONFIG_SITE in #((
2263 -*) ac_site_file1=./$CONFIG_SITE;;
2264 */*) ac_site_file1=$CONFIG_SITE;;
2265 *) ac_site_file1=./$CONFIG_SITE;;
2267 elif test "x$prefix" != xNONE; then
2268 ac_site_file1=$prefix/share/config.site
2269 ac_site_file2=$prefix/etc/config.site
2271 ac_site_file1=$ac_default_prefix/share/config.site
2272 ac_site_file2=$ac_default_prefix/etc/config.site
2274 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2276 test "x$ac_site_file" = xNONE && continue
2277 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2279 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2282 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 as_fn_error $? "failed to load site script $ac_site_file
2285 See \`config.log' for more details" "$LINENO" 5; }
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special files
2291 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2292 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2294 $as_echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2302 $as_echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2321 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 # differences in whitespace do not lead to failure.
2327 ac_old_val_w=`echo x $ac_old_val`
2328 ac_new_val_w=`echo x $ac_new_val`
2329 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2331 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332 ac_cache_corrupted=:
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2335 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2336 eval $ac_var=\$ac_old_val
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2339 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2341 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2344 # Pass precious variables to config.status.
2345 if test "$ac_new_set" = set; then
2347 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348 *) ac_arg=$ac_var=$ac_new_val ;;
2350 case " $ac_configure_args " in
2351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2352 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2356 if $ac_cache_corrupted; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2360 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2363 ## -------------------- ##
2364 ## Main body of script. ##
2365 ## -------------------- ##
2368 ac_cpp='$CPP $CPPFLAGS'
2369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374 #AC_CONFIG_SRCDIR([version.h])
2375 #AC_CONFIG_HEADERS([config.h])
2378 $as_echo "#define DEBUG 1" >>confdefs.h
2381 # Checks for programs.
2383 ac_cpp='$CXXCPP $CPPFLAGS'
2384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2387 if test -z "$CXX"; then
2388 if test -n "$CCC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_CXX+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$CXX"; then
2402 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CXX"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2424 $as_echo "$CXX" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2431 test -n "$CXX" && break
2434 if test -z "$CXX"; then
2436 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439 set dummy $ac_prog; ac_word=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$ac_ct_CXX"; then
2446 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_ac_ct_CXX="$ac_prog"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2466 if test -n "$ac_ct_CXX"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2468 $as_echo "$ac_ct_CXX" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2475 test -n "$ac_ct_CXX" && break
2478 if test "x$ac_ct_CXX" = x; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2485 ac_tool_warned=yes ;;
2493 # Provide some information about the compiler.
2494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2497 for ac_option in --version -v -V -qversion; do
2498 { { ac_try="$ac_compiler $ac_option >&5"
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2507 if test -s conftest.err; then
2509 ... rest of stderr output deleted ...
2510 10q' conftest.err >conftest.er1
2511 cat conftest.er1 >&5
2513 rm -f conftest.er1 conftest.err
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; }
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2529 ac_clean_files_save=$ac_clean_files
2530 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2531 # Try to create an executable without -o first, disregard a.out.
2532 # It will help us diagnose broken compilers, and finding out an intuition
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2535 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2536 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2538 # The possible output files:
2539 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2542 for ac_file in $ac_files
2545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2546 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2551 if { { ac_try="$ac_link_default"
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_link_default") 2>&5
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; then :
2562 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2563 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2564 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2565 # so that the user can short-circuit this test for compilers unknown to
2567 for ac_file in $ac_files ''
2569 test -f "$ac_file" || continue
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2574 # We found the default executable, but exeext='' is most
2578 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2580 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2582 # We set ac_cv_exeext here because the later test for it is not
2583 # safe: cross compilers may not add the suffix if given an `-o'
2584 # argument, so we may need to know it at that point already.
2585 # Even if this section looks crufty: it has the advantage of
2592 test "$ac_cv_exeext" = no && ac_cv_exeext=
2597 if test -z "$ac_file"; then :
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 $as_echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2605 as_fn_error 77 "C++ compiler cannot create executables
2606 See \`config.log' for more details" "$LINENO" 5; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2612 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2614 $as_echo "$ac_file" >&6; }
2615 ac_exeext=$ac_cv_exeext
2617 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2618 ac_clean_files=$ac_clean_files_save
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2620 $as_echo_n "checking for suffix of executables... " >&6; }
2621 if { { ac_try="$ac_link"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_link") 2>&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }; then :
2632 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2633 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2634 # work properly (i.e., refer to `conftest.exe'), while it won't with
2636 for ac_file in conftest.exe conftest conftest.*; do
2637 test -f "$ac_file" || continue
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2640 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2649 See \`config.log' for more details" "$LINENO" 5; }
2651 rm -f conftest conftest$ac_cv_exeext
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2653 $as_echo "$ac_cv_exeext" >&6; }
2655 rm -f conftest.$ac_ext
2656 EXEEXT=$ac_cv_exeext
2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2664 FILE *f = fopen ("conftest.out", "w");
2665 return ferror (f) || fclose (f) != 0;
2671 ac_clean_files="$ac_clean_files conftest.out"
2672 # Check that the compiler produces executables we can run. If not, either
2673 # the compiler is broken, or we cross compile.
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2675 $as_echo_n "checking whether we are cross compiling... " >&6; }
2676 if test "$cross_compiling" != yes; then
2677 { { ac_try="$ac_link"
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>&5
2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687 test $ac_status = 0; }
2688 if { ac_try='./conftest$ac_cv_exeext'
2689 { { case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_try") 2>&5
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; }; }; then
2701 if test "$cross_compiling" = maybe; then
2704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 as_fn_error $? "cannot run C++ compiled programs.
2707 If you meant to cross compile, use \`--host'.
2708 See \`config.log' for more details" "$LINENO" 5; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2713 $as_echo "$cross_compiling" >&6; }
2715 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2716 ac_clean_files=$ac_clean_files_save
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2718 $as_echo_n "checking for suffix of object files... " >&6; }
2719 if ${ac_cv_objext+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2733 rm -f conftest.o conftest.obj
2734 if { { ac_try="$ac_compile"
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_compile") 2>&5
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; }; then :
2745 for ac_file in conftest.o conftest.obj conftest.*; do
2746 test -f "$ac_file" || continue;
2748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2749 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2754 $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759 as_fn_error $? "cannot compute suffix of object files: cannot compile
2760 See \`config.log' for more details" "$LINENO" 5; }
2762 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2765 $as_echo "$ac_cv_objext" >&6; }
2766 OBJEXT=$ac_cv_objext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2769 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2770 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2787 if ac_fn_cxx_try_compile "$LINENO"; then :
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2797 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2798 if test $ac_compiler_gnu = yes; then
2803 ac_test_CXXFLAGS=${CXXFLAGS+set}
2804 ac_save_CXXFLAGS=$CXXFLAGS
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2806 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2807 if ${ac_cv_prog_cxx_g+:} false; then :
2808 $as_echo_n "(cached) " >&6
2810 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2811 ac_cxx_werror_flag=yes
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2825 if ac_fn_cxx_try_compile "$LINENO"; then :
2826 ac_cv_prog_cxx_g=yes
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2840 if ac_fn_cxx_try_compile "$LINENO"; then :
2843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2856 if ac_fn_cxx_try_compile "$LINENO"; then :
2857 ac_cv_prog_cxx_g=yes
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2867 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2868 if test "$ac_test_CXXFLAGS" = set; then
2869 CXXFLAGS=$ac_save_CXXFLAGS
2870 elif test $ac_cv_prog_cxx_g = yes; then
2871 if test "$GXX" = yes; then
2877 if test "$GXX" = yes; then
2884 ac_cpp='$CPP $CPPFLAGS'
2885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2890 ac_cpp='$CPP $CPPFLAGS'
2891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2894 if test -n "$ac_tool_prefix"; then
2895 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2896 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_CC+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2925 $as_echo "$CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2933 if test -z "$ac_cv_prog_CC"; then
2935 # Extract the first word of "gcc", so it can be a program name with args.
2936 set dummy gcc; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_CC"; then
2943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_ac_ct_CC="gcc"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2971 if test "x$ac_ct_CC" = x; then
2974 case $cross_compiling:$ac_tool_warned in
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2978 ac_tool_warned=yes ;;
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2989 set dummy ${ac_tool_prefix}cc; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC="$CC" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_CC="${ac_tool_prefix}cc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3027 if test -z "$CC"; then
3028 # Extract the first word of "cc", so it can be a program name with args.
3029 set dummy cc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3047 ac_prog_rejected=yes
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test $ac_prog_rejected = yes; then
3059 # We found a bogon in the path, so make sure we never use it.
3060 set dummy $ac_cv_prog_CC
3062 if test $# != 0; then
3063 # We chose a different compiler from the bogus one.
3064 # However, it has the same basename, so the bogon will be chosen
3065 # first if we set CC to just the basename; use the full file name.
3067 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3073 if test -n "$CC"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3075 $as_echo "$CC" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3083 if test -z "$CC"; then
3084 if test -n "$ac_tool_prefix"; then
3085 for ac_prog in cl.exe
3087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3088 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_CC+:} false; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3104 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3124 test -n "$CC" && break
3127 if test -z "$CC"; then
3129 for ac_prog in cl.exe
3131 # Extract the first word of "$ac_prog", so it can be a program name with args.
3132 set dummy $ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$ac_ct_CC"; then
3139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_ac_ct_CC="$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3159 if test -n "$ac_ct_CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161 $as_echo "$ac_ct_CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$ac_ct_CC" && break
3171 if test "x$ac_ct_CC" = x; then
3174 case $cross_compiling:$ac_tool_warned in
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3178 ac_tool_warned=yes ;;
3187 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $? "no acceptable C compiler found in \$PATH
3190 See \`config.log' for more details" "$LINENO" 5; }
3192 # Provide some information about the compiler.
3193 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3196 for ac_option in --version -v -V -qversion; do
3197 { { ac_try="$ac_compiler $ac_option >&5"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3206 if test -s conftest.err; then
3208 ... rest of stderr output deleted ...
3209 10q' conftest.err >conftest.er1
3210 cat conftest.er1 >&5
3212 rm -f conftest.er1 conftest.err
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3218 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3219 if ${ac_cv_c_compiler_gnu+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3236 if ac_fn_c_try_compile "$LINENO"; then :
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3246 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3247 if test $ac_compiler_gnu = yes; then
3252 ac_test_CFLAGS=${CFLAGS+set}
3253 ac_save_CFLAGS=$CFLAGS
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3255 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3256 if ${ac_cv_prog_cc_g+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 ac_save_c_werror_flag=$ac_c_werror_flag
3260 ac_c_werror_flag=yes
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3292 ac_c_werror_flag=$ac_save_c_werror_flag
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 ac_c_werror_flag=$ac_save_c_werror_flag
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3316 $as_echo "$ac_cv_prog_cc_g" >&6; }
3317 if test "$ac_test_CFLAGS" = set; then
3318 CFLAGS=$ac_save_CFLAGS
3319 elif test $ac_cv_prog_cc_g = yes; then
3320 if test "$GCC" = yes; then
3326 if test "$GCC" = yes; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3333 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3334 if ${ac_cv_prog_cc_c89+:} false; then :
3335 $as_echo_n "(cached) " >&6
3337 ac_cv_prog_cc_c89=no
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3345 struct buf { int x; };
3346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3347 static char *e (p, i)
3353 static char *f (char * (*g) (char **, int), char **p, ...)
3358 s = g (p, va_arg (v,int));
3363 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3364 function prototypes and stuff, but not '\xHH' hex character constants.
3365 These don't provoke an error unfortunately, instead are silently treated
3366 as 'x'. The following induces an error, until -std is added to get
3367 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3368 array size at least. It's necessary to write '\x00'==0 to get something
3369 that's true only with -std. */
3370 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3372 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3373 inside strings and character constants. */
3375 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3377 int test (int i, double x);
3378 struct s1 {int (*f) (int a);};
3379 struct s2 {int (*f) (double a);};
3380 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3386 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3391 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3392 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3394 CC="$ac_save_CC $ac_arg"
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396 ac_cv_prog_cc_c89=$ac_arg
3398 rm -f core conftest.err conftest.$ac_objext
3399 test "x$ac_cv_prog_cc_c89" != "xno" && break
3401 rm -f conftest.$ac_ext
3406 case "x$ac_cv_prog_cc_c89" in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3409 $as_echo "none needed" >&6; } ;;
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3412 $as_echo "unsupported" >&6; } ;;
3414 CC="$CC $ac_cv_prog_cc_c89"
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3416 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3418 if test "x$ac_cv_prog_cc_c89" != xno; then :
3423 ac_cpp='$CPP $CPPFLAGS'
3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 ac_cpp='$CPP $CPPFLAGS'
3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3434 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3435 # On Suns, sometimes $CPP names a directory.
3436 if test -n "$CPP" && test -d "$CPP"; then
3439 if test -z "$CPP"; then
3440 if ${ac_cv_prog_CPP+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 # Double quotes because CPP needs to be expanded
3444 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3447 for ac_c_preproc_warn_flag in '' yes
3449 # Use a header file that comes with gcc, so configuring glibc
3450 # with a fresh cross-compiler works.
3451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3452 # <limits.h> exists even on freestanding compilers.
3453 # On the NeXT, cc -E runs the code through the compiler's parser,
3454 # not just through cpp. "Syntax error" is here to catch this case.
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3458 # include <limits.h>
3460 # include <assert.h>
3464 if ac_fn_c_try_cpp "$LINENO"; then :
3467 # Broken: fails on valid input.
3470 rm -f conftest.err conftest.i conftest.$ac_ext
3472 # OK, works on sane cases. Now check whether nonexistent headers
3473 # can be detected and how.
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3476 #include <ac_nonexistent.h>
3478 if ac_fn_c_try_cpp "$LINENO"; then :
3479 # Broken: success on invalid input.
3482 # Passes both tests.
3486 rm -f conftest.err conftest.i conftest.$ac_ext
3489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3490 rm -f conftest.i conftest.err conftest.$ac_ext
3491 if $ac_preproc_ok; then :
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3504 $as_echo "$CPP" >&6; }
3506 for ac_c_preproc_warn_flag in '' yes
3508 # Use a header file that comes with gcc, so configuring glibc
3509 # with a fresh cross-compiler works.
3510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3511 # <limits.h> exists even on freestanding compilers.
3512 # On the NeXT, cc -E runs the code through the compiler's parser,
3513 # not just through cpp. "Syntax error" is here to catch this case.
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3517 # include <limits.h>
3519 # include <assert.h>
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3526 # Broken: fails on valid input.
3529 rm -f conftest.err conftest.i conftest.$ac_ext
3531 # OK, works on sane cases. Now check whether nonexistent headers
3532 # can be detected and how.
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3535 #include <ac_nonexistent.h>
3537 if ac_fn_c_try_cpp "$LINENO"; then :
3538 # Broken: success on invalid input.
3541 # Passes both tests.
3545 rm -f conftest.err conftest.i conftest.$ac_ext
3548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3549 rm -f conftest.i conftest.err conftest.$ac_ext
3550 if $ac_preproc_ok; then :
3553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3556 See \`config.log' for more details" "$LINENO" 5; }
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 # Check prefix directories.
3568 if test "x$prefix" = "xNONE" ; then
3572 if test "x$exec_prefix" = "xNONE" ; then
3579 if test "x$bindir" = "xNONE" ; then
3582 BINDIR=`eval echo $bindir`
3585 if test "x$datarootdir" = "xNONE" ; then
3586 datarootdir="/share"
3588 DATAROOTDIR=`eval echo $datarootdir`
3591 # Checks for libraries.
3596 ac_cpp='$CXXCPP $CPPFLAGS'
3597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3602 # Check for C++11 support for the compiler.
3604 CPPFLAGS="$CPPFLAGS -std=c++11"
3605 CXXFLAGS="$CXXFLAGS -std=c++11"
3607 # Checks for header files.
3610 ac_cpp='$CXXCPP $CPPFLAGS'
3611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3615 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3616 if test -z "$CXXCPP"; then
3617 if ${ac_cv_prog_CXXCPP+:} false; then :
3618 $as_echo_n "(cached) " >&6
3620 # Double quotes because CXXCPP needs to be expanded
3621 for CXXCPP in "$CXX -E" "/lib/cpp"
3624 for ac_cxx_preproc_warn_flag in '' yes
3626 # Use a header file that comes with gcc, so configuring glibc
3627 # with a fresh cross-compiler works.
3628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3629 # <limits.h> exists even on freestanding compilers.
3630 # On the NeXT, cc -E runs the code through the compiler's parser,
3631 # not just through cpp. "Syntax error" is here to catch this case.
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3635 # include <limits.h>
3637 # include <assert.h>
3641 if ac_fn_cxx_try_cpp "$LINENO"; then :
3644 # Broken: fails on valid input.
3647 rm -f conftest.err conftest.i conftest.$ac_ext
3649 # OK, works on sane cases. Now check whether nonexistent headers
3650 # can be detected and how.
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3653 #include <ac_nonexistent.h>
3655 if ac_fn_cxx_try_cpp "$LINENO"; then :
3656 # Broken: success on invalid input.
3659 # Passes both tests.
3663 rm -f conftest.err conftest.i conftest.$ac_ext
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.i conftest.err conftest.$ac_ext
3668 if $ac_preproc_ok; then :
3673 ac_cv_prog_CXXCPP=$CXXCPP
3676 CXXCPP=$ac_cv_prog_CXXCPP
3678 ac_cv_prog_CXXCPP=$CXXCPP
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3681 $as_echo "$CXXCPP" >&6; }
3683 for ac_cxx_preproc_warn_flag in '' yes
3685 # Use a header file that comes with gcc, so configuring glibc
3686 # with a fresh cross-compiler works.
3687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3688 # <limits.h> exists even on freestanding compilers.
3689 # On the NeXT, cc -E runs the code through the compiler's parser,
3690 # not just through cpp. "Syntax error" is here to catch this case.
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3694 # include <limits.h>
3696 # include <assert.h>
3700 if ac_fn_cxx_try_cpp "$LINENO"; then :
3703 # Broken: fails on valid input.
3706 rm -f conftest.err conftest.i conftest.$ac_ext
3708 # OK, works on sane cases. Now check whether nonexistent headers
3709 # can be detected and how.
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3712 #include <ac_nonexistent.h>
3714 if ac_fn_cxx_try_cpp "$LINENO"; then :
3715 # Broken: success on invalid input.
3718 # Passes both tests.
3722 rm -f conftest.err conftest.i conftest.$ac_ext
3725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3726 rm -f conftest.i conftest.err conftest.$ac_ext
3727 if $ac_preproc_ok; then :
3730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3733 See \`config.log' for more details" "$LINENO" 5; }
3737 ac_cpp='$CXXCPP $CPPFLAGS'
3738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3744 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3745 if ${ac_cv_path_GREP+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -z "$GREP"; then
3749 ac_path_GREP_found=false
3750 # Loop through the user's path and test for each of PROGNAME-LIST
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3755 test -z "$as_dir" && as_dir=.
3756 for ac_prog in grep ggrep; do
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3759 as_fn_executable_p "$ac_path_GREP" || continue
3760 # Check for GNU ac_path_GREP and select it if it is found.
3761 # Check for GNU $ac_path_GREP
3762 case `"$ac_path_GREP" --version 2>&1` in
3764 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3767 $as_echo_n 0123456789 >"conftest.in"
3770 cat "conftest.in" "conftest.in" >"conftest.tmp"
3771 mv "conftest.tmp" "conftest.in"
3772 cp "conftest.in" "conftest.nl"
3773 $as_echo 'GREP' >> "conftest.nl"
3774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3775 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3776 as_fn_arith $ac_count + 1 && ac_count=$as_val
3777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3778 # Best one so far, save it but keep looking for a better one
3779 ac_cv_path_GREP="$ac_path_GREP"
3780 ac_path_GREP_max=$ac_count
3782 # 10*(2^10) chars as input seems more than enough
3783 test $ac_count -gt 10 && break
3785 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3788 $ac_path_GREP_found && break 3
3793 if test -z "$ac_cv_path_GREP"; then
3794 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3797 ac_cv_path_GREP=$GREP
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3802 $as_echo "$ac_cv_path_GREP" >&6; }
3803 GREP="$ac_cv_path_GREP"
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3807 $as_echo_n "checking for egrep... " >&6; }
3808 if ${ac_cv_path_EGREP+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3812 then ac_cv_path_EGREP="$GREP -E"
3814 if test -z "$EGREP"; then
3815 ac_path_EGREP_found=false
3816 # Loop through the user's path and test for each of PROGNAME-LIST
3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3821 test -z "$as_dir" && as_dir=.
3822 for ac_prog in egrep; do
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3825 as_fn_executable_p "$ac_path_EGREP" || continue
3826 # Check for GNU ac_path_EGREP and select it if it is found.
3827 # Check for GNU $ac_path_EGREP
3828 case `"$ac_path_EGREP" --version 2>&1` in
3830 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3833 $as_echo_n 0123456789 >"conftest.in"
3836 cat "conftest.in" "conftest.in" >"conftest.tmp"
3837 mv "conftest.tmp" "conftest.in"
3838 cp "conftest.in" "conftest.nl"
3839 $as_echo 'EGREP' >> "conftest.nl"
3840 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3841 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3842 as_fn_arith $ac_count + 1 && ac_count=$as_val
3843 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3844 # Best one so far, save it but keep looking for a better one
3845 ac_cv_path_EGREP="$ac_path_EGREP"
3846 ac_path_EGREP_max=$ac_count
3848 # 10*(2^10) chars as input seems more than enough
3849 test $ac_count -gt 10 && break
3851 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3854 $ac_path_EGREP_found && break 3
3859 if test -z "$ac_cv_path_EGREP"; then
3860 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3863 ac_cv_path_EGREP=$EGREP
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3869 $as_echo "$ac_cv_path_EGREP" >&6; }
3870 EGREP="$ac_cv_path_EGREP"
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3874 $as_echo_n "checking for ANSI C header files... " >&6; }
3875 if ${ac_cv_header_stdc+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3893 if ac_fn_cxx_try_compile "$LINENO"; then :
3894 ac_cv_header_stdc=yes
3896 ac_cv_header_stdc=no
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 if test $ac_cv_header_stdc = yes; then
3901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3908 $EGREP "memchr" >/dev/null 2>&1; then :
3911 ac_cv_header_stdc=no
3917 if test $ac_cv_header_stdc = yes; then
3918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3925 $EGREP "free" >/dev/null 2>&1; then :
3928 ac_cv_header_stdc=no
3934 if test $ac_cv_header_stdc = yes; then
3935 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3936 if test "$cross_compiling" = yes; then :
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3943 #if ((' ' & 0x0FF) == 0x020)
3944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3947 # define ISLOWER(c) \
3948 (('a' <= (c) && (c) <= 'i') \
3949 || ('j' <= (c) && (c) <= 'r') \
3950 || ('s' <= (c) && (c) <= 'z'))
3951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3959 for (i = 0; i < 256; i++)
3960 if (XOR (islower (i), ISLOWER (i))
3961 || toupper (i) != TOUPPER (i))
3966 if ac_fn_cxx_try_run "$LINENO"; then :
3969 ac_cv_header_stdc=no
3971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3972 conftest.$ac_objext conftest.beam conftest.$ac_ext
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3978 $as_echo "$ac_cv_header_stdc" >&6; }
3979 if test $ac_cv_header_stdc = yes; then
3981 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3986 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3987 inttypes.h stdint.h unistd.h
3989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3990 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3993 cat >>confdefs.h <<_ACEOF
3994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4002 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4005 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4007 cat >>confdefs.h <<_ACEOF
4008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4016 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
4017 if test "x$ac_cv_header_thread" = xyes; then :
4020 echo "The C++ compiler does not support C++11 extensions which is
4021 needed for Xestia Address Book. Please install or use a
4022 compiler that supports C++11 extensions."
4031 # Check whether --with-wxdir was given.
4032 if test "${with_wxdir+set}" = set; then :
4033 withval=$with_wxdir; wx_config_name="$withval/wx-config"
4034 wx_config_args="--inplace"
4038 # Check whether --with-wx-config was given.
4039 if test "${with_wx_config+set}" = set; then :
4040 withval=$with_wx_config; wx_config_name="$withval"
4044 # Check whether --with-wx-prefix was given.
4045 if test "${with_wx_prefix+set}" = set; then :
4046 withval=$with_wx_prefix; wx_config_prefix="$withval"
4052 # Check whether --with-wx-exec-prefix was given.
4053 if test "${with_wx_exec_prefix+set}" = set; then :
4054 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4056 wx_config_exec_prefix=""
4063 if test x${WX_CONFIG_NAME+set} != xset ; then
4064 WX_CONFIG_NAME=wx-config
4067 if test "x$wx_config_name" != x ; then
4068 WX_CONFIG_NAME="$wx_config_name"
4071 if test x$wx_config_exec_prefix != x ; then
4072 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4073 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4075 if test x$wx_config_prefix != x ; then
4076 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4077 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4079 if test "$cross_compiling" = "yes"; then
4080 wx_config_args="$wx_config_args --host=$host_alias"
4083 if test -x "$WX_CONFIG_NAME" ; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4085 $as_echo_n "checking for wx-config... " >&6; }
4086 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4088 $as_echo "$WX_CONFIG_PATH" >&6; }
4090 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4091 set dummy $WX_CONFIG_NAME; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4095 $as_echo_n "(cached) " >&6
4097 case $WX_CONFIG_PATH in
4099 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4104 for as_dir in $as_dummy
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4122 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4123 if test -n "$WX_CONFIG_PATH"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4125 $as_echo "$WX_CONFIG_PATH" >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4134 if test "$WX_CONFIG_PATH" != "no" ; then
4137 min_wx_version=$reqwx
4138 if test -z "" ; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4140 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4143 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4146 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4148 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4149 wx_config_major_version=`echo $WX_VERSION | \
4150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4151 wx_config_minor_version=`echo $WX_VERSION | \
4152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4153 wx_config_micro_version=`echo $WX_VERSION | \
4154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4156 wx_requested_major_version=`echo $min_wx_version | \
4157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4158 wx_requested_minor_version=`echo $min_wx_version | \
4159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4160 wx_requested_micro_version=`echo $min_wx_version | \
4161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4165 if test "x$WX_VERSION" != x ; then
4166 if test $wx_config_major_version -gt $wx_requested_major_version; then
4169 if test $wx_config_major_version -eq $wx_requested_major_version; then
4170 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4173 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4174 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4184 if test -n "$wx_ver_ok"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4186 $as_echo "yes (version $WX_VERSION)" >&6; }
4187 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4190 $as_echo_n "checking for wxWidgets static library... " >&6; }
4191 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4192 if test "x$WX_LIBS_STATIC" = "x"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 $as_echo "no" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4201 if test $wx_config_major_version -gt 2; then
4204 if test $wx_config_major_version -eq 2; then
4205 if test $wx_config_minor_version -gt 2; then
4208 if test $wx_config_minor_version -eq 2; then
4209 if test $wx_config_micro_version -ge 6; then
4218 if test $wx_config_major_version -gt 2; then
4221 if test $wx_config_major_version -eq 2; then
4222 if test $wx_config_minor_version -ge 7; then
4227 if test "x$wx_has_rescomp" = x ; then
4230 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4233 if test "x$wx_has_cppflags" = x ; then
4234 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4235 WX_CPPFLAGS=$WX_CFLAGS
4236 WX_CXXFLAGS=$WX_CFLAGS
4238 WX_CFLAGS_ONLY=$WX_CFLAGS
4239 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4241 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4242 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4243 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4245 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4246 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4253 if test "x$WX_VERSION" = x; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4258 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4268 if test ! -z ""; then
4271 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4272 build with the following settings:
4274 but such build is not available.
4276 To see the wxWidgets builds available on this system, please use
4277 'wx-config --list' command. To use the default build, returned by
4278 'wx-config --selected-config', use the options with their 'auto'
4284 The requested wxWidgets build couldn't be found.
4287 If you still get this error, then check that 'wx-config' is
4288 in path, the directory where wxWidgets libraries are installed
4289 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4290 or equivalent variable and wxWidgets version is $reqwx or above."
4292 as_fn_error $? "$wx_error_message" "$LINENO" 5
4318 WX_VERSION_MAJOR="$wx_config_major_version"
4319 WX_VERSION_MINOR="$wx_config_minor_version"
4320 WX_VERSION_MICRO="$wx_config_micro_version"
4326 if test "$wxWin" != 1; then
4328 wxWidgets must be installed on your system.
4330 Please check that wx-config is in path, the directory where wxWidgets libraries
4331 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4332 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4337 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4338 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4339 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4340 LIBS="$LIBS $WX_LIBS"
4342 # SFML Audio Library
4351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4352 if test -n "$ac_tool_prefix"; then
4353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4354 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4358 $as_echo_n "(cached) " >&6
4362 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4384 if test -n "$PKG_CONFIG"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4386 $as_echo "$PKG_CONFIG" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4394 if test -z "$ac_cv_path_PKG_CONFIG"; then
4395 ac_pt_PKG_CONFIG=$PKG_CONFIG
4396 # Extract the first word of "pkg-config", so it can be a program name with args.
4397 set dummy pkg-config; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 case $ac_pt_PKG_CONFIG in
4405 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4427 if test -n "$ac_pt_PKG_CONFIG"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4429 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4435 if test "x$ac_pt_PKG_CONFIG" = x; then
4438 case $cross_compiling:$ac_tool_warned in
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4442 ac_tool_warned=yes ;;
4444 PKG_CONFIG=$ac_pt_PKG_CONFIG
4447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4451 if test -n "$PKG_CONFIG"; then
4452 _pkg_min_version=0.9.0
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4454 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4457 $as_echo "yes" >&6; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SFML" >&5
4467 $as_echo_n "checking for SFML... " >&6; }
4469 if test -n "$SFML_CFLAGS"; then
4470 pkg_cv_SFML_CFLAGS="$SFML_CFLAGS"
4471 elif test -n "$PKG_CONFIG"; then
4472 if test -n "$PKG_CONFIG" && \
4473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4474 ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; then
4478 pkg_cv_SFML_CFLAGS=`$PKG_CONFIG --cflags "sfml-all >= 2.4.1" 2>/dev/null`
4479 test "x$?" != "x0" && pkg_failed=yes
4486 if test -n "$SFML_LIBS"; then
4487 pkg_cv_SFML_LIBS="$SFML_LIBS"
4488 elif test -n "$PKG_CONFIG"; then
4489 if test -n "$PKG_CONFIG" && \
4490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4491 ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }; then
4495 pkg_cv_SFML_LIBS=`$PKG_CONFIG --libs "sfml-all >= 2.4.1" 2>/dev/null`
4496 test "x$?" != "x0" && pkg_failed=yes
4506 if test $pkg_failed = yes; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4511 _pkg_short_errors_supported=yes
4513 _pkg_short_errors_supported=no
4515 if test $_pkg_short_errors_supported = yes; then
4516 SFML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4518 SFML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4520 # Put the nasty error message in config.log where it belongs
4521 echo "$SFML_PKG_ERRORS" >&5
4523 as_fn_error $? "Package requirements (sfml-all >= 2.4.1) were not met:
4527 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4528 installed software in a non-standard prefix.
4530 Alternatively, you may set the environment variables SFML_CFLAGS
4531 and SFML_LIBS to avoid the need to call pkg-config.
4532 See the pkg-config man page for more details." "$LINENO" 5
4533 elif test $pkg_failed = untried; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4539 is in your PATH or set the PKG_CONFIG environment variable to the full
4542 Alternatively, you may set the environment variables SFML_CFLAGS
4543 and SFML_LIBS to avoid the need to call pkg-config.
4544 See the pkg-config man page for more details.
4546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4547 See \`config.log' for more details" "$LINENO" 5; }
4549 SFML_CFLAGS=$pkg_cv_SFML_CFLAGS
4550 SFML_LIBS=$pkg_cv_SFML_LIBS
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4552 $as_echo "yes" >&6; }
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4557 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4558 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4559 $as_echo_n "(cached) " >&6
4561 ac_check_lib_save_LIBS=$LIBS
4562 LIBS="-lsfml-audio $LIBS"
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4575 if ac_fn_cxx_try_link "$LINENO"; then :
4576 ac_cv_lib_sfml_audio_main=yes
4578 ac_cv_lib_sfml_audio_main=no
4580 rm -f core conftest.err conftest.$ac_objext \
4581 conftest$ac_exeext conftest.$ac_ext
4582 LIBS=$ac_check_lib_save_LIBS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4585 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4586 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4587 cat >>confdefs.h <<_ACEOF
4588 #define HAVE_LIBSFML_AUDIO 1
4591 LIBS="-lsfml-audio $LIBS"
4594 echo "The SFML libraries must be installed on your system.
4595 Please check that this library is installed properly before
4596 running configure again."
4602 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4603 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4606 echo "The SFML library headers must be installed on your system.
4607 Please check that the library headers are installed properly
4608 before running configure again."
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
4627 $as_echo_n "checking for CURL... " >&6; }
4629 if test -n "$CURL_CFLAGS"; then
4630 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
4631 elif test -n "$PKG_CONFIG"; then
4632 if test -n "$PKG_CONFIG" && \
4633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.54.1\""; } >&5
4634 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.54.1") 2>&5
4636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4637 test $ac_status = 0; }; then
4638 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.54.1" 2>/dev/null`
4639 test "x$?" != "x0" && pkg_failed=yes
4646 if test -n "$CURL_LIBS"; then
4647 pkg_cv_CURL_LIBS="$CURL_LIBS"
4648 elif test -n "$PKG_CONFIG"; then
4649 if test -n "$PKG_CONFIG" && \
4650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.54.1\""; } >&5
4651 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.54.1") 2>&5
4653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4654 test $ac_status = 0; }; then
4655 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.54.1" 2>/dev/null`
4656 test "x$?" != "x0" && pkg_failed=yes
4666 if test $pkg_failed = yes; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4671 _pkg_short_errors_supported=yes
4673 _pkg_short_errors_supported=no
4675 if test $_pkg_short_errors_supported = yes; then
4676 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.54.1" 2>&1`
4678 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.54.1" 2>&1`
4680 # Put the nasty error message in config.log where it belongs
4681 echo "$CURL_PKG_ERRORS" >&5
4683 as_fn_error $? "Package requirements (libcurl >= 7.54.1) were not met:
4687 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4688 installed software in a non-standard prefix.
4690 Alternatively, you may set the environment variables CURL_CFLAGS
4691 and CURL_LIBS to avoid the need to call pkg-config.
4692 See the pkg-config man page for more details." "$LINENO" 5
4693 elif test $pkg_failed = untried; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4698 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4699 is in your PATH or set the PKG_CONFIG environment variable to the full
4702 Alternatively, you may set the environment variables CURL_CFLAGS
4703 and CURL_LIBS to avoid the need to call pkg-config.
4704 See the pkg-config man page for more details.
4706 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4707 See \`config.log' for more details" "$LINENO" 5; }
4709 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
4710 CURL_LIBS=$pkg_cv_CURL_LIBS
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4712 $as_echo "yes" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4718 $as_echo_n "checking for main in -lcurl... " >&6; }
4719 if ${ac_cv_lib_curl_main+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 ac_check_lib_save_LIBS=$LIBS
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4736 if ac_fn_c_try_link "$LINENO"; then :
4737 ac_cv_lib_curl_main=yes
4739 ac_cv_lib_curl_main=no
4741 rm -f core conftest.err conftest.$ac_objext \
4742 conftest$ac_exeext conftest.$ac_ext
4743 LIBS=$ac_check_lib_save_LIBS
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4746 $as_echo "$ac_cv_lib_curl_main" >&6; }
4747 if test "x$ac_cv_lib_curl_main" = xyes; then :
4748 cat >>confdefs.h <<_ACEOF
4749 #define HAVE_LIBCURL 1
4755 echo "The cURL library must be installed on your system.
4756 Please check that this library is installed properly before
4757 running configure again."
4764 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4765 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4768 echo "The cURL library headers must be installed on your system.
4769 Please check that the library headers are installed properly
4770 before running configure again."
4777 # Extract the first word of "curl-config", so it can be a program name with args.
4778 set dummy curl-config; ac_word=$2
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4782 $as_echo_n "(cached) " >&6
4784 if test -n "$FOUND_CURLCONFIG"; then
4785 ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_FOUND_CURLCONFIG="yes"
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4805 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4806 if test -n "$FOUND_CURLCONFIG"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4808 $as_echo "$FOUND_CURLCONFIG" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 if test x$FOUND_CURLCONFIG = xyes; then
4816 FOUND_CURLCONFIG_RES_TRUE=
4817 FOUND_CURLCONFIG_RES_FALSE='#'
4819 FOUND_CURLCONFIG_RES_TRUE='#'
4820 FOUND_CURLCONFIG_RES_FALSE=
4824 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4826 echo "Cannot find the curl-config program on your system.
4827 If it is installed on your system, adjust your PATH environment
4828 variable before running configure again."
4835 # Extract the first word of "file", so it can be a program name with args.
4836 set dummy file; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_FOUND_FILE+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$FOUND_FILE"; then
4843 ac_cv_prog_FOUND_FILE="$FOUND_FILE" # Let the user override the test.
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_FOUND_FILE="yes"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 test -z "$ac_cv_prog_FOUND_FILE" && ac_cv_prog_FOUND_FILE="no"
4863 FOUND_FILE=$ac_cv_prog_FOUND_FILE
4864 if test -n "$FOUND_FILE"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_FILE" >&5
4866 $as_echo "$FOUND_FILE" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4873 if test x$FOUND_FILE = xyes; then
4874 FOUND_FILE_RES_TRUE=
4875 FOUND_FILE_RES_FALSE='#'
4877 FOUND_FILE_RES_TRUE='#'
4878 FOUND_FILE_RES_FALSE=
4882 if test -z "$FOUND_FILE_RES_TRUE"; then :
4884 echo "Cannot find the file program on your system.
4885 If it is installed on your system, adjust your PATH environment
4886 variable before running configure again."
4891 # uuidgen application
4893 # Extract the first word of "uuidgen", so it can be a program name with args.
4894 set dummy uuidgen; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$FOUND_UUIDGEN"; then
4901 ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_FOUND_UUIDGEN="yes"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4921 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4922 if test -n "$FOUND_UUIDGEN"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4924 $as_echo "$FOUND_UUIDGEN" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 if test x$FOUND_UUIDGEN = xyes; then
4932 FOUND_UUIDGEN_RES_TRUE=
4933 FOUND_UUIDGEN_RES_FALSE='#'
4935 FOUND_UUIDGEN_RES_TRUE='#'
4936 FOUND_UUIDGEN_RES_FALSE=
4940 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4942 echo "Cannot find the uuidgen program on your system.
4943 If it is installed on your system, adjust your PATH environment
4944 variable before running configure again."
4949 # Checks for typedefs, structures, and compiler characteristics.
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4951 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4952 if ${ac_cv_header_stdbool_h+:} false; then :
4953 $as_echo_n "(cached) " >&6
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4958 #include <stdbool.h>
4960 "error: bool is not defined"
4963 "error: false is not defined"
4966 "error: false is not 0"
4969 "error: true is not defined"
4972 "error: true is not 1"
4974 #ifndef __bool_true_false_are_defined
4975 "error: __bool_true_false_are_defined is not defined"
4978 struct s { _Bool s: 1; _Bool t; } s;
4980 char a[true == 1 ? 1 : -1];
4981 char b[false == 0 ? 1 : -1];
4982 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4983 char d[(bool) 0.5 == true ? 1 : -1];
4984 /* See body of main program for 'e'. */
4985 char f[(_Bool) 0.0 == false ? 1 : -1];
4987 char h[sizeof (_Bool)];
4989 enum { j = false, k = true, l = false * true, m = true * 256 };
4990 /* The following fails for
4991 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4993 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4994 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4995 /* Catch a bug in an HP-UX C compiler. See
4996 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4997 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5009 /* Refer to every declared value, to avoid compiler optimizations. */
5010 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5011 + !m + !n + !o + !p + !q + !pq);
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 ac_cv_header_stdbool_h=yes
5020 ac_cv_header_stdbool_h=no
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5025 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5026 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5027 if test "x$ac_cv_type__Bool" = xyes; then :
5029 cat >>confdefs.h <<_ACEOF
5030 #define HAVE__BOOL 1
5037 if test $ac_cv_header_stdbool_h = yes; then
5039 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5044 $as_echo_n "checking for inline... " >&6; }
5045 if ${ac_cv_c_inline+:} false; then :
5046 $as_echo_n "(cached) " >&6
5049 for ac_kw in inline __inline__ __inline; do
5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5054 static $ac_kw foo_t static_foo () {return 0; }
5055 $ac_kw foo_t foo () {return 0; }
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_c_inline=$ac_kw
5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5063 test "$ac_cv_c_inline" != no && break
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5068 $as_echo "$ac_cv_c_inline" >&6; }
5070 case $ac_cv_c_inline in
5073 case $ac_cv_c_inline in
5075 *) ac_val=$ac_cv_c_inline;;
5077 cat >>confdefs.h <<_ACEOF
5079 #define inline $ac_val
5086 # Check for Google Test and if it exists, enable the tests.
5089 ac_cpp='$CXXCPP $CPPFLAGS'
5090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5094 for ac_header in gtest/gtest.h
5096 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
5097 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
5098 cat >>confdefs.h <<_ACEOF
5099 #define HAVE_GTEST_GTEST_H 1
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 CPPFLAGSOLD=CPPFLAGS
5118 CPPFLAGS=`xml2-config --cflags`
5120 # Extract the first word of "xml2-config", so it can be a program name with args.
5121 set dummy xml2-config; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$FOUND_XML2CONFIG"; then
5128 ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_FOUND_XML2CONFIG="yes"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
5148 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
5149 if test -n "$FOUND_XML2CONFIG"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
5151 $as_echo "$FOUND_XML2CONFIG" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5158 if test x$FOUND_XML2CONFIG = xyes; then
5159 FOUND_XML2CONFIG_RES_TRUE=
5160 FOUND_XML2CONFIG_RES_FALSE='#'
5162 FOUND_XML2CONFIG_RES_TRUE='#'
5163 FOUND_XML2CONFIG_RES_FALSE=
5167 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
5169 echo "Cannot find the xml2-config program on your system.
5170 If it is installed on your system, adjust your PATH environment
5171 variable before running configure again."
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
5177 $as_echo_n "checking for main in -lxml2... " >&6; }
5178 if ${ac_cv_lib_xml2_main+:} false; then :
5179 $as_echo_n "(cached) " >&6
5181 ac_check_lib_save_LIBS=$LIBS
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5195 if ac_fn_c_try_link "$LINENO"; then :
5196 ac_cv_lib_xml2_main=yes
5198 ac_cv_lib_xml2_main=no
5200 rm -f core conftest.err conftest.$ac_objext \
5201 conftest$ac_exeext conftest.$ac_ext
5202 LIBS=$ac_check_lib_save_LIBS
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
5205 $as_echo "$ac_cv_lib_xml2_main" >&6; }
5206 if test "x$ac_cv_lib_xml2_main" = xyes; then :
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_LIBXML2 1
5214 echo "The libxml2 library must be installed on your system.
5215 Please check that this library is installed properly before
5216 running configure again."
5222 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
5224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5225 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5227 cat >>confdefs.h <<_ACEOF
5228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5232 echo "The libxml2 library headers must be installed on your system.
5233 Please check that the library headers are installed properly
5234 before running configure again."
5242 CPPFLAGS=CPPFLAGSOLD
5244 # Setup the debug setting.
5246 # Check whether --enable-debug was given.
5247 if test "${enable_debug+set}" = set; then :
5248 enableval=$enable_debug; case "${enableval}" in
5251 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
5258 # Checks for library functions.
5260 if test x$debug = xtrue; then
5268 if test -z "$DEBUG_TRUE"; then :
5275 if test -z "$DEBUG_TRUE"; then :
5276 DBGSTATUS="DEBUG=true"
5279 DBGSTATUS="DEBUG=false"
5282 if test -z "$DEBUG_TRUE"; then :
5283 echo "Debugging mode has been enabled."
5286 if test x$gtestfound = xyes; then
5288 GTEST_FOUND_FALSE='#'
5290 GTEST_FOUND_TRUE='#'
5294 if test -z "$GTEST_FOUND_TRUE"; then :
5295 GTEST=`cat tests/test.commands`
5298 GTEST=" @echo \"Google Test was not found on the system. Unable to build tests.\""
5301 if test -z "$GTEST_FOUND_TRUE"; then :
5302 echo "Google Test found on the system. Enabling Unit Tests."
5305 ac_config_files="$ac_config_files Makefile tests/Makefile"
5307 cat >confcache <<\_ACEOF
5308 # This file is a shell script that caches the results of configure
5309 # tests run on this system so they can be shared between configure
5310 # scripts and configure runs, see configure's option --config-cache.
5311 # It is not useful on other systems. If it contains results you don't
5312 # want to keep, you may remove or edit it.
5314 # config.status only pays attention to the cache file if you give it
5315 # the --recheck option to rerun configure.
5317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5323 # The following way of writing the cache mishandles newlines in values,
5324 # but we know of no workaround that is simple, portable, and efficient.
5325 # So, we kill variables containing newlines.
5326 # Ultrix sh set writes to stderr and can't be redirected directly,
5327 # and sets the high bit in the cache file unless we assign to the vars.
5329 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5330 eval ac_val=\$$ac_var
5334 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5338 _ | IFS | as_nl) ;; #(
5339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5340 *) { eval $ac_var=; unset $ac_var;} ;;
5346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5347 *${as_nl}ac_space=\ *)
5348 # `set' does not quote correctly, so add quotes: double-quote
5349 # substitution turns \\\\ into \\, and sed turns \\ into \.
5352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5355 # `set' quotes correctly as required by POSIX, so do not add quotes.
5356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5370 if test -w "$cache_file"; then
5371 if test "x$cache_file" != "x/dev/null"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5373 $as_echo "$as_me: updating cache $cache_file" >&6;}
5374 if test ! -f "$cache_file" || test -h "$cache_file"; then
5375 cat confcache >"$cache_file"
5377 case $cache_file in #(
5379 mv -f confcache "$cache_file"$$ &&
5380 mv -f "$cache_file"$$ "$cache_file" ;; #(
5382 mv -f confcache "$cache_file" ;;
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5393 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5394 # Let make expand exec_prefix.
5395 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5397 # Transform confdefs.h into DEFS.
5398 # Protect against shell expansion while executing Makefile rules.
5399 # Protect against Makefile macro expansion.
5401 # If the first sed substitution is executed (which looks for macros that
5402 # take arguments), then branch to the quote section. Otherwise,
5403 # look for a macro that doesn't take arguments.
5413 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5415 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5419 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5432 DEFS=`sed -n "$ac_script" confdefs.h`
5438 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5439 # 1. Remove the extension, and $U if already installed.
5440 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5441 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5442 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5443 # will be set to the directory where LIBOBJS objects are built.
5444 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5445 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5449 LTLIBOBJS=$ac_ltlibobjs
5452 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5453 as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5456 if test -z "${FOUND_FILE_RES_TRUE}" && test -z "${FOUND_FILE_RES_FALSE}"; then
5457 as_fn_error $? "conditional \"FOUND_FILE_RES\" was never defined.
5458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5460 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5461 as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5464 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5465 as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5468 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5469 as_fn_error $? "conditional \"DEBUG\" was never defined.
5470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5472 if test -z "${GTEST_FOUND_TRUE}" && test -z "${GTEST_FOUND_FALSE}"; then
5473 as_fn_error $? "conditional \"GTEST_FOUND\" was never defined.
5474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5477 : "${CONFIG_STATUS=./config.status}"
5479 ac_clean_files_save=$ac_clean_files
5480 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5482 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5484 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5486 # Generated by $as_me.
5487 # Run this file to recreate the current configuration.
5488 # Compiler output produced by configure, useful for debugging
5489 # configure, is in config.log if it exists.
5495 SHELL=\${CONFIG_SHELL-$SHELL}
5498 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5499 ## -------------------- ##
5500 ## M4sh Initialization. ##
5501 ## -------------------- ##
5503 # Be more Bourne compatible
5504 DUALCASE=1; export DUALCASE # for MKS sh
5505 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5508 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5509 # is contrary to our usage. Disable this feature.
5510 alias -g '${1+"$@"}'='"$@"'
5511 setopt NO_GLOB_SUBST
5513 case `(set -o) 2>/dev/null` in #(
5525 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5526 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5528 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5529 # Prefer a ksh shell builtin over an external printf program on Solaris,
5530 # but without wasting forks for bash or zsh.
5531 if test -z "$BASH_VERSION$ZSH_VERSION" \
5532 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5533 as_echo='print -r --'
5534 as_echo_n='print -rn --'
5535 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5536 as_echo='printf %s\n'
5537 as_echo_n='printf %s'
5539 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5540 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5541 as_echo_n='/usr/ucb/echo -n'
5543 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5544 as_echo_n_body='eval
5548 expr "X$arg" : "X\\(.*\\)$as_nl";
5549 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5551 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5553 export as_echo_n_body
5554 as_echo_n='sh -c $as_echo_n_body as_echo'
5557 as_echo='sh -c $as_echo_body as_echo'
5560 # The user is always right.
5561 if test "${PATH_SEPARATOR+set}" != set; then
5563 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5564 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5571 # We need space, tab and new line, in precisely that order. Quoting is
5572 # there to prevent editors from complaining about space-tab.
5573 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5574 # splitting by setting IFS to empty value.)
5577 # Find who we are. Look in the path if we contain no directory separator.
5580 *[\\/]* ) as_myself=$0 ;;
5581 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir=.
5586 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5592 # We did not find ourselves, most probably we were run as `sh COMMAND'
5593 # in which case we are not to be found in the path.
5594 if test "x$as_myself" = x; then
5597 if test ! -f "$as_myself"; then
5598 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5602 # Unset variables that we do not need and which cause bugs (e.g. in
5603 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5604 # suppresses any "Segmentation fault" message there. '((' could
5605 # trigger a bug in pdksh 5.2.14.
5606 for as_var in BASH_ENV ENV MAIL MAILPATH
5607 do eval test x\${$as_var+set} = xset \
5608 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5621 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5624 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5625 # ----------------------------------------
5626 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5627 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5628 # script with STATUS, using 1 if that was 0.
5631 as_status=$1; test $as_status -eq 0 && as_status=1
5633 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5634 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5636 $as_echo "$as_me: error: $2" >&2
5637 as_fn_exit $as_status
5641 # as_fn_set_status STATUS
5642 # -----------------------
5643 # Set $? to STATUS, without forking.
5647 } # as_fn_set_status
5651 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5661 # Portably unset VAR.
5664 { eval $1=; unset $1;}
5666 as_unset=as_fn_unset
5667 # as_fn_append VAR VALUE
5668 # ----------------------
5669 # Append the text in VALUE to the end of the definition contained in VAR. Take
5670 # advantage of any shell optimizations that allow amortized linear growth over
5671 # repeated appends, instead of the typical quadratic growth present in naive
5673 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5674 eval 'as_fn_append ()
5685 # as_fn_arith ARG...
5686 # ------------------
5687 # Perform arithmetic evaluation on the ARGs, and store the result in the
5688 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5689 # must be portable across $(()) and expr.
5690 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5691 eval 'as_fn_arith ()
5698 as_val=`expr "$@" || test $? -eq 1`
5703 if expr a : '\(a\)' >/dev/null 2>&1 &&
5704 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5710 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5711 as_basename=basename
5716 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5722 as_me=`$as_basename -- "$0" ||
5723 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5724 X"$0" : 'X\(//\)$' \| \
5725 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5727 sed '/^.*\/\([^/][^/]*\)\/*$/{
5741 # Avoid depending upon Character Ranges.
5742 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5743 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5744 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5745 as_cr_digits='0123456789'
5746 as_cr_alnum=$as_cr_Letters$as_cr_digits
5748 ECHO_C= ECHO_N= ECHO_T=
5749 case `echo -n x` in #(((((
5751 case `echo 'xy\c'` in
5752 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5754 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5761 rm -f conf$$ conf$$.exe conf$$.file
5762 if test -d conf$$.dir; then
5763 rm -f conf$$.dir/conf$$.file
5766 mkdir conf$$.dir 2>/dev/null
5768 if (echo >conf$$.file) 2>/dev/null; then
5769 if ln -s conf$$.file conf$$ 2>/dev/null; then
5771 # ... but there are two gotchas:
5772 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5773 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5774 # In both cases, we have to default to `cp -pR'.
5775 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5777 elif ln conf$$.file conf$$ 2>/dev/null; then
5785 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5786 rmdir conf$$.dir 2>/dev/null
5791 # Create "$as_dir" as a directory, including parents if necessary.
5796 -*) as_dir=./$as_dir;;
5798 test -d "$as_dir" || eval $as_mkdir_p || {
5802 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5803 *) as_qdir=$as_dir;;
5805 as_dirs="'$as_qdir' $as_dirs"
5806 as_dir=`$as_dirname -- "$as_dir" ||
5807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5808 X"$as_dir" : 'X\(//\)[^/]' \| \
5809 X"$as_dir" : 'X\(//\)$' \| \
5810 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5811 $as_echo X"$as_dir" |
5812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5829 test -d "$as_dir" && break
5831 test -z "$as_dirs" || eval "mkdir $as_dirs"
5832 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5836 if mkdir -p . 2>/dev/null; then
5837 as_mkdir_p='mkdir -p "$as_dir"'
5839 test -d ./-p && rmdir ./-p
5844 # as_fn_executable_p FILE
5845 # -----------------------
5846 # Test if FILE is an executable regular file.
5847 as_fn_executable_p ()
5849 test -f "$1" && test -x "$1"
5850 } # as_fn_executable_p
5852 as_executable_p=as_fn_executable_p
5854 # Sed expression to map a string onto a valid CPP name.
5855 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5857 # Sed expression to map a string onto a valid variable name.
5858 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5862 ## ----------------------------------- ##
5863 ## Main body of $CONFIG_STATUS script. ##
5864 ## ----------------------------------- ##
5866 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5869 # Save the log message, to keep $0 and so on meaningful, and to
5870 # report actual input values of CONFIG_FILES etc. instead of their
5871 # values after options handling.
5873 This file was extended by Xestia Address Book $as_me 0.05, which was
5874 generated by GNU Autoconf 2.69. Invocation command line was
5876 CONFIG_FILES = $CONFIG_FILES
5877 CONFIG_HEADERS = $CONFIG_HEADERS
5878 CONFIG_LINKS = $CONFIG_LINKS
5879 CONFIG_COMMANDS = $CONFIG_COMMANDS
5882 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5887 case $ac_config_files in *"
5888 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5894 # Files that config.status was made for.
5895 config_files="`echo $ac_config_files`"
5899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5901 \`$as_me' instantiates files and other configuration actions
5902 from templates according to the current configuration. Unless the files
5903 and actions are specified as TAGs, all are instantiated by default.
5905 Usage: $0 [OPTION]... [TAG]...
5907 -h, --help print this help, then exit
5908 -V, --version print version number and configuration settings, then exit
5909 --config print configuration, then exit
5910 -q, --quiet, --silent
5911 do not print progress messages
5912 -d, --debug don't remove temporary files
5913 --recheck update $as_me by reconfiguring in the same conditions
5914 --file=FILE[:TEMPLATE]
5915 instantiate the configuration file FILE
5917 Configuration files:
5920 Report bugs to <bugs@xestia.co.uk>."
5923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5926 Xestia Address Book config.status 0.05
5927 configured by $0, generated by GNU Autoconf 2.69,
5928 with options \\"\$ac_cs_config\\"
5930 Copyright (C) 2012 Free Software Foundation, Inc.
5931 This config.status script is free software; the Free Software Foundation
5932 gives unlimited permission to copy, distribute and modify it."
5936 test -n "\$AWK" || AWK=awk
5939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5940 # The default lists apply if the user does not specify any file.
5946 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5947 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5951 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5963 # Handling of the options.
5964 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5966 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5967 $as_echo "$ac_cs_version"; exit ;;
5968 --config | --confi | --conf | --con | --co | --c )
5969 $as_echo "$ac_cs_config"; exit ;;
5970 --debug | --debu | --deb | --de | --d | -d )
5972 --file | --fil | --fi | --f )
5975 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5976 '') as_fn_error $? "missing file argument" ;;
5978 as_fn_append CONFIG_FILES " '$ac_optarg'"
5979 ac_need_defaults=false;;
5980 --he | --h | --help | --hel | -h )
5981 $as_echo "$ac_cs_usage"; exit ;;
5982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5983 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5987 -*) as_fn_error $? "unrecognized option: \`$1'
5988 Try \`$0 --help' for more information." ;;
5990 *) as_fn_append ac_config_targets " $1"
5991 ac_need_defaults=false ;;
5997 ac_configure_extra_args=
5999 if $ac_cs_silent; then
6001 ac_configure_extra_args="$ac_configure_extra_args --silent"
6005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6006 if \$ac_cs_recheck; then
6007 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6009 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6010 CONFIG_SHELL='$SHELL'
6016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6020 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6021 ## Running $as_me. ##
6027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6032 # Handling of arguments.
6033 for ac_config_target in $ac_config_targets
6035 case $ac_config_target in
6036 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6037 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6039 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6044 # If the user did not use the arguments to specify the items to instantiate,
6045 # then the envvar interface is used. Set only those that are not.
6046 # We use the long form for the default assignment because of an extremely
6047 # bizarre bug on SunOS 4.1.3.
6048 if $ac_need_defaults; then
6049 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6052 # Have a temporary directory for convenience. Make it in the build tree
6053 # simply because there is no reason against having it here, and in addition,
6054 # creating and moving files from /tmp can sometimes cause problems.
6055 # Hook for its removal unless debugging.
6056 # Note that there is a small window in which the directory will not be cleaned:
6057 # after its creation but before its name has been assigned to `$tmp'.
6061 trap 'exit_status=$?
6063 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6065 trap 'as_fn_exit 1' 1 2 13 15
6067 # Create a (secure) tmp directory for tmp files.
6070 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6074 tmp=./conf$$-$RANDOM
6075 (umask 077 && mkdir "$tmp")
6076 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6079 # Set up the scripts for CONFIG_FILES section.
6080 # No need to generate them if there are no CONFIG_FILES.
6081 # This happens for instance with `./config.status config.h'.
6082 if test -n "$CONFIG_FILES"; then
6085 ac_cr=`echo X | tr X '\015'`
6086 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6087 # But we know of no other shell where ac_cr would be empty at this
6088 # point, so we can use a bashism as a fallback.
6089 if test "x$ac_cr" = x; then
6090 eval ac_cr=\$\'\\r\'
6092 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6093 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6099 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6104 echo "cat >conf$$subs.awk <<_ACEOF" &&
6105 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6108 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6109 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6111 for ac_last_try in false false false false false :; do
6112 . ./conf$$subs.sh ||
6113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6115 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6116 if test $ac_delim_n = $ac_delim_num; then
6118 elif $ac_last_try; then
6119 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6121 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6127 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6131 s/^/S["/; s/!.*/"]=/
6141 s/\(.\{148\}\)..*/\1/
6143 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6148 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6155 s/\(.\{148\}\)..*/\1/
6157 s/["\\]/\\&/g; s/^/"/; s/$/"/
6161 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6166 ' <conf$$subs.awk | sed '
6171 ' >>$CONFIG_STATUS || ac_write_fail=1
6172 rm -f conf$$subs.awk
6173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6175 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6176 for (key in S) S_is_set[key] = 1
6182 nfields = split(line, field, "@")
6184 len = length(field[1])
6185 for (i = 2; i < nfields; i++) {
6187 keylen = length(key)
6188 if (S_is_set[key]) {
6190 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6191 len += length(value) + length(field[++i])
6202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6203 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6204 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6207 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6208 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6211 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6212 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6213 # trailing colons and then remove the whole line if VPATH becomes empty
6214 # (actually we leave an empty line to preserve line numbers).
6215 if test "x$srcdir" = x.; then
6216 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6235 fi # test -n "$CONFIG_FILES"
6238 eval set X " :F $CONFIG_FILES "
6243 :[FHLC]) ac_mode=$ac_tag; continue;;
6245 case $ac_mode$ac_tag in
6247 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6248 :[FH]-) ac_tag=-:-;;
6249 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6266 -) ac_f="$ac_tmp/stdin";;
6267 *) # Look for the file first in the build tree, then in the source tree
6268 # (if the path is not absolute). The absolute path cannot be DOS-style,
6269 # because $ac_f cannot contain `:'.
6273 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6275 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6277 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6278 as_fn_append ac_file_inputs " '$ac_f'"
6281 # Let's still pretend it is `configure' which instantiates (i.e., don't
6282 # use $as_me), people would be surprised to read:
6283 # /* config.h. Generated by config.status. */
6284 configure_input='Generated from '`
6285 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6287 if test x"$ac_file" != x-; then
6288 configure_input="$ac_file. $configure_input"
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6290 $as_echo "$as_me: creating $ac_file" >&6;}
6292 # Neutralize special characters interpreted by sed in replacement strings.
6293 case $configure_input in #(
6294 *\&* | *\|* | *\\* )
6295 ac_sed_conf_input=`$as_echo "$configure_input" |
6296 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6297 *) ac_sed_conf_input=$configure_input;;
6301 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6307 ac_dir=`$as_dirname -- "$ac_file" ||
6308 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6309 X"$ac_file" : 'X\(//\)[^/]' \| \
6310 X"$ac_file" : 'X\(//\)$' \| \
6311 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6312 $as_echo X"$ac_file" |
6313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6330 as_dir="$ac_dir"; as_fn_mkdir_p
6334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6337 # A ".." for each directory in $ac_dir_suffix.
6338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6339 case $ac_top_builddir_sub in
6340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6344 ac_abs_top_builddir=$ac_pwd
6345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6346 # for backward compatibility:
6347 ac_top_builddir=$ac_top_build_prefix
6350 .) # We are building in place.
6352 ac_top_srcdir=$ac_top_builddir_sub
6353 ac_abs_top_srcdir=$ac_pwd ;;
6354 [\\/]* | ?:[\\/]* ) # Absolute name.
6355 ac_srcdir=$srcdir$ac_dir_suffix;
6356 ac_top_srcdir=$srcdir
6357 ac_abs_top_srcdir=$srcdir ;;
6359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6360 ac_top_srcdir=$ac_top_build_prefix$srcdir
6361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6375 # If the template does not know about datarootdir, expand it.
6376 # FIXME: This hack should be removed a few years after 2.60.
6377 ac_datarootdir_hack=; ac_datarootdir_seen=
6388 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6389 *datarootdir*) ac_datarootdir_seen=yes;;
6390 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6392 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6395 ac_datarootdir_hack='
6396 s&@datadir@&$datadir&g
6397 s&@docdir@&$docdir&g
6398 s&@infodir@&$infodir&g
6399 s&@localedir@&$localedir&g
6400 s&@mandir@&$mandir&g
6401 s&\\\${datarootdir}&$datarootdir&g' ;;
6405 # Neutralize VPATH when `$srcdir' = `.'.
6406 # Shell code in configure.ac might set extrasub.
6407 # FIXME: do we really want to maintain this feature?
6408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6409 ac_sed_extra="$ac_vpsub
6412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6414 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6415 s|@configure_input@|$ac_sed_conf_input|;t t
6416 s&@top_builddir@&$ac_top_builddir_sub&;t t
6417 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6418 s&@srcdir@&$ac_srcdir&;t t
6419 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6420 s&@top_srcdir@&$ac_top_srcdir&;t t
6421 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6422 s&@builddir@&$ac_builddir&;t t
6423 s&@abs_builddir@&$ac_abs_builddir&;t t
6424 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6425 $ac_datarootdir_hack
6427 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6428 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6430 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6431 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6432 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6433 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6435 which seems to be undefined. Please make sure it is defined" >&5
6436 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6437 which seems to be undefined. Please make sure it is defined" >&2;}
6439 rm -f "$ac_tmp/stdin"
6441 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6442 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6456 ac_clean_files=$ac_clean_files_save
6458 test $ac_write_fail = 0 ||
6459 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6462 # configure is writing to config.log, and then calls config.status.
6463 # config.status does its own redirection, appending to config.log.
6464 # Unfortunately, on DOS this fails, as config.log is still kept open
6465 # by configure, so config.status won't be able to write to it; its
6466 # output is simply discarded. So we exec the FD to /dev/null,
6467 # effectively closing config.log, so it can be properly (re)opened and
6468 # appended to by config.status. When coming back to configure, we
6469 # need to make the FD available again.
6470 if test "$no_create" != yes; then
6472 ac_config_status_args=
6473 test "$silent" = yes &&
6474 ac_config_status_args="$ac_config_status_args --quiet"
6476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6479 # would make configure fail if this is the last instruction.
6480 $ac_cs_success || as_fn_exit 1
6482 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6484 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}