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
646 program_transform_name
659 enable_option_checking
661 ac_precious_vars='build_alias
675 # Initialize some variables set by options.
677 ac_init_version=false
678 ac_unrecognized_opts=
680 # The variables have the same names as the options, with
681 # dashes changed to underlines.
689 program_transform_name=s,x,x,
697 # Installation directory options.
698 # These are left unexpanded so users can "make install exec_prefix=/foo"
699 # and all the variables that are supposed to be based on exec_prefix
700 # by default will actually change.
701 # Use braces instead of parens because sh, perl, etc. also accept them.
702 # (The list follows the same order as the GNU Coding Standards.)
703 bindir='${exec_prefix}/bin'
704 sbindir='${exec_prefix}/sbin'
705 libexecdir='${exec_prefix}/libexec'
706 datarootdir='${prefix}/share'
707 datadir='${datarootdir}'
708 sysconfdir='${prefix}/etc'
709 sharedstatedir='${prefix}/com'
710 localstatedir='${prefix}/var'
711 includedir='${prefix}/include'
712 oldincludedir='/usr/include'
713 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714 infodir='${datarootdir}/info'
719 libdir='${exec_prefix}/lib'
720 localedir='${datarootdir}/locale'
721 mandir='${datarootdir}/man'
727 # If the previous option needs an argument, assign it.
728 if test -n "$ac_prev"; then
729 eval $ac_prev=\$ac_option
735 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740 # Accept the important Cygnus configure options, so we can diagnose typos.
742 case $ac_dashdash$ac_option in
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
764 cache_file=config.cache ;;
766 -datadir | --datadir | --datadi | --datad)
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
778 -disable-* | --disable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782 as_fn_error $? "invalid feature name: $ac_useropt"
783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
792 eval enable_$ac_useropt=no ;;
794 -docdir | --docdir | --docdi | --doc | --do)
796 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
799 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
801 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
804 -enable-* | --enable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
818 eval enable_$ac_useropt=\$ac_optarg ;;
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
824 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826 | --exec=* | --exe=* | --ex=*)
827 exec_prefix=$ac_optarg ;;
829 -gas | --gas | --ga | --g)
830 # Obsolete; use --with-gas.
833 -help | --help | --hel | --he | -h)
835 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836 ac_init_help=recursive ;;
837 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838 ac_init_help=short ;;
840 -host | --host | --hos | --ho)
841 ac_prev=host_alias ;;
842 -host=* | --host=* | --hos=* | --ho=*)
843 host_alias=$ac_optarg ;;
845 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849 htmldir=$ac_optarg ;;
851 -includedir | --includedir | --includedi | --included | --include \
852 | --includ | --inclu | --incl | --inc)
853 ac_prev=includedir ;;
854 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855 | --includ=* | --inclu=* | --incl=* | --inc=*)
856 includedir=$ac_optarg ;;
858 -infodir | --infodir | --infodi | --infod | --info | --inf)
860 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861 infodir=$ac_optarg ;;
863 -libdir | --libdir | --libdi | --libd)
865 -libdir=* | --libdir=* | --libdi=* | --libd=*)
868 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869 | --libexe | --libex | --libe)
870 ac_prev=libexecdir ;;
871 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872 | --libexe=* | --libex=* | --libe=*)
873 libexecdir=$ac_optarg ;;
875 -localedir | --localedir | --localedi | --localed | --locale)
877 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878 localedir=$ac_optarg ;;
880 -localstatedir | --localstatedir | --localstatedi | --localstated \
881 | --localstate | --localstat | --localsta | --localst | --locals)
882 ac_prev=localstatedir ;;
883 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885 localstatedir=$ac_optarg ;;
887 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
893 # Obsolete; use --without-fp.
896 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897 | --no-cr | --no-c | -n)
900 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
904 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906 | --oldin | --oldi | --old | --ol | --o)
907 ac_prev=oldincludedir ;;
908 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911 oldincludedir=$ac_optarg ;;
913 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
918 -program-prefix | --program-prefix | --program-prefi | --program-pref \
919 | --program-pre | --program-pr | --program-p)
920 ac_prev=program_prefix ;;
921 -program-prefix=* | --program-prefix=* | --program-prefi=* \
922 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923 program_prefix=$ac_optarg ;;
925 -program-suffix | --program-suffix | --program-suffi | --program-suff \
926 | --program-suf | --program-su | --program-s)
927 ac_prev=program_suffix ;;
928 -program-suffix=* | --program-suffix=* | --program-suffi=* \
929 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930 program_suffix=$ac_optarg ;;
932 -program-transform-name | --program-transform-name \
933 | --program-transform-nam | --program-transform-na \
934 | --program-transform-n | --program-transform- \
935 | --program-transform | --program-transfor \
936 | --program-transfo | --program-transf \
937 | --program-trans | --program-tran \
938 | --progr-tra | --program-tr | --program-t)
939 ac_prev=program_transform_name ;;
940 -program-transform-name=* | --program-transform-name=* \
941 | --program-transform-nam=* | --program-transform-na=* \
942 | --program-transform-n=* | --program-transform-=* \
943 | --program-transform=* | --program-transfor=* \
944 | --program-transfo=* | --program-transf=* \
945 | --program-trans=* | --program-tran=* \
946 | --progr-tra=* | --program-tr=* | --program-t=*)
947 program_transform_name=$ac_optarg ;;
949 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
954 -psdir | --psdir | --psdi | --psd | --ps)
956 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960 | -silent | --silent | --silen | --sile | --sil)
963 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 sbindir=$ac_optarg ;;
969 -sharedstatedir | --sharedstatedir | --sharedstatedi \
970 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
971 | --sharedst | --shareds | --shared | --share | --shar \
973 ac_prev=sharedstatedir ;;
974 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
975 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
976 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 sharedstatedir=$ac_optarg ;;
980 -site | --site | --sit)
982 -site=* | --site=* | --sit=*)
985 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
990 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
991 | --syscon | --sysco | --sysc | --sys | --sy)
992 ac_prev=sysconfdir ;;
993 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
994 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
995 sysconfdir=$ac_optarg ;;
997 -target | --target | --targe | --targ | --tar | --ta | --t)
998 ac_prev=target_alias ;;
999 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1000 target_alias=$ac_optarg ;;
1002 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1005 -version | --version | --versio | --versi | --vers | -V)
1006 ac_init_version=: ;;
1009 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error $? "invalid package name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1022 eval with_$ac_useropt=\$ac_optarg ;;
1024 -without-* | --without-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error $? "invalid package name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1038 eval with_$ac_useropt=no ;;
1041 # Obsolete; use --with-x.
1044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1045 | --x-incl | --x-inc | --x-in | --x-i)
1046 ac_prev=x_includes ;;
1047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1049 x_includes=$ac_optarg ;;
1051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1053 ac_prev=x_libraries ;;
1054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1056 x_libraries=$ac_optarg ;;
1058 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1059 Try \`$0 --help' for more information"
1063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1064 # Reject names that are not valid shell variable names.
1065 case $ac_envvar in #(
1066 '' | [0-9]* | *[!_$as_cr_alnum]* )
1067 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1069 eval $ac_envvar=\$ac_optarg
1070 export $ac_envvar ;;
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1077 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1083 if test -n "$ac_prev"; then
1084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1085 as_fn_error $? "missing argument to $ac_option"
1088 if test -n "$ac_unrecognized_opts"; then
1089 case $enable_option_checking in
1091 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1096 # Check all directory arguments for consistency.
1097 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1102 eval ac_val=\$$ac_var
1103 # Remove trailing slashes.
1106 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1107 eval $ac_var=\$ac_val;;
1109 # Be sure to have absolute directory names.
1111 [\\/$]* | ?:[\\/]* ) continue;;
1112 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1114 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1122 target=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x; then
1126 if test "x$build_alias" = x; then
1127 cross_compiling=maybe
1128 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used" >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1136 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1138 test "$silent" = yes && exec 6>/dev/null
1141 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di=`ls -di .` &&
1143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144 as_fn_error $? "working directory cannot be determined"
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 as_fn_error $? "pwd does not report name of working directory"
1149 # Find the source files, if location was not specified.
1150 if test -z "$srcdir"; then
1151 ac_srcdir_defaulted=yes
1152 # Try the directory containing this script, then the parent directory.
1153 ac_confdir=`$as_dirname -- "$as_myself" ||
1154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1155 X"$as_myself" : 'X\(//\)[^/]' \| \
1156 X"$as_myself" : 'X\(//\)$' \| \
1157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1158 $as_echo X"$as_myself" |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1181 ac_srcdir_defaulted=no
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1185 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1187 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1209 # Report the --help message.
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1215 \`configure' configures Xestia Address Book 1.0 to adapt to many kinds of systems.
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1222 Defaults for the options are specified in brackets.
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking ...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 @<:@@S|@ac_default_prefix@:>@
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1246 For better control, use the options below.
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root
1264 @<:@DATAROOTDIR/doc/xestia-address-book@:>@
1265 --htmldir=DIR html documentation [DOCDIR]
1266 --dvidir=DIR dvi documentation [DOCDIR]
1267 --pdfdir=DIR pdf documentation [DOCDIR]
1268 --psdir=DIR ps documentation [DOCDIR]
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive ) echo "Configuration of Xestia Address Book 1.0:";;
1281 Some influential environment variables:
1282 CXX C++ compiler command
1283 CXXFLAGS C++ compiler flags
1284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1285 nonstandard directory <lib dir>
1286 LIBS libraries to pass to the linker, e.g. -l<library>
1287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288 you have headers in a nonstandard directory <include dir>
1289 CC C compiler command
1290 CFLAGS C compiler flags
1293 Use these variables to override the choices made by `configure' or to help
1294 it to find libraries and programs with nonstandard names/locations.
1296 Report bugs to <bugs@xestia.co.uk>.
1301 if test "$ac_init_help" = "recursive"; then
1302 # If there are subdirs, report their specific --help.
1303 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1304 test -d "$ac_dir" ||
1305 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313 # A ".." for each directory in $ac_dir_suffix.
1314 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315 case $ac_top_builddir_sub in
1316 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1320 ac_abs_top_builddir=$ac_pwd
1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322 # for backward compatibility:
1323 ac_top_builddir=$ac_top_build_prefix
1326 .) # We are building in place.
1328 ac_top_srcdir=$ac_top_builddir_sub
1329 ac_abs_top_srcdir=$ac_pwd ;;
1330 [\\/]* | ?:[\\/]* ) # Absolute name.
1331 ac_srcdir=$srcdir$ac_dir_suffix;
1332 ac_top_srcdir=$srcdir
1333 ac_abs_top_srcdir=$srcdir ;;
1335 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336 ac_top_srcdir=$ac_top_build_prefix$srcdir
1337 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1341 cd "$ac_dir" || { ac_status=$?; continue; }
1342 # Check for guested configure.
1343 if test -f "$ac_srcdir/configure.gnu"; then
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1350 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
1359 Xestia Address Book configure 1.0
1360 generated by GNU Autoconf 2.68
1362 Copyright (C) 2010 Free Software Foundation, Inc.
1363 This configure script is free software; the Free Software Foundation
1364 gives unlimited permission to copy, distribute and modify it.
1369 ## ------------------------ ##
1370 ## Autoconf initialization. ##
1371 ## ------------------------ ##
1373 @%:@ ac_fn_cxx_try_compile LINENO
1374 @%:@ ----------------------------
1375 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1376 ac_fn_cxx_try_compile ()
1378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1379 rm -f conftest.$ac_objext
1380 if { { ac_try="$ac_compile"
1382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1383 *) ac_try_echo=$ac_try;;
1385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1386 $as_echo "$ac_try_echo"; } >&5
1387 (eval "$ac_compile") 2>conftest.err
1389 if test -s conftest.err; then
1390 grep -v '^ *+' conftest.err >conftest.er1
1391 cat conftest.er1 >&5
1392 mv -f conftest.er1 conftest.err
1394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1395 test $ac_status = 0; } && {
1396 test -z "$ac_cxx_werror_flag" ||
1397 test ! -s conftest.err
1398 } && test -s conftest.$ac_objext; then :
1401 $as_echo "$as_me: failed program was:" >&5
1402 sed 's/^/| /' conftest.$ac_ext >&5
1406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1407 as_fn_set_status $ac_retval
1409 } @%:@ ac_fn_cxx_try_compile
1411 @%:@ ac_fn_c_try_compile LINENO
1412 @%:@ --------------------------
1413 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1414 ac_fn_c_try_compile ()
1416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1417 rm -f conftest.$ac_objext
1418 if { { ac_try="$ac_compile"
1420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1421 *) ac_try_echo=$ac_try;;
1423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1424 $as_echo "$ac_try_echo"; } >&5
1425 (eval "$ac_compile") 2>conftest.err
1427 if test -s conftest.err; then
1428 grep -v '^ *+' conftest.err >conftest.er1
1429 cat conftest.er1 >&5
1430 mv -f conftest.er1 conftest.err
1432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433 test $ac_status = 0; } && {
1434 test -z "$ac_c_werror_flag" ||
1435 test ! -s conftest.err
1436 } && test -s conftest.$ac_objext; then :
1439 $as_echo "$as_me: failed program was:" >&5
1440 sed 's/^/| /' conftest.$ac_ext >&5
1444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1445 as_fn_set_status $ac_retval
1447 } @%:@ ac_fn_c_try_compile
1449 @%:@ ac_fn_c_try_cpp LINENO
1450 @%:@ ----------------------
1451 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1455 if { { ac_try="$ac_cpp conftest.$ac_ext"
1457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458 *) ac_try_echo=$ac_try;;
1460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461 $as_echo "$ac_try_echo"; } >&5
1462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1464 if test -s conftest.err; then
1465 grep -v '^ *+' conftest.err >conftest.er1
1466 cat conftest.er1 >&5
1467 mv -f conftest.er1 conftest.err
1469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470 test $ac_status = 0; } > conftest.i && {
1471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1472 test ! -s conftest.err
1476 $as_echo "$as_me: failed program was:" >&5
1477 sed 's/^/| /' conftest.$ac_ext >&5
1481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1482 as_fn_set_status $ac_retval
1484 } @%:@ ac_fn_c_try_cpp
1486 @%:@ ac_fn_c_try_link LINENO
1487 @%:@ -----------------------
1488 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 rm -f conftest.$ac_objext conftest$ac_exeext
1493 if { { ac_try="$ac_link"
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_link") 2>conftest.err
1502 if test -s conftest.err; then
1503 grep -v '^ *+' conftest.err >conftest.er1
1504 cat conftest.er1 >&5
1505 mv -f conftest.er1 conftest.err
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } && {
1509 test -z "$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1511 } && test -s conftest$ac_exeext && {
1512 test "$cross_compiling" = yes ||
1513 $as_test_x conftest$ac_exeext
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.$ac_ext >&5
1522 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1523 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1524 # interfere with the next link command; also delete a directory that is
1525 # left behind by Apple's compiler. We do this before executing the actions.
1526 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } @%:@ ac_fn_c_try_link
1532 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1533 @%:@ -------------------------------------------------------
1534 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1535 @%:@ the include files in INCLUDES and setting the cache variable VAR
1537 ac_fn_c_check_header_mongrel ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 if eval \${$3+:} false; then :
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1542 $as_echo_n "checking for $2... " >&6; }
1543 if eval \${$3+:} false; then :
1544 $as_echo_n "(cached) " >&6
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548 $as_echo "$ac_res" >&6; }
1550 # Is the header compilable?
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1552 $as_echo_n "checking $2 usability... " >&6; }
1553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1554 /* end confdefs.h. */
1558 if ac_fn_c_try_compile "$LINENO"; then :
1559 ac_header_compiler=yes
1561 ac_header_compiler=no
1563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1565 $as_echo "$ac_header_compiler" >&6; }
1567 # Is the header present?
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1569 $as_echo_n "checking $2 presence... " >&6; }
1570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1571 /* end confdefs.h. */
1574 if ac_fn_c_try_cpp "$LINENO"; then :
1575 ac_header_preproc=yes
1577 ac_header_preproc=no
1579 rm -f conftest.err conftest.i conftest.$ac_ext
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1581 $as_echo "$ac_header_preproc" >&6; }
1583 # So? What about this header?
1584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1587 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1593 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1595 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1597 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1599 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1601 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1602 ( $as_echo "## -------------------------------- ##
1603 ## Report this to bugs@xestia.co.uk ##
1604 ## -------------------------------- ##"
1605 ) | sed "s/^/$as_me: WARNING: /" >&2
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if eval \${$3+:} false; then :
1611 $as_echo_n "(cached) " >&6
1613 eval "$3=\$ac_header_compiler"
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 } @%:@ ac_fn_c_check_header_mongrel
1623 @%:@ ac_fn_c_try_run LINENO
1624 @%:@ ----------------------
1625 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1626 @%:@ that executables *can* be run.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_link"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_link") 2>&5
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1641 { { case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_try") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; }; }; then :
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1657 ac_retval=$ac_status
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1663 } @%:@ ac_fn_c_try_run
1665 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1666 @%:@ -------------------------------------------------------
1667 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1668 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1669 ac_fn_c_check_header_compile ()
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \${$3+:} false; then :
1675 $as_echo_n "(cached) " >&6
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } @%:@ ac_fn_c_check_header_compile
1696 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1697 @%:@ -------------------------------------------
1698 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1699 @%:@ variable VAR accordingly.
1700 ac_fn_c_check_type ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1721 if ac_fn_c_try_compile "$LINENO"; then :
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } @%:@ ac_fn_c_check_type
1749 cat >config.log <<_ACEOF
1750 This file contains any messages produced by compilers while
1751 running configure, to aid debugging if configure makes a mistake.
1753 It was created by Xestia Address Book $as_me 1.0, which was
1754 generated by GNU Autoconf 2.68. Invocation command line was
1766 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1767 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1768 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1769 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1770 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1772 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1773 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1775 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1776 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1777 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1778 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1779 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1780 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1781 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 $as_echo "PATH: $as_dir"
1806 # Keep a trace of the command line.
1807 # Strip out --no-create and --no-recursion so they do not pile up.
1808 # Strip out --silent because we don't want to record it for future runs.
1809 # Also quote any args containing shell meta-characters.
1810 # Make two passes to allow for proper duplicate-argument suppression.
1814 ac_must_keep_next=false
1820 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1822 | -silent | --silent | --silen | --sile | --sil)
1825 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1828 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1830 as_fn_append ac_configure_args1 " '$ac_arg'"
1831 if test $ac_must_keep_next = true; then
1832 ac_must_keep_next=false # Got value, back to normal.
1835 *=* | --config-cache | -C | -disable-* | --disable-* \
1836 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1837 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1838 | -with-* | --with-* | -without-* | --without-* | --x)
1839 case "$ac_configure_args0 " in
1840 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1843 -* ) ac_must_keep_next=true ;;
1846 as_fn_append ac_configure_args " '$ac_arg'"
1851 { ac_configure_args0=; unset ac_configure_args0;}
1852 { ac_configure_args1=; unset ac_configure_args1;}
1854 # When interrupted or exit'd, cleanup temporary files, and complete
1855 # config.log. We remove comments because anyway the quotes in there
1856 # would cause problems or look ugly.
1857 # WARNING: Use '\'' to represent an apostrophe within the trap.
1858 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1859 trap 'exit_status=$?
1860 # Save into config.log some information that might help in debugging.
1864 $as_echo "## ---------------- ##
1865 ## Cache variables. ##
1866 ## ---------------- ##"
1868 # The following way of writing the cache mishandles newlines in values,
1870 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1871 eval ac_val=\$$ac_var
1875 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1876 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1879 _ | IFS | as_nl) ;; #(
1880 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1881 *) { eval $ac_var=; unset $ac_var;} ;;
1886 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1887 *${as_nl}ac_space=\ *)
1889 "s/'\''/'\''\\\\'\'''\''/g;
1890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1900 $as_echo "## ----------------- ##
1901 ## Output variables. ##
1902 ## ----------------- ##"
1904 for ac_var in $ac_subst_vars
1906 eval ac_val=\$$ac_var
1908 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910 $as_echo "$ac_var='\''$ac_val'\''"
1914 if test -n "$ac_subst_files"; then
1915 $as_echo "## ------------------- ##
1916 ## File substitutions. ##
1917 ## ------------------- ##"
1919 for ac_var in $ac_subst_files
1921 eval ac_val=\$$ac_var
1923 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1925 $as_echo "$ac_var='\''$ac_val'\''"
1930 if test -s confdefs.h; then
1931 $as_echo "## ----------- ##
1938 test "$ac_signal" != 0 &&
1939 $as_echo "$as_me: caught signal $ac_signal"
1940 $as_echo "$as_me: exit $exit_status"
1942 rm -f core *.core core.conftest.* &&
1943 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1946 for ac_signal in 1 2 13 15; do
1947 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1951 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1952 rm -f -r conftest* confdefs.h
1954 $as_echo "/* confdefs.h */" > confdefs.h
1956 # Predefined preprocessor variables.
1958 cat >>confdefs.h <<_ACEOF
1959 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1962 cat >>confdefs.h <<_ACEOF
1963 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1966 cat >>confdefs.h <<_ACEOF
1967 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1970 cat >>confdefs.h <<_ACEOF
1971 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1974 cat >>confdefs.h <<_ACEOF
1975 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1978 cat >>confdefs.h <<_ACEOF
1979 @%:@define PACKAGE_URL "$PACKAGE_URL"
1983 # Let the site file select an alternate cache file if it wants to.
1984 # Prefer an explicitly selected file to automatically selected ones.
1987 if test -n "$CONFIG_SITE"; then
1988 # We do not want a PATH search for config.site.
1989 case $CONFIG_SITE in @%:@((
1990 -*) ac_site_file1=./$CONFIG_SITE;;
1991 */*) ac_site_file1=$CONFIG_SITE;;
1992 *) ac_site_file1=./$CONFIG_SITE;;
1994 elif test "x$prefix" != xNONE; then
1995 ac_site_file1=$prefix/share/config.site
1996 ac_site_file2=$prefix/etc/config.site
1998 ac_site_file1=$ac_default_prefix/share/config.site
1999 ac_site_file2=$ac_default_prefix/etc/config.site
2001 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2003 test "x$ac_site_file" = xNONE && continue
2004 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2006 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2007 sed 's/^/| /' "$ac_site_file" >&5
2009 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2011 as_fn_error $? "failed to load site script $ac_site_file
2012 See \`config.log' for more details" "$LINENO" 5; }
2016 if test -r "$cache_file"; then
2017 # Some versions of bash will fail to source /dev/null (special files
2018 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2019 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2021 $as_echo "$as_me: loading cache $cache_file" >&6;}
2023 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2024 *) . "./$cache_file";;
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2029 $as_echo "$as_me: creating cache $cache_file" >&6;}
2033 # Check that the precious variables saved in the cache have kept the same
2035 ac_cache_corrupted=false
2036 for ac_var in $ac_precious_vars; do
2037 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2038 eval ac_new_set=\$ac_env_${ac_var}_set
2039 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2040 eval ac_new_val=\$ac_env_${ac_var}_value
2041 case $ac_old_set,$ac_new_set in
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2044 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2045 ac_cache_corrupted=: ;;
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2048 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2049 ac_cache_corrupted=: ;;
2052 if test "x$ac_old_val" != "x$ac_new_val"; then
2053 # differences in whitespace do not lead to failure.
2054 ac_old_val_w=`echo x $ac_old_val`
2055 ac_new_val_w=`echo x $ac_new_val`
2056 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2058 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2059 ac_cache_corrupted=:
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2062 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2063 eval $ac_var=\$ac_old_val
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2066 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2068 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2071 # Pass precious variables to config.status.
2072 if test "$ac_new_set" = set; then
2074 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 *) ac_arg=$ac_var=$ac_new_val ;;
2077 case " $ac_configure_args " in
2078 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2079 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2083 if $ac_cache_corrupted; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2087 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2088 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2090 ## -------------------- ##
2091 ## Main body of script. ##
2092 ## -------------------- ##
2095 ac_cpp='$CPP $CPPFLAGS'
2096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2101 #AC_CONFIG_SRCDIR([version.h])
2102 #AC_CONFIG_HEADERS([config.h])
2104 # Checks for programs.
2106 ac_cpp='$CXXCPP $CPPFLAGS'
2107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2110 if test -z "$CXX"; then
2111 if test -n "$CCC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2120 $as_echo_n "checking for $ac_word... " >&6; }
2121 if ${ac_cv_prog_CXX+:} false; then :
2122 $as_echo_n "(cached) " >&6
2124 if test -n "$CXX"; then
2125 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test -n "$CXX"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2147 $as_echo "$CXX" >&6; }
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2154 test -n "$CXX" && break
2157 if test -z "$CXX"; then
2159 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2161 # Extract the first word of "$ac_prog", so it can be a program name with args.
2162 set dummy $ac_prog; ac_word=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2166 $as_echo_n "(cached) " >&6
2168 if test -n "$ac_ct_CXX"; then
2169 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_ac_ct_CXX="$ac_prog"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2189 if test -n "$ac_ct_CXX"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2191 $as_echo "$ac_ct_CXX" >&6; }
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2198 test -n "$ac_ct_CXX" && break
2201 if test "x$ac_ct_CXX" = x; then
2204 case $cross_compiling:$ac_tool_warned in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2208 ac_tool_warned=yes ;;
2216 # Provide some information about the compiler.
2217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2220 for ac_option in --version -v -V -qversion; do
2221 { { ac_try="$ac_compiler $ac_option >&5"
2223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227 $as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2230 if test -s conftest.err; then
2232 ... rest of stderr output deleted ...
2233 10q' conftest.err >conftest.er1
2234 cat conftest.er1 >&5
2236 rm -f conftest.er1 conftest.err
2237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238 test $ac_status = 0; }
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2252 ac_clean_files_save=$ac_clean_files
2253 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2254 # Try to create an executable without -o first, disregard a.out.
2255 # It will help us diagnose broken compilers, and finding out an intuition
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2258 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2259 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261 # The possible output files:
2262 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2265 for ac_file in $ac_files
2268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2269 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2274 if { { ac_try="$ac_link_default"
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_link_default") 2>&5
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; }; then :
2285 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2287 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2288 # so that the user can short-circuit this test for compilers unknown to
2290 for ac_file in $ac_files ''
2292 test -f "$ac_file" || continue
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2297 # We found the default executable, but exeext='' is most
2301 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2303 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305 # We set ac_cv_exeext here because the later test for it is not
2306 # safe: cross compilers may not add the suffix if given an `-o'
2307 # argument, so we may need to know it at that point already.
2308 # Even if this section looks crufty: it has the advantage of
2315 test "$ac_cv_exeext" = no && ac_cv_exeext=
2320 if test -z "$ac_file"; then :
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error 77 "C++ compiler cannot create executables
2329 See \`config.log' for more details" "$LINENO" 5; }
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332 $as_echo "yes" >&6; }
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2335 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2337 $as_echo "$ac_file" >&6; }
2338 ac_exeext=$ac_cv_exeext
2340 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2341 ac_clean_files=$ac_clean_files_save
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2343 $as_echo_n "checking for suffix of executables... " >&6; }
2344 if { { ac_try="$ac_link"
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>&5
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }; then :
2355 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2356 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2357 # work properly (i.e., refer to `conftest.exe'), while it won't with
2359 for ac_file in conftest.exe conftest conftest.*; do
2360 test -f "$ac_file" || continue
2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2363 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2372 See \`config.log' for more details" "$LINENO" 5; }
2374 rm -f conftest conftest$ac_cv_exeext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2376 $as_echo "$ac_cv_exeext" >&6; }
2378 rm -f conftest.$ac_ext
2379 EXEEXT=$ac_cv_exeext
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2383 @%:@include <stdio.h>
2387 FILE *f = fopen ("conftest.out", "w");
2388 return ferror (f) || fclose (f) != 0;
2394 ac_clean_files="$ac_clean_files conftest.out"
2395 # Check that the compiler produces executables we can run. If not, either
2396 # the compiler is broken, or we cross compile.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2398 $as_echo_n "checking whether we are cross compiling... " >&6; }
2399 if test "$cross_compiling" != yes; then
2400 { { ac_try="$ac_link"
2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_link") 2>&5
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }
2411 if { ac_try='./conftest$ac_cv_exeext'
2412 { { case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_try") 2>&5
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }; }; then
2424 if test "$cross_compiling" = maybe; then
2427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "cannot run C++ compiled programs.
2430 If you meant to cross compile, use \`--host'.
2431 See \`config.log' for more details" "$LINENO" 5; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2436 $as_echo "$cross_compiling" >&6; }
2438 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2439 ac_clean_files=$ac_clean_files_save
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2441 $as_echo_n "checking for suffix of object files... " >&6; }
2442 if ${ac_cv_objext+:} false; then :
2443 $as_echo_n "(cached) " >&6
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2456 rm -f conftest.o conftest.obj
2457 if { { ac_try="$ac_compile"
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_compile") 2>&5
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 for ac_file in conftest.o conftest.obj conftest.*; do
2469 test -f "$ac_file" || continue;
2471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2472 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2477 $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "cannot compute suffix of object files: cannot compile
2483 See \`config.log' for more details" "$LINENO" 5; }
2485 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2488 $as_echo "$ac_cv_objext" >&6; }
2489 OBJEXT=$ac_cv_objext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2492 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2493 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2494 $as_echo_n "(cached) " >&6
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2510 if ac_fn_cxx_try_compile "$LINENO"; then :
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2516 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2520 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2521 if test $ac_compiler_gnu = yes; then
2526 ac_test_CXXFLAGS=${CXXFLAGS+set}
2527 ac_save_CXXFLAGS=$CXXFLAGS
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2529 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2530 if ${ac_cv_prog_cxx_g+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2534 ac_cxx_werror_flag=yes
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2548 if ac_fn_cxx_try_compile "$LINENO"; then :
2549 ac_cv_prog_cxx_g=yes
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2563 if ac_fn_cxx_try_compile "$LINENO"; then :
2566 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2579 if ac_fn_cxx_try_compile "$LINENO"; then :
2580 ac_cv_prog_cxx_g=yes
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2590 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2591 if test "$ac_test_CXXFLAGS" = set; then
2592 CXXFLAGS=$ac_save_CXXFLAGS
2593 elif test $ac_cv_prog_cxx_g = yes; then
2594 if test "$GXX" = yes; then
2600 if test "$GXX" = yes; then
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2613 ac_cpp='$CPP $CPPFLAGS'
2614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 if test -n "$ac_tool_prefix"; then
2618 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2619 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_CC+:} false; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC="$CC" # Let the user override the test.
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test -n "$CC"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2648 $as_echo "$CC" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2656 if test -z "$ac_cv_prog_CC"; then
2658 # Extract the first word of "gcc", so it can be a program name with args.
2659 set dummy gcc; ac_word=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$ac_ct_CC"; then
2666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 ac_cv_prog_ac_ct_CC="gcc"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2686 if test -n "$ac_ct_CC"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2688 $as_echo "$ac_ct_CC" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2694 if test "x$ac_ct_CC" = x; then
2697 case $cross_compiling:$ac_tool_warned in
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2701 ac_tool_warned=yes ;;
2709 if test -z "$CC"; then
2710 if test -n "$ac_tool_prefix"; then
2711 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2712 set dummy ${ac_tool_prefix}cc; ac_word=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_CC+:} false; then :
2716 $as_echo_n "(cached) " >&6
2718 if test -n "$CC"; then
2719 ac_cv_prog_CC="$CC" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_CC="${ac_tool_prefix}cc"
2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739 if test -n "$CC"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2741 $as_echo "$CC" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2750 if test -z "$CC"; then
2751 # Extract the first word of "cc", so it can be a program name with args.
2752 set dummy cc; ac_word=$2
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754 $as_echo_n "checking for $ac_word... " >&6; }
2755 if ${ac_cv_prog_CC+:} false; then :
2756 $as_echo_n "(cached) " >&6
2758 if test -n "$CC"; then
2759 ac_cv_prog_CC="$CC" # Let the user override the test.
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir=.
2767 for ac_exec_ext in '' $ac_executable_extensions; do
2768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2769 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2770 ac_prog_rejected=yes
2774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 if test $ac_prog_rejected = yes; then
2782 # We found a bogon in the path, so make sure we never use it.
2783 set dummy $ac_cv_prog_CC
2785 if test $@%:@ != 0; then
2786 # We chose a different compiler from the bogus one.
2787 # However, it has the same basename, so the bogon will be chosen
2788 # first if we set CC to just the basename; use the full file name.
2790 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2796 if test -n "$CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2798 $as_echo "$CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$CC"; then
2807 if test -n "$ac_tool_prefix"; then
2808 for ac_prog in cl.exe
2810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_CC+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test -n "$CC"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2840 $as_echo "$CC" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2847 test -n "$CC" && break
2850 if test -z "$CC"; then
2852 for ac_prog in cl.exe
2854 # Extract the first word of "$ac_prog", so it can be a program name with args.
2855 set dummy $ac_prog; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$ac_ct_CC"; then
2862 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2871 ac_cv_prog_ac_ct_CC="$ac_prog"
2872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2882 if test -n "$ac_ct_CC"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2884 $as_echo "$ac_ct_CC" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2891 test -n "$ac_ct_CC" && break
2894 if test "x$ac_ct_CC" = x; then
2897 case $cross_compiling:$ac_tool_warned in
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2901 ac_tool_warned=yes ;;
2910 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912 as_fn_error $? "no acceptable C compiler found in \$PATH
2913 See \`config.log' for more details" "$LINENO" 5; }
2915 # Provide some information about the compiler.
2916 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2919 for ac_option in --version -v -V -qversion; do
2920 { { ac_try="$ac_compiler $ac_option >&5"
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2929 if test -s conftest.err; then
2931 ... rest of stderr output deleted ...
2932 10q' conftest.err >conftest.er1
2933 cat conftest.er1 >&5
2935 rm -f conftest.er1 conftest.err
2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2937 test $ac_status = 0; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2941 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2942 if ${ac_cv_c_compiler_gnu+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2959 if ac_fn_c_try_compile "$LINENO"; then :
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2969 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2970 if test $ac_compiler_gnu = yes; then
2975 ac_test_CFLAGS=${CFLAGS+set}
2976 ac_save_CFLAGS=$CFLAGS
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2978 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2979 if ${ac_cv_prog_cc_g+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 ac_save_c_werror_flag=$ac_c_werror_flag
2983 ac_c_werror_flag=yes
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2997 if ac_fn_c_try_compile "$LINENO"; then :
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3012 if ac_fn_c_try_compile "$LINENO"; then :
3015 ac_c_werror_flag=$ac_save_c_werror_flag
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3028 if ac_fn_c_try_compile "$LINENO"; then :
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 ac_c_werror_flag=$ac_save_c_werror_flag
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3039 $as_echo "$ac_cv_prog_cc_g" >&6; }
3040 if test "$ac_test_CFLAGS" = set; then
3041 CFLAGS=$ac_save_CFLAGS
3042 elif test $ac_cv_prog_cc_g = yes; then
3043 if test "$GCC" = yes; then
3049 if test "$GCC" = yes; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3056 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3057 if ${ac_cv_prog_cc_c89+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 ac_cv_prog_cc_c89=no
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 #include <sys/types.h>
3067 #include <sys/stat.h>
3068 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3069 struct buf { int x; };
3070 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3071 static char *e (p, i)
3077 static char *f (char * (*g) (char **, int), char **p, ...)
3082 s = g (p, va_arg (v,int));
3087 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3088 function prototypes and stuff, but not '\xHH' hex character constants.
3089 These don't provoke an error unfortunately, instead are silently treated
3090 as 'x'. The following induces an error, until -std is added to get
3091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3092 array size at least. It's necessary to write '\x00'==0 to get something
3093 that's true only with -std. */
3094 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3096 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3097 inside strings and character constants. */
3099 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3101 int test (int i, double x);
3102 struct s1 {int (*f) (int a);};
3103 struct s2 {int (*f) (double a);};
3104 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3110 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3115 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3116 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3118 CC="$ac_save_CC $ac_arg"
3119 if ac_fn_c_try_compile "$LINENO"; then :
3120 ac_cv_prog_cc_c89=$ac_arg
3122 rm -f core conftest.err conftest.$ac_objext
3123 test "x$ac_cv_prog_cc_c89" != "xno" && break
3125 rm -f conftest.$ac_ext
3130 case "x$ac_cv_prog_cc_c89" in
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3133 $as_echo "none needed" >&6; } ;;
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3136 $as_echo "unsupported" >&6; } ;;
3138 CC="$CC $ac_cv_prog_cc_c89"
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3140 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3142 if test "x$ac_cv_prog_cc_c89" != xno; then :
3147 ac_cpp='$CPP $CPPFLAGS'
3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3153 ac_cpp='$CPP $CPPFLAGS'
3154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3158 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3159 # On Suns, sometimes $CPP names a directory.
3160 if test -n "$CPP" && test -d "$CPP"; then
3163 if test -z "$CPP"; then
3164 if ${ac_cv_prog_CPP+:} false; then :
3165 $as_echo_n "(cached) " >&6
3167 # Double quotes because CPP needs to be expanded
3168 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3171 for ac_c_preproc_warn_flag in '' yes
3173 # Use a header file that comes with gcc, so configuring glibc
3174 # with a fresh cross-compiler works.
3175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3176 # <limits.h> exists even on freestanding compilers.
3177 # On the NeXT, cc -E runs the code through the compiler's parser,
3178 # not just through cpp. "Syntax error" is here to catch this case.
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3182 @%:@ include <limits.h>
3184 @%:@ include <assert.h>
3188 if ac_fn_c_try_cpp "$LINENO"; then :
3191 # Broken: fails on valid input.
3194 rm -f conftest.err conftest.i conftest.$ac_ext
3196 # OK, works on sane cases. Now check whether nonexistent headers
3197 # can be detected and how.
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3200 @%:@include <ac_nonexistent.h>
3202 if ac_fn_c_try_cpp "$LINENO"; then :
3203 # Broken: success on invalid input.
3206 # Passes both tests.
3210 rm -f conftest.err conftest.i conftest.$ac_ext
3213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3214 rm -f conftest.i conftest.err conftest.$ac_ext
3215 if $ac_preproc_ok; then :
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3228 $as_echo "$CPP" >&6; }
3230 for ac_c_preproc_warn_flag in '' yes
3232 # Use a header file that comes with gcc, so configuring glibc
3233 # with a fresh cross-compiler works.
3234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235 # <limits.h> exists even on freestanding compilers.
3236 # On the NeXT, cc -E runs the code through the compiler's parser,
3237 # not just through cpp. "Syntax error" is here to catch this case.
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3241 @%:@ include <limits.h>
3243 @%:@ include <assert.h>
3247 if ac_fn_c_try_cpp "$LINENO"; then :
3250 # Broken: fails on valid input.
3253 rm -f conftest.err conftest.i conftest.$ac_ext
3255 # OK, works on sane cases. Now check whether nonexistent headers
3256 # can be detected and how.
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3259 @%:@include <ac_nonexistent.h>
3261 if ac_fn_c_try_cpp "$LINENO"; then :
3262 # Broken: success on invalid input.
3265 # Passes both tests.
3269 rm -f conftest.err conftest.i conftest.$ac_ext
3272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3273 rm -f conftest.i conftest.err conftest.$ac_ext
3274 if $ac_preproc_ok; then :
3277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3280 See \`config.log' for more details" "$LINENO" 5; }
3284 ac_cpp='$CPP $CPPFLAGS'
3285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3290 # Checks for libraries.
3296 AM_PATH_WXCONFIG($reqwx, wxWin=1)
3297 if test "$wxWin" != 1; then
3299 wxWidgets must be installed on your system.
3301 Please check that wx-config is in path, the directory
3302 where wxWidgets libraries are installed (returned by
3303 'wx-config --libs' or 'wx-config --static --libs' command)
3304 is in LD_LIBRARY_PATH or equivalent variable and
3305 wxWidgets version is $reqwx or above.
3309 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
3310 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
3311 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
3312 LIBS="$LIBS $WX_LIBS"
3314 # FIXME: Replace `main' with a function in `-lboost_filesystem':
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem" >&5
3317 $as_echo_n "checking for main in -lboost_filesystem... " >&6; }
3318 if ${ac_cv_lib_boost_filesystem_main+:} false; then :
3319 $as_echo_n "(cached) " >&6
3321 ac_check_lib_save_LIBS=$LIBS
3322 LIBS="-lboost_filesystem $LIBS"
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3335 if ac_fn_c_try_link "$LINENO"; then :
3336 ac_cv_lib_boost_filesystem_main=yes
3338 ac_cv_lib_boost_filesystem_main=no
3340 rm -f core conftest.err conftest.$ac_objext \
3341 conftest$ac_exeext conftest.$ac_ext
3342 LIBS=$ac_check_lib_save_LIBS
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_main" >&5
3345 $as_echo "$ac_cv_lib_boost_filesystem_main" >&6; }
3346 if test "x$ac_cv_lib_boost_filesystem_main" = xyes; then :
3347 cat >>confdefs.h <<_ACEOF
3348 @%:@define HAVE_LIBBOOST_FILESYSTEM 1
3351 LIBS="-lboost_filesystem $LIBS"
3355 echo "Error! Boost Filesystem Library (libboost_filesystem) is not installed!
3356 Please check that this library is installed property before
3357 running configure again."
3362 # FIXME: Replace `main' with a function in `-lboost_system':
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_system" >&5
3364 $as_echo_n "checking for main in -lboost_system... " >&6; }
3365 if ${ac_cv_lib_boost_system_main+:} false; then :
3366 $as_echo_n "(cached) " >&6
3368 ac_check_lib_save_LIBS=$LIBS
3369 LIBS="-lboost_system $LIBS"
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3382 if ac_fn_c_try_link "$LINENO"; then :
3383 ac_cv_lib_boost_system_main=yes
3385 ac_cv_lib_boost_system_main=no
3387 rm -f core conftest.err conftest.$ac_objext \
3388 conftest$ac_exeext conftest.$ac_ext
3389 LIBS=$ac_check_lib_save_LIBS
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_system_main" >&5
3392 $as_echo "$ac_cv_lib_boost_system_main" >&6; }
3393 if test "x$ac_cv_lib_boost_system_main" = xyes; then :
3394 cat >>confdefs.h <<_ACEOF
3395 @%:@define HAVE_LIBBOOST_SYSTEM 1
3398 LIBS="-lboost_system $LIBS"
3402 echo "Error! Boost System Library (libboost_system) is not installed!
3403 Please check that this library is installed property before
3404 running configure again."
3409 #AC_CHECK_PROG([WXCONFIG], [wx-config])
3411 # Checks for header files.
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3414 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3415 if ${ac_cv_path_GREP+:} false; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -z "$GREP"; then
3419 ac_path_GREP_found=false
3420 # Loop through the user's path and test for each of PROGNAME-LIST
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3425 test -z "$as_dir" && as_dir=.
3426 for ac_prog in grep ggrep; do
3427 for ac_exec_ext in '' $ac_executable_extensions; do
3428 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3429 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3430 # Check for GNU ac_path_GREP and select it if it is found.
3431 # Check for GNU $ac_path_GREP
3432 case `"$ac_path_GREP" --version 2>&1` in
3434 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3437 $as_echo_n 0123456789 >"conftest.in"
3440 cat "conftest.in" "conftest.in" >"conftest.tmp"
3441 mv "conftest.tmp" "conftest.in"
3442 cp "conftest.in" "conftest.nl"
3443 $as_echo 'GREP' >> "conftest.nl"
3444 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3446 as_fn_arith $ac_count + 1 && ac_count=$as_val
3447 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3448 # Best one so far, save it but keep looking for a better one
3449 ac_cv_path_GREP="$ac_path_GREP"
3450 ac_path_GREP_max=$ac_count
3452 # 10*(2^10) chars as input seems more than enough
3453 test $ac_count -gt 10 && break
3455 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3458 $ac_path_GREP_found && break 3
3463 if test -z "$ac_cv_path_GREP"; then
3464 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3467 ac_cv_path_GREP=$GREP
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3472 $as_echo "$ac_cv_path_GREP" >&6; }
3473 GREP="$ac_cv_path_GREP"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3477 $as_echo_n "checking for egrep... " >&6; }
3478 if ${ac_cv_path_EGREP+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3482 then ac_cv_path_EGREP="$GREP -E"
3484 if test -z "$EGREP"; then
3485 ac_path_EGREP_found=false
3486 # Loop through the user's path and test for each of PROGNAME-LIST
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3491 test -z "$as_dir" && as_dir=.
3492 for ac_prog in egrep; do
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3495 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3496 # Check for GNU ac_path_EGREP and select it if it is found.
3497 # Check for GNU $ac_path_EGREP
3498 case `"$ac_path_EGREP" --version 2>&1` in
3500 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3503 $as_echo_n 0123456789 >"conftest.in"
3506 cat "conftest.in" "conftest.in" >"conftest.tmp"
3507 mv "conftest.tmp" "conftest.in"
3508 cp "conftest.in" "conftest.nl"
3509 $as_echo 'EGREP' >> "conftest.nl"
3510 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3512 as_fn_arith $ac_count + 1 && ac_count=$as_val
3513 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3514 # Best one so far, save it but keep looking for a better one
3515 ac_cv_path_EGREP="$ac_path_EGREP"
3516 ac_path_EGREP_max=$ac_count
3518 # 10*(2^10) chars as input seems more than enough
3519 test $ac_count -gt 10 && break
3521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3524 $ac_path_EGREP_found && break 3
3529 if test -z "$ac_cv_path_EGREP"; then
3530 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3533 ac_cv_path_EGREP=$EGREP
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3539 $as_echo "$ac_cv_path_EGREP" >&6; }
3540 EGREP="$ac_cv_path_EGREP"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3544 $as_echo_n "checking for ANSI C header files... " >&6; }
3545 if ${ac_cv_header_stdc+:} false; then :
3546 $as_echo_n "(cached) " >&6
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3563 if ac_fn_c_try_compile "$LINENO"; then :
3564 ac_cv_header_stdc=yes
3566 ac_cv_header_stdc=no
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 if test $ac_cv_header_stdc = yes; then
3571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "memchr" >/dev/null 2>&1; then :
3581 ac_cv_header_stdc=no
3587 if test $ac_cv_header_stdc = yes; then
3588 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3595 $EGREP "free" >/dev/null 2>&1; then :
3598 ac_cv_header_stdc=no
3604 if test $ac_cv_header_stdc = yes; then
3605 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3606 if test "$cross_compiling" = yes; then :
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3613 #if ((' ' & 0x0FF) == 0x020)
3614 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3615 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3617 # define ISLOWER(c) \
3618 (('a' <= (c) && (c) <= 'i') \
3619 || ('j' <= (c) && (c) <= 'r') \
3620 || ('s' <= (c) && (c) <= 'z'))
3621 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3624 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3629 for (i = 0; i < 256; i++)
3630 if (XOR (islower (i), ISLOWER (i))
3631 || toupper (i) != TOUPPER (i))
3636 if ac_fn_c_try_run "$LINENO"; then :
3639 ac_cv_header_stdc=no
3641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3642 conftest.$ac_objext conftest.beam conftest.$ac_ext
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3648 $as_echo "$ac_cv_header_stdc" >&6; }
3649 if test $ac_cv_header_stdc = yes; then
3651 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
3655 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3656 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3657 inttypes.h stdint.h unistd.h
3659 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3660 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3663 cat >>confdefs.h <<_ACEOF
3664 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3672 for ac_header in stdlib.h string.h wx/wx.h
3674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3675 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3677 cat >>confdefs.h <<_ACEOF
3678 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3686 # Checks for typedefs, structures, and compiler characteristics.
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3688 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3689 if ${ac_cv_header_stdbool_h+:} false; then :
3690 $as_echo_n "(cached) " >&6
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3695 #include <stdbool.h>
3697 "error: bool is not defined"
3700 "error: false is not defined"
3703 "error: false is not 0"
3706 "error: true is not defined"
3709 "error: true is not 1"
3711 #ifndef __bool_true_false_are_defined
3712 "error: __bool_true_false_are_defined is not defined"
3715 struct s { _Bool s: 1; _Bool t; } s;
3717 char a[true == 1 ? 1 : -1];
3718 char b[false == 0 ? 1 : -1];
3719 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3720 char d[(bool) 0.5 == true ? 1 : -1];
3721 /* See body of main program for 'e'. */
3722 char f[(_Bool) 0.0 == false ? 1 : -1];
3724 char h[sizeof (_Bool)];
3726 enum { j = false, k = true, l = false * true, m = true * 256 };
3727 /* The following fails for
3728 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
3730 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
3731 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
3732 /* Catch a bug in an HP-UX C compiler. See
3733 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
3734 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
3746 /* Refer to every declared value, to avoid compiler optimizations. */
3747 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
3748 + !m + !n + !o + !p + !q + !pq);
3754 if ac_fn_c_try_compile "$LINENO"; then :
3755 ac_cv_header_stdbool_h=yes
3757 ac_cv_header_stdbool_h=no
3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
3762 $as_echo "$ac_cv_header_stdbool_h" >&6; }
3763 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
3764 if test "x$ac_cv_type__Bool" = xyes; then :
3766 cat >>confdefs.h <<_ACEOF
3767 @%:@define HAVE__BOOL 1
3773 if test $ac_cv_header_stdbool_h = yes; then
3775 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3780 $as_echo_n "checking for inline... " >&6; }
3781 if ${ac_cv_c_inline+:} false; then :
3782 $as_echo_n "(cached) " >&6
3785 for ac_kw in inline __inline__ __inline; do
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3790 static $ac_kw foo_t static_foo () {return 0; }
3791 $ac_kw foo_t foo () {return 0; }
3795 if ac_fn_c_try_compile "$LINENO"; then :
3796 ac_cv_c_inline=$ac_kw
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 test "$ac_cv_c_inline" != no && break
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3804 $as_echo "$ac_cv_c_inline" >&6; }
3806 case $ac_cv_c_inline in
3809 case $ac_cv_c_inline in
3811 *) ac_val=$ac_cv_c_inline;;
3813 cat >>confdefs.h <<_ACEOF
3815 #define inline $ac_val
3822 # Checks for library functions.
3824 ac_config_files="$ac_config_files Makefile"
3826 cat >confcache <<\_ACEOF
3827 # This file is a shell script that caches the results of configure
3828 # tests run on this system so they can be shared between configure
3829 # scripts and configure runs, see configure's option --config-cache.
3830 # It is not useful on other systems. If it contains results you don't
3831 # want to keep, you may remove or edit it.
3833 # config.status only pays attention to the cache file if you give it
3834 # the --recheck option to rerun configure.
3836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3842 # The following way of writing the cache mishandles newlines in values,
3843 # but we know of no workaround that is simple, portable, and efficient.
3844 # So, we kill variables containing newlines.
3845 # Ultrix sh set writes to stderr and can't be redirected directly,
3846 # and sets the high bit in the cache file unless we assign to the vars.
3848 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3849 eval ac_val=\$$ac_var
3853 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3857 _ | IFS | as_nl) ;; #(
3858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3859 *) { eval $ac_var=; unset $ac_var;} ;;
3865 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3866 *${as_nl}ac_space=\ *)
3867 # `set' does not quote correctly, so add quotes: double-quote
3868 # substitution turns \\\\ into \\, and sed turns \\ into \.
3871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3874 # `set' quotes correctly as required by POSIX, so do not add quotes.
3875 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3886 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3888 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3889 if test -w "$cache_file"; then
3890 if test "x$cache_file" != "x/dev/null"; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3892 $as_echo "$as_me: updating cache $cache_file" >&6;}
3893 if test ! -f "$cache_file" || test -h "$cache_file"; then
3894 cat confcache >"$cache_file"
3896 case $cache_file in #(
3898 mv -f confcache "$cache_file"$$ &&
3899 mv -f "$cache_file"$$ "$cache_file" ;; #(
3901 mv -f confcache "$cache_file" ;;
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3907 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3912 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3913 # Let make expand exec_prefix.
3914 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3916 # Transform confdefs.h into DEFS.
3917 # Protect against shell expansion while executing Makefile rules.
3918 # Protect against Makefile macro expansion.
3920 # If the first sed substitution is executed (which looks for macros that
3921 # take arguments), then branch to the quote section. Otherwise,
3922 # look for a macro that doesn't take arguments.
3932 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3934 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3938 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3951 DEFS=`sed -n "$ac_script" confdefs.h`
3957 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
3958 # 1. Remove the extension, and $U if already installed.
3959 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3960 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3962 # will be set to the directory where LIBOBJS objects are built.
3963 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3964 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3966 LIB@&t@OBJS=$ac_libobjs
3968 LTLIBOBJS=$ac_ltlibobjs
3972 : "${CONFIG_STATUS=./config.status}"
3974 ac_clean_files_save=$ac_clean_files
3975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3981 # Generated by $as_me.
3982 # Run this file to recreate the current configuration.
3983 # Compiler output produced by configure, useful for debugging
3984 # configure, is in config.log if it exists.
3990 SHELL=\${CONFIG_SHELL-$SHELL}
3993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3994 ## -------------------- ##
3995 ## M4sh Initialization. ##
3996 ## -------------------- ##
3998 # Be more Bourne compatible
3999 DUALCASE=1; export DUALCASE # for MKS sh
4000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4003 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4004 # is contrary to our usage. Disable this feature.
4005 alias -g '${1+"$@"}'='"$@"'
4006 setopt NO_GLOB_SUBST
4008 case `(set -o) 2>/dev/null` in @%:@(
4010 set -o posix ;; @%:@(
4020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4021 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4024 # Prefer a ksh shell builtin over an external printf program on Solaris,
4025 # but without wasting forks for bash or zsh.
4026 if test -z "$BASH_VERSION$ZSH_VERSION" \
4027 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4028 as_echo='print -r --'
4029 as_echo_n='print -rn --'
4030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4031 as_echo='printf %s\n'
4032 as_echo_n='printf %s'
4034 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4035 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4036 as_echo_n='/usr/ucb/echo -n'
4038 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4039 as_echo_n_body='eval
4043 expr "X$arg" : "X\\(.*\\)$as_nl";
4044 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4046 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4048 export as_echo_n_body
4049 as_echo_n='sh -c $as_echo_n_body as_echo'
4052 as_echo='sh -c $as_echo_body as_echo'
4055 # The user is always right.
4056 if test "${PATH_SEPARATOR+set}" != set; then
4058 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4059 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4066 # We need space, tab and new line, in precisely that order. Quoting is
4067 # there to prevent editors from complaining about space-tab.
4068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4069 # splitting by setting IFS to empty value.)
4072 # Find who we are. Look in the path if we contain no directory separator.
4075 *[\\/]* ) as_myself=$0 ;;
4076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4087 # We did not find ourselves, most probably we were run as `sh COMMAND'
4088 # in which case we are not to be found in the path.
4089 if test "x$as_myself" = x; then
4092 if test ! -f "$as_myself"; then
4093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4097 # Unset variables that we do not need and which cause bugs (e.g. in
4098 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4099 # suppresses any "Segmentation fault" message there. '((' could
4100 # trigger a bug in pdksh 5.2.14.
4101 for as_var in BASH_ENV ENV MAIL MAILPATH
4102 do eval test x\${$as_var+set} = xset \
4103 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4119 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4120 @%:@ ----------------------------------------
4121 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4122 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4123 @%:@ script with STATUS, using 1 if that was 0.
4126 as_status=$1; test $as_status -eq 0 && as_status=1
4128 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4131 $as_echo "$as_me: error: $2" >&2
4132 as_fn_exit $as_status
4136 @%:@ as_fn_set_status STATUS
4137 @%:@ -----------------------
4138 @%:@ Set @S|@? to STATUS, without forking.
4142 } @%:@ as_fn_set_status
4144 @%:@ as_fn_exit STATUS
4145 @%:@ -----------------
4146 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4154 @%:@ as_fn_unset VAR
4155 @%:@ ---------------
4156 @%:@ Portably unset VAR.
4159 { eval $1=; unset $1;}
4161 as_unset=as_fn_unset
4162 @%:@ as_fn_append VAR VALUE
4163 @%:@ ----------------------
4164 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4165 @%:@ advantage of any shell optimizations that allow amortized linear growth over
4166 @%:@ repeated appends, instead of the typical quadratic growth present in naive
4167 @%:@ implementations.
4168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4169 eval 'as_fn_append ()
4180 @%:@ as_fn_arith ARG...
4181 @%:@ ------------------
4182 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4183 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4184 @%:@ must be portable across @S|@(()) and expr.
4185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4186 eval 'as_fn_arith ()
4193 as_val=`expr "$@" || test $? -eq 1`
4198 if expr a : '\(a\)' >/dev/null 2>&1 &&
4199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4206 as_basename=basename
4211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4217 as_me=`$as_basename -- "$0" ||
4218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4219 X"$0" : 'X\(//\)$' \| \
4220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4222 sed '/^.*\/\([^/][^/]*\)\/*$/{
4236 # Avoid depending upon Character Ranges.
4237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4240 as_cr_digits='0123456789'
4241 as_cr_alnum=$as_cr_Letters$as_cr_digits
4243 ECHO_C= ECHO_N= ECHO_T=
4244 case `echo -n x` in @%:@(((((
4246 case `echo 'xy\c'` in
4247 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4249 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4256 rm -f conf$$ conf$$.exe conf$$.file
4257 if test -d conf$$.dir; then
4258 rm -f conf$$.dir/conf$$.file
4261 mkdir conf$$.dir 2>/dev/null
4263 if (echo >conf$$.file) 2>/dev/null; then
4264 if ln -s conf$$.file conf$$ 2>/dev/null; then
4266 # ... but there are two gotchas:
4267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4269 # In both cases, we have to default to `cp -p'.
4270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4272 elif ln conf$$.file conf$$ 2>/dev/null; then
4280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4281 rmdir conf$$.dir 2>/dev/null
4286 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4291 -*) as_dir=./$as_dir;;
4293 test -d "$as_dir" || eval $as_mkdir_p || {
4297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4298 *) as_qdir=$as_dir;;
4300 as_dirs="'$as_qdir' $as_dirs"
4301 as_dir=`$as_dirname -- "$as_dir" ||
4302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4303 X"$as_dir" : 'X\(//\)[^/]' \| \
4304 X"$as_dir" : 'X\(//\)$' \| \
4305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4306 $as_echo X"$as_dir" |
4307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4324 test -d "$as_dir" && break
4326 test -z "$as_dirs" || eval "mkdir $as_dirs"
4327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4330 } @%:@ as_fn_mkdir_p
4331 if mkdir -p . 2>/dev/null; then
4332 as_mkdir_p='mkdir -p "$as_dir"'
4334 test -d ./-p && rmdir ./-p
4338 if test -x / >/dev/null 2>&1; then
4341 if ls -dL / >/dev/null 2>&1; then
4348 if test -d "$1"; then
4354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
4355 ???[sx]*):;;*)false;;esac;fi
4359 as_executable_p=$as_test_x
4361 # Sed expression to map a string onto a valid CPP name.
4362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4364 # Sed expression to map a string onto a valid variable name.
4365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4369 ## ----------------------------------- ##
4370 ## Main body of $CONFIG_STATUS script. ##
4371 ## ----------------------------------- ##
4373 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4376 # Save the log message, to keep $0 and so on meaningful, and to
4377 # report actual input values of CONFIG_FILES etc. instead of their
4378 # values after options handling.
4380 This file was extended by Xestia Address Book $as_me 1.0, which was
4381 generated by GNU Autoconf 2.68. Invocation command line was
4383 CONFIG_FILES = $CONFIG_FILES
4384 CONFIG_HEADERS = $CONFIG_HEADERS
4385 CONFIG_LINKS = $CONFIG_LINKS
4386 CONFIG_COMMANDS = $CONFIG_COMMANDS
4389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4394 case $ac_config_files in *"
4395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4401 # Files that config.status was made for.
4402 config_files="$ac_config_files"
4406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4408 \`$as_me' instantiates files and other configuration actions
4409 from templates according to the current configuration. Unless the files
4410 and actions are specified as TAGs, all are instantiated by default.
4412 Usage: $0 [OPTION]... [TAG]...
4414 -h, --help print this help, then exit
4415 -V, --version print version number and configuration settings, then exit
4416 --config print configuration, then exit
4417 -q, --quiet, --silent
4418 do not print progress messages
4419 -d, --debug don't remove temporary files
4420 --recheck update $as_me by reconfiguring in the same conditions
4421 --file=FILE[:TEMPLATE]
4422 instantiate the configuration file FILE
4424 Configuration files:
4427 Report bugs to <bugs@xestia.co.uk>."
4430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4431 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4433 Xestia Address Book config.status 1.0
4434 configured by $0, generated by GNU Autoconf 2.68,
4435 with options \\"\$ac_cs_config\\"
4437 Copyright (C) 2010 Free Software Foundation, Inc.
4438 This config.status script is free software; the Free Software Foundation
4439 gives unlimited permission to copy, distribute and modify it."
4443 test -n "\$AWK" || AWK=awk
4446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4447 # The default lists apply if the user does not specify any file.
4453 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4454 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4458 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4470 # Handling of the options.
4471 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4473 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4474 $as_echo "$ac_cs_version"; exit ;;
4475 --config | --confi | --conf | --con | --co | --c )
4476 $as_echo "$ac_cs_config"; exit ;;
4477 --debug | --debu | --deb | --de | --d | -d )
4479 --file | --fil | --fi | --f )
4482 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4483 '') as_fn_error $? "missing file argument" ;;
4485 as_fn_append CONFIG_FILES " '$ac_optarg'"
4486 ac_need_defaults=false;;
4487 --he | --h | --help | --hel | -h )
4488 $as_echo "$ac_cs_usage"; exit ;;
4489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4494 -*) as_fn_error $? "unrecognized option: \`$1'
4495 Try \`$0 --help' for more information." ;;
4497 *) as_fn_append ac_config_targets " $1"
4498 ac_need_defaults=false ;;
4504 ac_configure_extra_args=
4506 if $ac_cs_silent; then
4508 ac_configure_extra_args="$ac_configure_extra_args --silent"
4512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4513 if \$ac_cs_recheck; then
4514 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4516 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4517 CONFIG_SHELL='$SHELL'
4523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4527 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4528 @%:@@%:@ Running $as_me. @%:@@%:@
4534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4539 # Handling of arguments.
4540 for ac_config_target in $ac_config_targets
4542 case $ac_config_target in
4543 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4545 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4550 # If the user did not use the arguments to specify the items to instantiate,
4551 # then the envvar interface is used. Set only those that are not.
4552 # We use the long form for the default assignment because of an extremely
4553 # bizarre bug on SunOS 4.1.3.
4554 if $ac_need_defaults; then
4555 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4558 # Have a temporary directory for convenience. Make it in the build tree
4559 # simply because there is no reason against having it here, and in addition,
4560 # creating and moving files from /tmp can sometimes cause problems.
4561 # Hook for its removal unless debugging.
4562 # Note that there is a small window in which the directory will not be cleaned:
4563 # after its creation but before its name has been assigned to `$tmp'.
4567 trap 'exit_status=$?
4569 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4571 trap 'as_fn_exit 1' 1 2 13 15
4573 # Create a (secure) tmp directory for tmp files.
4576 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4580 tmp=./conf$$-$RANDOM
4581 (umask 077 && mkdir "$tmp")
4582 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4585 # Set up the scripts for CONFIG_FILES section.
4586 # No need to generate them if there are no CONFIG_FILES.
4587 # This happens for instance with `./config.status config.h'.
4588 if test -n "$CONFIG_FILES"; then
4591 ac_cr=`echo X | tr X '\015'`
4592 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4593 # But we know of no other shell where ac_cr would be empty at this
4594 # point, so we can use a bashism as a fallback.
4595 if test "x$ac_cr" = x; then
4596 eval ac_cr=\$\'\\r\'
4598 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4599 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4605 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4610 echo "cat >conf$$subs.awk <<_ACEOF" &&
4611 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4615 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4617 for ac_last_try in false false false false false :; do
4618 . ./conf$$subs.sh ||
4619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4621 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4622 if test $ac_delim_n = $ac_delim_num; then
4624 elif $ac_last_try; then
4625 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4627 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4633 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4637 s/^/S["/; s/!.*/"]=/
4647 s/\(.\{148\}\)..*/\1/
4649 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4661 s/\(.\{148\}\)..*/\1/
4663 s/["\\]/\\&/g; s/^/"/; s/$/"/
4667 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4672 ' <conf$$subs.awk | sed '
4677 ' >>$CONFIG_STATUS || ac_write_fail=1
4678 rm -f conf$$subs.awk
4679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4681 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4682 for (key in S) S_is_set[key] = 1
4688 nfields = split(line, field, "@")
4690 len = length(field[1])
4691 for (i = 2; i < nfields; i++) {
4693 keylen = length(key)
4694 if (S_is_set[key]) {
4696 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4697 len += length(value) + length(field[++i])
4708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4709 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4710 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4713 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4714 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4717 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4718 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4719 # trailing colons and then remove the whole line if VPATH becomes empty
4720 # (actually we leave an empty line to preserve line numbers).
4721 if test "x$srcdir" = x.; then
4722 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4741 fi # test -n "$CONFIG_FILES"
4744 eval set X " :F $CONFIG_FILES "
4749 :[FHLC]) ac_mode=$ac_tag; continue;;
4751 case $ac_mode$ac_tag in
4753 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4754 :[FH]-) ac_tag=-:-;;
4755 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4772 -) ac_f="$ac_tmp/stdin";;
4773 *) # Look for the file first in the build tree, then in the source tree
4774 # (if the path is not absolute). The absolute path cannot be DOS-style,
4775 # because $ac_f cannot contain `:'.
4779 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4781 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4783 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4784 as_fn_append ac_file_inputs " '$ac_f'"
4787 # Let's still pretend it is `configure' which instantiates (i.e., don't
4788 # use $as_me), people would be surprised to read:
4789 # /* config.h. Generated by config.status. */
4790 configure_input='Generated from '`
4791 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4793 if test x"$ac_file" != x-; then
4794 configure_input="$ac_file. $configure_input"
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4796 $as_echo "$as_me: creating $ac_file" >&6;}
4798 # Neutralize special characters interpreted by sed in replacement strings.
4799 case $configure_input in #(
4800 *\&* | *\|* | *\\* )
4801 ac_sed_conf_input=`$as_echo "$configure_input" |
4802 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4803 *) ac_sed_conf_input=$configure_input;;
4807 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4813 ac_dir=`$as_dirname -- "$ac_file" ||
4814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4815 X"$ac_file" : 'X\(//\)[^/]' \| \
4816 X"$ac_file" : 'X\(//\)$' \| \
4817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4818 $as_echo X"$ac_file" |
4819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4836 as_dir="$ac_dir"; as_fn_mkdir_p
4840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4842 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4843 # A ".." for each directory in $ac_dir_suffix.
4844 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4845 case $ac_top_builddir_sub in
4846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4850 ac_abs_top_builddir=$ac_pwd
4851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4852 # for backward compatibility:
4853 ac_top_builddir=$ac_top_build_prefix
4856 .) # We are building in place.
4858 ac_top_srcdir=$ac_top_builddir_sub
4859 ac_abs_top_srcdir=$ac_pwd ;;
4860 [\\/]* | ?:[\\/]* ) # Absolute name.
4861 ac_srcdir=$srcdir$ac_dir_suffix;
4862 ac_top_srcdir=$srcdir
4863 ac_abs_top_srcdir=$srcdir ;;
4865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4866 ac_top_srcdir=$ac_top_build_prefix$srcdir
4867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4881 # If the template does not know about datarootdir, expand it.
4882 # FIXME: This hack should be removed a few years after 2.60.
4883 ac_datarootdir_hack=; ac_datarootdir_seen=
4894 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4895 *datarootdir*) ac_datarootdir_seen=yes;;
4896 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4898 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4901 ac_datarootdir_hack='
4902 s&@datadir@&$datadir&g
4903 s&@docdir@&$docdir&g
4904 s&@infodir@&$infodir&g
4905 s&@localedir@&$localedir&g
4906 s&@mandir@&$mandir&g
4907 s&\\\${datarootdir}&$datarootdir&g' ;;
4911 # Neutralize VPATH when `$srcdir' = `.'.
4912 # Shell code in configure.ac might set extrasub.
4913 # FIXME: do we really want to maintain this feature?
4914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4915 ac_sed_extra="$ac_vpsub
4918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4921 s|@configure_input@|$ac_sed_conf_input|;t t
4922 s&@top_builddir@&$ac_top_builddir_sub&;t t
4923 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4924 s&@srcdir@&$ac_srcdir&;t t
4925 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4926 s&@top_srcdir@&$ac_top_srcdir&;t t
4927 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4928 s&@builddir@&$ac_builddir&;t t
4929 s&@abs_builddir@&$ac_abs_builddir&;t t
4930 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4931 $ac_datarootdir_hack
4933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4934 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4937 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4938 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4939 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4941 which seems to be undefined. Please make sure it is defined" >&5
4942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4943 which seems to be undefined. Please make sure it is defined" >&2;}
4945 rm -f "$ac_tmp/stdin"
4947 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4948 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4962 ac_clean_files=$ac_clean_files_save
4964 test $ac_write_fail = 0 ||
4965 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4968 # configure is writing to config.log, and then calls config.status.
4969 # config.status does its own redirection, appending to config.log.
4970 # Unfortunately, on DOS this fails, as config.log is still kept open
4971 # by configure, so config.status won't be able to write to it; its
4972 # output is simply discarded. So we exec the FD to /dev/null,
4973 # effectively closing config.log, so it can be properly (re)opened and
4974 # appended to by config.status. When coming back to configure, we
4975 # need to make the FD available again.
4976 if test "$no_create" != yes; then
4978 ac_config_status_args=
4979 test "$silent" = yes &&
4980 ac_config_status_args="$ac_config_status_args --quiet"
4982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4985 # would make configure fail if this is the last instruction.
4986 $ac_cs_success || as_fn_exit 1
4988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}