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
707 program_transform_name
720 enable_option_checking
727 ac_precious_vars='build_alias
747 # Initialize some variables set by options.
749 ac_init_version=false
750 ac_unrecognized_opts=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name=s,x,x,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir='${exec_prefix}/bin'
776 sbindir='${exec_prefix}/sbin'
777 libexecdir='${exec_prefix}/libexec'
778 datarootdir='${prefix}/share'
779 datadir='${datarootdir}'
780 sysconfdir='${prefix}/etc'
781 sharedstatedir='${prefix}/com'
782 localstatedir='${prefix}/var'
783 includedir='${prefix}/include'
784 oldincludedir='/usr/include'
785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir='${datarootdir}/info'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 # Accept the important Cygnus configure options, so we can diagnose typos.
814 case $ac_dashdash$ac_option in
818 -bindir | --bindir | --bindi | --bind | --bin | --bi)
820 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
823 -build | --build | --buil | --bui | --bu)
824 ac_prev=build_alias ;;
825 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
826 build_alias=$ac_optarg ;;
828 -cache-file | --cache-file | --cache-fil | --cache-fi \
829 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
830 ac_prev=cache_file ;;
831 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
832 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
833 cache_file=$ac_optarg ;;
836 cache_file=config.cache ;;
838 -datadir | --datadir | --datadi | --datad)
840 -datadir=* | --datadir=* | --datadi=* | --datad=*)
841 datadir=$ac_optarg ;;
843 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844 | --dataroo | --dataro | --datar)
845 ac_prev=datarootdir ;;
846 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848 datarootdir=$ac_optarg ;;
850 -disable-* | --disable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854 as_fn_error $? "invalid feature name: $ac_useropt"
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
864 eval enable_$ac_useropt=no ;;
866 -docdir | --docdir | --docdi | --doc | --do)
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 -enable-* | --enable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 as_fn_error $? "invalid feature name: $ac_useropt"
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
890 eval enable_$ac_useropt=\$ac_optarg ;;
892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894 | --exec | --exe | --ex)
895 ac_prev=exec_prefix ;;
896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898 | --exec=* | --exe=* | --ex=*)
899 exec_prefix=$ac_optarg ;;
901 -gas | --gas | --ga | --g)
902 # Obsolete; use --with-gas.
905 -help | --help | --hel | --he | -h)
907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908 ac_init_help=recursive ;;
909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910 ac_init_help=short ;;
912 -host | --host | --hos | --ho)
913 ac_prev=host_alias ;;
914 -host=* | --host=* | --hos=* | --ho=*)
915 host_alias=$ac_optarg ;;
917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
921 htmldir=$ac_optarg ;;
923 -includedir | --includedir | --includedi | --included | --include \
924 | --includ | --inclu | --incl | --inc)
925 ac_prev=includedir ;;
926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927 | --includ=* | --inclu=* | --incl=* | --inc=*)
928 includedir=$ac_optarg ;;
930 -infodir | --infodir | --infodi | --infod | --info | --inf)
932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933 infodir=$ac_optarg ;;
935 -libdir | --libdir | --libdi | --libd)
937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941 | --libexe | --libex | --libe)
942 ac_prev=libexecdir ;;
943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944 | --libexe=* | --libex=* | --libe=*)
945 libexecdir=$ac_optarg ;;
947 -localedir | --localedir | --localedi | --localed | --locale)
949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950 localedir=$ac_optarg ;;
952 -localstatedir | --localstatedir | --localstatedi | --localstated \
953 | --localstate | --localstat | --localsta | --localst | --locals)
954 ac_prev=localstatedir ;;
955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957 localstatedir=$ac_optarg ;;
959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
965 # Obsolete; use --without-fp.
968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969 | --no-cr | --no-c | -n)
972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978 | --oldin | --oldi | --old | --ol | --o)
979 ac_prev=oldincludedir ;;
980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983 oldincludedir=$ac_optarg ;;
985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
991 | --program-pre | --program-pr | --program-p)
992 ac_prev=program_prefix ;;
993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995 program_prefix=$ac_optarg ;;
997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
998 | --program-suf | --program-su | --program-s)
999 ac_prev=program_suffix ;;
1000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002 program_suffix=$ac_optarg ;;
1004 -program-transform-name | --program-transform-name \
1005 | --program-transform-nam | --program-transform-na \
1006 | --program-transform-n | --program-transform- \
1007 | --program-transform | --program-transfor \
1008 | --program-transfo | --program-transf \
1009 | --program-trans | --program-tran \
1010 | --progr-tra | --program-tr | --program-t)
1011 ac_prev=program_transform_name ;;
1012 -program-transform-name=* | --program-transform-name=* \
1013 | --program-transform-nam=* | --program-transform-na=* \
1014 | --program-transform-n=* | --program-transform-=* \
1015 | --program-transform=* | --program-transfor=* \
1016 | --program-transfo=* | --program-transf=* \
1017 | --program-trans=* | --program-tran=* \
1018 | --progr-tra=* | --program-tr=* | --program-t=*)
1019 program_transform_name=$ac_optarg ;;
1021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024 pdfdir=$ac_optarg ;;
1026 -psdir | --psdir | --psdi | --psd | --ps)
1028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1035 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039 sbindir=$ac_optarg ;;
1041 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1042 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043 | --sharedst | --shareds | --shared | --share | --shar \
1045 ac_prev=sharedstatedir ;;
1046 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050 sharedstatedir=$ac_optarg ;;
1052 -site | --site | --sit)
1054 -site=* | --site=* | --sit=*)
1057 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060 srcdir=$ac_optarg ;;
1062 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063 | --syscon | --sysco | --sysc | --sys | --sy)
1064 ac_prev=sysconfdir ;;
1065 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067 sysconfdir=$ac_optarg ;;
1069 -target | --target | --targe | --targ | --tar | --ta | --t)
1070 ac_prev=target_alias ;;
1071 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072 target_alias=$ac_optarg ;;
1074 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1077 -version | --version | --versio | --versi | --vers | -V)
1078 ac_init_version=: ;;
1081 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=\$ac_optarg ;;
1096 -without-* | --without-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=no ;;
1113 # Obsolete; use --with-x.
1116 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1117 | --x-incl | --x-inc | --x-in | --x-i)
1118 ac_prev=x_includes ;;
1119 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1120 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1121 x_includes=$ac_optarg ;;
1123 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1124 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1125 ac_prev=x_libraries ;;
1126 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1127 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1128 x_libraries=$ac_optarg ;;
1130 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1135 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 case $ac_envvar in #(
1138 '' | [0-9]* | *[!_$as_cr_alnum]* )
1139 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1141 eval $ac_envvar=\$ac_optarg
1142 export $ac_envvar ;;
1145 # FIXME: should be removed in autoconf 3.0.
1146 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1155 if test -n "$ac_prev"; then
1156 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1157 as_fn_error $? "missing argument to $ac_option"
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1163 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1164 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1168 # Check all directory arguments for consistency.
1169 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1174 eval ac_val=\$$ac_var
1175 # Remove trailing slashes.
1178 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\$ac_val;;
1181 # Be sure to have absolute directory names.
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1208 test "$silent" = yes && exec 6>/dev/null
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $? "working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $? "pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var in $ac_precious_vars; do
1272 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_${ac_var}_value=\$${ac_var}
1274 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures Xestia Address Book 0.05 to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root
1334 [DATAROOTDIR/doc/xestia-address-book]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1345 if test -n "$ac_init_help"; then
1346 case $ac_init_help in
1347 short | recursive ) echo "Configuration of Xestia Address Book 0.05:";;
1352 --disable-option-checking ignore unrecognized --enable/--with options
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --enable-debug Enable debugging features for the build.
1358 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1359 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1360 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1361 --with-wx-config=CONFIG wx-config script to use (optional)
1362 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1363 --with-wx-exec-prefix=PREFIX
1364 Exec prefix where wxWidgets is installed (optional)
1366 Some influential environment variables:
1367 CXX C++ compiler command
1368 CXXFLAGS C++ compiler flags
1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1370 nonstandard directory <lib dir>
1371 LIBS libraries to pass to the linker, e.g. -l<library>
1372 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1374 CC C compiler command
1375 CFLAGS C compiler flags
1377 CXXCPP C++ preprocessor
1378 PKG_CONFIG path to pkg-config utility
1380 directories to add to pkg-config's search path
1382 path overriding pkg-config's built-in search path
1383 SFML_CFLAGS C compiler flags for SFML, overriding pkg-config
1384 SFML_LIBS linker flags for SFML, overriding pkg-config
1386 Use these variables to override the choices made by `configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1389 Report bugs to <bugs@xestia.co.uk>.
1394 if test "$ac_init_help" = "recursive"; then
1395 # If there are subdirs, report their specific --help.
1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1406 # A ".." for each directory in $ac_dir_suffix.
1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1408 case $ac_top_builddir_sub in
1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1419 .) # We are building in place.
1421 ac_top_srcdir=$ac_top_builddir_sub
1422 ac_abs_top_srcdir=$ac_pwd ;;
1423 [\\/]* | ?:[\\/]* ) # Absolute name.
1424 ac_srcdir=$srcdir$ac_dir_suffix;
1425 ac_top_srcdir=$srcdir
1426 ac_abs_top_srcdir=$srcdir ;;
1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434 cd "$ac_dir" || { ac_status=$?; continue; }
1435 # Check for guested configure.
1436 if test -f "$ac_srcdir/configure.gnu"; then
1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439 elif test -f "$ac_srcdir/configure"; then
1441 $SHELL "$ac_srcdir/configure" --help=recursive
1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1445 cd "$ac_pwd" || { ac_status=$?; break; }
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1452 Xestia Address Book configure 0.05
1453 generated by GNU Autoconf 2.69
1455 Copyright (C) 2012 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1462 ## ------------------------ ##
1463 ## Autoconf initialization. ##
1464 ## ------------------------ ##
1466 # ac_fn_cxx_try_compile LINENO
1467 # ----------------------------
1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_cxx_try_compile ()
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_cxx_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.$ac_objext; then :
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1502 } # ac_fn_cxx_try_compile
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext
1511 if { { ac_try="$ac_compile"
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.$ac_objext; then :
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538 as_fn_set_status $ac_retval
1540 } # ac_fn_c_try_compile
1542 # ac_fn_c_try_cpp LINENO
1543 # ----------------------
1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_cpp conftest.$ac_ext"
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } > conftest.i && {
1564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.$ac_ext >&5
1574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575 as_fn_set_status $ac_retval
1579 # ac_fn_cxx_try_cpp LINENO
1580 # ------------------------
1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 ac_fn_cxx_try_cpp ()
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585 if { { ac_try="$ac_cpp conftest.$ac_ext"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } > conftest.i && {
1601 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1602 test ! -s conftest.err
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status $ac_retval
1614 } # ac_fn_cxx_try_cpp
1616 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1617 # ---------------------------------------------------------
1618 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619 # the include files in INCLUDES and setting the cache variable VAR
1621 ac_fn_cxx_check_header_mongrel ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if eval \${$3+:} false; then :
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628 $as_echo_n "(cached) " >&6
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1634 # Is the header compilable?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636 $as_echo_n "checking $2 usability... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1642 if ac_fn_cxx_try_compile "$LINENO"; then :
1643 ac_header_compiler=yes
1645 ac_header_compiler=no
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649 $as_echo "$ac_header_compiler" >&6; }
1651 # Is the header present?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653 $as_echo_n "checking $2 presence... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1658 if ac_fn_cxx_try_cpp "$LINENO"; then :
1659 ac_header_preproc=yes
1661 ac_header_preproc=no
1663 rm -f conftest.err conftest.i conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665 $as_echo "$ac_header_preproc" >&6; }
1667 # So? What about this header?
1668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1679 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1683 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 ( $as_echo "## -------------------------------- ##
1687 ## Report this to bugs@xestia.co.uk ##
1688 ## -------------------------------- ##"
1689 ) | sed "s/^/$as_me: WARNING: /" >&2
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if eval \${$3+:} false; then :
1695 $as_echo_n "(cached) " >&6
1697 eval "$3=\$ac_header_compiler"
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 } # ac_fn_cxx_check_header_mongrel
1707 # ac_fn_cxx_try_run LINENO
1708 # ------------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1711 ac_fn_cxx_try_run ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725 { { case "(($ac_try" in
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_try") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; }; }; then :
1737 $as_echo "$as_me: program exited with status $ac_status" >&5
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=$ac_status
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1747 } # ac_fn_cxx_try_run
1749 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1750 # ---------------------------------------------------------
1751 # Tests whether HEADER exists and can be compiled using the include files in
1752 # INCLUDES, setting the cache variable VAR accordingly.
1753 ac_fn_cxx_check_header_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759 $as_echo_n "(cached) " >&6
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1766 if ac_fn_cxx_try_compile "$LINENO"; then :
1771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_cxx_check_header_compile
1780 # ac_fn_cxx_try_link LINENO
1781 # -------------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_cxx_try_link ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_cxx_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 test -x conftest$ac_exeext
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status $ac_retval
1824 } # ac_fn_cxx_try_link
1826 # ac_fn_c_try_link LINENO
1827 # -----------------------
1828 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 rm -f conftest.$ac_objext conftest$ac_exeext
1833 if { { ac_try="$ac_link"
1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836 *) ac_try_echo=$ac_try;;
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_link") 2>conftest.err
1842 if test -s conftest.err; then
1843 grep -v '^ *+' conftest.err >conftest.er1
1844 cat conftest.er1 >&5
1845 mv -f conftest.er1 conftest.err
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; } && {
1849 test -z "$ac_c_werror_flag" ||
1850 test ! -s conftest.err
1851 } && test -s conftest$ac_exeext && {
1852 test "$cross_compiling" = yes ||
1853 test -x conftest$ac_exeext
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.$ac_ext >&5
1862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864 # interfere with the next link command; also delete a directory that is
1865 # left behind by Apple's compiler. We do this before executing the actions.
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1870 } # ac_fn_c_try_link
1872 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873 # -------------------------------------------------------
1874 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875 # the include files in INCLUDES and setting the cache variable VAR
1877 ac_fn_c_check_header_mongrel ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if eval \${$3+:} false; then :
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1890 # Is the header compilable?
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892 $as_echo_n "checking $2 usability... " >&6; }
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899 ac_header_compiler=yes
1901 ac_header_compiler=no
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905 $as_echo "$ac_header_compiler" >&6; }
1907 # Is the header present?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909 $as_echo_n "checking $2 presence... " >&6; }
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1914 if ac_fn_c_try_cpp "$LINENO"; then :
1915 ac_header_preproc=yes
1917 ac_header_preproc=no
1919 rm -f conftest.err conftest.i conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921 $as_echo "$ac_header_preproc" >&6; }
1923 # So? What about this header?
1924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1935 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1939 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942 ( $as_echo "## -------------------------------- ##
1943 ## Report this to bugs@xestia.co.uk ##
1944 ## -------------------------------- ##"
1945 ) | sed "s/^/$as_me: WARNING: /" >&2
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951 $as_echo_n "(cached) " >&6
1953 eval "$3=\$ac_header_compiler"
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 } # ac_fn_c_check_header_mongrel
1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1964 # -------------------------------------------
1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
1966 # variable VAR accordingly.
1967 ac_fn_c_check_type ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973 $as_echo_n "(cached) " >&6
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1988 if ac_fn_c_try_compile "$LINENO"; then :
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 } # ac_fn_c_check_type
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2020 It was created by Xestia Address Book $as_me 0.05, which was
2021 generated by GNU Autoconf 2.69. Invocation command line was
2033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 $as_echo "PATH: $as_dir"
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2081 ac_must_keep_next=false
2087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2092 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2095 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2097 as_fn_append ac_configure_args1 " '$ac_arg'"
2098 if test $ac_must_keep_next = true; then
2099 ac_must_keep_next=false # Got value, back to normal.
2102 *=* | --config-cache | -C | -disable-* | --disable-* \
2103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105 | -with-* | --with-* | -without-* | --without-* | --x)
2106 case "$ac_configure_args0 " in
2107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2110 -* ) ac_must_keep_next=true ;;
2113 as_fn_append ac_configure_args " '$ac_arg'"
2118 { ac_configure_args0=; unset ac_configure_args0;}
2119 { ac_configure_args1=; unset ac_configure_args1;}
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log. We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127 # Save into config.log some information that might help in debugging.
2131 $as_echo "## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##"
2135 # The following way of writing the cache mishandles newlines in values,
2137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138 eval ac_val=\$$ac_var
2142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2146 _ | IFS | as_nl) ;; #(
2147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148 *) { eval $ac_var=; unset $ac_var;} ;;
2153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154 *${as_nl}ac_space=\ *)
2156 "s/'\''/'\''\\\\'\'''\''/g;
2157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167 $as_echo "## ----------------- ##
2168 ## Output variables. ##
2169 ## ----------------- ##"
2171 for ac_var in $ac_subst_vars
2173 eval ac_val=\$$ac_var
2175 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2177 $as_echo "$ac_var='\''$ac_val'\''"
2181 if test -n "$ac_subst_files"; then
2182 $as_echo "## ------------------- ##
2183 ## File substitutions. ##
2184 ## ------------------- ##"
2186 for ac_var in $ac_subst_files
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 $as_echo "$ac_var='\''$ac_val'\''"
2197 if test -s confdefs.h; then
2198 $as_echo "## ----------- ##
2205 test "$ac_signal" != 0 &&
2206 $as_echo "$as_me: caught signal $ac_signal"
2207 $as_echo "$as_me: exit $exit_status"
2209 rm -f core *.core core.conftest.* &&
2210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2213 for ac_signal in 1 2 13 15; do
2214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2219 rm -f -r conftest* confdefs.h
2221 $as_echo "/* confdefs.h */" > confdefs.h
2223 # Predefined preprocessor variables.
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_NAME "$PACKAGE_NAME"
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_URL "$PACKAGE_URL"
2250 # Let the site file select an alternate cache file if it wants to.
2251 # Prefer an explicitly selected file to automatically selected ones.
2254 if test -n "$CONFIG_SITE"; then
2255 # We do not want a PATH search for config.site.
2256 case $CONFIG_SITE in #((
2257 -*) ac_site_file1=./$CONFIG_SITE;;
2258 */*) ac_site_file1=$CONFIG_SITE;;
2259 *) ac_site_file1=./$CONFIG_SITE;;
2261 elif test "x$prefix" != xNONE; then
2262 ac_site_file1=$prefix/share/config.site
2263 ac_site_file2=$prefix/etc/config.site
2265 ac_site_file1=$ac_default_prefix/share/config.site
2266 ac_site_file2=$ac_default_prefix/etc/config.site
2268 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2270 test "x$ac_site_file" = xNONE && continue
2271 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2274 sed 's/^/| /' "$ac_site_file" >&5
2276 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 as_fn_error $? "failed to load site script $ac_site_file
2279 See \`config.log' for more details" "$LINENO" 5; }
2283 if test -r "$cache_file"; then
2284 # Some versions of bash will fail to source /dev/null (special files
2285 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2286 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2288 $as_echo "$as_me: loading cache $cache_file" >&6;}
2290 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2291 *) . "./$cache_file";;
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2296 $as_echo "$as_me: creating cache $cache_file" >&6;}
2300 # Check that the precious variables saved in the cache have kept the same
2302 ac_cache_corrupted=false
2303 for ac_var in $ac_precious_vars; do
2304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305 eval ac_new_set=\$ac_env_${ac_var}_set
2306 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307 eval ac_new_val=\$ac_env_${ac_var}_value
2308 case $ac_old_set,$ac_new_set in
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316 ac_cache_corrupted=: ;;
2319 if test "x$ac_old_val" != "x$ac_new_val"; then
2320 # differences in whitespace do not lead to failure.
2321 ac_old_val_w=`echo x $ac_old_val`
2322 ac_new_val_w=`echo x $ac_new_val`
2323 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326 ac_cache_corrupted=:
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2330 eval $ac_var=\$ac_old_val
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2333 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2335 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2338 # Pass precious variables to config.status.
2339 if test "$ac_new_set" = set; then
2341 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2342 *) ac_arg=$ac_var=$ac_new_val ;;
2344 case " $ac_configure_args " in
2345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2346 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2350 if $ac_cache_corrupted; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2357 ## -------------------- ##
2358 ## Main body of script. ##
2359 ## -------------------- ##
2362 ac_cpp='$CPP $CPPFLAGS'
2363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 #AC_CONFIG_SRCDIR([version.h])
2369 #AC_CONFIG_HEADERS([config.h])
2372 $as_echo "#define DEBUG 1" >>confdefs.h
2375 # Checks for programs.
2377 ac_cpp='$CXXCPP $CPPFLAGS'
2378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2381 if test -z "$CXX"; then
2382 if test -n "$CCC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2391 $as_echo_n "checking for $ac_word... " >&6; }
2392 if ${ac_cv_prog_CXX+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 if test -n "$CXX"; then
2396 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2405 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 if test -n "$CXX"; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2418 $as_echo "$CXX" >&6; }
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2425 test -n "$CXX" && break
2428 if test -z "$CXX"; then
2430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2432 # Extract the first word of "$ac_prog", so it can be a program name with args.
2433 set dummy $ac_prog; ac_word=$2
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 if test -n "$ac_ct_CXX"; then
2440 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_CXX="$ac_prog"
2450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2460 if test -n "$ac_ct_CXX"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2462 $as_echo "$ac_ct_CXX" >&6; }
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465 $as_echo "no" >&6; }
2469 test -n "$ac_ct_CXX" && break
2472 if test "x$ac_ct_CXX" = x; then
2475 case $cross_compiling:$ac_tool_warned in
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2479 ac_tool_warned=yes ;;
2487 # Provide some information about the compiler.
2488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2491 for ac_option in --version -v -V -qversion; do
2492 { { ac_try="$ac_compiler $ac_option >&5"
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2501 if test -s conftest.err; then
2503 ... rest of stderr output deleted ...
2504 10q' conftest.err >conftest.er1
2505 cat conftest.er1 >&5
2507 rm -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; }
2512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2523 ac_clean_files_save=$ac_clean_files
2524 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2525 # Try to create an executable without -o first, disregard a.out.
2526 # It will help us diagnose broken compilers, and finding out an intuition
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2529 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2530 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532 # The possible output files:
2533 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2536 for ac_file in $ac_files
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2540 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2545 if { { ac_try="$ac_link_default"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_link_default") 2>&5
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; }; then :
2556 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2557 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2558 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2559 # so that the user can short-circuit this test for compilers unknown to
2561 for ac_file in $ac_files ''
2563 test -f "$ac_file" || continue
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2568 # We found the default executable, but exeext='' is most
2572 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2574 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2576 # We set ac_cv_exeext here because the later test for it is not
2577 # safe: cross compilers may not add the suffix if given an `-o'
2578 # argument, so we may need to know it at that point already.
2579 # Even if this section looks crufty: it has the advantage of
2586 test "$ac_cv_exeext" = no && ac_cv_exeext=
2591 if test -z "$ac_file"; then :
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 as_fn_error 77 "C++ compiler cannot create executables
2600 See \`config.log' for more details" "$LINENO" 5; }
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2603 $as_echo "yes" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2606 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2608 $as_echo "$ac_file" >&6; }
2609 ac_exeext=$ac_cv_exeext
2611 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2612 ac_clean_files=$ac_clean_files_save
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2614 $as_echo_n "checking for suffix of executables... " >&6; }
2615 if { { ac_try="$ac_link"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_link") 2>&5
2624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625 test $ac_status = 0; }; then :
2626 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2627 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2628 # work properly (i.e., refer to `conftest.exe'), while it won't with
2630 for ac_file in conftest.exe conftest conftest.*; do
2631 test -f "$ac_file" || continue
2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2634 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2643 See \`config.log' for more details" "$LINENO" 5; }
2645 rm -f conftest conftest$ac_cv_exeext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2647 $as_echo "$ac_cv_exeext" >&6; }
2649 rm -f conftest.$ac_ext
2650 EXEEXT=$ac_cv_exeext
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2658 FILE *f = fopen ("conftest.out", "w");
2659 return ferror (f) || fclose (f) != 0;
2665 ac_clean_files="$ac_clean_files conftest.out"
2666 # Check that the compiler produces executables we can run. If not, either
2667 # the compiler is broken, or we cross compile.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2669 $as_echo_n "checking whether we are cross compiling... " >&6; }
2670 if test "$cross_compiling" != yes; then
2671 { { ac_try="$ac_link"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_link") 2>&5
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; }
2682 if { ac_try='./conftest$ac_cv_exeext'
2683 { { case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_try") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; }; then
2695 if test "$cross_compiling" = maybe; then
2698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $? "cannot run C++ compiled programs.
2701 If you meant to cross compile, use \`--host'.
2702 See \`config.log' for more details" "$LINENO" 5; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2707 $as_echo "$cross_compiling" >&6; }
2709 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2710 ac_clean_files=$ac_clean_files_save
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2712 $as_echo_n "checking for suffix of object files... " >&6; }
2713 if ${ac_cv_objext+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h. */
2727 rm -f conftest.o conftest.obj
2728 if { { ac_try="$ac_compile"
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_compile") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }; then :
2739 for ac_file in conftest.o conftest.obj conftest.*; do
2740 test -f "$ac_file" || continue;
2742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2743 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "cannot compute suffix of object files: cannot compile
2754 See \`config.log' for more details" "$LINENO" 5; }
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2759 $as_echo "$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2763 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2764 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2781 if ac_fn_cxx_try_compile "$LINENO"; then :
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2791 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2792 if test $ac_compiler_gnu = yes; then
2797 ac_test_CXXFLAGS=${CXXFLAGS+set}
2798 ac_save_CXXFLAGS=$CXXFLAGS
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2800 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2801 if ${ac_cv_prog_cxx_g+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2805 ac_cxx_werror_flag=yes
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2819 if ac_fn_cxx_try_compile "$LINENO"; then :
2820 ac_cv_prog_cxx_g=yes
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2834 if ac_fn_cxx_try_compile "$LINENO"; then :
2837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2850 if ac_fn_cxx_try_compile "$LINENO"; then :
2851 ac_cv_prog_cxx_g=yes
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2861 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2862 if test "$ac_test_CXXFLAGS" = set; then
2863 CXXFLAGS=$ac_save_CXXFLAGS
2864 elif test $ac_cv_prog_cxx_g = yes; then
2865 if test "$GXX" = yes; then
2871 if test "$GXX" = yes; then
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
2888 if test -n "$ac_tool_prefix"; then
2889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_CC+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$CC"; then
2897 ac_cv_prog_CC="$CC" # Let the user override the test.
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir=.
2904 for ac_exec_ext in '' $ac_executable_extensions; do
2905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2927 if test -z "$ac_cv_prog_CC"; then
2929 # Extract the first word of "gcc", so it can be a program name with args.
2930 set dummy gcc; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$ac_ct_CC"; then
2937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_ac_ct_CC="gcc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957 if test -n "$ac_ct_CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2959 $as_echo "$ac_ct_CC" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2965 if test "x$ac_ct_CC" = x; then
2968 case $cross_compiling:$ac_tool_warned in
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2980 if test -z "$CC"; then
2981 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2983 set dummy ${ac_tool_prefix}cc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_CC+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC="$CC" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_CC="${ac_tool_prefix}cc"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 if test -n "$CC"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012 $as_echo "$CC" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3021 if test -z "$CC"; then
3022 # Extract the first word of "cc", so it can be a program name with args.
3023 set dummy cc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3041 ac_prog_rejected=yes
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test $ac_prog_rejected = yes; then
3053 # We found a bogon in the path, so make sure we never use it.
3054 set dummy $ac_cv_prog_CC
3056 if test $# != 0; then
3057 # We chose a different compiler from the bogus one.
3058 # However, it has the same basename, so the bogon will be chosen
3059 # first if we set CC to just the basename; use the full file name.
3061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3067 if test -n "$CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$CC"; then
3078 if test -n "$ac_tool_prefix"; then
3079 for ac_prog in cl.exe
3081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC="$CC" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3118 test -n "$CC" && break
3121 if test -z "$CC"; then
3123 for ac_prog in cl.exe
3125 # Extract the first word of "$ac_prog", so it can be a program name with args.
3126 set dummy $ac_prog; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$ac_ct_CC"; then
3133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_ac_ct_CC="$ac_prog"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3153 if test -n "$ac_ct_CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3155 $as_echo "$ac_ct_CC" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3162 test -n "$ac_ct_CC" && break
3165 if test "x$ac_ct_CC" = x; then
3168 case $cross_compiling:$ac_tool_warned in
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3172 ac_tool_warned=yes ;;
3181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183 as_fn_error $? "no acceptable C compiler found in \$PATH
3184 See \`config.log' for more details" "$LINENO" 5; }
3186 # Provide some information about the compiler.
3187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3190 for ac_option in --version -v -V -qversion; do
3191 { { ac_try="$ac_compiler $ac_option >&5"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3200 if test -s conftest.err; then
3202 ... rest of stderr output deleted ...
3203 10q' conftest.err >conftest.er1
3204 cat conftest.er1 >&5
3206 rm -f conftest.er1 conftest.err
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3213 if ${ac_cv_c_compiler_gnu+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3230 if ac_fn_c_try_compile "$LINENO"; then :
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3241 if test $ac_compiler_gnu = yes; then
3246 ac_test_CFLAGS=${CFLAGS+set}
3247 ac_save_CFLAGS=$CFLAGS
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3250 if ${ac_cv_prog_cc_g+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 ac_save_c_werror_flag=$ac_c_werror_flag
3254 ac_c_werror_flag=yes
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3268 if ac_fn_c_try_compile "$LINENO"; then :
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3286 ac_c_werror_flag=$ac_save_c_werror_flag
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 if ac_fn_c_try_compile "$LINENO"; then :
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_c_werror_flag=$ac_save_c_werror_flag
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3310 $as_echo "$ac_cv_prog_cc_g" >&6; }
3311 if test "$ac_test_CFLAGS" = set; then
3312 CFLAGS=$ac_save_CFLAGS
3313 elif test $ac_cv_prog_cc_g = yes; then
3314 if test "$GCC" = yes; then
3320 if test "$GCC" = yes; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3328 if ${ac_cv_prog_cc_c89+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 ac_cv_prog_cc_c89=no
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3339 struct buf { int x; };
3340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3341 static char *e (p, i)
3347 static char *f (char * (*g) (char **, int), char **p, ...)
3352 s = g (p, va_arg (v,int));
3357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3358 function prototypes and stuff, but not '\xHH' hex character constants.
3359 These don't provoke an error unfortunately, instead are silently treated
3360 as 'x'. The following induces an error, until -std is added to get
3361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3362 array size at least. It's necessary to write '\x00'==0 to get something
3363 that's true only with -std. */
3364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3367 inside strings and character constants. */
3369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3371 int test (int i, double x);
3372 struct s1 {int (*f) (int a);};
3373 struct s2 {int (*f) (double a);};
3374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3388 CC="$ac_save_CC $ac_arg"
3389 if ac_fn_c_try_compile "$LINENO"; then :
3390 ac_cv_prog_cc_c89=$ac_arg
3392 rm -f core conftest.err conftest.$ac_objext
3393 test "x$ac_cv_prog_cc_c89" != "xno" && break
3395 rm -f conftest.$ac_ext
3400 case "x$ac_cv_prog_cc_c89" in
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3403 $as_echo "none needed" >&6; } ;;
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3406 $as_echo "unsupported" >&6; } ;;
3408 CC="$CC $ac_cv_prog_cc_c89"
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3412 if test "x$ac_cv_prog_cc_c89" != xno; then :
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3428 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3429 # On Suns, sometimes $CPP names a directory.
3430 if test -n "$CPP" && test -d "$CPP"; then
3433 if test -z "$CPP"; then
3434 if ${ac_cv_prog_CPP+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 # Double quotes because CPP needs to be expanded
3438 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3441 for ac_c_preproc_warn_flag in '' yes
3443 # Use a header file that comes with gcc, so configuring glibc
3444 # with a fresh cross-compiler works.
3445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3446 # <limits.h> exists even on freestanding compilers.
3447 # On the NeXT, cc -E runs the code through the compiler's parser,
3448 # not just through cpp. "Syntax error" is here to catch this case.
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3452 # include <limits.h>
3454 # include <assert.h>
3458 if ac_fn_c_try_cpp "$LINENO"; then :
3461 # Broken: fails on valid input.
3464 rm -f conftest.err conftest.i conftest.$ac_ext
3466 # OK, works on sane cases. Now check whether nonexistent headers
3467 # can be detected and how.
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3470 #include <ac_nonexistent.h>
3472 if ac_fn_c_try_cpp "$LINENO"; then :
3473 # Broken: success on invalid input.
3476 # Passes both tests.
3480 rm -f conftest.err conftest.i conftest.$ac_ext
3483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3484 rm -f conftest.i conftest.err conftest.$ac_ext
3485 if $ac_preproc_ok; then :
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3498 $as_echo "$CPP" >&6; }
3500 for ac_c_preproc_warn_flag in '' yes
3502 # Use a header file that comes with gcc, so configuring glibc
3503 # with a fresh cross-compiler works.
3504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3505 # <limits.h> exists even on freestanding compilers.
3506 # On the NeXT, cc -E runs the code through the compiler's parser,
3507 # not just through cpp. "Syntax error" is here to catch this case.
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3511 # include <limits.h>
3513 # include <assert.h>
3517 if ac_fn_c_try_cpp "$LINENO"; then :
3520 # Broken: fails on valid input.
3523 rm -f conftest.err conftest.i conftest.$ac_ext
3525 # OK, works on sane cases. Now check whether nonexistent headers
3526 # can be detected and how.
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3529 #include <ac_nonexistent.h>
3531 if ac_fn_c_try_cpp "$LINENO"; then :
3532 # Broken: success on invalid input.
3535 # Passes both tests.
3539 rm -f conftest.err conftest.i conftest.$ac_ext
3542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3543 rm -f conftest.i conftest.err conftest.$ac_ext
3544 if $ac_preproc_ok; then :
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3550 See \`config.log' for more details" "$LINENO" 5; }
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 # Check prefix directories.
3562 if test "x$prefix" = "xNONE" ; then
3566 if test "x$exec_prefix" = "xNONE" ; then
3573 if test "x$bindir" = "xNONE" ; then
3576 BINDIR=`eval echo $bindir`
3579 if test "x$datarootdir" = "xNONE" ; then
3580 datarootdir="/share"
3582 DATAROOTDIR=`eval echo $datarootdir`
3585 # Checks for libraries.
3590 ac_cpp='$CXXCPP $CPPFLAGS'
3591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3596 # Check for C++11 support for the compiler.
3598 CPPFLAGS="$CPPFLAGS -std=c++11"
3599 CXXFLAGS="$CXXFLAGS -std=c++11"
3601 # Checks for header files.
3604 ac_cpp='$CXXCPP $CPPFLAGS'
3605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3609 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3610 if test -z "$CXXCPP"; then
3611 if ${ac_cv_prog_CXXCPP+:} false; then :
3612 $as_echo_n "(cached) " >&6
3614 # Double quotes because CXXCPP needs to be expanded
3615 for CXXCPP in "$CXX -E" "/lib/cpp"
3618 for ac_cxx_preproc_warn_flag in '' yes
3620 # Use a header file that comes with gcc, so configuring glibc
3621 # with a fresh cross-compiler works.
3622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3623 # <limits.h> exists even on freestanding compilers.
3624 # On the NeXT, cc -E runs the code through the compiler's parser,
3625 # not just through cpp. "Syntax error" is here to catch this case.
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3629 # include <limits.h>
3631 # include <assert.h>
3635 if ac_fn_cxx_try_cpp "$LINENO"; then :
3638 # Broken: fails on valid input.
3641 rm -f conftest.err conftest.i conftest.$ac_ext
3643 # OK, works on sane cases. Now check whether nonexistent headers
3644 # can be detected and how.
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3647 #include <ac_nonexistent.h>
3649 if ac_fn_cxx_try_cpp "$LINENO"; then :
3650 # Broken: success on invalid input.
3653 # Passes both tests.
3657 rm -f conftest.err conftest.i conftest.$ac_ext
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.i conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then :
3667 ac_cv_prog_CXXCPP=$CXXCPP
3670 CXXCPP=$ac_cv_prog_CXXCPP
3672 ac_cv_prog_CXXCPP=$CXXCPP
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3675 $as_echo "$CXXCPP" >&6; }
3677 for ac_cxx_preproc_warn_flag in '' yes
3679 # Use a header file that comes with gcc, so configuring glibc
3680 # with a fresh cross-compiler works.
3681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3682 # <limits.h> exists even on freestanding compilers.
3683 # On the NeXT, cc -E runs the code through the compiler's parser,
3684 # not just through cpp. "Syntax error" is here to catch this case.
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3688 # include <limits.h>
3690 # include <assert.h>
3694 if ac_fn_cxx_try_cpp "$LINENO"; then :
3697 # Broken: fails on valid input.
3700 rm -f conftest.err conftest.i conftest.$ac_ext
3702 # OK, works on sane cases. Now check whether nonexistent headers
3703 # can be detected and how.
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3706 #include <ac_nonexistent.h>
3708 if ac_fn_cxx_try_cpp "$LINENO"; then :
3709 # Broken: success on invalid input.
3712 # Passes both tests.
3716 rm -f conftest.err conftest.i conftest.$ac_ext
3719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3720 rm -f conftest.i conftest.err conftest.$ac_ext
3721 if $ac_preproc_ok; then :
3724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3727 See \`config.log' for more details" "$LINENO" 5; }
3731 ac_cpp='$CXXCPP $CPPFLAGS'
3732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3738 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3739 if ${ac_cv_path_GREP+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -z "$GREP"; then
3743 ac_path_GREP_found=false
3744 # Loop through the user's path and test for each of PROGNAME-LIST
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3749 test -z "$as_dir" && as_dir=.
3750 for ac_prog in grep ggrep; do
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3753 as_fn_executable_p "$ac_path_GREP" || continue
3754 # Check for GNU ac_path_GREP and select it if it is found.
3755 # Check for GNU $ac_path_GREP
3756 case `"$ac_path_GREP" --version 2>&1` in
3758 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3761 $as_echo_n 0123456789 >"conftest.in"
3764 cat "conftest.in" "conftest.in" >"conftest.tmp"
3765 mv "conftest.tmp" "conftest.in"
3766 cp "conftest.in" "conftest.nl"
3767 $as_echo 'GREP' >> "conftest.nl"
3768 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3769 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3770 as_fn_arith $ac_count + 1 && ac_count=$as_val
3771 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3772 # Best one so far, save it but keep looking for a better one
3773 ac_cv_path_GREP="$ac_path_GREP"
3774 ac_path_GREP_max=$ac_count
3776 # 10*(2^10) chars as input seems more than enough
3777 test $ac_count -gt 10 && break
3779 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3782 $ac_path_GREP_found && break 3
3787 if test -z "$ac_cv_path_GREP"; then
3788 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3791 ac_cv_path_GREP=$GREP
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3796 $as_echo "$ac_cv_path_GREP" >&6; }
3797 GREP="$ac_cv_path_GREP"
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3801 $as_echo_n "checking for egrep... " >&6; }
3802 if ${ac_cv_path_EGREP+:} false; then :
3803 $as_echo_n "(cached) " >&6
3805 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3806 then ac_cv_path_EGREP="$GREP -E"
3808 if test -z "$EGREP"; then
3809 ac_path_EGREP_found=false
3810 # Loop through the user's path and test for each of PROGNAME-LIST
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3815 test -z "$as_dir" && as_dir=.
3816 for ac_prog in egrep; do
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3819 as_fn_executable_p "$ac_path_EGREP" || continue
3820 # Check for GNU ac_path_EGREP and select it if it is found.
3821 # Check for GNU $ac_path_EGREP
3822 case `"$ac_path_EGREP" --version 2>&1` in
3824 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3827 $as_echo_n 0123456789 >"conftest.in"
3830 cat "conftest.in" "conftest.in" >"conftest.tmp"
3831 mv "conftest.tmp" "conftest.in"
3832 cp "conftest.in" "conftest.nl"
3833 $as_echo 'EGREP' >> "conftest.nl"
3834 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3836 as_fn_arith $ac_count + 1 && ac_count=$as_val
3837 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3838 # Best one so far, save it but keep looking for a better one
3839 ac_cv_path_EGREP="$ac_path_EGREP"
3840 ac_path_EGREP_max=$ac_count
3842 # 10*(2^10) chars as input seems more than enough
3843 test $ac_count -gt 10 && break
3845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3848 $ac_path_EGREP_found && break 3
3853 if test -z "$ac_cv_path_EGREP"; then
3854 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3857 ac_cv_path_EGREP=$EGREP
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3863 $as_echo "$ac_cv_path_EGREP" >&6; }
3864 EGREP="$ac_cv_path_EGREP"
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3868 $as_echo_n "checking for ANSI C header files... " >&6; }
3869 if ${ac_cv_header_stdc+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3887 if ac_fn_cxx_try_compile "$LINENO"; then :
3888 ac_cv_header_stdc=yes
3890 ac_cv_header_stdc=no
3892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894 if test $ac_cv_header_stdc = yes; then
3895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3902 $EGREP "memchr" >/dev/null 2>&1; then :
3905 ac_cv_header_stdc=no
3911 if test $ac_cv_header_stdc = yes; then
3912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3919 $EGREP "free" >/dev/null 2>&1; then :
3922 ac_cv_header_stdc=no
3928 if test $ac_cv_header_stdc = yes; then
3929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3930 if test "$cross_compiling" = yes; then :
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3937 #if ((' ' & 0x0FF) == 0x020)
3938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3941 # define ISLOWER(c) \
3942 (('a' <= (c) && (c) <= 'i') \
3943 || ('j' <= (c) && (c) <= 'r') \
3944 || ('s' <= (c) && (c) <= 'z'))
3945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3953 for (i = 0; i < 256; i++)
3954 if (XOR (islower (i), ISLOWER (i))
3955 || toupper (i) != TOUPPER (i))
3960 if ac_fn_cxx_try_run "$LINENO"; then :
3963 ac_cv_header_stdc=no
3965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3966 conftest.$ac_objext conftest.beam conftest.$ac_ext
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3972 $as_echo "$ac_cv_header_stdc" >&6; }
3973 if test $ac_cv_header_stdc = yes; then
3975 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3980 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3981 inttypes.h stdint.h unistd.h
3983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3984 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3987 cat >>confdefs.h <<_ACEOF
3988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3996 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
3998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3999 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4001 cat >>confdefs.h <<_ACEOF
4002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4010 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
4011 if test "x$ac_cv_header_thread" = xyes; then :
4014 echo "The C++ compiler does not support C++11 extensions which is
4015 needed for Xestia Address Book. Please install or use a
4016 compiler that supports C++11 extensions."
4025 # Check whether --with-wxdir was given.
4026 if test "${with_wxdir+set}" = set; then :
4027 withval=$with_wxdir; wx_config_name="$withval/wx-config"
4028 wx_config_args="--inplace"
4032 # Check whether --with-wx-config was given.
4033 if test "${with_wx_config+set}" = set; then :
4034 withval=$with_wx_config; wx_config_name="$withval"
4038 # Check whether --with-wx-prefix was given.
4039 if test "${with_wx_prefix+set}" = set; then :
4040 withval=$with_wx_prefix; wx_config_prefix="$withval"
4046 # Check whether --with-wx-exec-prefix was given.
4047 if test "${with_wx_exec_prefix+set}" = set; then :
4048 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4050 wx_config_exec_prefix=""
4057 if test x${WX_CONFIG_NAME+set} != xset ; then
4058 WX_CONFIG_NAME=wx-config
4061 if test "x$wx_config_name" != x ; then
4062 WX_CONFIG_NAME="$wx_config_name"
4065 if test x$wx_config_exec_prefix != x ; then
4066 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4067 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4069 if test x$wx_config_prefix != x ; then
4070 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4071 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4073 if test "$cross_compiling" = "yes"; then
4074 wx_config_args="$wx_config_args --host=$host_alias"
4077 if test -x "$WX_CONFIG_NAME" ; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4079 $as_echo_n "checking for wx-config... " >&6; }
4080 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4082 $as_echo "$WX_CONFIG_PATH" >&6; }
4084 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4085 set dummy $WX_CONFIG_NAME; ac_word=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4089 $as_echo_n "(cached) " >&6
4091 case $WX_CONFIG_PATH in
4093 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4098 for as_dir in $as_dummy
4101 test -z "$as_dir" && as_dir=.
4102 for ac_exec_ext in '' $ac_executable_extensions; do
4103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4104 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4116 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4117 if test -n "$WX_CONFIG_PATH"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4119 $as_echo "$WX_CONFIG_PATH" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4128 if test "$WX_CONFIG_PATH" != "no" ; then
4131 min_wx_version=$reqwx
4132 if test -z "" ; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4134 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4137 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4140 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4142 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4143 wx_config_major_version=`echo $WX_VERSION | \
4144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4145 wx_config_minor_version=`echo $WX_VERSION | \
4146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4147 wx_config_micro_version=`echo $WX_VERSION | \
4148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4150 wx_requested_major_version=`echo $min_wx_version | \
4151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4152 wx_requested_minor_version=`echo $min_wx_version | \
4153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4154 wx_requested_micro_version=`echo $min_wx_version | \
4155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4159 if test "x$WX_VERSION" != x ; then
4160 if test $wx_config_major_version -gt $wx_requested_major_version; then
4163 if test $wx_config_major_version -eq $wx_requested_major_version; then
4164 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4167 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4168 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4178 if test -n "$wx_ver_ok"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4180 $as_echo "yes (version $WX_VERSION)" >&6; }
4181 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4184 $as_echo_n "checking for wxWidgets static library... " >&6; }
4185 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4186 if test "x$WX_LIBS_STATIC" = "x"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4191 $as_echo "yes" >&6; }
4195 if test $wx_config_major_version -gt 2; then
4198 if test $wx_config_major_version -eq 2; then
4199 if test $wx_config_minor_version -gt 2; then
4202 if test $wx_config_minor_version -eq 2; then
4203 if test $wx_config_micro_version -ge 6; then
4212 if test $wx_config_major_version -gt 2; then
4215 if test $wx_config_major_version -eq 2; then
4216 if test $wx_config_minor_version -ge 7; then
4221 if test "x$wx_has_rescomp" = x ; then
4224 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4227 if test "x$wx_has_cppflags" = x ; then
4228 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4229 WX_CPPFLAGS=$WX_CFLAGS
4230 WX_CXXFLAGS=$WX_CFLAGS
4232 WX_CFLAGS_ONLY=$WX_CFLAGS
4233 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4235 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4236 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4237 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4239 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4240 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4247 if test "x$WX_VERSION" = x; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4252 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4262 if test ! -z ""; then
4265 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4266 build with the following settings:
4268 but such build is not available.
4270 To see the wxWidgets builds available on this system, please use
4271 'wx-config --list' command. To use the default build, returned by
4272 'wx-config --selected-config', use the options with their 'auto'
4278 The requested wxWidgets build couldn't be found.
4281 If you still get this error, then check that 'wx-config' is
4282 in path, the directory where wxWidgets libraries are installed
4283 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4284 or equivalent variable and wxWidgets version is $reqwx or above."
4286 as_fn_error $? "$wx_error_message" "$LINENO" 5
4312 WX_VERSION_MAJOR="$wx_config_major_version"
4313 WX_VERSION_MINOR="$wx_config_minor_version"
4314 WX_VERSION_MICRO="$wx_config_micro_version"
4320 if test "$wxWin" != 1; then
4322 wxWidgets must be installed on your system.
4324 Please check that wx-config is in path, the directory where wxWidgets libraries
4325 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4326 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4331 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4332 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4333 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4334 LIBS="$LIBS $WX_LIBS"
4336 # SFML Audio Library
4345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4346 if test -n "$ac_tool_prefix"; then
4347 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4348 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4352 $as_echo_n "(cached) " >&6
4356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4378 if test -n "$PKG_CONFIG"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4380 $as_echo "$PKG_CONFIG" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_path_PKG_CONFIG"; then
4389 ac_pt_PKG_CONFIG=$PKG_CONFIG
4390 # Extract the first word of "pkg-config", so it can be a program name with args.
4391 set dummy pkg-config; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 case $ac_pt_PKG_CONFIG in
4399 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4421 if test -n "$ac_pt_PKG_CONFIG"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4423 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4429 if test "x$ac_pt_PKG_CONFIG" = x; then
4432 case $cross_compiling:$ac_tool_warned in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4438 PKG_CONFIG=$ac_pt_PKG_CONFIG
4441 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4445 if test -n "$PKG_CONFIG"; then
4446 _pkg_min_version=0.9.0
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4448 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4449 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4451 $as_echo "yes" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SFML" >&5
4461 $as_echo_n "checking for SFML... " >&6; }
4463 if test -n "$SFML_CFLAGS"; then
4464 pkg_cv_SFML_CFLAGS="$SFML_CFLAGS"
4465 elif test -n "$PKG_CONFIG"; then
4466 if test -n "$PKG_CONFIG" && \
4467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4468 ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }; then
4472 pkg_cv_SFML_CFLAGS=`$PKG_CONFIG --cflags "sfml-all >= 2.4.1" 2>/dev/null`
4473 test "x$?" != "x0" && pkg_failed=yes
4480 if test -n "$SFML_LIBS"; then
4481 pkg_cv_SFML_LIBS="$SFML_LIBS"
4482 elif test -n "$PKG_CONFIG"; then
4483 if test -n "$PKG_CONFIG" && \
4484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4485 ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }; then
4489 pkg_cv_SFML_LIBS=`$PKG_CONFIG --libs "sfml-all >= 2.4.1" 2>/dev/null`
4490 test "x$?" != "x0" && pkg_failed=yes
4500 if test $pkg_failed = yes; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4505 _pkg_short_errors_supported=yes
4507 _pkg_short_errors_supported=no
4509 if test $_pkg_short_errors_supported = yes; then
4510 SFML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4512 SFML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4514 # Put the nasty error message in config.log where it belongs
4515 echo "$SFML_PKG_ERRORS" >&5
4517 as_fn_error $? "Package requirements (sfml-all >= 2.4.1) were not met:
4521 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4522 installed software in a non-standard prefix.
4524 Alternatively, you may set the environment variables SFML_CFLAGS
4525 and SFML_LIBS to avoid the need to call pkg-config.
4526 See the pkg-config man page for more details." "$LINENO" 5
4527 elif test $pkg_failed = untried; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529 $as_echo "no" >&6; }
4530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4532 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4533 is in your PATH or set the PKG_CONFIG environment variable to the full
4536 Alternatively, you may set the environment variables SFML_CFLAGS
4537 and SFML_LIBS to avoid the need to call pkg-config.
4538 See the pkg-config man page for more details.
4540 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4541 See \`config.log' for more details" "$LINENO" 5; }
4543 SFML_CFLAGS=$pkg_cv_SFML_CFLAGS
4544 SFML_LIBS=$pkg_cv_SFML_LIBS
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4546 $as_echo "yes" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4551 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4552 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4553 $as_echo_n "(cached) " >&6
4555 ac_check_lib_save_LIBS=$LIBS
4556 LIBS="-lsfml-audio $LIBS"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4569 if ac_fn_cxx_try_link "$LINENO"; then :
4570 ac_cv_lib_sfml_audio_main=yes
4572 ac_cv_lib_sfml_audio_main=no
4574 rm -f core conftest.err conftest.$ac_objext \
4575 conftest$ac_exeext conftest.$ac_ext
4576 LIBS=$ac_check_lib_save_LIBS
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4579 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4580 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4581 cat >>confdefs.h <<_ACEOF
4582 #define HAVE_LIBSFML_AUDIO 1
4585 LIBS="-lsfml-audio $LIBS"
4588 echo "The SFML libraries must be installed on your system.
4589 Please check that this library is installed properly before
4590 running configure again."
4596 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4597 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4600 echo "The SFML library headers must be installed on your system.
4601 Please check that the library headers are installed properly
4602 before running configure again."
4610 ac_cpp='$CPP $CPPFLAGS'
4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4620 $as_echo_n "checking for main in -lcurl... " >&6; }
4621 if ${ac_cv_lib_curl_main+:} false; then :
4622 $as_echo_n "(cached) " >&6
4624 ac_check_lib_save_LIBS=$LIBS
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4638 if ac_fn_c_try_link "$LINENO"; then :
4639 ac_cv_lib_curl_main=yes
4641 ac_cv_lib_curl_main=no
4643 rm -f core conftest.err conftest.$ac_objext \
4644 conftest$ac_exeext conftest.$ac_ext
4645 LIBS=$ac_check_lib_save_LIBS
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4648 $as_echo "$ac_cv_lib_curl_main" >&6; }
4649 if test "x$ac_cv_lib_curl_main" = xyes; then :
4650 cat >>confdefs.h <<_ACEOF
4651 #define HAVE_LIBCURL 1
4657 echo "The cURL library must be installed on your system.
4658 Please check that this library is installed properly before
4659 running configure again."
4666 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4667 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4670 echo "The cURL library headers must be installed on your system.
4671 Please check that the library headers are installed properly
4672 before running configure again."
4679 # Extract the first word of "curl-config", so it can be a program name with args.
4680 set dummy curl-config; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$FOUND_CURLCONFIG"; then
4687 ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_FOUND_CURLCONFIG="yes"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4707 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4708 if test -n "$FOUND_CURLCONFIG"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4710 $as_echo "$FOUND_CURLCONFIG" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4717 if test x$FOUND_CURLCONFIG = xyes; then
4718 FOUND_CURLCONFIG_RES_TRUE=
4719 FOUND_CURLCONFIG_RES_FALSE='#'
4721 FOUND_CURLCONFIG_RES_TRUE='#'
4722 FOUND_CURLCONFIG_RES_FALSE=
4726 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4728 echo "Cannot find the curl-config program on your system.
4729 If it is installed on your system, adjust your PATH environment
4730 variable before running configure again."
4737 # Extract the first word of "file", so it can be a program name with args.
4738 set dummy file; ac_word=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_FOUND_FILE+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -n "$FOUND_FILE"; then
4745 ac_cv_prog_FOUND_FILE="$FOUND_FILE" # Let the user override the test.
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4751 test -z "$as_dir" && as_dir=.
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_FOUND_FILE="yes"
4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 test -z "$ac_cv_prog_FOUND_FILE" && ac_cv_prog_FOUND_FILE="no"
4765 FOUND_FILE=$ac_cv_prog_FOUND_FILE
4766 if test -n "$FOUND_FILE"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_FILE" >&5
4768 $as_echo "$FOUND_FILE" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4775 if test x$FOUND_FILE = xyes; then
4776 FOUND_FILE_RES_TRUE=
4777 FOUND_FILE_RES_FALSE='#'
4779 FOUND_FILE_RES_TRUE='#'
4780 FOUND_FILE_RES_FALSE=
4784 if test -z "$FOUND_FILE_RES_TRUE"; then :
4786 echo "Cannot find the file program on your system.
4787 If it is installed on your system, adjust your PATH environment
4788 variable before running configure again."
4793 # uuidgen application
4795 # Extract the first word of "uuidgen", so it can be a program name with args.
4796 set dummy uuidgen; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$FOUND_UUIDGEN"; then
4803 ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_FOUND_UUIDGEN="yes"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4823 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4824 if test -n "$FOUND_UUIDGEN"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4826 $as_echo "$FOUND_UUIDGEN" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 if test x$FOUND_UUIDGEN = xyes; then
4834 FOUND_UUIDGEN_RES_TRUE=
4835 FOUND_UUIDGEN_RES_FALSE='#'
4837 FOUND_UUIDGEN_RES_TRUE='#'
4838 FOUND_UUIDGEN_RES_FALSE=
4842 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4844 echo "Cannot find the uuidgen program on your system.
4845 If it is installed on your system, adjust your PATH environment
4846 variable before running configure again."
4851 # Checks for typedefs, structures, and compiler characteristics.
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4853 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4854 if ${ac_cv_header_stdbool_h+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4860 #include <stdbool.h>
4862 "error: bool is not defined"
4865 "error: false is not defined"
4868 "error: false is not 0"
4871 "error: true is not defined"
4874 "error: true is not 1"
4876 #ifndef __bool_true_false_are_defined
4877 "error: __bool_true_false_are_defined is not defined"
4880 struct s { _Bool s: 1; _Bool t; } s;
4882 char a[true == 1 ? 1 : -1];
4883 char b[false == 0 ? 1 : -1];
4884 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4885 char d[(bool) 0.5 == true ? 1 : -1];
4886 /* See body of main program for 'e'. */
4887 char f[(_Bool) 0.0 == false ? 1 : -1];
4889 char h[sizeof (_Bool)];
4891 enum { j = false, k = true, l = false * true, m = true * 256 };
4892 /* The following fails for
4893 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4895 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4896 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4897 /* Catch a bug in an HP-UX C compiler. See
4898 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4899 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4911 /* Refer to every declared value, to avoid compiler optimizations. */
4912 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4913 + !m + !n + !o + !p + !q + !pq);
4919 if ac_fn_c_try_compile "$LINENO"; then :
4920 ac_cv_header_stdbool_h=yes
4922 ac_cv_header_stdbool_h=no
4924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4927 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4928 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4929 if test "x$ac_cv_type__Bool" = xyes; then :
4931 cat >>confdefs.h <<_ACEOF
4932 #define HAVE__BOOL 1
4939 if test $ac_cv_header_stdbool_h = yes; then
4941 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4946 $as_echo_n "checking for inline... " >&6; }
4947 if ${ac_cv_c_inline+:} false; then :
4948 $as_echo_n "(cached) " >&6
4951 for ac_kw in inline __inline__ __inline; do
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 static $ac_kw foo_t static_foo () {return 0; }
4957 $ac_kw foo_t foo () {return 0; }
4961 if ac_fn_c_try_compile "$LINENO"; then :
4962 ac_cv_c_inline=$ac_kw
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 test "$ac_cv_c_inline" != no && break
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4970 $as_echo "$ac_cv_c_inline" >&6; }
4972 case $ac_cv_c_inline in
4975 case $ac_cv_c_inline in
4977 *) ac_val=$ac_cv_c_inline;;
4979 cat >>confdefs.h <<_ACEOF
4981 #define inline $ac_val
4988 # Check for Google Test and if it exists, enable the tests.
4991 ac_cpp='$CXXCPP $CPPFLAGS'
4992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4996 for ac_header in gtest/gtest.h
4998 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
4999 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
5000 cat >>confdefs.h <<_ACEOF
5001 #define HAVE_GTEST_GTEST_H 1
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019 CPPFLAGSOLD=CPPFLAGS
5020 CPPFLAGS=`xml2-config --cflags`
5022 # Extract the first word of "xml2-config", so it can be a program name with args.
5023 set dummy xml2-config; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$FOUND_XML2CONFIG"; then
5030 ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_FOUND_XML2CONFIG="yes"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
5050 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
5051 if test -n "$FOUND_XML2CONFIG"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
5053 $as_echo "$FOUND_XML2CONFIG" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 if test x$FOUND_XML2CONFIG = xyes; then
5061 FOUND_XML2CONFIG_RES_TRUE=
5062 FOUND_XML2CONFIG_RES_FALSE='#'
5064 FOUND_XML2CONFIG_RES_TRUE='#'
5065 FOUND_XML2CONFIG_RES_FALSE=
5069 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
5071 echo "Cannot find the xml2-config program on your system.
5072 If it is installed on your system, adjust your PATH environment
5073 variable before running configure again."
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
5079 $as_echo_n "checking for main in -lxml2... " >&6; }
5080 if ${ac_cv_lib_xml2_main+:} false; then :
5081 $as_echo_n "(cached) " >&6
5083 ac_check_lib_save_LIBS=$LIBS
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5097 if ac_fn_c_try_link "$LINENO"; then :
5098 ac_cv_lib_xml2_main=yes
5100 ac_cv_lib_xml2_main=no
5102 rm -f core conftest.err conftest.$ac_objext \
5103 conftest$ac_exeext conftest.$ac_ext
5104 LIBS=$ac_check_lib_save_LIBS
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
5107 $as_echo "$ac_cv_lib_xml2_main" >&6; }
5108 if test "x$ac_cv_lib_xml2_main" = xyes; then :
5109 cat >>confdefs.h <<_ACEOF
5110 #define HAVE_LIBXML2 1
5116 echo "The libxml2 library must be installed on your system.
5117 Please check that this library is installed properly before
5118 running configure again."
5124 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
5126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5127 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5128 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5129 cat >>confdefs.h <<_ACEOF
5130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5134 echo "The libxml2 library headers must be installed on your system.
5135 Please check that the library headers are installed properly
5136 before running configure again."
5144 CPPFLAGS=CPPFLAGSOLD
5146 # Setup the debug setting.
5148 # Check whether --enable-debug was given.
5149 if test "${enable_debug+set}" = set; then :
5150 enableval=$enable_debug; case "${enableval}" in
5153 *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
5160 # Checks for library functions.
5162 if test x$debug = xtrue; then
5170 if test -z "$DEBUG_TRUE"; then :
5177 if test -z "$DEBUG_TRUE"; then :
5178 DBGSTATUS="DEBUG=true"
5181 DBGSTATUS="DEBUG=false"
5184 if test -z "$DEBUG_TRUE"; then :
5185 echo "Debugging mode has been enabled."
5188 if test x$gtestfound = xyes; then
5190 GTEST_FOUND_FALSE='#'
5192 GTEST_FOUND_TRUE='#'
5196 if test -z "$GTEST_FOUND_TRUE"; then :
5197 GTEST=`cat tests/test.commands`
5200 GTEST=" @echo \"Google Test was not found on the system. Unable to build tests.\""
5203 if test -z "$GTEST_FOUND_TRUE"; then :
5204 echo "Google Test found on the system. Enabling Unit Tests."
5207 ac_config_files="$ac_config_files Makefile tests/Makefile"
5209 cat >confcache <<\_ACEOF
5210 # This file is a shell script that caches the results of configure
5211 # tests run on this system so they can be shared between configure
5212 # scripts and configure runs, see configure's option --config-cache.
5213 # It is not useful on other systems. If it contains results you don't
5214 # want to keep, you may remove or edit it.
5216 # config.status only pays attention to the cache file if you give it
5217 # the --recheck option to rerun configure.
5219 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5220 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5225 # The following way of writing the cache mishandles newlines in values,
5226 # but we know of no workaround that is simple, portable, and efficient.
5227 # So, we kill variables containing newlines.
5228 # Ultrix sh set writes to stderr and can't be redirected directly,
5229 # and sets the high bit in the cache file unless we assign to the vars.
5231 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5232 eval ac_val=\$$ac_var
5236 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5240 _ | IFS | as_nl) ;; #(
5241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5242 *) { eval $ac_var=; unset $ac_var;} ;;
5248 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5249 *${as_nl}ac_space=\ *)
5250 # `set' does not quote correctly, so add quotes: double-quote
5251 # substitution turns \\\\ into \\, and sed turns \\ into \.
5254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5257 # `set' quotes correctly as required by POSIX, so do not add quotes.
5258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5269 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5271 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5272 if test -w "$cache_file"; then
5273 if test "x$cache_file" != "x/dev/null"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5275 $as_echo "$as_me: updating cache $cache_file" >&6;}
5276 if test ! -f "$cache_file" || test -h "$cache_file"; then
5277 cat confcache >"$cache_file"
5279 case $cache_file in #(
5281 mv -f confcache "$cache_file"$$ &&
5282 mv -f "$cache_file"$$ "$cache_file" ;; #(
5284 mv -f confcache "$cache_file" ;;
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5290 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5295 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5296 # Let make expand exec_prefix.
5297 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5299 # Transform confdefs.h into DEFS.
5300 # Protect against shell expansion while executing Makefile rules.
5301 # Protect against Makefile macro expansion.
5303 # If the first sed substitution is executed (which looks for macros that
5304 # take arguments), then branch to the quote section. Otherwise,
5305 # look for a macro that doesn't take arguments.
5315 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5317 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5321 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5334 DEFS=`sed -n "$ac_script" confdefs.h`
5340 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5341 # 1. Remove the extension, and $U if already installed.
5342 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5343 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5344 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5345 # will be set to the directory where LIBOBJS objects are built.
5346 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5347 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5351 LTLIBOBJS=$ac_ltlibobjs
5354 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5355 as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5358 if test -z "${FOUND_FILE_RES_TRUE}" && test -z "${FOUND_FILE_RES_FALSE}"; then
5359 as_fn_error $? "conditional \"FOUND_FILE_RES\" was never defined.
5360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5362 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5363 as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5366 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5367 as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5370 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5371 as_fn_error $? "conditional \"DEBUG\" was never defined.
5372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5374 if test -z "${GTEST_FOUND_TRUE}" && test -z "${GTEST_FOUND_FALSE}"; then
5375 as_fn_error $? "conditional \"GTEST_FOUND\" was never defined.
5376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5379 : "${CONFIG_STATUS=./config.status}"
5381 ac_clean_files_save=$ac_clean_files
5382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5388 # Generated by $as_me.
5389 # Run this file to recreate the current configuration.
5390 # Compiler output produced by configure, useful for debugging
5391 # configure, is in config.log if it exists.
5397 SHELL=\${CONFIG_SHELL-$SHELL}
5400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5401 ## -------------------- ##
5402 ## M4sh Initialization. ##
5403 ## -------------------- ##
5405 # Be more Bourne compatible
5406 DUALCASE=1; export DUALCASE # for MKS sh
5407 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5410 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5411 # is contrary to our usage. Disable this feature.
5412 alias -g '${1+"$@"}'='"$@"'
5413 setopt NO_GLOB_SUBST
5415 case `(set -o) 2>/dev/null` in #(
5427 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5428 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5430 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5431 # Prefer a ksh shell builtin over an external printf program on Solaris,
5432 # but without wasting forks for bash or zsh.
5433 if test -z "$BASH_VERSION$ZSH_VERSION" \
5434 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5435 as_echo='print -r --'
5436 as_echo_n='print -rn --'
5437 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5438 as_echo='printf %s\n'
5439 as_echo_n='printf %s'
5441 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5442 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5443 as_echo_n='/usr/ucb/echo -n'
5445 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5446 as_echo_n_body='eval
5450 expr "X$arg" : "X\\(.*\\)$as_nl";
5451 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5453 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5455 export as_echo_n_body
5456 as_echo_n='sh -c $as_echo_n_body as_echo'
5459 as_echo='sh -c $as_echo_body as_echo'
5462 # The user is always right.
5463 if test "${PATH_SEPARATOR+set}" != set; then
5465 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5466 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5473 # We need space, tab and new line, in precisely that order. Quoting is
5474 # there to prevent editors from complaining about space-tab.
5475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5476 # splitting by setting IFS to empty value.)
5479 # Find who we are. Look in the path if we contain no directory separator.
5482 *[\\/]* ) as_myself=$0 ;;
5483 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5494 # We did not find ourselves, most probably we were run as `sh COMMAND'
5495 # in which case we are not to be found in the path.
5496 if test "x$as_myself" = x; then
5499 if test ! -f "$as_myself"; then
5500 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5504 # Unset variables that we do not need and which cause bugs (e.g. in
5505 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5506 # suppresses any "Segmentation fault" message there. '((' could
5507 # trigger a bug in pdksh 5.2.14.
5508 for as_var in BASH_ENV ENV MAIL MAILPATH
5509 do eval test x\${$as_var+set} = xset \
5510 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5526 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5527 # ----------------------------------------
5528 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5529 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5530 # script with STATUS, using 1 if that was 0.
5533 as_status=$1; test $as_status -eq 0 && as_status=1
5535 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5536 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5538 $as_echo "$as_me: error: $2" >&2
5539 as_fn_exit $as_status
5543 # as_fn_set_status STATUS
5544 # -----------------------
5545 # Set $? to STATUS, without forking.
5549 } # as_fn_set_status
5553 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5563 # Portably unset VAR.
5566 { eval $1=; unset $1;}
5568 as_unset=as_fn_unset
5569 # as_fn_append VAR VALUE
5570 # ----------------------
5571 # Append the text in VALUE to the end of the definition contained in VAR. Take
5572 # advantage of any shell optimizations that allow amortized linear growth over
5573 # repeated appends, instead of the typical quadratic growth present in naive
5575 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5576 eval 'as_fn_append ()
5587 # as_fn_arith ARG...
5588 # ------------------
5589 # Perform arithmetic evaluation on the ARGs, and store the result in the
5590 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5591 # must be portable across $(()) and expr.
5592 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5593 eval 'as_fn_arith ()
5600 as_val=`expr "$@" || test $? -eq 1`
5605 if expr a : '\(a\)' >/dev/null 2>&1 &&
5606 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5612 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5613 as_basename=basename
5618 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5624 as_me=`$as_basename -- "$0" ||
5625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5626 X"$0" : 'X\(//\)$' \| \
5627 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5629 sed '/^.*\/\([^/][^/]*\)\/*$/{
5643 # Avoid depending upon Character Ranges.
5644 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5647 as_cr_digits='0123456789'
5648 as_cr_alnum=$as_cr_Letters$as_cr_digits
5650 ECHO_C= ECHO_N= ECHO_T=
5651 case `echo -n x` in #(((((
5653 case `echo 'xy\c'` in
5654 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5656 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5663 rm -f conf$$ conf$$.exe conf$$.file
5664 if test -d conf$$.dir; then
5665 rm -f conf$$.dir/conf$$.file
5668 mkdir conf$$.dir 2>/dev/null
5670 if (echo >conf$$.file) 2>/dev/null; then
5671 if ln -s conf$$.file conf$$ 2>/dev/null; then
5673 # ... but there are two gotchas:
5674 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5675 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5676 # In both cases, we have to default to `cp -pR'.
5677 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5679 elif ln conf$$.file conf$$ 2>/dev/null; then
5687 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5688 rmdir conf$$.dir 2>/dev/null
5693 # Create "$as_dir" as a directory, including parents if necessary.
5698 -*) as_dir=./$as_dir;;
5700 test -d "$as_dir" || eval $as_mkdir_p || {
5704 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5705 *) as_qdir=$as_dir;;
5707 as_dirs="'$as_qdir' $as_dirs"
5708 as_dir=`$as_dirname -- "$as_dir" ||
5709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5710 X"$as_dir" : 'X\(//\)[^/]' \| \
5711 X"$as_dir" : 'X\(//\)$' \| \
5712 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5713 $as_echo X"$as_dir" |
5714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5731 test -d "$as_dir" && break
5733 test -z "$as_dirs" || eval "mkdir $as_dirs"
5734 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5738 if mkdir -p . 2>/dev/null; then
5739 as_mkdir_p='mkdir -p "$as_dir"'
5741 test -d ./-p && rmdir ./-p
5746 # as_fn_executable_p FILE
5747 # -----------------------
5748 # Test if FILE is an executable regular file.
5749 as_fn_executable_p ()
5751 test -f "$1" && test -x "$1"
5752 } # as_fn_executable_p
5754 as_executable_p=as_fn_executable_p
5756 # Sed expression to map a string onto a valid CPP name.
5757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5759 # Sed expression to map a string onto a valid variable name.
5760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5764 ## ----------------------------------- ##
5765 ## Main body of $CONFIG_STATUS script. ##
5766 ## ----------------------------------- ##
5768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771 # Save the log message, to keep $0 and so on meaningful, and to
5772 # report actual input values of CONFIG_FILES etc. instead of their
5773 # values after options handling.
5775 This file was extended by Xestia Address Book $as_me 0.05, which was
5776 generated by GNU Autoconf 2.69. Invocation command line was
5778 CONFIG_FILES = $CONFIG_FILES
5779 CONFIG_HEADERS = $CONFIG_HEADERS
5780 CONFIG_LINKS = $CONFIG_LINKS
5781 CONFIG_COMMANDS = $CONFIG_COMMANDS
5784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5789 case $ac_config_files in *"
5790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5796 # Files that config.status was made for.
5797 config_files="`echo $ac_config_files`"
5801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5803 \`$as_me' instantiates files and other configuration actions
5804 from templates according to the current configuration. Unless the files
5805 and actions are specified as TAGs, all are instantiated by default.
5807 Usage: $0 [OPTION]... [TAG]...
5809 -h, --help print this help, then exit
5810 -V, --version print version number and configuration settings, then exit
5811 --config print configuration, then exit
5812 -q, --quiet, --silent
5813 do not print progress messages
5814 -d, --debug don't remove temporary files
5815 --recheck update $as_me by reconfiguring in the same conditions
5816 --file=FILE[:TEMPLATE]
5817 instantiate the configuration file FILE
5819 Configuration files:
5822 Report bugs to <bugs@xestia.co.uk>."
5825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5828 Xestia Address Book config.status 0.05
5829 configured by $0, generated by GNU Autoconf 2.69,
5830 with options \\"\$ac_cs_config\\"
5832 Copyright (C) 2012 Free Software Foundation, Inc.
5833 This config.status script is free software; the Free Software Foundation
5834 gives unlimited permission to copy, distribute and modify it."
5838 test -n "\$AWK" || AWK=awk
5841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5842 # The default lists apply if the user does not specify any file.
5848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5849 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5853 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5865 # Handling of the options.
5866 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5868 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5869 $as_echo "$ac_cs_version"; exit ;;
5870 --config | --confi | --conf | --con | --co | --c )
5871 $as_echo "$ac_cs_config"; exit ;;
5872 --debug | --debu | --deb | --de | --d | -d )
5874 --file | --fil | --fi | --f )
5877 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5878 '') as_fn_error $? "missing file argument" ;;
5880 as_fn_append CONFIG_FILES " '$ac_optarg'"
5881 ac_need_defaults=false;;
5882 --he | --h | --help | --hel | -h )
5883 $as_echo "$ac_cs_usage"; exit ;;
5884 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5885 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5889 -*) as_fn_error $? "unrecognized option: \`$1'
5890 Try \`$0 --help' for more information." ;;
5892 *) as_fn_append ac_config_targets " $1"
5893 ac_need_defaults=false ;;
5899 ac_configure_extra_args=
5901 if $ac_cs_silent; then
5903 ac_configure_extra_args="$ac_configure_extra_args --silent"
5907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5908 if \$ac_cs_recheck; then
5909 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5911 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5912 CONFIG_SHELL='$SHELL'
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5922 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5923 ## Running $as_me. ##
5929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5934 # Handling of arguments.
5935 for ac_config_target in $ac_config_targets
5937 case $ac_config_target in
5938 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5939 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5941 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5946 # If the user did not use the arguments to specify the items to instantiate,
5947 # then the envvar interface is used. Set only those that are not.
5948 # We use the long form for the default assignment because of an extremely
5949 # bizarre bug on SunOS 4.1.3.
5950 if $ac_need_defaults; then
5951 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5954 # Have a temporary directory for convenience. Make it in the build tree
5955 # simply because there is no reason against having it here, and in addition,
5956 # creating and moving files from /tmp can sometimes cause problems.
5957 # Hook for its removal unless debugging.
5958 # Note that there is a small window in which the directory will not be cleaned:
5959 # after its creation but before its name has been assigned to `$tmp'.
5963 trap 'exit_status=$?
5965 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5967 trap 'as_fn_exit 1' 1 2 13 15
5969 # Create a (secure) tmp directory for tmp files.
5972 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5976 tmp=./conf$$-$RANDOM
5977 (umask 077 && mkdir "$tmp")
5978 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5981 # Set up the scripts for CONFIG_FILES section.
5982 # No need to generate them if there are no CONFIG_FILES.
5983 # This happens for instance with `./config.status config.h'.
5984 if test -n "$CONFIG_FILES"; then
5987 ac_cr=`echo X | tr X '\015'`
5988 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5989 # But we know of no other shell where ac_cr would be empty at this
5990 # point, so we can use a bashism as a fallback.
5991 if test "x$ac_cr" = x; then
5992 eval ac_cr=\$\'\\r\'
5994 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5995 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6001 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6006 echo "cat >conf$$subs.awk <<_ACEOF" &&
6007 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6011 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6013 for ac_last_try in false false false false false :; do
6014 . ./conf$$subs.sh ||
6015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6017 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6018 if test $ac_delim_n = $ac_delim_num; then
6020 elif $ac_last_try; then
6021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6029 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6033 s/^/S["/; s/!.*/"]=/
6043 s/\(.\{148\}\)..*/\1/
6045 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6057 s/\(.\{148\}\)..*/\1/
6059 s/["\\]/\\&/g; s/^/"/; s/$/"/
6063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6068 ' <conf$$subs.awk | sed '
6073 ' >>$CONFIG_STATUS || ac_write_fail=1
6074 rm -f conf$$subs.awk
6075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6077 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6078 for (key in S) S_is_set[key] = 1
6084 nfields = split(line, field, "@")
6086 len = length(field[1])
6087 for (i = 2; i < nfields; i++) {
6089 keylen = length(key)
6090 if (S_is_set[key]) {
6092 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6093 len += length(value) + length(field[++i])
6104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6105 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6106 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6109 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6110 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6113 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6114 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6115 # trailing colons and then remove the whole line if VPATH becomes empty
6116 # (actually we leave an empty line to preserve line numbers).
6117 if test "x$srcdir" = x.; then
6118 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6137 fi # test -n "$CONFIG_FILES"
6140 eval set X " :F $CONFIG_FILES "
6145 :[FHLC]) ac_mode=$ac_tag; continue;;
6147 case $ac_mode$ac_tag in
6149 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6150 :[FH]-) ac_tag=-:-;;
6151 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6168 -) ac_f="$ac_tmp/stdin";;
6169 *) # Look for the file first in the build tree, then in the source tree
6170 # (if the path is not absolute). The absolute path cannot be DOS-style,
6171 # because $ac_f cannot contain `:'.
6175 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6177 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6179 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6180 as_fn_append ac_file_inputs " '$ac_f'"
6183 # Let's still pretend it is `configure' which instantiates (i.e., don't
6184 # use $as_me), people would be surprised to read:
6185 # /* config.h. Generated by config.status. */
6186 configure_input='Generated from '`
6187 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6189 if test x"$ac_file" != x-; then
6190 configure_input="$ac_file. $configure_input"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6192 $as_echo "$as_me: creating $ac_file" >&6;}
6194 # Neutralize special characters interpreted by sed in replacement strings.
6195 case $configure_input in #(
6196 *\&* | *\|* | *\\* )
6197 ac_sed_conf_input=`$as_echo "$configure_input" |
6198 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6199 *) ac_sed_conf_input=$configure_input;;
6203 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6204 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6209 ac_dir=`$as_dirname -- "$ac_file" ||
6210 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6211 X"$ac_file" : 'X\(//\)[^/]' \| \
6212 X"$ac_file" : 'X\(//\)$' \| \
6213 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6214 $as_echo X"$ac_file" |
6215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6232 as_dir="$ac_dir"; as_fn_mkdir_p
6236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6238 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6239 # A ".." for each directory in $ac_dir_suffix.
6240 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6241 case $ac_top_builddir_sub in
6242 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6243 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6246 ac_abs_top_builddir=$ac_pwd
6247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6248 # for backward compatibility:
6249 ac_top_builddir=$ac_top_build_prefix
6252 .) # We are building in place.
6254 ac_top_srcdir=$ac_top_builddir_sub
6255 ac_abs_top_srcdir=$ac_pwd ;;
6256 [\\/]* | ?:[\\/]* ) # Absolute name.
6257 ac_srcdir=$srcdir$ac_dir_suffix;
6258 ac_top_srcdir=$srcdir
6259 ac_abs_top_srcdir=$srcdir ;;
6261 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6262 ac_top_srcdir=$ac_top_build_prefix$srcdir
6263 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6277 # If the template does not know about datarootdir, expand it.
6278 # FIXME: This hack should be removed a few years after 2.60.
6279 ac_datarootdir_hack=; ac_datarootdir_seen=
6290 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6291 *datarootdir*) ac_datarootdir_seen=yes;;
6292 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6294 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6297 ac_datarootdir_hack='
6298 s&@datadir@&$datadir&g
6299 s&@docdir@&$docdir&g
6300 s&@infodir@&$infodir&g
6301 s&@localedir@&$localedir&g
6302 s&@mandir@&$mandir&g
6303 s&\\\${datarootdir}&$datarootdir&g' ;;
6307 # Neutralize VPATH when `$srcdir' = `.'.
6308 # Shell code in configure.ac might set extrasub.
6309 # FIXME: do we really want to maintain this feature?
6310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6311 ac_sed_extra="$ac_vpsub
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6317 s|@configure_input@|$ac_sed_conf_input|;t t
6318 s&@top_builddir@&$ac_top_builddir_sub&;t t
6319 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6320 s&@srcdir@&$ac_srcdir&;t t
6321 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6322 s&@top_srcdir@&$ac_top_srcdir&;t t
6323 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6324 s&@builddir@&$ac_builddir&;t t
6325 s&@abs_builddir@&$ac_abs_builddir&;t t
6326 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6327 $ac_datarootdir_hack
6329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6330 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6333 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6335 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6337 which seems to be undefined. Please make sure it is defined" >&5
6338 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6339 which seems to be undefined. Please make sure it is defined" >&2;}
6341 rm -f "$ac_tmp/stdin"
6343 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6344 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6358 ac_clean_files=$ac_clean_files_save
6360 test $ac_write_fail = 0 ||
6361 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6364 # configure is writing to config.log, and then calls config.status.
6365 # config.status does its own redirection, appending to config.log.
6366 # Unfortunately, on DOS this fails, as config.log is still kept open
6367 # by configure, so config.status won't be able to write to it; its
6368 # output is simply discarded. So we exec the FD to /dev/null,
6369 # effectively closing config.log, so it can be properly (re)opened and
6370 # appended to by config.status. When coming back to configure, we
6371 # need to make the FD available again.
6372 if test "$no_create" != yes; then
6374 ac_config_status_args=
6375 test "$silent" = yes &&
6376 ac_config_status_args="$ac_config_status_args --quiet"
6378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6381 # would make configure fail if this is the last instruction.
6382 $ac_cs_success || as_fn_exit 1
6384 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6386 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}