Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated build system.
[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 FOUND_UUIDGEN_RES_FALSE
631 FOUND_UUIDGEN_RES_TRUE
632 FOUND_UUIDGEN
633 FOUND_XML2CONFIG_RES_FALSE
634 FOUND_XML2CONFIG_RES_TRUE
635 FOUND_XML2CONFIG
636 FOUND_CURLCONFIG_RES_FALSE
637 FOUND_CURLCONFIG_RES_TRUE
638 FOUND_CURLCONFIG
639 WX_VERSION_MICRO
640 WX_VERSION_MINOR
641 WX_VERSION_MAJOR
642 WX_RESCOMP
643 WX_VERSION
644 WX_LIBS_STATIC
645 WX_LIBS
646 WX_CXXFLAGS_ONLY
647 WX_CFLAGS_ONLY
648 WX_CXXFLAGS
649 WX_CFLAGS
650 WX_CPPFLAGS
651 WX_CONFIG_PATH
652 EGREP
653 GREP
654 CXXCPP
655 BINDIR
656 PREFIX
657 CPP
658 ac_ct_CC
659 CFLAGS
660 CC
661 OBJEXT
662 EXEEXT
663 ac_ct_CXX
664 CPPFLAGS
665 LDFLAGS
666 CXXFLAGS
667 CXX
668 target_alias
669 host_alias
670 build_alias
671 LIBS
672 ECHO_T
673 ECHO_N
674 ECHO_C
675 DEFS
676 mandir
677 localedir
678 libdir
679 psdir
680 pdfdir
681 dvidir
682 htmldir
683 infodir
684 docdir
685 oldincludedir
686 includedir
687 localstatedir
688 sharedstatedir
689 sysconfdir
690 datadir
691 datarootdir
692 libexecdir
693 sbindir
694 bindir
695 program_transform_name
696 prefix
697 exec_prefix
698 PACKAGE_URL
699 PACKAGE_BUGREPORT
700 PACKAGE_STRING
701 PACKAGE_VERSION
702 PACKAGE_TARNAME
703 PACKAGE_NAME
704 PATH_SEPARATOR
705 SHELL'
706 ac_subst_files=''
707 ac_user_opts='
708 enable_option_checking
709 with_wxdir
710 with_wx_config
711 with_wx_prefix
712 with_wx_exec_prefix
713 enable_debug
715       ac_precious_vars='build_alias
716 host_alias
717 target_alias
718 CXX
719 CXXFLAGS
720 LDFLAGS
721 LIBS
722 CPPFLAGS
723 CCC
724 CC
725 CFLAGS
726 CPP
727 CXXCPP'
730 # Initialize some variables set by options.
731 ac_init_help=
732 ac_init_version=false
733 ac_unrecognized_opts=
734 ac_unrecognized_sep=
735 # The variables have the same names as the options, with
736 # dashes changed to underlines.
737 cache_file=/dev/null
738 exec_prefix=NONE
739 no_create=
740 no_recursion=
741 prefix=NONE
742 program_prefix=NONE
743 program_suffix=NONE
744 program_transform_name=s,x,x,
745 silent=
746 site=
747 srcdir=
748 verbose=
749 x_includes=NONE
750 x_libraries=NONE
752 # Installation directory options.
753 # These are left unexpanded so users can "make install exec_prefix=/foo"
754 # and all the variables that are supposed to be based on exec_prefix
755 # by default will actually change.
756 # Use braces instead of parens because sh, perl, etc. also accept them.
757 # (The list follows the same order as the GNU Coding Standards.)
758 bindir='${exec_prefix}/bin'
759 sbindir='${exec_prefix}/sbin'
760 libexecdir='${exec_prefix}/libexec'
761 datarootdir='${prefix}/share'
762 datadir='${datarootdir}'
763 sysconfdir='${prefix}/etc'
764 sharedstatedir='${prefix}/com'
765 localstatedir='${prefix}/var'
766 includedir='${prefix}/include'
767 oldincludedir='/usr/include'
768 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
769 infodir='${datarootdir}/info'
770 htmldir='${docdir}'
771 dvidir='${docdir}'
772 pdfdir='${docdir}'
773 psdir='${docdir}'
774 libdir='${exec_prefix}/lib'
775 localedir='${datarootdir}/locale'
776 mandir='${datarootdir}/man'
778 ac_prev=
779 ac_dashdash=
780 for ac_option
781 do
782   # If the previous option needs an argument, assign it.
783   if test -n "$ac_prev"; then
784     eval $ac_prev=\$ac_option
785     ac_prev=
786     continue
787   fi
789   case $ac_option in
790   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791   *=)   ac_optarg= ;;
792   *)    ac_optarg=yes ;;
793   esac
795   # Accept the important Cygnus configure options, so we can diagnose typos.
797   case $ac_dashdash$ac_option in
798   --)
799     ac_dashdash=yes ;;
801   -bindir | --bindir | --bindi | --bind | --bin | --bi)
802     ac_prev=bindir ;;
803   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804     bindir=$ac_optarg ;;
806   -build | --build | --buil | --bui | --bu)
807     ac_prev=build_alias ;;
808   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809     build_alias=$ac_optarg ;;
811   -cache-file | --cache-file | --cache-fil | --cache-fi \
812   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813     ac_prev=cache_file ;;
814   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816     cache_file=$ac_optarg ;;
818   --config-cache | -C)
819     cache_file=config.cache ;;
821   -datadir | --datadir | --datadi | --datad)
822     ac_prev=datadir ;;
823   -datadir=* | --datadir=* | --datadi=* | --datad=*)
824     datadir=$ac_optarg ;;
826   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827   | --dataroo | --dataro | --datar)
828     ac_prev=datarootdir ;;
829   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831     datarootdir=$ac_optarg ;;
833   -disable-* | --disable-*)
834     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835     # Reject names that are not valid shell variable names.
836     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837       as_fn_error $? "invalid feature name: $ac_useropt"
838     ac_useropt_orig=$ac_useropt
839     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840     case $ac_user_opts in
841       *"
842 "enable_$ac_useropt"
843 "*) ;;
844       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
845          ac_unrecognized_sep=', ';;
846     esac
847     eval enable_$ac_useropt=no ;;
849   -docdir | --docdir | --docdi | --doc | --do)
850     ac_prev=docdir ;;
851   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852     docdir=$ac_optarg ;;
854   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855     ac_prev=dvidir ;;
856   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857     dvidir=$ac_optarg ;;
859   -enable-* | --enable-*)
860     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861     # Reject names that are not valid shell variable names.
862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863       as_fn_error $? "invalid feature name: $ac_useropt"
864     ac_useropt_orig=$ac_useropt
865     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866     case $ac_user_opts in
867       *"
868 "enable_$ac_useropt"
869 "*) ;;
870       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
871          ac_unrecognized_sep=', ';;
872     esac
873     eval enable_$ac_useropt=\$ac_optarg ;;
875   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877   | --exec | --exe | --ex)
878     ac_prev=exec_prefix ;;
879   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881   | --exec=* | --exe=* | --ex=*)
882     exec_prefix=$ac_optarg ;;
884   -gas | --gas | --ga | --g)
885     # Obsolete; use --with-gas.
886     with_gas=yes ;;
888   -help | --help | --hel | --he | -h)
889     ac_init_help=long ;;
890   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891     ac_init_help=recursive ;;
892   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893     ac_init_help=short ;;
895   -host | --host | --hos | --ho)
896     ac_prev=host_alias ;;
897   -host=* | --host=* | --hos=* | --ho=*)
898     host_alias=$ac_optarg ;;
900   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
901     ac_prev=htmldir ;;
902   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
903   | --ht=*)
904     htmldir=$ac_optarg ;;
906   -includedir | --includedir | --includedi | --included | --include \
907   | --includ | --inclu | --incl | --inc)
908     ac_prev=includedir ;;
909   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910   | --includ=* | --inclu=* | --incl=* | --inc=*)
911     includedir=$ac_optarg ;;
913   -infodir | --infodir | --infodi | --infod | --info | --inf)
914     ac_prev=infodir ;;
915   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916     infodir=$ac_optarg ;;
918   -libdir | --libdir | --libdi | --libd)
919     ac_prev=libdir ;;
920   -libdir=* | --libdir=* | --libdi=* | --libd=*)
921     libdir=$ac_optarg ;;
923   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924   | --libexe | --libex | --libe)
925     ac_prev=libexecdir ;;
926   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927   | --libexe=* | --libex=* | --libe=*)
928     libexecdir=$ac_optarg ;;
930   -localedir | --localedir | --localedi | --localed | --locale)
931     ac_prev=localedir ;;
932   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933     localedir=$ac_optarg ;;
935   -localstatedir | --localstatedir | --localstatedi | --localstated \
936   | --localstate | --localstat | --localsta | --localst | --locals)
937     ac_prev=localstatedir ;;
938   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940     localstatedir=$ac_optarg ;;
942   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
943     ac_prev=mandir ;;
944   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945     mandir=$ac_optarg ;;
947   -nfp | --nfp | --nf)
948     # Obsolete; use --without-fp.
949     with_fp=no ;;
951   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
952   | --no-cr | --no-c | -n)
953     no_create=yes ;;
955   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
956   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957     no_recursion=yes ;;
959   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961   | --oldin | --oldi | --old | --ol | --o)
962     ac_prev=oldincludedir ;;
963   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966     oldincludedir=$ac_optarg ;;
968   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
969     ac_prev=prefix ;;
970   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971     prefix=$ac_optarg ;;
973   -program-prefix | --program-prefix | --program-prefi | --program-pref \
974   | --program-pre | --program-pr | --program-p)
975     ac_prev=program_prefix ;;
976   -program-prefix=* | --program-prefix=* | --program-prefi=* \
977   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978     program_prefix=$ac_optarg ;;
980   -program-suffix | --program-suffix | --program-suffi | --program-suff \
981   | --program-suf | --program-su | --program-s)
982     ac_prev=program_suffix ;;
983   -program-suffix=* | --program-suffix=* | --program-suffi=* \
984   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985     program_suffix=$ac_optarg ;;
987   -program-transform-name | --program-transform-name \
988   | --program-transform-nam | --program-transform-na \
989   | --program-transform-n | --program-transform- \
990   | --program-transform | --program-transfor \
991   | --program-transfo | --program-transf \
992   | --program-trans | --program-tran \
993   | --progr-tra | --program-tr | --program-t)
994     ac_prev=program_transform_name ;;
995   -program-transform-name=* | --program-transform-name=* \
996   | --program-transform-nam=* | --program-transform-na=* \
997   | --program-transform-n=* | --program-transform-=* \
998   | --program-transform=* | --program-transfor=* \
999   | --program-transfo=* | --program-transf=* \
1000   | --program-trans=* | --program-tran=* \
1001   | --progr-tra=* | --program-tr=* | --program-t=*)
1002     program_transform_name=$ac_optarg ;;
1004   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1005     ac_prev=pdfdir ;;
1006   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007     pdfdir=$ac_optarg ;;
1009   -psdir | --psdir | --psdi | --psd | --ps)
1010     ac_prev=psdir ;;
1011   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012     psdir=$ac_optarg ;;
1014   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015   | -silent | --silent | --silen | --sile | --sil)
1016     silent=yes ;;
1018   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1019     ac_prev=sbindir ;;
1020   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1021   | --sbi=* | --sb=*)
1022     sbindir=$ac_optarg ;;
1024   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1025   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026   | --sharedst | --shareds | --shared | --share | --shar \
1027   | --sha | --sh)
1028     ac_prev=sharedstatedir ;;
1029   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1032   | --sha=* | --sh=*)
1033     sharedstatedir=$ac_optarg ;;
1035   -site | --site | --sit)
1036     ac_prev=site ;;
1037   -site=* | --site=* | --sit=*)
1038     site=$ac_optarg ;;
1040   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1041     ac_prev=srcdir ;;
1042   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043     srcdir=$ac_optarg ;;
1045   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046   | --syscon | --sysco | --sysc | --sys | --sy)
1047     ac_prev=sysconfdir ;;
1048   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050     sysconfdir=$ac_optarg ;;
1052   -target | --target | --targe | --targ | --tar | --ta | --t)
1053     ac_prev=target_alias ;;
1054   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055     target_alias=$ac_optarg ;;
1057   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058     verbose=yes ;;
1060   -version | --version | --versio | --versi | --vers | -V)
1061     ac_init_version=: ;;
1063   -with-* | --with-*)
1064     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065     # Reject names that are not valid shell variable names.
1066     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067       as_fn_error $? "invalid package name: $ac_useropt"
1068     ac_useropt_orig=$ac_useropt
1069     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070     case $ac_user_opts in
1071       *"
1072 "with_$ac_useropt"
1073 "*) ;;
1074       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1075          ac_unrecognized_sep=', ';;
1076     esac
1077     eval with_$ac_useropt=\$ac_optarg ;;
1079   -without-* | --without-*)
1080     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081     # Reject names that are not valid shell variable names.
1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083       as_fn_error $? "invalid package name: $ac_useropt"
1084     ac_useropt_orig=$ac_useropt
1085     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086     case $ac_user_opts in
1087       *"
1088 "with_$ac_useropt"
1089 "*) ;;
1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091          ac_unrecognized_sep=', ';;
1092     esac
1093     eval with_$ac_useropt=no ;;
1095   --x)
1096     # Obsolete; use --with-x.
1097     with_x=yes ;;
1099   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1100   | --x-incl | --x-inc | --x-in | --x-i)
1101     ac_prev=x_includes ;;
1102   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1103   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1104     x_includes=$ac_optarg ;;
1106   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1107   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1108     ac_prev=x_libraries ;;
1109   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1110   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1111     x_libraries=$ac_optarg ;;
1113   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1114 Try \`$0 --help' for more information"
1115     ;;
1117   *=*)
1118     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1119     # Reject names that are not valid shell variable names.
1120     case $ac_envvar in #(
1121       '' | [0-9]* | *[!_$as_cr_alnum]* )
1122       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1123     esac
1124     eval $ac_envvar=\$ac_optarg
1125     export $ac_envvar ;;
1127   *)
1128     # FIXME: should be removed in autoconf 3.0.
1129     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133     ;;
1135   esac
1136 done
1138 if test -n "$ac_prev"; then
1139   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1140   as_fn_error $? "missing argument to $ac_option"
1141 fi
1143 if test -n "$ac_unrecognized_opts"; then
1144   case $enable_option_checking in
1145     no) ;;
1146     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1147     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148   esac
1149 fi
1151 # Check all directory arguments for consistency.
1152 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1153                 datadir sysconfdir sharedstatedir localstatedir includedir \
1154                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1155                 libdir localedir mandir
1156 do
1157   eval ac_val=\$$ac_var
1158   # Remove trailing slashes.
1159   case $ac_val in
1160     */ )
1161       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162       eval $ac_var=\$ac_val;;
1163   esac
1164   # Be sure to have absolute directory names.
1165   case $ac_val in
1166     [\\/$]* | ?:[\\/]* )  continue;;
1167     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1168   esac
1169   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1170 done
1172 # There might be people who depend on the old broken behavior: `$host'
1173 # used to hold the argument of --host etc.
1174 # FIXME: To remove some day.
1175 build=$build_alias
1176 host=$host_alias
1177 target=$target_alias
1179 # FIXME: To remove some day.
1180 if test "x$host_alias" != x; then
1181   if test "x$build_alias" = x; then
1182     cross_compiling=maybe
1183   elif test "x$build_alias" != "x$host_alias"; then
1184     cross_compiling=yes
1185   fi
1186 fi
1188 ac_tool_prefix=
1189 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1191 test "$silent" = yes && exec 6>/dev/null
1194 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di=`ls -di .` &&
1196 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197   as_fn_error $? "working directory cannot be determined"
1198 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199   as_fn_error $? "pwd does not report name of working directory"
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204   ac_srcdir_defaulted=yes
1205   # Try the directory containing this script, then the parent directory.
1206   ac_confdir=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208          X"$as_myself" : 'X\(//\)[^/]' \| \
1209          X"$as_myself" : 'X\(//\)$' \| \
1210          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1213             s//\1/
1214             q
1215           }
1216           /^X\(\/\/\)[^/].*/{
1217             s//\1/
1218             q
1219           }
1220           /^X\(\/\/\)$/{
1221             s//\1/
1222             q
1223           }
1224           /^X\(\/\).*/{
1225             s//\1/
1226             q
1227           }
1228           s/.*/./; q'`
1229   srcdir=$ac_confdir
1230   if test ! -r "$srcdir/$ac_unique_file"; then
1231     srcdir=..
1232   fi
1233 else
1234   ac_srcdir_defaulted=no
1235 fi
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1239 fi
1240 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1241 ac_abs_confdir=`(
1242         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1243         pwd)`
1244 # When building in place, set srcdir=.
1245 if test "$ac_abs_confdir" = "$ac_pwd"; then
1246   srcdir=.
1247 fi
1248 # Remove unnecessary trailing slashes from srcdir.
1249 # Double slashes in file names in object file debugging info
1250 # mess up M-x gdb in Emacs.
1251 case $srcdir in
1252 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1253 esac
1254 for ac_var in $ac_precious_vars; do
1255   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1256   eval ac_env_${ac_var}_value=\$${ac_var}
1257   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1258   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259 done
1262 # Report the --help message.
1264 if test "$ac_init_help" = "long"; then
1265   # Omit some internal or obsolete options to make the list less imposing.
1266   # This message is too long to be a string in the A/UX 3.1 sh.
1267   cat <<_ACEOF
1268 \`configure' configures Xestia Address Book 0.01 to adapt to many kinds of systems.
1270 Usage: $0 [OPTION]... [VAR=VALUE]...
1272 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1273 VAR=VALUE.  See below for descriptions of some of the useful variables.
1275 Defaults for the options are specified in brackets.
1277 Configuration:
1278   -h, --help              display this help and exit
1279       --help=short        display options specific to this package
1280       --help=recursive    display the short help of all the included packages
1281   -V, --version           display version information and exit
1282   -q, --quiet, --silent   do not print \`checking ...' messages
1283       --cache-file=FILE   cache test results in FILE [disabled]
1284   -C, --config-cache      alias for \`--cache-file=config.cache'
1285   -n, --no-create         do not create output files
1286       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1288 Installation directories:
1289   --prefix=PREFIX         install architecture-independent files in PREFIX
1290                           [$ac_default_prefix]
1291   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1292                           [PREFIX]
1294 By default, \`make install' will install all the files in
1295 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1296 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1297 for instance \`--prefix=\$HOME'.
1299 For better control, use the options below.
1301 Fine tuning of the installation directories:
1302   --bindir=DIR            user executables [EPREFIX/bin]
1303   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1304   --libexecdir=DIR        program executables [EPREFIX/libexec]
1305   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1306   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1307   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1308   --libdir=DIR            object code libraries [EPREFIX/lib]
1309   --includedir=DIR        C header files [PREFIX/include]
1310   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1311   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1312   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1313   --infodir=DIR           info documentation [DATAROOTDIR/info]
1314   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1315   --mandir=DIR            man documentation [DATAROOTDIR/man]
1316   --docdir=DIR            documentation root
1317                           [DATAROOTDIR/doc/xestia-address-book]
1318   --htmldir=DIR           html documentation [DOCDIR]
1319   --dvidir=DIR            dvi documentation [DOCDIR]
1320   --pdfdir=DIR            pdf documentation [DOCDIR]
1321   --psdir=DIR             ps documentation [DOCDIR]
1322 _ACEOF
1324   cat <<\_ACEOF
1325 _ACEOF
1326 fi
1328 if test -n "$ac_init_help"; then
1329   case $ac_init_help in
1330      short | recursive ) echo "Configuration of Xestia Address Book 0.01:";;
1331    esac
1332   cat <<\_ACEOF
1334 Optional Features:
1335   --disable-option-checking  ignore unrecognized --enable/--with options
1336   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1337   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1338   --enable-debug          Enable debugging features for the build.
1340 Optional Packages:
1341   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1342   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1343   --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1344   --with-wx-config=CONFIG wx-config script to use (optional)
1345   --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1346   --with-wx-exec-prefix=PREFIX
1347                           Exec prefix where wxWidgets is installed (optional)
1349 Some influential environment variables:
1350   CXX         C++ compiler command
1351   CXXFLAGS    C++ compiler flags
1352   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1353               nonstandard directory <lib dir>
1354   LIBS        libraries to pass to the linker, e.g. -l<library>
1355   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356               you have headers in a nonstandard directory <include dir>
1357   CC          C compiler command
1358   CFLAGS      C compiler flags
1359   CPP         C preprocessor
1360   CXXCPP      C++ preprocessor
1362 Use these variables to override the choices made by `configure' or to help
1363 it to find libraries and programs with nonstandard names/locations.
1365 Report bugs to <bugs@xestia.co.uk>.
1366 _ACEOF
1367 ac_status=$?
1368 fi
1370 if test "$ac_init_help" = "recursive"; then
1371   # If there are subdirs, report their specific --help.
1372   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373     test -d "$ac_dir" ||
1374       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1375       continue
1376     ac_builddir=.
1378 case "$ac_dir" in
1379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *)
1381   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1382   # A ".." for each directory in $ac_dir_suffix.
1383   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1384   case $ac_top_builddir_sub in
1385   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387   esac ;;
1388 esac
1389 ac_abs_top_builddir=$ac_pwd
1390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1391 # for backward compatibility:
1392 ac_top_builddir=$ac_top_build_prefix
1394 case $srcdir in
1395   .)  # We are building in place.
1396     ac_srcdir=.
1397     ac_top_srcdir=$ac_top_builddir_sub
1398     ac_abs_top_srcdir=$ac_pwd ;;
1399   [\\/]* | ?:[\\/]* )  # Absolute name.
1400     ac_srcdir=$srcdir$ac_dir_suffix;
1401     ac_top_srcdir=$srcdir
1402     ac_abs_top_srcdir=$srcdir ;;
1403   *) # Relative name.
1404     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1405     ac_top_srcdir=$ac_top_build_prefix$srcdir
1406     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407 esac
1408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1410     cd "$ac_dir" || { ac_status=$?; continue; }
1411     # Check for guested configure.
1412     if test -f "$ac_srcdir/configure.gnu"; then
1413       echo &&
1414       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415     elif test -f "$ac_srcdir/configure"; then
1416       echo &&
1417       $SHELL "$ac_srcdir/configure" --help=recursive
1418     else
1419       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420     fi || ac_status=$?
1421     cd "$ac_pwd" || { ac_status=$?; break; }
1422   done
1423 fi
1425 test -n "$ac_init_help" && exit $ac_status
1426 if $ac_init_version; then
1427   cat <<\_ACEOF
1428 Xestia Address Book configure 0.01
1429 generated by GNU Autoconf 2.69
1431 Copyright (C) 2012 Free Software Foundation, Inc.
1432 This configure script is free software; the Free Software Foundation
1433 gives unlimited permission to copy, distribute and modify it.
1434 _ACEOF
1435   exit
1436 fi
1438 ## ------------------------ ##
1439 ## Autoconf initialization. ##
1440 ## ------------------------ ##
1442 # ac_fn_cxx_try_compile LINENO
1443 # ----------------------------
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1445 ac_fn_cxx_try_compile ()
1447   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448   rm -f conftest.$ac_objext
1449   if { { ac_try="$ac_compile"
1450 case "(($ac_try" in
1451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452   *) ac_try_echo=$ac_try;;
1453 esac
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456   (eval "$ac_compile") 2>conftest.err
1457   ac_status=$?
1458   if test -s conftest.err; then
1459     grep -v '^ *+' conftest.err >conftest.er1
1460     cat conftest.er1 >&5
1461     mv -f conftest.er1 conftest.err
1462   fi
1463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464   test $ac_status = 0; } && {
1465          test -z "$ac_cxx_werror_flag" ||
1466          test ! -s conftest.err
1467        } && test -s conftest.$ac_objext; then :
1468   ac_retval=0
1469 else
1470   $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1473         ac_retval=1
1474 fi
1475   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476   as_fn_set_status $ac_retval
1478 } # ac_fn_cxx_try_compile
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486   rm -f conftest.$ac_objext
1487   if { { ac_try="$ac_compile"
1488 case "(($ac_try" in
1489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490   *) ac_try_echo=$ac_try;;
1491 esac
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494   (eval "$ac_compile") 2>conftest.err
1495   ac_status=$?
1496   if test -s conftest.err; then
1497     grep -v '^ *+' conftest.err >conftest.er1
1498     cat conftest.er1 >&5
1499     mv -f conftest.er1 conftest.err
1500   fi
1501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502   test $ac_status = 0; } && {
1503          test -z "$ac_c_werror_flag" ||
1504          test ! -s conftest.err
1505        } && test -s conftest.$ac_objext; then :
1506   ac_retval=0
1507 else
1508   $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1511         ac_retval=1
1512 fi
1513   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514   as_fn_set_status $ac_retval
1516 } # ac_fn_c_try_compile
1518 # ac_fn_c_try_cpp LINENO
1519 # ----------------------
1520 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_cpp ()
1523   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524   if { { ac_try="$ac_cpp conftest.$ac_ext"
1525 case "(($ac_try" in
1526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1527   *) ac_try_echo=$ac_try;;
1528 esac
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1532   ac_status=$?
1533   if test -s conftest.err; then
1534     grep -v '^ *+' conftest.err >conftest.er1
1535     cat conftest.er1 >&5
1536     mv -f conftest.er1 conftest.err
1537   fi
1538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539   test $ac_status = 0; } > conftest.i && {
1540          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1541          test ! -s conftest.err
1542        }; then :
1543   ac_retval=0
1544 else
1545   $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1548     ac_retval=1
1549 fi
1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551   as_fn_set_status $ac_retval
1553 } # ac_fn_c_try_cpp
1555 # ac_fn_cxx_try_cpp LINENO
1556 # ------------------------
1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_cxx_try_cpp ()
1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561   if { { ac_try="$ac_cpp conftest.$ac_ext"
1562 case "(($ac_try" in
1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564   *) ac_try_echo=$ac_try;;
1565 esac
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1569   ac_status=$?
1570   if test -s conftest.err; then
1571     grep -v '^ *+' conftest.err >conftest.er1
1572     cat conftest.er1 >&5
1573     mv -f conftest.er1 conftest.err
1574   fi
1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576   test $ac_status = 0; } > conftest.i && {
1577          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1578          test ! -s conftest.err
1579        }; then :
1580   ac_retval=0
1581 else
1582   $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1585     ac_retval=1
1586 fi
1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588   as_fn_set_status $ac_retval
1590 } # ac_fn_cxx_try_cpp
1592 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1593 # ---------------------------------------------------------
1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1595 # the include files in INCLUDES and setting the cache variable VAR
1596 # accordingly.
1597 ac_fn_cxx_check_header_mongrel ()
1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600   if eval \${$3+:} false; then :
1601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604   $as_echo_n "(cached) " >&6
1605 fi
1606 eval ac_res=\$$3
1607                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1609 else
1610   # Is the header compilable?
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1612 $as_echo_n "checking $2 usability... " >&6; }
1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h.  */
1615 $4
1616 #include <$2>
1617 _ACEOF
1618 if ac_fn_cxx_try_compile "$LINENO"; then :
1619   ac_header_compiler=yes
1620 else
1621   ac_header_compiler=no
1622 fi
1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1625 $as_echo "$ac_header_compiler" >&6; }
1627 # Is the header present?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1629 $as_echo_n "checking $2 presence... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h.  */
1632 #include <$2>
1633 _ACEOF
1634 if ac_fn_cxx_try_cpp "$LINENO"; then :
1635   ac_header_preproc=yes
1636 else
1637   ac_header_preproc=no
1638 fi
1639 rm -f conftest.err conftest.i conftest.$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1641 $as_echo "$ac_header_preproc" >&6; }
1643 # So?  What about this header?
1644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1645   yes:no: )
1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650     ;;
1651   no:yes:* )
1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1655 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1659 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 ( $as_echo "## -------------------------------- ##
1663 ## Report this to bugs@xestia.co.uk ##
1664 ## -------------------------------- ##"
1665      ) | sed "s/^/$as_me: WARNING:     /" >&2
1666     ;;
1667 esac
1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \${$3+:} false; then :
1671   $as_echo_n "(cached) " >&6
1672 else
1673   eval "$3=\$ac_header_compiler"
1674 fi
1675 eval ac_res=\$$3
1676                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 $as_echo "$ac_res" >&6; }
1678 fi
1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_cxx_check_header_mongrel
1683 # ac_fn_cxx_try_run LINENO
1684 # ------------------------
1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1686 # that executables *can* be run.
1687 ac_fn_cxx_try_run ()
1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690   if { { ac_try="$ac_link"
1691 case "(($ac_try" in
1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693   *) ac_try_echo=$ac_try;;
1694 esac
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697   (eval "$ac_link") 2>&5
1698   ac_status=$?
1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1701   { { case "(($ac_try" in
1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703   *) ac_try_echo=$ac_try;;
1704 esac
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707   (eval "$ac_try") 2>&5
1708   ac_status=$?
1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710   test $ac_status = 0; }; }; then :
1711   ac_retval=0
1712 else
1713   $as_echo "$as_me: program exited with status $ac_status" >&5
1714        $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1717        ac_retval=$ac_status
1718 fi
1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721   as_fn_set_status $ac_retval
1723 } # ac_fn_cxx_try_run
1725 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1726 # ---------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_cxx_check_header_compile ()
1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735   $as_echo_n "(cached) " >&6
1736 else
1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h.  */
1739 $4
1740 #include <$2>
1741 _ACEOF
1742 if ac_fn_cxx_try_compile "$LINENO"; then :
1743   eval "$3=yes"
1744 else
1745   eval "$3=no"
1746 fi
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 fi
1749 eval ac_res=\$$3
1750                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_cxx_check_header_compile
1756 # ac_fn_cxx_try_link LINENO
1757 # -------------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_cxx_try_link ()
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   rm -f conftest.$ac_objext conftest$ac_exeext
1763   if { { ac_try="$ac_link"
1764 case "(($ac_try" in
1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766   *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770   (eval "$ac_link") 2>conftest.err
1771   ac_status=$?
1772   if test -s conftest.err; then
1773     grep -v '^ *+' conftest.err >conftest.er1
1774     cat conftest.er1 >&5
1775     mv -f conftest.er1 conftest.err
1776   fi
1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778   test $ac_status = 0; } && {
1779          test -z "$ac_cxx_werror_flag" ||
1780          test ! -s conftest.err
1781        } && test -s conftest$ac_exeext && {
1782          test "$cross_compiling" = yes ||
1783          test -x conftest$ac_exeext
1784        }; then :
1785   ac_retval=0
1786 else
1787   $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790         ac_retval=1
1791 fi
1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794   # interfere with the next link command; also delete a directory that is
1795   # left behind by Apple's compiler.  We do this before executing the actions.
1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798   as_fn_set_status $ac_retval
1800 } # ac_fn_cxx_try_link
1802 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1803 # ---------------------------------------------
1804 # Tests whether TYPE exists after having included INCLUDES, setting cache
1805 # variable VAR accordingly.
1806 ac_fn_cxx_check_type ()
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval \${$3+:} false; then :
1812   $as_echo_n "(cached) " >&6
1813 else
1814   eval "$3=no"
1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h.  */
1817 $4
1818 int
1819 main ()
1821 if (sizeof ($2))
1822          return 0;
1823   ;
1824   return 0;
1826 _ACEOF
1827 if ac_fn_cxx_try_compile "$LINENO"; then :
1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h.  */
1830 $4
1831 int
1832 main ()
1834 if (sizeof (($2)))
1835             return 0;
1836   ;
1837   return 0;
1839 _ACEOF
1840 if ac_fn_cxx_try_compile "$LINENO"; then :
1842 else
1843   eval "$3=yes"
1844 fi
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 fi
1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 fi
1849 eval ac_res=\$$3
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 } # ac_fn_cxx_check_type
1855 cat >config.log <<_ACEOF
1856 This file contains any messages produced by compilers while
1857 running configure, to aid debugging if configure makes a mistake.
1859 It was created by Xestia Address Book $as_me 0.01, which was
1860 generated by GNU Autoconf 2.69.  Invocation command line was
1862   $ $0 $@
1864 _ACEOF
1865 exec 5>>config.log
1867 cat <<_ASUNAME
1868 ## --------- ##
1869 ## Platform. ##
1870 ## --------- ##
1872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1879 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1881 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1882 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1884 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1885 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1886 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1887 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1889 _ASUNAME
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894   IFS=$as_save_IFS
1895   test -z "$as_dir" && as_dir=.
1896     $as_echo "PATH: $as_dir"
1897   done
1898 IFS=$as_save_IFS
1900 } >&5
1902 cat >&5 <<_ACEOF
1905 ## ----------- ##
1906 ## Core tests. ##
1907 ## ----------- ##
1909 _ACEOF
1912 # Keep a trace of the command line.
1913 # Strip out --no-create and --no-recursion so they do not pile up.
1914 # Strip out --silent because we don't want to record it for future runs.
1915 # Also quote any args containing shell meta-characters.
1916 # Make two passes to allow for proper duplicate-argument suppression.
1917 ac_configure_args=
1918 ac_configure_args0=
1919 ac_configure_args1=
1920 ac_must_keep_next=false
1921 for ac_pass in 1 2
1922 do
1923   for ac_arg
1924   do
1925     case $ac_arg in
1926     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1927     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1928     | -silent | --silent | --silen | --sile | --sil)
1929       continue ;;
1930     *\'*)
1931       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1932     esac
1933     case $ac_pass in
1934     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1935     2)
1936       as_fn_append ac_configure_args1 " '$ac_arg'"
1937       if test $ac_must_keep_next = true; then
1938         ac_must_keep_next=false # Got value, back to normal.
1939       else
1940         case $ac_arg in
1941           *=* | --config-cache | -C | -disable-* | --disable-* \
1942           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1943           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1944           | -with-* | --with-* | -without-* | --without-* | --x)
1945             case "$ac_configure_args0 " in
1946               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1947             esac
1948             ;;
1949           -* ) ac_must_keep_next=true ;;
1950         esac
1951       fi
1952       as_fn_append ac_configure_args " '$ac_arg'"
1953       ;;
1954     esac
1955   done
1956 done
1957 { ac_configure_args0=; unset ac_configure_args0;}
1958 { ac_configure_args1=; unset ac_configure_args1;}
1960 # When interrupted or exit'd, cleanup temporary files, and complete
1961 # config.log.  We remove comments because anyway the quotes in there
1962 # would cause problems or look ugly.
1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1965 trap 'exit_status=$?
1966   # Save into config.log some information that might help in debugging.
1967   {
1968     echo
1970     $as_echo "## ---------------- ##
1971 ## Cache variables. ##
1972 ## ---------------- ##"
1973     echo
1974     # The following way of writing the cache mishandles newlines in values,
1976   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1977     eval ac_val=\$$ac_var
1978     case $ac_val in #(
1979     *${as_nl}*)
1980       case $ac_var in #(
1981       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1983       esac
1984       case $ac_var in #(
1985       _ | IFS | as_nl) ;; #(
1986       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1987       *) { eval $ac_var=; unset $ac_var;} ;;
1988       esac ;;
1989     esac
1990   done
1991   (set) 2>&1 |
1992     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1993     *${as_nl}ac_space=\ *)
1994       sed -n \
1995         "s/'\''/'\''\\\\'\'''\''/g;
1996           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1997       ;; #(
1998     *)
1999       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2000       ;;
2001     esac |
2002     sort
2004     echo
2006     $as_echo "## ----------------- ##
2007 ## Output variables. ##
2008 ## ----------------- ##"
2009     echo
2010     for ac_var in $ac_subst_vars
2011     do
2012       eval ac_val=\$$ac_var
2013       case $ac_val in
2014       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2015       esac
2016       $as_echo "$ac_var='\''$ac_val'\''"
2017     done | sort
2018     echo
2020     if test -n "$ac_subst_files"; then
2021       $as_echo "## ------------------- ##
2022 ## File substitutions. ##
2023 ## ------------------- ##"
2024       echo
2025       for ac_var in $ac_subst_files
2026       do
2027         eval ac_val=\$$ac_var
2028         case $ac_val in
2029         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2030         esac
2031         $as_echo "$ac_var='\''$ac_val'\''"
2032       done | sort
2033       echo
2034     fi
2036     if test -s confdefs.h; then
2037       $as_echo "## ----------- ##
2038 ## confdefs.h. ##
2039 ## ----------- ##"
2040       echo
2041       cat confdefs.h
2042       echo
2043     fi
2044     test "$ac_signal" != 0 &&
2045       $as_echo "$as_me: caught signal $ac_signal"
2046     $as_echo "$as_me: exit $exit_status"
2047   } >&5
2048   rm -f core *.core core.conftest.* &&
2049     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2050     exit $exit_status
2051 ' 0
2052 for ac_signal in 1 2 13 15; do
2053   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2054 done
2055 ac_signal=0
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest* confdefs.h
2060 $as_echo "/* confdefs.h */" > confdefs.h
2062 # Predefined preprocessor variables.
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2066 _ACEOF
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2070 _ACEOF
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2074 _ACEOF
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2078 _ACEOF
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2082 _ACEOF
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2086 _ACEOF
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2091 ac_site_file1=NONE
2092 ac_site_file2=NONE
2093 if test -n "$CONFIG_SITE"; then
2094   # We do not want a PATH search for config.site.
2095   case $CONFIG_SITE in #((
2096     -*)  ac_site_file1=./$CONFIG_SITE;;
2097     */*) ac_site_file1=$CONFIG_SITE;;
2098     *)   ac_site_file1=./$CONFIG_SITE;;
2099   esac
2100 elif test "x$prefix" != xNONE; then
2101   ac_site_file1=$prefix/share/config.site
2102   ac_site_file2=$prefix/etc/config.site
2103 else
2104   ac_site_file1=$ac_default_prefix/share/config.site
2105   ac_site_file2=$ac_default_prefix/etc/config.site
2106 fi
2107 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2108 do
2109   test "x$ac_site_file" = xNONE && continue
2110   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2113     sed 's/^/| /' "$ac_site_file" >&5
2114     . "$ac_site_file" \
2115       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2117 as_fn_error $? "failed to load site script $ac_site_file
2118 See \`config.log' for more details" "$LINENO" 5; }
2119   fi
2120 done
2122 if test -r "$cache_file"; then
2123   # Some versions of bash will fail to source /dev/null (special files
2124   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2125   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2126     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2127 $as_echo "$as_me: loading cache $cache_file" >&6;}
2128     case $cache_file in
2129       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2130       *)                      . "./$cache_file";;
2131     esac
2132   fi
2133 else
2134   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2135 $as_echo "$as_me: creating cache $cache_file" >&6;}
2136   >$cache_file
2137 fi
2139 # Check that the precious variables saved in the cache have kept the same
2140 # value.
2141 ac_cache_corrupted=false
2142 for ac_var in $ac_precious_vars; do
2143   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2144   eval ac_new_set=\$ac_env_${ac_var}_set
2145   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2146   eval ac_new_val=\$ac_env_${ac_var}_value
2147   case $ac_old_set,$ac_new_set in
2148     set,)
2149       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2150 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2151       ac_cache_corrupted=: ;;
2152     ,set)
2153       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2154 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2155       ac_cache_corrupted=: ;;
2156     ,);;
2157     *)
2158       if test "x$ac_old_val" != "x$ac_new_val"; then
2159         # differences in whitespace do not lead to failure.
2160         ac_old_val_w=`echo x $ac_old_val`
2161         ac_new_val_w=`echo x $ac_new_val`
2162         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2163           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2165           ac_cache_corrupted=:
2166         else
2167           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2169           eval $ac_var=\$ac_old_val
2170         fi
2171         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2172 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2173         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2174 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2175       fi;;
2176   esac
2177   # Pass precious variables to config.status.
2178   if test "$ac_new_set" = set; then
2179     case $ac_new_val in
2180     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2181     *) ac_arg=$ac_var=$ac_new_val ;;
2182     esac
2183     case " $ac_configure_args " in
2184       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2185       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2186     esac
2187   fi
2188 done
2189 if $ac_cache_corrupted; then
2190   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2194   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2195 fi
2196 ## -------------------- ##
2197 ## Main body of script. ##
2198 ## -------------------- ##
2200 ac_ext=c
2201 ac_cpp='$CPP $CPPFLAGS'
2202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2207 #AC_CONFIG_SRCDIR([version.h])
2208 #AC_CONFIG_HEADERS([config.h])
2211 $as_echo "#define DEBUG 1" >>confdefs.h
2214 # Checks for programs.
2215 ac_ext=cpp
2216 ac_cpp='$CXXCPP $CPPFLAGS'
2217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2220 if test -z "$CXX"; then
2221   if test -n "$CCC"; then
2222     CXX=$CCC
2223   else
2224     if test -n "$ac_tool_prefix"; then
2225   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2226   do
2227     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2230 $as_echo_n "checking for $ac_word... " >&6; }
2231 if ${ac_cv_prog_CXX+:} false; then :
2232   $as_echo_n "(cached) " >&6
2233 else
2234   if test -n "$CXX"; then
2235   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2236 else
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2239 do
2240   IFS=$as_save_IFS
2241   test -z "$as_dir" && as_dir=.
2242     for ac_exec_ext in '' $ac_executable_extensions; do
2243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2244     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2246     break 2
2247   fi
2248 done
2249   done
2250 IFS=$as_save_IFS
2252 fi
2253 fi
2254 CXX=$ac_cv_prog_CXX
2255 if test -n "$CXX"; then
2256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2257 $as_echo "$CXX" >&6; }
2258 else
2259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2261 fi
2264     test -n "$CXX" && break
2265   done
2266 fi
2267 if test -z "$CXX"; then
2268   ac_ct_CXX=$CXX
2269   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2270 do
2271   # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2276   $as_echo_n "(cached) " >&6
2277 else
2278   if test -n "$ac_ct_CXX"; then
2279   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2283 do
2284   IFS=$as_save_IFS
2285   test -z "$as_dir" && as_dir=.
2286     for ac_exec_ext in '' $ac_executable_extensions; do
2287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288     ac_cv_prog_ac_ct_CXX="$ac_prog"
2289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2290     break 2
2291   fi
2292 done
2293   done
2294 IFS=$as_save_IFS
2296 fi
2297 fi
2298 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2299 if test -n "$ac_ct_CXX"; then
2300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2301 $as_echo "$ac_ct_CXX" >&6; }
2302 else
2303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2305 fi
2308   test -n "$ac_ct_CXX" && break
2309 done
2311   if test "x$ac_ct_CXX" = x; then
2312     CXX="g++"
2313   else
2314     case $cross_compiling:$ac_tool_warned in
2315 yes:)
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2318 ac_tool_warned=yes ;;
2319 esac
2320     CXX=$ac_ct_CXX
2321   fi
2322 fi
2324   fi
2325 fi
2326 # Provide some information about the compiler.
2327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2328 set X $ac_compile
2329 ac_compiler=$2
2330 for ac_option in --version -v -V -qversion; do
2331   { { ac_try="$ac_compiler $ac_option >&5"
2332 case "(($ac_try" in
2333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334   *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2339   ac_status=$?
2340   if test -s conftest.err; then
2341     sed '10a\
2342 ... rest of stderr output deleted ...
2343          10q' conftest.err >conftest.er1
2344     cat conftest.er1 >&5
2345   fi
2346   rm -f conftest.er1 conftest.err
2347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348   test $ac_status = 0; }
2349 done
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h.  */
2354 int
2355 main ()
2358   ;
2359   return 0;
2361 _ACEOF
2362 ac_clean_files_save=$ac_clean_files
2363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364 # Try to create an executable without -o first, disregard a.out.
2365 # It will help us diagnose broken compilers, and finding out an intuition
2366 # of exeext.
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2368 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2369 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2371 # The possible output files:
2372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2374 ac_rmfiles=
2375 for ac_file in $ac_files
2376 do
2377   case $ac_file in
2378     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2380   esac
2381 done
2382 rm -f $ac_rmfiles
2384 if { { ac_try="$ac_link_default"
2385 case "(($ac_try" in
2386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387   *) ac_try_echo=$ac_try;;
2388 esac
2389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391   (eval "$ac_link_default") 2>&5
2392   ac_status=$?
2393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394   test $ac_status = 0; }; then :
2395   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2397 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2398 # so that the user can short-circuit this test for compilers unknown to
2399 # Autoconf.
2400 for ac_file in $ac_files ''
2401 do
2402   test -f "$ac_file" || continue
2403   case $ac_file in
2404     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2405         ;;
2406     [ab].out )
2407         # We found the default executable, but exeext='' is most
2408         # certainly right.
2409         break;;
2410     *.* )
2411         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2412         then :; else
2413            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414         fi
2415         # We set ac_cv_exeext here because the later test for it is not
2416         # safe: cross compilers may not add the suffix if given an `-o'
2417         # argument, so we may need to know it at that point already.
2418         # Even if this section looks crufty: it has the advantage of
2419         # actually working.
2420         break;;
2421     * )
2422         break;;
2423   esac
2424 done
2425 test "$ac_cv_exeext" = no && ac_cv_exeext=
2427 else
2428   ac_file=''
2429 fi
2430 if test -z "$ac_file"; then :
2431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 as_fn_error 77 "C++ compiler cannot create executables
2439 See \`config.log' for more details" "$LINENO" 5; }
2440 else
2441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2443 fi
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2445 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 ac_exeext=$ac_cv_exeext
2450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2451 ac_clean_files=$ac_clean_files_save
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453 $as_echo_n "checking for suffix of executables... " >&6; }
2454 if { { ac_try="$ac_link"
2455 case "(($ac_try" in
2456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457   *) ac_try_echo=$ac_try;;
2458 esac
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461   (eval "$ac_link") 2>&5
2462   ac_status=$?
2463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464   test $ac_status = 0; }; then :
2465   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2466 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2467 # work properly (i.e., refer to `conftest.exe'), while it won't with
2468 # `rm'.
2469 for ac_file in conftest.exe conftest conftest.*; do
2470   test -f "$ac_file" || continue
2471   case $ac_file in
2472     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2473     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474           break;;
2475     * ) break;;
2476   esac
2477 done
2478 else
2479   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details" "$LINENO" 5; }
2483 fi
2484 rm -f conftest conftest$ac_cv_exeext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486 $as_echo "$ac_cv_exeext" >&6; }
2488 rm -f conftest.$ac_ext
2489 EXEEXT=$ac_cv_exeext
2490 ac_exeext=$EXEEXT
2491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h.  */
2493 #include <stdio.h>
2494 int
2495 main ()
2497 FILE *f = fopen ("conftest.out", "w");
2498  return ferror (f) || fclose (f) != 0;
2500   ;
2501   return 0;
2503 _ACEOF
2504 ac_clean_files="$ac_clean_files conftest.out"
2505 # Check that the compiler produces executables we can run.  If not, either
2506 # the compiler is broken, or we cross compile.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508 $as_echo_n "checking whether we are cross compiling... " >&6; }
2509 if test "$cross_compiling" != yes; then
2510   { { ac_try="$ac_link"
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_link") 2>&5
2518   ac_status=$?
2519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520   test $ac_status = 0; }
2521   if { ac_try='./conftest$ac_cv_exeext'
2522   { { case "(($ac_try" in
2523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524   *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528   (eval "$ac_try") 2>&5
2529   ac_status=$?
2530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531   test $ac_status = 0; }; }; then
2532     cross_compiling=no
2533   else
2534     if test "$cross_compiling" = maybe; then
2535         cross_compiling=yes
2536     else
2537         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $? "cannot run C++ compiled programs.
2540 If you meant to cross compile, use \`--host'.
2541 See \`config.log' for more details" "$LINENO" 5; }
2542     fi
2543   fi
2544 fi
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546 $as_echo "$cross_compiling" >&6; }
2548 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2549 ac_clean_files=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551 $as_echo_n "checking for suffix of object files... " >&6; }
2552 if ${ac_cv_objext+:} false; then :
2553   $as_echo_n "(cached) " >&6
2554 else
2555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h.  */
2558 int
2559 main ()
2562   ;
2563   return 0;
2565 _ACEOF
2566 rm -f conftest.o conftest.obj
2567 if { { ac_try="$ac_compile"
2568 case "(($ac_try" in
2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570   *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574   (eval "$ac_compile") 2>&5
2575   ac_status=$?
2576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577   test $ac_status = 0; }; then :
2578   for ac_file in conftest.o conftest.obj conftest.*; do
2579   test -f "$ac_file" || continue;
2580   case $ac_file in
2581     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583        break;;
2584   esac
2585 done
2586 else
2587   $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details" "$LINENO" 5; }
2594 fi
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2596 fi
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598 $as_echo "$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2600 ac_objext=$OBJEXT
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2602 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2603 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2604   $as_echo_n "(cached) " >&6
2605 else
2606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h.  */
2609 int
2610 main ()
2612 #ifndef __GNUC__
2613        choke me
2614 #endif
2616   ;
2617   return 0;
2619 _ACEOF
2620 if ac_fn_cxx_try_compile "$LINENO"; then :
2621   ac_compiler_gnu=yes
2622 else
2623   ac_compiler_gnu=no
2624 fi
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2628 fi
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2630 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2631 if test $ac_compiler_gnu = yes; then
2632   GXX=yes
2633 else
2634   GXX=
2635 fi
2636 ac_test_CXXFLAGS=${CXXFLAGS+set}
2637 ac_save_CXXFLAGS=$CXXFLAGS
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2639 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2640 if ${ac_cv_prog_cxx_g+:} false; then :
2641   $as_echo_n "(cached) " >&6
2642 else
2643   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2644    ac_cxx_werror_flag=yes
2645    ac_cv_prog_cxx_g=no
2646    CXXFLAGS="-g"
2647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h.  */
2650 int
2651 main ()
2654   ;
2655   return 0;
2657 _ACEOF
2658 if ac_fn_cxx_try_compile "$LINENO"; then :
2659   ac_cv_prog_cxx_g=yes
2660 else
2661   CXXFLAGS=""
2662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h.  */
2665 int
2666 main ()
2669   ;
2670   return 0;
2672 _ACEOF
2673 if ac_fn_cxx_try_compile "$LINENO"; then :
2675 else
2676   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2677          CXXFLAGS="-g"
2678          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h.  */
2681 int
2682 main ()
2685   ;
2686   return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2690   ac_cv_prog_cxx_g=yes
2691 fi
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 fi
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 fi
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2698 fi
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2700 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2701 if test "$ac_test_CXXFLAGS" = set; then
2702   CXXFLAGS=$ac_save_CXXFLAGS
2703 elif test $ac_cv_prog_cxx_g = yes; then
2704   if test "$GXX" = yes; then
2705     CXXFLAGS="-g -O2"
2706   else
2707     CXXFLAGS="-g"
2708   fi
2709 else
2710   if test "$GXX" = yes; then
2711     CXXFLAGS="-O2"
2712   else
2713     CXXFLAGS=
2714   fi
2715 fi
2716 ac_ext=c
2717 ac_cpp='$CPP $CPPFLAGS'
2718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2722 ac_ext=c
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727 if test -n "$ac_tool_prefix"; then
2728   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_CC+:} false; then :
2733   $as_echo_n "(cached) " >&6
2734 else
2735   if test -n "$CC"; then
2736   ac_cv_prog_CC="$CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2740 do
2741   IFS=$as_save_IFS
2742   test -z "$as_dir" && as_dir=.
2743     for ac_exec_ext in '' $ac_executable_extensions; do
2744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747     break 2
2748   fi
2749 done
2750   done
2751 IFS=$as_save_IFS
2753 fi
2754 fi
2755 CC=$ac_cv_prog_CC
2756 if test -n "$CC"; then
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2759 else
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762 fi
2765 fi
2766 if test -z "$ac_cv_prog_CC"; then
2767   ac_ct_CC=$CC
2768   # Extract the first word of "gcc", so it can be a program name with args.
2769 set dummy gcc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2773   $as_echo_n "(cached) " >&6
2774 else
2775   if test -n "$ac_ct_CC"; then
2776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777 else
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH
2780 do
2781   IFS=$as_save_IFS
2782   test -z "$as_dir" && as_dir=.
2783     for ac_exec_ext in '' $ac_executable_extensions; do
2784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2785     ac_cv_prog_ac_ct_CC="gcc"
2786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787     break 2
2788   fi
2789 done
2790   done
2791 IFS=$as_save_IFS
2793 fi
2794 fi
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2799 else
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2802 fi
2804   if test "x$ac_ct_CC" = x; then
2805     CC=""
2806   else
2807     case $cross_compiling:$ac_tool_warned in
2808 yes:)
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2812 esac
2813     CC=$ac_ct_CC
2814   fi
2815 else
2816   CC="$ac_cv_prog_CC"
2817 fi
2819 if test -z "$CC"; then
2820           if test -n "$ac_tool_prefix"; then
2821     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822 set dummy ${ac_tool_prefix}cc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_CC+:} false; then :
2826   $as_echo_n "(cached) " >&6
2827 else
2828   if test -n "$CC"; then
2829   ac_cv_prog_CC="$CC" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834   IFS=$as_save_IFS
2835   test -z "$as_dir" && as_dir=.
2836     for ac_exec_ext in '' $ac_executable_extensions; do
2837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838     ac_cv_prog_CC="${ac_tool_prefix}cc"
2839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840     break 2
2841   fi
2842 done
2843   done
2844 IFS=$as_save_IFS
2846 fi
2847 fi
2848 CC=$ac_cv_prog_CC
2849 if test -n "$CC"; then
2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2852 else
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 fi
2858   fi
2859 fi
2860 if test -z "$CC"; then
2861   # Extract the first word of "cc", so it can be a program name with args.
2862 set dummy cc; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_CC+:} false; then :
2866   $as_echo_n "(cached) " >&6
2867 else
2868   if test -n "$CC"; then
2869   ac_cv_prog_CC="$CC" # Let the user override the test.
2870 else
2871   ac_prog_rejected=no
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 for as_dir in $PATH
2874 do
2875   IFS=$as_save_IFS
2876   test -z "$as_dir" && as_dir=.
2877     for ac_exec_ext in '' $ac_executable_extensions; do
2878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880        ac_prog_rejected=yes
2881        continue
2882      fi
2883     ac_cv_prog_CC="cc"
2884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885     break 2
2886   fi
2887 done
2888   done
2889 IFS=$as_save_IFS
2891 if test $ac_prog_rejected = yes; then
2892   # We found a bogon in the path, so make sure we never use it.
2893   set dummy $ac_cv_prog_CC
2894   shift
2895   if test $# != 0; then
2896     # We chose a different compiler from the bogus one.
2897     # However, it has the same basename, so the bogon will be chosen
2898     # first if we set CC to just the basename; use the full file name.
2899     shift
2900     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2901   fi
2902 fi
2903 fi
2904 fi
2905 CC=$ac_cv_prog_CC
2906 if test -n "$CC"; then
2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2909 else
2910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2912 fi
2915 fi
2916 if test -z "$CC"; then
2917   if test -n "$ac_tool_prefix"; then
2918   for ac_prog in cl.exe
2919   do
2920     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925   $as_echo_n "(cached) " >&6
2926 else
2927   if test -n "$CC"; then
2928   ac_cv_prog_CC="$CC" # Let the user override the test.
2929 else
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 for as_dir in $PATH
2932 do
2933   IFS=$as_save_IFS
2934   test -z "$as_dir" && as_dir=.
2935     for ac_exec_ext in '' $ac_executable_extensions; do
2936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939     break 2
2940   fi
2941 done
2942   done
2943 IFS=$as_save_IFS
2945 fi
2946 fi
2947 CC=$ac_cv_prog_CC
2948 if test -n "$CC"; then
2949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2951 else
2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 fi
2957     test -n "$CC" && break
2958   done
2959 fi
2960 if test -z "$CC"; then
2961   ac_ct_CC=$CC
2962   for ac_prog in cl.exe
2963 do
2964   # Extract the first word of "$ac_prog", so it can be a program name with args.
2965 set dummy $ac_prog; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2969   $as_echo_n "(cached) " >&6
2970 else
2971   if test -n "$ac_ct_CC"; then
2972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973 else
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 for as_dir in $PATH
2976 do
2977   IFS=$as_save_IFS
2978   test -z "$as_dir" && as_dir=.
2979     for ac_exec_ext in '' $ac_executable_extensions; do
2980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2981     ac_cv_prog_ac_ct_CC="$ac_prog"
2982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983     break 2
2984   fi
2985 done
2986   done
2987 IFS=$as_save_IFS
2989 fi
2990 fi
2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994 $as_echo "$ac_ct_CC" >&6; }
2995 else
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
2998 fi
3001   test -n "$ac_ct_CC" && break
3002 done
3004   if test "x$ac_ct_CC" = x; then
3005     CC=""
3006   else
3007     case $cross_compiling:$ac_tool_warned in
3008 yes:)
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011 ac_tool_warned=yes ;;
3012 esac
3013     CC=$ac_ct_CC
3014   fi
3015 fi
3017 fi
3020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error $? "no acceptable C compiler found in \$PATH
3023 See \`config.log' for more details" "$LINENO" 5; }
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3027 set X $ac_compile
3028 ac_compiler=$2
3029 for ac_option in --version -v -V -qversion; do
3030   { { ac_try="$ac_compiler $ac_option >&5"
3031 case "(($ac_try" in
3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033   *) ac_try_echo=$ac_try;;
3034 esac
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3038   ac_status=$?
3039   if test -s conftest.err; then
3040     sed '10a\
3041 ... rest of stderr output deleted ...
3042          10q' conftest.err >conftest.er1
3043     cat conftest.er1 >&5
3044   fi
3045   rm -f conftest.er1 conftest.err
3046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047   test $ac_status = 0; }
3048 done
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3051 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3052 if ${ac_cv_c_compiler_gnu+:} false; then :
3053   $as_echo_n "(cached) " >&6
3054 else
3055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h.  */
3058 int
3059 main ()
3061 #ifndef __GNUC__
3062        choke me
3063 #endif
3065   ;
3066   return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"; then :
3070   ac_compiler_gnu=yes
3071 else
3072   ac_compiler_gnu=no
3073 fi
3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3077 fi
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3079 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3080 if test $ac_compiler_gnu = yes; then
3081   GCC=yes
3082 else
3083   GCC=
3084 fi
3085 ac_test_CFLAGS=${CFLAGS+set}
3086 ac_save_CFLAGS=$CFLAGS
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3088 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3089 if ${ac_cv_prog_cc_g+:} false; then :
3090   $as_echo_n "(cached) " >&6
3091 else
3092   ac_save_c_werror_flag=$ac_c_werror_flag
3093    ac_c_werror_flag=yes
3094    ac_cv_prog_cc_g=no
3095    CFLAGS="-g"
3096    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h.  */
3099 int
3100 main ()
3103   ;
3104   return 0;
3106 _ACEOF
3107 if ac_fn_c_try_compile "$LINENO"; then :
3108   ac_cv_prog_cc_g=yes
3109 else
3110   CFLAGS=""
3111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h.  */
3114 int
3115 main ()
3118   ;
3119   return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"; then :
3124 else
3125   ac_c_werror_flag=$ac_save_c_werror_flag
3126          CFLAGS="-g"
3127          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h.  */
3130 int
3131 main ()
3134   ;
3135   return 0;
3137 _ACEOF
3138 if ac_fn_c_try_compile "$LINENO"; then :
3139   ac_cv_prog_cc_g=yes
3140 fi
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 fi
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 fi
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146    ac_c_werror_flag=$ac_save_c_werror_flag
3147 fi
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3149 $as_echo "$ac_cv_prog_cc_g" >&6; }
3150 if test "$ac_test_CFLAGS" = set; then
3151   CFLAGS=$ac_save_CFLAGS
3152 elif test $ac_cv_prog_cc_g = yes; then
3153   if test "$GCC" = yes; then
3154     CFLAGS="-g -O2"
3155   else
3156     CFLAGS="-g"
3157   fi
3158 else
3159   if test "$GCC" = yes; then
3160     CFLAGS="-O2"
3161   else
3162     CFLAGS=
3163   fi
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3166 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3167 if ${ac_cv_prog_cc_c89+:} false; then :
3168   $as_echo_n "(cached) " >&6
3169 else
3170   ac_cv_prog_cc_c89=no
3171 ac_save_CC=$CC
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h.  */
3174 #include <stdarg.h>
3175 #include <stdio.h>
3176 struct stat;
3177 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3178 struct buf { int x; };
3179 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3180 static char *e (p, i)
3181      char **p;
3182      int i;
3184   return p[i];
3186 static char *f (char * (*g) (char **, int), char **p, ...)
3188   char *s;
3189   va_list v;
3190   va_start (v,p);
3191   s = g (p, va_arg (v,int));
3192   va_end (v);
3193   return s;
3196 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3197    function prototypes and stuff, but not '\xHH' hex character constants.
3198    These don't provoke an error unfortunately, instead are silently treated
3199    as 'x'.  The following induces an error, until -std is added to get
3200    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3201    array size at least.  It's necessary to write '\x00'==0 to get something
3202    that's true only with -std.  */
3203 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3205 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3206    inside strings and character constants.  */
3207 #define FOO(x) 'x'
3208 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3210 int test (int i, double x);
3211 struct s1 {int (*f) (int a);};
3212 struct s2 {int (*f) (double a);};
3213 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3214 int argc;
3215 char **argv;
3216 int
3217 main ()
3219 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3220   ;
3221   return 0;
3223 _ACEOF
3224 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3225         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3226 do
3227   CC="$ac_save_CC $ac_arg"
3228   if ac_fn_c_try_compile "$LINENO"; then :
3229   ac_cv_prog_cc_c89=$ac_arg
3230 fi
3231 rm -f core conftest.err conftest.$ac_objext
3232   test "x$ac_cv_prog_cc_c89" != "xno" && break
3233 done
3234 rm -f conftest.$ac_ext
3235 CC=$ac_save_CC
3237 fi
3238 # AC_CACHE_VAL
3239 case "x$ac_cv_prog_cc_c89" in
3240   x)
3241     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3242 $as_echo "none needed" >&6; } ;;
3243   xno)
3244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3245 $as_echo "unsupported" >&6; } ;;
3246   *)
3247     CC="$CC $ac_cv_prog_cc_c89"
3248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3249 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3250 esac
3251 if test "x$ac_cv_prog_cc_c89" != xno; then :
3253 fi
3255 ac_ext=c
3256 ac_cpp='$CPP $CPPFLAGS'
3257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3261 ac_ext=c
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3267 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3268 # On Suns, sometimes $CPP names a directory.
3269 if test -n "$CPP" && test -d "$CPP"; then
3270   CPP=
3271 fi
3272 if test -z "$CPP"; then
3273   if ${ac_cv_prog_CPP+:} false; then :
3274   $as_echo_n "(cached) " >&6
3275 else
3276       # Double quotes because CPP needs to be expanded
3277     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3278     do
3279       ac_preproc_ok=false
3280 for ac_c_preproc_warn_flag in '' yes
3281 do
3282   # Use a header file that comes with gcc, so configuring glibc
3283   # with a fresh cross-compiler works.
3284   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3285   # <limits.h> exists even on freestanding compilers.
3286   # On the NeXT, cc -E runs the code through the compiler's parser,
3287   # not just through cpp. "Syntax error" is here to catch this case.
3288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h.  */
3290 #ifdef __STDC__
3291 # include <limits.h>
3292 #else
3293 # include <assert.h>
3294 #endif
3295                      Syntax error
3296 _ACEOF
3297 if ac_fn_c_try_cpp "$LINENO"; then :
3299 else
3300   # Broken: fails on valid input.
3301 continue
3302 fi
3303 rm -f conftest.err conftest.i conftest.$ac_ext
3305   # OK, works on sane cases.  Now check whether nonexistent headers
3306   # can be detected and how.
3307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h.  */
3309 #include <ac_nonexistent.h>
3310 _ACEOF
3311 if ac_fn_c_try_cpp "$LINENO"; then :
3312   # Broken: success on invalid input.
3313 continue
3314 else
3315   # Passes both tests.
3316 ac_preproc_ok=:
3317 break
3318 fi
3319 rm -f conftest.err conftest.i conftest.$ac_ext
3321 done
3322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3323 rm -f conftest.i conftest.err conftest.$ac_ext
3324 if $ac_preproc_ok; then :
3325   break
3326 fi
3328     done
3329     ac_cv_prog_CPP=$CPP
3331 fi
3332   CPP=$ac_cv_prog_CPP
3333 else
3334   ac_cv_prog_CPP=$CPP
3335 fi
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3337 $as_echo "$CPP" >&6; }
3338 ac_preproc_ok=false
3339 for ac_c_preproc_warn_flag in '' yes
3340 do
3341   # Use a header file that comes with gcc, so configuring glibc
3342   # with a fresh cross-compiler works.
3343   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344   # <limits.h> exists even on freestanding compilers.
3345   # On the NeXT, cc -E runs the code through the compiler's parser,
3346   # not just through cpp. "Syntax error" is here to catch this case.
3347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h.  */
3349 #ifdef __STDC__
3350 # include <limits.h>
3351 #else
3352 # include <assert.h>
3353 #endif
3354                      Syntax error
3355 _ACEOF
3356 if ac_fn_c_try_cpp "$LINENO"; then :
3358 else
3359   # Broken: fails on valid input.
3360 continue
3361 fi
3362 rm -f conftest.err conftest.i conftest.$ac_ext
3364   # OK, works on sane cases.  Now check whether nonexistent headers
3365   # can be detected and how.
3366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h.  */
3368 #include <ac_nonexistent.h>
3369 _ACEOF
3370 if ac_fn_c_try_cpp "$LINENO"; then :
3371   # Broken: success on invalid input.
3372 continue
3373 else
3374   # Passes both tests.
3375 ac_preproc_ok=:
3376 break
3377 fi
3378 rm -f conftest.err conftest.i conftest.$ac_ext
3380 done
3381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3382 rm -f conftest.i conftest.err conftest.$ac_ext
3383 if $ac_preproc_ok; then :
3385 else
3386   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3389 See \`config.log' for more details" "$LINENO" 5; }
3390 fi
3392 ac_ext=c
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 # Check prefix directories.
3401 if test "x$prefix" = "xNONE" ; then
3402         prefix="/usr/local"
3403 fi
3405 if test "x$exec_prefix" = "xNONE" ; then
3406         exec_prefix=$prefix
3407 fi
3409 PREFIX=$prefix
3412 if test "x$bindir" = "xNONE" ; then
3413         bindir="/bin"
3414 fi
3415 BINDIR=`eval echo $bindir`
3418 # Checks for libraries.
3420 # wxWidgets
3422 ac_ext=cpp
3423 ac_cpp='$CXXCPP $CPPFLAGS'
3424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3429 # Check for C++11 support for the compiler.
3431 CPPFLAGS="$CPPFLAGS -std=c++11"
3432 CXXFLAGS="$CXXFLAGS -std=c++11"
3435 ac_ext=cpp
3436 ac_cpp='$CXXCPP $CPPFLAGS'
3437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3441 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3442 if test -z "$CXXCPP"; then
3443   if ${ac_cv_prog_CXXCPP+:} false; then :
3444   $as_echo_n "(cached) " >&6
3445 else
3446       # Double quotes because CXXCPP needs to be expanded
3447     for CXXCPP in "$CXX -E" "/lib/cpp"
3448     do
3449       ac_preproc_ok=false
3450 for ac_cxx_preproc_warn_flag in '' yes
3451 do
3452   # Use a header file that comes with gcc, so configuring glibc
3453   # with a fresh cross-compiler works.
3454   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3455   # <limits.h> exists even on freestanding compilers.
3456   # On the NeXT, cc -E runs the code through the compiler's parser,
3457   # not just through cpp. "Syntax error" is here to catch this case.
3458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h.  */
3460 #ifdef __STDC__
3461 # include <limits.h>
3462 #else
3463 # include <assert.h>
3464 #endif
3465                      Syntax error
3466 _ACEOF
3467 if ac_fn_cxx_try_cpp "$LINENO"; then :
3469 else
3470   # Broken: fails on valid input.
3471 continue
3472 fi
3473 rm -f conftest.err conftest.i conftest.$ac_ext
3475   # OK, works on sane cases.  Now check whether nonexistent headers
3476   # can be detected and how.
3477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h.  */
3479 #include <ac_nonexistent.h>
3480 _ACEOF
3481 if ac_fn_cxx_try_cpp "$LINENO"; then :
3482   # Broken: success on invalid input.
3483 continue
3484 else
3485   # Passes both tests.
3486 ac_preproc_ok=:
3487 break
3488 fi
3489 rm -f conftest.err conftest.i conftest.$ac_ext
3491 done
3492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3493 rm -f conftest.i conftest.err conftest.$ac_ext
3494 if $ac_preproc_ok; then :
3495   break
3496 fi
3498     done
3499     ac_cv_prog_CXXCPP=$CXXCPP
3501 fi
3502   CXXCPP=$ac_cv_prog_CXXCPP
3503 else
3504   ac_cv_prog_CXXCPP=$CXXCPP
3505 fi
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3507 $as_echo "$CXXCPP" >&6; }
3508 ac_preproc_ok=false
3509 for ac_cxx_preproc_warn_flag in '' yes
3510 do
3511   # Use a header file that comes with gcc, so configuring glibc
3512   # with a fresh cross-compiler works.
3513   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3514   # <limits.h> exists even on freestanding compilers.
3515   # On the NeXT, cc -E runs the code through the compiler's parser,
3516   # not just through cpp. "Syntax error" is here to catch this case.
3517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h.  */
3519 #ifdef __STDC__
3520 # include <limits.h>
3521 #else
3522 # include <assert.h>
3523 #endif
3524                      Syntax error
3525 _ACEOF
3526 if ac_fn_cxx_try_cpp "$LINENO"; then :
3528 else
3529   # Broken: fails on valid input.
3530 continue
3531 fi
3532 rm -f conftest.err conftest.i conftest.$ac_ext
3534   # OK, works on sane cases.  Now check whether nonexistent headers
3535   # can be detected and how.
3536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h.  */
3538 #include <ac_nonexistent.h>
3539 _ACEOF
3540 if ac_fn_cxx_try_cpp "$LINENO"; then :
3541   # Broken: success on invalid input.
3542 continue
3543 else
3544   # Passes both tests.
3545 ac_preproc_ok=:
3546 break
3547 fi
3548 rm -f conftest.err conftest.i conftest.$ac_ext
3550 done
3551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3552 rm -f conftest.i conftest.err conftest.$ac_ext
3553 if $ac_preproc_ok; then :
3555 else
3556   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3559 See \`config.log' for more details" "$LINENO" 5; }
3560 fi
3562 ac_ext=cpp
3563 ac_cpp='$CXXCPP $CPPFLAGS'
3564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3571 if ${ac_cv_path_GREP+:} false; then :
3572   $as_echo_n "(cached) " >&6
3573 else
3574   if test -z "$GREP"; then
3575   ac_path_GREP_found=false
3576   # Loop through the user's path and test for each of PROGNAME-LIST
3577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3579 do
3580   IFS=$as_save_IFS
3581   test -z "$as_dir" && as_dir=.
3582     for ac_prog in grep ggrep; do
3583     for ac_exec_ext in '' $ac_executable_extensions; do
3584       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3585       as_fn_executable_p "$ac_path_GREP" || continue
3586 # Check for GNU ac_path_GREP and select it if it is found.
3587   # Check for GNU $ac_path_GREP
3588 case `"$ac_path_GREP" --version 2>&1` in
3589 *GNU*)
3590   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3591 *)
3592   ac_count=0
3593   $as_echo_n 0123456789 >"conftest.in"
3594   while :
3595   do
3596     cat "conftest.in" "conftest.in" >"conftest.tmp"
3597     mv "conftest.tmp" "conftest.in"
3598     cp "conftest.in" "conftest.nl"
3599     $as_echo 'GREP' >> "conftest.nl"
3600     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3601     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3602     as_fn_arith $ac_count + 1 && ac_count=$as_val
3603     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3604       # Best one so far, save it but keep looking for a better one
3605       ac_cv_path_GREP="$ac_path_GREP"
3606       ac_path_GREP_max=$ac_count
3607     fi
3608     # 10*(2^10) chars as input seems more than enough
3609     test $ac_count -gt 10 && break
3610   done
3611   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3612 esac
3614       $ac_path_GREP_found && break 3
3615     done
3616   done
3617   done
3618 IFS=$as_save_IFS
3619   if test -z "$ac_cv_path_GREP"; then
3620     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3621   fi
3622 else
3623   ac_cv_path_GREP=$GREP
3624 fi
3626 fi
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3628 $as_echo "$ac_cv_path_GREP" >&6; }
3629  GREP="$ac_cv_path_GREP"
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3633 $as_echo_n "checking for egrep... " >&6; }
3634 if ${ac_cv_path_EGREP+:} false; then :
3635   $as_echo_n "(cached) " >&6
3636 else
3637   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3638    then ac_cv_path_EGREP="$GREP -E"
3639    else
3640      if test -z "$EGREP"; then
3641   ac_path_EGREP_found=false
3642   # Loop through the user's path and test for each of PROGNAME-LIST
3643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3645 do
3646   IFS=$as_save_IFS
3647   test -z "$as_dir" && as_dir=.
3648     for ac_prog in egrep; do
3649     for ac_exec_ext in '' $ac_executable_extensions; do
3650       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3651       as_fn_executable_p "$ac_path_EGREP" || continue
3652 # Check for GNU ac_path_EGREP and select it if it is found.
3653   # Check for GNU $ac_path_EGREP
3654 case `"$ac_path_EGREP" --version 2>&1` in
3655 *GNU*)
3656   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3657 *)
3658   ac_count=0
3659   $as_echo_n 0123456789 >"conftest.in"
3660   while :
3661   do
3662     cat "conftest.in" "conftest.in" >"conftest.tmp"
3663     mv "conftest.tmp" "conftest.in"
3664     cp "conftest.in" "conftest.nl"
3665     $as_echo 'EGREP' >> "conftest.nl"
3666     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3667     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3668     as_fn_arith $ac_count + 1 && ac_count=$as_val
3669     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3670       # Best one so far, save it but keep looking for a better one
3671       ac_cv_path_EGREP="$ac_path_EGREP"
3672       ac_path_EGREP_max=$ac_count
3673     fi
3674     # 10*(2^10) chars as input seems more than enough
3675     test $ac_count -gt 10 && break
3676   done
3677   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3678 esac
3680       $ac_path_EGREP_found && break 3
3681     done
3682   done
3683   done
3684 IFS=$as_save_IFS
3685   if test -z "$ac_cv_path_EGREP"; then
3686     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3687   fi
3688 else
3689   ac_cv_path_EGREP=$EGREP
3690 fi
3692    fi
3693 fi
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3695 $as_echo "$ac_cv_path_EGREP" >&6; }
3696  EGREP="$ac_cv_path_EGREP"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3700 $as_echo_n "checking for ANSI C header files... " >&6; }
3701 if ${ac_cv_header_stdc+:} false; then :
3702   $as_echo_n "(cached) " >&6
3703 else
3704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h.  */
3706 #include <stdlib.h>
3707 #include <stdarg.h>
3708 #include <string.h>
3709 #include <float.h>
3711 int
3712 main ()
3715   ;
3716   return 0;
3718 _ACEOF
3719 if ac_fn_cxx_try_compile "$LINENO"; then :
3720   ac_cv_header_stdc=yes
3721 else
3722   ac_cv_header_stdc=no
3723 fi
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 if test $ac_cv_header_stdc = yes; then
3727   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h.  */
3730 #include <string.h>
3732 _ACEOF
3733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3734   $EGREP "memchr" >/dev/null 2>&1; then :
3736 else
3737   ac_cv_header_stdc=no
3738 fi
3739 rm -f conftest*
3741 fi
3743 if test $ac_cv_header_stdc = yes; then
3744   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h.  */
3747 #include <stdlib.h>
3749 _ACEOF
3750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3751   $EGREP "free" >/dev/null 2>&1; then :
3753 else
3754   ac_cv_header_stdc=no
3755 fi
3756 rm -f conftest*
3758 fi
3760 if test $ac_cv_header_stdc = yes; then
3761   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3762   if test "$cross_compiling" = yes; then :
3763   :
3764 else
3765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h.  */
3767 #include <ctype.h>
3768 #include <stdlib.h>
3769 #if ((' ' & 0x0FF) == 0x020)
3770 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3771 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3772 #else
3773 # define ISLOWER(c) \
3774                    (('a' <= (c) && (c) <= 'i') \
3775                      || ('j' <= (c) && (c) <= 'r') \
3776                      || ('s' <= (c) && (c) <= 'z'))
3777 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3778 #endif
3780 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3781 int
3782 main ()
3784   int i;
3785   for (i = 0; i < 256; i++)
3786     if (XOR (islower (i), ISLOWER (i))
3787         || toupper (i) != TOUPPER (i))
3788       return 2;
3789   return 0;
3791 _ACEOF
3792 if ac_fn_cxx_try_run "$LINENO"; then :
3794 else
3795   ac_cv_header_stdc=no
3796 fi
3797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3798   conftest.$ac_objext conftest.beam conftest.$ac_ext
3799 fi
3801 fi
3802 fi
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3804 $as_echo "$ac_cv_header_stdc" >&6; }
3805 if test $ac_cv_header_stdc = yes; then
3807 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3809 fi
3811 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3812 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3813                   inttypes.h stdint.h unistd.h
3814 do :
3815   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3816 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3818 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3819   cat >>confdefs.h <<_ACEOF
3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3821 _ACEOF
3823 fi
3825 done
3828 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3829 if test "x$ac_cv_header_thread" = xyes; then :
3831 else
3832   echo "The C++ compiler does not support C++11 extensions which is
3833 needed for Xestia Address Book. Please install or use a
3834 compiler that supports C++11 extensions."
3835         exit -1
3837 fi
3843 # Check whether --with-wxdir was given.
3844 if test "${with_wxdir+set}" = set; then :
3845   withval=$with_wxdir;  wx_config_name="$withval/wx-config"
3846                   wx_config_args="--inplace"
3847 fi
3850 # Check whether --with-wx-config was given.
3851 if test "${with_wx_config+set}" = set; then :
3852   withval=$with_wx_config; wx_config_name="$withval"
3853 fi
3856 # Check whether --with-wx-prefix was given.
3857 if test "${with_wx_prefix+set}" = set; then :
3858   withval=$with_wx_prefix; wx_config_prefix="$withval"
3859 else
3860   wx_config_prefix=""
3861 fi
3864 # Check whether --with-wx-exec-prefix was given.
3865 if test "${with_wx_exec_prefix+set}" = set; then :
3866   withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3867 else
3868   wx_config_exec_prefix=""
3869 fi
3872 reqwx=3.0.0
3875     if test x${WX_CONFIG_NAME+set} != xset ; then
3876      WX_CONFIG_NAME=wx-config
3877   fi
3879   if test "x$wx_config_name" != x ; then
3880      WX_CONFIG_NAME="$wx_config_name"
3881   fi
3883     if test x$wx_config_exec_prefix != x ; then
3884      wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3885      WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3886   fi
3887   if test x$wx_config_prefix != x ; then
3888      wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3889      WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3890   fi
3891   if test "$cross_compiling" = "yes"; then
3892      wx_config_args="$wx_config_args --host=$host_alias"
3893   fi
3895     if test -x "$WX_CONFIG_NAME" ; then
3896      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3897 $as_echo_n "checking for wx-config... " >&6; }
3898      WX_CONFIG_PATH="$WX_CONFIG_NAME"
3899      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3900 $as_echo "$WX_CONFIG_PATH" >&6; }
3901   else
3902      # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3903 set dummy $WX_CONFIG_NAME; ac_word=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3907   $as_echo_n "(cached) " >&6
3908 else
3909   case $WX_CONFIG_PATH in
3910   [\\/]* | ?:[\\/]*)
3911   ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3912   ;;
3913   *)
3914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3916 for as_dir in $as_dummy
3917 do
3918   IFS=$as_save_IFS
3919   test -z "$as_dir" && as_dir=.
3920     for ac_exec_ext in '' $ac_executable_extensions; do
3921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922     ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924     break 2
3925   fi
3926 done
3927   done
3928 IFS=$as_save_IFS
3930   test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3931   ;;
3932 esac
3933 fi
3934 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3935 if test -n "$WX_CONFIG_PATH"; then
3936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3937 $as_echo "$WX_CONFIG_PATH" >&6; }
3938 else
3939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3941 fi
3944   fi
3946   if test "$WX_CONFIG_PATH" != "no" ; then
3947     WX_VERSION=""
3949     min_wx_version=$reqwx
3950     if test -z "" ; then
3951       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3952 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3953     else
3954       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3955 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3956     fi
3958             WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
3960     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3961     wx_config_major_version=`echo $WX_VERSION | \
3962            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3963     wx_config_minor_version=`echo $WX_VERSION | \
3964            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3965     wx_config_micro_version=`echo $WX_VERSION | \
3966            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3968     wx_requested_major_version=`echo $min_wx_version | \
3969            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3970     wx_requested_minor_version=`echo $min_wx_version | \
3971            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3972     wx_requested_micro_version=`echo $min_wx_version | \
3973            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3976     wx_ver_ok=""
3977     if test "x$WX_VERSION" != x ; then
3978       if test $wx_config_major_version -gt $wx_requested_major_version; then
3979         wx_ver_ok=yes
3980       else
3981         if test $wx_config_major_version -eq $wx_requested_major_version; then
3982            if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3983               wx_ver_ok=yes
3984            else
3985               if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3986                  if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3987                     wx_ver_ok=yes
3988                  fi
3989               fi
3990            fi
3991         fi
3992       fi
3993     fi
3996     if test -n "$wx_ver_ok"; then
3997       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3998 $as_echo "yes (version $WX_VERSION)" >&6; }
3999       WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4001                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4002 $as_echo_n "checking for wxWidgets static library... " >&6; }
4003       WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs  2>/dev/null`
4004       if test "x$WX_LIBS_STATIC" = "x"; then
4005         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007       else
4008         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009 $as_echo "yes" >&6; }
4010       fi
4012             wx_has_cppflags=""
4013       if test $wx_config_major_version -gt 2; then
4014         wx_has_cppflags=yes
4015       else
4016         if test $wx_config_major_version -eq 2; then
4017            if test $wx_config_minor_version -gt 2; then
4018               wx_has_cppflags=yes
4019            else
4020               if test $wx_config_minor_version -eq 2; then
4021                  if test $wx_config_micro_version -ge 6; then
4022                     wx_has_cppflags=yes
4023                  fi
4024               fi
4025            fi
4026         fi
4027       fi
4029             wx_has_rescomp=""
4030       if test $wx_config_major_version -gt 2; then
4031         wx_has_rescomp=yes
4032       else
4033         if test $wx_config_major_version -eq 2; then
4034            if test $wx_config_minor_version -ge 7; then
4035               wx_has_rescomp=yes
4036            fi
4037         fi
4038       fi
4039       if test "x$wx_has_rescomp" = x ; then
4040                   WX_RESCOMP=
4041       else
4042          WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4043       fi
4045       if test "x$wx_has_cppflags" = x ; then
4046                   WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4047          WX_CPPFLAGS=$WX_CFLAGS
4048          WX_CXXFLAGS=$WX_CFLAGS
4050          WX_CFLAGS_ONLY=$WX_CFLAGS
4051          WX_CXXFLAGS_ONLY=$WX_CFLAGS
4052       else
4053                   WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4054          WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4055          WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4057          WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4058          WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4059       fi
4061       wxWin=1
4063     else
4065        if test "x$WX_VERSION" = x; then
4066                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4068        else
4069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4070 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4071        fi
4073        WX_CFLAGS=""
4074        WX_CPPFLAGS=""
4075        WX_CXXFLAGS=""
4076        WX_LIBS=""
4077        WX_LIBS_STATIC=""
4078        WX_RESCOMP=""
4080        if test ! -z ""; then
4082           wx_error_message="
4083     The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4084     build with the following settings:
4086     but such build is not available.
4088     To see the wxWidgets builds available on this system, please use
4089     'wx-config --list' command. To use the default build, returned by
4090     'wx-config --selected-config', use the options with their 'auto'
4091     default values."
4093        fi
4095        wx_error_message="
4096     The requested wxWidgets build couldn't be found.
4097     $wx_error_message
4099     If you still get this error, then check that 'wx-config' is
4100     in path, the directory where wxWidgets libraries are installed
4101     (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4102     or equivalent variable and wxWidgets version is $reqwx or above."
4104        as_fn_error $? "$wx_error_message" "$LINENO" 5
4106     fi
4107   else
4109     WX_CFLAGS=""
4110     WX_CPPFLAGS=""
4111     WX_CXXFLAGS=""
4112     WX_LIBS=""
4113     WX_LIBS_STATIC=""
4114     WX_RESCOMP=""
4116     :
4118   fi
4130       WX_VERSION_MAJOR="$wx_config_major_version"
4131   WX_VERSION_MINOR="$wx_config_minor_version"
4132   WX_VERSION_MICRO="$wx_config_micro_version"
4138 if test "$wxWin" != 1; then
4139         as_fn_error $? "
4140 wxWidgets must be installed on your system.
4142 Please check that wx-config is in path, the directory where wxWidgets libraries
4143 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4144 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4145 is $reqwx or above.
4146                 " "$LINENO" 5
4147 fi
4149 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4150 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4151 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4152 LIBS="$LIBS $WX_LIBS"
4154 # SFML Audio Library
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4157 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4158 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4159   $as_echo_n "(cached) " >&6
4160 else
4161   ac_check_lib_save_LIBS=$LIBS
4162 LIBS="-lsfml-audio  $LIBS"
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h.  */
4167 int
4168 main ()
4170 return main ();
4171   ;
4172   return 0;
4174 _ACEOF
4175 if ac_fn_cxx_try_link "$LINENO"; then :
4176   ac_cv_lib_sfml_audio_main=yes
4177 else
4178   ac_cv_lib_sfml_audio_main=no
4179 fi
4180 rm -f core conftest.err conftest.$ac_objext \
4181     conftest$ac_exeext conftest.$ac_ext
4182 LIBS=$ac_check_lib_save_LIBS
4183 fi
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4185 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4186 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4187   cat >>confdefs.h <<_ACEOF
4188 #define HAVE_LIBSFML_AUDIO 1
4189 _ACEOF
4191   LIBS="-lsfml-audio $LIBS"
4193 else
4194   echo "The SFML libraries must be installed on your system.
4195 Please check that this library is installed properly before
4196 running configure again."
4197         exit -1
4199 fi
4202 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4203 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4205 else
4206   echo "The SFML library headers must be installed on your system.
4207 Please check that the library headers are installed properly
4208 before running configure again."
4209         exit -1
4211 fi
4215 ac_ext=cpp
4216 ac_cpp='$CXXCPP $CPPFLAGS'
4217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4222 # curl Library
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4225 $as_echo_n "checking for main in -lcurl... " >&6; }
4226 if ${ac_cv_lib_curl_main+:} false; then :
4227   $as_echo_n "(cached) " >&6
4228 else
4229   ac_check_lib_save_LIBS=$LIBS
4230 LIBS="-lcurl  $LIBS"
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h.  */
4235 int
4236 main ()
4238 return main ();
4239   ;
4240   return 0;
4242 _ACEOF
4243 if ac_fn_cxx_try_link "$LINENO"; then :
4244   ac_cv_lib_curl_main=yes
4245 else
4246   ac_cv_lib_curl_main=no
4247 fi
4248 rm -f core conftest.err conftest.$ac_objext \
4249     conftest$ac_exeext conftest.$ac_ext
4250 LIBS=$ac_check_lib_save_LIBS
4251 fi
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4253 $as_echo "$ac_cv_lib_curl_main" >&6; }
4254 if test "x$ac_cv_lib_curl_main" = xyes; then :
4255   cat >>confdefs.h <<_ACEOF
4256 #define HAVE_LIBCURL 1
4257 _ACEOF
4259   LIBS="-lcurl $LIBS"
4261 else
4262   echo "The cURL library must be installed on your system.
4263 Please check that this library is installed properly before
4264 running configure again."
4265         exit -1
4267 fi
4270 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4271 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4273 else
4274   echo "The cURL library headers must be installed on your system.
4275 Please check that the library headers are installed properly
4276 before running configure again."
4277         exit -1
4279 fi
4283 # Extract the first word of "curl-config", so it can be a program name with args.
4284 set dummy curl-config; ac_word=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4288   $as_echo_n "(cached) " >&6
4289 else
4290   if test -n "$FOUND_CURLCONFIG"; then
4291   ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4292 else
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 for as_dir in $PATH
4295 do
4296   IFS=$as_save_IFS
4297   test -z "$as_dir" && as_dir=.
4298     for ac_exec_ext in '' $ac_executable_extensions; do
4299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300     ac_cv_prog_FOUND_CURLCONFIG="yes"
4301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302     break 2
4303   fi
4304 done
4305   done
4306 IFS=$as_save_IFS
4308   test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4309 fi
4310 fi
4311 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4312 if test -n "$FOUND_CURLCONFIG"; then
4313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4314 $as_echo "$FOUND_CURLCONFIG" >&6; }
4315 else
4316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4318 fi
4321  if test x$FOUND_CURLCONFIG = xyes; then
4322   FOUND_CURLCONFIG_RES_TRUE=
4323   FOUND_CURLCONFIG_RES_FALSE='#'
4324 else
4325   FOUND_CURLCONFIG_RES_TRUE='#'
4326   FOUND_CURLCONFIG_RES_FALSE=
4327 fi
4330 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4331   else
4332   echo "Cannot find the curl-config program on your system.
4333 If it is installed on your system, adjust your PATH environment
4334 variable before running configure again."
4335         exit -1
4337 fi
4339 # libxml2 Library
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4342 $as_echo_n "checking for main in -lxml2... " >&6; }
4343 if ${ac_cv_lib_xml2_main+:} false; then :
4344   $as_echo_n "(cached) " >&6
4345 else
4346   ac_check_lib_save_LIBS=$LIBS
4347 LIBS="-lxml2  $LIBS"
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h.  */
4352 int
4353 main ()
4355 return main ();
4356   ;
4357   return 0;
4359 _ACEOF
4360 if ac_fn_cxx_try_link "$LINENO"; then :
4361   ac_cv_lib_xml2_main=yes
4362 else
4363   ac_cv_lib_xml2_main=no
4364 fi
4365 rm -f core conftest.err conftest.$ac_objext \
4366     conftest$ac_exeext conftest.$ac_ext
4367 LIBS=$ac_check_lib_save_LIBS
4368 fi
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4370 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4371 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4372   cat >>confdefs.h <<_ACEOF
4373 #define HAVE_LIBXML2 1
4374 _ACEOF
4376   LIBS="-lxml2 $LIBS"
4378 else
4379   echo "The libxml2 library must be installed on your system.
4380 Please check that this library is installed properly before
4381 running configure again."
4382         exit -1
4384 fi
4387 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4388 do :
4389   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4390 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4392   cat >>confdefs.h <<_ACEOF
4393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4394 _ACEOF
4396 else
4397   echo "The libxml2 library headers must be installed on your system.
4398 Please check that the library headers are installed properly
4399 before running configure again."
4400         exit -1
4402 fi
4404 done
4407 # Extract the first word of "xml2-config", so it can be a program name with args.
4408 set dummy xml2-config; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
4412   $as_echo_n "(cached) " >&6
4413 else
4414   if test -n "$FOUND_XML2CONFIG"; then
4415   ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
4416 else
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 for as_dir in $PATH
4419 do
4420   IFS=$as_save_IFS
4421   test -z "$as_dir" && as_dir=.
4422     for ac_exec_ext in '' $ac_executable_extensions; do
4423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4424     ac_cv_prog_FOUND_XML2CONFIG="yes"
4425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426     break 2
4427   fi
4428 done
4429   done
4430 IFS=$as_save_IFS
4432   test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
4433 fi
4434 fi
4435 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
4436 if test -n "$FOUND_XML2CONFIG"; then
4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
4438 $as_echo "$FOUND_XML2CONFIG" >&6; }
4439 else
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4442 fi
4445  if test x$FOUND_XML2CONFIG = xyes; then
4446   FOUND_XML2CONFIG_RES_TRUE=
4447   FOUND_XML2CONFIG_RES_FALSE='#'
4448 else
4449   FOUND_XML2CONFIG_RES_TRUE='#'
4450   FOUND_XML2CONFIG_RES_FALSE=
4451 fi
4454 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
4455   else
4456   echo "Cannot find the xml2-config program on your system.
4457 If it is installed on your system, adjust your PATH environment
4458 variable before running configure again."
4459         exit -1
4461 fi
4463 # uuidgen application
4465 # Extract the first word of "uuidgen", so it can be a program name with args.
4466 set dummy uuidgen; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   if test -n "$FOUND_UUIDGEN"; then
4473   ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4474 else
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH
4477 do
4478   IFS=$as_save_IFS
4479   test -z "$as_dir" && as_dir=.
4480     for ac_exec_ext in '' $ac_executable_extensions; do
4481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482     ac_cv_prog_FOUND_UUIDGEN="yes"
4483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4484     break 2
4485   fi
4486 done
4487   done
4488 IFS=$as_save_IFS
4490   test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4491 fi
4492 fi
4493 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4494 if test -n "$FOUND_UUIDGEN"; then
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4496 $as_echo "$FOUND_UUIDGEN" >&6; }
4497 else
4498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4500 fi
4503  if test x$FOUND_UUIDGEN = xyes; then
4504   FOUND_UUIDGEN_RES_TRUE=
4505   FOUND_UUIDGEN_RES_FALSE='#'
4506 else
4507   FOUND_UUIDGEN_RES_TRUE='#'
4508   FOUND_UUIDGEN_RES_FALSE=
4509 fi
4512 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4513   else
4514   echo "Cannot find the uuidgen program on your system.
4515 If it is installed on your system, adjust your PATH environment
4516 variable before running configure again."
4517         exit -1
4519 fi
4521 # Checks for header files.
4522 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4523 do :
4524   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4525 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4526 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4527   cat >>confdefs.h <<_ACEOF
4528 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4529 _ACEOF
4531 fi
4533 done
4536 # Checks for typedefs, structures, and compiler characteristics.
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4538 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4539 if ${ac_cv_header_stdbool_h+:} false; then :
4540   $as_echo_n "(cached) " >&6
4541 else
4542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h.  */
4545              #include <stdbool.h>
4546              #ifndef bool
4547               "error: bool is not defined"
4548              #endif
4549              #ifndef false
4550               "error: false is not defined"
4551              #endif
4552              #if false
4553               "error: false is not 0"
4554              #endif
4555              #ifndef true
4556               "error: true is not defined"
4557              #endif
4558              #if true != 1
4559               "error: true is not 1"
4560              #endif
4561              #ifndef __bool_true_false_are_defined
4562               "error: __bool_true_false_are_defined is not defined"
4563              #endif
4565              struct s { _Bool s: 1; _Bool t; } s;
4567              char a[true == 1 ? 1 : -1];
4568              char b[false == 0 ? 1 : -1];
4569              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4570              char d[(bool) 0.5 == true ? 1 : -1];
4571              /* See body of main program for 'e'.  */
4572              char f[(_Bool) 0.0 == false ? 1 : -1];
4573              char g[true];
4574              char h[sizeof (_Bool)];
4575              char i[sizeof s.t];
4576              enum { j = false, k = true, l = false * true, m = true * 256 };
4577              /* The following fails for
4578                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4579              _Bool n[m];
4580              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4581              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4582              /* Catch a bug in an HP-UX C compiler.  See
4583                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4584                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4585               */
4586              _Bool q = true;
4587              _Bool *pq = &q;
4589 int
4590 main ()
4593              bool e = &s;
4594              *pq |= q;
4595              *pq |= ! q;
4596              /* Refer to every declared value, to avoid compiler optimizations.  */
4597              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4598                      + !m + !n + !o + !p + !q + !pq);
4600   ;
4601   return 0;
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605   ac_cv_header_stdbool_h=yes
4606 else
4607   ac_cv_header_stdbool_h=no
4608 fi
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 fi
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4612 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4613    ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4614 if test "x$ac_cv_type__Bool" = xyes; then :
4616 cat >>confdefs.h <<_ACEOF
4617 #define HAVE__BOOL 1
4618 _ACEOF
4621 fi
4624 if test $ac_cv_header_stdbool_h = yes; then
4626 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4628 fi
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4631 $as_echo_n "checking for inline... " >&6; }
4632 if ${ac_cv_c_inline+:} false; then :
4633   $as_echo_n "(cached) " >&6
4634 else
4635   ac_cv_c_inline=no
4636 for ac_kw in inline __inline__ __inline; do
4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h.  */
4639 #ifndef __cplusplus
4640 typedef int foo_t;
4641 static $ac_kw foo_t static_foo () {return 0; }
4642 $ac_kw foo_t foo () {return 0; }
4643 #endif
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647   ac_cv_c_inline=$ac_kw
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650   test "$ac_cv_c_inline" != no && break
4651 done
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4655 $as_echo "$ac_cv_c_inline" >&6; }
4657 case $ac_cv_c_inline in
4658   inline | yes) ;;
4659   *)
4660     case $ac_cv_c_inline in
4661       no) ac_val=;;
4662       *) ac_val=$ac_cv_c_inline;;
4663     esac
4664     cat >>confdefs.h <<_ACEOF
4665 #ifndef __cplusplus
4666 #define inline $ac_val
4667 #endif
4668 _ACEOF
4669     ;;
4670 esac
4673 # Setup the debug setting.
4675 # Check whether --enable-debug was given.
4676 if test "${enable_debug+set}" = set; then :
4677   enableval=$enable_debug; case "${enableval}" in
4678         yes) debug=true;;
4679         no)  debug=false;;
4680         *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
4681  esac
4682 else
4683   debug=false
4684 fi
4687 # Checks for library functions.
4689  if test x$debug = xtrue; then
4690   DEBUG_TRUE=
4691   DEBUG_FALSE='#'
4692 else
4693   DEBUG_TRUE='#'
4694   DEBUG_FALSE=
4695 fi
4697 if test -z "$DEBUG_TRUE"; then :
4698   DBGOUT="-O0 -ggdb"
4700 else
4701   DBGOUT="-Os"
4703 fi
4704 if test -z "$DEBUG_TRUE"; then :
4705   DBGSTATUS="DEBUG=true"
4707 else
4708   DBGSTATUS="DEBUG=false"
4710 fi
4711 if test -z "$DEBUG_TRUE"; then :
4712   echo "Debugging mode has been enabled."
4713 fi
4715 ac_config_files="$ac_config_files Makefile"
4717 cat >confcache <<\_ACEOF
4718 # This file is a shell script that caches the results of configure
4719 # tests run on this system so they can be shared between configure
4720 # scripts and configure runs, see configure's option --config-cache.
4721 # It is not useful on other systems.  If it contains results you don't
4722 # want to keep, you may remove or edit it.
4724 # config.status only pays attention to the cache file if you give it
4725 # the --recheck option to rerun configure.
4727 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4728 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4729 # following values.
4731 _ACEOF
4733 # The following way of writing the cache mishandles newlines in values,
4734 # but we know of no workaround that is simple, portable, and efficient.
4735 # So, we kill variables containing newlines.
4736 # Ultrix sh set writes to stderr and can't be redirected directly,
4737 # and sets the high bit in the cache file unless we assign to the vars.
4739   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4740     eval ac_val=\$$ac_var
4741     case $ac_val in #(
4742     *${as_nl}*)
4743       case $ac_var in #(
4744       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4745 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4746       esac
4747       case $ac_var in #(
4748       _ | IFS | as_nl) ;; #(
4749       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4750       *) { eval $ac_var=; unset $ac_var;} ;;
4751       esac ;;
4752     esac
4753   done
4755   (set) 2>&1 |
4756     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4757     *${as_nl}ac_space=\ *)
4758       # `set' does not quote correctly, so add quotes: double-quote
4759       # substitution turns \\\\ into \\, and sed turns \\ into \.
4760       sed -n \
4761         "s/'/'\\\\''/g;
4762           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4763       ;; #(
4764     *)
4765       # `set' quotes correctly as required by POSIX, so do not add quotes.
4766       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4767       ;;
4768     esac |
4769     sort
4770 ) |
4771   sed '
4772      /^ac_cv_env_/b end
4773      t clear
4774      :clear
4775      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4776      t end
4777      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4778      :end' >>confcache
4779 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4780   if test -w "$cache_file"; then
4781     if test "x$cache_file" != "x/dev/null"; then
4782       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4783 $as_echo "$as_me: updating cache $cache_file" >&6;}
4784       if test ! -f "$cache_file" || test -h "$cache_file"; then
4785         cat confcache >"$cache_file"
4786       else
4787         case $cache_file in #(
4788         */* | ?:*)
4789           mv -f confcache "$cache_file"$$ &&
4790           mv -f "$cache_file"$$ "$cache_file" ;; #(
4791         *)
4792           mv -f confcache "$cache_file" ;;
4793         esac
4794       fi
4795     fi
4796   else
4797     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4798 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4799   fi
4800 fi
4801 rm -f confcache
4803 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4804 # Let make expand exec_prefix.
4805 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4807 # Transform confdefs.h into DEFS.
4808 # Protect against shell expansion while executing Makefile rules.
4809 # Protect against Makefile macro expansion.
4811 # If the first sed substitution is executed (which looks for macros that
4812 # take arguments), then branch to the quote section.  Otherwise,
4813 # look for a macro that doesn't take arguments.
4814 ac_script='
4815 :mline
4816 /\\$/{
4817  N
4818  s,\\\n,,
4819  b mline
4821 t clear
4822 :clear
4823 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4824 t quote
4825 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4826 t quote
4827 b any
4828 :quote
4829 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4830 s/\[/\\&/g
4831 s/\]/\\&/g
4832 s/\$/$$/g
4834 :any
4835 ${
4836         g
4837         s/^\n//
4838         s/\n/ /g
4839         p
4842 DEFS=`sed -n "$ac_script" confdefs.h`
4845 ac_libobjs=
4846 ac_ltlibobjs=
4847 U=
4848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4849   # 1. Remove the extension, and $U if already installed.
4850   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4851   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4852   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4853   #    will be set to the directory where LIBOBJS objects are built.
4854   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4855   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4856 done
4857 LIBOBJS=$ac_libobjs
4859 LTLIBOBJS=$ac_ltlibobjs
4862 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
4863   as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
4864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4865 fi
4866 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
4867   as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
4868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4869 fi
4870 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
4871   as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
4872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4873 fi
4874 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
4875   as_fn_error $? "conditional \"DEBUG\" was never defined.
4876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4877 fi
4879 : "${CONFIG_STATUS=./config.status}"
4880 ac_write_fail=0
4881 ac_clean_files_save=$ac_clean_files
4882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4884 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4885 as_write_fail=0
4886 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4887 #! $SHELL
4888 # Generated by $as_me.
4889 # Run this file to recreate the current configuration.
4890 # Compiler output produced by configure, useful for debugging
4891 # configure, is in config.log if it exists.
4893 debug=false
4894 ac_cs_recheck=false
4895 ac_cs_silent=false
4897 SHELL=\${CONFIG_SHELL-$SHELL}
4898 export SHELL
4899 _ASEOF
4900 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4901 ## -------------------- ##
4902 ## M4sh Initialization. ##
4903 ## -------------------- ##
4905 # Be more Bourne compatible
4906 DUALCASE=1; export DUALCASE # for MKS sh
4907 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4908   emulate sh
4909   NULLCMD=:
4910   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4911   # is contrary to our usage.  Disable this feature.
4912   alias -g '${1+"$@"}'='"$@"'
4913   setopt NO_GLOB_SUBST
4914 else
4915   case `(set -o) 2>/dev/null` in #(
4916   *posix*) :
4917     set -o posix ;; #(
4918   *) :
4919      ;;
4920 esac
4921 fi
4924 as_nl='
4926 export as_nl
4927 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4928 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4929 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4931 # Prefer a ksh shell builtin over an external printf program on Solaris,
4932 # but without wasting forks for bash or zsh.
4933 if test -z "$BASH_VERSION$ZSH_VERSION" \
4934     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4935   as_echo='print -r --'
4936   as_echo_n='print -rn --'
4937 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4938   as_echo='printf %s\n'
4939   as_echo_n='printf %s'
4940 else
4941   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4942     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4943     as_echo_n='/usr/ucb/echo -n'
4944   else
4945     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4946     as_echo_n_body='eval
4947       arg=$1;
4948       case $arg in #(
4949       *"$as_nl"*)
4950         expr "X$arg" : "X\\(.*\\)$as_nl";
4951         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4952       esac;
4953       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4954     '
4955     export as_echo_n_body
4956     as_echo_n='sh -c $as_echo_n_body as_echo'
4957   fi
4958   export as_echo_body
4959   as_echo='sh -c $as_echo_body as_echo'
4960 fi
4962 # The user is always right.
4963 if test "${PATH_SEPARATOR+set}" != set; then
4964   PATH_SEPARATOR=:
4965   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4966     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4967       PATH_SEPARATOR=';'
4968   }
4969 fi
4972 # IFS
4973 # We need space, tab and new line, in precisely that order.  Quoting is
4974 # there to prevent editors from complaining about space-tab.
4975 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4976 # splitting by setting IFS to empty value.)
4977 IFS=" ""        $as_nl"
4979 # Find who we are.  Look in the path if we contain no directory separator.
4980 as_myself=
4981 case $0 in #((
4982   *[\\/]* ) as_myself=$0 ;;
4983   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4985 do
4986   IFS=$as_save_IFS
4987   test -z "$as_dir" && as_dir=.
4988     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4989   done
4990 IFS=$as_save_IFS
4992      ;;
4993 esac
4994 # We did not find ourselves, most probably we were run as `sh COMMAND'
4995 # in which case we are not to be found in the path.
4996 if test "x$as_myself" = x; then
4997   as_myself=$0
4998 fi
4999 if test ! -f "$as_myself"; then
5000   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5001   exit 1
5002 fi
5004 # Unset variables that we do not need and which cause bugs (e.g. in
5005 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5006 # suppresses any "Segmentation fault" message there.  '((' could
5007 # trigger a bug in pdksh 5.2.14.
5008 for as_var in BASH_ENV ENV MAIL MAILPATH
5009 do eval test x\${$as_var+set} = xset \
5010   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5011 done
5012 PS1='$ '
5013 PS2='> '
5014 PS4='+ '
5016 # NLS nuisances.
5017 LC_ALL=C
5018 export LC_ALL
5019 LANGUAGE=C
5020 export LANGUAGE
5022 # CDPATH.
5023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5026 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5027 # ----------------------------------------
5028 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5029 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5030 # script with STATUS, using 1 if that was 0.
5031 as_fn_error ()
5033   as_status=$1; test $as_status -eq 0 && as_status=1
5034   if test "$4"; then
5035     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5036     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5037   fi
5038   $as_echo "$as_me: error: $2" >&2
5039   as_fn_exit $as_status
5040 } # as_fn_error
5043 # as_fn_set_status STATUS
5044 # -----------------------
5045 # Set $? to STATUS, without forking.
5046 as_fn_set_status ()
5048   return $1
5049 } # as_fn_set_status
5051 # as_fn_exit STATUS
5052 # -----------------
5053 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5054 as_fn_exit ()
5056   set +e
5057   as_fn_set_status $1
5058   exit $1
5059 } # as_fn_exit
5061 # as_fn_unset VAR
5062 # ---------------
5063 # Portably unset VAR.
5064 as_fn_unset ()
5066   { eval $1=; unset $1;}
5068 as_unset=as_fn_unset
5069 # as_fn_append VAR VALUE
5070 # ----------------------
5071 # Append the text in VALUE to the end of the definition contained in VAR. Take
5072 # advantage of any shell optimizations that allow amortized linear growth over
5073 # repeated appends, instead of the typical quadratic growth present in naive
5074 # implementations.
5075 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5076   eval 'as_fn_append ()
5077   {
5078     eval $1+=\$2
5079   }'
5080 else
5081   as_fn_append ()
5082   {
5083     eval $1=\$$1\$2
5084   }
5085 fi # as_fn_append
5087 # as_fn_arith ARG...
5088 # ------------------
5089 # Perform arithmetic evaluation on the ARGs, and store the result in the
5090 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5091 # must be portable across $(()) and expr.
5092 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5093   eval 'as_fn_arith ()
5094   {
5095     as_val=$(( $* ))
5096   }'
5097 else
5098   as_fn_arith ()
5099   {
5100     as_val=`expr "$@" || test $? -eq 1`
5101   }
5102 fi # as_fn_arith
5105 if expr a : '\(a\)' >/dev/null 2>&1 &&
5106    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5107   as_expr=expr
5108 else
5109   as_expr=false
5110 fi
5112 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5113   as_basename=basename
5114 else
5115   as_basename=false
5116 fi
5118 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5119   as_dirname=dirname
5120 else
5121   as_dirname=false
5122 fi
5124 as_me=`$as_basename -- "$0" ||
5125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5126          X"$0" : 'X\(//\)$' \| \
5127          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5128 $as_echo X/"$0" |
5129     sed '/^.*\/\([^/][^/]*\)\/*$/{
5130             s//\1/
5131             q
5132           }
5133           /^X\/\(\/\/\)$/{
5134             s//\1/
5135             q
5136           }
5137           /^X\/\(\/\).*/{
5138             s//\1/
5139             q
5140           }
5141           s/.*/./; q'`
5143 # Avoid depending upon Character Ranges.
5144 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5145 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5146 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5147 as_cr_digits='0123456789'
5148 as_cr_alnum=$as_cr_Letters$as_cr_digits
5150 ECHO_C= ECHO_N= ECHO_T=
5151 case `echo -n x` in #(((((
5152 -n*)
5153   case `echo 'xy\c'` in
5154   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5155   xy)  ECHO_C='\c';;
5156   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5157        ECHO_T=' ';;
5158   esac;;
5159 *)
5160   ECHO_N='-n';;
5161 esac
5163 rm -f conf$$ conf$$.exe conf$$.file
5164 if test -d conf$$.dir; then
5165   rm -f conf$$.dir/conf$$.file
5166 else
5167   rm -f conf$$.dir
5168   mkdir conf$$.dir 2>/dev/null
5169 fi
5170 if (echo >conf$$.file) 2>/dev/null; then
5171   if ln -s conf$$.file conf$$ 2>/dev/null; then
5172     as_ln_s='ln -s'
5173     # ... but there are two gotchas:
5174     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5175     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5176     # In both cases, we have to default to `cp -pR'.
5177     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5178       as_ln_s='cp -pR'
5179   elif ln conf$$.file conf$$ 2>/dev/null; then
5180     as_ln_s=ln
5181   else
5182     as_ln_s='cp -pR'
5183   fi
5184 else
5185   as_ln_s='cp -pR'
5186 fi
5187 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5188 rmdir conf$$.dir 2>/dev/null
5191 # as_fn_mkdir_p
5192 # -------------
5193 # Create "$as_dir" as a directory, including parents if necessary.
5194 as_fn_mkdir_p ()
5197   case $as_dir in #(
5198   -*) as_dir=./$as_dir;;
5199   esac
5200   test -d "$as_dir" || eval $as_mkdir_p || {
5201     as_dirs=
5202     while :; do
5203       case $as_dir in #(
5204       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5205       *) as_qdir=$as_dir;;
5206       esac
5207       as_dirs="'$as_qdir' $as_dirs"
5208       as_dir=`$as_dirname -- "$as_dir" ||
5209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5210          X"$as_dir" : 'X\(//\)[^/]' \| \
5211          X"$as_dir" : 'X\(//\)$' \| \
5212          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5213 $as_echo X"$as_dir" |
5214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5215             s//\1/
5216             q
5217           }
5218           /^X\(\/\/\)[^/].*/{
5219             s//\1/
5220             q
5221           }
5222           /^X\(\/\/\)$/{
5223             s//\1/
5224             q
5225           }
5226           /^X\(\/\).*/{
5227             s//\1/
5228             q
5229           }
5230           s/.*/./; q'`
5231       test -d "$as_dir" && break
5232     done
5233     test -z "$as_dirs" || eval "mkdir $as_dirs"
5234   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5237 } # as_fn_mkdir_p
5238 if mkdir -p . 2>/dev/null; then
5239   as_mkdir_p='mkdir -p "$as_dir"'
5240 else
5241   test -d ./-p && rmdir ./-p
5242   as_mkdir_p=false
5243 fi
5246 # as_fn_executable_p FILE
5247 # -----------------------
5248 # Test if FILE is an executable regular file.
5249 as_fn_executable_p ()
5251   test -f "$1" && test -x "$1"
5252 } # as_fn_executable_p
5253 as_test_x='test -x'
5254 as_executable_p=as_fn_executable_p
5256 # Sed expression to map a string onto a valid CPP name.
5257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5259 # Sed expression to map a string onto a valid variable name.
5260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5263 exec 6>&1
5264 ## ----------------------------------- ##
5265 ## Main body of $CONFIG_STATUS script. ##
5266 ## ----------------------------------- ##
5267 _ASEOF
5268 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5271 # Save the log message, to keep $0 and so on meaningful, and to
5272 # report actual input values of CONFIG_FILES etc. instead of their
5273 # values after options handling.
5274 ac_log="
5275 This file was extended by Xestia Address Book $as_me 0.01, which was
5276 generated by GNU Autoconf 2.69.  Invocation command line was
5278   CONFIG_FILES    = $CONFIG_FILES
5279   CONFIG_HEADERS  = $CONFIG_HEADERS
5280   CONFIG_LINKS    = $CONFIG_LINKS
5281   CONFIG_COMMANDS = $CONFIG_COMMANDS
5282   $ $0 $@
5284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5287 _ACEOF
5289 case $ac_config_files in *"
5290 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5291 esac
5295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5296 # Files that config.status was made for.
5297 config_files="$ac_config_files"
5299 _ACEOF
5301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5302 ac_cs_usage="\
5303 \`$as_me' instantiates files and other configuration actions
5304 from templates according to the current configuration.  Unless the files
5305 and actions are specified as TAGs, all are instantiated by default.
5307 Usage: $0 [OPTION]... [TAG]...
5309   -h, --help       print this help, then exit
5310   -V, --version    print version number and configuration settings, then exit
5311       --config     print configuration, then exit
5312   -q, --quiet, --silent
5313                    do not print progress messages
5314   -d, --debug      don't remove temporary files
5315       --recheck    update $as_me by reconfiguring in the same conditions
5316       --file=FILE[:TEMPLATE]
5317                    instantiate the configuration file FILE
5319 Configuration files:
5320 $config_files
5322 Report bugs to <bugs@xestia.co.uk>."
5324 _ACEOF
5325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5326 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5327 ac_cs_version="\\
5328 Xestia Address Book config.status 0.01
5329 configured by $0, generated by GNU Autoconf 2.69,
5330   with options \\"\$ac_cs_config\\"
5332 Copyright (C) 2012 Free Software Foundation, Inc.
5333 This config.status script is free software; the Free Software Foundation
5334 gives unlimited permission to copy, distribute and modify it."
5336 ac_pwd='$ac_pwd'
5337 srcdir='$srcdir'
5338 test -n "\$AWK" || AWK=awk
5339 _ACEOF
5341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 # The default lists apply if the user does not specify any file.
5343 ac_need_defaults=:
5344 while test $# != 0
5345 do
5346   case $1 in
5347   --*=?*)
5348     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5349     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5350     ac_shift=:
5351     ;;
5352   --*=)
5353     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5354     ac_optarg=
5355     ac_shift=:
5356     ;;
5357   *)
5358     ac_option=$1
5359     ac_optarg=$2
5360     ac_shift=shift
5361     ;;
5362   esac
5364   case $ac_option in
5365   # Handling of the options.
5366   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5367     ac_cs_recheck=: ;;
5368   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5369     $as_echo "$ac_cs_version"; exit ;;
5370   --config | --confi | --conf | --con | --co | --c )
5371     $as_echo "$ac_cs_config"; exit ;;
5372   --debug | --debu | --deb | --de | --d | -d )
5373     debug=: ;;
5374   --file | --fil | --fi | --f )
5375     $ac_shift
5376     case $ac_optarg in
5377     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5378     '') as_fn_error $? "missing file argument" ;;
5379     esac
5380     as_fn_append CONFIG_FILES " '$ac_optarg'"
5381     ac_need_defaults=false;;
5382   --he | --h |  --help | --hel | -h )
5383     $as_echo "$ac_cs_usage"; exit ;;
5384   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5385   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5386     ac_cs_silent=: ;;
5388   # This is an error.
5389   -*) as_fn_error $? "unrecognized option: \`$1'
5390 Try \`$0 --help' for more information." ;;
5392   *) as_fn_append ac_config_targets " $1"
5393      ac_need_defaults=false ;;
5395   esac
5396   shift
5397 done
5399 ac_configure_extra_args=
5401 if $ac_cs_silent; then
5402   exec 6>/dev/null
5403   ac_configure_extra_args="$ac_configure_extra_args --silent"
5404 fi
5406 _ACEOF
5407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5408 if \$ac_cs_recheck; then
5409   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5410   shift
5411   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5412   CONFIG_SHELL='$SHELL'
5413   export CONFIG_SHELL
5414   exec "\$@"
5415 fi
5417 _ACEOF
5418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5419 exec 5>>config.log
5421   echo
5422   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5423 ## Running $as_me. ##
5424 _ASBOX
5425   $as_echo "$ac_log"
5426 } >&5
5428 _ACEOF
5429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5430 _ACEOF
5432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5434 # Handling of arguments.
5435 for ac_config_target in $ac_config_targets
5436 do
5437   case $ac_config_target in
5438     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5440   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5441   esac
5442 done
5445 # If the user did not use the arguments to specify the items to instantiate,
5446 # then the envvar interface is used.  Set only those that are not.
5447 # We use the long form for the default assignment because of an extremely
5448 # bizarre bug on SunOS 4.1.3.
5449 if $ac_need_defaults; then
5450   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5451 fi
5453 # Have a temporary directory for convenience.  Make it in the build tree
5454 # simply because there is no reason against having it here, and in addition,
5455 # creating and moving files from /tmp can sometimes cause problems.
5456 # Hook for its removal unless debugging.
5457 # Note that there is a small window in which the directory will not be cleaned:
5458 # after its creation but before its name has been assigned to `$tmp'.
5459 $debug ||
5461   tmp= ac_tmp=
5462   trap 'exit_status=$?
5463   : "${ac_tmp:=$tmp}"
5464   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5465 ' 0
5466   trap 'as_fn_exit 1' 1 2 13 15
5468 # Create a (secure) tmp directory for tmp files.
5471   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5472   test -d "$tmp"
5473 }  ||
5475   tmp=./conf$$-$RANDOM
5476   (umask 077 && mkdir "$tmp")
5477 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5478 ac_tmp=$tmp
5480 # Set up the scripts for CONFIG_FILES section.
5481 # No need to generate them if there are no CONFIG_FILES.
5482 # This happens for instance with `./config.status config.h'.
5483 if test -n "$CONFIG_FILES"; then
5486 ac_cr=`echo X | tr X '\015'`
5487 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5488 # But we know of no other shell where ac_cr would be empty at this
5489 # point, so we can use a bashism as a fallback.
5490 if test "x$ac_cr" = x; then
5491   eval ac_cr=\$\'\\r\'
5492 fi
5493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5495   ac_cs_awk_cr='\\r'
5496 else
5497   ac_cs_awk_cr=$ac_cr
5498 fi
5500 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5501 _ACEOF
5505   echo "cat >conf$$subs.awk <<_ACEOF" &&
5506   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5507   echo "_ACEOF"
5508 } >conf$$subs.sh ||
5509   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5511 ac_delim='%!_!# '
5512 for ac_last_try in false false false false false :; do
5513   . ./conf$$subs.sh ||
5514     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5516   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5517   if test $ac_delim_n = $ac_delim_num; then
5518     break
5519   elif $ac_last_try; then
5520     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5521   else
5522     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5523   fi
5524 done
5525 rm -f conf$$subs.sh
5527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5528 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5529 _ACEOF
5530 sed -n '
5532 s/^/S["/; s/!.*/"]=/
5535 s/^[^!]*!//
5536 :repl
5537 t repl
5538 s/'"$ac_delim"'$//
5539 t delim
5540 :nl
5542 s/\(.\{148\}\)..*/\1/
5543 t more1
5544 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5547 b repl
5548 :more1
5549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5552 s/.\{148\}//
5553 t nl
5554 :delim
5556 s/\(.\{148\}\)..*/\1/
5557 t more2
5558 s/["\\]/\\&/g; s/^/"/; s/$/"/
5561 :more2
5562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5565 s/.\{148\}//
5566 t delim
5567 ' <conf$$subs.awk | sed '
5568 /^[^""]/{
5569   N
5570   s/\n//
5572 ' >>$CONFIG_STATUS || ac_write_fail=1
5573 rm -f conf$$subs.awk
5574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5575 _ACAWK
5576 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5577   for (key in S) S_is_set[key] = 1
5578   FS = "\a"
5582   line = $ 0
5583   nfields = split(line, field, "@")
5584   substed = 0
5585   len = length(field[1])
5586   for (i = 2; i < nfields; i++) {
5587     key = field[i]
5588     keylen = length(key)
5589     if (S_is_set[key]) {
5590       value = S[key]
5591       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5592       len += length(value) + length(field[++i])
5593       substed = 1
5594     } else
5595       len += 1 + keylen
5596   }
5598   print line
5601 _ACAWK
5602 _ACEOF
5603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5605   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5606 else
5607   cat
5608 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5609   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5610 _ACEOF
5612 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5613 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5614 # trailing colons and then remove the whole line if VPATH becomes empty
5615 # (actually we leave an empty line to preserve line numbers).
5616 if test "x$srcdir" = x.; then
5617   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5619 s///
5620 s/^/:/
5621 s/[      ]*$/:/
5622 s/:\$(srcdir):/:/g
5623 s/:\${srcdir}:/:/g
5624 s/:@srcdir@:/:/g
5625 s/^:*//
5626 s/:*$//
5628 s/\(=[   ]*\).*/\1/
5630 s/\n//
5631 s/^[^=]*=[       ]*$//
5632 }'
5633 fi
5635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636 fi # test -n "$CONFIG_FILES"
5639 eval set X "  :F $CONFIG_FILES      "
5640 shift
5641 for ac_tag
5642 do
5643   case $ac_tag in
5644   :[FHLC]) ac_mode=$ac_tag; continue;;
5645   esac
5646   case $ac_mode$ac_tag in
5647   :[FHL]*:*);;
5648   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5649   :[FH]-) ac_tag=-:-;;
5650   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5651   esac
5652   ac_save_IFS=$IFS
5653   IFS=:
5654   set x $ac_tag
5655   IFS=$ac_save_IFS
5656   shift
5657   ac_file=$1
5658   shift
5660   case $ac_mode in
5661   :L) ac_source=$1;;
5662   :[FH])
5663     ac_file_inputs=
5664     for ac_f
5665     do
5666       case $ac_f in
5667       -) ac_f="$ac_tmp/stdin";;
5668       *) # Look for the file first in the build tree, then in the source tree
5669          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5670          # because $ac_f cannot contain `:'.
5671          test -f "$ac_f" ||
5672            case $ac_f in
5673            [\\/$]*) false;;
5674            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5675            esac ||
5676            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5677       esac
5678       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5679       as_fn_append ac_file_inputs " '$ac_f'"
5680     done
5682     # Let's still pretend it is `configure' which instantiates (i.e., don't
5683     # use $as_me), people would be surprised to read:
5684     #    /* config.h.  Generated by config.status.  */
5685     configure_input='Generated from '`
5686           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5687         `' by configure.'
5688     if test x"$ac_file" != x-; then
5689       configure_input="$ac_file.  $configure_input"
5690       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5691 $as_echo "$as_me: creating $ac_file" >&6;}
5692     fi
5693     # Neutralize special characters interpreted by sed in replacement strings.
5694     case $configure_input in #(
5695     *\&* | *\|* | *\\* )
5696        ac_sed_conf_input=`$as_echo "$configure_input" |
5697        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5698     *) ac_sed_conf_input=$configure_input;;
5699     esac
5701     case $ac_tag in
5702     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5703       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5704     esac
5705     ;;
5706   esac
5708   ac_dir=`$as_dirname -- "$ac_file" ||
5709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5710          X"$ac_file" : 'X\(//\)[^/]' \| \
5711          X"$ac_file" : 'X\(//\)$' \| \
5712          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5713 $as_echo X"$ac_file" |
5714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5715             s//\1/
5716             q
5717           }
5718           /^X\(\/\/\)[^/].*/{
5719             s//\1/
5720             q
5721           }
5722           /^X\(\/\/\)$/{
5723             s//\1/
5724             q
5725           }
5726           /^X\(\/\).*/{
5727             s//\1/
5728             q
5729           }
5730           s/.*/./; q'`
5731   as_dir="$ac_dir"; as_fn_mkdir_p
5732   ac_builddir=.
5734 case "$ac_dir" in
5735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5736 *)
5737   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5738   # A ".." for each directory in $ac_dir_suffix.
5739   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5740   case $ac_top_builddir_sub in
5741   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5742   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5743   esac ;;
5744 esac
5745 ac_abs_top_builddir=$ac_pwd
5746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5747 # for backward compatibility:
5748 ac_top_builddir=$ac_top_build_prefix
5750 case $srcdir in
5751   .)  # We are building in place.
5752     ac_srcdir=.
5753     ac_top_srcdir=$ac_top_builddir_sub
5754     ac_abs_top_srcdir=$ac_pwd ;;
5755   [\\/]* | ?:[\\/]* )  # Absolute name.
5756     ac_srcdir=$srcdir$ac_dir_suffix;
5757     ac_top_srcdir=$srcdir
5758     ac_abs_top_srcdir=$srcdir ;;
5759   *) # Relative name.
5760     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5761     ac_top_srcdir=$ac_top_build_prefix$srcdir
5762     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5763 esac
5764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5767   case $ac_mode in
5768   :F)
5769   #
5770   # CONFIG_FILE
5771   #
5773 _ACEOF
5775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5776 # If the template does not know about datarootdir, expand it.
5777 # FIXME: This hack should be removed a few years after 2.60.
5778 ac_datarootdir_hack=; ac_datarootdir_seen=
5779 ac_sed_dataroot='
5780 /datarootdir/ {
5781   p
5782   q
5784 /@datadir@/p
5785 /@docdir@/p
5786 /@infodir@/p
5787 /@localedir@/p
5788 /@mandir@/p'
5789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5790 *datarootdir*) ac_datarootdir_seen=yes;;
5791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5794 _ACEOF
5795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5796   ac_datarootdir_hack='
5797   s&@datadir@&$datadir&g
5798   s&@docdir@&$docdir&g
5799   s&@infodir@&$infodir&g
5800   s&@localedir@&$localedir&g
5801   s&@mandir@&$mandir&g
5802   s&\\\${datarootdir}&$datarootdir&g' ;;
5803 esac
5804 _ACEOF
5806 # Neutralize VPATH when `$srcdir' = `.'.
5807 # Shell code in configure.ac might set extrasub.
5808 # FIXME: do we really want to maintain this feature?
5809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5810 ac_sed_extra="$ac_vpsub
5811 $extrasub
5812 _ACEOF
5813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5814 :t
5815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5816 s|@configure_input@|$ac_sed_conf_input|;t t
5817 s&@top_builddir@&$ac_top_builddir_sub&;t t
5818 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5819 s&@srcdir@&$ac_srcdir&;t t
5820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5821 s&@top_srcdir@&$ac_top_srcdir&;t t
5822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5823 s&@builddir@&$ac_builddir&;t t
5824 s&@abs_builddir@&$ac_abs_builddir&;t t
5825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5826 $ac_datarootdir_hack
5828 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5829   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5831 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5832   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5833   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5834       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5835   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5836 which seems to be undefined.  Please make sure it is defined" >&5
5837 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5838 which seems to be undefined.  Please make sure it is defined" >&2;}
5840   rm -f "$ac_tmp/stdin"
5841   case $ac_file in
5842   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5843   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5844   esac \
5845   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5846  ;;
5850   esac
5852 done # for ac_tag
5855 as_fn_exit 0
5856 _ACEOF
5857 ac_clean_files=$ac_clean_files_save
5859 test $ac_write_fail = 0 ||
5860   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5863 # configure is writing to config.log, and then calls config.status.
5864 # config.status does its own redirection, appending to config.log.
5865 # Unfortunately, on DOS this fails, as config.log is still kept open
5866 # by configure, so config.status won't be able to write to it; its
5867 # output is simply discarded.  So we exec the FD to /dev/null,
5868 # effectively closing config.log, so it can be properly (re)opened and
5869 # appended to by config.status.  When coming back to configure, we
5870 # need to make the FD available again.
5871 if test "$no_create" != yes; then
5872   ac_cs_success=:
5873   ac_config_status_args=
5874   test "$silent" = yes &&
5875     ac_config_status_args="$ac_config_status_args --quiet"
5876   exec 5>/dev/null
5877   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5878   exec 5>>config.log
5879   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5880   # would make configure fail if this is the last instruction.
5881   $ac_cs_success || as_fn_exit 1
5882 fi
5883 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5885 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5886 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