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