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