Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Build system (Linux) updates
[xestiaab/.git] / source / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.01.
4 #
5 # Report bugs to <bugs@xestia.co.uk>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202   if (eval "$as_required") 2>/dev/null; then :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
219            for as_base in sh bash ksh sh5; do
220              # Try only shells that exist, to save several forks.
221              as_shell=$as_dir/$as_base
222              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235   CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
262     if test x$as_have_required = xno; then :
263   $as_echo "$0: This script requires a shell more modern than all"
264   $as_echo "$0: the shells that I found on your system."
265   if test x${ZSH_VERSION+set} = xset ; then
266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
273 $0: have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293   { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302   return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310   set +e
311   as_fn_set_status $1
312   exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321   case $as_dir in #(
322   -*) as_dir=./$as_dir;;
323   esac
324   test -d "$as_dir" || eval $as_mkdir_p || {
325     as_dirs=
326     while :; do
327       case $as_dir in #(
328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329       *) as_qdir=$as_dir;;
330       esac
331       as_dirs="'$as_qdir' $as_dirs"
332       as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334          X"$as_dir" : 'X\(//\)[^/]' \| \
335          X"$as_dir" : 'X\(//\)$' \| \
336          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)[^/].*/{
343             s//\1/
344             q
345           }
346           /^X\(\/\/\)$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\).*/{
351             s//\1/
352             q
353           }
354           s/.*/./; q'`
355       test -d "$as_dir" && break
356     done
357     test -z "$as_dirs" || eval "mkdir $as_dirs"
358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368   test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377   eval 'as_fn_append ()
378   {
379     eval $1+=\$2
380   }'
381 else
382   as_fn_append ()
383   {
384     eval $1=\$$1\$2
385   }
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394   eval 'as_fn_arith ()
395   {
396     as_val=$(( $* ))
397   }'
398 else
399   as_fn_arith ()
400   {
401     as_val=`expr "$@" || test $? -eq 1`
402   }
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413   as_status=$1; test $as_status -eq 0 && as_status=1
414   if test "$4"; then
415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417   fi
418   $as_echo "$as_me: error: $2" >&2
419   as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
424   as_expr=expr
425 else
426   as_expr=false
427 fi
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430   as_basename=basename
431 else
432   as_basename=false
433 fi
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436   as_dirname=dirname
437 else
438   as_dirname=false
439 fi
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443          X"$0" : 'X\(//\)$' \| \
444          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446     sed '/^.*\/\([^/][^/]*\)\/*$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\/\)$/{
451             s//\1/
452             q
453           }
454           /^X\/\(\/\).*/{
455             s//\1/
456             q
457           }
458           s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473   sed -n '
474     p
475     /[$]LINENO/=
476   ' <$as_myself |
477     sed '
478       s/[$]LINENO.*/&-/
479       t lineno
480       b
481       :lineno
482       N
483       :loop
484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485       t loop
486       s/-\n.*//
487     ' >$as_me.lineno &&
488   chmod +x "$as_me.lineno" ||
489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492   # already done that, so ensure we don't try to do so again and fall
493   # in an infinite loop.  This has already happened in practice.
494   _as_can_reexec=no; export _as_can_reexec
495   # Don't try to exec as it changes $[0], causing all sort of problems
496   # (the dirname of $[0] is not the place where we might find the
497   # original and so on.  Autoconf is especially sensitive to this).
498   . "./$as_me.lineno"
499   # Exit status is that of the last command.
500   exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506   case `echo 'xy\c'` in
507   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508   xy)  ECHO_C='\c';;
509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510        ECHO_T=' ';;
511   esac;;
512 *)
513   ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518   rm -f conf$$.dir/conf$$.file
519 else
520   rm -f conf$$.dir
521   mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524   if ln -s conf$$.file conf$$ 2>/dev/null; then
525     as_ln_s='ln -s'
526     # ... but there are two gotchas:
527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529     # In both cases, we have to default to `cp -pR'.
530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531       as_ln_s='cp -pR'
532   elif ln conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s=ln
534   else
535     as_ln_s='cp -pR'
536   fi
537 else
538   as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544   as_mkdir_p='mkdir -p "$as_dir"'
545 else
546   test -d ./-p && rmdir ./-p
547   as_mkdir_p=false
548 fi
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Xestia Address Book'
582 PACKAGE_TARNAME='xestia-address-book'
583 PACKAGE_VERSION='0.01'
584 PACKAGE_STRING='Xestia Address Book 0.01'
585 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
586 PACKAGE_URL=''
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 #  include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #  include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
624 ac_subst_vars='LTLIBOBJS
625 LIBOBJS
626 DBGSTATUS
627 DBGOUT
628 DEBUG_FALSE
629 DEBUG_TRUE
630 WX_VERSION_MICRO
631 WX_VERSION_MINOR
632 WX_VERSION_MAJOR
633 WX_RESCOMP
634 WX_VERSION
635 WX_LIBS_STATIC
636 WX_LIBS
637 WX_CXXFLAGS_ONLY
638 WX_CFLAGS_ONLY
639 WX_CXXFLAGS
640 WX_CFLAGS
641 WX_CPPFLAGS
642 WX_CONFIG_PATH
643 EGREP
644 GREP
645 CXXCPP
646 CPP
647 ac_ct_CC
648 CFLAGS
649 CC
650 OBJEXT
651 EXEEXT
652 ac_ct_CXX
653 CPPFLAGS
654 LDFLAGS
655 CXXFLAGS
656 CXX
657 target_alias
658 host_alias
659 build_alias
660 LIBS
661 ECHO_T
662 ECHO_N
663 ECHO_C
664 DEFS
665 mandir
666 localedir
667 libdir
668 psdir
669 pdfdir
670 dvidir
671 htmldir
672 infodir
673 docdir
674 oldincludedir
675 includedir
676 localstatedir
677 sharedstatedir
678 sysconfdir
679 datadir
680 datarootdir
681 libexecdir
682 sbindir
683 bindir
684 program_transform_name
685 prefix
686 exec_prefix
687 PACKAGE_URL
688 PACKAGE_BUGREPORT
689 PACKAGE_STRING
690 PACKAGE_VERSION
691 PACKAGE_TARNAME
692 PACKAGE_NAME
693 PATH_SEPARATOR
694 SHELL'
695 ac_subst_files=''
696 ac_user_opts='
697 enable_option_checking
698 with_wxdir
699 with_wx_config
700 with_wx_prefix
701 with_wx_exec_prefix
702 enable_debug
704       ac_precious_vars='build_alias
705 host_alias
706 target_alias
707 CXX
708 CXXFLAGS
709 LDFLAGS
710 LIBS
711 CPPFLAGS
712 CCC
713 CC
714 CFLAGS
715 CPP
716 CXXCPP'
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/null
727 exec_prefix=NONE
728 no_create=
729 no_recursion=
730 prefix=NONE
731 program_prefix=NONE
732 program_suffix=NONE
733 program_transform_name=s,x,x,
734 silent=
735 site=
736 srcdir=
737 verbose=
738 x_includes=NONE
739 x_libraries=NONE
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
759 htmldir='${docdir}'
760 dvidir='${docdir}'
761 pdfdir='${docdir}'
762 psdir='${docdir}'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
767 ac_prev=
768 ac_dashdash=
769 for ac_option
770 do
771   # If the previous option needs an argument, assign it.
772   if test -n "$ac_prev"; then
773     eval $ac_prev=\$ac_option
774     ac_prev=
775     continue
776   fi
778   case $ac_option in
779   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780   *=)   ac_optarg= ;;
781   *)    ac_optarg=yes ;;
782   esac
784   # Accept the important Cygnus configure options, so we can diagnose typos.
786   case $ac_dashdash$ac_option in
787   --)
788     ac_dashdash=yes ;;
790   -bindir | --bindir | --bindi | --bind | --bin | --bi)
791     ac_prev=bindir ;;
792   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793     bindir=$ac_optarg ;;
795   -build | --build | --buil | --bui | --bu)
796     ac_prev=build_alias ;;
797   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798     build_alias=$ac_optarg ;;
800   -cache-file | --cache-file | --cache-fil | --cache-fi \
801   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802     ac_prev=cache_file ;;
803   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805     cache_file=$ac_optarg ;;
807   --config-cache | -C)
808     cache_file=config.cache ;;
810   -datadir | --datadir | --datadi | --datad)
811     ac_prev=datadir ;;
812   -datadir=* | --datadir=* | --datadi=* | --datad=*)
813     datadir=$ac_optarg ;;
815   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816   | --dataroo | --dataro | --datar)
817     ac_prev=datarootdir ;;
818   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820     datarootdir=$ac_optarg ;;
822   -disable-* | --disable-*)
823     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824     # Reject names that are not valid shell variable names.
825     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826       as_fn_error $? "invalid feature name: $ac_useropt"
827     ac_useropt_orig=$ac_useropt
828     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829     case $ac_user_opts in
830       *"
831 "enable_$ac_useropt"
832 "*) ;;
833       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834          ac_unrecognized_sep=', ';;
835     esac
836     eval enable_$ac_useropt=no ;;
838   -docdir | --docdir | --docdi | --doc | --do)
839     ac_prev=docdir ;;
840   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841     docdir=$ac_optarg ;;
843   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844     ac_prev=dvidir ;;
845   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846     dvidir=$ac_optarg ;;
848   -enable-* | --enable-*)
849     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850     # Reject names that are not valid shell variable names.
851     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852       as_fn_error $? "invalid feature name: $ac_useropt"
853     ac_useropt_orig=$ac_useropt
854     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855     case $ac_user_opts in
856       *"
857 "enable_$ac_useropt"
858 "*) ;;
859       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860          ac_unrecognized_sep=', ';;
861     esac
862     eval enable_$ac_useropt=\$ac_optarg ;;
864   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866   | --exec | --exe | --ex)
867     ac_prev=exec_prefix ;;
868   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870   | --exec=* | --exe=* | --ex=*)
871     exec_prefix=$ac_optarg ;;
873   -gas | --gas | --ga | --g)
874     # Obsolete; use --with-gas.
875     with_gas=yes ;;
877   -help | --help | --hel | --he | -h)
878     ac_init_help=long ;;
879   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880     ac_init_help=recursive ;;
881   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882     ac_init_help=short ;;
884   -host | --host | --hos | --ho)
885     ac_prev=host_alias ;;
886   -host=* | --host=* | --hos=* | --ho=*)
887     host_alias=$ac_optarg ;;
889   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890     ac_prev=htmldir ;;
891   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892   | --ht=*)
893     htmldir=$ac_optarg ;;
895   -includedir | --includedir | --includedi | --included | --include \
896   | --includ | --inclu | --incl | --inc)
897     ac_prev=includedir ;;
898   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899   | --includ=* | --inclu=* | --incl=* | --inc=*)
900     includedir=$ac_optarg ;;
902   -infodir | --infodir | --infodi | --infod | --info | --inf)
903     ac_prev=infodir ;;
904   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905     infodir=$ac_optarg ;;
907   -libdir | --libdir | --libdi | --libd)
908     ac_prev=libdir ;;
909   -libdir=* | --libdir=* | --libdi=* | --libd=*)
910     libdir=$ac_optarg ;;
912   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913   | --libexe | --libex | --libe)
914     ac_prev=libexecdir ;;
915   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916   | --libexe=* | --libex=* | --libe=*)
917     libexecdir=$ac_optarg ;;
919   -localedir | --localedir | --localedi | --localed | --locale)
920     ac_prev=localedir ;;
921   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922     localedir=$ac_optarg ;;
924   -localstatedir | --localstatedir | --localstatedi | --localstated \
925   | --localstate | --localstat | --localsta | --localst | --locals)
926     ac_prev=localstatedir ;;
927   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929     localstatedir=$ac_optarg ;;
931   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932     ac_prev=mandir ;;
933   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934     mandir=$ac_optarg ;;
936   -nfp | --nfp | --nf)
937     # Obsolete; use --without-fp.
938     with_fp=no ;;
940   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941   | --no-cr | --no-c | -n)
942     no_create=yes ;;
944   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946     no_recursion=yes ;;
948   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950   | --oldin | --oldi | --old | --ol | --o)
951     ac_prev=oldincludedir ;;
952   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955     oldincludedir=$ac_optarg ;;
957   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958     ac_prev=prefix ;;
959   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960     prefix=$ac_optarg ;;
962   -program-prefix | --program-prefix | --program-prefi | --program-pref \
963   | --program-pre | --program-pr | --program-p)
964     ac_prev=program_prefix ;;
965   -program-prefix=* | --program-prefix=* | --program-prefi=* \
966   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967     program_prefix=$ac_optarg ;;
969   -program-suffix | --program-suffix | --program-suffi | --program-suff \
970   | --program-suf | --program-su | --program-s)
971     ac_prev=program_suffix ;;
972   -program-suffix=* | --program-suffix=* | --program-suffi=* \
973   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974     program_suffix=$ac_optarg ;;
976   -program-transform-name | --program-transform-name \
977   | --program-transform-nam | --program-transform-na \
978   | --program-transform-n | --program-transform- \
979   | --program-transform | --program-transfor \
980   | --program-transfo | --program-transf \
981   | --program-trans | --program-tran \
982   | --progr-tra | --program-tr | --program-t)
983     ac_prev=program_transform_name ;;
984   -program-transform-name=* | --program-transform-name=* \
985   | --program-transform-nam=* | --program-transform-na=* \
986   | --program-transform-n=* | --program-transform-=* \
987   | --program-transform=* | --program-transfor=* \
988   | --program-transfo=* | --program-transf=* \
989   | --program-trans=* | --program-tran=* \
990   | --progr-tra=* | --program-tr=* | --program-t=*)
991     program_transform_name=$ac_optarg ;;
993   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994     ac_prev=pdfdir ;;
995   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996     pdfdir=$ac_optarg ;;
998   -psdir | --psdir | --psdi | --psd | --ps)
999     ac_prev=psdir ;;
1000   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001     psdir=$ac_optarg ;;
1003   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004   | -silent | --silent | --silen | --sile | --sil)
1005     silent=yes ;;
1007   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008     ac_prev=sbindir ;;
1009   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010   | --sbi=* | --sb=*)
1011     sbindir=$ac_optarg ;;
1013   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015   | --sharedst | --shareds | --shared | --share | --shar \
1016   | --sha | --sh)
1017     ac_prev=sharedstatedir ;;
1018   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021   | --sha=* | --sh=*)
1022     sharedstatedir=$ac_optarg ;;
1024   -site | --site | --sit)
1025     ac_prev=site ;;
1026   -site=* | --site=* | --sit=*)
1027     site=$ac_optarg ;;
1029   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030     ac_prev=srcdir ;;
1031   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032     srcdir=$ac_optarg ;;
1034   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035   | --syscon | --sysco | --sysc | --sys | --sy)
1036     ac_prev=sysconfdir ;;
1037   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039     sysconfdir=$ac_optarg ;;
1041   -target | --target | --targe | --targ | --tar | --ta | --t)
1042     ac_prev=target_alias ;;
1043   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044     target_alias=$ac_optarg ;;
1046   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047     verbose=yes ;;
1049   -version | --version | --versio | --versi | --vers | -V)
1050     ac_init_version=: ;;
1052   -with-* | --with-*)
1053     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054     # Reject names that are not valid shell variable names.
1055     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056       as_fn_error $? "invalid package name: $ac_useropt"
1057     ac_useropt_orig=$ac_useropt
1058     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059     case $ac_user_opts in
1060       *"
1061 "with_$ac_useropt"
1062 "*) ;;
1063       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064          ac_unrecognized_sep=', ';;
1065     esac
1066     eval with_$ac_useropt=\$ac_optarg ;;
1068   -without-* | --without-*)
1069     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070     # Reject names that are not valid shell variable names.
1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072       as_fn_error $? "invalid package name: $ac_useropt"
1073     ac_useropt_orig=$ac_useropt
1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075     case $ac_user_opts in
1076       *"
1077 "with_$ac_useropt"
1078 "*) ;;
1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080          ac_unrecognized_sep=', ';;
1081     esac
1082     eval with_$ac_useropt=no ;;
1084   --x)
1085     # Obsolete; use --with-x.
1086     with_x=yes ;;
1088   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089   | --x-incl | --x-inc | --x-in | --x-i)
1090     ac_prev=x_includes ;;
1091   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093     x_includes=$ac_optarg ;;
1095   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097     ac_prev=x_libraries ;;
1098   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100     x_libraries=$ac_optarg ;;
1102   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1104     ;;
1106   *=*)
1107     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108     # Reject names that are not valid shell variable names.
1109     case $ac_envvar in #(
1110       '' | [0-9]* | *[!_$as_cr_alnum]* )
1111       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112     esac
1113     eval $ac_envvar=\$ac_optarg
1114     export $ac_envvar ;;
1116   *)
1117     # FIXME: should be removed in autoconf 3.0.
1118     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1122     ;;
1124   esac
1125 done
1127 if test -n "$ac_prev"; then
1128   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129   as_fn_error $? "missing argument to $ac_option"
1130 fi
1132 if test -n "$ac_unrecognized_opts"; then
1133   case $enable_option_checking in
1134     no) ;;
1135     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137   esac
1138 fi
1140 # Check all directory arguments for consistency.
1141 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142                 datadir sysconfdir sharedstatedir localstatedir includedir \
1143                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144                 libdir localedir mandir
1145 do
1146   eval ac_val=\$$ac_var
1147   # Remove trailing slashes.
1148   case $ac_val in
1149     */ )
1150       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151       eval $ac_var=\$ac_val;;
1152   esac
1153   # Be sure to have absolute directory names.
1154   case $ac_val in
1155     [\\/$]* | ?:[\\/]* )  continue;;
1156     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157   esac
1158   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1159 done
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1164 build=$build_alias
1165 host=$host_alias
1166 target=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170   if test "x$build_alias" = x; then
1171     cross_compiling=maybe
1172   elif test "x$build_alias" != "x$host_alias"; then
1173     cross_compiling=yes
1174   fi
1175 fi
1177 ac_tool_prefix=
1178 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1180 test "$silent" = yes && exec 6>/dev/null
1183 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di=`ls -di .` &&
1185 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1186   as_fn_error $? "working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188   as_fn_error $? "pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193   ac_srcdir_defaulted=yes
1194   # Try the directory containing this script, then the parent directory.
1195   ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197          X"$as_myself" : 'X\(//\)[^/]' \| \
1198          X"$as_myself" : 'X\(//\)$' \| \
1199          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202             s//\1/
1203             q
1204           }
1205           /^X\(\/\/\)[^/].*/{
1206             s//\1/
1207             q
1208           }
1209           /^X\(\/\/\)$/{
1210             s//\1/
1211             q
1212           }
1213           /^X\(\/\).*/{
1214             s//\1/
1215             q
1216           }
1217           s/.*/./; q'`
1218   srcdir=$ac_confdir
1219   if test ! -r "$srcdir/$ac_unique_file"; then
1220     srcdir=..
1221   fi
1222 else
1223   ac_srcdir_defaulted=no
1224 fi
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1228 fi
1229 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 ac_abs_confdir=`(
1231         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232         pwd)`
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1235   srcdir=.
1236 fi
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1240 case $srcdir in
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 esac
1243 for ac_var in $ac_precious_vars; do
1244   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245   eval ac_env_${ac_var}_value=\$${ac_var}
1246   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1248 done
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254   # Omit some internal or obsolete options to make the list less imposing.
1255   # This message is too long to be a string in the A/UX 3.1 sh.
1256   cat <<_ACEOF
1257 \`configure' configures Xestia Address Book 0.01 to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE.  See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1266 Configuration:
1267   -h, --help              display this help and exit
1268       --help=short        display options specific to this package
1269       --help=recursive    display the short help of all the included packages
1270   -V, --version           display version information and exit
1271   -q, --quiet, --silent   do not print \`checking ...' messages
1272       --cache-file=FILE   cache test results in FILE [disabled]
1273   -C, --config-cache      alias for \`--cache-file=config.cache'
1274   -n, --no-create         do not create output files
1275       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278   --prefix=PREFIX         install architecture-independent files in PREFIX
1279                           [$ac_default_prefix]
1280   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1281                           [PREFIX]
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291   --bindir=DIR            user executables [EPREFIX/bin]
1292   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1293   --libexecdir=DIR        program executables [EPREFIX/libexec]
1294   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1295   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1296   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1297   --libdir=DIR            object code libraries [EPREFIX/lib]
1298   --includedir=DIR        C header files [PREFIX/include]
1299   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1300   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1301   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1302   --infodir=DIR           info documentation [DATAROOTDIR/info]
1303   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1304   --mandir=DIR            man documentation [DATAROOTDIR/man]
1305   --docdir=DIR            documentation root
1306                           [DATAROOTDIR/doc/xestia-address-book]
1307   --htmldir=DIR           html documentation [DOCDIR]
1308   --dvidir=DIR            dvi documentation [DOCDIR]
1309   --pdfdir=DIR            pdf documentation [DOCDIR]
1310   --psdir=DIR             ps documentation [DOCDIR]
1311 _ACEOF
1313   cat <<\_ACEOF
1314 _ACEOF
1315 fi
1317 if test -n "$ac_init_help"; then
1318   case $ac_init_help in
1319      short | recursive ) echo "Configuration of Xestia Address Book 0.01:";;
1320    esac
1321   cat <<\_ACEOF
1323 Optional Features:
1324   --disable-option-checking  ignore unrecognized --enable/--with options
1325   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1326   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1327   --enable-debug          Enable a debugging build
1329 Optional Packages:
1330   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1331   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1332   --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1333   --with-wx-config=CONFIG wx-config script to use (optional)
1334   --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1335   --with-wx-exec-prefix=PREFIX
1336                           Exec prefix where wxWidgets is installed (optional)
1338 Some influential environment variables:
1339   CXX         C++ compiler command
1340   CXXFLAGS    C++ compiler flags
1341   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1342               nonstandard directory <lib dir>
1343   LIBS        libraries to pass to the linker, e.g. -l<library>
1344   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345               you have headers in a nonstandard directory <include dir>
1346   CC          C compiler command
1347   CFLAGS      C compiler flags
1348   CPP         C preprocessor
1349   CXXCPP      C++ preprocessor
1351 Use these variables to override the choices made by `configure' or to help
1352 it to find libraries and programs with nonstandard names/locations.
1354 Report bugs to <bugs@xestia.co.uk>.
1355 _ACEOF
1356 ac_status=$?
1357 fi
1359 if test "$ac_init_help" = "recursive"; then
1360   # If there are subdirs, report their specific --help.
1361   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1362     test -d "$ac_dir" ||
1363       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1364       continue
1365     ac_builddir=.
1367 case "$ac_dir" in
1368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *)
1370   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1371   # A ".." for each directory in $ac_dir_suffix.
1372   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1373   case $ac_top_builddir_sub in
1374   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376   esac ;;
1377 esac
1378 ac_abs_top_builddir=$ac_pwd
1379 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1380 # for backward compatibility:
1381 ac_top_builddir=$ac_top_build_prefix
1383 case $srcdir in
1384   .)  # We are building in place.
1385     ac_srcdir=.
1386     ac_top_srcdir=$ac_top_builddir_sub
1387     ac_abs_top_srcdir=$ac_pwd ;;
1388   [\\/]* | ?:[\\/]* )  # Absolute name.
1389     ac_srcdir=$srcdir$ac_dir_suffix;
1390     ac_top_srcdir=$srcdir
1391     ac_abs_top_srcdir=$srcdir ;;
1392   *) # Relative name.
1393     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1394     ac_top_srcdir=$ac_top_build_prefix$srcdir
1395     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1396 esac
1397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1399     cd "$ac_dir" || { ac_status=$?; continue; }
1400     # Check for guested configure.
1401     if test -f "$ac_srcdir/configure.gnu"; then
1402       echo &&
1403       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1404     elif test -f "$ac_srcdir/configure"; then
1405       echo &&
1406       $SHELL "$ac_srcdir/configure" --help=recursive
1407     else
1408       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409     fi || ac_status=$?
1410     cd "$ac_pwd" || { ac_status=$?; break; }
1411   done
1412 fi
1414 test -n "$ac_init_help" && exit $ac_status
1415 if $ac_init_version; then
1416   cat <<\_ACEOF
1417 Xestia Address Book configure 0.01
1418 generated by GNU Autoconf 2.69
1420 Copyright (C) 2012 Free Software Foundation, Inc.
1421 This configure script is free software; the Free Software Foundation
1422 gives unlimited permission to copy, distribute and modify it.
1423 _ACEOF
1424   exit
1425 fi
1427 ## ------------------------ ##
1428 ## Autoconf initialization. ##
1429 ## ------------------------ ##
1431 # ac_fn_cxx_try_compile LINENO
1432 # ----------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_cxx_try_compile ()
1436   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437   rm -f conftest.$ac_objext
1438   if { { ac_try="$ac_compile"
1439 case "(($ac_try" in
1440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441   *) ac_try_echo=$ac_try;;
1442 esac
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445   (eval "$ac_compile") 2>conftest.err
1446   ac_status=$?
1447   if test -s conftest.err; then
1448     grep -v '^ *+' conftest.err >conftest.er1
1449     cat conftest.er1 >&5
1450     mv -f conftest.er1 conftest.err
1451   fi
1452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453   test $ac_status = 0; } && {
1454          test -z "$ac_cxx_werror_flag" ||
1455          test ! -s conftest.err
1456        } && test -s conftest.$ac_objext; then :
1457   ac_retval=0
1458 else
1459   $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1462         ac_retval=1
1463 fi
1464   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465   as_fn_set_status $ac_retval
1467 } # ac_fn_cxx_try_compile
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475   rm -f conftest.$ac_objext
1476   if { { ac_try="$ac_compile"
1477 case "(($ac_try" in
1478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479   *) ac_try_echo=$ac_try;;
1480 esac
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483   (eval "$ac_compile") 2>conftest.err
1484   ac_status=$?
1485   if test -s conftest.err; then
1486     grep -v '^ *+' conftest.err >conftest.er1
1487     cat conftest.er1 >&5
1488     mv -f conftest.er1 conftest.err
1489   fi
1490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491   test $ac_status = 0; } && {
1492          test -z "$ac_c_werror_flag" ||
1493          test ! -s conftest.err
1494        } && test -s conftest.$ac_objext; then :
1495   ac_retval=0
1496 else
1497   $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1500         ac_retval=1
1501 fi
1502   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503   as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_compile
1507 # ac_fn_c_try_cpp LINENO
1508 # ----------------------
1509 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_c_try_cpp ()
1512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513   if { { ac_try="$ac_cpp conftest.$ac_ext"
1514 case "(($ac_try" in
1515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516   *) ac_try_echo=$ac_try;;
1517 esac
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1521   ac_status=$?
1522   if test -s conftest.err; then
1523     grep -v '^ *+' conftest.err >conftest.er1
1524     cat conftest.er1 >&5
1525     mv -f conftest.er1 conftest.err
1526   fi
1527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528   test $ac_status = 0; } > conftest.i && {
1529          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530          test ! -s conftest.err
1531        }; then :
1532   ac_retval=0
1533 else
1534   $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1537     ac_retval=1
1538 fi
1539   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540   as_fn_set_status $ac_retval
1542 } # ac_fn_c_try_cpp
1544 # ac_fn_cxx_try_cpp LINENO
1545 # ------------------------
1546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_cxx_try_cpp ()
1549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550   if { { ac_try="$ac_cpp conftest.$ac_ext"
1551 case "(($ac_try" in
1552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553   *) ac_try_echo=$ac_try;;
1554 esac
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1558   ac_status=$?
1559   if test -s conftest.err; then
1560     grep -v '^ *+' conftest.err >conftest.er1
1561     cat conftest.er1 >&5
1562     mv -f conftest.er1 conftest.err
1563   fi
1564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565   test $ac_status = 0; } > conftest.i && {
1566          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1567          test ! -s conftest.err
1568        }; then :
1569   ac_retval=0
1570 else
1571   $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1574     ac_retval=1
1575 fi
1576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577   as_fn_set_status $ac_retval
1579 } # ac_fn_cxx_try_cpp
1581 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1582 # ---------------------------------------------------------
1583 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1584 # the include files in INCLUDES and setting the cache variable VAR
1585 # accordingly.
1586 ac_fn_cxx_check_header_mongrel ()
1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589   if eval \${$3+:} false; then :
1590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if eval \${$3+:} false; then :
1593   $as_echo_n "(cached) " >&6
1594 fi
1595 eval ac_res=\$$3
1596                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597 $as_echo "$ac_res" >&6; }
1598 else
1599   # Is the header compilable?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1601 $as_echo_n "checking $2 usability... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h.  */
1604 $4
1605 #include <$2>
1606 _ACEOF
1607 if ac_fn_cxx_try_compile "$LINENO"; then :
1608   ac_header_compiler=yes
1609 else
1610   ac_header_compiler=no
1611 fi
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1614 $as_echo "$ac_header_compiler" >&6; }
1616 # Is the header present?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1618 $as_echo_n "checking $2 presence... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h.  */
1621 #include <$2>
1622 _ACEOF
1623 if ac_fn_cxx_try_cpp "$LINENO"; then :
1624   ac_header_preproc=yes
1625 else
1626   ac_header_preproc=no
1627 fi
1628 rm -f conftest.err conftest.i conftest.$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1630 $as_echo "$ac_header_preproc" >&6; }
1632 # So?  What about this header?
1633 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1634   yes:no: )
1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1636 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639     ;;
1640   no:yes:* )
1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1642 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1644 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1646 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1648 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1650 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1651 ( $as_echo "## -------------------------------- ##
1652 ## Report this to bugs@xestia.co.uk ##
1653 ## -------------------------------- ##"
1654      ) | sed "s/^/$as_me: WARNING:     /" >&2
1655     ;;
1656 esac
1657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if eval \${$3+:} false; then :
1660   $as_echo_n "(cached) " >&6
1661 else
1662   eval "$3=\$ac_header_compiler"
1663 fi
1664 eval ac_res=\$$3
1665                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1667 fi
1668   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_cxx_check_header_mongrel
1672 # ac_fn_cxx_try_run LINENO
1673 # ------------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1676 ac_fn_cxx_try_run ()
1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679   if { { ac_try="$ac_link"
1680 case "(($ac_try" in
1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682   *) ac_try_echo=$ac_try;;
1683 esac
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686   (eval "$ac_link") 2>&5
1687   ac_status=$?
1688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690   { { case "(($ac_try" in
1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692   *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696   (eval "$ac_try") 2>&5
1697   ac_status=$?
1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699   test $ac_status = 0; }; }; then :
1700   ac_retval=0
1701 else
1702   $as_echo "$as_me: program exited with status $ac_status" >&5
1703        $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706        ac_retval=$ac_status
1707 fi
1708   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710   as_fn_set_status $ac_retval
1712 } # ac_fn_cxx_try_run
1714 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1715 # ---------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_cxx_check_header_compile ()
1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724   $as_echo_n "(cached) " >&6
1725 else
1726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h.  */
1728 $4
1729 #include <$2>
1730 _ACEOF
1731 if ac_fn_cxx_try_compile "$LINENO"; then :
1732   eval "$3=yes"
1733 else
1734   eval "$3=no"
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 fi
1738 eval ac_res=\$$3
1739                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_cxx_check_header_compile
1745 # ac_fn_cxx_try_link LINENO
1746 # -------------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_link ()
1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751   rm -f conftest.$ac_objext conftest$ac_exeext
1752   if { { ac_try="$ac_link"
1753 case "(($ac_try" in
1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755   *) ac_try_echo=$ac_try;;
1756 esac
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759   (eval "$ac_link") 2>conftest.err
1760   ac_status=$?
1761   if test -s conftest.err; then
1762     grep -v '^ *+' conftest.err >conftest.er1
1763     cat conftest.er1 >&5
1764     mv -f conftest.er1 conftest.err
1765   fi
1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767   test $ac_status = 0; } && {
1768          test -z "$ac_cxx_werror_flag" ||
1769          test ! -s conftest.err
1770        } && test -s conftest$ac_exeext && {
1771          test "$cross_compiling" = yes ||
1772          test -x conftest$ac_exeext
1773        }; then :
1774   ac_retval=0
1775 else
1776   $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779         ac_retval=1
1780 fi
1781   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1782   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1783   # interfere with the next link command; also delete a directory that is
1784   # left behind by Apple's compiler.  We do this before executing the actions.
1785   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787   as_fn_set_status $ac_retval
1789 } # ac_fn_cxx_try_link
1791 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1792 # ---------------------------------------------
1793 # Tests whether TYPE exists after having included INCLUDES, setting cache
1794 # variable VAR accordingly.
1795 ac_fn_cxx_check_type ()
1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801   $as_echo_n "(cached) " >&6
1802 else
1803   eval "$3=no"
1804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h.  */
1806 $4
1807 int
1808 main ()
1810 if (sizeof ($2))
1811          return 0;
1812   ;
1813   return 0;
1815 _ACEOF
1816 if ac_fn_cxx_try_compile "$LINENO"; then :
1817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h.  */
1819 $4
1820 int
1821 main ()
1823 if (sizeof (($2)))
1824             return 0;
1825   ;
1826   return 0;
1828 _ACEOF
1829 if ac_fn_cxx_try_compile "$LINENO"; then :
1831 else
1832   eval "$3=yes"
1833 fi
1834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1835 fi
1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1837 fi
1838 eval ac_res=\$$3
1839                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 } # ac_fn_cxx_check_type
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by Xestia Address Book $as_me 0.01, which was
1849 generated by GNU Autoconf 2.69.  Invocation command line was
1851   $ $0 $@
1853 _ACEOF
1854 exec 5>>config.log
1856 cat <<_ASUNAME
1857 ## --------- ##
1858 ## Platform. ##
1859 ## --------- ##
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1870 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1871 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1874 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1875 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1876 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1878 _ASUNAME
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885     $as_echo "PATH: $as_dir"
1886   done
1887 IFS=$as_save_IFS
1889 } >&5
1891 cat >&5 <<_ACEOF
1894 ## ----------- ##
1895 ## Core tests. ##
1896 ## ----------- ##
1898 _ACEOF
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1906 ac_configure_args=
1907 ac_configure_args0=
1908 ac_configure_args1=
1909 ac_must_keep_next=false
1910 for ac_pass in 1 2
1911 do
1912   for ac_arg
1913   do
1914     case $ac_arg in
1915     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917     | -silent | --silent | --silen | --sile | --sil)
1918       continue ;;
1919     *\'*)
1920       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1921     esac
1922     case $ac_pass in
1923     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1924     2)
1925       as_fn_append ac_configure_args1 " '$ac_arg'"
1926       if test $ac_must_keep_next = true; then
1927         ac_must_keep_next=false # Got value, back to normal.
1928       else
1929         case $ac_arg in
1930           *=* | --config-cache | -C | -disable-* | --disable-* \
1931           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933           | -with-* | --with-* | -without-* | --without-* | --x)
1934             case "$ac_configure_args0 " in
1935               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1936             esac
1937             ;;
1938           -* ) ac_must_keep_next=true ;;
1939         esac
1940       fi
1941       as_fn_append ac_configure_args " '$ac_arg'"
1942       ;;
1943     esac
1944   done
1945 done
1946 { ac_configure_args0=; unset ac_configure_args0;}
1947 { ac_configure_args1=; unset ac_configure_args1;}
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log.  We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955   # Save into config.log some information that might help in debugging.
1956   {
1957     echo
1959     $as_echo "## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##"
1962     echo
1963     # The following way of writing the cache mishandles newlines in values,
1965   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966     eval ac_val=\$$ac_var
1967     case $ac_val in #(
1968     *${as_nl}*)
1969       case $ac_var in #(
1970       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1972       esac
1973       case $ac_var in #(
1974       _ | IFS | as_nl) ;; #(
1975       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976       *) { eval $ac_var=; unset $ac_var;} ;;
1977       esac ;;
1978     esac
1979   done
1980   (set) 2>&1 |
1981     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982     *${as_nl}ac_space=\ *)
1983       sed -n \
1984         "s/'\''/'\''\\\\'\'''\''/g;
1985           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1986       ;; #(
1987     *)
1988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1989       ;;
1990     esac |
1991     sort
1993     echo
1995     $as_echo "## ----------------- ##
1996 ## Output variables. ##
1997 ## ----------------- ##"
1998     echo
1999     for ac_var in $ac_subst_vars
2000     do
2001       eval ac_val=\$$ac_var
2002       case $ac_val in
2003       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2004       esac
2005       $as_echo "$ac_var='\''$ac_val'\''"
2006     done | sort
2007     echo
2009     if test -n "$ac_subst_files"; then
2010       $as_echo "## ------------------- ##
2011 ## File substitutions. ##
2012 ## ------------------- ##"
2013       echo
2014       for ac_var in $ac_subst_files
2015       do
2016         eval ac_val=\$$ac_var
2017         case $ac_val in
2018         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019         esac
2020         $as_echo "$ac_var='\''$ac_val'\''"
2021       done | sort
2022       echo
2023     fi
2025     if test -s confdefs.h; then
2026       $as_echo "## ----------- ##
2027 ## confdefs.h. ##
2028 ## ----------- ##"
2029       echo
2030       cat confdefs.h
2031       echo
2032     fi
2033     test "$ac_signal" != 0 &&
2034       $as_echo "$as_me: caught signal $ac_signal"
2035     $as_echo "$as_me: exit $exit_status"
2036   } >&5
2037   rm -f core *.core core.conftest.* &&
2038     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2039     exit $exit_status
2040 ' 0
2041 for ac_signal in 1 2 13 15; do
2042   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2043 done
2044 ac_signal=0
2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2047 rm -f -r conftest* confdefs.h
2049 $as_echo "/* confdefs.h */" > confdefs.h
2051 # Predefined preprocessor variables.
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_NAME "$PACKAGE_NAME"
2055 _ACEOF
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2059 _ACEOF
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2063 _ACEOF
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_STRING "$PACKAGE_STRING"
2067 _ACEOF
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2071 _ACEOF
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_URL "$PACKAGE_URL"
2075 _ACEOF
2078 # Let the site file select an alternate cache file if it wants to.
2079 # Prefer an explicitly selected file to automatically selected ones.
2080 ac_site_file1=NONE
2081 ac_site_file2=NONE
2082 if test -n "$CONFIG_SITE"; then
2083   # We do not want a PATH search for config.site.
2084   case $CONFIG_SITE in #((
2085     -*)  ac_site_file1=./$CONFIG_SITE;;
2086     */*) ac_site_file1=$CONFIG_SITE;;
2087     *)   ac_site_file1=./$CONFIG_SITE;;
2088   esac
2089 elif test "x$prefix" != xNONE; then
2090   ac_site_file1=$prefix/share/config.site
2091   ac_site_file2=$prefix/etc/config.site
2092 else
2093   ac_site_file1=$ac_default_prefix/share/config.site
2094   ac_site_file2=$ac_default_prefix/etc/config.site
2095 fi
2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2097 do
2098   test "x$ac_site_file" = xNONE && continue
2099   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2102     sed 's/^/| /' "$ac_site_file" >&5
2103     . "$ac_site_file" \
2104       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2106 as_fn_error $? "failed to load site script $ac_site_file
2107 See \`config.log' for more details" "$LINENO" 5; }
2108   fi
2109 done
2111 if test -r "$cache_file"; then
2112   # Some versions of bash will fail to source /dev/null (special files
2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2115     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
2117     case $cache_file in
2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119       *)                      . "./$cache_file";;
2120     esac
2121   fi
2122 else
2123   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
2125   >$cache_file
2126 fi
2128 # Check that the precious variables saved in the cache have kept the same
2129 # value.
2130 ac_cache_corrupted=false
2131 for ac_var in $ac_precious_vars; do
2132   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2133   eval ac_new_set=\$ac_env_${ac_var}_set
2134   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135   eval ac_new_val=\$ac_env_${ac_var}_value
2136   case $ac_old_set,$ac_new_set in
2137     set,)
2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2140       ac_cache_corrupted=: ;;
2141     ,set)
2142       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2144       ac_cache_corrupted=: ;;
2145     ,);;
2146     *)
2147       if test "x$ac_old_val" != "x$ac_new_val"; then
2148         # differences in whitespace do not lead to failure.
2149         ac_old_val_w=`echo x $ac_old_val`
2150         ac_new_val_w=`echo x $ac_new_val`
2151         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2152           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2154           ac_cache_corrupted=:
2155         else
2156           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2158           eval $ac_var=\$ac_old_val
2159         fi
2160         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2161 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2162         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2163 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2164       fi;;
2165   esac
2166   # Pass precious variables to config.status.
2167   if test "$ac_new_set" = set; then
2168     case $ac_new_val in
2169     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2170     *) ac_arg=$ac_var=$ac_new_val ;;
2171     esac
2172     case " $ac_configure_args " in
2173       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2174       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2175     esac
2176   fi
2177 done
2178 if $ac_cache_corrupted; then
2179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2183   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2184 fi
2185 ## -------------------- ##
2186 ## Main body of script. ##
2187 ## -------------------- ##
2189 ac_ext=c
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196 #AC_CONFIG_SRCDIR([version.h])
2197 #AC_CONFIG_HEADERS([config.h])
2200 $as_echo "#define DEBUG 1" >>confdefs.h
2203 # Checks for programs.
2204 ac_ext=cpp
2205 ac_cpp='$CXXCPP $CPPFLAGS'
2206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2209 if test -z "$CXX"; then
2210   if test -n "$CCC"; then
2211     CXX=$CCC
2212   else
2213     if test -n "$ac_tool_prefix"; then
2214   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2215   do
2216     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if ${ac_cv_prog_CXX+:} false; then :
2221   $as_echo_n "(cached) " >&6
2222 else
2223   if test -n "$CXX"; then
2224   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2225 else
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2228 do
2229   IFS=$as_save_IFS
2230   test -z "$as_dir" && as_dir=.
2231     for ac_exec_ext in '' $ac_executable_extensions; do
2232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2235     break 2
2236   fi
2237 done
2238   done
2239 IFS=$as_save_IFS
2241 fi
2242 fi
2243 CXX=$ac_cv_prog_CXX
2244 if test -n "$CXX"; then
2245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2246 $as_echo "$CXX" >&6; }
2247 else
2248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2249 $as_echo "no" >&6; }
2250 fi
2253     test -n "$CXX" && break
2254   done
2255 fi
2256 if test -z "$CXX"; then
2257   ac_ct_CXX=$CXX
2258   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2259 do
2260   # Extract the first word of "$ac_prog", so it can be a program name with args.
2261 set dummy $ac_prog; ac_word=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2265   $as_echo_n "(cached) " >&6
2266 else
2267   if test -n "$ac_ct_CXX"; then
2268   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2269 else
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2272 do
2273   IFS=$as_save_IFS
2274   test -z "$as_dir" && as_dir=.
2275     for ac_exec_ext in '' $ac_executable_extensions; do
2276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277     ac_cv_prog_ac_ct_CXX="$ac_prog"
2278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279     break 2
2280   fi
2281 done
2282   done
2283 IFS=$as_save_IFS
2285 fi
2286 fi
2287 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2288 if test -n "$ac_ct_CXX"; then
2289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2290 $as_echo "$ac_ct_CXX" >&6; }
2291 else
2292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2294 fi
2297   test -n "$ac_ct_CXX" && break
2298 done
2300   if test "x$ac_ct_CXX" = x; then
2301     CXX="g++"
2302   else
2303     case $cross_compiling:$ac_tool_warned in
2304 yes:)
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2307 ac_tool_warned=yes ;;
2308 esac
2309     CXX=$ac_ct_CXX
2310   fi
2311 fi
2313   fi
2314 fi
2315 # Provide some information about the compiler.
2316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2317 set X $ac_compile
2318 ac_compiler=$2
2319 for ac_option in --version -v -V -qversion; do
2320   { { ac_try="$ac_compiler $ac_option >&5"
2321 case "(($ac_try" in
2322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323   *) ac_try_echo=$ac_try;;
2324 esac
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2328   ac_status=$?
2329   if test -s conftest.err; then
2330     sed '10a\
2331 ... rest of stderr output deleted ...
2332          10q' conftest.err >conftest.er1
2333     cat conftest.er1 >&5
2334   fi
2335   rm -f conftest.er1 conftest.err
2336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2337   test $ac_status = 0; }
2338 done
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h.  */
2343 int
2344 main ()
2347   ;
2348   return 0;
2350 _ACEOF
2351 ac_clean_files_save=$ac_clean_files
2352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2353 # Try to create an executable without -o first, disregard a.out.
2354 # It will help us diagnose broken compilers, and finding out an intuition
2355 # of exeext.
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2357 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2358 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2360 # The possible output files:
2361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2363 ac_rmfiles=
2364 for ac_file in $ac_files
2365 do
2366   case $ac_file in
2367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2368     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2369   esac
2370 done
2371 rm -f $ac_rmfiles
2373 if { { ac_try="$ac_link_default"
2374 case "(($ac_try" in
2375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376   *) ac_try_echo=$ac_try;;
2377 esac
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380   (eval "$ac_link_default") 2>&5
2381   ac_status=$?
2382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383   test $ac_status = 0; }; then :
2384   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2386 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2387 # so that the user can short-circuit this test for compilers unknown to
2388 # Autoconf.
2389 for ac_file in $ac_files ''
2390 do
2391   test -f "$ac_file" || continue
2392   case $ac_file in
2393     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2394         ;;
2395     [ab].out )
2396         # We found the default executable, but exeext='' is most
2397         # certainly right.
2398         break;;
2399     *.* )
2400         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2401         then :; else
2402            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2403         fi
2404         # We set ac_cv_exeext here because the later test for it is not
2405         # safe: cross compilers may not add the suffix if given an `-o'
2406         # argument, so we may need to know it at that point already.
2407         # Even if this section looks crufty: it has the advantage of
2408         # actually working.
2409         break;;
2410     * )
2411         break;;
2412   esac
2413 done
2414 test "$ac_cv_exeext" = no && ac_cv_exeext=
2416 else
2417   ac_file=''
2418 fi
2419 if test -z "$ac_file"; then :
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2422 $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error 77 "C++ compiler cannot create executables
2428 See \`config.log' for more details" "$LINENO" 5; }
2429 else
2430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431 $as_echo "yes" >&6; }
2432 fi
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2434 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2436 $as_echo "$ac_file" >&6; }
2437 ac_exeext=$ac_cv_exeext
2439 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2440 ac_clean_files=$ac_clean_files_save
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2442 $as_echo_n "checking for suffix of executables... " >&6; }
2443 if { { ac_try="$ac_link"
2444 case "(($ac_try" in
2445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2446   *) ac_try_echo=$ac_try;;
2447 esac
2448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2449 $as_echo "$ac_try_echo"; } >&5
2450   (eval "$ac_link") 2>&5
2451   ac_status=$?
2452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453   test $ac_status = 0; }; then :
2454   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2455 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2456 # work properly (i.e., refer to `conftest.exe'), while it won't with
2457 # `rm'.
2458 for ac_file in conftest.exe conftest conftest.*; do
2459   test -f "$ac_file" || continue
2460   case $ac_file in
2461     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2462     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2463           break;;
2464     * ) break;;
2465   esac
2466 done
2467 else
2468   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2471 See \`config.log' for more details" "$LINENO" 5; }
2472 fi
2473 rm -f conftest conftest$ac_cv_exeext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2475 $as_echo "$ac_cv_exeext" >&6; }
2477 rm -f conftest.$ac_ext
2478 EXEEXT=$ac_cv_exeext
2479 ac_exeext=$EXEEXT
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h.  */
2482 #include <stdio.h>
2483 int
2484 main ()
2486 FILE *f = fopen ("conftest.out", "w");
2487  return ferror (f) || fclose (f) != 0;
2489   ;
2490   return 0;
2492 _ACEOF
2493 ac_clean_files="$ac_clean_files conftest.out"
2494 # Check that the compiler produces executables we can run.  If not, either
2495 # the compiler is broken, or we cross compile.
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2497 $as_echo_n "checking whether we are cross compiling... " >&6; }
2498 if test "$cross_compiling" != yes; then
2499   { { ac_try="$ac_link"
2500 case "(($ac_try" in
2501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502   *) ac_try_echo=$ac_try;;
2503 esac
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506   (eval "$ac_link") 2>&5
2507   ac_status=$?
2508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509   test $ac_status = 0; }
2510   if { ac_try='./conftest$ac_cv_exeext'
2511   { { case "(($ac_try" in
2512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513   *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517   (eval "$ac_try") 2>&5
2518   ac_status=$?
2519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520   test $ac_status = 0; }; }; then
2521     cross_compiling=no
2522   else
2523     if test "$cross_compiling" = maybe; then
2524         cross_compiling=yes
2525     else
2526         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528 as_fn_error $? "cannot run C++ compiled programs.
2529 If you meant to cross compile, use \`--host'.
2530 See \`config.log' for more details" "$LINENO" 5; }
2531     fi
2532   fi
2533 fi
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2535 $as_echo "$cross_compiling" >&6; }
2537 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2538 ac_clean_files=$ac_clean_files_save
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2540 $as_echo_n "checking for suffix of object files... " >&6; }
2541 if ${ac_cv_objext+:} false; then :
2542   $as_echo_n "(cached) " >&6
2543 else
2544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h.  */
2547 int
2548 main ()
2551   ;
2552   return 0;
2554 _ACEOF
2555 rm -f conftest.o conftest.obj
2556 if { { ac_try="$ac_compile"
2557 case "(($ac_try" in
2558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559   *) ac_try_echo=$ac_try;;
2560 esac
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563   (eval "$ac_compile") 2>&5
2564   ac_status=$?
2565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566   test $ac_status = 0; }; then :
2567   for ac_file in conftest.o conftest.obj conftest.*; do
2568   test -f "$ac_file" || continue;
2569   case $ac_file in
2570     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2571     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2572        break;;
2573   esac
2574 done
2575 else
2576   $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error $? "cannot compute suffix of object files: cannot compile
2582 See \`config.log' for more details" "$LINENO" 5; }
2583 fi
2584 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2585 fi
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2587 $as_echo "$ac_cv_objext" >&6; }
2588 OBJEXT=$ac_cv_objext
2589 ac_objext=$OBJEXT
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2591 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2592 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2593   $as_echo_n "(cached) " >&6
2594 else
2595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h.  */
2598 int
2599 main ()
2601 #ifndef __GNUC__
2602        choke me
2603 #endif
2605   ;
2606   return 0;
2608 _ACEOF
2609 if ac_fn_cxx_try_compile "$LINENO"; then :
2610   ac_compiler_gnu=yes
2611 else
2612   ac_compiler_gnu=no
2613 fi
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2617 fi
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2619 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2620 if test $ac_compiler_gnu = yes; then
2621   GXX=yes
2622 else
2623   GXX=
2624 fi
2625 ac_test_CXXFLAGS=${CXXFLAGS+set}
2626 ac_save_CXXFLAGS=$CXXFLAGS
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2628 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2629 if ${ac_cv_prog_cxx_g+:} false; then :
2630   $as_echo_n "(cached) " >&6
2631 else
2632   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2633    ac_cxx_werror_flag=yes
2634    ac_cv_prog_cxx_g=no
2635    CXXFLAGS="-g"
2636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h.  */
2639 int
2640 main ()
2643   ;
2644   return 0;
2646 _ACEOF
2647 if ac_fn_cxx_try_compile "$LINENO"; then :
2648   ac_cv_prog_cxx_g=yes
2649 else
2650   CXXFLAGS=""
2651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h.  */
2654 int
2655 main ()
2658   ;
2659   return 0;
2661 _ACEOF
2662 if ac_fn_cxx_try_compile "$LINENO"; then :
2664 else
2665   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2666          CXXFLAGS="-g"
2667          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h.  */
2670 int
2671 main ()
2674   ;
2675   return 0;
2677 _ACEOF
2678 if ac_fn_cxx_try_compile "$LINENO"; then :
2679   ac_cv_prog_cxx_g=yes
2680 fi
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 fi
2683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2684 fi
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2686    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2687 fi
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2689 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2690 if test "$ac_test_CXXFLAGS" = set; then
2691   CXXFLAGS=$ac_save_CXXFLAGS
2692 elif test $ac_cv_prog_cxx_g = yes; then
2693   if test "$GXX" = yes; then
2694     CXXFLAGS="-g -O2"
2695   else
2696     CXXFLAGS="-g"
2697   fi
2698 else
2699   if test "$GXX" = yes; then
2700     CXXFLAGS="-O2"
2701   else
2702     CXXFLAGS=
2703   fi
2704 fi
2705 ac_ext=c
2706 ac_cpp='$CPP $CPPFLAGS'
2707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711 ac_ext=c
2712 ac_cpp='$CPP $CPPFLAGS'
2713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 if test -n "$ac_tool_prefix"; then
2717   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_CC+:} false; then :
2722   $as_echo_n "(cached) " >&6
2723 else
2724   if test -n "$CC"; then
2725   ac_cv_prog_CC="$CC" # Let the user override the test.
2726 else
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 for as_dir in $PATH
2729 do
2730   IFS=$as_save_IFS
2731   test -z "$as_dir" && as_dir=.
2732     for ac_exec_ext in '' $ac_executable_extensions; do
2733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736     break 2
2737   fi
2738 done
2739   done
2740 IFS=$as_save_IFS
2742 fi
2743 fi
2744 CC=$ac_cv_prog_CC
2745 if test -n "$CC"; then
2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2748 else
2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2751 fi
2754 fi
2755 if test -z "$ac_cv_prog_CC"; then
2756   ac_ct_CC=$CC
2757   # Extract the first word of "gcc", so it can be a program name with args.
2758 set dummy gcc; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   if test -n "$ac_ct_CC"; then
2765   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH
2769 do
2770   IFS=$as_save_IFS
2771   test -z "$as_dir" && as_dir=.
2772     for ac_exec_ext in '' $ac_executable_extensions; do
2773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774     ac_cv_prog_ac_ct_CC="gcc"
2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776     break 2
2777   fi
2778 done
2779   done
2780 IFS=$as_save_IFS
2782 fi
2783 fi
2784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2785 if test -n "$ac_ct_CC"; then
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2787 $as_echo "$ac_ct_CC" >&6; }
2788 else
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2791 fi
2793   if test "x$ac_ct_CC" = x; then
2794     CC=""
2795   else
2796     case $cross_compiling:$ac_tool_warned in
2797 yes:)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned=yes ;;
2801 esac
2802     CC=$ac_ct_CC
2803   fi
2804 else
2805   CC="$ac_cv_prog_CC"
2806 fi
2808 if test -z "$CC"; then
2809           if test -n "$ac_tool_prefix"; then
2810     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}cc; ac_word=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_CC+:} false; then :
2815   $as_echo_n "(cached) " >&6
2816 else
2817   if test -n "$CC"; then
2818   ac_cv_prog_CC="$CC" # Let the user override the test.
2819 else
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 for as_dir in $PATH
2822 do
2823   IFS=$as_save_IFS
2824   test -z "$as_dir" && as_dir=.
2825     for ac_exec_ext in '' $ac_executable_extensions; do
2826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827     ac_cv_prog_CC="${ac_tool_prefix}cc"
2828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829     break 2
2830   fi
2831 done
2832   done
2833 IFS=$as_save_IFS
2835 fi
2836 fi
2837 CC=$ac_cv_prog_CC
2838 if test -n "$CC"; then
2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2840 $as_echo "$CC" >&6; }
2841 else
2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2844 fi
2847   fi
2848 fi
2849 if test -z "$CC"; then
2850   # Extract the first word of "cc", so it can be a program name with args.
2851 set dummy cc; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_CC+:} false; then :
2855   $as_echo_n "(cached) " >&6
2856 else
2857   if test -n "$CC"; then
2858   ac_cv_prog_CC="$CC" # Let the user override the test.
2859 else
2860   ac_prog_rejected=no
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 for as_dir in $PATH
2863 do
2864   IFS=$as_save_IFS
2865   test -z "$as_dir" && as_dir=.
2866     for ac_exec_ext in '' $ac_executable_extensions; do
2867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2869        ac_prog_rejected=yes
2870        continue
2871      fi
2872     ac_cv_prog_CC="cc"
2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874     break 2
2875   fi
2876 done
2877   done
2878 IFS=$as_save_IFS
2880 if test $ac_prog_rejected = yes; then
2881   # We found a bogon in the path, so make sure we never use it.
2882   set dummy $ac_cv_prog_CC
2883   shift
2884   if test $# != 0; then
2885     # We chose a different compiler from the bogus one.
2886     # However, it has the same basename, so the bogon will be chosen
2887     # first if we set CC to just the basename; use the full file name.
2888     shift
2889     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2890   fi
2891 fi
2892 fi
2893 fi
2894 CC=$ac_cv_prog_CC
2895 if test -n "$CC"; then
2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2898 else
2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2901 fi
2904 fi
2905 if test -z "$CC"; then
2906   if test -n "$ac_tool_prefix"; then
2907   for ac_prog in cl.exe
2908   do
2909     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$CC"; then
2917   ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931   done
2932 IFS=$as_save_IFS
2934 fi
2935 fi
2936 CC=$ac_cv_prog_CC
2937 if test -n "$CC"; then
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2940 else
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 fi
2946     test -n "$CC" && break
2947   done
2948 fi
2949 if test -z "$CC"; then
2950   ac_ct_CC=$CC
2951   for ac_prog in cl.exe
2952 do
2953   # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2958   $as_echo_n "(cached) " >&6
2959 else
2960   if test -n "$ac_ct_CC"; then
2961   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2962 else
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2965 do
2966   IFS=$as_save_IFS
2967   test -z "$as_dir" && as_dir=.
2968     for ac_exec_ext in '' $ac_executable_extensions; do
2969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970     ac_cv_prog_ac_ct_CC="$ac_prog"
2971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972     break 2
2973   fi
2974 done
2975   done
2976 IFS=$as_save_IFS
2978 fi
2979 fi
2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2984 else
2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2987 fi
2990   test -n "$ac_ct_CC" && break
2991 done
2993   if test "x$ac_ct_CC" = x; then
2994     CC=""
2995   else
2996     case $cross_compiling:$ac_tool_warned in
2997 yes:)
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned=yes ;;
3001 esac
3002     CC=$ac_ct_CC
3003   fi
3004 fi
3006 fi
3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $? "no acceptable C compiler found in \$PATH
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 # Provide some information about the compiler.
3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3016 set X $ac_compile
3017 ac_compiler=$2
3018 for ac_option in --version -v -V -qversion; do
3019   { { ac_try="$ac_compiler $ac_option >&5"
3020 case "(($ac_try" in
3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022   *) ac_try_echo=$ac_try;;
3023 esac
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3027   ac_status=$?
3028   if test -s conftest.err; then
3029     sed '10a\
3030 ... rest of stderr output deleted ...
3031          10q' conftest.err >conftest.er1
3032     cat conftest.er1 >&5
3033   fi
3034   rm -f conftest.er1 conftest.err
3035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036   test $ac_status = 0; }
3037 done
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3040 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3041 if ${ac_cv_c_compiler_gnu+:} false; then :
3042   $as_echo_n "(cached) " >&6
3043 else
3044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h.  */
3047 int
3048 main ()
3050 #ifndef __GNUC__
3051        choke me
3052 #endif
3054   ;
3055   return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"; then :
3059   ac_compiler_gnu=yes
3060 else
3061   ac_compiler_gnu=no
3062 fi
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3066 fi
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3068 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3069 if test $ac_compiler_gnu = yes; then
3070   GCC=yes
3071 else
3072   GCC=
3073 fi
3074 ac_test_CFLAGS=${CFLAGS+set}
3075 ac_save_CFLAGS=$CFLAGS
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3077 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3078 if ${ac_cv_prog_cc_g+:} false; then :
3079   $as_echo_n "(cached) " >&6
3080 else
3081   ac_save_c_werror_flag=$ac_c_werror_flag
3082    ac_c_werror_flag=yes
3083    ac_cv_prog_cc_g=no
3084    CFLAGS="-g"
3085    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h.  */
3088 int
3089 main ()
3092   ;
3093   return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"; then :
3097   ac_cv_prog_cc_g=yes
3098 else
3099   CFLAGS=""
3100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h.  */
3103 int
3104 main ()
3107   ;
3108   return 0;
3110 _ACEOF
3111 if ac_fn_c_try_compile "$LINENO"; then :
3113 else
3114   ac_c_werror_flag=$ac_save_c_werror_flag
3115          CFLAGS="-g"
3116          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h.  */
3119 int
3120 main ()
3123   ;
3124   return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"; then :
3128   ac_cv_prog_cc_g=yes
3129 fi
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3131 fi
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 fi
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135    ac_c_werror_flag=$ac_save_c_werror_flag
3136 fi
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3138 $as_echo "$ac_cv_prog_cc_g" >&6; }
3139 if test "$ac_test_CFLAGS" = set; then
3140   CFLAGS=$ac_save_CFLAGS
3141 elif test $ac_cv_prog_cc_g = yes; then
3142   if test "$GCC" = yes; then
3143     CFLAGS="-g -O2"
3144   else
3145     CFLAGS="-g"
3146   fi
3147 else
3148   if test "$GCC" = yes; then
3149     CFLAGS="-O2"
3150   else
3151     CFLAGS=
3152   fi
3153 fi
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3155 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3156 if ${ac_cv_prog_cc_c89+:} false; then :
3157   $as_echo_n "(cached) " >&6
3158 else
3159   ac_cv_prog_cc_c89=no
3160 ac_save_CC=$CC
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h.  */
3163 #include <stdarg.h>
3164 #include <stdio.h>
3165 struct stat;
3166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3167 struct buf { int x; };
3168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3169 static char *e (p, i)
3170      char **p;
3171      int i;
3173   return p[i];
3175 static char *f (char * (*g) (char **, int), char **p, ...)
3177   char *s;
3178   va_list v;
3179   va_start (v,p);
3180   s = g (p, va_arg (v,int));
3181   va_end (v);
3182   return s;
3185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3186    function prototypes and stuff, but not '\xHH' hex character constants.
3187    These don't provoke an error unfortunately, instead are silently treated
3188    as 'x'.  The following induces an error, until -std is added to get
3189    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3190    array size at least.  It's necessary to write '\x00'==0 to get something
3191    that's true only with -std.  */
3192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3194 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3195    inside strings and character constants.  */
3196 #define FOO(x) 'x'
3197 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3199 int test (int i, double x);
3200 struct s1 {int (*f) (int a);};
3201 struct s2 {int (*f) (double a);};
3202 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3203 int argc;
3204 char **argv;
3205 int
3206 main ()
3208 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3209   ;
3210   return 0;
3212 _ACEOF
3213 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3214         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3215 do
3216   CC="$ac_save_CC $ac_arg"
3217   if ac_fn_c_try_compile "$LINENO"; then :
3218   ac_cv_prog_cc_c89=$ac_arg
3219 fi
3220 rm -f core conftest.err conftest.$ac_objext
3221   test "x$ac_cv_prog_cc_c89" != "xno" && break
3222 done
3223 rm -f conftest.$ac_ext
3224 CC=$ac_save_CC
3226 fi
3227 # AC_CACHE_VAL
3228 case "x$ac_cv_prog_cc_c89" in
3229   x)
3230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3231 $as_echo "none needed" >&6; } ;;
3232   xno)
3233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3234 $as_echo "unsupported" >&6; } ;;
3235   *)
3236     CC="$CC $ac_cv_prog_cc_c89"
3237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3238 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3239 esac
3240 if test "x$ac_cv_prog_cc_c89" != xno; then :
3242 fi
3244 ac_ext=c
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 ac_ext=c
3251 ac_cpp='$CPP $CPPFLAGS'
3252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3256 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3257 # On Suns, sometimes $CPP names a directory.
3258 if test -n "$CPP" && test -d "$CPP"; then
3259   CPP=
3260 fi
3261 if test -z "$CPP"; then
3262   if ${ac_cv_prog_CPP+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265       # Double quotes because CPP needs to be expanded
3266     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3267     do
3268       ac_preproc_ok=false
3269 for ac_c_preproc_warn_flag in '' yes
3270 do
3271   # Use a header file that comes with gcc, so configuring glibc
3272   # with a fresh cross-compiler works.
3273   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3274   # <limits.h> exists even on freestanding compilers.
3275   # On the NeXT, cc -E runs the code through the compiler's parser,
3276   # not just through cpp. "Syntax error" is here to catch this case.
3277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h.  */
3279 #ifdef __STDC__
3280 # include <limits.h>
3281 #else
3282 # include <assert.h>
3283 #endif
3284                      Syntax error
3285 _ACEOF
3286 if ac_fn_c_try_cpp "$LINENO"; then :
3288 else
3289   # Broken: fails on valid input.
3290 continue
3291 fi
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3294   # OK, works on sane cases.  Now check whether nonexistent headers
3295   # can be detected and how.
3296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h.  */
3298 #include <ac_nonexistent.h>
3299 _ACEOF
3300 if ac_fn_c_try_cpp "$LINENO"; then :
3301   # Broken: success on invalid input.
3302 continue
3303 else
3304   # Passes both tests.
3305 ac_preproc_ok=:
3306 break
3307 fi
3308 rm -f conftest.err conftest.i conftest.$ac_ext
3310 done
3311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3312 rm -f conftest.i conftest.err conftest.$ac_ext
3313 if $ac_preproc_ok; then :
3314   break
3315 fi
3317     done
3318     ac_cv_prog_CPP=$CPP
3320 fi
3321   CPP=$ac_cv_prog_CPP
3322 else
3323   ac_cv_prog_CPP=$CPP
3324 fi
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3326 $as_echo "$CPP" >&6; }
3327 ac_preproc_ok=false
3328 for ac_c_preproc_warn_flag in '' yes
3329 do
3330   # Use a header file that comes with gcc, so configuring glibc
3331   # with a fresh cross-compiler works.
3332   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3333   # <limits.h> exists even on freestanding compilers.
3334   # On the NeXT, cc -E runs the code through the compiler's parser,
3335   # not just through cpp. "Syntax error" is here to catch this case.
3336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h.  */
3338 #ifdef __STDC__
3339 # include <limits.h>
3340 #else
3341 # include <assert.h>
3342 #endif
3343                      Syntax error
3344 _ACEOF
3345 if ac_fn_c_try_cpp "$LINENO"; then :
3347 else
3348   # Broken: fails on valid input.
3349 continue
3350 fi
3351 rm -f conftest.err conftest.i conftest.$ac_ext
3353   # OK, works on sane cases.  Now check whether nonexistent headers
3354   # can be detected and how.
3355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h.  */
3357 #include <ac_nonexistent.h>
3358 _ACEOF
3359 if ac_fn_c_try_cpp "$LINENO"; then :
3360   # Broken: success on invalid input.
3361 continue
3362 else
3363   # Passes both tests.
3364 ac_preproc_ok=:
3365 break
3366 fi
3367 rm -f conftest.err conftest.i conftest.$ac_ext
3369 done
3370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3371 rm -f conftest.i conftest.err conftest.$ac_ext
3372 if $ac_preproc_ok; then :
3374 else
3375   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3378 See \`config.log' for more details" "$LINENO" 5; }
3379 fi
3381 ac_ext=c
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3388 # Checks for libraries.
3390 # wxWidgets
3392 ac_ext=cpp
3393 ac_cpp='$CXXCPP $CPPFLAGS'
3394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3399 # Check for C++11 support for the compiler.
3401 CPPFLAGS="$CPPFLAGS -std=c++11"
3402 CXXFLAGS="$CXXFLAGS -std=c++11"
3405 ac_ext=cpp
3406 ac_cpp='$CXXCPP $CPPFLAGS'
3407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3411 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3412 if test -z "$CXXCPP"; then
3413   if ${ac_cv_prog_CXXCPP+:} false; then :
3414   $as_echo_n "(cached) " >&6
3415 else
3416       # Double quotes because CXXCPP needs to be expanded
3417     for CXXCPP in "$CXX -E" "/lib/cpp"
3418     do
3419       ac_preproc_ok=false
3420 for ac_cxx_preproc_warn_flag in '' yes
3421 do
3422   # Use a header file that comes with gcc, so configuring glibc
3423   # with a fresh cross-compiler works.
3424   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3425   # <limits.h> exists even on freestanding compilers.
3426   # On the NeXT, cc -E runs the code through the compiler's parser,
3427   # not just through cpp. "Syntax error" is here to catch this case.
3428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h.  */
3430 #ifdef __STDC__
3431 # include <limits.h>
3432 #else
3433 # include <assert.h>
3434 #endif
3435                      Syntax error
3436 _ACEOF
3437 if ac_fn_cxx_try_cpp "$LINENO"; then :
3439 else
3440   # Broken: fails on valid input.
3441 continue
3442 fi
3443 rm -f conftest.err conftest.i conftest.$ac_ext
3445   # OK, works on sane cases.  Now check whether nonexistent headers
3446   # can be detected and how.
3447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h.  */
3449 #include <ac_nonexistent.h>
3450 _ACEOF
3451 if ac_fn_cxx_try_cpp "$LINENO"; then :
3452   # Broken: success on invalid input.
3453 continue
3454 else
3455   # Passes both tests.
3456 ac_preproc_ok=:
3457 break
3458 fi
3459 rm -f conftest.err conftest.i conftest.$ac_ext
3461 done
3462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3463 rm -f conftest.i conftest.err conftest.$ac_ext
3464 if $ac_preproc_ok; then :
3465   break
3466 fi
3468     done
3469     ac_cv_prog_CXXCPP=$CXXCPP
3471 fi
3472   CXXCPP=$ac_cv_prog_CXXCPP
3473 else
3474   ac_cv_prog_CXXCPP=$CXXCPP
3475 fi
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3477 $as_echo "$CXXCPP" >&6; }
3478 ac_preproc_ok=false
3479 for ac_cxx_preproc_warn_flag in '' yes
3480 do
3481   # Use a header file that comes with gcc, so configuring glibc
3482   # with a fresh cross-compiler works.
3483   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3484   # <limits.h> exists even on freestanding compilers.
3485   # On the NeXT, cc -E runs the code through the compiler's parser,
3486   # not just through cpp. "Syntax error" is here to catch this case.
3487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h.  */
3489 #ifdef __STDC__
3490 # include <limits.h>
3491 #else
3492 # include <assert.h>
3493 #endif
3494                      Syntax error
3495 _ACEOF
3496 if ac_fn_cxx_try_cpp "$LINENO"; then :
3498 else
3499   # Broken: fails on valid input.
3500 continue
3501 fi
3502 rm -f conftest.err conftest.i conftest.$ac_ext
3504   # OK, works on sane cases.  Now check whether nonexistent headers
3505   # can be detected and how.
3506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h.  */
3508 #include <ac_nonexistent.h>
3509 _ACEOF
3510 if ac_fn_cxx_try_cpp "$LINENO"; then :
3511   # Broken: success on invalid input.
3512 continue
3513 else
3514   # Passes both tests.
3515 ac_preproc_ok=:
3516 break
3517 fi
3518 rm -f conftest.err conftest.i conftest.$ac_ext
3520 done
3521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3522 rm -f conftest.i conftest.err conftest.$ac_ext
3523 if $ac_preproc_ok; then :
3525 else
3526   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3529 See \`config.log' for more details" "$LINENO" 5; }
3530 fi
3532 ac_ext=cpp
3533 ac_cpp='$CXXCPP $CPPFLAGS'
3534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3541 if ${ac_cv_path_GREP+:} false; then :
3542   $as_echo_n "(cached) " >&6
3543 else
3544   if test -z "$GREP"; then
3545   ac_path_GREP_found=false
3546   # Loop through the user's path and test for each of PROGNAME-LIST
3547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3549 do
3550   IFS=$as_save_IFS
3551   test -z "$as_dir" && as_dir=.
3552     for ac_prog in grep ggrep; do
3553     for ac_exec_ext in '' $ac_executable_extensions; do
3554       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3555       as_fn_executable_p "$ac_path_GREP" || continue
3556 # Check for GNU ac_path_GREP and select it if it is found.
3557   # Check for GNU $ac_path_GREP
3558 case `"$ac_path_GREP" --version 2>&1` in
3559 *GNU*)
3560   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3561 *)
3562   ac_count=0
3563   $as_echo_n 0123456789 >"conftest.in"
3564   while :
3565   do
3566     cat "conftest.in" "conftest.in" >"conftest.tmp"
3567     mv "conftest.tmp" "conftest.in"
3568     cp "conftest.in" "conftest.nl"
3569     $as_echo 'GREP' >> "conftest.nl"
3570     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3572     as_fn_arith $ac_count + 1 && ac_count=$as_val
3573     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3574       # Best one so far, save it but keep looking for a better one
3575       ac_cv_path_GREP="$ac_path_GREP"
3576       ac_path_GREP_max=$ac_count
3577     fi
3578     # 10*(2^10) chars as input seems more than enough
3579     test $ac_count -gt 10 && break
3580   done
3581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3582 esac
3584       $ac_path_GREP_found && break 3
3585     done
3586   done
3587   done
3588 IFS=$as_save_IFS
3589   if test -z "$ac_cv_path_GREP"; then
3590     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3591   fi
3592 else
3593   ac_cv_path_GREP=$GREP
3594 fi
3596 fi
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3598 $as_echo "$ac_cv_path_GREP" >&6; }
3599  GREP="$ac_cv_path_GREP"
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3603 $as_echo_n "checking for egrep... " >&6; }
3604 if ${ac_cv_path_EGREP+:} false; then :
3605   $as_echo_n "(cached) " >&6
3606 else
3607   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3608    then ac_cv_path_EGREP="$GREP -E"
3609    else
3610      if test -z "$EGREP"; then
3611   ac_path_EGREP_found=false
3612   # Loop through the user's path and test for each of PROGNAME-LIST
3613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3615 do
3616   IFS=$as_save_IFS
3617   test -z "$as_dir" && as_dir=.
3618     for ac_prog in egrep; do
3619     for ac_exec_ext in '' $ac_executable_extensions; do
3620       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3621       as_fn_executable_p "$ac_path_EGREP" || continue
3622 # Check for GNU ac_path_EGREP and select it if it is found.
3623   # Check for GNU $ac_path_EGREP
3624 case `"$ac_path_EGREP" --version 2>&1` in
3625 *GNU*)
3626   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3627 *)
3628   ac_count=0
3629   $as_echo_n 0123456789 >"conftest.in"
3630   while :
3631   do
3632     cat "conftest.in" "conftest.in" >"conftest.tmp"
3633     mv "conftest.tmp" "conftest.in"
3634     cp "conftest.in" "conftest.nl"
3635     $as_echo 'EGREP' >> "conftest.nl"
3636     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3637     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3638     as_fn_arith $ac_count + 1 && ac_count=$as_val
3639     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3640       # Best one so far, save it but keep looking for a better one
3641       ac_cv_path_EGREP="$ac_path_EGREP"
3642       ac_path_EGREP_max=$ac_count
3643     fi
3644     # 10*(2^10) chars as input seems more than enough
3645     test $ac_count -gt 10 && break
3646   done
3647   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3648 esac
3650       $ac_path_EGREP_found && break 3
3651     done
3652   done
3653   done
3654 IFS=$as_save_IFS
3655   if test -z "$ac_cv_path_EGREP"; then
3656     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3657   fi
3658 else
3659   ac_cv_path_EGREP=$EGREP
3660 fi
3662    fi
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3665 $as_echo "$ac_cv_path_EGREP" >&6; }
3666  EGREP="$ac_cv_path_EGREP"
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3670 $as_echo_n "checking for ANSI C header files... " >&6; }
3671 if ${ac_cv_header_stdc+:} false; then :
3672   $as_echo_n "(cached) " >&6
3673 else
3674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h.  */
3676 #include <stdlib.h>
3677 #include <stdarg.h>
3678 #include <string.h>
3679 #include <float.h>
3681 int
3682 main ()
3685   ;
3686   return 0;
3688 _ACEOF
3689 if ac_fn_cxx_try_compile "$LINENO"; then :
3690   ac_cv_header_stdc=yes
3691 else
3692   ac_cv_header_stdc=no
3693 fi
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 if test $ac_cv_header_stdc = yes; then
3697   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h.  */
3700 #include <string.h>
3702 _ACEOF
3703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3704   $EGREP "memchr" >/dev/null 2>&1; then :
3706 else
3707   ac_cv_header_stdc=no
3708 fi
3709 rm -f conftest*
3711 fi
3713 if test $ac_cv_header_stdc = yes; then
3714   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h.  */
3717 #include <stdlib.h>
3719 _ACEOF
3720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3721   $EGREP "free" >/dev/null 2>&1; then :
3723 else
3724   ac_cv_header_stdc=no
3725 fi
3726 rm -f conftest*
3728 fi
3730 if test $ac_cv_header_stdc = yes; then
3731   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3732   if test "$cross_compiling" = yes; then :
3733   :
3734 else
3735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h.  */
3737 #include <ctype.h>
3738 #include <stdlib.h>
3739 #if ((' ' & 0x0FF) == 0x020)
3740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3742 #else
3743 # define ISLOWER(c) \
3744                    (('a' <= (c) && (c) <= 'i') \
3745                      || ('j' <= (c) && (c) <= 'r') \
3746                      || ('s' <= (c) && (c) <= 'z'))
3747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3748 #endif
3750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3751 int
3752 main ()
3754   int i;
3755   for (i = 0; i < 256; i++)
3756     if (XOR (islower (i), ISLOWER (i))
3757         || toupper (i) != TOUPPER (i))
3758       return 2;
3759   return 0;
3761 _ACEOF
3762 if ac_fn_cxx_try_run "$LINENO"; then :
3764 else
3765   ac_cv_header_stdc=no
3766 fi
3767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3768   conftest.$ac_objext conftest.beam conftest.$ac_ext
3769 fi
3771 fi
3772 fi
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3774 $as_echo "$ac_cv_header_stdc" >&6; }
3775 if test $ac_cv_header_stdc = yes; then
3777 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3779 fi
3781 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3782 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3783                   inttypes.h stdint.h unistd.h
3784 do :
3785   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3786 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3789   cat >>confdefs.h <<_ACEOF
3790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3791 _ACEOF
3793 fi
3795 done
3798 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3799 if test "x$ac_cv_header_thread" = xyes; then :
3801 else
3802   echo "The C++ compiler does not support C++11 extensions which is
3803 needed for Xestia Address Book. Please install or use a
3804 compiler that supports C++11 extensions."
3805         exit -1
3807 fi
3813 # Check whether --with-wxdir was given.
3814 if test "${with_wxdir+set}" = set; then :
3815   withval=$with_wxdir;  wx_config_name="$withval/wx-config"
3816                   wx_config_args="--inplace"
3817 fi
3820 # Check whether --with-wx-config was given.
3821 if test "${with_wx_config+set}" = set; then :
3822   withval=$with_wx_config; wx_config_name="$withval"
3823 fi
3826 # Check whether --with-wx-prefix was given.
3827 if test "${with_wx_prefix+set}" = set; then :
3828   withval=$with_wx_prefix; wx_config_prefix="$withval"
3829 else
3830   wx_config_prefix=""
3831 fi
3834 # Check whether --with-wx-exec-prefix was given.
3835 if test "${with_wx_exec_prefix+set}" = set; then :
3836   withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3837 else
3838   wx_config_exec_prefix=""
3839 fi
3842 reqwx=3.0.0
3845     if test x${WX_CONFIG_NAME+set} != xset ; then
3846      WX_CONFIG_NAME=wx-config
3847   fi
3849   if test "x$wx_config_name" != x ; then
3850      WX_CONFIG_NAME="$wx_config_name"
3851   fi
3853     if test x$wx_config_exec_prefix != x ; then
3854      wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3855      WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3856   fi
3857   if test x$wx_config_prefix != x ; then
3858      wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3859      WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3860   fi
3861   if test "$cross_compiling" = "yes"; then
3862      wx_config_args="$wx_config_args --host=$host_alias"
3863   fi
3865     if test -x "$WX_CONFIG_NAME" ; then
3866      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3867 $as_echo_n "checking for wx-config... " >&6; }
3868      WX_CONFIG_PATH="$WX_CONFIG_NAME"
3869      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3870 $as_echo "$WX_CONFIG_PATH" >&6; }
3871   else
3872      # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3873 set dummy $WX_CONFIG_NAME; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3877   $as_echo_n "(cached) " >&6
3878 else
3879   case $WX_CONFIG_PATH in
3880   [\\/]* | ?:[\\/]*)
3881   ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3882   ;;
3883   *)
3884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3886 for as_dir in $as_dummy
3887 do
3888   IFS=$as_save_IFS
3889   test -z "$as_dir" && as_dir=.
3890     for ac_exec_ext in '' $ac_executable_extensions; do
3891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892     ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894     break 2
3895   fi
3896 done
3897   done
3898 IFS=$as_save_IFS
3900   test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3901   ;;
3902 esac
3903 fi
3904 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3905 if test -n "$WX_CONFIG_PATH"; then
3906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3907 $as_echo "$WX_CONFIG_PATH" >&6; }
3908 else
3909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3911 fi
3914   fi
3916   if test "$WX_CONFIG_PATH" != "no" ; then
3917     WX_VERSION=""
3919     min_wx_version=$reqwx
3920     if test -z "" ; then
3921       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3922 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3923     else
3924       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3925 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3926     fi
3928             WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
3930     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3931     wx_config_major_version=`echo $WX_VERSION | \
3932            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3933     wx_config_minor_version=`echo $WX_VERSION | \
3934            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3935     wx_config_micro_version=`echo $WX_VERSION | \
3936            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3938     wx_requested_major_version=`echo $min_wx_version | \
3939            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3940     wx_requested_minor_version=`echo $min_wx_version | \
3941            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3942     wx_requested_micro_version=`echo $min_wx_version | \
3943            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3946     wx_ver_ok=""
3947     if test "x$WX_VERSION" != x ; then
3948       if test $wx_config_major_version -gt $wx_requested_major_version; then
3949         wx_ver_ok=yes
3950       else
3951         if test $wx_config_major_version -eq $wx_requested_major_version; then
3952            if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3953               wx_ver_ok=yes
3954            else
3955               if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3956                  if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3957                     wx_ver_ok=yes
3958                  fi
3959               fi
3960            fi
3961         fi
3962       fi
3963     fi
3966     if test -n "$wx_ver_ok"; then
3967       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3968 $as_echo "yes (version $WX_VERSION)" >&6; }
3969       WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
3971                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3972 $as_echo_n "checking for wxWidgets static library... " >&6; }
3973       WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs  2>/dev/null`
3974       if test "x$WX_LIBS_STATIC" = "x"; then
3975         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3977       else
3978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979 $as_echo "yes" >&6; }
3980       fi
3982             wx_has_cppflags=""
3983       if test $wx_config_major_version -gt 2; then
3984         wx_has_cppflags=yes
3985       else
3986         if test $wx_config_major_version -eq 2; then
3987            if test $wx_config_minor_version -gt 2; then
3988               wx_has_cppflags=yes
3989            else
3990               if test $wx_config_minor_version -eq 2; then
3991                  if test $wx_config_micro_version -ge 6; then
3992                     wx_has_cppflags=yes
3993                  fi
3994               fi
3995            fi
3996         fi
3997       fi
3999             wx_has_rescomp=""
4000       if test $wx_config_major_version -gt 2; then
4001         wx_has_rescomp=yes
4002       else
4003         if test $wx_config_major_version -eq 2; then
4004            if test $wx_config_minor_version -ge 7; then
4005               wx_has_rescomp=yes
4006            fi
4007         fi
4008       fi
4009       if test "x$wx_has_rescomp" = x ; then
4010                   WX_RESCOMP=
4011       else
4012          WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4013       fi
4015       if test "x$wx_has_cppflags" = x ; then
4016                   WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4017          WX_CPPFLAGS=$WX_CFLAGS
4018          WX_CXXFLAGS=$WX_CFLAGS
4020          WX_CFLAGS_ONLY=$WX_CFLAGS
4021          WX_CXXFLAGS_ONLY=$WX_CFLAGS
4022       else
4023                   WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4024          WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4025          WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4027          WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4028          WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4029       fi
4031       wxWin=1
4033     else
4035        if test "x$WX_VERSION" = x; then
4036                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4038        else
4039           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4040 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4041        fi
4043        WX_CFLAGS=""
4044        WX_CPPFLAGS=""
4045        WX_CXXFLAGS=""
4046        WX_LIBS=""
4047        WX_LIBS_STATIC=""
4048        WX_RESCOMP=""
4050        if test ! -z ""; then
4052           wx_error_message="
4053     The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4054     build with the following settings:
4056     but such build is not available.
4058     To see the wxWidgets builds available on this system, please use
4059     'wx-config --list' command. To use the default build, returned by
4060     'wx-config --selected-config', use the options with their 'auto'
4061     default values."
4063        fi
4065        wx_error_message="
4066     The requested wxWidgets build couldn't be found.
4067     $wx_error_message
4069     If you still get this error, then check that 'wx-config' is
4070     in path, the directory where wxWidgets libraries are installed
4071     (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4072     or equivalent variable and wxWidgets version is $reqwx or above."
4074        as_fn_error $? "$wx_error_message" "$LINENO" 5
4076     fi
4077   else
4079     WX_CFLAGS=""
4080     WX_CPPFLAGS=""
4081     WX_CXXFLAGS=""
4082     WX_LIBS=""
4083     WX_LIBS_STATIC=""
4084     WX_RESCOMP=""
4086     :
4088   fi
4100       WX_VERSION_MAJOR="$wx_config_major_version"
4101   WX_VERSION_MINOR="$wx_config_minor_version"
4102   WX_VERSION_MICRO="$wx_config_micro_version"
4108 if test "$wxWin" != 1; then
4109         as_fn_error $? "
4110 wxWidgets must be installed on your system.
4112 Please check that wx-config is in path, the directory where wxWidgets libraries
4113 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4114 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4115 is $reqwx or above.
4116                 " "$LINENO" 5
4117 fi
4119 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4120 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4121 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4122 LIBS="$LIBS $WX_LIBS"
4124 # SFML Audio Library
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4127 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4128 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4129   $as_echo_n "(cached) " >&6
4130 else
4131   ac_check_lib_save_LIBS=$LIBS
4132 LIBS="-lsfml-audio  $LIBS"
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h.  */
4137 int
4138 main ()
4140 return main ();
4141   ;
4142   return 0;
4144 _ACEOF
4145 if ac_fn_cxx_try_link "$LINENO"; then :
4146   ac_cv_lib_sfml_audio_main=yes
4147 else
4148   ac_cv_lib_sfml_audio_main=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext \
4151     conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4155 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4156 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4157   cat >>confdefs.h <<_ACEOF
4158 #define HAVE_LIBSFML_AUDIO 1
4159 _ACEOF
4161   LIBS="-lsfml-audio $LIBS"
4163 else
4164   echo "The SFML libraries must be installed on your system.
4165 Please check that this library is installed properly before
4166 running configure again."
4167         exit -1
4169 fi
4172 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4173 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4175 else
4176   echo "The SFML library headers must be installed on your system.
4177 Please check that the library headers are installed properly
4178 before running configure again."
4179         exit -1
4181 fi
4185 # ossp-uuid Library
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossp-uuid++" >&5
4188 $as_echo_n "checking for main in -lossp-uuid++... " >&6; }
4189 if ${ac_cv_lib_ossp_uuidpp_main+:} false; then :
4190   $as_echo_n "(cached) " >&6
4191 else
4192   ac_check_lib_save_LIBS=$LIBS
4193 LIBS="-lossp-uuid++  $LIBS"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h.  */
4198 int
4199 main ()
4201 return main ();
4202   ;
4203   return 0;
4205 _ACEOF
4206 if ac_fn_cxx_try_link "$LINENO"; then :
4207   ac_cv_lib_ossp_uuidpp_main=yes
4208 else
4209   ac_cv_lib_ossp_uuidpp_main=no
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext \
4212     conftest$ac_exeext conftest.$ac_ext
4213 LIBS=$ac_check_lib_save_LIBS
4214 fi
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuidpp_main" >&5
4216 $as_echo "$ac_cv_lib_ossp_uuidpp_main" >&6; }
4217 if test "x$ac_cv_lib_ossp_uuidpp_main" = xyes; then :
4218   cat >>confdefs.h <<_ACEOF
4219 #define HAVE_LIBOSSP_UUID__ 1
4220 _ACEOF
4222   LIBS="-lossp-uuid++ $LIBS"
4224 else
4225   echo "The OSSP UUID C++ library must be installed on your system.
4226 Please check that this library is installed properly before
4227 running configure again."
4228         exit -1
4230 fi
4233 ac_fn_cxx_check_header_mongrel "$LINENO" "ossp/uuid++.hh" "ac_cv_header_ossp_uuidpp_hh" "$ac_includes_default"
4234 if test "x$ac_cv_header_ossp_uuidpp_hh" = xyes; then :
4236 else
4237   echo "The OSSP UUID C++ library headers must be installed on your system.
4238 Please check that the library headers are installed properly
4239 before running configure again."
4240         exit -1
4242 fi
4246 ac_ext=cpp
4247 ac_cpp='$CXXCPP $CPPFLAGS'
4248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4253 # curl Library
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4256 $as_echo_n "checking for main in -lcurl... " >&6; }
4257 if ${ac_cv_lib_curl_main+:} false; then :
4258   $as_echo_n "(cached) " >&6
4259 else
4260   ac_check_lib_save_LIBS=$LIBS
4261 LIBS="-lcurl  $LIBS"
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h.  */
4266 int
4267 main ()
4269 return main ();
4270   ;
4271   return 0;
4273 _ACEOF
4274 if ac_fn_cxx_try_link "$LINENO"; then :
4275   ac_cv_lib_curl_main=yes
4276 else
4277   ac_cv_lib_curl_main=no
4278 fi
4279 rm -f core conftest.err conftest.$ac_objext \
4280     conftest$ac_exeext conftest.$ac_ext
4281 LIBS=$ac_check_lib_save_LIBS
4282 fi
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4284 $as_echo "$ac_cv_lib_curl_main" >&6; }
4285 if test "x$ac_cv_lib_curl_main" = xyes; then :
4286   cat >>confdefs.h <<_ACEOF
4287 #define HAVE_LIBCURL 1
4288 _ACEOF
4290   LIBS="-lcurl $LIBS"
4292 else
4293   echo "The cURL library must be installed on your system.
4294 Please check that this library is installed properly before
4295 running configure again."
4296         exit -1
4298 fi
4301 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4302 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4304 else
4305   echo "The cURL library headers must be installed on your system.
4306 Please check that the library headers are installed properly
4307 before running configure again."
4308         exit -1
4310 fi
4314 # libxml2 Library
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4317 $as_echo_n "checking for main in -lxml2... " >&6; }
4318 if ${ac_cv_lib_xml2_main+:} false; then :
4319   $as_echo_n "(cached) " >&6
4320 else
4321   ac_check_lib_save_LIBS=$LIBS
4322 LIBS="-lxml2  $LIBS"
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h.  */
4327 int
4328 main ()
4330 return main ();
4331   ;
4332   return 0;
4334 _ACEOF
4335 if ac_fn_cxx_try_link "$LINENO"; then :
4336   ac_cv_lib_xml2_main=yes
4337 else
4338   ac_cv_lib_xml2_main=no
4339 fi
4340 rm -f core conftest.err conftest.$ac_objext \
4341     conftest$ac_exeext conftest.$ac_ext
4342 LIBS=$ac_check_lib_save_LIBS
4343 fi
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4345 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4346 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4347   cat >>confdefs.h <<_ACEOF
4348 #define HAVE_LIBXML2 1
4349 _ACEOF
4351   LIBS="-lxml2 $LIBS"
4353 else
4354   echo "The libxml2 library must be installed on your system.
4355 Please check that this library is installed properly before
4356 running configure again."
4357         exit -1
4359 fi
4362 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4363 do :
4364   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4365 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4367   cat >>confdefs.h <<_ACEOF
4368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4369 _ACEOF
4371 else
4372   echo "The libxml2 library headers must be installed on your system.
4373 Please check that the library headers are installed properly
4374 before running configure again."
4375         exit -1
4377 fi
4379 done
4382 # Checks for header files.
4383 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4384 do :
4385   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4386 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4388   cat >>confdefs.h <<_ACEOF
4389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4390 _ACEOF
4392 fi
4394 done
4397 # Checks for typedefs, structures, and compiler characteristics.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4399 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4400 if ${ac_cv_header_stdbool_h+:} false; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h.  */
4406              #include <stdbool.h>
4407              #ifndef bool
4408               "error: bool is not defined"
4409              #endif
4410              #ifndef false
4411               "error: false is not defined"
4412              #endif
4413              #if false
4414               "error: false is not 0"
4415              #endif
4416              #ifndef true
4417               "error: true is not defined"
4418              #endif
4419              #if true != 1
4420               "error: true is not 1"
4421              #endif
4422              #ifndef __bool_true_false_are_defined
4423               "error: __bool_true_false_are_defined is not defined"
4424              #endif
4426              struct s { _Bool s: 1; _Bool t; } s;
4428              char a[true == 1 ? 1 : -1];
4429              char b[false == 0 ? 1 : -1];
4430              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4431              char d[(bool) 0.5 == true ? 1 : -1];
4432              /* See body of main program for 'e'.  */
4433              char f[(_Bool) 0.0 == false ? 1 : -1];
4434              char g[true];
4435              char h[sizeof (_Bool)];
4436              char i[sizeof s.t];
4437              enum { j = false, k = true, l = false * true, m = true * 256 };
4438              /* The following fails for
4439                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4440              _Bool n[m];
4441              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4442              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4443              /* Catch a bug in an HP-UX C compiler.  See
4444                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4445                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4446               */
4447              _Bool q = true;
4448              _Bool *pq = &q;
4450 int
4451 main ()
4454              bool e = &s;
4455              *pq |= q;
4456              *pq |= ! q;
4457              /* Refer to every declared value, to avoid compiler optimizations.  */
4458              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4459                      + !m + !n + !o + !p + !q + !pq);
4461   ;
4462   return 0;
4464 _ACEOF
4465 if ac_fn_cxx_try_compile "$LINENO"; then :
4466   ac_cv_header_stdbool_h=yes
4467 else
4468   ac_cv_header_stdbool_h=no
4469 fi
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471 fi
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4473 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4474    ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4475 if test "x$ac_cv_type__Bool" = xyes; then :
4477 cat >>confdefs.h <<_ACEOF
4478 #define HAVE__BOOL 1
4479 _ACEOF
4482 fi
4485 if test $ac_cv_header_stdbool_h = yes; then
4487 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4489 fi
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4492 $as_echo_n "checking for inline... " >&6; }
4493 if ${ac_cv_c_inline+:} false; then :
4494   $as_echo_n "(cached) " >&6
4495 else
4496   ac_cv_c_inline=no
4497 for ac_kw in inline __inline__ __inline; do
4498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h.  */
4500 #ifndef __cplusplus
4501 typedef int foo_t;
4502 static $ac_kw foo_t static_foo () {return 0; }
4503 $ac_kw foo_t foo () {return 0; }
4504 #endif
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508   ac_cv_c_inline=$ac_kw
4509 fi
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511   test "$ac_cv_c_inline" != no && break
4512 done
4514 fi
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4516 $as_echo "$ac_cv_c_inline" >&6; }
4518 case $ac_cv_c_inline in
4519   inline | yes) ;;
4520   *)
4521     case $ac_cv_c_inline in
4522       no) ac_val=;;
4523       *) ac_val=$ac_cv_c_inline;;
4524     esac
4525     cat >>confdefs.h <<_ACEOF
4526 #ifndef __cplusplus
4527 #define inline $ac_val
4528 #endif
4529 _ACEOF
4530     ;;
4531 esac
4534 # Setup the debug setting.
4536 # Check whether --enable-debug was given.
4537 if test "${enable_debug+set}" = set; then :
4538   enableval=$enable_debug; case "${enableval}" in
4539         yes) debug=true;;
4540         no)  debug=false;;
4541         *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4542  esac
4543 else
4544   debug=false
4545 fi
4548 # Checks for library functions.
4550  if test x$debug = xtrue; then
4551   DEBUG_TRUE=
4552   DEBUG_FALSE='#'
4553 else
4554   DEBUG_TRUE='#'
4555   DEBUG_FALSE=
4556 fi
4558 if test -z "$DEBUG_TRUE"; then :
4559   DBGOUT="-O0"
4561 else
4562   DBGOUT="-Os"
4564 fi
4565 if test -z "$DEBUG_TRUE"; then :
4566   DBGSTATUS="DEBUG=true"
4568 else
4569   DBGSTATUS="DEBUG=false"
4571 fi
4572 if test -z "$DEBUG_TRUE"; then :
4573   echo "Debugging mode has been enabled."
4574 fi
4576 ac_config_files="$ac_config_files Makefile"
4578 cat >confcache <<\_ACEOF
4579 # This file is a shell script that caches the results of configure
4580 # tests run on this system so they can be shared between configure
4581 # scripts and configure runs, see configure's option --config-cache.
4582 # It is not useful on other systems.  If it contains results you don't
4583 # want to keep, you may remove or edit it.
4585 # config.status only pays attention to the cache file if you give it
4586 # the --recheck option to rerun configure.
4588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4590 # following values.
4592 _ACEOF
4594 # The following way of writing the cache mishandles newlines in values,
4595 # but we know of no workaround that is simple, portable, and efficient.
4596 # So, we kill variables containing newlines.
4597 # Ultrix sh set writes to stderr and can't be redirected directly,
4598 # and sets the high bit in the cache file unless we assign to the vars.
4600   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4601     eval ac_val=\$$ac_var
4602     case $ac_val in #(
4603     *${as_nl}*)
4604       case $ac_var in #(
4605       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4607       esac
4608       case $ac_var in #(
4609       _ | IFS | as_nl) ;; #(
4610       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4611       *) { eval $ac_var=; unset $ac_var;} ;;
4612       esac ;;
4613     esac
4614   done
4616   (set) 2>&1 |
4617     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4618     *${as_nl}ac_space=\ *)
4619       # `set' does not quote correctly, so add quotes: double-quote
4620       # substitution turns \\\\ into \\, and sed turns \\ into \.
4621       sed -n \
4622         "s/'/'\\\\''/g;
4623           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4624       ;; #(
4625     *)
4626       # `set' quotes correctly as required by POSIX, so do not add quotes.
4627       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4628       ;;
4629     esac |
4630     sort
4631 ) |
4632   sed '
4633      /^ac_cv_env_/b end
4634      t clear
4635      :clear
4636      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4637      t end
4638      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4639      :end' >>confcache
4640 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4641   if test -w "$cache_file"; then
4642     if test "x$cache_file" != "x/dev/null"; then
4643       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4644 $as_echo "$as_me: updating cache $cache_file" >&6;}
4645       if test ! -f "$cache_file" || test -h "$cache_file"; then
4646         cat confcache >"$cache_file"
4647       else
4648         case $cache_file in #(
4649         */* | ?:*)
4650           mv -f confcache "$cache_file"$$ &&
4651           mv -f "$cache_file"$$ "$cache_file" ;; #(
4652         *)
4653           mv -f confcache "$cache_file" ;;
4654         esac
4655       fi
4656     fi
4657   else
4658     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4660   fi
4661 fi
4662 rm -f confcache
4664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4665 # Let make expand exec_prefix.
4666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4668 # Transform confdefs.h into DEFS.
4669 # Protect against shell expansion while executing Makefile rules.
4670 # Protect against Makefile macro expansion.
4672 # If the first sed substitution is executed (which looks for macros that
4673 # take arguments), then branch to the quote section.  Otherwise,
4674 # look for a macro that doesn't take arguments.
4675 ac_script='
4676 :mline
4677 /\\$/{
4678  N
4679  s,\\\n,,
4680  b mline
4682 t clear
4683 :clear
4684 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4685 t quote
4686 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4687 t quote
4688 b any
4689 :quote
4690 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4691 s/\[/\\&/g
4692 s/\]/\\&/g
4693 s/\$/$$/g
4695 :any
4696 ${
4697         g
4698         s/^\n//
4699         s/\n/ /g
4700         p
4703 DEFS=`sed -n "$ac_script" confdefs.h`
4706 ac_libobjs=
4707 ac_ltlibobjs=
4708 U=
4709 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4710   # 1. Remove the extension, and $U if already installed.
4711   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4712   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4713   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4714   #    will be set to the directory where LIBOBJS objects are built.
4715   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4716   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4717 done
4718 LIBOBJS=$ac_libobjs
4720 LTLIBOBJS=$ac_ltlibobjs
4723 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
4724   as_fn_error $? "conditional \"DEBUG\" was never defined.
4725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4726 fi
4728 : "${CONFIG_STATUS=./config.status}"
4729 ac_write_fail=0
4730 ac_clean_files_save=$ac_clean_files
4731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4734 as_write_fail=0
4735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4736 #! $SHELL
4737 # Generated by $as_me.
4738 # Run this file to recreate the current configuration.
4739 # Compiler output produced by configure, useful for debugging
4740 # configure, is in config.log if it exists.
4742 debug=false
4743 ac_cs_recheck=false
4744 ac_cs_silent=false
4746 SHELL=\${CONFIG_SHELL-$SHELL}
4747 export SHELL
4748 _ASEOF
4749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4750 ## -------------------- ##
4751 ## M4sh Initialization. ##
4752 ## -------------------- ##
4754 # Be more Bourne compatible
4755 DUALCASE=1; export DUALCASE # for MKS sh
4756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4757   emulate sh
4758   NULLCMD=:
4759   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4760   # is contrary to our usage.  Disable this feature.
4761   alias -g '${1+"$@"}'='"$@"'
4762   setopt NO_GLOB_SUBST
4763 else
4764   case `(set -o) 2>/dev/null` in #(
4765   *posix*) :
4766     set -o posix ;; #(
4767   *) :
4768      ;;
4769 esac
4770 fi
4773 as_nl='
4775 export as_nl
4776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4780 # Prefer a ksh shell builtin over an external printf program on Solaris,
4781 # but without wasting forks for bash or zsh.
4782 if test -z "$BASH_VERSION$ZSH_VERSION" \
4783     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4784   as_echo='print -r --'
4785   as_echo_n='print -rn --'
4786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4787   as_echo='printf %s\n'
4788   as_echo_n='printf %s'
4789 else
4790   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4791     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4792     as_echo_n='/usr/ucb/echo -n'
4793   else
4794     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4795     as_echo_n_body='eval
4796       arg=$1;
4797       case $arg in #(
4798       *"$as_nl"*)
4799         expr "X$arg" : "X\\(.*\\)$as_nl";
4800         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4801       esac;
4802       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4803     '
4804     export as_echo_n_body
4805     as_echo_n='sh -c $as_echo_n_body as_echo'
4806   fi
4807   export as_echo_body
4808   as_echo='sh -c $as_echo_body as_echo'
4809 fi
4811 # The user is always right.
4812 if test "${PATH_SEPARATOR+set}" != set; then
4813   PATH_SEPARATOR=:
4814   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4815     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4816       PATH_SEPARATOR=';'
4817   }
4818 fi
4821 # IFS
4822 # We need space, tab and new line, in precisely that order.  Quoting is
4823 # there to prevent editors from complaining about space-tab.
4824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4825 # splitting by setting IFS to empty value.)
4826 IFS=" ""        $as_nl"
4828 # Find who we are.  Look in the path if we contain no directory separator.
4829 as_myself=
4830 case $0 in #((
4831   *[\\/]* ) as_myself=$0 ;;
4832   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4834 do
4835   IFS=$as_save_IFS
4836   test -z "$as_dir" && as_dir=.
4837     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4838   done
4839 IFS=$as_save_IFS
4841      ;;
4842 esac
4843 # We did not find ourselves, most probably we were run as `sh COMMAND'
4844 # in which case we are not to be found in the path.
4845 if test "x$as_myself" = x; then
4846   as_myself=$0
4847 fi
4848 if test ! -f "$as_myself"; then
4849   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4850   exit 1
4851 fi
4853 # Unset variables that we do not need and which cause bugs (e.g. in
4854 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4855 # suppresses any "Segmentation fault" message there.  '((' could
4856 # trigger a bug in pdksh 5.2.14.
4857 for as_var in BASH_ENV ENV MAIL MAILPATH
4858 do eval test x\${$as_var+set} = xset \
4859   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4860 done
4861 PS1='$ '
4862 PS2='> '
4863 PS4='+ '
4865 # NLS nuisances.
4866 LC_ALL=C
4867 export LC_ALL
4868 LANGUAGE=C
4869 export LANGUAGE
4871 # CDPATH.
4872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4875 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4876 # ----------------------------------------
4877 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4878 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4879 # script with STATUS, using 1 if that was 0.
4880 as_fn_error ()
4882   as_status=$1; test $as_status -eq 0 && as_status=1
4883   if test "$4"; then
4884     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4885     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4886   fi
4887   $as_echo "$as_me: error: $2" >&2
4888   as_fn_exit $as_status
4889 } # as_fn_error
4892 # as_fn_set_status STATUS
4893 # -----------------------
4894 # Set $? to STATUS, without forking.
4895 as_fn_set_status ()
4897   return $1
4898 } # as_fn_set_status
4900 # as_fn_exit STATUS
4901 # -----------------
4902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4903 as_fn_exit ()
4905   set +e
4906   as_fn_set_status $1
4907   exit $1
4908 } # as_fn_exit
4910 # as_fn_unset VAR
4911 # ---------------
4912 # Portably unset VAR.
4913 as_fn_unset ()
4915   { eval $1=; unset $1;}
4917 as_unset=as_fn_unset
4918 # as_fn_append VAR VALUE
4919 # ----------------------
4920 # Append the text in VALUE to the end of the definition contained in VAR. Take
4921 # advantage of any shell optimizations that allow amortized linear growth over
4922 # repeated appends, instead of the typical quadratic growth present in naive
4923 # implementations.
4924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4925   eval 'as_fn_append ()
4926   {
4927     eval $1+=\$2
4928   }'
4929 else
4930   as_fn_append ()
4931   {
4932     eval $1=\$$1\$2
4933   }
4934 fi # as_fn_append
4936 # as_fn_arith ARG...
4937 # ------------------
4938 # Perform arithmetic evaluation on the ARGs, and store the result in the
4939 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4940 # must be portable across $(()) and expr.
4941 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4942   eval 'as_fn_arith ()
4943   {
4944     as_val=$(( $* ))
4945   }'
4946 else
4947   as_fn_arith ()
4948   {
4949     as_val=`expr "$@" || test $? -eq 1`
4950   }
4951 fi # as_fn_arith
4954 if expr a : '\(a\)' >/dev/null 2>&1 &&
4955    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4956   as_expr=expr
4957 else
4958   as_expr=false
4959 fi
4961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4962   as_basename=basename
4963 else
4964   as_basename=false
4965 fi
4967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4968   as_dirname=dirname
4969 else
4970   as_dirname=false
4971 fi
4973 as_me=`$as_basename -- "$0" ||
4974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4975          X"$0" : 'X\(//\)$' \| \
4976          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4977 $as_echo X/"$0" |
4978     sed '/^.*\/\([^/][^/]*\)\/*$/{
4979             s//\1/
4980             q
4981           }
4982           /^X\/\(\/\/\)$/{
4983             s//\1/
4984             q
4985           }
4986           /^X\/\(\/\).*/{
4987             s//\1/
4988             q
4989           }
4990           s/.*/./; q'`
4992 # Avoid depending upon Character Ranges.
4993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4996 as_cr_digits='0123456789'
4997 as_cr_alnum=$as_cr_Letters$as_cr_digits
4999 ECHO_C= ECHO_N= ECHO_T=
5000 case `echo -n x` in #(((((
5001 -n*)
5002   case `echo 'xy\c'` in
5003   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5004   xy)  ECHO_C='\c';;
5005   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5006        ECHO_T=' ';;
5007   esac;;
5008 *)
5009   ECHO_N='-n';;
5010 esac
5012 rm -f conf$$ conf$$.exe conf$$.file
5013 if test -d conf$$.dir; then
5014   rm -f conf$$.dir/conf$$.file
5015 else
5016   rm -f conf$$.dir
5017   mkdir conf$$.dir 2>/dev/null
5018 fi
5019 if (echo >conf$$.file) 2>/dev/null; then
5020   if ln -s conf$$.file conf$$ 2>/dev/null; then
5021     as_ln_s='ln -s'
5022     # ... but there are two gotchas:
5023     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5024     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5025     # In both cases, we have to default to `cp -pR'.
5026     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5027       as_ln_s='cp -pR'
5028   elif ln conf$$.file conf$$ 2>/dev/null; then
5029     as_ln_s=ln
5030   else
5031     as_ln_s='cp -pR'
5032   fi
5033 else
5034   as_ln_s='cp -pR'
5035 fi
5036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5037 rmdir conf$$.dir 2>/dev/null
5040 # as_fn_mkdir_p
5041 # -------------
5042 # Create "$as_dir" as a directory, including parents if necessary.
5043 as_fn_mkdir_p ()
5046   case $as_dir in #(
5047   -*) as_dir=./$as_dir;;
5048   esac
5049   test -d "$as_dir" || eval $as_mkdir_p || {
5050     as_dirs=
5051     while :; do
5052       case $as_dir in #(
5053       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5054       *) as_qdir=$as_dir;;
5055       esac
5056       as_dirs="'$as_qdir' $as_dirs"
5057       as_dir=`$as_dirname -- "$as_dir" ||
5058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059          X"$as_dir" : 'X\(//\)[^/]' \| \
5060          X"$as_dir" : 'X\(//\)$' \| \
5061          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5062 $as_echo X"$as_dir" |
5063     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5064             s//\1/
5065             q
5066           }
5067           /^X\(\/\/\)[^/].*/{
5068             s//\1/
5069             q
5070           }
5071           /^X\(\/\/\)$/{
5072             s//\1/
5073             q
5074           }
5075           /^X\(\/\).*/{
5076             s//\1/
5077             q
5078           }
5079           s/.*/./; q'`
5080       test -d "$as_dir" && break
5081     done
5082     test -z "$as_dirs" || eval "mkdir $as_dirs"
5083   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5086 } # as_fn_mkdir_p
5087 if mkdir -p . 2>/dev/null; then
5088   as_mkdir_p='mkdir -p "$as_dir"'
5089 else
5090   test -d ./-p && rmdir ./-p
5091   as_mkdir_p=false
5092 fi
5095 # as_fn_executable_p FILE
5096 # -----------------------
5097 # Test if FILE is an executable regular file.
5098 as_fn_executable_p ()
5100   test -f "$1" && test -x "$1"
5101 } # as_fn_executable_p
5102 as_test_x='test -x'
5103 as_executable_p=as_fn_executable_p
5105 # Sed expression to map a string onto a valid CPP name.
5106 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5108 # Sed expression to map a string onto a valid variable name.
5109 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5112 exec 6>&1
5113 ## ----------------------------------- ##
5114 ## Main body of $CONFIG_STATUS script. ##
5115 ## ----------------------------------- ##
5116 _ASEOF
5117 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5120 # Save the log message, to keep $0 and so on meaningful, and to
5121 # report actual input values of CONFIG_FILES etc. instead of their
5122 # values after options handling.
5123 ac_log="
5124 This file was extended by Xestia Address Book $as_me 0.01, which was
5125 generated by GNU Autoconf 2.69.  Invocation command line was
5127   CONFIG_FILES    = $CONFIG_FILES
5128   CONFIG_HEADERS  = $CONFIG_HEADERS
5129   CONFIG_LINKS    = $CONFIG_LINKS
5130   CONFIG_COMMANDS = $CONFIG_COMMANDS
5131   $ $0 $@
5133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5136 _ACEOF
5138 case $ac_config_files in *"
5139 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5140 esac
5144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 # Files that config.status was made for.
5146 config_files="$ac_config_files"
5148 _ACEOF
5150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5151 ac_cs_usage="\
5152 \`$as_me' instantiates files and other configuration actions
5153 from templates according to the current configuration.  Unless the files
5154 and actions are specified as TAGs, all are instantiated by default.
5156 Usage: $0 [OPTION]... [TAG]...
5158   -h, --help       print this help, then exit
5159   -V, --version    print version number and configuration settings, then exit
5160       --config     print configuration, then exit
5161   -q, --quiet, --silent
5162                    do not print progress messages
5163   -d, --debug      don't remove temporary files
5164       --recheck    update $as_me by reconfiguring in the same conditions
5165       --file=FILE[:TEMPLATE]
5166                    instantiate the configuration file FILE
5168 Configuration files:
5169 $config_files
5171 Report bugs to <bugs@xestia.co.uk>."
5173 _ACEOF
5174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5175 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5176 ac_cs_version="\\
5177 Xestia Address Book config.status 0.01
5178 configured by $0, generated by GNU Autoconf 2.69,
5179   with options \\"\$ac_cs_config\\"
5181 Copyright (C) 2012 Free Software Foundation, Inc.
5182 This config.status script is free software; the Free Software Foundation
5183 gives unlimited permission to copy, distribute and modify it."
5185 ac_pwd='$ac_pwd'
5186 srcdir='$srcdir'
5187 test -n "\$AWK" || AWK=awk
5188 _ACEOF
5190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5191 # The default lists apply if the user does not specify any file.
5192 ac_need_defaults=:
5193 while test $# != 0
5194 do
5195   case $1 in
5196   --*=?*)
5197     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5198     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5199     ac_shift=:
5200     ;;
5201   --*=)
5202     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5203     ac_optarg=
5204     ac_shift=:
5205     ;;
5206   *)
5207     ac_option=$1
5208     ac_optarg=$2
5209     ac_shift=shift
5210     ;;
5211   esac
5213   case $ac_option in
5214   # Handling of the options.
5215   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5216     ac_cs_recheck=: ;;
5217   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5218     $as_echo "$ac_cs_version"; exit ;;
5219   --config | --confi | --conf | --con | --co | --c )
5220     $as_echo "$ac_cs_config"; exit ;;
5221   --debug | --debu | --deb | --de | --d | -d )
5222     debug=: ;;
5223   --file | --fil | --fi | --f )
5224     $ac_shift
5225     case $ac_optarg in
5226     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5227     '') as_fn_error $? "missing file argument" ;;
5228     esac
5229     as_fn_append CONFIG_FILES " '$ac_optarg'"
5230     ac_need_defaults=false;;
5231   --he | --h |  --help | --hel | -h )
5232     $as_echo "$ac_cs_usage"; exit ;;
5233   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5234   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5235     ac_cs_silent=: ;;
5237   # This is an error.
5238   -*) as_fn_error $? "unrecognized option: \`$1'
5239 Try \`$0 --help' for more information." ;;
5241   *) as_fn_append ac_config_targets " $1"
5242      ac_need_defaults=false ;;
5244   esac
5245   shift
5246 done
5248 ac_configure_extra_args=
5250 if $ac_cs_silent; then
5251   exec 6>/dev/null
5252   ac_configure_extra_args="$ac_configure_extra_args --silent"
5253 fi
5255 _ACEOF
5256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5257 if \$ac_cs_recheck; then
5258   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5259   shift
5260   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5261   CONFIG_SHELL='$SHELL'
5262   export CONFIG_SHELL
5263   exec "\$@"
5264 fi
5266 _ACEOF
5267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5268 exec 5>>config.log
5270   echo
5271   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5272 ## Running $as_me. ##
5273 _ASBOX
5274   $as_echo "$ac_log"
5275 } >&5
5277 _ACEOF
5278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5279 _ACEOF
5281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 # Handling of arguments.
5284 for ac_config_target in $ac_config_targets
5285 do
5286   case $ac_config_target in
5287     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5289   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5290   esac
5291 done
5294 # If the user did not use the arguments to specify the items to instantiate,
5295 # then the envvar interface is used.  Set only those that are not.
5296 # We use the long form for the default assignment because of an extremely
5297 # bizarre bug on SunOS 4.1.3.
5298 if $ac_need_defaults; then
5299   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5300 fi
5302 # Have a temporary directory for convenience.  Make it in the build tree
5303 # simply because there is no reason against having it here, and in addition,
5304 # creating and moving files from /tmp can sometimes cause problems.
5305 # Hook for its removal unless debugging.
5306 # Note that there is a small window in which the directory will not be cleaned:
5307 # after its creation but before its name has been assigned to `$tmp'.
5308 $debug ||
5310   tmp= ac_tmp=
5311   trap 'exit_status=$?
5312   : "${ac_tmp:=$tmp}"
5313   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5314 ' 0
5315   trap 'as_fn_exit 1' 1 2 13 15
5317 # Create a (secure) tmp directory for tmp files.
5320   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5321   test -d "$tmp"
5322 }  ||
5324   tmp=./conf$$-$RANDOM
5325   (umask 077 && mkdir "$tmp")
5326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5327 ac_tmp=$tmp
5329 # Set up the scripts for CONFIG_FILES section.
5330 # No need to generate them if there are no CONFIG_FILES.
5331 # This happens for instance with `./config.status config.h'.
5332 if test -n "$CONFIG_FILES"; then
5335 ac_cr=`echo X | tr X '\015'`
5336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5337 # But we know of no other shell where ac_cr would be empty at this
5338 # point, so we can use a bashism as a fallback.
5339 if test "x$ac_cr" = x; then
5340   eval ac_cr=\$\'\\r\'
5341 fi
5342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5344   ac_cs_awk_cr='\\r'
5345 else
5346   ac_cs_awk_cr=$ac_cr
5347 fi
5349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5350 _ACEOF
5354   echo "cat >conf$$subs.awk <<_ACEOF" &&
5355   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5356   echo "_ACEOF"
5357 } >conf$$subs.sh ||
5358   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5360 ac_delim='%!_!# '
5361 for ac_last_try in false false false false false :; do
5362   . ./conf$$subs.sh ||
5363     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5365   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5366   if test $ac_delim_n = $ac_delim_num; then
5367     break
5368   elif $ac_last_try; then
5369     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5370   else
5371     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5372   fi
5373 done
5374 rm -f conf$$subs.sh
5376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5378 _ACEOF
5379 sed -n '
5381 s/^/S["/; s/!.*/"]=/
5384 s/^[^!]*!//
5385 :repl
5386 t repl
5387 s/'"$ac_delim"'$//
5388 t delim
5389 :nl
5391 s/\(.\{148\}\)..*/\1/
5392 t more1
5393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5396 b repl
5397 :more1
5398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5401 s/.\{148\}//
5402 t nl
5403 :delim
5405 s/\(.\{148\}\)..*/\1/
5406 t more2
5407 s/["\\]/\\&/g; s/^/"/; s/$/"/
5410 :more2
5411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5414 s/.\{148\}//
5415 t delim
5416 ' <conf$$subs.awk | sed '
5417 /^[^""]/{
5418   N
5419   s/\n//
5421 ' >>$CONFIG_STATUS || ac_write_fail=1
5422 rm -f conf$$subs.awk
5423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5424 _ACAWK
5425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5426   for (key in S) S_is_set[key] = 1
5427   FS = "\a"
5431   line = $ 0
5432   nfields = split(line, field, "@")
5433   substed = 0
5434   len = length(field[1])
5435   for (i = 2; i < nfields; i++) {
5436     key = field[i]
5437     keylen = length(key)
5438     if (S_is_set[key]) {
5439       value = S[key]
5440       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5441       len += length(value) + length(field[++i])
5442       substed = 1
5443     } else
5444       len += 1 + keylen
5445   }
5447   print line
5450 _ACAWK
5451 _ACEOF
5452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5454   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5455 else
5456   cat
5457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5458   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5459 _ACEOF
5461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5463 # trailing colons and then remove the whole line if VPATH becomes empty
5464 # (actually we leave an empty line to preserve line numbers).
5465 if test "x$srcdir" = x.; then
5466   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5468 s///
5469 s/^/:/
5470 s/[      ]*$/:/
5471 s/:\$(srcdir):/:/g
5472 s/:\${srcdir}:/:/g
5473 s/:@srcdir@:/:/g
5474 s/^:*//
5475 s/:*$//
5477 s/\(=[   ]*\).*/\1/
5479 s/\n//
5480 s/^[^=]*=[       ]*$//
5481 }'
5482 fi
5484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5485 fi # test -n "$CONFIG_FILES"
5488 eval set X "  :F $CONFIG_FILES      "
5489 shift
5490 for ac_tag
5491 do
5492   case $ac_tag in
5493   :[FHLC]) ac_mode=$ac_tag; continue;;
5494   esac
5495   case $ac_mode$ac_tag in
5496   :[FHL]*:*);;
5497   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5498   :[FH]-) ac_tag=-:-;;
5499   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5500   esac
5501   ac_save_IFS=$IFS
5502   IFS=:
5503   set x $ac_tag
5504   IFS=$ac_save_IFS
5505   shift
5506   ac_file=$1
5507   shift
5509   case $ac_mode in
5510   :L) ac_source=$1;;
5511   :[FH])
5512     ac_file_inputs=
5513     for ac_f
5514     do
5515       case $ac_f in
5516       -) ac_f="$ac_tmp/stdin";;
5517       *) # Look for the file first in the build tree, then in the source tree
5518          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5519          # because $ac_f cannot contain `:'.
5520          test -f "$ac_f" ||
5521            case $ac_f in
5522            [\\/$]*) false;;
5523            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5524            esac ||
5525            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5526       esac
5527       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5528       as_fn_append ac_file_inputs " '$ac_f'"
5529     done
5531     # Let's still pretend it is `configure' which instantiates (i.e., don't
5532     # use $as_me), people would be surprised to read:
5533     #    /* config.h.  Generated by config.status.  */
5534     configure_input='Generated from '`
5535           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5536         `' by configure.'
5537     if test x"$ac_file" != x-; then
5538       configure_input="$ac_file.  $configure_input"
5539       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5540 $as_echo "$as_me: creating $ac_file" >&6;}
5541     fi
5542     # Neutralize special characters interpreted by sed in replacement strings.
5543     case $configure_input in #(
5544     *\&* | *\|* | *\\* )
5545        ac_sed_conf_input=`$as_echo "$configure_input" |
5546        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5547     *) ac_sed_conf_input=$configure_input;;
5548     esac
5550     case $ac_tag in
5551     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5552       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5553     esac
5554     ;;
5555   esac
5557   ac_dir=`$as_dirname -- "$ac_file" ||
5558 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5559          X"$ac_file" : 'X\(//\)[^/]' \| \
5560          X"$ac_file" : 'X\(//\)$' \| \
5561          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5562 $as_echo X"$ac_file" |
5563     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5564             s//\1/
5565             q
5566           }
5567           /^X\(\/\/\)[^/].*/{
5568             s//\1/
5569             q
5570           }
5571           /^X\(\/\/\)$/{
5572             s//\1/
5573             q
5574           }
5575           /^X\(\/\).*/{
5576             s//\1/
5577             q
5578           }
5579           s/.*/./; q'`
5580   as_dir="$ac_dir"; as_fn_mkdir_p
5581   ac_builddir=.
5583 case "$ac_dir" in
5584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5585 *)
5586   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5587   # A ".." for each directory in $ac_dir_suffix.
5588   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5589   case $ac_top_builddir_sub in
5590   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5591   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5592   esac ;;
5593 esac
5594 ac_abs_top_builddir=$ac_pwd
5595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5596 # for backward compatibility:
5597 ac_top_builddir=$ac_top_build_prefix
5599 case $srcdir in
5600   .)  # We are building in place.
5601     ac_srcdir=.
5602     ac_top_srcdir=$ac_top_builddir_sub
5603     ac_abs_top_srcdir=$ac_pwd ;;
5604   [\\/]* | ?:[\\/]* )  # Absolute name.
5605     ac_srcdir=$srcdir$ac_dir_suffix;
5606     ac_top_srcdir=$srcdir
5607     ac_abs_top_srcdir=$srcdir ;;
5608   *) # Relative name.
5609     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5610     ac_top_srcdir=$ac_top_build_prefix$srcdir
5611     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5612 esac
5613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5616   case $ac_mode in
5617   :F)
5618   #
5619   # CONFIG_FILE
5620   #
5622 _ACEOF
5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5625 # If the template does not know about datarootdir, expand it.
5626 # FIXME: This hack should be removed a few years after 2.60.
5627 ac_datarootdir_hack=; ac_datarootdir_seen=
5628 ac_sed_dataroot='
5629 /datarootdir/ {
5630   p
5631   q
5633 /@datadir@/p
5634 /@docdir@/p
5635 /@infodir@/p
5636 /@localedir@/p
5637 /@mandir@/p'
5638 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5639 *datarootdir*) ac_datarootdir_seen=yes;;
5640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5641   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5642 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5643 _ACEOF
5644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5645   ac_datarootdir_hack='
5646   s&@datadir@&$datadir&g
5647   s&@docdir@&$docdir&g
5648   s&@infodir@&$infodir&g
5649   s&@localedir@&$localedir&g
5650   s&@mandir@&$mandir&g
5651   s&\\\${datarootdir}&$datarootdir&g' ;;
5652 esac
5653 _ACEOF
5655 # Neutralize VPATH when `$srcdir' = `.'.
5656 # Shell code in configure.ac might set extrasub.
5657 # FIXME: do we really want to maintain this feature?
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659 ac_sed_extra="$ac_vpsub
5660 $extrasub
5661 _ACEOF
5662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5663 :t
5664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5665 s|@configure_input@|$ac_sed_conf_input|;t t
5666 s&@top_builddir@&$ac_top_builddir_sub&;t t
5667 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5668 s&@srcdir@&$ac_srcdir&;t t
5669 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5670 s&@top_srcdir@&$ac_top_srcdir&;t t
5671 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5672 s&@builddir@&$ac_builddir&;t t
5673 s&@abs_builddir@&$ac_abs_builddir&;t t
5674 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5675 $ac_datarootdir_hack
5677 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5678   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5680 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5681   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5682   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5683       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5684   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5685 which seems to be undefined.  Please make sure it is defined" >&5
5686 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5687 which seems to be undefined.  Please make sure it is defined" >&2;}
5689   rm -f "$ac_tmp/stdin"
5690   case $ac_file in
5691   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5692   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5693   esac \
5694   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5695  ;;
5699   esac
5701 done # for ac_tag
5704 as_fn_exit 0
5705 _ACEOF
5706 ac_clean_files=$ac_clean_files_save
5708 test $ac_write_fail = 0 ||
5709   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5712 # configure is writing to config.log, and then calls config.status.
5713 # config.status does its own redirection, appending to config.log.
5714 # Unfortunately, on DOS this fails, as config.log is still kept open
5715 # by configure, so config.status won't be able to write to it; its
5716 # output is simply discarded.  So we exec the FD to /dev/null,
5717 # effectively closing config.log, so it can be properly (re)opened and
5718 # appended to by config.status.  When coming back to configure, we
5719 # need to make the FD available again.
5720 if test "$no_create" != yes; then
5721   ac_cs_success=:
5722   ac_config_status_args=
5723   test "$silent" = yes &&
5724     ac_config_status_args="$ac_config_status_args --quiet"
5725   exec 5>/dev/null
5726   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5727   exec 5>>config.log
5728   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5729   # would make configure fail if this is the last instruction.
5730   $ac_cs_success || as_fn_exit 1
5731 fi
5732 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5734 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5735 fi
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy