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