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