Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
configure: SFML 2.4.1 required
[xestiaab/.git] / source / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.05.
4 #
5 # Report bugs to <bugs@xestia.co.uk>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202   if (eval "$as_required") 2>/dev/null; then :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
219            for as_base in sh bash ksh sh5; do
220              # Try only shells that exist, to save several forks.
221              as_shell=$as_dir/$as_base
222              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235   CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
262     if test x$as_have_required = xno; then :
263   $as_echo "$0: This script requires a shell more modern than all"
264   $as_echo "$0: the shells that I found on your system."
265   if test x${ZSH_VERSION+set} = xset ; then
266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
273 $0: have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293   { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302   return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310   set +e
311   as_fn_set_status $1
312   exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321   case $as_dir in #(
322   -*) as_dir=./$as_dir;;
323   esac
324   test -d "$as_dir" || eval $as_mkdir_p || {
325     as_dirs=
326     while :; do
327       case $as_dir in #(
328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329       *) as_qdir=$as_dir;;
330       esac
331       as_dirs="'$as_qdir' $as_dirs"
332       as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334          X"$as_dir" : 'X\(//\)[^/]' \| \
335          X"$as_dir" : 'X\(//\)$' \| \
336          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)[^/].*/{
343             s//\1/
344             q
345           }
346           /^X\(\/\/\)$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\).*/{
351             s//\1/
352             q
353           }
354           s/.*/./; q'`
355       test -d "$as_dir" && break
356     done
357     test -z "$as_dirs" || eval "mkdir $as_dirs"
358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368   test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377   eval 'as_fn_append ()
378   {
379     eval $1+=\$2
380   }'
381 else
382   as_fn_append ()
383   {
384     eval $1=\$$1\$2
385   }
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394   eval 'as_fn_arith ()
395   {
396     as_val=$(( $* ))
397   }'
398 else
399   as_fn_arith ()
400   {
401     as_val=`expr "$@" || test $? -eq 1`
402   }
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413   as_status=$1; test $as_status -eq 0 && as_status=1
414   if test "$4"; then
415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417   fi
418   $as_echo "$as_me: error: $2" >&2
419   as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
424   as_expr=expr
425 else
426   as_expr=false
427 fi
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430   as_basename=basename
431 else
432   as_basename=false
433 fi
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436   as_dirname=dirname
437 else
438   as_dirname=false
439 fi
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443          X"$0" : 'X\(//\)$' \| \
444          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446     sed '/^.*\/\([^/][^/]*\)\/*$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\/\)$/{
451             s//\1/
452             q
453           }
454           /^X\/\(\/\).*/{
455             s//\1/
456             q
457           }
458           s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473   sed -n '
474     p
475     /[$]LINENO/=
476   ' <$as_myself |
477     sed '
478       s/[$]LINENO.*/&-/
479       t lineno
480       b
481       :lineno
482       N
483       :loop
484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485       t loop
486       s/-\n.*//
487     ' >$as_me.lineno &&
488   chmod +x "$as_me.lineno" ||
489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492   # already done that, so ensure we don't try to do so again and fall
493   # in an infinite loop.  This has already happened in practice.
494   _as_can_reexec=no; export _as_can_reexec
495   # Don't try to exec as it changes $[0], causing all sort of problems
496   # (the dirname of $[0] is not the place where we might find the
497   # original and so on.  Autoconf is especially sensitive to this).
498   . "./$as_me.lineno"
499   # Exit status is that of the last command.
500   exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506   case `echo 'xy\c'` in
507   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508   xy)  ECHO_C='\c';;
509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510        ECHO_T=' ';;
511   esac;;
512 *)
513   ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518   rm -f conf$$.dir/conf$$.file
519 else
520   rm -f conf$$.dir
521   mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524   if ln -s conf$$.file conf$$ 2>/dev/null; then
525     as_ln_s='ln -s'
526     # ... but there are two gotchas:
527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529     # In both cases, we have to default to `cp -pR'.
530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531       as_ln_s='cp -pR'
532   elif ln conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s=ln
534   else
535     as_ln_s='cp -pR'
536   fi
537 else
538   as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544   as_mkdir_p='mkdir -p "$as_dir"'
545 else
546   test -d ./-p && rmdir ./-p
547   as_mkdir_p=false
548 fi
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Xestia Address Book'
582 PACKAGE_TARNAME='xestia-address-book'
583 PACKAGE_VERSION='0.05'
584 PACKAGE_STRING='Xestia Address Book 0.05'
585 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
586 PACKAGE_URL=''
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 #  include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #  include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
624 ac_subst_vars='LTLIBOBJS
625 LIBOBJS
626 GTEST
627 GTEST_FOUND_FALSE
628 GTEST_FOUND_TRUE
629 DBGSTATUS
630 DBGOUT
631 DEBUG_FALSE
632 DEBUG_TRUE
633 FOUND_XML2CONFIG_RES_FALSE
634 FOUND_XML2CONFIG_RES_TRUE
635 FOUND_XML2CONFIG
636 FOUND_UUIDGEN_RES_FALSE
637 FOUND_UUIDGEN_RES_TRUE
638 FOUND_UUIDGEN
639 FOUND_FILE_RES_FALSE
640 FOUND_FILE_RES_TRUE
641 FOUND_FILE
642 FOUND_CURLCONFIG_RES_FALSE
643 FOUND_CURLCONFIG_RES_TRUE
644 FOUND_CURLCONFIG
645 SFML_LIBS
646 SFML_CFLAGS
647 PKG_CONFIG_LIBDIR
648 PKG_CONFIG_PATH
649 PKG_CONFIG
650 WX_VERSION_MICRO
651 WX_VERSION_MINOR
652 WX_VERSION_MAJOR
653 WX_RESCOMP
654 WX_VERSION
655 WX_LIBS_STATIC
656 WX_LIBS
657 WX_CXXFLAGS_ONLY
658 WX_CFLAGS_ONLY
659 WX_CXXFLAGS
660 WX_CFLAGS
661 WX_CPPFLAGS
662 WX_CONFIG_PATH
663 EGREP
664 GREP
665 CXXCPP
666 DATAROOTDIR
667 BINDIR
668 PREFIX
669 CPP
670 ac_ct_CC
671 CFLAGS
672 CC
673 OBJEXT
674 EXEEXT
675 ac_ct_CXX
676 CPPFLAGS
677 LDFLAGS
678 CXXFLAGS
679 CXX
680 target_alias
681 host_alias
682 build_alias
683 LIBS
684 ECHO_T
685 ECHO_N
686 ECHO_C
687 DEFS
688 mandir
689 localedir
690 libdir
691 psdir
692 pdfdir
693 dvidir
694 htmldir
695 infodir
696 docdir
697 oldincludedir
698 includedir
699 localstatedir
700 sharedstatedir
701 sysconfdir
702 datadir
703 datarootdir
704 libexecdir
705 sbindir
706 bindir
707 program_transform_name
708 prefix
709 exec_prefix
710 PACKAGE_URL
711 PACKAGE_BUGREPORT
712 PACKAGE_STRING
713 PACKAGE_VERSION
714 PACKAGE_TARNAME
715 PACKAGE_NAME
716 PATH_SEPARATOR
717 SHELL'
718 ac_subst_files=''
719 ac_user_opts='
720 enable_option_checking
721 with_wxdir
722 with_wx_config
723 with_wx_prefix
724 with_wx_exec_prefix
725 enable_debug
727       ac_precious_vars='build_alias
728 host_alias
729 target_alias
730 CXX
731 CXXFLAGS
732 LDFLAGS
733 LIBS
734 CPPFLAGS
735 CCC
736 CC
737 CFLAGS
738 CPP
739 CXXCPP
740 PKG_CONFIG
741 PKG_CONFIG_PATH
742 PKG_CONFIG_LIBDIR
743 SFML_CFLAGS
744 SFML_LIBS'
747 # Initialize some variables set by options.
748 ac_init_help=
749 ac_init_version=false
750 ac_unrecognized_opts=
751 ac_unrecognized_sep=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
754 cache_file=/dev/null
755 exec_prefix=NONE
756 no_create=
757 no_recursion=
758 prefix=NONE
759 program_prefix=NONE
760 program_suffix=NONE
761 program_transform_name=s,x,x,
762 silent=
763 site=
764 srcdir=
765 verbose=
766 x_includes=NONE
767 x_libraries=NONE
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir='${exec_prefix}/bin'
776 sbindir='${exec_prefix}/sbin'
777 libexecdir='${exec_prefix}/libexec'
778 datarootdir='${prefix}/share'
779 datadir='${datarootdir}'
780 sysconfdir='${prefix}/etc'
781 sharedstatedir='${prefix}/com'
782 localstatedir='${prefix}/var'
783 includedir='${prefix}/include'
784 oldincludedir='/usr/include'
785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir='${datarootdir}/info'
787 htmldir='${docdir}'
788 dvidir='${docdir}'
789 pdfdir='${docdir}'
790 psdir='${docdir}'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
795 ac_prev=
796 ac_dashdash=
797 for ac_option
798 do
799   # If the previous option needs an argument, assign it.
800   if test -n "$ac_prev"; then
801     eval $ac_prev=\$ac_option
802     ac_prev=
803     continue
804   fi
806   case $ac_option in
807   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808   *=)   ac_optarg= ;;
809   *)    ac_optarg=yes ;;
810   esac
812   # Accept the important Cygnus configure options, so we can diagnose typos.
814   case $ac_dashdash$ac_option in
815   --)
816     ac_dashdash=yes ;;
818   -bindir | --bindir | --bindi | --bind | --bin | --bi)
819     ac_prev=bindir ;;
820   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821     bindir=$ac_optarg ;;
823   -build | --build | --buil | --bui | --bu)
824     ac_prev=build_alias ;;
825   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
826     build_alias=$ac_optarg ;;
828   -cache-file | --cache-file | --cache-fil | --cache-fi \
829   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
830     ac_prev=cache_file ;;
831   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
832   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
833     cache_file=$ac_optarg ;;
835   --config-cache | -C)
836     cache_file=config.cache ;;
838   -datadir | --datadir | --datadi | --datad)
839     ac_prev=datadir ;;
840   -datadir=* | --datadir=* | --datadi=* | --datad=*)
841     datadir=$ac_optarg ;;
843   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844   | --dataroo | --dataro | --datar)
845     ac_prev=datarootdir ;;
846   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848     datarootdir=$ac_optarg ;;
850   -disable-* | --disable-*)
851     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852     # Reject names that are not valid shell variable names.
853     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854       as_fn_error $? "invalid feature name: $ac_useropt"
855     ac_useropt_orig=$ac_useropt
856     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857     case $ac_user_opts in
858       *"
859 "enable_$ac_useropt"
860 "*) ;;
861       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862          ac_unrecognized_sep=', ';;
863     esac
864     eval enable_$ac_useropt=no ;;
866   -docdir | --docdir | --docdi | --doc | --do)
867     ac_prev=docdir ;;
868   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869     docdir=$ac_optarg ;;
871   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872     ac_prev=dvidir ;;
873   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874     dvidir=$ac_optarg ;;
876   -enable-* | --enable-*)
877     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878     # Reject names that are not valid shell variable names.
879     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880       as_fn_error $? "invalid feature name: $ac_useropt"
881     ac_useropt_orig=$ac_useropt
882     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883     case $ac_user_opts in
884       *"
885 "enable_$ac_useropt"
886 "*) ;;
887       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888          ac_unrecognized_sep=', ';;
889     esac
890     eval enable_$ac_useropt=\$ac_optarg ;;
892   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894   | --exec | --exe | --ex)
895     ac_prev=exec_prefix ;;
896   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898   | --exec=* | --exe=* | --ex=*)
899     exec_prefix=$ac_optarg ;;
901   -gas | --gas | --ga | --g)
902     # Obsolete; use --with-gas.
903     with_gas=yes ;;
905   -help | --help | --hel | --he | -h)
906     ac_init_help=long ;;
907   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908     ac_init_help=recursive ;;
909   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910     ac_init_help=short ;;
912   -host | --host | --hos | --ho)
913     ac_prev=host_alias ;;
914   -host=* | --host=* | --hos=* | --ho=*)
915     host_alias=$ac_optarg ;;
917   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918     ac_prev=htmldir ;;
919   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920   | --ht=*)
921     htmldir=$ac_optarg ;;
923   -includedir | --includedir | --includedi | --included | --include \
924   | --includ | --inclu | --incl | --inc)
925     ac_prev=includedir ;;
926   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927   | --includ=* | --inclu=* | --incl=* | --inc=*)
928     includedir=$ac_optarg ;;
930   -infodir | --infodir | --infodi | --infod | --info | --inf)
931     ac_prev=infodir ;;
932   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933     infodir=$ac_optarg ;;
935   -libdir | --libdir | --libdi | --libd)
936     ac_prev=libdir ;;
937   -libdir=* | --libdir=* | --libdi=* | --libd=*)
938     libdir=$ac_optarg ;;
940   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941   | --libexe | --libex | --libe)
942     ac_prev=libexecdir ;;
943   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944   | --libexe=* | --libex=* | --libe=*)
945     libexecdir=$ac_optarg ;;
947   -localedir | --localedir | --localedi | --localed | --locale)
948     ac_prev=localedir ;;
949   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950     localedir=$ac_optarg ;;
952   -localstatedir | --localstatedir | --localstatedi | --localstated \
953   | --localstate | --localstat | --localsta | --localst | --locals)
954     ac_prev=localstatedir ;;
955   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957     localstatedir=$ac_optarg ;;
959   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
960     ac_prev=mandir ;;
961   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962     mandir=$ac_optarg ;;
964   -nfp | --nfp | --nf)
965     # Obsolete; use --without-fp.
966     with_fp=no ;;
968   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969   | --no-cr | --no-c | -n)
970     no_create=yes ;;
972   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
973   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
974     no_recursion=yes ;;
976   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978   | --oldin | --oldi | --old | --ol | --o)
979     ac_prev=oldincludedir ;;
980   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983     oldincludedir=$ac_optarg ;;
985   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
986     ac_prev=prefix ;;
987   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
988     prefix=$ac_optarg ;;
990   -program-prefix | --program-prefix | --program-prefi | --program-pref \
991   | --program-pre | --program-pr | --program-p)
992     ac_prev=program_prefix ;;
993   -program-prefix=* | --program-prefix=* | --program-prefi=* \
994   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995     program_prefix=$ac_optarg ;;
997   -program-suffix | --program-suffix | --program-suffi | --program-suff \
998   | --program-suf | --program-su | --program-s)
999     ac_prev=program_suffix ;;
1000   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1001   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002     program_suffix=$ac_optarg ;;
1004   -program-transform-name | --program-transform-name \
1005   | --program-transform-nam | --program-transform-na \
1006   | --program-transform-n | --program-transform- \
1007   | --program-transform | --program-transfor \
1008   | --program-transfo | --program-transf \
1009   | --program-trans | --program-tran \
1010   | --progr-tra | --program-tr | --program-t)
1011     ac_prev=program_transform_name ;;
1012   -program-transform-name=* | --program-transform-name=* \
1013   | --program-transform-nam=* | --program-transform-na=* \
1014   | --program-transform-n=* | --program-transform-=* \
1015   | --program-transform=* | --program-transfor=* \
1016   | --program-transfo=* | --program-transf=* \
1017   | --program-trans=* | --program-tran=* \
1018   | --progr-tra=* | --program-tr=* | --program-t=*)
1019     program_transform_name=$ac_optarg ;;
1021   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022     ac_prev=pdfdir ;;
1023   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024     pdfdir=$ac_optarg ;;
1026   -psdir | --psdir | --psdi | --psd | --ps)
1027     ac_prev=psdir ;;
1028   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1029     psdir=$ac_optarg ;;
1031   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032   | -silent | --silent | --silen | --sile | --sil)
1033     silent=yes ;;
1035   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1036     ac_prev=sbindir ;;
1037   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1038   | --sbi=* | --sb=*)
1039     sbindir=$ac_optarg ;;
1041   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1042   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043   | --sharedst | --shareds | --shared | --share | --shar \
1044   | --sha | --sh)
1045     ac_prev=sharedstatedir ;;
1046   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1049   | --sha=* | --sh=*)
1050     sharedstatedir=$ac_optarg ;;
1052   -site | --site | --sit)
1053     ac_prev=site ;;
1054   -site=* | --site=* | --sit=*)
1055     site=$ac_optarg ;;
1057   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1058     ac_prev=srcdir ;;
1059   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060     srcdir=$ac_optarg ;;
1062   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063   | --syscon | --sysco | --sysc | --sys | --sy)
1064     ac_prev=sysconfdir ;;
1065   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067     sysconfdir=$ac_optarg ;;
1069   -target | --target | --targe | --targ | --tar | --ta | --t)
1070     ac_prev=target_alias ;;
1071   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072     target_alias=$ac_optarg ;;
1074   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1075     verbose=yes ;;
1077   -version | --version | --versio | --versi | --vers | -V)
1078     ac_init_version=: ;;
1080   -with-* | --with-*)
1081     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1092          ac_unrecognized_sep=', ';;
1093     esac
1094     eval with_$ac_useropt=\$ac_optarg ;;
1096   -without-* | --without-*)
1097     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098     # Reject names that are not valid shell variable names.
1099     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100       as_fn_error $? "invalid package name: $ac_useropt"
1101     ac_useropt_orig=$ac_useropt
1102     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103     case $ac_user_opts in
1104       *"
1105 "with_$ac_useropt"
1106 "*) ;;
1107       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108          ac_unrecognized_sep=', ';;
1109     esac
1110     eval with_$ac_useropt=no ;;
1112   --x)
1113     # Obsolete; use --with-x.
1114     with_x=yes ;;
1116   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1117   | --x-incl | --x-inc | --x-in | --x-i)
1118     ac_prev=x_includes ;;
1119   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1120   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1121     x_includes=$ac_optarg ;;
1123   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1124   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1125     ac_prev=x_libraries ;;
1126   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1127   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1128     x_libraries=$ac_optarg ;;
1130   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1132     ;;
1134   *=*)
1135     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1136     # Reject names that are not valid shell variable names.
1137     case $ac_envvar in #(
1138       '' | [0-9]* | *[!_$as_cr_alnum]* )
1139       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1140     esac
1141     eval $ac_envvar=\$ac_optarg
1142     export $ac_envvar ;;
1144   *)
1145     # FIXME: should be removed in autoconf 3.0.
1146     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1148       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1150     ;;
1152   esac
1153 done
1155 if test -n "$ac_prev"; then
1156   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1157   as_fn_error $? "missing argument to $ac_option"
1158 fi
1160 if test -n "$ac_unrecognized_opts"; then
1161   case $enable_option_checking in
1162     no) ;;
1163     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1164     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165   esac
1166 fi
1168 # Check all directory arguments for consistency.
1169 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170                 datadir sysconfdir sharedstatedir localstatedir includedir \
1171                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172                 libdir localedir mandir
1173 do
1174   eval ac_val=\$$ac_var
1175   # Remove trailing slashes.
1176   case $ac_val in
1177     */ )
1178       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179       eval $ac_var=\$ac_val;;
1180   esac
1181   # Be sure to have absolute directory names.
1182   case $ac_val in
1183     [\\/$]* | ?:[\\/]* )  continue;;
1184     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185   esac
1186   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198   if test "x$build_alias" = x; then
1199     cross_compiling=maybe
1200   elif test "x$build_alias" != "x$host_alias"; then
1201     cross_compiling=yes
1202   fi
1203 fi
1205 ac_tool_prefix=
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1208 test "$silent" = yes && exec 6>/dev/null
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214   as_fn_error $? "working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216   as_fn_error $? "pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221   ac_srcdir_defaulted=yes
1222   # Try the directory containing this script, then the parent directory.
1223   ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225          X"$as_myself" : 'X\(//\)[^/]' \| \
1226          X"$as_myself" : 'X\(//\)$' \| \
1227          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230             s//\1/
1231             q
1232           }
1233           /^X\(\/\/\)[^/].*/{
1234             s//\1/
1235             q
1236           }
1237           /^X\(\/\/\)$/{
1238             s//\1/
1239             q
1240           }
1241           /^X\(\/\).*/{
1242             s//\1/
1243             q
1244           }
1245           s/.*/./; q'`
1246   srcdir=$ac_confdir
1247   if test ! -r "$srcdir/$ac_unique_file"; then
1248     srcdir=..
1249   fi
1250 else
1251   ac_srcdir_defaulted=no
1252 fi
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 fi
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 ac_abs_confdir=`(
1259         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260         pwd)`
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263   srcdir=.
1264 fi
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1268 case $srcdir in
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 esac
1271 for ac_var in $ac_precious_vars; do
1272   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273   eval ac_env_${ac_var}_value=\$${ac_var}
1274   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 done
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282   # Omit some internal or obsolete options to make the list less imposing.
1283   # This message is too long to be a string in the A/UX 3.1 sh.
1284   cat <<_ACEOF
1285 \`configure' configures Xestia Address Book 0.05 to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE.  See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1294 Configuration:
1295   -h, --help              display this help and exit
1296       --help=short        display options specific to this package
1297       --help=recursive    display the short help of all the included packages
1298   -V, --version           display version information and exit
1299   -q, --quiet, --silent   do not print \`checking ...' messages
1300       --cache-file=FILE   cache test results in FILE [disabled]
1301   -C, --config-cache      alias for \`--cache-file=config.cache'
1302   -n, --no-create         do not create output files
1303       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306   --prefix=PREFIX         install architecture-independent files in PREFIX
1307                           [$ac_default_prefix]
1308   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1309                           [PREFIX]
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319   --bindir=DIR            user executables [EPREFIX/bin]
1320   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1321   --libexecdir=DIR        program executables [EPREFIX/libexec]
1322   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1323   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1324   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1325   --libdir=DIR            object code libraries [EPREFIX/lib]
1326   --includedir=DIR        C header files [PREFIX/include]
1327   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1328   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1329   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1330   --infodir=DIR           info documentation [DATAROOTDIR/info]
1331   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1332   --mandir=DIR            man documentation [DATAROOTDIR/man]
1333   --docdir=DIR            documentation root
1334                           [DATAROOTDIR/doc/xestia-address-book]
1335   --htmldir=DIR           html documentation [DOCDIR]
1336   --dvidir=DIR            dvi documentation [DOCDIR]
1337   --pdfdir=DIR            pdf documentation [DOCDIR]
1338   --psdir=DIR             ps documentation [DOCDIR]
1339 _ACEOF
1341   cat <<\_ACEOF
1342 _ACEOF
1343 fi
1345 if test -n "$ac_init_help"; then
1346   case $ac_init_help in
1347      short | recursive ) echo "Configuration of Xestia Address Book 0.05:";;
1348    esac
1349   cat <<\_ACEOF
1351 Optional Features:
1352   --disable-option-checking  ignore unrecognized --enable/--with options
1353   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1354   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1355   --enable-debug          Enable debugging features for the build.
1357 Optional Packages:
1358   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1359   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1360   --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1361   --with-wx-config=CONFIG wx-config script to use (optional)
1362   --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1363   --with-wx-exec-prefix=PREFIX
1364                           Exec prefix where wxWidgets is installed (optional)
1366 Some influential environment variables:
1367   CXX         C++ compiler command
1368   CXXFLAGS    C++ compiler flags
1369   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1370               nonstandard directory <lib dir>
1371   LIBS        libraries to pass to the linker, e.g. -l<library>
1372   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1373               you have headers in a nonstandard directory <include dir>
1374   CC          C compiler command
1375   CFLAGS      C compiler flags
1376   CPP         C preprocessor
1377   CXXCPP      C++ preprocessor
1378   PKG_CONFIG  path to pkg-config utility
1379   PKG_CONFIG_PATH
1380               directories to add to pkg-config's search path
1381   PKG_CONFIG_LIBDIR
1382               path overriding pkg-config's built-in search path
1383   SFML_CFLAGS C compiler flags for SFML, overriding pkg-config
1384   SFML_LIBS   linker flags for SFML, overriding pkg-config
1386 Use these variables to override the choices made by `configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1389 Report bugs to <bugs@xestia.co.uk>.
1390 _ACEOF
1391 ac_status=$?
1392 fi
1394 if test "$ac_init_help" = "recursive"; then
1395   # If there are subdirs, report their specific --help.
1396   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1397     test -d "$ac_dir" ||
1398       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399       continue
1400     ac_builddir=.
1402 case "$ac_dir" in
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *)
1405   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1406   # A ".." for each directory in $ac_dir_suffix.
1407   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1408   case $ac_top_builddir_sub in
1409   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411   esac ;;
1412 esac
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1418 case $srcdir in
1419   .)  # We are building in place.
1420     ac_srcdir=.
1421     ac_top_srcdir=$ac_top_builddir_sub
1422     ac_abs_top_srcdir=$ac_pwd ;;
1423   [\\/]* | ?:[\\/]* )  # Absolute name.
1424     ac_srcdir=$srcdir$ac_dir_suffix;
1425     ac_top_srcdir=$srcdir
1426     ac_abs_top_srcdir=$srcdir ;;
1427   *) # Relative name.
1428     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429     ac_top_srcdir=$ac_top_build_prefix$srcdir
1430     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 esac
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434     cd "$ac_dir" || { ac_status=$?; continue; }
1435     # Check for guested configure.
1436     if test -f "$ac_srcdir/configure.gnu"; then
1437       echo &&
1438       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439     elif test -f "$ac_srcdir/configure"; then
1440       echo &&
1441       $SHELL "$ac_srcdir/configure" --help=recursive
1442     else
1443       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444     fi || ac_status=$?
1445     cd "$ac_pwd" || { ac_status=$?; break; }
1446   done
1447 fi
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1451   cat <<\_ACEOF
1452 Xestia Address Book configure 0.05
1453 generated by GNU Autoconf 2.69
1455 Copyright (C) 2012 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1458 _ACEOF
1459   exit
1460 fi
1462 ## ------------------------ ##
1463 ## Autoconf initialization. ##
1464 ## ------------------------ ##
1466 # ac_fn_cxx_try_compile LINENO
1467 # ----------------------------
1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_cxx_try_compile ()
1471   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472   rm -f conftest.$ac_objext
1473   if { { ac_try="$ac_compile"
1474 case "(($ac_try" in
1475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476   *) ac_try_echo=$ac_try;;
1477 esac
1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480   (eval "$ac_compile") 2>conftest.err
1481   ac_status=$?
1482   if test -s conftest.err; then
1483     grep -v '^ *+' conftest.err >conftest.er1
1484     cat conftest.er1 >&5
1485     mv -f conftest.er1 conftest.err
1486   fi
1487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488   test $ac_status = 0; } && {
1489          test -z "$ac_cxx_werror_flag" ||
1490          test ! -s conftest.err
1491        } && test -s conftest.$ac_objext; then :
1492   ac_retval=0
1493 else
1494   $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1497         ac_retval=1
1498 fi
1499   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500   as_fn_set_status $ac_retval
1502 } # ac_fn_cxx_try_compile
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510   rm -f conftest.$ac_objext
1511   if { { ac_try="$ac_compile"
1512 case "(($ac_try" in
1513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514   *) ac_try_echo=$ac_try;;
1515 esac
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518   (eval "$ac_compile") 2>conftest.err
1519   ac_status=$?
1520   if test -s conftest.err; then
1521     grep -v '^ *+' conftest.err >conftest.er1
1522     cat conftest.er1 >&5
1523     mv -f conftest.er1 conftest.err
1524   fi
1525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526   test $ac_status = 0; } && {
1527          test -z "$ac_c_werror_flag" ||
1528          test ! -s conftest.err
1529        } && test -s conftest.$ac_objext; then :
1530   ac_retval=0
1531 else
1532   $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1535         ac_retval=1
1536 fi
1537   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538   as_fn_set_status $ac_retval
1540 } # ac_fn_c_try_compile
1542 # ac_fn_c_try_cpp LINENO
1543 # ----------------------
1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_c_try_cpp ()
1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548   if { { ac_try="$ac_cpp conftest.$ac_ext"
1549 case "(($ac_try" in
1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551   *) ac_try_echo=$ac_try;;
1552 esac
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1556   ac_status=$?
1557   if test -s conftest.err; then
1558     grep -v '^ *+' conftest.err >conftest.er1
1559     cat conftest.er1 >&5
1560     mv -f conftest.er1 conftest.err
1561   fi
1562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563   test $ac_status = 0; } > conftest.i && {
1564          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565          test ! -s conftest.err
1566        }; then :
1567   ac_retval=0
1568 else
1569   $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.$ac_ext >&5
1572     ac_retval=1
1573 fi
1574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575   as_fn_set_status $ac_retval
1577 } # ac_fn_c_try_cpp
1579 # ac_fn_cxx_try_cpp LINENO
1580 # ------------------------
1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 ac_fn_cxx_try_cpp ()
1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585   if { { ac_try="$ac_cpp conftest.$ac_ext"
1586 case "(($ac_try" in
1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588   *) ac_try_echo=$ac_try;;
1589 esac
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1593   ac_status=$?
1594   if test -s conftest.err; then
1595     grep -v '^ *+' conftest.err >conftest.er1
1596     cat conftest.er1 >&5
1597     mv -f conftest.er1 conftest.err
1598   fi
1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600   test $ac_status = 0; } > conftest.i && {
1601          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1602          test ! -s conftest.err
1603        }; then :
1604   ac_retval=0
1605 else
1606   $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1609     ac_retval=1
1610 fi
1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612   as_fn_set_status $ac_retval
1614 } # ac_fn_cxx_try_cpp
1616 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1617 # ---------------------------------------------------------
1618 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619 # the include files in INCLUDES and setting the cache variable VAR
1620 # accordingly.
1621 ac_fn_cxx_check_header_mongrel ()
1623   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624   if eval \${$3+:} false; then :
1625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628   $as_echo_n "(cached) " >&6
1629 fi
1630 eval ac_res=\$$3
1631                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1633 else
1634   # Is the header compilable?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636 $as_echo_n "checking $2 usability... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h.  */
1639 $4
1640 #include <$2>
1641 _ACEOF
1642 if ac_fn_cxx_try_compile "$LINENO"; then :
1643   ac_header_compiler=yes
1644 else
1645   ac_header_compiler=no
1646 fi
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649 $as_echo "$ac_header_compiler" >&6; }
1651 # Is the header present?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653 $as_echo_n "checking $2 presence... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h.  */
1656 #include <$2>
1657 _ACEOF
1658 if ac_fn_cxx_try_cpp "$LINENO"; then :
1659   ac_header_preproc=yes
1660 else
1661   ac_header_preproc=no
1662 fi
1663 rm -f conftest.err conftest.i conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665 $as_echo "$ac_header_preproc" >&6; }
1667 # So?  What about this header?
1668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1669   yes:no: )
1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674     ;;
1675   no:yes:* )
1676     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1679 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1680     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1683 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1684     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 ( $as_echo "## -------------------------------- ##
1687 ## Report this to bugs@xestia.co.uk ##
1688 ## -------------------------------- ##"
1689      ) | sed "s/^/$as_me: WARNING:     /" >&2
1690     ;;
1691 esac
1692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if eval \${$3+:} false; then :
1695   $as_echo_n "(cached) " >&6
1696 else
1697   eval "$3=\$ac_header_compiler"
1698 fi
1699 eval ac_res=\$$3
1700                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1702 fi
1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 } # ac_fn_cxx_check_header_mongrel
1707 # ac_fn_cxx_try_run LINENO
1708 # ------------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1711 ac_fn_cxx_try_run ()
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   if { { ac_try="$ac_link"
1715 case "(($ac_try" in
1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717   *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721   (eval "$ac_link") 2>&5
1722   ac_status=$?
1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725   { { case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_try") 2>&5
1732   ac_status=$?
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; }; }; then :
1735   ac_retval=0
1736 else
1737   $as_echo "$as_me: program exited with status $ac_status" >&5
1738        $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741        ac_retval=$ac_status
1742 fi
1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745   as_fn_set_status $ac_retval
1747 } # ac_fn_cxx_try_run
1749 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1750 # ---------------------------------------------------------
1751 # Tests whether HEADER exists and can be compiled using the include files in
1752 # INCLUDES, setting the cache variable VAR accordingly.
1753 ac_fn_cxx_check_header_compile ()
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759   $as_echo_n "(cached) " >&6
1760 else
1761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h.  */
1763 $4
1764 #include <$2>
1765 _ACEOF
1766 if ac_fn_cxx_try_compile "$LINENO"; then :
1767   eval "$3=yes"
1768 else
1769   eval "$3=no"
1770 fi
1771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 fi
1773 eval ac_res=\$$3
1774                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_cxx_check_header_compile
1780 # ac_fn_cxx_try_link LINENO
1781 # -------------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_cxx_try_link ()
1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786   rm -f conftest.$ac_objext conftest$ac_exeext
1787   if { { ac_try="$ac_link"
1788 case "(($ac_try" in
1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790   *) ac_try_echo=$ac_try;;
1791 esac
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794   (eval "$ac_link") 2>conftest.err
1795   ac_status=$?
1796   if test -s conftest.err; then
1797     grep -v '^ *+' conftest.err >conftest.er1
1798     cat conftest.er1 >&5
1799     mv -f conftest.er1 conftest.err
1800   fi
1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802   test $ac_status = 0; } && {
1803          test -z "$ac_cxx_werror_flag" ||
1804          test ! -s conftest.err
1805        } && test -s conftest$ac_exeext && {
1806          test "$cross_compiling" = yes ||
1807          test -x conftest$ac_exeext
1808        }; then :
1809   ac_retval=0
1810 else
1811   $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814         ac_retval=1
1815 fi
1816   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818   # interfere with the next link command; also delete a directory that is
1819   # left behind by Apple's compiler.  We do this before executing the actions.
1820   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822   as_fn_set_status $ac_retval
1824 } # ac_fn_cxx_try_link
1826 # ac_fn_c_try_link LINENO
1827 # -----------------------
1828 # Try to link conftest.$ac_ext, and return whether this succeeded.
1829 ac_fn_c_try_link ()
1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832   rm -f conftest.$ac_objext conftest$ac_exeext
1833   if { { ac_try="$ac_link"
1834 case "(($ac_try" in
1835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836   *) ac_try_echo=$ac_try;;
1837 esac
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840   (eval "$ac_link") 2>conftest.err
1841   ac_status=$?
1842   if test -s conftest.err; then
1843     grep -v '^ *+' conftest.err >conftest.er1
1844     cat conftest.er1 >&5
1845     mv -f conftest.er1 conftest.err
1846   fi
1847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848   test $ac_status = 0; } && {
1849          test -z "$ac_c_werror_flag" ||
1850          test ! -s conftest.err
1851        } && test -s conftest$ac_exeext && {
1852          test "$cross_compiling" = yes ||
1853          test -x conftest$ac_exeext
1854        }; then :
1855   ac_retval=0
1856 else
1857   $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.$ac_ext >&5
1860         ac_retval=1
1861 fi
1862   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864   # interfere with the next link command; also delete a directory that is
1865   # left behind by Apple's compiler.  We do this before executing the actions.
1866   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868   as_fn_set_status $ac_retval
1870 } # ac_fn_c_try_link
1872 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873 # -------------------------------------------------------
1874 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875 # the include files in INCLUDES and setting the cache variable VAR
1876 # accordingly.
1877 ac_fn_c_check_header_mongrel ()
1879   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880   if eval \${$3+:} false; then :
1881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884   $as_echo_n "(cached) " >&6
1885 fi
1886 eval ac_res=\$$3
1887                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 else
1890   # Is the header compilable?
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892 $as_echo_n "checking $2 usability... " >&6; }
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h.  */
1895 $4
1896 #include <$2>
1897 _ACEOF
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899   ac_header_compiler=yes
1900 else
1901   ac_header_compiler=no
1902 fi
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905 $as_echo "$ac_header_compiler" >&6; }
1907 # Is the header present?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909 $as_echo_n "checking $2 presence... " >&6; }
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h.  */
1912 #include <$2>
1913 _ACEOF
1914 if ac_fn_c_try_cpp "$LINENO"; then :
1915   ac_header_preproc=yes
1916 else
1917   ac_header_preproc=no
1918 fi
1919 rm -f conftest.err conftest.i conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921 $as_echo "$ac_header_preproc" >&6; }
1923 # So?  What about this header?
1924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1925   yes:no: )
1926     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1930     ;;
1931   no:yes:* )
1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1935 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1939 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942 ( $as_echo "## -------------------------------- ##
1943 ## Report this to bugs@xestia.co.uk ##
1944 ## -------------------------------- ##"
1945      ) | sed "s/^/$as_me: WARNING:     /" >&2
1946     ;;
1947 esac
1948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951   $as_echo_n "(cached) " >&6
1952 else
1953   eval "$3=\$ac_header_compiler"
1954 fi
1955 eval ac_res=\$$3
1956                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 fi
1959   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 } # ac_fn_c_check_header_mongrel
1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1964 # -------------------------------------------
1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
1966 # variable VAR accordingly.
1967 ac_fn_c_check_type ()
1969   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973   $as_echo_n "(cached) " >&6
1974 else
1975   eval "$3=no"
1976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h.  */
1978 $4
1979 int
1980 main ()
1982 if (sizeof ($2))
1983          return 0;
1984   ;
1985   return 0;
1987 _ACEOF
1988 if ac_fn_c_try_compile "$LINENO"; then :
1989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h.  */
1991 $4
1992 int
1993 main ()
1995 if (sizeof (($2)))
1996             return 0;
1997   ;
1998   return 0;
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2003 else
2004   eval "$3=yes"
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 fi
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 fi
2010 eval ac_res=\$$3
2011                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 } # ac_fn_c_check_type
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2020 It was created by Xestia Address Book $as_me 0.05, which was
2021 generated by GNU Autoconf 2.69.  Invocation command line was
2023   $ $0 $@
2025 _ACEOF
2026 exec 5>>config.log
2028 cat <<_ASUNAME
2029 ## --------- ##
2030 ## Platform. ##
2031 ## --------- ##
2033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2042 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2043 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2046 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2047 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2048 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2050 _ASUNAME
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057     $as_echo "PATH: $as_dir"
2058   done
2059 IFS=$as_save_IFS
2061 } >&5
2063 cat >&5 <<_ACEOF
2066 ## ----------- ##
2067 ## Core tests. ##
2068 ## ----------- ##
2070 _ACEOF
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2078 ac_configure_args=
2079 ac_configure_args0=
2080 ac_configure_args1=
2081 ac_must_keep_next=false
2082 for ac_pass in 1 2
2083 do
2084   for ac_arg
2085   do
2086     case $ac_arg in
2087     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089     | -silent | --silent | --silen | --sile | --sil)
2090       continue ;;
2091     *\'*)
2092       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2093     esac
2094     case $ac_pass in
2095     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2096     2)
2097       as_fn_append ac_configure_args1 " '$ac_arg'"
2098       if test $ac_must_keep_next = true; then
2099         ac_must_keep_next=false # Got value, back to normal.
2100       else
2101         case $ac_arg in
2102           *=* | --config-cache | -C | -disable-* | --disable-* \
2103           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105           | -with-* | --with-* | -without-* | --without-* | --x)
2106             case "$ac_configure_args0 " in
2107               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2108             esac
2109             ;;
2110           -* ) ac_must_keep_next=true ;;
2111         esac
2112       fi
2113       as_fn_append ac_configure_args " '$ac_arg'"
2114       ;;
2115     esac
2116   done
2117 done
2118 { ac_configure_args0=; unset ac_configure_args0;}
2119 { ac_configure_args1=; unset ac_configure_args1;}
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log.  We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127   # Save into config.log some information that might help in debugging.
2128   {
2129     echo
2131     $as_echo "## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##"
2134     echo
2135     # The following way of writing the cache mishandles newlines in values,
2137   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138     eval ac_val=\$$ac_var
2139     case $ac_val in #(
2140     *${as_nl}*)
2141       case $ac_var in #(
2142       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2144       esac
2145       case $ac_var in #(
2146       _ | IFS | as_nl) ;; #(
2147       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148       *) { eval $ac_var=; unset $ac_var;} ;;
2149       esac ;;
2150     esac
2151   done
2152   (set) 2>&1 |
2153     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154     *${as_nl}ac_space=\ *)
2155       sed -n \
2156         "s/'\''/'\''\\\\'\'''\''/g;
2157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158       ;; #(
2159     *)
2160       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161       ;;
2162     esac |
2163     sort
2165     echo
2167     $as_echo "## ----------------- ##
2168 ## Output variables. ##
2169 ## ----------------- ##"
2170     echo
2171     for ac_var in $ac_subst_vars
2172     do
2173       eval ac_val=\$$ac_var
2174       case $ac_val in
2175       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176       esac
2177       $as_echo "$ac_var='\''$ac_val'\''"
2178     done | sort
2179     echo
2181     if test -n "$ac_subst_files"; then
2182       $as_echo "## ------------------- ##
2183 ## File substitutions. ##
2184 ## ------------------- ##"
2185       echo
2186       for ac_var in $ac_subst_files
2187       do
2188         eval ac_val=\$$ac_var
2189         case $ac_val in
2190         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191         esac
2192         $as_echo "$ac_var='\''$ac_val'\''"
2193       done | sort
2194       echo
2195     fi
2197     if test -s confdefs.h; then
2198       $as_echo "## ----------- ##
2199 ## confdefs.h. ##
2200 ## ----------- ##"
2201       echo
2202       cat confdefs.h
2203       echo
2204     fi
2205     test "$ac_signal" != 0 &&
2206       $as_echo "$as_me: caught signal $ac_signal"
2207     $as_echo "$as_me: exit $exit_status"
2208   } >&5
2209   rm -f core *.core core.conftest.* &&
2210     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211     exit $exit_status
2212 ' 0
2213 for ac_signal in 1 2 13 15; do
2214   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2215 done
2216 ac_signal=0
2218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2219 rm -f -r conftest* confdefs.h
2221 $as_echo "/* confdefs.h */" > confdefs.h
2223 # Predefined preprocessor variables.
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_NAME "$PACKAGE_NAME"
2227 _ACEOF
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 _ACEOF
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2235 _ACEOF
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 _ACEOF
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 _ACEOF
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_URL "$PACKAGE_URL"
2247 _ACEOF
2250 # Let the site file select an alternate cache file if it wants to.
2251 # Prefer an explicitly selected file to automatically selected ones.
2252 ac_site_file1=NONE
2253 ac_site_file2=NONE
2254 if test -n "$CONFIG_SITE"; then
2255   # We do not want a PATH search for config.site.
2256   case $CONFIG_SITE in #((
2257     -*)  ac_site_file1=./$CONFIG_SITE;;
2258     */*) ac_site_file1=$CONFIG_SITE;;
2259     *)   ac_site_file1=./$CONFIG_SITE;;
2260   esac
2261 elif test "x$prefix" != xNONE; then
2262   ac_site_file1=$prefix/share/config.site
2263   ac_site_file2=$prefix/etc/config.site
2264 else
2265   ac_site_file1=$ac_default_prefix/share/config.site
2266   ac_site_file2=$ac_default_prefix/etc/config.site
2267 fi
2268 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2269 do
2270   test "x$ac_site_file" = xNONE && continue
2271   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2272     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2274     sed 's/^/| /' "$ac_site_file" >&5
2275     . "$ac_site_file" \
2276       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 as_fn_error $? "failed to load site script $ac_site_file
2279 See \`config.log' for more details" "$LINENO" 5; }
2280   fi
2281 done
2283 if test -r "$cache_file"; then
2284   # Some versions of bash will fail to source /dev/null (special files
2285   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2286   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2287     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2288 $as_echo "$as_me: loading cache $cache_file" >&6;}
2289     case $cache_file in
2290       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2291       *)                      . "./$cache_file";;
2292     esac
2293   fi
2294 else
2295   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2296 $as_echo "$as_me: creating cache $cache_file" >&6;}
2297   >$cache_file
2298 fi
2300 # Check that the precious variables saved in the cache have kept the same
2301 # value.
2302 ac_cache_corrupted=false
2303 for ac_var in $ac_precious_vars; do
2304   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305   eval ac_new_set=\$ac_env_${ac_var}_set
2306   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307   eval ac_new_val=\$ac_env_${ac_var}_value
2308   case $ac_old_set,$ac_new_set in
2309     set,)
2310       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312       ac_cache_corrupted=: ;;
2313     ,set)
2314       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316       ac_cache_corrupted=: ;;
2317     ,);;
2318     *)
2319       if test "x$ac_old_val" != "x$ac_new_val"; then
2320         # differences in whitespace do not lead to failure.
2321         ac_old_val_w=`echo x $ac_old_val`
2322         ac_new_val_w=`echo x $ac_new_val`
2323         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2324           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326           ac_cache_corrupted=:
2327         else
2328           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2330           eval $ac_var=\$ac_old_val
2331         fi
2332         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2333 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2334         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2335 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2336       fi;;
2337   esac
2338   # Pass precious variables to config.status.
2339   if test "$ac_new_set" = set; then
2340     case $ac_new_val in
2341     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2342     *) ac_arg=$ac_var=$ac_new_val ;;
2343     esac
2344     case " $ac_configure_args " in
2345       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2346       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2347     esac
2348   fi
2349 done
2350 if $ac_cache_corrupted; then
2351   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2356 fi
2357 ## -------------------- ##
2358 ## Main body of script. ##
2359 ## -------------------- ##
2361 ac_ext=c
2362 ac_cpp='$CPP $CPPFLAGS'
2363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 #AC_CONFIG_SRCDIR([version.h])
2369 #AC_CONFIG_HEADERS([config.h])
2372 $as_echo "#define DEBUG 1" >>confdefs.h
2375 # Checks for programs.
2376 ac_ext=cpp
2377 ac_cpp='$CXXCPP $CPPFLAGS'
2378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2381 if test -z "$CXX"; then
2382   if test -n "$CCC"; then
2383     CXX=$CCC
2384   else
2385     if test -n "$ac_tool_prefix"; then
2386   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2387   do
2388     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2391 $as_echo_n "checking for $ac_word... " >&6; }
2392 if ${ac_cv_prog_CXX+:} false; then :
2393   $as_echo_n "(cached) " >&6
2394 else
2395   if test -n "$CXX"; then
2396   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2397 else
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 for as_dir in $PATH
2400 do
2401   IFS=$as_save_IFS
2402   test -z "$as_dir" && as_dir=.
2403     for ac_exec_ext in '' $ac_executable_extensions; do
2404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2405     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2407     break 2
2408   fi
2409 done
2410   done
2411 IFS=$as_save_IFS
2413 fi
2414 fi
2415 CXX=$ac_cv_prog_CXX
2416 if test -n "$CXX"; then
2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2418 $as_echo "$CXX" >&6; }
2419 else
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421 $as_echo "no" >&6; }
2422 fi
2425     test -n "$CXX" && break
2426   done
2427 fi
2428 if test -z "$CXX"; then
2429   ac_ct_CXX=$CXX
2430   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2431 do
2432   # Extract the first word of "$ac_prog", so it can be a program name with args.
2433 set dummy $ac_prog; ac_word=$2
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2437   $as_echo_n "(cached) " >&6
2438 else
2439   if test -n "$ac_ct_CXX"; then
2440   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445   IFS=$as_save_IFS
2446   test -z "$as_dir" && as_dir=.
2447     for ac_exec_ext in '' $ac_executable_extensions; do
2448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449     ac_cv_prog_ac_ct_CXX="$ac_prog"
2450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451     break 2
2452   fi
2453 done
2454   done
2455 IFS=$as_save_IFS
2457 fi
2458 fi
2459 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2460 if test -n "$ac_ct_CXX"; then
2461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2462 $as_echo "$ac_ct_CXX" >&6; }
2463 else
2464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465 $as_echo "no" >&6; }
2466 fi
2469   test -n "$ac_ct_CXX" && break
2470 done
2472   if test "x$ac_ct_CXX" = x; then
2473     CXX="g++"
2474   else
2475     case $cross_compiling:$ac_tool_warned in
2476 yes:)
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2479 ac_tool_warned=yes ;;
2480 esac
2481     CXX=$ac_ct_CXX
2482   fi
2483 fi
2485   fi
2486 fi
2487 # Provide some information about the compiler.
2488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2489 set X $ac_compile
2490 ac_compiler=$2
2491 for ac_option in --version -v -V -qversion; do
2492   { { ac_try="$ac_compiler $ac_option >&5"
2493 case "(($ac_try" in
2494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495   *) ac_try_echo=$ac_try;;
2496 esac
2497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2498 $as_echo "$ac_try_echo"; } >&5
2499   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2500   ac_status=$?
2501   if test -s conftest.err; then
2502     sed '10a\
2503 ... rest of stderr output deleted ...
2504          10q' conftest.err >conftest.er1
2505     cat conftest.er1 >&5
2506   fi
2507   rm -f conftest.er1 conftest.err
2508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509   test $ac_status = 0; }
2510 done
2512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h.  */
2515 int
2516 main ()
2519   ;
2520   return 0;
2522 _ACEOF
2523 ac_clean_files_save=$ac_clean_files
2524 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2525 # Try to create an executable without -o first, disregard a.out.
2526 # It will help us diagnose broken compilers, and finding out an intuition
2527 # of exeext.
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2529 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2530 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532 # The possible output files:
2533 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2535 ac_rmfiles=
2536 for ac_file in $ac_files
2537 do
2538   case $ac_file in
2539     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2540     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2541   esac
2542 done
2543 rm -f $ac_rmfiles
2545 if { { ac_try="$ac_link_default"
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_default") 2>&5
2553   ac_status=$?
2554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555   test $ac_status = 0; }; then :
2556   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2557 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2558 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2559 # so that the user can short-circuit this test for compilers unknown to
2560 # Autoconf.
2561 for ac_file in $ac_files ''
2562 do
2563   test -f "$ac_file" || continue
2564   case $ac_file in
2565     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2566         ;;
2567     [ab].out )
2568         # We found the default executable, but exeext='' is most
2569         # certainly right.
2570         break;;
2571     *.* )
2572         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2573         then :; else
2574            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2575         fi
2576         # We set ac_cv_exeext here because the later test for it is not
2577         # safe: cross compilers may not add the suffix if given an `-o'
2578         # argument, so we may need to know it at that point already.
2579         # Even if this section looks crufty: it has the advantage of
2580         # actually working.
2581         break;;
2582     * )
2583         break;;
2584   esac
2585 done
2586 test "$ac_cv_exeext" = no && ac_cv_exeext=
2588 else
2589   ac_file=''
2590 fi
2591 if test -z "$ac_file"; then :
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 as_fn_error 77 "C++ compiler cannot create executables
2600 See \`config.log' for more details" "$LINENO" 5; }
2601 else
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2603 $as_echo "yes" >&6; }
2604 fi
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2606 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2608 $as_echo "$ac_file" >&6; }
2609 ac_exeext=$ac_cv_exeext
2611 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2612 ac_clean_files=$ac_clean_files_save
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2614 $as_echo_n "checking for suffix of executables... " >&6; }
2615 if { { ac_try="$ac_link"
2616 case "(($ac_try" in
2617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618   *) ac_try_echo=$ac_try;;
2619 esac
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622   (eval "$ac_link") 2>&5
2623   ac_status=$?
2624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625   test $ac_status = 0; }; then :
2626   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2627 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2628 # work properly (i.e., refer to `conftest.exe'), while it won't with
2629 # `rm'.
2630 for ac_file in conftest.exe conftest conftest.*; do
2631   test -f "$ac_file" || continue
2632   case $ac_file in
2633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2634     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2635           break;;
2636     * ) break;;
2637   esac
2638 done
2639 else
2640   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2643 See \`config.log' for more details" "$LINENO" 5; }
2644 fi
2645 rm -f conftest conftest$ac_cv_exeext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2647 $as_echo "$ac_cv_exeext" >&6; }
2649 rm -f conftest.$ac_ext
2650 EXEEXT=$ac_cv_exeext
2651 ac_exeext=$EXEEXT
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h.  */
2654 #include <stdio.h>
2655 int
2656 main ()
2658 FILE *f = fopen ("conftest.out", "w");
2659  return ferror (f) || fclose (f) != 0;
2661   ;
2662   return 0;
2664 _ACEOF
2665 ac_clean_files="$ac_clean_files conftest.out"
2666 # Check that the compiler produces executables we can run.  If not, either
2667 # the compiler is broken, or we cross compile.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2669 $as_echo_n "checking whether we are cross compiling... " >&6; }
2670 if test "$cross_compiling" != yes; then
2671   { { ac_try="$ac_link"
2672 case "(($ac_try" in
2673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674   *) ac_try_echo=$ac_try;;
2675 esac
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678   (eval "$ac_link") 2>&5
2679   ac_status=$?
2680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681   test $ac_status = 0; }
2682   if { ac_try='./conftest$ac_cv_exeext'
2683   { { case "(($ac_try" in
2684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685   *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689   (eval "$ac_try") 2>&5
2690   ac_status=$?
2691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692   test $ac_status = 0; }; }; then
2693     cross_compiling=no
2694   else
2695     if test "$cross_compiling" = maybe; then
2696         cross_compiling=yes
2697     else
2698         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $? "cannot run C++ compiled programs.
2701 If you meant to cross compile, use \`--host'.
2702 See \`config.log' for more details" "$LINENO" 5; }
2703     fi
2704   fi
2705 fi
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2707 $as_echo "$cross_compiling" >&6; }
2709 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2710 ac_clean_files=$ac_clean_files_save
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2712 $as_echo_n "checking for suffix of object files... " >&6; }
2713 if ${ac_cv_objext+:} false; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 /* end confdefs.h.  */
2719 int
2720 main ()
2723   ;
2724   return 0;
2726 _ACEOF
2727 rm -f conftest.o conftest.obj
2728 if { { ac_try="$ac_compile"
2729 case "(($ac_try" in
2730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731   *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735   (eval "$ac_compile") 2>&5
2736   ac_status=$?
2737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738   test $ac_status = 0; }; then :
2739   for ac_file in conftest.o conftest.obj conftest.*; do
2740   test -f "$ac_file" || continue;
2741   case $ac_file in
2742     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2743     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2744        break;;
2745   esac
2746 done
2747 else
2748   $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "cannot compute suffix of object files: cannot compile
2754 See \`config.log' for more details" "$LINENO" 5; }
2755 fi
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2757 fi
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2759 $as_echo "$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2761 ac_objext=$OBJEXT
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2763 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2764 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2765   $as_echo_n "(cached) " >&6
2766 else
2767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h.  */
2770 int
2771 main ()
2773 #ifndef __GNUC__
2774        choke me
2775 #endif
2777   ;
2778   return 0;
2780 _ACEOF
2781 if ac_fn_cxx_try_compile "$LINENO"; then :
2782   ac_compiler_gnu=yes
2783 else
2784   ac_compiler_gnu=no
2785 fi
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2789 fi
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2791 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2792 if test $ac_compiler_gnu = yes; then
2793   GXX=yes
2794 else
2795   GXX=
2796 fi
2797 ac_test_CXXFLAGS=${CXXFLAGS+set}
2798 ac_save_CXXFLAGS=$CXXFLAGS
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2800 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2801 if ${ac_cv_prog_cxx_g+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2805    ac_cxx_werror_flag=yes
2806    ac_cv_prog_cxx_g=no
2807    CXXFLAGS="-g"
2808    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h.  */
2811 int
2812 main ()
2815   ;
2816   return 0;
2818 _ACEOF
2819 if ac_fn_cxx_try_compile "$LINENO"; then :
2820   ac_cv_prog_cxx_g=yes
2821 else
2822   CXXFLAGS=""
2823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h.  */
2826 int
2827 main ()
2830   ;
2831   return 0;
2833 _ACEOF
2834 if ac_fn_cxx_try_compile "$LINENO"; then :
2836 else
2837   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2838          CXXFLAGS="-g"
2839          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h.  */
2842 int
2843 main ()
2846   ;
2847   return 0;
2849 _ACEOF
2850 if ac_fn_cxx_try_compile "$LINENO"; then :
2851   ac_cv_prog_cxx_g=yes
2852 fi
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 fi
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 fi
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2859 fi
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2861 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2862 if test "$ac_test_CXXFLAGS" = set; then
2863   CXXFLAGS=$ac_save_CXXFLAGS
2864 elif test $ac_cv_prog_cxx_g = yes; then
2865   if test "$GXX" = yes; then
2866     CXXFLAGS="-g -O2"
2867   else
2868     CXXFLAGS="-g"
2869   fi
2870 else
2871   if test "$GXX" = yes; then
2872     CXXFLAGS="-O2"
2873   else
2874     CXXFLAGS=
2875   fi
2876 fi
2877 ac_ext=c
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2883 ac_ext=c
2884 ac_cpp='$CPP $CPPFLAGS'
2885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2888 if test -n "$ac_tool_prefix"; then
2889   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_CC+:} false; then :
2894   $as_echo_n "(cached) " >&6
2895 else
2896   if test -n "$CC"; then
2897   ac_cv_prog_CC="$CC" # Let the user override the test.
2898 else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH
2901 do
2902   IFS=$as_save_IFS
2903   test -z "$as_dir" && as_dir=.
2904     for ac_exec_ext in '' $ac_executable_extensions; do
2905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908     break 2
2909   fi
2910 done
2911   done
2912 IFS=$as_save_IFS
2914 fi
2915 fi
2916 CC=$ac_cv_prog_CC
2917 if test -n "$CC"; then
2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919 $as_echo "$CC" >&6; }
2920 else
2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2923 fi
2926 fi
2927 if test -z "$ac_cv_prog_CC"; then
2928   ac_ct_CC=$CC
2929   # Extract the first word of "gcc", so it can be a program name with args.
2930 set dummy gcc; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2934   $as_echo_n "(cached) " >&6
2935 else
2936   if test -n "$ac_ct_CC"; then
2937   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2938 else
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 for as_dir in $PATH
2941 do
2942   IFS=$as_save_IFS
2943   test -z "$as_dir" && as_dir=.
2944     for ac_exec_ext in '' $ac_executable_extensions; do
2945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946     ac_cv_prog_ac_ct_CC="gcc"
2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948     break 2
2949   fi
2950 done
2951   done
2952 IFS=$as_save_IFS
2954 fi
2955 fi
2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957 if test -n "$ac_ct_CC"; then
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2959 $as_echo "$ac_ct_CC" >&6; }
2960 else
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2963 fi
2965   if test "x$ac_ct_CC" = x; then
2966     CC=""
2967   else
2968     case $cross_compiling:$ac_tool_warned in
2969 yes:)
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2973 esac
2974     CC=$ac_ct_CC
2975   fi
2976 else
2977   CC="$ac_cv_prog_CC"
2978 fi
2980 if test -z "$CC"; then
2981           if test -n "$ac_tool_prefix"; then
2982     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2983 set dummy ${ac_tool_prefix}cc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_CC+:} false; then :
2987   $as_echo_n "(cached) " >&6
2988 else
2989   if test -n "$CC"; then
2990   ac_cv_prog_CC="$CC" # Let the user override the test.
2991 else
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2994 do
2995   IFS=$as_save_IFS
2996   test -z "$as_dir" && as_dir=.
2997     for ac_exec_ext in '' $ac_executable_extensions; do
2998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999     ac_cv_prog_CC="${ac_tool_prefix}cc"
3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001     break 2
3002   fi
3003 done
3004   done
3005 IFS=$as_save_IFS
3007 fi
3008 fi
3009 CC=$ac_cv_prog_CC
3010 if test -n "$CC"; then
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012 $as_echo "$CC" >&6; }
3013 else
3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3016 fi
3019   fi
3020 fi
3021 if test -z "$CC"; then
3022   # Extract the first word of "cc", so it can be a program name with args.
3023 set dummy cc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027   $as_echo_n "(cached) " >&6
3028 else
3029   if test -n "$CC"; then
3030   ac_cv_prog_CC="$CC" # Let the user override the test.
3031 else
3032   ac_prog_rejected=no
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH
3035 do
3036   IFS=$as_save_IFS
3037   test -z "$as_dir" && as_dir=.
3038     for ac_exec_ext in '' $ac_executable_extensions; do
3039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3041        ac_prog_rejected=yes
3042        continue
3043      fi
3044     ac_cv_prog_CC="cc"
3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049   done
3050 IFS=$as_save_IFS
3052 if test $ac_prog_rejected = yes; then
3053   # We found a bogon in the path, so make sure we never use it.
3054   set dummy $ac_cv_prog_CC
3055   shift
3056   if test $# != 0; then
3057     # We chose a different compiler from the bogus one.
3058     # However, it has the same basename, so the bogon will be chosen
3059     # first if we set CC to just the basename; use the full file name.
3060     shift
3061     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3062   fi
3063 fi
3064 fi
3065 fi
3066 CC=$ac_cv_prog_CC
3067 if test -n "$CC"; then
3068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3070 else
3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3073 fi
3076 fi
3077 if test -z "$CC"; then
3078   if test -n "$ac_tool_prefix"; then
3079   for ac_prog in cl.exe
3080   do
3081     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false; then :
3086   $as_echo_n "(cached) " >&6
3087 else
3088   if test -n "$CC"; then
3089   ac_cv_prog_CC="$CC" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     for ac_exec_ext in '' $ac_executable_extensions; do
3097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100     break 2
3101   fi
3102 done
3103   done
3104 IFS=$as_save_IFS
3106 fi
3107 fi
3108 CC=$ac_cv_prog_CC
3109 if test -n "$CC"; then
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3112 else
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 fi
3118     test -n "$CC" && break
3119   done
3120 fi
3121 if test -z "$CC"; then
3122   ac_ct_CC=$CC
3123   for ac_prog in cl.exe
3124 do
3125   # Extract the first word of "$ac_prog", so it can be a program name with args.
3126 set dummy $ac_prog; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3130   $as_echo_n "(cached) " >&6
3131 else
3132   if test -n "$ac_ct_CC"; then
3133   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3134 else
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3137 do
3138   IFS=$as_save_IFS
3139   test -z "$as_dir" && as_dir=.
3140     for ac_exec_ext in '' $ac_executable_extensions; do
3141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142     ac_cv_prog_ac_ct_CC="$ac_prog"
3143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144     break 2
3145   fi
3146 done
3147   done
3148 IFS=$as_save_IFS
3150 fi
3151 fi
3152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3153 if test -n "$ac_ct_CC"; then
3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3155 $as_echo "$ac_ct_CC" >&6; }
3156 else
3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3159 fi
3162   test -n "$ac_ct_CC" && break
3163 done
3165   if test "x$ac_ct_CC" = x; then
3166     CC=""
3167   else
3168     case $cross_compiling:$ac_tool_warned in
3169 yes:)
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3172 ac_tool_warned=yes ;;
3173 esac
3174     CC=$ac_ct_CC
3175   fi
3176 fi
3178 fi
3181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183 as_fn_error $? "no acceptable C compiler found in \$PATH
3184 See \`config.log' for more details" "$LINENO" 5; }
3186 # Provide some information about the compiler.
3187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3188 set X $ac_compile
3189 ac_compiler=$2
3190 for ac_option in --version -v -V -qversion; do
3191   { { ac_try="$ac_compiler $ac_option >&5"
3192 case "(($ac_try" in
3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194   *) ac_try_echo=$ac_try;;
3195 esac
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3199   ac_status=$?
3200   if test -s conftest.err; then
3201     sed '10a\
3202 ... rest of stderr output deleted ...
3203          10q' conftest.err >conftest.er1
3204     cat conftest.er1 >&5
3205   fi
3206   rm -f conftest.er1 conftest.err
3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208   test $ac_status = 0; }
3209 done
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3213 if ${ac_cv_c_compiler_gnu+:} false; then :
3214   $as_echo_n "(cached) " >&6
3215 else
3216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h.  */
3219 int
3220 main ()
3222 #ifndef __GNUC__
3223        choke me
3224 #endif
3226   ;
3227   return 0;
3229 _ACEOF
3230 if ac_fn_c_try_compile "$LINENO"; then :
3231   ac_compiler_gnu=yes
3232 else
3233   ac_compiler_gnu=no
3234 fi
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3238 fi
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3241 if test $ac_compiler_gnu = yes; then
3242   GCC=yes
3243 else
3244   GCC=
3245 fi
3246 ac_test_CFLAGS=${CFLAGS+set}
3247 ac_save_CFLAGS=$CFLAGS
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3250 if ${ac_cv_prog_cc_g+:} false; then :
3251   $as_echo_n "(cached) " >&6
3252 else
3253   ac_save_c_werror_flag=$ac_c_werror_flag
3254    ac_c_werror_flag=yes
3255    ac_cv_prog_cc_g=no
3256    CFLAGS="-g"
3257    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h.  */
3260 int
3261 main ()
3264   ;
3265   return 0;
3267 _ACEOF
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269   ac_cv_prog_cc_g=yes
3270 else
3271   CFLAGS=""
3272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h.  */
3275 int
3276 main ()
3279   ;
3280   return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3285 else
3286   ac_c_werror_flag=$ac_save_c_werror_flag
3287          CFLAGS="-g"
3288          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h.  */
3291 int
3292 main ()
3295   ;
3296   return 0;
3298 _ACEOF
3299 if ac_fn_c_try_compile "$LINENO"; then :
3300   ac_cv_prog_cc_g=yes
3301 fi
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 fi
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 fi
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307    ac_c_werror_flag=$ac_save_c_werror_flag
3308 fi
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3310 $as_echo "$ac_cv_prog_cc_g" >&6; }
3311 if test "$ac_test_CFLAGS" = set; then
3312   CFLAGS=$ac_save_CFLAGS
3313 elif test $ac_cv_prog_cc_g = yes; then
3314   if test "$GCC" = yes; then
3315     CFLAGS="-g -O2"
3316   else
3317     CFLAGS="-g"
3318   fi
3319 else
3320   if test "$GCC" = yes; then
3321     CFLAGS="-O2"
3322   else
3323     CFLAGS=
3324   fi
3325 fi
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3328 if ${ac_cv_prog_cc_c89+:} false; then :
3329   $as_echo_n "(cached) " >&6
3330 else
3331   ac_cv_prog_cc_c89=no
3332 ac_save_CC=$CC
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h.  */
3335 #include <stdarg.h>
3336 #include <stdio.h>
3337 struct stat;
3338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3339 struct buf { int x; };
3340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3341 static char *e (p, i)
3342      char **p;
3343      int i;
3345   return p[i];
3347 static char *f (char * (*g) (char **, int), char **p, ...)
3349   char *s;
3350   va_list v;
3351   va_start (v,p);
3352   s = g (p, va_arg (v,int));
3353   va_end (v);
3354   return s;
3357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3358    function prototypes and stuff, but not '\xHH' hex character constants.
3359    These don't provoke an error unfortunately, instead are silently treated
3360    as 'x'.  The following induces an error, until -std is added to get
3361    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3362    array size at least.  It's necessary to write '\x00'==0 to get something
3363    that's true only with -std.  */
3364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3367    inside strings and character constants.  */
3368 #define FOO(x) 'x'
3369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3371 int test (int i, double x);
3372 struct s1 {int (*f) (int a);};
3373 struct s2 {int (*f) (double a);};
3374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3375 int argc;
3376 char **argv;
3377 int
3378 main ()
3380 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3381   ;
3382   return 0;
3384 _ACEOF
3385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3386         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3387 do
3388   CC="$ac_save_CC $ac_arg"
3389   if ac_fn_c_try_compile "$LINENO"; then :
3390   ac_cv_prog_cc_c89=$ac_arg
3391 fi
3392 rm -f core conftest.err conftest.$ac_objext
3393   test "x$ac_cv_prog_cc_c89" != "xno" && break
3394 done
3395 rm -f conftest.$ac_ext
3396 CC=$ac_save_CC
3398 fi
3399 # AC_CACHE_VAL
3400 case "x$ac_cv_prog_cc_c89" in
3401   x)
3402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3403 $as_echo "none needed" >&6; } ;;
3404   xno)
3405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3406 $as_echo "unsupported" >&6; } ;;
3407   *)
3408     CC="$CC $ac_cv_prog_cc_c89"
3409     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3411 esac
3412 if test "x$ac_cv_prog_cc_c89" != xno; then :
3414 fi
3416 ac_ext=c
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3422 ac_ext=c
3423 ac_cpp='$CPP $CPPFLAGS'
3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3428 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3429 # On Suns, sometimes $CPP names a directory.
3430 if test -n "$CPP" && test -d "$CPP"; then
3431   CPP=
3432 fi
3433 if test -z "$CPP"; then
3434   if ${ac_cv_prog_CPP+:} false; then :
3435   $as_echo_n "(cached) " >&6
3436 else
3437       # Double quotes because CPP needs to be expanded
3438     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3439     do
3440       ac_preproc_ok=false
3441 for ac_c_preproc_warn_flag in '' yes
3442 do
3443   # Use a header file that comes with gcc, so configuring glibc
3444   # with a fresh cross-compiler works.
3445   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3446   # <limits.h> exists even on freestanding compilers.
3447   # On the NeXT, cc -E runs the code through the compiler's parser,
3448   # not just through cpp. "Syntax error" is here to catch this case.
3449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h.  */
3451 #ifdef __STDC__
3452 # include <limits.h>
3453 #else
3454 # include <assert.h>
3455 #endif
3456                      Syntax error
3457 _ACEOF
3458 if ac_fn_c_try_cpp "$LINENO"; then :
3460 else
3461   # Broken: fails on valid input.
3462 continue
3463 fi
3464 rm -f conftest.err conftest.i conftest.$ac_ext
3466   # OK, works on sane cases.  Now check whether nonexistent headers
3467   # can be detected and how.
3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470 #include <ac_nonexistent.h>
3471 _ACEOF
3472 if ac_fn_c_try_cpp "$LINENO"; then :
3473   # Broken: success on invalid input.
3474 continue
3475 else
3476   # Passes both tests.
3477 ac_preproc_ok=:
3478 break
3479 fi
3480 rm -f conftest.err conftest.i conftest.$ac_ext
3482 done
3483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3484 rm -f conftest.i conftest.err conftest.$ac_ext
3485 if $ac_preproc_ok; then :
3486   break
3487 fi
3489     done
3490     ac_cv_prog_CPP=$CPP
3492 fi
3493   CPP=$ac_cv_prog_CPP
3494 else
3495   ac_cv_prog_CPP=$CPP
3496 fi
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3498 $as_echo "$CPP" >&6; }
3499 ac_preproc_ok=false
3500 for ac_c_preproc_warn_flag in '' yes
3501 do
3502   # Use a header file that comes with gcc, so configuring glibc
3503   # with a fresh cross-compiler works.
3504   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3505   # <limits.h> exists even on freestanding compilers.
3506   # On the NeXT, cc -E runs the code through the compiler's parser,
3507   # not just through cpp. "Syntax error" is here to catch this case.
3508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h.  */
3510 #ifdef __STDC__
3511 # include <limits.h>
3512 #else
3513 # include <assert.h>
3514 #endif
3515                      Syntax error
3516 _ACEOF
3517 if ac_fn_c_try_cpp "$LINENO"; then :
3519 else
3520   # Broken: fails on valid input.
3521 continue
3522 fi
3523 rm -f conftest.err conftest.i conftest.$ac_ext
3525   # OK, works on sane cases.  Now check whether nonexistent headers
3526   # can be detected and how.
3527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h.  */
3529 #include <ac_nonexistent.h>
3530 _ACEOF
3531 if ac_fn_c_try_cpp "$LINENO"; then :
3532   # Broken: success on invalid input.
3533 continue
3534 else
3535   # Passes both tests.
3536 ac_preproc_ok=:
3537 break
3538 fi
3539 rm -f conftest.err conftest.i conftest.$ac_ext
3541 done
3542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3543 rm -f conftest.i conftest.err conftest.$ac_ext
3544 if $ac_preproc_ok; then :
3546 else
3547   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3550 See \`config.log' for more details" "$LINENO" 5; }
3551 fi
3553 ac_ext=c
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 # Check prefix directories.
3562 if test "x$prefix" = "xNONE" ; then
3563         prefix="/usr/local"
3564 fi
3566 if test "x$exec_prefix" = "xNONE" ; then
3567         exec_prefix=$prefix
3568 fi
3570 PREFIX=$prefix
3573 if test "x$bindir" = "xNONE" ; then
3574         bindir="/bin"
3575 fi
3576 BINDIR=`eval echo $bindir`
3579 if test "x$datarootdir" = "xNONE" ; then
3580         datarootdir="/share"
3581 fi
3582 DATAROOTDIR=`eval echo $datarootdir`
3585 # Checks for libraries.
3587 # wxWidgets
3589 ac_ext=cpp
3590 ac_cpp='$CXXCPP $CPPFLAGS'
3591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3596 # Check for C++11 support for the compiler.
3598 CPPFLAGS="$CPPFLAGS -std=c++11"
3599 CXXFLAGS="$CXXFLAGS -std=c++11"
3601 # Checks for header files.
3603 ac_ext=cpp
3604 ac_cpp='$CXXCPP $CPPFLAGS'
3605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3609 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3610 if test -z "$CXXCPP"; then
3611   if ${ac_cv_prog_CXXCPP+:} false; then :
3612   $as_echo_n "(cached) " >&6
3613 else
3614       # Double quotes because CXXCPP needs to be expanded
3615     for CXXCPP in "$CXX -E" "/lib/cpp"
3616     do
3617       ac_preproc_ok=false
3618 for ac_cxx_preproc_warn_flag in '' yes
3619 do
3620   # Use a header file that comes with gcc, so configuring glibc
3621   # with a fresh cross-compiler works.
3622   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3623   # <limits.h> exists even on freestanding compilers.
3624   # On the NeXT, cc -E runs the code through the compiler's parser,
3625   # not just through cpp. "Syntax error" is here to catch this case.
3626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h.  */
3628 #ifdef __STDC__
3629 # include <limits.h>
3630 #else
3631 # include <assert.h>
3632 #endif
3633                      Syntax error
3634 _ACEOF
3635 if ac_fn_cxx_try_cpp "$LINENO"; then :
3637 else
3638   # Broken: fails on valid input.
3639 continue
3640 fi
3641 rm -f conftest.err conftest.i conftest.$ac_ext
3643   # OK, works on sane cases.  Now check whether nonexistent headers
3644   # can be detected and how.
3645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647 #include <ac_nonexistent.h>
3648 _ACEOF
3649 if ac_fn_cxx_try_cpp "$LINENO"; then :
3650   # Broken: success on invalid input.
3651 continue
3652 else
3653   # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3656 fi
3657 rm -f conftest.err conftest.i conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.i conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then :
3663   break
3664 fi
3666     done
3667     ac_cv_prog_CXXCPP=$CXXCPP
3669 fi
3670   CXXCPP=$ac_cv_prog_CXXCPP
3671 else
3672   ac_cv_prog_CXXCPP=$CXXCPP
3673 fi
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3675 $as_echo "$CXXCPP" >&6; }
3676 ac_preproc_ok=false
3677 for ac_cxx_preproc_warn_flag in '' yes
3678 do
3679   # Use a header file that comes with gcc, so configuring glibc
3680   # with a fresh cross-compiler works.
3681   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3682   # <limits.h> exists even on freestanding compilers.
3683   # On the NeXT, cc -E runs the code through the compiler's parser,
3684   # not just through cpp. "Syntax error" is here to catch this case.
3685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h.  */
3687 #ifdef __STDC__
3688 # include <limits.h>
3689 #else
3690 # include <assert.h>
3691 #endif
3692                      Syntax error
3693 _ACEOF
3694 if ac_fn_cxx_try_cpp "$LINENO"; then :
3696 else
3697   # Broken: fails on valid input.
3698 continue
3699 fi
3700 rm -f conftest.err conftest.i conftest.$ac_ext
3702   # OK, works on sane cases.  Now check whether nonexistent headers
3703   # can be detected and how.
3704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h.  */
3706 #include <ac_nonexistent.h>
3707 _ACEOF
3708 if ac_fn_cxx_try_cpp "$LINENO"; then :
3709   # Broken: success on invalid input.
3710 continue
3711 else
3712   # Passes both tests.
3713 ac_preproc_ok=:
3714 break
3715 fi
3716 rm -f conftest.err conftest.i conftest.$ac_ext
3718 done
3719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3720 rm -f conftest.i conftest.err conftest.$ac_ext
3721 if $ac_preproc_ok; then :
3723 else
3724   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3727 See \`config.log' for more details" "$LINENO" 5; }
3728 fi
3730 ac_ext=cpp
3731 ac_cpp='$CXXCPP $CPPFLAGS'
3732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3738 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3739 if ${ac_cv_path_GREP+:} false; then :
3740   $as_echo_n "(cached) " >&6
3741 else
3742   if test -z "$GREP"; then
3743   ac_path_GREP_found=false
3744   # Loop through the user's path and test for each of PROGNAME-LIST
3745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3747 do
3748   IFS=$as_save_IFS
3749   test -z "$as_dir" && as_dir=.
3750     for ac_prog in grep ggrep; do
3751     for ac_exec_ext in '' $ac_executable_extensions; do
3752       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3753       as_fn_executable_p "$ac_path_GREP" || continue
3754 # Check for GNU ac_path_GREP and select it if it is found.
3755   # Check for GNU $ac_path_GREP
3756 case `"$ac_path_GREP" --version 2>&1` in
3757 *GNU*)
3758   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3759 *)
3760   ac_count=0
3761   $as_echo_n 0123456789 >"conftest.in"
3762   while :
3763   do
3764     cat "conftest.in" "conftest.in" >"conftest.tmp"
3765     mv "conftest.tmp" "conftest.in"
3766     cp "conftest.in" "conftest.nl"
3767     $as_echo 'GREP' >> "conftest.nl"
3768     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3769     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3770     as_fn_arith $ac_count + 1 && ac_count=$as_val
3771     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3772       # Best one so far, save it but keep looking for a better one
3773       ac_cv_path_GREP="$ac_path_GREP"
3774       ac_path_GREP_max=$ac_count
3775     fi
3776     # 10*(2^10) chars as input seems more than enough
3777     test $ac_count -gt 10 && break
3778   done
3779   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3780 esac
3782       $ac_path_GREP_found && break 3
3783     done
3784   done
3785   done
3786 IFS=$as_save_IFS
3787   if test -z "$ac_cv_path_GREP"; then
3788     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3789   fi
3790 else
3791   ac_cv_path_GREP=$GREP
3792 fi
3794 fi
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3796 $as_echo "$ac_cv_path_GREP" >&6; }
3797  GREP="$ac_cv_path_GREP"
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3801 $as_echo_n "checking for egrep... " >&6; }
3802 if ${ac_cv_path_EGREP+:} false; then :
3803   $as_echo_n "(cached) " >&6
3804 else
3805   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3806    then ac_cv_path_EGREP="$GREP -E"
3807    else
3808      if test -z "$EGREP"; then
3809   ac_path_EGREP_found=false
3810   # Loop through the user's path and test for each of PROGNAME-LIST
3811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3813 do
3814   IFS=$as_save_IFS
3815   test -z "$as_dir" && as_dir=.
3816     for ac_prog in egrep; do
3817     for ac_exec_ext in '' $ac_executable_extensions; do
3818       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3819       as_fn_executable_p "$ac_path_EGREP" || continue
3820 # Check for GNU ac_path_EGREP and select it if it is found.
3821   # Check for GNU $ac_path_EGREP
3822 case `"$ac_path_EGREP" --version 2>&1` in
3823 *GNU*)
3824   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3825 *)
3826   ac_count=0
3827   $as_echo_n 0123456789 >"conftest.in"
3828   while :
3829   do
3830     cat "conftest.in" "conftest.in" >"conftest.tmp"
3831     mv "conftest.tmp" "conftest.in"
3832     cp "conftest.in" "conftest.nl"
3833     $as_echo 'EGREP' >> "conftest.nl"
3834     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3835     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3836     as_fn_arith $ac_count + 1 && ac_count=$as_val
3837     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3838       # Best one so far, save it but keep looking for a better one
3839       ac_cv_path_EGREP="$ac_path_EGREP"
3840       ac_path_EGREP_max=$ac_count
3841     fi
3842     # 10*(2^10) chars as input seems more than enough
3843     test $ac_count -gt 10 && break
3844   done
3845   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3846 esac
3848       $ac_path_EGREP_found && break 3
3849     done
3850   done
3851   done
3852 IFS=$as_save_IFS
3853   if test -z "$ac_cv_path_EGREP"; then
3854     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3855   fi
3856 else
3857   ac_cv_path_EGREP=$EGREP
3858 fi
3860    fi
3861 fi
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3863 $as_echo "$ac_cv_path_EGREP" >&6; }
3864  EGREP="$ac_cv_path_EGREP"
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3868 $as_echo_n "checking for ANSI C header files... " >&6; }
3869 if ${ac_cv_header_stdc+:} false; then :
3870   $as_echo_n "(cached) " >&6
3871 else
3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h.  */
3874 #include <stdlib.h>
3875 #include <stdarg.h>
3876 #include <string.h>
3877 #include <float.h>
3879 int
3880 main ()
3883   ;
3884   return 0;
3886 _ACEOF
3887 if ac_fn_cxx_try_compile "$LINENO"; then :
3888   ac_cv_header_stdc=yes
3889 else
3890   ac_cv_header_stdc=no
3891 fi
3892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894 if test $ac_cv_header_stdc = yes; then
3895   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h.  */
3898 #include <string.h>
3900 _ACEOF
3901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3902   $EGREP "memchr" >/dev/null 2>&1; then :
3904 else
3905   ac_cv_header_stdc=no
3906 fi
3907 rm -f conftest*
3909 fi
3911 if test $ac_cv_header_stdc = yes; then
3912   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h.  */
3915 #include <stdlib.h>
3917 _ACEOF
3918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3919   $EGREP "free" >/dev/null 2>&1; then :
3921 else
3922   ac_cv_header_stdc=no
3923 fi
3924 rm -f conftest*
3926 fi
3928 if test $ac_cv_header_stdc = yes; then
3929   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3930   if test "$cross_compiling" = yes; then :
3931   :
3932 else
3933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h.  */
3935 #include <ctype.h>
3936 #include <stdlib.h>
3937 #if ((' ' & 0x0FF) == 0x020)
3938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3940 #else
3941 # define ISLOWER(c) \
3942                    (('a' <= (c) && (c) <= 'i') \
3943                      || ('j' <= (c) && (c) <= 'r') \
3944                      || ('s' <= (c) && (c) <= 'z'))
3945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3946 #endif
3948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3949 int
3950 main ()
3952   int i;
3953   for (i = 0; i < 256; i++)
3954     if (XOR (islower (i), ISLOWER (i))
3955         || toupper (i) != TOUPPER (i))
3956       return 2;
3957   return 0;
3959 _ACEOF
3960 if ac_fn_cxx_try_run "$LINENO"; then :
3962 else
3963   ac_cv_header_stdc=no
3964 fi
3965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3966   conftest.$ac_objext conftest.beam conftest.$ac_ext
3967 fi
3969 fi
3970 fi
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3972 $as_echo "$ac_cv_header_stdc" >&6; }
3973 if test $ac_cv_header_stdc = yes; then
3975 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3977 fi
3979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3980 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3981                   inttypes.h stdint.h unistd.h
3982 do :
3983   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3984 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3987   cat >>confdefs.h <<_ACEOF
3988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3989 _ACEOF
3991 fi
3993 done
3996 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
3997 do :
3998   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3999 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4001   cat >>confdefs.h <<_ACEOF
4002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4003 _ACEOF
4005 fi
4007 done
4010 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
4011 if test "x$ac_cv_header_thread" = xyes; then :
4013 else
4014   echo "The C++ compiler does not support C++11 extensions which is
4015 needed for Xestia Address Book. Please install or use a
4016 compiler that supports C++11 extensions."
4017         exit -1
4019 fi
4025 # Check whether --with-wxdir was given.
4026 if test "${with_wxdir+set}" = set; then :
4027   withval=$with_wxdir;  wx_config_name="$withval/wx-config"
4028                   wx_config_args="--inplace"
4029 fi
4032 # Check whether --with-wx-config was given.
4033 if test "${with_wx_config+set}" = set; then :
4034   withval=$with_wx_config; wx_config_name="$withval"
4035 fi
4038 # Check whether --with-wx-prefix was given.
4039 if test "${with_wx_prefix+set}" = set; then :
4040   withval=$with_wx_prefix; wx_config_prefix="$withval"
4041 else
4042   wx_config_prefix=""
4043 fi
4046 # Check whether --with-wx-exec-prefix was given.
4047 if test "${with_wx_exec_prefix+set}" = set; then :
4048   withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4049 else
4050   wx_config_exec_prefix=""
4051 fi
4054 reqwx=3.0.0
4057     if test x${WX_CONFIG_NAME+set} != xset ; then
4058      WX_CONFIG_NAME=wx-config
4059   fi
4061   if test "x$wx_config_name" != x ; then
4062      WX_CONFIG_NAME="$wx_config_name"
4063   fi
4065     if test x$wx_config_exec_prefix != x ; then
4066      wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4067      WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4068   fi
4069   if test x$wx_config_prefix != x ; then
4070      wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4071      WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4072   fi
4073   if test "$cross_compiling" = "yes"; then
4074      wx_config_args="$wx_config_args --host=$host_alias"
4075   fi
4077     if test -x "$WX_CONFIG_NAME" ; then
4078      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4079 $as_echo_n "checking for wx-config... " >&6; }
4080      WX_CONFIG_PATH="$WX_CONFIG_NAME"
4081      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4082 $as_echo "$WX_CONFIG_PATH" >&6; }
4083   else
4084      # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4085 set dummy $WX_CONFIG_NAME; ac_word=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4089   $as_echo_n "(cached) " >&6
4090 else
4091   case $WX_CONFIG_PATH in
4092   [\\/]* | ?:[\\/]*)
4093   ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4094   ;;
4095   *)
4096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4098 for as_dir in $as_dummy
4099 do
4100   IFS=$as_save_IFS
4101   test -z "$as_dir" && as_dir=.
4102     for ac_exec_ext in '' $ac_executable_extensions; do
4103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4104     ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4106     break 2
4107   fi
4108 done
4109   done
4110 IFS=$as_save_IFS
4112   test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4113   ;;
4114 esac
4115 fi
4116 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4117 if test -n "$WX_CONFIG_PATH"; then
4118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4119 $as_echo "$WX_CONFIG_PATH" >&6; }
4120 else
4121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4123 fi
4126   fi
4128   if test "$WX_CONFIG_PATH" != "no" ; then
4129     WX_VERSION=""
4131     min_wx_version=$reqwx
4132     if test -z "" ; then
4133       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4134 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4135     else
4136       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4137 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4138     fi
4140             WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4142     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4143     wx_config_major_version=`echo $WX_VERSION | \
4144            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4145     wx_config_minor_version=`echo $WX_VERSION | \
4146            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4147     wx_config_micro_version=`echo $WX_VERSION | \
4148            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4150     wx_requested_major_version=`echo $min_wx_version | \
4151            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4152     wx_requested_minor_version=`echo $min_wx_version | \
4153            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4154     wx_requested_micro_version=`echo $min_wx_version | \
4155            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4158     wx_ver_ok=""
4159     if test "x$WX_VERSION" != x ; then
4160       if test $wx_config_major_version -gt $wx_requested_major_version; then
4161         wx_ver_ok=yes
4162       else
4163         if test $wx_config_major_version -eq $wx_requested_major_version; then
4164            if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4165               wx_ver_ok=yes
4166            else
4167               if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4168                  if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4169                     wx_ver_ok=yes
4170                  fi
4171               fi
4172            fi
4173         fi
4174       fi
4175     fi
4178     if test -n "$wx_ver_ok"; then
4179       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4180 $as_echo "yes (version $WX_VERSION)" >&6; }
4181       WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4183                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4184 $as_echo_n "checking for wxWidgets static library... " >&6; }
4185       WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs  2>/dev/null`
4186       if test "x$WX_LIBS_STATIC" = "x"; then
4187         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4189       else
4190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4191 $as_echo "yes" >&6; }
4192       fi
4194             wx_has_cppflags=""
4195       if test $wx_config_major_version -gt 2; then
4196         wx_has_cppflags=yes
4197       else
4198         if test $wx_config_major_version -eq 2; then
4199            if test $wx_config_minor_version -gt 2; then
4200               wx_has_cppflags=yes
4201            else
4202               if test $wx_config_minor_version -eq 2; then
4203                  if test $wx_config_micro_version -ge 6; then
4204                     wx_has_cppflags=yes
4205                  fi
4206               fi
4207            fi
4208         fi
4209       fi
4211             wx_has_rescomp=""
4212       if test $wx_config_major_version -gt 2; then
4213         wx_has_rescomp=yes
4214       else
4215         if test $wx_config_major_version -eq 2; then
4216            if test $wx_config_minor_version -ge 7; then
4217               wx_has_rescomp=yes
4218            fi
4219         fi
4220       fi
4221       if test "x$wx_has_rescomp" = x ; then
4222                   WX_RESCOMP=
4223       else
4224          WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4225       fi
4227       if test "x$wx_has_cppflags" = x ; then
4228                   WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4229          WX_CPPFLAGS=$WX_CFLAGS
4230          WX_CXXFLAGS=$WX_CFLAGS
4232          WX_CFLAGS_ONLY=$WX_CFLAGS
4233          WX_CXXFLAGS_ONLY=$WX_CFLAGS
4234       else
4235                   WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4236          WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4237          WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4239          WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4240          WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4241       fi
4243       wxWin=1
4245     else
4247        if test "x$WX_VERSION" = x; then
4248                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4250        else
4251           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4252 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4253        fi
4255        WX_CFLAGS=""
4256        WX_CPPFLAGS=""
4257        WX_CXXFLAGS=""
4258        WX_LIBS=""
4259        WX_LIBS_STATIC=""
4260        WX_RESCOMP=""
4262        if test ! -z ""; then
4264           wx_error_message="
4265     The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4266     build with the following settings:
4268     but such build is not available.
4270     To see the wxWidgets builds available on this system, please use
4271     'wx-config --list' command. To use the default build, returned by
4272     'wx-config --selected-config', use the options with their 'auto'
4273     default values."
4275        fi
4277        wx_error_message="
4278     The requested wxWidgets build couldn't be found.
4279     $wx_error_message
4281     If you still get this error, then check that 'wx-config' is
4282     in path, the directory where wxWidgets libraries are installed
4283     (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4284     or equivalent variable and wxWidgets version is $reqwx or above."
4286        as_fn_error $? "$wx_error_message" "$LINENO" 5
4288     fi
4289   else
4291     WX_CFLAGS=""
4292     WX_CPPFLAGS=""
4293     WX_CXXFLAGS=""
4294     WX_LIBS=""
4295     WX_LIBS_STATIC=""
4296     WX_RESCOMP=""
4298     :
4300   fi
4312       WX_VERSION_MAJOR="$wx_config_major_version"
4313   WX_VERSION_MINOR="$wx_config_minor_version"
4314   WX_VERSION_MICRO="$wx_config_micro_version"
4320 if test "$wxWin" != 1; then
4321         as_fn_error $? "
4322 wxWidgets must be installed on your system.
4324 Please check that wx-config is in path, the directory where wxWidgets libraries
4325 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4326 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4327 is $reqwx or above.
4328                 " "$LINENO" 5
4329 fi
4331 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4332 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4333 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4334 LIBS="$LIBS $WX_LIBS"
4336 # SFML Audio Library
4345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4346         if test -n "$ac_tool_prefix"; then
4347   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4348 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4352   $as_echo_n "(cached) " >&6
4353 else
4354   case $PKG_CONFIG in
4355   [\\/]* | ?:[\\/]*)
4356   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4357   ;;
4358   *)
4359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH
4361 do
4362   IFS=$as_save_IFS
4363   test -z "$as_dir" && as_dir=.
4364     for ac_exec_ext in '' $ac_executable_extensions; do
4365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368     break 2
4369   fi
4370 done
4371   done
4372 IFS=$as_save_IFS
4374   ;;
4375 esac
4376 fi
4377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4378 if test -n "$PKG_CONFIG"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4380 $as_echo "$PKG_CONFIG" >&6; }
4381 else
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4387 fi
4388 if test -z "$ac_cv_path_PKG_CONFIG"; then
4389   ac_pt_PKG_CONFIG=$PKG_CONFIG
4390   # Extract the first word of "pkg-config", so it can be a program name with args.
4391 set dummy pkg-config; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4395   $as_echo_n "(cached) " >&6
4396 else
4397   case $ac_pt_PKG_CONFIG in
4398   [\\/]* | ?:[\\/]*)
4399   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4400   ;;
4401   *)
4402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405   IFS=$as_save_IFS
4406   test -z "$as_dir" && as_dir=.
4407     for ac_exec_ext in '' $ac_executable_extensions; do
4408   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411     break 2
4412   fi
4413 done
4414   done
4415 IFS=$as_save_IFS
4417   ;;
4418 esac
4419 fi
4420 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4421 if test -n "$ac_pt_PKG_CONFIG"; then
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4423 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4424 else
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4427 fi
4429   if test "x$ac_pt_PKG_CONFIG" = x; then
4430     PKG_CONFIG=""
4431   else
4432     case $cross_compiling:$ac_tool_warned in
4433 yes:)
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4437 esac
4438     PKG_CONFIG=$ac_pt_PKG_CONFIG
4439   fi
4440 else
4441   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4442 fi
4444 fi
4445 if test -n "$PKG_CONFIG"; then
4446         _pkg_min_version=0.9.0
4447         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4448 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4449         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4450                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4451 $as_echo "yes" >&6; }
4452         else
4453                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4455                 PKG_CONFIG=""
4456         fi
4457 fi
4459 pkg_failed=no
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SFML" >&5
4461 $as_echo_n "checking for SFML... " >&6; }
4463 if test -n "$SFML_CFLAGS"; then
4464     pkg_cv_SFML_CFLAGS="$SFML_CFLAGS"
4465  elif test -n "$PKG_CONFIG"; then
4466     if test -n "$PKG_CONFIG" && \
4467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4468   ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4469   ac_status=$?
4470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471   test $ac_status = 0; }; then
4472   pkg_cv_SFML_CFLAGS=`$PKG_CONFIG --cflags "sfml-all >= 2.4.1" 2>/dev/null`
4473                       test "x$?" != "x0" && pkg_failed=yes
4474 else
4475   pkg_failed=yes
4476 fi
4477  else
4478     pkg_failed=untried
4479 fi
4480 if test -n "$SFML_LIBS"; then
4481     pkg_cv_SFML_LIBS="$SFML_LIBS"
4482  elif test -n "$PKG_CONFIG"; then
4483     if test -n "$PKG_CONFIG" && \
4484     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sfml-all >= 2.4.1\""; } >&5
4485   ($PKG_CONFIG --exists --print-errors "sfml-all >= 2.4.1") 2>&5
4486   ac_status=$?
4487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488   test $ac_status = 0; }; then
4489   pkg_cv_SFML_LIBS=`$PKG_CONFIG --libs "sfml-all >= 2.4.1" 2>/dev/null`
4490                       test "x$?" != "x0" && pkg_failed=yes
4491 else
4492   pkg_failed=yes
4493 fi
4494  else
4495     pkg_failed=untried
4496 fi
4500 if test $pkg_failed = yes; then
4501         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4505         _pkg_short_errors_supported=yes
4506 else
4507         _pkg_short_errors_supported=no
4508 fi
4509         if test $_pkg_short_errors_supported = yes; then
4510                 SFML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4511         else
4512                 SFML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sfml-all >= 2.4.1" 2>&1`
4513         fi
4514         # Put the nasty error message in config.log where it belongs
4515         echo "$SFML_PKG_ERRORS" >&5
4517         as_fn_error $? "Package requirements (sfml-all >= 2.4.1) were not met:
4519 $SFML_PKG_ERRORS
4521 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4522 installed software in a non-standard prefix.
4524 Alternatively, you may set the environment variables SFML_CFLAGS
4525 and SFML_LIBS to avoid the need to call pkg-config.
4526 See the pkg-config man page for more details." "$LINENO" 5
4527 elif test $pkg_failed = untried; then
4528         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529 $as_echo "no" >&6; }
4530         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4532 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4533 is in your PATH or set the PKG_CONFIG environment variable to the full
4534 path to pkg-config.
4536 Alternatively, you may set the environment variables SFML_CFLAGS
4537 and SFML_LIBS to avoid the need to call pkg-config.
4538 See the pkg-config man page for more details.
4540 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4541 See \`config.log' for more details" "$LINENO" 5; }
4542 else
4543         SFML_CFLAGS=$pkg_cv_SFML_CFLAGS
4544         SFML_LIBS=$pkg_cv_SFML_LIBS
4545         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4546 $as_echo "yes" >&6; }
4548 fi
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4551 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4552 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4553   $as_echo_n "(cached) " >&6
4554 else
4555   ac_check_lib_save_LIBS=$LIBS
4556 LIBS="-lsfml-audio  $LIBS"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h.  */
4561 int
4562 main ()
4564 return main ();
4565   ;
4566   return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_link "$LINENO"; then :
4570   ac_cv_lib_sfml_audio_main=yes
4571 else
4572   ac_cv_lib_sfml_audio_main=no
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext \
4575     conftest$ac_exeext conftest.$ac_ext
4576 LIBS=$ac_check_lib_save_LIBS
4577 fi
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4579 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4580 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4581   cat >>confdefs.h <<_ACEOF
4582 #define HAVE_LIBSFML_AUDIO 1
4583 _ACEOF
4585   LIBS="-lsfml-audio $LIBS"
4587 else
4588   echo "The SFML libraries must be installed on your system.
4589 Please check that this library is installed properly before
4590 running configure again."
4591         exit -1
4593 fi
4596 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4597 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4599 else
4600   echo "The SFML library headers must be installed on your system.
4601 Please check that the library headers are installed properly
4602 before running configure again."
4603         exit -1
4605 fi
4609 ac_ext=c
4610 ac_cpp='$CPP $CPPFLAGS'
4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616 # curl Library
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4620 $as_echo_n "checking for main in -lcurl... " >&6; }
4621 if ${ac_cv_lib_curl_main+:} false; then :
4622   $as_echo_n "(cached) " >&6
4623 else
4624   ac_check_lib_save_LIBS=$LIBS
4625 LIBS="-lcurl  $LIBS"
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h.  */
4630 int
4631 main ()
4633 return main ();
4634   ;
4635   return 0;
4637 _ACEOF
4638 if ac_fn_c_try_link "$LINENO"; then :
4639   ac_cv_lib_curl_main=yes
4640 else
4641   ac_cv_lib_curl_main=no
4642 fi
4643 rm -f core conftest.err conftest.$ac_objext \
4644     conftest$ac_exeext conftest.$ac_ext
4645 LIBS=$ac_check_lib_save_LIBS
4646 fi
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4648 $as_echo "$ac_cv_lib_curl_main" >&6; }
4649 if test "x$ac_cv_lib_curl_main" = xyes; then :
4650   cat >>confdefs.h <<_ACEOF
4651 #define HAVE_LIBCURL 1
4652 _ACEOF
4654   LIBS="-lcurl $LIBS"
4656 else
4657   echo "The cURL library must be installed on your system.
4658 Please check that this library is installed properly before
4659 running configure again."
4660         exit -1
4662 fi
4666 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4667 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4669 else
4670   echo "The cURL library headers must be installed on your system.
4671 Please check that the library headers are installed properly
4672 before running configure again."
4673         exit -1
4675 fi
4679 # Extract the first word of "curl-config", so it can be a program name with args.
4680 set dummy curl-config; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
4684   $as_echo_n "(cached) " >&6
4685 else
4686   if test -n "$FOUND_CURLCONFIG"; then
4687   ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4691 do
4692   IFS=$as_save_IFS
4693   test -z "$as_dir" && as_dir=.
4694     for ac_exec_ext in '' $ac_executable_extensions; do
4695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696     ac_cv_prog_FOUND_CURLCONFIG="yes"
4697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698     break 2
4699   fi
4700 done
4701   done
4702 IFS=$as_save_IFS
4704   test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
4705 fi
4706 fi
4707 FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
4708 if test -n "$FOUND_CURLCONFIG"; then
4709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
4710 $as_echo "$FOUND_CURLCONFIG" >&6; }
4711 else
4712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4714 fi
4717  if test x$FOUND_CURLCONFIG = xyes; then
4718   FOUND_CURLCONFIG_RES_TRUE=
4719   FOUND_CURLCONFIG_RES_FALSE='#'
4720 else
4721   FOUND_CURLCONFIG_RES_TRUE='#'
4722   FOUND_CURLCONFIG_RES_FALSE=
4723 fi
4726 if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
4727   else
4728   echo "Cannot find the curl-config program on your system.
4729 If it is installed on your system, adjust your PATH environment
4730 variable before running configure again."
4731         exit -1
4733 fi
4735 # file application
4737 # Extract the first word of "file", so it can be a program name with args.
4738 set dummy file; ac_word=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_FOUND_FILE+:} false; then :
4742   $as_echo_n "(cached) " >&6
4743 else
4744   if test -n "$FOUND_FILE"; then
4745   ac_cv_prog_FOUND_FILE="$FOUND_FILE" # Let the user override the test.
4746 else
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH
4749 do
4750   IFS=$as_save_IFS
4751   test -z "$as_dir" && as_dir=.
4752     for ac_exec_ext in '' $ac_executable_extensions; do
4753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754     ac_cv_prog_FOUND_FILE="yes"
4755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756     break 2
4757   fi
4758 done
4759   done
4760 IFS=$as_save_IFS
4762   test -z "$ac_cv_prog_FOUND_FILE" && ac_cv_prog_FOUND_FILE="no"
4763 fi
4764 fi
4765 FOUND_FILE=$ac_cv_prog_FOUND_FILE
4766 if test -n "$FOUND_FILE"; then
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_FILE" >&5
4768 $as_echo "$FOUND_FILE" >&6; }
4769 else
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 fi
4775  if test x$FOUND_FILE = xyes; then
4776   FOUND_FILE_RES_TRUE=
4777   FOUND_FILE_RES_FALSE='#'
4778 else
4779   FOUND_FILE_RES_TRUE='#'
4780   FOUND_FILE_RES_FALSE=
4781 fi
4784 if test -z "$FOUND_FILE_RES_TRUE"; then :
4785   else
4786   echo "Cannot find the file program on your system.
4787 If it is installed on your system, adjust your PATH environment
4788 variable before running configure again."
4789         exit -1
4791 fi
4793 # uuidgen application
4795 # Extract the first word of "uuidgen", so it can be a program name with args.
4796 set dummy uuidgen; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
4800   $as_echo_n "(cached) " >&6
4801 else
4802   if test -n "$FOUND_UUIDGEN"; then
4803   ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
4804 else
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4807 do
4808   IFS=$as_save_IFS
4809   test -z "$as_dir" && as_dir=.
4810     for ac_exec_ext in '' $ac_executable_extensions; do
4811   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812     ac_cv_prog_FOUND_UUIDGEN="yes"
4813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814     break 2
4815   fi
4816 done
4817   done
4818 IFS=$as_save_IFS
4820   test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
4821 fi
4822 fi
4823 FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
4824 if test -n "$FOUND_UUIDGEN"; then
4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
4826 $as_echo "$FOUND_UUIDGEN" >&6; }
4827 else
4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 fi
4833  if test x$FOUND_UUIDGEN = xyes; then
4834   FOUND_UUIDGEN_RES_TRUE=
4835   FOUND_UUIDGEN_RES_FALSE='#'
4836 else
4837   FOUND_UUIDGEN_RES_TRUE='#'
4838   FOUND_UUIDGEN_RES_FALSE=
4839 fi
4842 if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
4843   else
4844   echo "Cannot find the uuidgen program on your system.
4845 If it is installed on your system, adjust your PATH environment
4846 variable before running configure again."
4847         exit -1
4849 fi
4851 # Checks for typedefs, structures, and compiler characteristics.
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4853 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4854 if ${ac_cv_header_stdbool_h+:} false; then :
4855   $as_echo_n "(cached) " >&6
4856 else
4857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h.  */
4860              #include <stdbool.h>
4861              #ifndef bool
4862               "error: bool is not defined"
4863              #endif
4864              #ifndef false
4865               "error: false is not defined"
4866              #endif
4867              #if false
4868               "error: false is not 0"
4869              #endif
4870              #ifndef true
4871               "error: true is not defined"
4872              #endif
4873              #if true != 1
4874               "error: true is not 1"
4875              #endif
4876              #ifndef __bool_true_false_are_defined
4877               "error: __bool_true_false_are_defined is not defined"
4878              #endif
4880              struct s { _Bool s: 1; _Bool t; } s;
4882              char a[true == 1 ? 1 : -1];
4883              char b[false == 0 ? 1 : -1];
4884              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4885              char d[(bool) 0.5 == true ? 1 : -1];
4886              /* See body of main program for 'e'.  */
4887              char f[(_Bool) 0.0 == false ? 1 : -1];
4888              char g[true];
4889              char h[sizeof (_Bool)];
4890              char i[sizeof s.t];
4891              enum { j = false, k = true, l = false * true, m = true * 256 };
4892              /* The following fails for
4893                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4894              _Bool n[m];
4895              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4896              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4897              /* Catch a bug in an HP-UX C compiler.  See
4898                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4899                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4900               */
4901              _Bool q = true;
4902              _Bool *pq = &q;
4904 int
4905 main ()
4908              bool e = &s;
4909              *pq |= q;
4910              *pq |= ! q;
4911              /* Refer to every declared value, to avoid compiler optimizations.  */
4912              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4913                      + !m + !n + !o + !p + !q + !pq);
4915   ;
4916   return 0;
4918 _ACEOF
4919 if ac_fn_c_try_compile "$LINENO"; then :
4920   ac_cv_header_stdbool_h=yes
4921 else
4922   ac_cv_header_stdbool_h=no
4923 fi
4924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4925 fi
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4927 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4928    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4929 if test "x$ac_cv_type__Bool" = xyes; then :
4931 cat >>confdefs.h <<_ACEOF
4932 #define HAVE__BOOL 1
4933 _ACEOF
4936 fi
4939 if test $ac_cv_header_stdbool_h = yes; then
4941 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4943 fi
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4946 $as_echo_n "checking for inline... " >&6; }
4947 if ${ac_cv_c_inline+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   ac_cv_c_inline=no
4951 for ac_kw in inline __inline__ __inline; do
4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h.  */
4954 #ifndef __cplusplus
4955 typedef int foo_t;
4956 static $ac_kw foo_t static_foo () {return 0; }
4957 $ac_kw foo_t foo () {return 0; }
4958 #endif
4960 _ACEOF
4961 if ac_fn_c_try_compile "$LINENO"; then :
4962   ac_cv_c_inline=$ac_kw
4963 fi
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965   test "$ac_cv_c_inline" != no && break
4966 done
4968 fi
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4970 $as_echo "$ac_cv_c_inline" >&6; }
4972 case $ac_cv_c_inline in
4973   inline | yes) ;;
4974   *)
4975     case $ac_cv_c_inline in
4976       no) ac_val=;;
4977       *) ac_val=$ac_cv_c_inline;;
4978     esac
4979     cat >>confdefs.h <<_ACEOF
4980 #ifndef __cplusplus
4981 #define inline $ac_val
4982 #endif
4983 _ACEOF
4984     ;;
4985 esac
4988 # Check for Google Test and if it exists, enable the tests.
4990 ac_ext=cpp
4991 ac_cpp='$CXXCPP $CPPFLAGS'
4992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4996 for ac_header in gtest/gtest.h
4997 do :
4998   ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
4999 if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
5000   cat >>confdefs.h <<_ACEOF
5001 #define HAVE_GTEST_GTEST_H 1
5002 _ACEOF
5003  gtestfound=yes
5004 else
5005   gtestfound=no
5006 fi
5008 done
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5017 # libxml2 Library
5019 CPPFLAGSOLD=CPPFLAGS
5020 CPPFLAGS=`xml2-config --cflags`
5022 # Extract the first word of "xml2-config", so it can be a program name with args.
5023 set dummy xml2-config; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
5027   $as_echo_n "(cached) " >&6
5028 else
5029   if test -n "$FOUND_XML2CONFIG"; then
5030   ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037     for ac_exec_ext in '' $ac_executable_extensions; do
5038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039     ac_cv_prog_FOUND_XML2CONFIG="yes"
5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044   done
5045 IFS=$as_save_IFS
5047   test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
5048 fi
5049 fi
5050 FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
5051 if test -n "$FOUND_XML2CONFIG"; then
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
5053 $as_echo "$FOUND_XML2CONFIG" >&6; }
5054 else
5055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5057 fi
5060  if test x$FOUND_XML2CONFIG = xyes; then
5061   FOUND_XML2CONFIG_RES_TRUE=
5062   FOUND_XML2CONFIG_RES_FALSE='#'
5063 else
5064   FOUND_XML2CONFIG_RES_TRUE='#'
5065   FOUND_XML2CONFIG_RES_FALSE=
5066 fi
5069 if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
5070   else
5071   echo "Cannot find the xml2-config program on your system.
5072 If it is installed on your system, adjust your PATH environment
5073 variable before running configure again."
5074         exit -1
5076 fi
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
5079 $as_echo_n "checking for main in -lxml2... " >&6; }
5080 if ${ac_cv_lib_xml2_main+:} false; then :
5081   $as_echo_n "(cached) " >&6
5082 else
5083   ac_check_lib_save_LIBS=$LIBS
5084 LIBS="-lxml2  $LIBS"
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h.  */
5089 int
5090 main ()
5092 return main ();
5093   ;
5094   return 0;
5096 _ACEOF
5097 if ac_fn_c_try_link "$LINENO"; then :
5098   ac_cv_lib_xml2_main=yes
5099 else
5100   ac_cv_lib_xml2_main=no
5101 fi
5102 rm -f core conftest.err conftest.$ac_objext \
5103     conftest$ac_exeext conftest.$ac_ext
5104 LIBS=$ac_check_lib_save_LIBS
5105 fi
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
5107 $as_echo "$ac_cv_lib_xml2_main" >&6; }
5108 if test "x$ac_cv_lib_xml2_main" = xyes; then :
5109   cat >>confdefs.h <<_ACEOF
5110 #define HAVE_LIBXML2 1
5111 _ACEOF
5113   LIBS="-lxml2 $LIBS"
5115 else
5116   echo "The libxml2 library must be installed on your system.
5117 Please check that this library is installed properly before
5118 running configure again."
5119         exit -1
5121 fi
5124 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
5125 do :
5126   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5127 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5128 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5129   cat >>confdefs.h <<_ACEOF
5130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5131 _ACEOF
5133 else
5134   echo "The libxml2 library headers must be installed on your system.
5135 Please check that the library headers are installed properly
5136 before running configure again."
5137         exit -1
5139 fi
5141 done
5144 CPPFLAGS=CPPFLAGSOLD
5146 # Setup the debug setting.
5148 # Check whether --enable-debug was given.
5149 if test "${enable_debug+set}" = set; then :
5150   enableval=$enable_debug; case "${enableval}" in
5151         yes) debug=true;;
5152         no)  debug=false;;
5153         *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
5154  esac
5155 else
5156   debug=false
5157 fi
5160 # Checks for library functions.
5162  if test x$debug = xtrue; then
5163   DEBUG_TRUE=
5164   DEBUG_FALSE='#'
5165 else
5166   DEBUG_TRUE='#'
5167   DEBUG_FALSE=
5168 fi
5170 if test -z "$DEBUG_TRUE"; then :
5171   DBGOUT="-O0 -ggdb"
5173 else
5174   DBGOUT="-Os"
5176 fi
5177 if test -z "$DEBUG_TRUE"; then :
5178   DBGSTATUS="DEBUG=true"
5180 else
5181   DBGSTATUS="DEBUG=false"
5183 fi
5184 if test -z "$DEBUG_TRUE"; then :
5185   echo "Debugging mode has been enabled."
5186 fi
5188  if test x$gtestfound = xyes; then
5189   GTEST_FOUND_TRUE=
5190   GTEST_FOUND_FALSE='#'
5191 else
5192   GTEST_FOUND_TRUE='#'
5193   GTEST_FOUND_FALSE=
5194 fi
5196 if test -z "$GTEST_FOUND_TRUE"; then :
5197   GTEST=`cat tests/test.commands`
5199 else
5200   GTEST="       @echo \"Google Test was not found on the system. Unable to build tests.\""
5202 fi
5203 if test -z "$GTEST_FOUND_TRUE"; then :
5204   echo "Google Test found on the system. Enabling Unit Tests."
5205 fi;
5207 ac_config_files="$ac_config_files Makefile tests/Makefile"
5209 cat >confcache <<\_ACEOF
5210 # This file is a shell script that caches the results of configure
5211 # tests run on this system so they can be shared between configure
5212 # scripts and configure runs, see configure's option --config-cache.
5213 # It is not useful on other systems.  If it contains results you don't
5214 # want to keep, you may remove or edit it.
5216 # config.status only pays attention to the cache file if you give it
5217 # the --recheck option to rerun configure.
5219 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5220 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5221 # following values.
5223 _ACEOF
5225 # The following way of writing the cache mishandles newlines in values,
5226 # but we know of no workaround that is simple, portable, and efficient.
5227 # So, we kill variables containing newlines.
5228 # Ultrix sh set writes to stderr and can't be redirected directly,
5229 # and sets the high bit in the cache file unless we assign to the vars.
5231   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5232     eval ac_val=\$$ac_var
5233     case $ac_val in #(
5234     *${as_nl}*)
5235       case $ac_var in #(
5236       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5238       esac
5239       case $ac_var in #(
5240       _ | IFS | as_nl) ;; #(
5241       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5242       *) { eval $ac_var=; unset $ac_var;} ;;
5243       esac ;;
5244     esac
5245   done
5247   (set) 2>&1 |
5248     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5249     *${as_nl}ac_space=\ *)
5250       # `set' does not quote correctly, so add quotes: double-quote
5251       # substitution turns \\\\ into \\, and sed turns \\ into \.
5252       sed -n \
5253         "s/'/'\\\\''/g;
5254           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5255       ;; #(
5256     *)
5257       # `set' quotes correctly as required by POSIX, so do not add quotes.
5258       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5259       ;;
5260     esac |
5261     sort
5262 ) |
5263   sed '
5264      /^ac_cv_env_/b end
5265      t clear
5266      :clear
5267      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5268      t end
5269      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5270      :end' >>confcache
5271 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5272   if test -w "$cache_file"; then
5273     if test "x$cache_file" != "x/dev/null"; then
5274       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5275 $as_echo "$as_me: updating cache $cache_file" >&6;}
5276       if test ! -f "$cache_file" || test -h "$cache_file"; then
5277         cat confcache >"$cache_file"
5278       else
5279         case $cache_file in #(
5280         */* | ?:*)
5281           mv -f confcache "$cache_file"$$ &&
5282           mv -f "$cache_file"$$ "$cache_file" ;; #(
5283         *)
5284           mv -f confcache "$cache_file" ;;
5285         esac
5286       fi
5287     fi
5288   else
5289     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5290 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5291   fi
5292 fi
5293 rm -f confcache
5295 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5296 # Let make expand exec_prefix.
5297 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5299 # Transform confdefs.h into DEFS.
5300 # Protect against shell expansion while executing Makefile rules.
5301 # Protect against Makefile macro expansion.
5303 # If the first sed substitution is executed (which looks for macros that
5304 # take arguments), then branch to the quote section.  Otherwise,
5305 # look for a macro that doesn't take arguments.
5306 ac_script='
5307 :mline
5308 /\\$/{
5309  N
5310  s,\\\n,,
5311  b mline
5313 t clear
5314 :clear
5315 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
5316 t quote
5317 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
5318 t quote
5319 b any
5320 :quote
5321 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5322 s/\[/\\&/g
5323 s/\]/\\&/g
5324 s/\$/$$/g
5326 :any
5327 ${
5328         g
5329         s/^\n//
5330         s/\n/ /g
5331         p
5334 DEFS=`sed -n "$ac_script" confdefs.h`
5337 ac_libobjs=
5338 ac_ltlibobjs=
5339 U=
5340 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5341   # 1. Remove the extension, and $U if already installed.
5342   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5343   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5344   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5345   #    will be set to the directory where LIBOBJS objects are built.
5346   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5347   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5348 done
5349 LIBOBJS=$ac_libobjs
5351 LTLIBOBJS=$ac_ltlibobjs
5354 if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
5355   as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
5356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5357 fi
5358 if test -z "${FOUND_FILE_RES_TRUE}" && test -z "${FOUND_FILE_RES_FALSE}"; then
5359   as_fn_error $? "conditional \"FOUND_FILE_RES\" was never defined.
5360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5361 fi
5362 if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
5363   as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
5364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5365 fi
5366 if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
5367   as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
5368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5369 fi
5370 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5371   as_fn_error $? "conditional \"DEBUG\" was never defined.
5372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5373 fi
5374 if test -z "${GTEST_FOUND_TRUE}" && test -z "${GTEST_FOUND_FALSE}"; then
5375   as_fn_error $? "conditional \"GTEST_FOUND\" was never defined.
5376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5377 fi
5379 : "${CONFIG_STATUS=./config.status}"
5380 ac_write_fail=0
5381 ac_clean_files_save=$ac_clean_files
5382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5385 as_write_fail=0
5386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5387 #! $SHELL
5388 # Generated by $as_me.
5389 # Run this file to recreate the current configuration.
5390 # Compiler output produced by configure, useful for debugging
5391 # configure, is in config.log if it exists.
5393 debug=false
5394 ac_cs_recheck=false
5395 ac_cs_silent=false
5397 SHELL=\${CONFIG_SHELL-$SHELL}
5398 export SHELL
5399 _ASEOF
5400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5401 ## -------------------- ##
5402 ## M4sh Initialization. ##
5403 ## -------------------- ##
5405 # Be more Bourne compatible
5406 DUALCASE=1; export DUALCASE # for MKS sh
5407 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5408   emulate sh
5409   NULLCMD=:
5410   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5411   # is contrary to our usage.  Disable this feature.
5412   alias -g '${1+"$@"}'='"$@"'
5413   setopt NO_GLOB_SUBST
5414 else
5415   case `(set -o) 2>/dev/null` in #(
5416   *posix*) :
5417     set -o posix ;; #(
5418   *) :
5419      ;;
5420 esac
5421 fi
5424 as_nl='
5426 export as_nl
5427 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5428 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5430 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5431 # Prefer a ksh shell builtin over an external printf program on Solaris,
5432 # but without wasting forks for bash or zsh.
5433 if test -z "$BASH_VERSION$ZSH_VERSION" \
5434     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5435   as_echo='print -r --'
5436   as_echo_n='print -rn --'
5437 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5438   as_echo='printf %s\n'
5439   as_echo_n='printf %s'
5440 else
5441   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5442     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5443     as_echo_n='/usr/ucb/echo -n'
5444   else
5445     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5446     as_echo_n_body='eval
5447       arg=$1;
5448       case $arg in #(
5449       *"$as_nl"*)
5450         expr "X$arg" : "X\\(.*\\)$as_nl";
5451         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5452       esac;
5453       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5454     '
5455     export as_echo_n_body
5456     as_echo_n='sh -c $as_echo_n_body as_echo'
5457   fi
5458   export as_echo_body
5459   as_echo='sh -c $as_echo_body as_echo'
5460 fi
5462 # The user is always right.
5463 if test "${PATH_SEPARATOR+set}" != set; then
5464   PATH_SEPARATOR=:
5465   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5466     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5467       PATH_SEPARATOR=';'
5468   }
5469 fi
5472 # IFS
5473 # We need space, tab and new line, in precisely that order.  Quoting is
5474 # there to prevent editors from complaining about space-tab.
5475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5476 # splitting by setting IFS to empty value.)
5477 IFS=" ""        $as_nl"
5479 # Find who we are.  Look in the path if we contain no directory separator.
5480 as_myself=
5481 case $0 in #((
5482   *[\\/]* ) as_myself=$0 ;;
5483   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5489   done
5490 IFS=$as_save_IFS
5492      ;;
5493 esac
5494 # We did not find ourselves, most probably we were run as `sh COMMAND'
5495 # in which case we are not to be found in the path.
5496 if test "x$as_myself" = x; then
5497   as_myself=$0
5498 fi
5499 if test ! -f "$as_myself"; then
5500   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5501   exit 1
5502 fi
5504 # Unset variables that we do not need and which cause bugs (e.g. in
5505 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5506 # suppresses any "Segmentation fault" message there.  '((' could
5507 # trigger a bug in pdksh 5.2.14.
5508 for as_var in BASH_ENV ENV MAIL MAILPATH
5509 do eval test x\${$as_var+set} = xset \
5510   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5511 done
5512 PS1='$ '
5513 PS2='> '
5514 PS4='+ '
5516 # NLS nuisances.
5517 LC_ALL=C
5518 export LC_ALL
5519 LANGUAGE=C
5520 export LANGUAGE
5522 # CDPATH.
5523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5526 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5527 # ----------------------------------------
5528 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5529 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5530 # script with STATUS, using 1 if that was 0.
5531 as_fn_error ()
5533   as_status=$1; test $as_status -eq 0 && as_status=1
5534   if test "$4"; then
5535     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5536     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5537   fi
5538   $as_echo "$as_me: error: $2" >&2
5539   as_fn_exit $as_status
5540 } # as_fn_error
5543 # as_fn_set_status STATUS
5544 # -----------------------
5545 # Set $? to STATUS, without forking.
5546 as_fn_set_status ()
5548   return $1
5549 } # as_fn_set_status
5551 # as_fn_exit STATUS
5552 # -----------------
5553 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5554 as_fn_exit ()
5556   set +e
5557   as_fn_set_status $1
5558   exit $1
5559 } # as_fn_exit
5561 # as_fn_unset VAR
5562 # ---------------
5563 # Portably unset VAR.
5564 as_fn_unset ()
5566   { eval $1=; unset $1;}
5568 as_unset=as_fn_unset
5569 # as_fn_append VAR VALUE
5570 # ----------------------
5571 # Append the text in VALUE to the end of the definition contained in VAR. Take
5572 # advantage of any shell optimizations that allow amortized linear growth over
5573 # repeated appends, instead of the typical quadratic growth present in naive
5574 # implementations.
5575 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5576   eval 'as_fn_append ()
5577   {
5578     eval $1+=\$2
5579   }'
5580 else
5581   as_fn_append ()
5582   {
5583     eval $1=\$$1\$2
5584   }
5585 fi # as_fn_append
5587 # as_fn_arith ARG...
5588 # ------------------
5589 # Perform arithmetic evaluation on the ARGs, and store the result in the
5590 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5591 # must be portable across $(()) and expr.
5592 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5593   eval 'as_fn_arith ()
5594   {
5595     as_val=$(( $* ))
5596   }'
5597 else
5598   as_fn_arith ()
5599   {
5600     as_val=`expr "$@" || test $? -eq 1`
5601   }
5602 fi # as_fn_arith
5605 if expr a : '\(a\)' >/dev/null 2>&1 &&
5606    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5607   as_expr=expr
5608 else
5609   as_expr=false
5610 fi
5612 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5613   as_basename=basename
5614 else
5615   as_basename=false
5616 fi
5618 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5619   as_dirname=dirname
5620 else
5621   as_dirname=false
5622 fi
5624 as_me=`$as_basename -- "$0" ||
5625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5626          X"$0" : 'X\(//\)$' \| \
5627          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5628 $as_echo X/"$0" |
5629     sed '/^.*\/\([^/][^/]*\)\/*$/{
5630             s//\1/
5631             q
5632           }
5633           /^X\/\(\/\/\)$/{
5634             s//\1/
5635             q
5636           }
5637           /^X\/\(\/\).*/{
5638             s//\1/
5639             q
5640           }
5641           s/.*/./; q'`
5643 # Avoid depending upon Character Ranges.
5644 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5647 as_cr_digits='0123456789'
5648 as_cr_alnum=$as_cr_Letters$as_cr_digits
5650 ECHO_C= ECHO_N= ECHO_T=
5651 case `echo -n x` in #(((((
5652 -n*)
5653   case `echo 'xy\c'` in
5654   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5655   xy)  ECHO_C='\c';;
5656   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5657        ECHO_T=' ';;
5658   esac;;
5659 *)
5660   ECHO_N='-n';;
5661 esac
5663 rm -f conf$$ conf$$.exe conf$$.file
5664 if test -d conf$$.dir; then
5665   rm -f conf$$.dir/conf$$.file
5666 else
5667   rm -f conf$$.dir
5668   mkdir conf$$.dir 2>/dev/null
5669 fi
5670 if (echo >conf$$.file) 2>/dev/null; then
5671   if ln -s conf$$.file conf$$ 2>/dev/null; then
5672     as_ln_s='ln -s'
5673     # ... but there are two gotchas:
5674     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5675     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5676     # In both cases, we have to default to `cp -pR'.
5677     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5678       as_ln_s='cp -pR'
5679   elif ln conf$$.file conf$$ 2>/dev/null; then
5680     as_ln_s=ln
5681   else
5682     as_ln_s='cp -pR'
5683   fi
5684 else
5685   as_ln_s='cp -pR'
5686 fi
5687 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5688 rmdir conf$$.dir 2>/dev/null
5691 # as_fn_mkdir_p
5692 # -------------
5693 # Create "$as_dir" as a directory, including parents if necessary.
5694 as_fn_mkdir_p ()
5697   case $as_dir in #(
5698   -*) as_dir=./$as_dir;;
5699   esac
5700   test -d "$as_dir" || eval $as_mkdir_p || {
5701     as_dirs=
5702     while :; do
5703       case $as_dir in #(
5704       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5705       *) as_qdir=$as_dir;;
5706       esac
5707       as_dirs="'$as_qdir' $as_dirs"
5708       as_dir=`$as_dirname -- "$as_dir" ||
5709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5710          X"$as_dir" : 'X\(//\)[^/]' \| \
5711          X"$as_dir" : 'X\(//\)$' \| \
5712          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5713 $as_echo X"$as_dir" |
5714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5715             s//\1/
5716             q
5717           }
5718           /^X\(\/\/\)[^/].*/{
5719             s//\1/
5720             q
5721           }
5722           /^X\(\/\/\)$/{
5723             s//\1/
5724             q
5725           }
5726           /^X\(\/\).*/{
5727             s//\1/
5728             q
5729           }
5730           s/.*/./; q'`
5731       test -d "$as_dir" && break
5732     done
5733     test -z "$as_dirs" || eval "mkdir $as_dirs"
5734   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5737 } # as_fn_mkdir_p
5738 if mkdir -p . 2>/dev/null; then
5739   as_mkdir_p='mkdir -p "$as_dir"'
5740 else
5741   test -d ./-p && rmdir ./-p
5742   as_mkdir_p=false
5743 fi
5746 # as_fn_executable_p FILE
5747 # -----------------------
5748 # Test if FILE is an executable regular file.
5749 as_fn_executable_p ()
5751   test -f "$1" && test -x "$1"
5752 } # as_fn_executable_p
5753 as_test_x='test -x'
5754 as_executable_p=as_fn_executable_p
5756 # Sed expression to map a string onto a valid CPP name.
5757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5759 # Sed expression to map a string onto a valid variable name.
5760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5763 exec 6>&1
5764 ## ----------------------------------- ##
5765 ## Main body of $CONFIG_STATUS script. ##
5766 ## ----------------------------------- ##
5767 _ASEOF
5768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771 # Save the log message, to keep $0 and so on meaningful, and to
5772 # report actual input values of CONFIG_FILES etc. instead of their
5773 # values after options handling.
5774 ac_log="
5775 This file was extended by Xestia Address Book $as_me 0.05, which was
5776 generated by GNU Autoconf 2.69.  Invocation command line was
5778   CONFIG_FILES    = $CONFIG_FILES
5779   CONFIG_HEADERS  = $CONFIG_HEADERS
5780   CONFIG_LINKS    = $CONFIG_LINKS
5781   CONFIG_COMMANDS = $CONFIG_COMMANDS
5782   $ $0 $@
5784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5787 _ACEOF
5789 case $ac_config_files in *"
5790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5791 esac
5795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5796 # Files that config.status was made for.
5797 config_files="`echo $ac_config_files`"
5799 _ACEOF
5801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5802 ac_cs_usage="\
5803 \`$as_me' instantiates files and other configuration actions
5804 from templates according to the current configuration.  Unless the files
5805 and actions are specified as TAGs, all are instantiated by default.
5807 Usage: $0 [OPTION]... [TAG]...
5809   -h, --help       print this help, then exit
5810   -V, --version    print version number and configuration settings, then exit
5811       --config     print configuration, then exit
5812   -q, --quiet, --silent
5813                    do not print progress messages
5814   -d, --debug      don't remove temporary files
5815       --recheck    update $as_me by reconfiguring in the same conditions
5816       --file=FILE[:TEMPLATE]
5817                    instantiate the configuration file FILE
5819 Configuration files:
5820 $config_files
5822 Report bugs to <bugs@xestia.co.uk>."
5824 _ACEOF
5825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5827 ac_cs_version="\\
5828 Xestia Address Book config.status 0.05
5829 configured by $0, generated by GNU Autoconf 2.69,
5830   with options \\"\$ac_cs_config\\"
5832 Copyright (C) 2012 Free Software Foundation, Inc.
5833 This config.status script is free software; the Free Software Foundation
5834 gives unlimited permission to copy, distribute and modify it."
5836 ac_pwd='$ac_pwd'
5837 srcdir='$srcdir'
5838 test -n "\$AWK" || AWK=awk
5839 _ACEOF
5841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5842 # The default lists apply if the user does not specify any file.
5843 ac_need_defaults=:
5844 while test $# != 0
5845 do
5846   case $1 in
5847   --*=?*)
5848     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5849     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5850     ac_shift=:
5851     ;;
5852   --*=)
5853     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5854     ac_optarg=
5855     ac_shift=:
5856     ;;
5857   *)
5858     ac_option=$1
5859     ac_optarg=$2
5860     ac_shift=shift
5861     ;;
5862   esac
5864   case $ac_option in
5865   # Handling of the options.
5866   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5867     ac_cs_recheck=: ;;
5868   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5869     $as_echo "$ac_cs_version"; exit ;;
5870   --config | --confi | --conf | --con | --co | --c )
5871     $as_echo "$ac_cs_config"; exit ;;
5872   --debug | --debu | --deb | --de | --d | -d )
5873     debug=: ;;
5874   --file | --fil | --fi | --f )
5875     $ac_shift
5876     case $ac_optarg in
5877     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5878     '') as_fn_error $? "missing file argument" ;;
5879     esac
5880     as_fn_append CONFIG_FILES " '$ac_optarg'"
5881     ac_need_defaults=false;;
5882   --he | --h |  --help | --hel | -h )
5883     $as_echo "$ac_cs_usage"; exit ;;
5884   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5885   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5886     ac_cs_silent=: ;;
5888   # This is an error.
5889   -*) as_fn_error $? "unrecognized option: \`$1'
5890 Try \`$0 --help' for more information." ;;
5892   *) as_fn_append ac_config_targets " $1"
5893      ac_need_defaults=false ;;
5895   esac
5896   shift
5897 done
5899 ac_configure_extra_args=
5901 if $ac_cs_silent; then
5902   exec 6>/dev/null
5903   ac_configure_extra_args="$ac_configure_extra_args --silent"
5904 fi
5906 _ACEOF
5907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5908 if \$ac_cs_recheck; then
5909   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5910   shift
5911   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5912   CONFIG_SHELL='$SHELL'
5913   export CONFIG_SHELL
5914   exec "\$@"
5915 fi
5917 _ACEOF
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5919 exec 5>>config.log
5921   echo
5922   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5923 ## Running $as_me. ##
5924 _ASBOX
5925   $as_echo "$ac_log"
5926 } >&5
5928 _ACEOF
5929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5930 _ACEOF
5932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5934 # Handling of arguments.
5935 for ac_config_target in $ac_config_targets
5936 do
5937   case $ac_config_target in
5938     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5939     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5941   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5942   esac
5943 done
5946 # If the user did not use the arguments to specify the items to instantiate,
5947 # then the envvar interface is used.  Set only those that are not.
5948 # We use the long form for the default assignment because of an extremely
5949 # bizarre bug on SunOS 4.1.3.
5950 if $ac_need_defaults; then
5951   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5952 fi
5954 # Have a temporary directory for convenience.  Make it in the build tree
5955 # simply because there is no reason against having it here, and in addition,
5956 # creating and moving files from /tmp can sometimes cause problems.
5957 # Hook for its removal unless debugging.
5958 # Note that there is a small window in which the directory will not be cleaned:
5959 # after its creation but before its name has been assigned to `$tmp'.
5960 $debug ||
5962   tmp= ac_tmp=
5963   trap 'exit_status=$?
5964   : "${ac_tmp:=$tmp}"
5965   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5966 ' 0
5967   trap 'as_fn_exit 1' 1 2 13 15
5969 # Create a (secure) tmp directory for tmp files.
5972   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5973   test -d "$tmp"
5974 }  ||
5976   tmp=./conf$$-$RANDOM
5977   (umask 077 && mkdir "$tmp")
5978 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5979 ac_tmp=$tmp
5981 # Set up the scripts for CONFIG_FILES section.
5982 # No need to generate them if there are no CONFIG_FILES.
5983 # This happens for instance with `./config.status config.h'.
5984 if test -n "$CONFIG_FILES"; then
5987 ac_cr=`echo X | tr X '\015'`
5988 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5989 # But we know of no other shell where ac_cr would be empty at this
5990 # point, so we can use a bashism as a fallback.
5991 if test "x$ac_cr" = x; then
5992   eval ac_cr=\$\'\\r\'
5993 fi
5994 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5995 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5996   ac_cs_awk_cr='\\r'
5997 else
5998   ac_cs_awk_cr=$ac_cr
5999 fi
6001 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6002 _ACEOF
6006   echo "cat >conf$$subs.awk <<_ACEOF" &&
6007   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6008   echo "_ACEOF"
6009 } >conf$$subs.sh ||
6010   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6011 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6012 ac_delim='%!_!# '
6013 for ac_last_try in false false false false false :; do
6014   . ./conf$$subs.sh ||
6015     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6017   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6018   if test $ac_delim_n = $ac_delim_num; then
6019     break
6020   elif $ac_last_try; then
6021     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6022   else
6023     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6024   fi
6025 done
6026 rm -f conf$$subs.sh
6028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6029 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6030 _ACEOF
6031 sed -n '
6033 s/^/S["/; s/!.*/"]=/
6036 s/^[^!]*!//
6037 :repl
6038 t repl
6039 s/'"$ac_delim"'$//
6040 t delim
6041 :nl
6043 s/\(.\{148\}\)..*/\1/
6044 t more1
6045 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6048 b repl
6049 :more1
6050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6053 s/.\{148\}//
6054 t nl
6055 :delim
6057 s/\(.\{148\}\)..*/\1/
6058 t more2
6059 s/["\\]/\\&/g; s/^/"/; s/$/"/
6062 :more2
6063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6066 s/.\{148\}//
6067 t delim
6068 ' <conf$$subs.awk | sed '
6069 /^[^""]/{
6070   N
6071   s/\n//
6073 ' >>$CONFIG_STATUS || ac_write_fail=1
6074 rm -f conf$$subs.awk
6075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6076 _ACAWK
6077 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6078   for (key in S) S_is_set[key] = 1
6079   FS = "\a"
6083   line = $ 0
6084   nfields = split(line, field, "@")
6085   substed = 0
6086   len = length(field[1])
6087   for (i = 2; i < nfields; i++) {
6088     key = field[i]
6089     keylen = length(key)
6090     if (S_is_set[key]) {
6091       value = S[key]
6092       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6093       len += length(value) + length(field[++i])
6094       substed = 1
6095     } else
6096       len += 1 + keylen
6097   }
6099   print line
6102 _ACAWK
6103 _ACEOF
6104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6105 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6106   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6107 else
6108   cat
6109 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6110   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6111 _ACEOF
6113 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6114 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6115 # trailing colons and then remove the whole line if VPATH becomes empty
6116 # (actually we leave an empty line to preserve line numbers).
6117 if test "x$srcdir" = x.; then
6118   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6120 s///
6121 s/^/:/
6122 s/[      ]*$/:/
6123 s/:\$(srcdir):/:/g
6124 s/:\${srcdir}:/:/g
6125 s/:@srcdir@:/:/g
6126 s/^:*//
6127 s/:*$//
6129 s/\(=[   ]*\).*/\1/
6131 s/\n//
6132 s/^[^=]*=[       ]*$//
6133 }'
6134 fi
6136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6137 fi # test -n "$CONFIG_FILES"
6140 eval set X "  :F $CONFIG_FILES      "
6141 shift
6142 for ac_tag
6143 do
6144   case $ac_tag in
6145   :[FHLC]) ac_mode=$ac_tag; continue;;
6146   esac
6147   case $ac_mode$ac_tag in
6148   :[FHL]*:*);;
6149   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6150   :[FH]-) ac_tag=-:-;;
6151   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6152   esac
6153   ac_save_IFS=$IFS
6154   IFS=:
6155   set x $ac_tag
6156   IFS=$ac_save_IFS
6157   shift
6158   ac_file=$1
6159   shift
6161   case $ac_mode in
6162   :L) ac_source=$1;;
6163   :[FH])
6164     ac_file_inputs=
6165     for ac_f
6166     do
6167       case $ac_f in
6168       -) ac_f="$ac_tmp/stdin";;
6169       *) # Look for the file first in the build tree, then in the source tree
6170          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6171          # because $ac_f cannot contain `:'.
6172          test -f "$ac_f" ||
6173            case $ac_f in
6174            [\\/$]*) false;;
6175            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6176            esac ||
6177            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6178       esac
6179       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6180       as_fn_append ac_file_inputs " '$ac_f'"
6181     done
6183     # Let's still pretend it is `configure' which instantiates (i.e., don't
6184     # use $as_me), people would be surprised to read:
6185     #    /* config.h.  Generated by config.status.  */
6186     configure_input='Generated from '`
6187           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6188         `' by configure.'
6189     if test x"$ac_file" != x-; then
6190       configure_input="$ac_file.  $configure_input"
6191       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6192 $as_echo "$as_me: creating $ac_file" >&6;}
6193     fi
6194     # Neutralize special characters interpreted by sed in replacement strings.
6195     case $configure_input in #(
6196     *\&* | *\|* | *\\* )
6197        ac_sed_conf_input=`$as_echo "$configure_input" |
6198        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6199     *) ac_sed_conf_input=$configure_input;;
6200     esac
6202     case $ac_tag in
6203     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6204       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6205     esac
6206     ;;
6207   esac
6209   ac_dir=`$as_dirname -- "$ac_file" ||
6210 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6211          X"$ac_file" : 'X\(//\)[^/]' \| \
6212          X"$ac_file" : 'X\(//\)$' \| \
6213          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6214 $as_echo X"$ac_file" |
6215     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6216             s//\1/
6217             q
6218           }
6219           /^X\(\/\/\)[^/].*/{
6220             s//\1/
6221             q
6222           }
6223           /^X\(\/\/\)$/{
6224             s//\1/
6225             q
6226           }
6227           /^X\(\/\).*/{
6228             s//\1/
6229             q
6230           }
6231           s/.*/./; q'`
6232   as_dir="$ac_dir"; as_fn_mkdir_p
6233   ac_builddir=.
6235 case "$ac_dir" in
6236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6237 *)
6238   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6239   # A ".." for each directory in $ac_dir_suffix.
6240   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6241   case $ac_top_builddir_sub in
6242   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6243   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6244   esac ;;
6245 esac
6246 ac_abs_top_builddir=$ac_pwd
6247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6248 # for backward compatibility:
6249 ac_top_builddir=$ac_top_build_prefix
6251 case $srcdir in
6252   .)  # We are building in place.
6253     ac_srcdir=.
6254     ac_top_srcdir=$ac_top_builddir_sub
6255     ac_abs_top_srcdir=$ac_pwd ;;
6256   [\\/]* | ?:[\\/]* )  # Absolute name.
6257     ac_srcdir=$srcdir$ac_dir_suffix;
6258     ac_top_srcdir=$srcdir
6259     ac_abs_top_srcdir=$srcdir ;;
6260   *) # Relative name.
6261     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6262     ac_top_srcdir=$ac_top_build_prefix$srcdir
6263     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6264 esac
6265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6268   case $ac_mode in
6269   :F)
6270   #
6271   # CONFIG_FILE
6272   #
6274 _ACEOF
6276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6277 # If the template does not know about datarootdir, expand it.
6278 # FIXME: This hack should be removed a few years after 2.60.
6279 ac_datarootdir_hack=; ac_datarootdir_seen=
6280 ac_sed_dataroot='
6281 /datarootdir/ {
6282   p
6283   q
6285 /@datadir@/p
6286 /@docdir@/p
6287 /@infodir@/p
6288 /@localedir@/p
6289 /@mandir@/p'
6290 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6291 *datarootdir*) ac_datarootdir_seen=yes;;
6292 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6293   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6294 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6295 _ACEOF
6296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6297   ac_datarootdir_hack='
6298   s&@datadir@&$datadir&g
6299   s&@docdir@&$docdir&g
6300   s&@infodir@&$infodir&g
6301   s&@localedir@&$localedir&g
6302   s&@mandir@&$mandir&g
6303   s&\\\${datarootdir}&$datarootdir&g' ;;
6304 esac
6305 _ACEOF
6307 # Neutralize VPATH when `$srcdir' = `.'.
6308 # Shell code in configure.ac might set extrasub.
6309 # FIXME: do we really want to maintain this feature?
6310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6311 ac_sed_extra="$ac_vpsub
6312 $extrasub
6313 _ACEOF
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6315 :t
6316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6317 s|@configure_input@|$ac_sed_conf_input|;t t
6318 s&@top_builddir@&$ac_top_builddir_sub&;t t
6319 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6320 s&@srcdir@&$ac_srcdir&;t t
6321 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6322 s&@top_srcdir@&$ac_top_srcdir&;t t
6323 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6324 s&@builddir@&$ac_builddir&;t t
6325 s&@abs_builddir@&$ac_abs_builddir&;t t
6326 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6327 $ac_datarootdir_hack
6329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6330   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6333   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6334   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6335       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6336   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6337 which seems to be undefined.  Please make sure it is defined" >&5
6338 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6339 which seems to be undefined.  Please make sure it is defined" >&2;}
6341   rm -f "$ac_tmp/stdin"
6342   case $ac_file in
6343   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6344   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6345   esac \
6346   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6347  ;;
6351   esac
6353 done # for ac_tag
6356 as_fn_exit 0
6357 _ACEOF
6358 ac_clean_files=$ac_clean_files_save
6360 test $ac_write_fail = 0 ||
6361   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6364 # configure is writing to config.log, and then calls config.status.
6365 # config.status does its own redirection, appending to config.log.
6366 # Unfortunately, on DOS this fails, as config.log is still kept open
6367 # by configure, so config.status won't be able to write to it; its
6368 # output is simply discarded.  So we exec the FD to /dev/null,
6369 # effectively closing config.log, so it can be properly (re)opened and
6370 # appended to by config.status.  When coming back to configure, we
6371 # need to make the FD available again.
6372 if test "$no_create" != yes; then
6373   ac_cs_success=:
6374   ac_config_status_args=
6375   test "$silent" = yes &&
6376     ac_config_status_args="$ac_config_status_args --quiet"
6377   exec 5>/dev/null
6378   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6379   exec 5>>config.log
6380   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6381   # would make configure fail if this is the last instruction.
6382   $ac_cs_success || as_fn_exit 1
6383 fi
6384 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6386 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6387 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