2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for Xestia Address Book 1.0.
5 @%:@ Report bugs to <bugs@xestia.co.uk>.
8 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 @%:@ This configure script is free software; the Free Software Foundation
14 @%:@ gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in @%:@(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in @%:@(
150 set -o posix ;; @%:@(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
193 case $as_dir in @%:@(
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 @%:@ Portably unset VAR.
265 { eval $1=; unset $1;}
269 @%:@ as_fn_set_status STATUS
270 @%:@ -----------------------
271 @%:@ Set @S|@? to STATUS, without forking.
275 } @%:@ as_fn_set_status
277 @%:@ as_fn_exit STATUS
278 @%:@ -----------------
279 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 @%:@ as_fn_append VAR VALUE
335 @%:@ ----------------------
336 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
337 @%:@ advantage of any shell optimizations that allow amortized linear growth over
338 @%:@ repeated appends, instead of the typical quadratic growth present in naive
339 @%:@ implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
352 @%:@ as_fn_arith ARG...
353 @%:@ ------------------
354 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
355 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
356 @%:@ must be portable across @S|@(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
371 @%:@ ----------------------------------------
372 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 @%:@ script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in @%:@(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='Xestia Address Book'
562 PACKAGE_TARNAME='xestia-address-book'
563 PACKAGE_VERSION='1.0'
564 PACKAGE_STRING='Xestia Address Book 1.0'
565 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
568 # Factoring default headers for most tests.
569 ac_includes_default="\
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
581 # ifdef HAVE_STDLIB_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
604 ac_subst_vars='LTLIBOBJS
656 program_transform_name
669 enable_option_checking
675 ac_precious_vars='build_alias
689 # Initialize some variables set by options.
691 ac_init_version=false
692 ac_unrecognized_opts=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
703 program_transform_name=s,x,x,
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
728 infodir='${datarootdir}/info'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\$ac_option
749 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
754 # Accept the important Cygnus configure options, so we can diagnose typos.
756 case $ac_dashdash$ac_option in
760 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
765 -build | --build | --buil | --bui | --bu)
766 ac_prev=build_alias ;;
767 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
768 build_alias=$ac_optarg ;;
770 -cache-file | --cache-file | --cache-fil | --cache-fi \
771 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
772 ac_prev=cache_file ;;
773 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
774 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
775 cache_file=$ac_optarg ;;
778 cache_file=config.cache ;;
780 -datadir | --datadir | --datadi | --datad)
782 -datadir=* | --datadir=* | --datadi=* | --datad=*)
783 datadir=$ac_optarg ;;
785 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
786 | --dataroo | --dataro | --datar)
787 ac_prev=datarootdir ;;
788 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790 datarootdir=$ac_optarg ;;
792 -disable-* | --disable-*)
793 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794 # Reject names that are not valid shell variable names.
795 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796 as_fn_error $? "invalid feature name: $ac_useropt"
797 ac_useropt_orig=$ac_useropt
798 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799 case $ac_user_opts in
803 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804 ac_unrecognized_sep=', ';;
806 eval enable_$ac_useropt=no ;;
808 -docdir | --docdir | --docdi | --doc | --do)
810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
818 -enable-* | --enable-*)
819 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822 as_fn_error $? "invalid feature name: $ac_useropt"
823 ac_useropt_orig=$ac_useropt
824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
825 case $ac_user_opts in
829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
830 ac_unrecognized_sep=', ';;
832 eval enable_$ac_useropt=\$ac_optarg ;;
834 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
835 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
836 | --exec | --exe | --ex)
837 ac_prev=exec_prefix ;;
838 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
839 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
840 | --exec=* | --exe=* | --ex=*)
841 exec_prefix=$ac_optarg ;;
843 -gas | --gas | --ga | --g)
844 # Obsolete; use --with-gas.
847 -help | --help | --hel | --he | -h)
849 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
850 ac_init_help=recursive ;;
851 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
852 ac_init_help=short ;;
854 -host | --host | --hos | --ho)
855 ac_prev=host_alias ;;
856 -host=* | --host=* | --hos=* | --ho=*)
857 host_alias=$ac_optarg ;;
859 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 htmldir=$ac_optarg ;;
865 -includedir | --includedir | --includedi | --included | --include \
866 | --includ | --inclu | --incl | --inc)
867 ac_prev=includedir ;;
868 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
869 | --includ=* | --inclu=* | --incl=* | --inc=*)
870 includedir=$ac_optarg ;;
872 -infodir | --infodir | --infodi | --infod | --info | --inf)
874 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
875 infodir=$ac_optarg ;;
877 -libdir | --libdir | --libdi | --libd)
879 -libdir=* | --libdir=* | --libdi=* | --libd=*)
882 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
883 | --libexe | --libex | --libe)
884 ac_prev=libexecdir ;;
885 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
886 | --libexe=* | --libex=* | --libe=*)
887 libexecdir=$ac_optarg ;;
889 -localedir | --localedir | --localedi | --localed | --locale)
891 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
892 localedir=$ac_optarg ;;
894 -localstatedir | --localstatedir | --localstatedi | --localstated \
895 | --localstate | --localstat | --localsta | --localst | --locals)
896 ac_prev=localstatedir ;;
897 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
898 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
899 localstatedir=$ac_optarg ;;
901 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907 # Obsolete; use --without-fp.
910 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911 | --no-cr | --no-c | -n)
914 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
915 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
919 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
920 | --oldin | --oldi | --old | --ol | --o)
921 ac_prev=oldincludedir ;;
922 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
923 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
924 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
925 oldincludedir=$ac_optarg ;;
927 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
932 -program-prefix | --program-prefix | --program-prefi | --program-pref \
933 | --program-pre | --program-pr | --program-p)
934 ac_prev=program_prefix ;;
935 -program-prefix=* | --program-prefix=* | --program-prefi=* \
936 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
937 program_prefix=$ac_optarg ;;
939 -program-suffix | --program-suffix | --program-suffi | --program-suff \
940 | --program-suf | --program-su | --program-s)
941 ac_prev=program_suffix ;;
942 -program-suffix=* | --program-suffix=* | --program-suffi=* \
943 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
944 program_suffix=$ac_optarg ;;
946 -program-transform-name | --program-transform-name \
947 | --program-transform-nam | --program-transform-na \
948 | --program-transform-n | --program-transform- \
949 | --program-transform | --program-transfor \
950 | --program-transfo | --program-transf \
951 | --program-trans | --program-tran \
952 | --progr-tra | --program-tr | --program-t)
953 ac_prev=program_transform_name ;;
954 -program-transform-name=* | --program-transform-name=* \
955 | --program-transform-nam=* | --program-transform-na=* \
956 | --program-transform-n=* | --program-transform-=* \
957 | --program-transform=* | --program-transfor=* \
958 | --program-transfo=* | --program-transf=* \
959 | --program-trans=* | --program-tran=* \
960 | --progr-tra=* | --program-tr=* | --program-t=*)
961 program_transform_name=$ac_optarg ;;
963 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
968 -psdir | --psdir | --psdi | --psd | --ps)
970 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974 | -silent | --silent | --silen | --sile | --sil)
977 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 sbindir=$ac_optarg ;;
983 -sharedstatedir | --sharedstatedir | --sharedstatedi \
984 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985 | --sharedst | --shareds | --shared | --share | --shar \
987 ac_prev=sharedstatedir ;;
988 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 sharedstatedir=$ac_optarg ;;
994 -site | --site | --sit)
996 -site=* | --site=* | --sit=*)
999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002 srcdir=$ac_optarg ;;
1004 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005 | --syscon | --sysco | --sysc | --sys | --sy)
1006 ac_prev=sysconfdir ;;
1007 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009 sysconfdir=$ac_optarg ;;
1011 -target | --target | --targe | --targ | --tar | --ta | --t)
1012 ac_prev=target_alias ;;
1013 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014 target_alias=$ac_optarg ;;
1016 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1019 -version | --version | --versio | --versi | --vers | -V)
1020 ac_init_version=: ;;
1023 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval with_$ac_useropt=\$ac_optarg ;;
1038 -without-* | --without-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval with_$ac_useropt=no ;;
1055 # Obsolete; use --with-x.
1058 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059 | --x-incl | --x-inc | --x-in | --x-i)
1060 ac_prev=x_includes ;;
1061 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063 x_includes=$ac_optarg ;;
1065 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067 ac_prev=x_libraries ;;
1068 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070 x_libraries=$ac_optarg ;;
1072 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1073 Try \`$0 --help' for more information"
1077 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 case $ac_envvar in #(
1080 '' | [0-9]* | *[!_$as_cr_alnum]* )
1081 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083 eval $ac_envvar=\$ac_optarg
1084 export $ac_envvar ;;
1087 # FIXME: should be removed in autoconf 3.0.
1088 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1097 if test -n "$ac_prev"; then
1098 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099 as_fn_error $? "missing argument to $ac_option"
1102 if test -n "$ac_unrecognized_opts"; then
1103 case $enable_option_checking in
1105 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1106 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1110 # Check all directory arguments for consistency.
1111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir
1116 eval ac_val=\$$ac_var
1117 # Remove trailing slashes.
1120 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121 eval $ac_var=\$ac_val;;
1123 # Be sure to have absolute directory names.
1125 [\\/$]* | ?:[\\/]* ) continue;;
1126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1136 target=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x; then
1140 if test "x$build_alias" = x; then
1141 cross_compiling=maybe
1142 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used" >&2
1144 elif test "x$build_alias" != "x$host_alias"; then
1150 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1152 test "$silent" = yes && exec 6>/dev/null
1155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156 ac_ls_di=`ls -di .` &&
1157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 as_fn_error $? "working directory cannot be determined"
1159 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1160 as_fn_error $? "pwd does not report name of working directory"
1163 # Find the source files, if location was not specified.
1164 if test -z "$srcdir"; then
1165 ac_srcdir_defaulted=yes
1166 # Try the directory containing this script, then the parent directory.
1167 ac_confdir=`$as_dirname -- "$as_myself" ||
1168 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1169 X"$as_myself" : 'X\(//\)[^/]' \| \
1170 X"$as_myself" : 'X\(//\)$' \| \
1171 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1172 $as_echo X"$as_myself" |
1173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1195 ac_srcdir_defaulted=no
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1198 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1199 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1201 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1203 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1205 # When building in place, set srcdir=.
1206 if test "$ac_abs_confdir" = "$ac_pwd"; then
1209 # Remove unnecessary trailing slashes from srcdir.
1210 # Double slashes in file names in object file debugging info
1211 # mess up M-x gdb in Emacs.
1213 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1215 for ac_var in $ac_precious_vars; do
1216 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_env_${ac_var}_value=\$${ac_var}
1218 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1223 # Report the --help message.
1225 if test "$ac_init_help" = "long"; then
1226 # Omit some internal or obsolete options to make the list less imposing.
1227 # This message is too long to be a string in the A/UX 3.1 sh.
1229 \`configure' configures Xestia Address Book 1.0 to adapt to many kinds of systems.
1231 Usage: $0 [OPTION]... [VAR=VALUE]...
1233 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1234 VAR=VALUE. See below for descriptions of some of the useful variables.
1236 Defaults for the options are specified in brackets.
1239 -h, --help display this help and exit
1240 --help=short display options specific to this package
1241 --help=recursive display the short help of all the included packages
1242 -V, --version display version information and exit
1243 -q, --quiet, --silent do not print \`checking ...' messages
1244 --cache-file=FILE cache test results in FILE [disabled]
1245 -C, --config-cache alias for \`--cache-file=config.cache'
1246 -n, --no-create do not create output files
1247 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1249 Installation directories:
1250 --prefix=PREFIX install architecture-independent files in PREFIX
1251 @<:@@S|@ac_default_prefix@:>@
1252 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1255 By default, \`make install' will install all the files in
1256 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1257 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1258 for instance \`--prefix=\$HOME'.
1260 For better control, use the options below.
1262 Fine tuning of the installation directories:
1263 --bindir=DIR user executables [EPREFIX/bin]
1264 --sbindir=DIR system admin executables [EPREFIX/sbin]
1265 --libexecdir=DIR program executables [EPREFIX/libexec]
1266 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1267 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1268 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1269 --libdir=DIR object code libraries [EPREFIX/lib]
1270 --includedir=DIR C header files [PREFIX/include]
1271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1274 --infodir=DIR info documentation [DATAROOTDIR/info]
1275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1276 --mandir=DIR man documentation [DATAROOTDIR/man]
1277 --docdir=DIR documentation root
1278 @<:@DATAROOTDIR/doc/xestia-address-book@:>@
1279 --htmldir=DIR html documentation [DOCDIR]
1280 --dvidir=DIR dvi documentation [DOCDIR]
1281 --pdfdir=DIR pdf documentation [DOCDIR]
1282 --psdir=DIR ps documentation [DOCDIR]
1289 if test -n "$ac_init_help"; then
1290 case $ac_init_help in
1291 short | recursive ) echo "Configuration of Xestia Address Book 1.0:";;
1296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1299 --with-wx-config=CONFIG wx-config script to use (optional)
1300 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1301 --with-wx-exec-prefix=PREFIX
1302 Exec prefix where wxWidgets is installed (optional)
1304 Some influential environment variables:
1305 CXX C++ compiler command
1306 CXXFLAGS C++ compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir>
1312 CC C compiler command
1313 CFLAGS C compiler flags
1316 Use these variables to override the choices made by `configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1319 Report bugs to <bugs@xestia.co.uk>.
1324 if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" ||
1328 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1349 .) # We are building in place.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1373 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1382 Xestia Address Book configure 1.0
1383 generated by GNU Autoconf 2.68
1385 Copyright (C) 2010 Free Software Foundation, Inc.
1386 This configure script is free software; the Free Software Foundation
1387 gives unlimited permission to copy, distribute and modify it.
1392 ## ------------------------ ##
1393 ## Autoconf initialization. ##
1394 ## ------------------------ ##
1396 @%:@ ac_fn_cxx_try_compile LINENO
1397 @%:@ ----------------------------
1398 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1399 ac_fn_cxx_try_compile ()
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 rm -f conftest.$ac_objext
1403 if { { ac_try="$ac_compile"
1405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406 *) ac_try_echo=$ac_try;;
1408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_compile") 2>conftest.err
1412 if test -s conftest.err; then
1413 grep -v '^ *+' conftest.err >conftest.er1
1414 cat conftest.er1 >&5
1415 mv -f conftest.er1 conftest.err
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } && {
1419 test -z "$ac_cxx_werror_flag" ||
1420 test ! -s conftest.err
1421 } && test -s conftest.$ac_objext; then :
1424 $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.$ac_ext >&5
1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430 as_fn_set_status $ac_retval
1432 } @%:@ ac_fn_cxx_try_compile
1434 @%:@ ac_fn_c_try_compile LINENO
1435 @%:@ --------------------------
1436 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1437 ac_fn_c_try_compile ()
1439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440 rm -f conftest.$ac_objext
1441 if { { ac_try="$ac_compile"
1443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1444 *) ac_try_echo=$ac_try;;
1446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447 $as_echo "$ac_try_echo"; } >&5
1448 (eval "$ac_compile") 2>conftest.err
1450 if test -s conftest.err; then
1451 grep -v '^ *+' conftest.err >conftest.er1
1452 cat conftest.er1 >&5
1453 mv -f conftest.er1 conftest.err
1455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1456 test $ac_status = 0; } && {
1457 test -z "$ac_c_werror_flag" ||
1458 test ! -s conftest.err
1459 } && test -s conftest.$ac_objext; then :
1462 $as_echo "$as_me: failed program was:" >&5
1463 sed 's/^/| /' conftest.$ac_ext >&5
1467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1468 as_fn_set_status $ac_retval
1470 } @%:@ ac_fn_c_try_compile
1472 @%:@ ac_fn_c_try_cpp LINENO
1473 @%:@ ----------------------
1474 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 if { { ac_try="$ac_cpp conftest.$ac_ext"
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 $as_echo "$ac_try_echo"; } >&5
1485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1487 if test -s conftest.err; then
1488 grep -v '^ *+' conftest.err >conftest.er1
1489 cat conftest.er1 >&5
1490 mv -f conftest.er1 conftest.err
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } > conftest.i && {
1494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1499 $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505 as_fn_set_status $ac_retval
1507 } @%:@ ac_fn_c_try_cpp
1509 @%:@ ac_fn_c_try_link LINENO
1510 @%:@ -----------------------
1511 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext conftest$ac_exeext
1516 if { { ac_try="$ac_link"
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_link") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest$ac_exeext && {
1535 test "$cross_compiling" = yes ||
1536 $as_test_x conftest$ac_exeext
1540 $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1545 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1546 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1547 # interfere with the next link command; also delete a directory that is
1548 # left behind by Apple's compiler. We do this before executing the actions.
1549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1553 } @%:@ ac_fn_c_try_link
1555 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1556 @%:@ -------------------------------------------------------
1557 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1558 @%:@ the include files in INCLUDES and setting the cache variable VAR
1560 ac_fn_c_check_header_mongrel ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if eval \${$3+:} false; then :
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if eval \${$3+:} false; then :
1567 $as_echo_n "(cached) " >&6
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1573 # Is the header compilable?
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1575 $as_echo_n "checking $2 usability... " >&6; }
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582 ac_header_compiler=yes
1584 ac_header_compiler=no
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1588 $as_echo "$ac_header_compiler" >&6; }
1590 # Is the header present?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1592 $as_echo_n "checking $2 presence... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1597 if ac_fn_c_try_cpp "$LINENO"; then :
1598 ac_header_preproc=yes
1600 ac_header_preproc=no
1602 rm -f conftest.err conftest.i conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1604 $as_echo "$ac_header_preproc" >&6; }
1606 # So? What about this header?
1607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1610 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1616 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1618 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1620 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1622 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1625 ( $as_echo "## -------------------------------- ##
1626 ## Report this to bugs@xestia.co.uk ##
1627 ## -------------------------------- ##"
1628 ) | sed "s/^/$as_me: WARNING: /" >&2
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1636 eval "$3=\$ac_header_compiler"
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 } @%:@ ac_fn_c_check_header_mongrel
1646 @%:@ ac_fn_c_try_run LINENO
1647 @%:@ ----------------------
1648 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1649 @%:@ that executables *can* be run.
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if { { ac_try="$ac_link"
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>&5
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1664 { { case "(($ac_try" in
1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_try") 2>&5
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; }; }; then :
1676 $as_echo "$as_me: program exited with status $ac_status" >&5
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1680 ac_retval=$ac_status
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } @%:@ ac_fn_c_try_run
1688 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 @%:@ -------------------------------------------------------
1690 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1691 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } @%:@ ac_fn_c_check_header_compile
1719 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1720 @%:@ -------------------------------------------
1721 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1722 @%:@ variable VAR accordingly.
1723 ac_fn_c_check_type ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1744 if ac_fn_c_try_compile "$LINENO"; then :
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1757 if ac_fn_c_try_compile "$LINENO"; then :
1762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } @%:@ ac_fn_c_check_type
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1776 It was created by Xestia Address Book $as_me 1.0, which was
1777 generated by GNU Autoconf 2.68. Invocation command line was
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1798 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1799 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1802 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1803 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1804 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 $as_echo "PATH: $as_dir"
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1837 ac_must_keep_next=false
1843 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845 | -silent | --silent | --silen | --sile | --sil)
1848 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1851 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1853 as_fn_append ac_configure_args1 " '$ac_arg'"
1854 if test $ac_must_keep_next = true; then
1855 ac_must_keep_next=false # Got value, back to normal.
1858 *=* | --config-cache | -C | -disable-* | --disable-* \
1859 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861 | -with-* | --with-* | -without-* | --without-* | --x)
1862 case "$ac_configure_args0 " in
1863 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1866 -* ) ac_must_keep_next=true ;;
1869 as_fn_append ac_configure_args " '$ac_arg'"
1874 { ac_configure_args0=; unset ac_configure_args0;}
1875 { ac_configure_args1=; unset ac_configure_args1;}
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log. We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883 # Save into config.log some information that might help in debugging.
1887 $as_echo "## ---------------- ##
1888 ## Cache variables. ##
1889 ## ---------------- ##"
1891 # The following way of writing the cache mishandles newlines in values,
1893 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1894 eval ac_val=\$$ac_var
1898 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1902 _ | IFS | as_nl) ;; #(
1903 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1904 *) { eval $ac_var=; unset $ac_var;} ;;
1909 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1910 *${as_nl}ac_space=\ *)
1912 "s/'\''/'\''\\\\'\'''\''/g;
1913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1923 $as_echo "## ----------------- ##
1924 ## Output variables. ##
1925 ## ----------------- ##"
1927 for ac_var in $ac_subst_vars
1929 eval ac_val=\$$ac_var
1931 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1933 $as_echo "$ac_var='\''$ac_val'\''"
1937 if test -n "$ac_subst_files"; then
1938 $as_echo "## ------------------- ##
1939 ## File substitutions. ##
1940 ## ------------------- ##"
1942 for ac_var in $ac_subst_files
1944 eval ac_val=\$$ac_var
1946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1948 $as_echo "$ac_var='\''$ac_val'\''"
1953 if test -s confdefs.h; then
1954 $as_echo "## ----------- ##
1961 test "$ac_signal" != 0 &&
1962 $as_echo "$as_me: caught signal $ac_signal"
1963 $as_echo "$as_me: exit $exit_status"
1965 rm -f core *.core core.conftest.* &&
1966 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1969 for ac_signal in 1 2 13 15; do
1970 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1975 rm -f -r conftest* confdefs.h
1977 $as_echo "/* confdefs.h */" > confdefs.h
1979 # Predefined preprocessor variables.
1981 cat >>confdefs.h <<_ACEOF
1982 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1985 cat >>confdefs.h <<_ACEOF
1986 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1989 cat >>confdefs.h <<_ACEOF
1990 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1993 cat >>confdefs.h <<_ACEOF
1994 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1997 cat >>confdefs.h <<_ACEOF
1998 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2001 cat >>confdefs.h <<_ACEOF
2002 @%:@define PACKAGE_URL "$PACKAGE_URL"
2006 # Let the site file select an alternate cache file if it wants to.
2007 # Prefer an explicitly selected file to automatically selected ones.
2010 if test -n "$CONFIG_SITE"; then
2011 # We do not want a PATH search for config.site.
2012 case $CONFIG_SITE in @%:@((
2013 -*) ac_site_file1=./$CONFIG_SITE;;
2014 */*) ac_site_file1=$CONFIG_SITE;;
2015 *) ac_site_file1=./$CONFIG_SITE;;
2017 elif test "x$prefix" != xNONE; then
2018 ac_site_file1=$prefix/share/config.site
2019 ac_site_file2=$prefix/etc/config.site
2021 ac_site_file1=$ac_default_prefix/share/config.site
2022 ac_site_file2=$ac_default_prefix/etc/config.site
2024 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2026 test "x$ac_site_file" = xNONE && continue
2027 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2029 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2030 sed 's/^/| /' "$ac_site_file" >&5
2032 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 as_fn_error $? "failed to load site script $ac_site_file
2035 See \`config.log' for more details" "$LINENO" 5; }
2039 if test -r "$cache_file"; then
2040 # Some versions of bash will fail to source /dev/null (special files
2041 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2042 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2044 $as_echo "$as_me: loading cache $cache_file" >&6;}
2046 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2047 *) . "./$cache_file";;
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2052 $as_echo "$as_me: creating cache $cache_file" >&6;}
2056 # Check that the precious variables saved in the cache have kept the same
2058 ac_cache_corrupted=false
2059 for ac_var in $ac_precious_vars; do
2060 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2061 eval ac_new_set=\$ac_env_${ac_var}_set
2062 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2063 eval ac_new_val=\$ac_env_${ac_var}_value
2064 case $ac_old_set,$ac_new_set in
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2067 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2068 ac_cache_corrupted=: ;;
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2071 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2072 ac_cache_corrupted=: ;;
2075 if test "x$ac_old_val" != "x$ac_new_val"; then
2076 # differences in whitespace do not lead to failure.
2077 ac_old_val_w=`echo x $ac_old_val`
2078 ac_new_val_w=`echo x $ac_new_val`
2079 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2081 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2082 ac_cache_corrupted=:
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2085 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2086 eval $ac_var=\$ac_old_val
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2089 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2091 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2094 # Pass precious variables to config.status.
2095 if test "$ac_new_set" = set; then
2097 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 *) ac_arg=$ac_var=$ac_new_val ;;
2100 case " $ac_configure_args " in
2101 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2102 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2106 if $ac_cache_corrupted; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2110 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2111 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2113 ## -------------------- ##
2114 ## Main body of script. ##
2115 ## -------------------- ##
2118 ac_cpp='$CPP $CPPFLAGS'
2119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124 #AC_CONFIG_SRCDIR([version.h])
2125 #AC_CONFIG_HEADERS([config.h])
2127 # Checks for programs.
2129 ac_cpp='$CXXCPP $CPPFLAGS'
2130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2133 if test -z "$CXX"; then
2134 if test -n "$CCC"; then
2137 if test -n "$ac_tool_prefix"; then
2138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if ${ac_cv_prog_CXX+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 if test -n "$CXX"; then
2148 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 if test -n "$CXX"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2170 $as_echo "$CXX" >&6; }
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2177 test -n "$CXX" && break
2180 if test -z "$CXX"; then
2182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2189 $as_echo_n "(cached) " >&6
2191 if test -n "$ac_ct_CXX"; then
2192 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_ac_ct_CXX="$ac_prog"
2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2212 if test -n "$ac_ct_CXX"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2214 $as_echo "$ac_ct_CXX" >&6; }
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2221 test -n "$ac_ct_CXX" && break
2224 if test "x$ac_ct_CXX" = x; then
2227 case $cross_compiling:$ac_tool_warned in
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231 ac_tool_warned=yes ;;
2239 # Provide some information about the compiler.
2240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2243 for ac_option in --version -v -V -qversion; do
2244 { { ac_try="$ac_compiler $ac_option >&5"
2246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247 *) ac_try_echo=$ac_try;;
2249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2250 $as_echo "$ac_try_echo"; } >&5
2251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2253 if test -s conftest.err; then
2255 ... rest of stderr output deleted ...
2256 10q' conftest.err >conftest.er1
2257 cat conftest.er1 >&5
2259 rm -f conftest.er1 conftest.err
2260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2261 test $ac_status = 0; }
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2275 ac_clean_files_save=$ac_clean_files
2276 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2277 # Try to create an executable without -o first, disregard a.out.
2278 # It will help us diagnose broken compilers, and finding out an intuition
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2281 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2282 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2284 # The possible output files:
2285 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2288 for ac_file in $ac_files
2291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2292 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2297 if { { ac_try="$ac_link_default"
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_link_default") 2>&5
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; }; then :
2308 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2309 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2310 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2311 # so that the user can short-circuit this test for compilers unknown to
2313 for ac_file in $ac_files ''
2315 test -f "$ac_file" || continue
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2320 # We found the default executable, but exeext='' is most
2324 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2326 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328 # We set ac_cv_exeext here because the later test for it is not
2329 # safe: cross compilers may not add the suffix if given an `-o'
2330 # argument, so we may need to know it at that point already.
2331 # Even if this section looks crufty: it has the advantage of
2338 test "$ac_cv_exeext" = no && ac_cv_exeext=
2343 if test -z "$ac_file"; then :
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345 $as_echo "no" >&6; }
2346 $as_echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 as_fn_error 77 "C++ compiler cannot create executables
2352 See \`config.log' for more details" "$LINENO" 5; }
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2355 $as_echo "yes" >&6; }
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2358 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2360 $as_echo "$ac_file" >&6; }
2361 ac_exeext=$ac_cv_exeext
2363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2364 ac_clean_files=$ac_clean_files_save
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2366 $as_echo_n "checking for suffix of executables... " >&6; }
2367 if { { ac_try="$ac_link"
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_link") 2>&5
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; }; then :
2378 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2379 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2380 # work properly (i.e., refer to `conftest.exe'), while it won't with
2382 for ac_file in conftest.exe conftest conftest.*; do
2383 test -f "$ac_file" || continue
2385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2386 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2395 See \`config.log' for more details" "$LINENO" 5; }
2397 rm -f conftest conftest$ac_cv_exeext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2399 $as_echo "$ac_cv_exeext" >&6; }
2401 rm -f conftest.$ac_ext
2402 EXEEXT=$ac_cv_exeext
2404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h. */
2406 @%:@include <stdio.h>
2410 FILE *f = fopen ("conftest.out", "w");
2411 return ferror (f) || fclose (f) != 0;
2417 ac_clean_files="$ac_clean_files conftest.out"
2418 # Check that the compiler produces executables we can run. If not, either
2419 # the compiler is broken, or we cross compile.
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2421 $as_echo_n "checking whether we are cross compiling... " >&6; }
2422 if test "$cross_compiling" != yes; then
2423 { { ac_try="$ac_link"
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_link") 2>&5
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; }
2434 if { ac_try='./conftest$ac_cv_exeext'
2435 { { case "(($ac_try" in
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441 (eval "$ac_try") 2>&5
2443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2444 test $ac_status = 0; }; }; then
2447 if test "$cross_compiling" = maybe; then
2450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 as_fn_error $? "cannot run C++ compiled programs.
2453 If you meant to cross compile, use \`--host'.
2454 See \`config.log' for more details" "$LINENO" 5; }
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2459 $as_echo "$cross_compiling" >&6; }
2461 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2462 ac_clean_files=$ac_clean_files_save
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2464 $as_echo_n "checking for suffix of object files... " >&6; }
2465 if ${ac_cv_objext+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2479 rm -f conftest.o conftest.obj
2480 if { { ac_try="$ac_compile"
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487 (eval "$ac_compile") 2>&5
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; }; then :
2491 for ac_file in conftest.o conftest.obj conftest.*; do
2492 test -f "$ac_file" || continue;
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2495 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2500 $as_echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 as_fn_error $? "cannot compute suffix of object files: cannot compile
2506 See \`config.log' for more details" "$LINENO" 5; }
2508 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2511 $as_echo "$ac_cv_objext" >&6; }
2512 OBJEXT=$ac_cv_objext
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2515 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2516 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2517 $as_echo_n "(cached) " >&6
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2533 if ac_fn_cxx_try_compile "$LINENO"; then :
2538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2539 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2543 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2544 if test $ac_compiler_gnu = yes; then
2549 ac_test_CXXFLAGS=${CXXFLAGS+set}
2550 ac_save_CXXFLAGS=$CXXFLAGS
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2552 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2553 if ${ac_cv_prog_cxx_g+:} false; then :
2554 $as_echo_n "(cached) " >&6
2556 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2557 ac_cxx_werror_flag=yes
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2571 if ac_fn_cxx_try_compile "$LINENO"; then :
2572 ac_cv_prog_cxx_g=yes
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2586 if ac_fn_cxx_try_compile "$LINENO"; then :
2589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2602 if ac_fn_cxx_try_compile "$LINENO"; then :
2603 ac_cv_prog_cxx_g=yes
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2613 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2614 if test "$ac_test_CXXFLAGS" = set; then
2615 CXXFLAGS=$ac_save_CXXFLAGS
2616 elif test $ac_cv_prog_cxx_g = yes; then
2617 if test "$GXX" = yes; then
2623 if test "$GXX" = yes; then
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2636 ac_cpp='$CPP $CPPFLAGS'
2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2640 if test -n "$ac_tool_prefix"; then
2641 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_CC+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$CC"; then
2649 ac_cv_prog_CC="$CC" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$CC"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2671 $as_echo "$CC" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2679 if test -z "$ac_cv_prog_CC"; then
2681 # Extract the first word of "gcc", so it can be a program name with args.
2682 set dummy gcc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$ac_ct_CC"; then
2689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_ac_ct_CC="gcc"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2709 if test -n "$ac_ct_CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2711 $as_echo "$ac_ct_CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2717 if test "x$ac_ct_CC" = x; then
2720 case $cross_compiling:$ac_tool_warned in
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2732 if test -z "$CC"; then
2733 if test -n "$ac_tool_prefix"; then
2734 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2735 set dummy ${ac_tool_prefix}cc; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if ${ac_cv_prog_CC+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC="$CC" # Let the user override the test.
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751 ac_cv_prog_CC="${ac_tool_prefix}cc"
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 if test -n "$CC"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2773 if test -z "$CC"; then
2774 # Extract the first word of "cc", so it can be a program name with args.
2775 set dummy cc; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_CC+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$CC"; then
2782 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2793 ac_prog_rejected=yes
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test $ac_prog_rejected = yes; then
2805 # We found a bogon in the path, so make sure we never use it.
2806 set dummy $ac_cv_prog_CC
2808 if test $@%:@ != 0; then
2809 # We chose a different compiler from the bogus one.
2810 # However, it has the same basename, so the bogon will be chosen
2811 # first if we set CC to just the basename; use the full file name.
2813 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2819 if test -n "$CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2821 $as_echo "$CC" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2829 if test -z "$CC"; then
2830 if test -n "$ac_tool_prefix"; then
2831 for ac_prog in cl.exe
2833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 if test -n "$CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2870 test -n "$CC" && break
2873 if test -z "$CC"; then
2875 for ac_prog in cl.exe
2877 # Extract the first word of "$ac_prog", so it can be a program name with args.
2878 set dummy $ac_prog; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$ac_ct_CC"; then
2885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_ac_ct_CC="$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2914 test -n "$ac_ct_CC" && break
2917 if test "x$ac_ct_CC" = x; then
2920 case $cross_compiling:$ac_tool_warned in
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2924 ac_tool_warned=yes ;;
2933 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error $? "no acceptable C compiler found in \$PATH
2936 See \`config.log' for more details" "$LINENO" 5; }
2938 # Provide some information about the compiler.
2939 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2942 for ac_option in --version -v -V -qversion; do
2943 { { ac_try="$ac_compiler $ac_option >&5"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2952 if test -s conftest.err; then
2954 ... rest of stderr output deleted ...
2955 10q' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2958 rm -f conftest.er1 conftest.err
2959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2964 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2965 if ${ac_cv_c_compiler_gnu+:} false; then :
2966 $as_echo_n "(cached) " >&6
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2982 if ac_fn_c_try_compile "$LINENO"; then :
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2992 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2993 if test $ac_compiler_gnu = yes; then
2998 ac_test_CFLAGS=${CFLAGS+set}
2999 ac_save_CFLAGS=$CFLAGS
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3001 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3002 if ${ac_cv_prog_cc_g+:} false; then :
3003 $as_echo_n "(cached) " >&6
3005 ac_save_c_werror_flag=$ac_c_werror_flag
3006 ac_c_werror_flag=yes
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 if ac_fn_c_try_compile "$LINENO"; then :
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3038 ac_c_werror_flag=$ac_save_c_werror_flag
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3051 if ac_fn_c_try_compile "$LINENO"; then :
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 ac_c_werror_flag=$ac_save_c_werror_flag
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3062 $as_echo "$ac_cv_prog_cc_g" >&6; }
3063 if test "$ac_test_CFLAGS" = set; then
3064 CFLAGS=$ac_save_CFLAGS
3065 elif test $ac_cv_prog_cc_g = yes; then
3066 if test "$GCC" = yes; then
3072 if test "$GCC" = yes; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3079 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3080 if ${ac_cv_prog_cc_c89+:} false; then :
3081 $as_echo_n "(cached) " >&6
3083 ac_cv_prog_cc_c89=no
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 #include <sys/types.h>
3090 #include <sys/stat.h>
3091 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3092 struct buf { int x; };
3093 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3094 static char *e (p, i)
3100 static char *f (char * (*g) (char **, int), char **p, ...)
3105 s = g (p, va_arg (v,int));
3110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3111 function prototypes and stuff, but not '\xHH' hex character constants.
3112 These don't provoke an error unfortunately, instead are silently treated
3113 as 'x'. The following induces an error, until -std is added to get
3114 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3115 array size at least. It's necessary to write '\x00'==0 to get something
3116 that's true only with -std. */
3117 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3119 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3120 inside strings and character constants. */
3122 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3124 int test (int i, double x);
3125 struct s1 {int (*f) (int a);};
3126 struct s2 {int (*f) (double a);};
3127 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3133 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3138 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3139 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3141 CC="$ac_save_CC $ac_arg"
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 ac_cv_prog_cc_c89=$ac_arg
3145 rm -f core conftest.err conftest.$ac_objext
3146 test "x$ac_cv_prog_cc_c89" != "xno" && break
3148 rm -f conftest.$ac_ext
3153 case "x$ac_cv_prog_cc_c89" in
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3156 $as_echo "none needed" >&6; } ;;
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3159 $as_echo "unsupported" >&6; } ;;
3161 CC="$CC $ac_cv_prog_cc_c89"
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3163 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3165 if test "x$ac_cv_prog_cc_c89" != xno; then :
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3176 ac_cpp='$CPP $CPPFLAGS'
3177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3182 # On Suns, sometimes $CPP names a directory.
3183 if test -n "$CPP" && test -d "$CPP"; then
3186 if test -z "$CPP"; then
3187 if ${ac_cv_prog_CPP+:} false; then :
3188 $as_echo_n "(cached) " >&6
3190 # Double quotes because CPP needs to be expanded
3191 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3194 for ac_c_preproc_warn_flag in '' yes
3196 # Use a header file that comes with gcc, so configuring glibc
3197 # with a fresh cross-compiler works.
3198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3199 # <limits.h> exists even on freestanding compilers.
3200 # On the NeXT, cc -E runs the code through the compiler's parser,
3201 # not just through cpp. "Syntax error" is here to catch this case.
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3205 @%:@ include <limits.h>
3207 @%:@ include <assert.h>
3211 if ac_fn_c_try_cpp "$LINENO"; then :
3214 # Broken: fails on valid input.
3217 rm -f conftest.err conftest.i conftest.$ac_ext
3219 # OK, works on sane cases. Now check whether nonexistent headers
3220 # can be detected and how.
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3223 @%:@include <ac_nonexistent.h>
3225 if ac_fn_c_try_cpp "$LINENO"; then :
3226 # Broken: success on invalid input.
3229 # Passes both tests.
3233 rm -f conftest.err conftest.i conftest.$ac_ext
3236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3237 rm -f conftest.i conftest.err conftest.$ac_ext
3238 if $ac_preproc_ok; then :
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3251 $as_echo "$CPP" >&6; }
3253 for ac_c_preproc_warn_flag in '' yes
3255 # Use a header file that comes with gcc, so configuring glibc
3256 # with a fresh cross-compiler works.
3257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3258 # <limits.h> exists even on freestanding compilers.
3259 # On the NeXT, cc -E runs the code through the compiler's parser,
3260 # not just through cpp. "Syntax error" is here to catch this case.
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3264 @%:@ include <limits.h>
3266 @%:@ include <assert.h>
3270 if ac_fn_c_try_cpp "$LINENO"; then :
3273 # Broken: fails on valid input.
3276 rm -f conftest.err conftest.i conftest.$ac_ext
3278 # OK, works on sane cases. Now check whether nonexistent headers
3279 # can be detected and how.
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3282 @%:@include <ac_nonexistent.h>
3284 if ac_fn_c_try_cpp "$LINENO"; then :
3285 # Broken: success on invalid input.
3288 # Passes both tests.
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3296 rm -f conftest.i conftest.err conftest.$ac_ext
3297 if $ac_preproc_ok; then :
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3303 See \`config.log' for more details" "$LINENO" 5; }
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313 # Checks for libraries.
3317 @%:@ Check whether --with-wxdir was given.
3318 if test "${with_wxdir+set}" = set; then :
3319 withval=$with_wxdir; wx_config_name="$withval/wx-config"
3320 wx_config_args="--inplace"
3324 @%:@ Check whether --with-wx-config was given.
3325 if test "${with_wx_config+set}" = set; then :
3326 withval=$with_wx_config; wx_config_name="$withval"
3330 @%:@ Check whether --with-wx-prefix was given.
3331 if test "${with_wx_prefix+set}" = set; then :
3332 withval=$with_wx_prefix; wx_config_prefix="$withval"
3338 @%:@ Check whether --with-wx-exec-prefix was given.
3339 if test "${with_wx_exec_prefix+set}" = set; then :
3340 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3342 wx_config_exec_prefix=""
3348 if test x${WX_CONFIG_NAME+set} != xset ; then
3349 WX_CONFIG_NAME=wx-config
3352 if test "x$wx_config_name" != x ; then
3353 WX_CONFIG_NAME="$wx_config_name"
3356 if test x$wx_config_exec_prefix != x ; then
3357 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3358 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3360 if test x$wx_config_prefix != x ; then
3361 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3362 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3364 if test "$cross_compiling" = "yes"; then
3365 wx_config_args="$wx_config_args --host=$host_alias"
3368 if test -x "$WX_CONFIG_NAME" ; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3370 $as_echo_n "checking for wx-config... " >&6; }
3371 WX_CONFIG_PATH="$WX_CONFIG_NAME"
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3373 $as_echo "$WX_CONFIG_PATH" >&6; }
3375 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3376 set dummy $WX_CONFIG_NAME; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3380 $as_echo_n "(cached) " >&6
3382 case $WX_CONFIG_PATH in
3384 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3389 for as_dir in $as_dummy
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3407 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3408 if test -n "$WX_CONFIG_PATH"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3410 $as_echo "$WX_CONFIG_PATH" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3419 if test "$WX_CONFIG_PATH" != "no" ; then
3422 min_wx_version=$reqwx
3423 if test -z "" ; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3425 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3428 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3431 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
3433 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3434 wx_config_major_version=`echo $WX_VERSION | \
3435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3436 wx_config_minor_version=`echo $WX_VERSION | \
3437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3438 wx_config_micro_version=`echo $WX_VERSION | \
3439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3441 wx_requested_major_version=`echo $min_wx_version | \
3442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3443 wx_requested_minor_version=`echo $min_wx_version | \
3444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3445 wx_requested_micro_version=`echo $min_wx_version | \
3446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3450 if test "x$WX_VERSION" != x ; then
3451 if test $wx_config_major_version -gt $wx_requested_major_version; then
3454 if test $wx_config_major_version -eq $wx_requested_major_version; then
3455 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3458 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3459 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3469 if test -n "$wx_ver_ok"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3472 $as_echo "yes (version $WX_VERSION)" >&6; }
3473 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3476 $as_echo_n "checking for wxWidgets static library... " >&6; }
3477 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
3478 if test "x$WX_LIBS_STATIC" = "x"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483 $as_echo "yes" >&6; }
3487 if test $wx_config_major_version -gt 2; then
3490 if test $wx_config_major_version -eq 2; then
3491 if test $wx_config_minor_version -gt 2; then
3494 if test $wx_config_minor_version -eq 2; then
3495 if test $wx_config_micro_version -ge 6; then
3504 if test $wx_config_major_version -gt 2; then
3507 if test $wx_config_major_version -eq 2; then
3508 if test $wx_config_minor_version -ge 7; then
3513 if test "x$wx_has_rescomp" = x ; then
3516 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
3519 if test "x$wx_has_cppflags" = x ; then
3520 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3521 WX_CPPFLAGS=$WX_CFLAGS
3522 WX_CXXFLAGS=$WX_CFLAGS
3524 WX_CFLAGS_ONLY=$WX_CFLAGS
3525 WX_CXXFLAGS_ONLY=$WX_CFLAGS
3527 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
3528 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
3529 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3531 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
3532 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
3539 if test "x$WX_VERSION" = x; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
3544 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
3579 if test "$wxWin" != 1; then
3581 wxWidgets must be installed on your system.
3583 Please check that wx-config is in path, the directory where wxWidgets libraries
3584 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
3585 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
3590 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
3591 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
3592 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
3593 LIBS="$LIBS $WX_LIBS"
3595 # FIXME: Replace `main' with a function in `-lboost_filesystem':
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem" >&5
3598 $as_echo_n "checking for main in -lboost_filesystem... " >&6; }
3599 if ${ac_cv_lib_boost_filesystem_main+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 ac_check_lib_save_LIBS=$LIBS
3603 LIBS="-lboost_filesystem $LIBS"
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3616 if ac_fn_c_try_link "$LINENO"; then :
3617 ac_cv_lib_boost_filesystem_main=yes
3619 ac_cv_lib_boost_filesystem_main=no
3621 rm -f core conftest.err conftest.$ac_objext \
3622 conftest$ac_exeext conftest.$ac_ext
3623 LIBS=$ac_check_lib_save_LIBS
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_main" >&5
3626 $as_echo "$ac_cv_lib_boost_filesystem_main" >&6; }
3627 if test "x$ac_cv_lib_boost_filesystem_main" = xyes; then :
3628 cat >>confdefs.h <<_ACEOF
3629 @%:@define HAVE_LIBBOOST_FILESYSTEM 1
3632 LIBS="-lboost_filesystem $LIBS"
3636 echo "Error! Boost Filesystem Library (libboost_filesystem) is not installed!
3637 Please check that this library is installed property before
3638 running configure again."
3643 # FIXME: Replace `main' with a function in `-lboost_system':
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_system" >&5
3645 $as_echo_n "checking for main in -lboost_system... " >&6; }
3646 if ${ac_cv_lib_boost_system_main+:} false; then :
3647 $as_echo_n "(cached) " >&6
3649 ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-lboost_system $LIBS"
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3663 if ac_fn_c_try_link "$LINENO"; then :
3664 ac_cv_lib_boost_system_main=yes
3666 ac_cv_lib_boost_system_main=no
3668 rm -f core conftest.err conftest.$ac_objext \
3669 conftest$ac_exeext conftest.$ac_ext
3670 LIBS=$ac_check_lib_save_LIBS
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_system_main" >&5
3673 $as_echo "$ac_cv_lib_boost_system_main" >&6; }
3674 if test "x$ac_cv_lib_boost_system_main" = xyes; then :
3675 cat >>confdefs.h <<_ACEOF
3676 @%:@define HAVE_LIBBOOST_SYSTEM 1
3679 LIBS="-lboost_system $LIBS"
3683 echo "Error! Boost System Library (libboost_system) is not installed!
3684 Please check that this library is installed property before
3685 running configure again."
3690 #AC_CHECK_PROG([WXCONFIG], [wx-config])
3692 # Checks for header files.
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3695 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3696 if ${ac_cv_path_GREP+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -z "$GREP"; then
3700 ac_path_GREP_found=false
3701 # Loop through the user's path and test for each of PROGNAME-LIST
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3706 test -z "$as_dir" && as_dir=.
3707 for ac_prog in grep ggrep; do
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3710 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3711 # Check for GNU ac_path_GREP and select it if it is found.
3712 # Check for GNU $ac_path_GREP
3713 case `"$ac_path_GREP" --version 2>&1` in
3715 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3718 $as_echo_n 0123456789 >"conftest.in"
3721 cat "conftest.in" "conftest.in" >"conftest.tmp"
3722 mv "conftest.tmp" "conftest.in"
3723 cp "conftest.in" "conftest.nl"
3724 $as_echo 'GREP' >> "conftest.nl"
3725 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3727 as_fn_arith $ac_count + 1 && ac_count=$as_val
3728 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3729 # Best one so far, save it but keep looking for a better one
3730 ac_cv_path_GREP="$ac_path_GREP"
3731 ac_path_GREP_max=$ac_count
3733 # 10*(2^10) chars as input seems more than enough
3734 test $ac_count -gt 10 && break
3736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3739 $ac_path_GREP_found && break 3
3744 if test -z "$ac_cv_path_GREP"; then
3745 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3748 ac_cv_path_GREP=$GREP
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3753 $as_echo "$ac_cv_path_GREP" >&6; }
3754 GREP="$ac_cv_path_GREP"
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3758 $as_echo_n "checking for egrep... " >&6; }
3759 if ${ac_cv_path_EGREP+:} false; then :
3760 $as_echo_n "(cached) " >&6
3762 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3763 then ac_cv_path_EGREP="$GREP -E"
3765 if test -z "$EGREP"; then
3766 ac_path_EGREP_found=false
3767 # Loop through the user's path and test for each of PROGNAME-LIST
3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3772 test -z "$as_dir" && as_dir=.
3773 for ac_prog in egrep; do
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3776 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3777 # Check for GNU ac_path_EGREP and select it if it is found.
3778 # Check for GNU $ac_path_EGREP
3779 case `"$ac_path_EGREP" --version 2>&1` in
3781 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3784 $as_echo_n 0123456789 >"conftest.in"
3787 cat "conftest.in" "conftest.in" >"conftest.tmp"
3788 mv "conftest.tmp" "conftest.in"
3789 cp "conftest.in" "conftest.nl"
3790 $as_echo 'EGREP' >> "conftest.nl"
3791 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3792 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3793 as_fn_arith $ac_count + 1 && ac_count=$as_val
3794 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3795 # Best one so far, save it but keep looking for a better one
3796 ac_cv_path_EGREP="$ac_path_EGREP"
3797 ac_path_EGREP_max=$ac_count
3799 # 10*(2^10) chars as input seems more than enough
3800 test $ac_count -gt 10 && break
3802 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3805 $ac_path_EGREP_found && break 3
3810 if test -z "$ac_cv_path_EGREP"; then
3811 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3814 ac_cv_path_EGREP=$EGREP
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3820 $as_echo "$ac_cv_path_EGREP" >&6; }
3821 EGREP="$ac_cv_path_EGREP"
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3825 $as_echo_n "checking for ANSI C header files... " >&6; }
3826 if ${ac_cv_header_stdc+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845 ac_cv_header_stdc=yes
3847 ac_cv_header_stdc=no
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 if test $ac_cv_header_stdc = yes; then
3852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859 $EGREP "memchr" >/dev/null 2>&1; then :
3862 ac_cv_header_stdc=no
3868 if test $ac_cv_header_stdc = yes; then
3869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876 $EGREP "free" >/dev/null 2>&1; then :
3879 ac_cv_header_stdc=no
3885 if test $ac_cv_header_stdc = yes; then
3886 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3887 if test "$cross_compiling" = yes; then :
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3894 #if ((' ' & 0x0FF) == 0x020)
3895 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3896 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3898 # define ISLOWER(c) \
3899 (('a' <= (c) && (c) <= 'i') \
3900 || ('j' <= (c) && (c) <= 'r') \
3901 || ('s' <= (c) && (c) <= 'z'))
3902 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3905 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3910 for (i = 0; i < 256; i++)
3911 if (XOR (islower (i), ISLOWER (i))
3912 || toupper (i) != TOUPPER (i))
3917 if ac_fn_c_try_run "$LINENO"; then :
3920 ac_cv_header_stdc=no
3922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3923 conftest.$ac_objext conftest.beam conftest.$ac_ext
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3929 $as_echo "$ac_cv_header_stdc" >&6; }
3930 if test $ac_cv_header_stdc = yes; then
3932 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
3936 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3937 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3938 inttypes.h stdint.h unistd.h
3940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3944 cat >>confdefs.h <<_ACEOF
3945 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3953 for ac_header in stdlib.h string.h
3955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3958 cat >>confdefs.h <<_ACEOF
3959 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3967 # Checks for typedefs, structures, and compiler characteristics.
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3969 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3970 if ${ac_cv_header_stdbool_h+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h. */
3976 #include <stdbool.h>
3978 "error: bool is not defined"
3981 "error: false is not defined"
3984 "error: false is not 0"
3987 "error: true is not defined"
3990 "error: true is not 1"
3992 #ifndef __bool_true_false_are_defined
3993 "error: __bool_true_false_are_defined is not defined"
3996 struct s { _Bool s: 1; _Bool t; } s;
3998 char a[true == 1 ? 1 : -1];
3999 char b[false == 0 ? 1 : -1];
4000 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4001 char d[(bool) 0.5 == true ? 1 : -1];
4002 /* See body of main program for 'e'. */
4003 char f[(_Bool) 0.0 == false ? 1 : -1];
4005 char h[sizeof (_Bool)];
4007 enum { j = false, k = true, l = false * true, m = true * 256 };
4008 /* The following fails for
4009 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4011 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4012 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4013 /* Catch a bug in an HP-UX C compiler. See
4014 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4015 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4027 /* Refer to every declared value, to avoid compiler optimizations. */
4028 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4029 + !m + !n + !o + !p + !q + !pq);
4035 if ac_fn_c_try_compile "$LINENO"; then :
4036 ac_cv_header_stdbool_h=yes
4038 ac_cv_header_stdbool_h=no
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4043 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4044 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4045 if test "x$ac_cv_type__Bool" = xyes; then :
4047 cat >>confdefs.h <<_ACEOF
4048 @%:@define HAVE__BOOL 1
4054 if test $ac_cv_header_stdbool_h = yes; then
4056 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4061 $as_echo_n "checking for inline... " >&6; }
4062 if ${ac_cv_c_inline+:} false; then :
4063 $as_echo_n "(cached) " >&6
4066 for ac_kw in inline __inline__ __inline; do
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4071 static $ac_kw foo_t static_foo () {return 0; }
4072 $ac_kw foo_t foo () {return 0; }
4076 if ac_fn_c_try_compile "$LINENO"; then :
4077 ac_cv_c_inline=$ac_kw
4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 test "$ac_cv_c_inline" != no && break
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4085 $as_echo "$ac_cv_c_inline" >&6; }
4087 case $ac_cv_c_inline in
4090 case $ac_cv_c_inline in
4092 *) ac_val=$ac_cv_c_inline;;
4094 cat >>confdefs.h <<_ACEOF
4096 #define inline $ac_val
4103 # Checks for library functions.
4105 ac_config_files="$ac_config_files Makefile"
4107 cat >confcache <<\_ACEOF
4108 # This file is a shell script that caches the results of configure
4109 # tests run on this system so they can be shared between configure
4110 # scripts and configure runs, see configure's option --config-cache.
4111 # It is not useful on other systems. If it contains results you don't
4112 # want to keep, you may remove or edit it.
4114 # config.status only pays attention to the cache file if you give it
4115 # the --recheck option to rerun configure.
4117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4123 # The following way of writing the cache mishandles newlines in values,
4124 # but we know of no workaround that is simple, portable, and efficient.
4125 # So, we kill variables containing newlines.
4126 # Ultrix sh set writes to stderr and can't be redirected directly,
4127 # and sets the high bit in the cache file unless we assign to the vars.
4129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4130 eval ac_val=\$$ac_var
4134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4138 _ | IFS | as_nl) ;; #(
4139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4140 *) { eval $ac_var=; unset $ac_var;} ;;
4146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4147 *${as_nl}ac_space=\ *)
4148 # `set' does not quote correctly, so add quotes: double-quote
4149 # substitution turns \\\\ into \\, and sed turns \\ into \.
4152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4155 # `set' quotes correctly as required by POSIX, so do not add quotes.
4156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4170 if test -w "$cache_file"; then
4171 if test "x$cache_file" != "x/dev/null"; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4173 $as_echo "$as_me: updating cache $cache_file" >&6;}
4174 if test ! -f "$cache_file" || test -h "$cache_file"; then
4175 cat confcache >"$cache_file"
4177 case $cache_file in #(
4179 mv -f confcache "$cache_file"$$ &&
4180 mv -f "$cache_file"$$ "$cache_file" ;; #(
4182 mv -f confcache "$cache_file" ;;
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4193 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4194 # Let make expand exec_prefix.
4195 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4197 # Transform confdefs.h into DEFS.
4198 # Protect against shell expansion while executing Makefile rules.
4199 # Protect against Makefile macro expansion.
4201 # If the first sed substitution is executed (which looks for macros that
4202 # take arguments), then branch to the quote section. Otherwise,
4203 # look for a macro that doesn't take arguments.
4213 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4215 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4219 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4232 DEFS=`sed -n "$ac_script" confdefs.h`
4238 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4239 # 1. Remove the extension, and $U if already installed.
4240 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4241 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4243 # will be set to the directory where LIBOBJS objects are built.
4244 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4245 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4247 LIB@&t@OBJS=$ac_libobjs
4249 LTLIBOBJS=$ac_ltlibobjs
4253 : "${CONFIG_STATUS=./config.status}"
4255 ac_clean_files_save=$ac_clean_files
4256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4262 # Generated by $as_me.
4263 # Run this file to recreate the current configuration.
4264 # Compiler output produced by configure, useful for debugging
4265 # configure, is in config.log if it exists.
4271 SHELL=\${CONFIG_SHELL-$SHELL}
4274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4275 ## -------------------- ##
4276 ## M4sh Initialization. ##
4277 ## -------------------- ##
4279 # Be more Bourne compatible
4280 DUALCASE=1; export DUALCASE # for MKS sh
4281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4285 # is contrary to our usage. Disable this feature.
4286 alias -g '${1+"$@"}'='"$@"'
4287 setopt NO_GLOB_SUBST
4289 case `(set -o) 2>/dev/null` in @%:@(
4291 set -o posix ;; @%:@(
4301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4302 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4305 # Prefer a ksh shell builtin over an external printf program on Solaris,
4306 # but without wasting forks for bash or zsh.
4307 if test -z "$BASH_VERSION$ZSH_VERSION" \
4308 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4309 as_echo='print -r --'
4310 as_echo_n='print -rn --'
4311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4312 as_echo='printf %s\n'
4313 as_echo_n='printf %s'
4315 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4316 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4317 as_echo_n='/usr/ucb/echo -n'
4319 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4320 as_echo_n_body='eval
4324 expr "X$arg" : "X\\(.*\\)$as_nl";
4325 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4327 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4329 export as_echo_n_body
4330 as_echo_n='sh -c $as_echo_n_body as_echo'
4333 as_echo='sh -c $as_echo_body as_echo'
4336 # The user is always right.
4337 if test "${PATH_SEPARATOR+set}" != set; then
4339 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4340 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4347 # We need space, tab and new line, in precisely that order. Quoting is
4348 # there to prevent editors from complaining about space-tab.
4349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4350 # splitting by setting IFS to empty value.)
4353 # Find who we are. Look in the path if we contain no directory separator.
4356 *[\\/]* ) as_myself=$0 ;;
4357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir=.
4362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4368 # We did not find ourselves, most probably we were run as `sh COMMAND'
4369 # in which case we are not to be found in the path.
4370 if test "x$as_myself" = x; then
4373 if test ! -f "$as_myself"; then
4374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4378 # Unset variables that we do not need and which cause bugs (e.g. in
4379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4380 # suppresses any "Segmentation fault" message there. '((' could
4381 # trigger a bug in pdksh 5.2.14.
4382 for as_var in BASH_ENV ENV MAIL MAILPATH
4383 do eval test x\${$as_var+set} = xset \
4384 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4400 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4401 @%:@ ----------------------------------------
4402 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4403 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4404 @%:@ script with STATUS, using 1 if that was 0.
4407 as_status=$1; test $as_status -eq 0 && as_status=1
4409 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4412 $as_echo "$as_me: error: $2" >&2
4413 as_fn_exit $as_status
4417 @%:@ as_fn_set_status STATUS
4418 @%:@ -----------------------
4419 @%:@ Set @S|@? to STATUS, without forking.
4423 } @%:@ as_fn_set_status
4425 @%:@ as_fn_exit STATUS
4426 @%:@ -----------------
4427 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4435 @%:@ as_fn_unset VAR
4436 @%:@ ---------------
4437 @%:@ Portably unset VAR.
4440 { eval $1=; unset $1;}
4442 as_unset=as_fn_unset
4443 @%:@ as_fn_append VAR VALUE
4444 @%:@ ----------------------
4445 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4446 @%:@ advantage of any shell optimizations that allow amortized linear growth over
4447 @%:@ repeated appends, instead of the typical quadratic growth present in naive
4448 @%:@ implementations.
4449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4450 eval 'as_fn_append ()
4461 @%:@ as_fn_arith ARG...
4462 @%:@ ------------------
4463 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4464 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4465 @%:@ must be portable across @S|@(()) and expr.
4466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4467 eval 'as_fn_arith ()
4474 as_val=`expr "$@" || test $? -eq 1`
4479 if expr a : '\(a\)' >/dev/null 2>&1 &&
4480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4487 as_basename=basename
4492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4498 as_me=`$as_basename -- "$0" ||
4499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4500 X"$0" : 'X\(//\)$' \| \
4501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4503 sed '/^.*\/\([^/][^/]*\)\/*$/{
4517 # Avoid depending upon Character Ranges.
4518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4521 as_cr_digits='0123456789'
4522 as_cr_alnum=$as_cr_Letters$as_cr_digits
4524 ECHO_C= ECHO_N= ECHO_T=
4525 case `echo -n x` in @%:@(((((
4527 case `echo 'xy\c'` in
4528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4537 rm -f conf$$ conf$$.exe conf$$.file
4538 if test -d conf$$.dir; then
4539 rm -f conf$$.dir/conf$$.file
4542 mkdir conf$$.dir 2>/dev/null
4544 if (echo >conf$$.file) 2>/dev/null; then
4545 if ln -s conf$$.file conf$$ 2>/dev/null; then
4547 # ... but there are two gotchas:
4548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4550 # In both cases, we have to default to `cp -p'.
4551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4553 elif ln conf$$.file conf$$ 2>/dev/null; then
4561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4562 rmdir conf$$.dir 2>/dev/null
4567 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4572 -*) as_dir=./$as_dir;;
4574 test -d "$as_dir" || eval $as_mkdir_p || {
4578 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4579 *) as_qdir=$as_dir;;
4581 as_dirs="'$as_qdir' $as_dirs"
4582 as_dir=`$as_dirname -- "$as_dir" ||
4583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4584 X"$as_dir" : 'X\(//\)[^/]' \| \
4585 X"$as_dir" : 'X\(//\)$' \| \
4586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4587 $as_echo X"$as_dir" |
4588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4605 test -d "$as_dir" && break
4607 test -z "$as_dirs" || eval "mkdir $as_dirs"
4608 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4611 } @%:@ as_fn_mkdir_p
4612 if mkdir -p . 2>/dev/null; then
4613 as_mkdir_p='mkdir -p "$as_dir"'
4615 test -d ./-p && rmdir ./-p
4619 if test -x / >/dev/null 2>&1; then
4622 if ls -dL / >/dev/null 2>&1; then
4629 if test -d "$1"; then
4635 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
4636 ???[sx]*):;;*)false;;esac;fi
4640 as_executable_p=$as_test_x
4642 # Sed expression to map a string onto a valid CPP name.
4643 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4645 # Sed expression to map a string onto a valid variable name.
4646 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4650 ## ----------------------------------- ##
4651 ## Main body of $CONFIG_STATUS script. ##
4652 ## ----------------------------------- ##
4654 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4657 # Save the log message, to keep $0 and so on meaningful, and to
4658 # report actual input values of CONFIG_FILES etc. instead of their
4659 # values after options handling.
4661 This file was extended by Xestia Address Book $as_me 1.0, which was
4662 generated by GNU Autoconf 2.68. Invocation command line was
4664 CONFIG_FILES = $CONFIG_FILES
4665 CONFIG_HEADERS = $CONFIG_HEADERS
4666 CONFIG_LINKS = $CONFIG_LINKS
4667 CONFIG_COMMANDS = $CONFIG_COMMANDS
4670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4675 case $ac_config_files in *"
4676 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4682 # Files that config.status was made for.
4683 config_files="$ac_config_files"
4687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4689 \`$as_me' instantiates files and other configuration actions
4690 from templates according to the current configuration. Unless the files
4691 and actions are specified as TAGs, all are instantiated by default.
4693 Usage: $0 [OPTION]... [TAG]...
4695 -h, --help print this help, then exit
4696 -V, --version print version number and configuration settings, then exit
4697 --config print configuration, then exit
4698 -q, --quiet, --silent
4699 do not print progress messages
4700 -d, --debug don't remove temporary files
4701 --recheck update $as_me by reconfiguring in the same conditions
4702 --file=FILE[:TEMPLATE]
4703 instantiate the configuration file FILE
4705 Configuration files:
4708 Report bugs to <bugs@xestia.co.uk>."
4711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4712 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4714 Xestia Address Book config.status 1.0
4715 configured by $0, generated by GNU Autoconf 2.68,
4716 with options \\"\$ac_cs_config\\"
4718 Copyright (C) 2010 Free Software Foundation, Inc.
4719 This config.status script is free software; the Free Software Foundation
4720 gives unlimited permission to copy, distribute and modify it."
4724 test -n "\$AWK" || AWK=awk
4727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4728 # The default lists apply if the user does not specify any file.
4734 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4735 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4751 # Handling of the options.
4752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4754 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4755 $as_echo "$ac_cs_version"; exit ;;
4756 --config | --confi | --conf | --con | --co | --c )
4757 $as_echo "$ac_cs_config"; exit ;;
4758 --debug | --debu | --deb | --de | --d | -d )
4760 --file | --fil | --fi | --f )
4763 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4764 '') as_fn_error $? "missing file argument" ;;
4766 as_fn_append CONFIG_FILES " '$ac_optarg'"
4767 ac_need_defaults=false;;
4768 --he | --h | --help | --hel | -h )
4769 $as_echo "$ac_cs_usage"; exit ;;
4770 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4771 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4775 -*) as_fn_error $? "unrecognized option: \`$1'
4776 Try \`$0 --help' for more information." ;;
4778 *) as_fn_append ac_config_targets " $1"
4779 ac_need_defaults=false ;;
4785 ac_configure_extra_args=
4787 if $ac_cs_silent; then
4789 ac_configure_extra_args="$ac_configure_extra_args --silent"
4793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4794 if \$ac_cs_recheck; then
4795 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4797 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4798 CONFIG_SHELL='$SHELL'
4804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4808 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4809 @%:@@%:@ Running $as_me. @%:@@%:@
4815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4820 # Handling of arguments.
4821 for ac_config_target in $ac_config_targets
4823 case $ac_config_target in
4824 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4826 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4831 # If the user did not use the arguments to specify the items to instantiate,
4832 # then the envvar interface is used. Set only those that are not.
4833 # We use the long form for the default assignment because of an extremely
4834 # bizarre bug on SunOS 4.1.3.
4835 if $ac_need_defaults; then
4836 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4839 # Have a temporary directory for convenience. Make it in the build tree
4840 # simply because there is no reason against having it here, and in addition,
4841 # creating and moving files from /tmp can sometimes cause problems.
4842 # Hook for its removal unless debugging.
4843 # Note that there is a small window in which the directory will not be cleaned:
4844 # after its creation but before its name has been assigned to `$tmp'.
4848 trap 'exit_status=$?
4850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4852 trap 'as_fn_exit 1' 1 2 13 15
4854 # Create a (secure) tmp directory for tmp files.
4857 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4861 tmp=./conf$$-$RANDOM
4862 (umask 077 && mkdir "$tmp")
4863 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4866 # Set up the scripts for CONFIG_FILES section.
4867 # No need to generate them if there are no CONFIG_FILES.
4868 # This happens for instance with `./config.status config.h'.
4869 if test -n "$CONFIG_FILES"; then
4872 ac_cr=`echo X | tr X '\015'`
4873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4874 # But we know of no other shell where ac_cr would be empty at this
4875 # point, so we can use a bashism as a fallback.
4876 if test "x$ac_cr" = x; then
4877 eval ac_cr=\$\'\\r\'
4879 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4891 echo "cat >conf$$subs.awk <<_ACEOF" &&
4892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4898 for ac_last_try in false false false false false :; do
4899 . ./conf$$subs.sh ||
4900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4902 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4903 if test $ac_delim_n = $ac_delim_num; then
4905 elif $ac_last_try; then
4906 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4914 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4918 s/^/S["/; s/!.*/"]=/
4928 s/\(.\{148\}\)..*/\1/
4930 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4935 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4942 s/\(.\{148\}\)..*/\1/
4944 s/["\\]/\\&/g; s/^/"/; s/$/"/
4948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4953 ' <conf$$subs.awk | sed '
4958 ' >>$CONFIG_STATUS || ac_write_fail=1
4959 rm -f conf$$subs.awk
4960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4962 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4963 for (key in S) S_is_set[key] = 1
4969 nfields = split(line, field, "@")
4971 len = length(field[1])
4972 for (i = 2; i < nfields; i++) {
4974 keylen = length(key)
4975 if (S_is_set[key]) {
4977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4978 len += length(value) + length(field[++i])
4989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4990 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4991 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4994 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4995 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5000 # trailing colons and then remove the whole line if VPATH becomes empty
5001 # (actually we leave an empty line to preserve line numbers).
5002 if test "x$srcdir" = x.; then
5003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5022 fi # test -n "$CONFIG_FILES"
5025 eval set X " :F $CONFIG_FILES "
5030 :[FHLC]) ac_mode=$ac_tag; continue;;
5032 case $ac_mode$ac_tag in
5034 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5035 :[FH]-) ac_tag=-:-;;
5036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5053 -) ac_f="$ac_tmp/stdin";;
5054 *) # Look for the file first in the build tree, then in the source tree
5055 # (if the path is not absolute). The absolute path cannot be DOS-style,
5056 # because $ac_f cannot contain `:'.
5060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5064 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5065 as_fn_append ac_file_inputs " '$ac_f'"
5068 # Let's still pretend it is `configure' which instantiates (i.e., don't
5069 # use $as_me), people would be surprised to read:
5070 # /* config.h. Generated by config.status. */
5071 configure_input='Generated from '`
5072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5074 if test x"$ac_file" != x-; then
5075 configure_input="$ac_file. $configure_input"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5077 $as_echo "$as_me: creating $ac_file" >&6;}
5079 # Neutralize special characters interpreted by sed in replacement strings.
5080 case $configure_input in #(
5081 *\&* | *\|* | *\\* )
5082 ac_sed_conf_input=`$as_echo "$configure_input" |
5083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5084 *) ac_sed_conf_input=$configure_input;;
5088 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5094 ac_dir=`$as_dirname -- "$ac_file" ||
5095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5096 X"$ac_file" : 'X\(//\)[^/]' \| \
5097 X"$ac_file" : 'X\(//\)$' \| \
5098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5099 $as_echo X"$ac_file" |
5100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5117 as_dir="$ac_dir"; as_fn_mkdir_p
5121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5123 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5124 # A ".." for each directory in $ac_dir_suffix.
5125 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5126 case $ac_top_builddir_sub in
5127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5131 ac_abs_top_builddir=$ac_pwd
5132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5133 # for backward compatibility:
5134 ac_top_builddir=$ac_top_build_prefix
5137 .) # We are building in place.
5139 ac_top_srcdir=$ac_top_builddir_sub
5140 ac_abs_top_srcdir=$ac_pwd ;;
5141 [\\/]* | ?:[\\/]* ) # Absolute name.
5142 ac_srcdir=$srcdir$ac_dir_suffix;
5143 ac_top_srcdir=$srcdir
5144 ac_abs_top_srcdir=$srcdir ;;
5146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5147 ac_top_srcdir=$ac_top_build_prefix$srcdir
5148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5162 # If the template does not know about datarootdir, expand it.
5163 # FIXME: This hack should be removed a few years after 2.60.
5164 ac_datarootdir_hack=; ac_datarootdir_seen=
5175 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5176 *datarootdir*) ac_datarootdir_seen=yes;;
5177 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5179 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5182 ac_datarootdir_hack='
5183 s&@datadir@&$datadir&g
5184 s&@docdir@&$docdir&g
5185 s&@infodir@&$infodir&g
5186 s&@localedir@&$localedir&g
5187 s&@mandir@&$mandir&g
5188 s&\\\${datarootdir}&$datarootdir&g' ;;
5192 # Neutralize VPATH when `$srcdir' = `.'.
5193 # Shell code in configure.ac might set extrasub.
5194 # FIXME: do we really want to maintain this feature?
5195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5196 ac_sed_extra="$ac_vpsub
5199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5202 s|@configure_input@|$ac_sed_conf_input|;t t
5203 s&@top_builddir@&$ac_top_builddir_sub&;t t
5204 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5205 s&@srcdir@&$ac_srcdir&;t t
5206 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5207 s&@top_srcdir@&$ac_top_srcdir&;t t
5208 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5209 s&@builddir@&$ac_builddir&;t t
5210 s&@abs_builddir@&$ac_abs_builddir&;t t
5211 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5212 $ac_datarootdir_hack
5214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5215 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5218 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5220 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5222 which seems to be undefined. Please make sure it is defined" >&5
5223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5224 which seems to be undefined. Please make sure it is defined" >&2;}
5226 rm -f "$ac_tmp/stdin"
5228 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5229 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5231 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5243 ac_clean_files=$ac_clean_files_save
5245 test $ac_write_fail = 0 ||
5246 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5249 # configure is writing to config.log, and then calls config.status.
5250 # config.status does its own redirection, appending to config.log.
5251 # Unfortunately, on DOS this fails, as config.log is still kept open
5252 # by configure, so config.status won't be able to write to it; its
5253 # output is simply discarded. So we exec the FD to /dev/null,
5254 # effectively closing config.log, so it can be properly (re)opened and
5255 # appended to by config.status. When coming back to configure, we
5256 # need to make the FD available again.
5257 if test "$no_create" != yes; then
5259 ac_config_status_args=
5260 test "$silent" = yes &&
5261 ac_config_status_args="$ac_config_status_args --quiet"
5263 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5265 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5266 # would make configure fail if this is the last instruction.
5267 $ac_cs_success || as_fn_exit 1
5269 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5271 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}