Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Update configure scripts.
[xestiaab/.git] / source / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Xestia Address Book 0.01.
4 #
5 # Report bugs to <bugs@xestia.co.uk>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202   if (eval "$as_required") 2>/dev/null; then :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
219            for as_base in sh bash ksh sh5; do
220              # Try only shells that exist, to save several forks.
221              as_shell=$as_dir/$as_base
222              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235   CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
262     if test x$as_have_required = xno; then :
263   $as_echo "$0: This script requires a shell more modern than all"
264   $as_echo "$0: the shells that I found on your system."
265   if test x${ZSH_VERSION+set} = xset ; then
266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
273 $0: have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293   { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302   return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310   set +e
311   as_fn_set_status $1
312   exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321   case $as_dir in #(
322   -*) as_dir=./$as_dir;;
323   esac
324   test -d "$as_dir" || eval $as_mkdir_p || {
325     as_dirs=
326     while :; do
327       case $as_dir in #(
328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329       *) as_qdir=$as_dir;;
330       esac
331       as_dirs="'$as_qdir' $as_dirs"
332       as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334          X"$as_dir" : 'X\(//\)[^/]' \| \
335          X"$as_dir" : 'X\(//\)$' \| \
336          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)[^/].*/{
343             s//\1/
344             q
345           }
346           /^X\(\/\/\)$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\).*/{
351             s//\1/
352             q
353           }
354           s/.*/./; q'`
355       test -d "$as_dir" && break
356     done
357     test -z "$as_dirs" || eval "mkdir $as_dirs"
358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368   test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377   eval 'as_fn_append ()
378   {
379     eval $1+=\$2
380   }'
381 else
382   as_fn_append ()
383   {
384     eval $1=\$$1\$2
385   }
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394   eval 'as_fn_arith ()
395   {
396     as_val=$(( $* ))
397   }'
398 else
399   as_fn_arith ()
400   {
401     as_val=`expr "$@" || test $? -eq 1`
402   }
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413   as_status=$1; test $as_status -eq 0 && as_status=1
414   if test "$4"; then
415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417   fi
418   $as_echo "$as_me: error: $2" >&2
419   as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
424   as_expr=expr
425 else
426   as_expr=false
427 fi
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430   as_basename=basename
431 else
432   as_basename=false
433 fi
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436   as_dirname=dirname
437 else
438   as_dirname=false
439 fi
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443          X"$0" : 'X\(//\)$' \| \
444          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446     sed '/^.*\/\([^/][^/]*\)\/*$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\/\)$/{
451             s//\1/
452             q
453           }
454           /^X\/\(\/\).*/{
455             s//\1/
456             q
457           }
458           s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473   sed -n '
474     p
475     /[$]LINENO/=
476   ' <$as_myself |
477     sed '
478       s/[$]LINENO.*/&-/
479       t lineno
480       b
481       :lineno
482       N
483       :loop
484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485       t loop
486       s/-\n.*//
487     ' >$as_me.lineno &&
488   chmod +x "$as_me.lineno" ||
489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492   # already done that, so ensure we don't try to do so again and fall
493   # in an infinite loop.  This has already happened in practice.
494   _as_can_reexec=no; export _as_can_reexec
495   # Don't try to exec as it changes $[0], causing all sort of problems
496   # (the dirname of $[0] is not the place where we might find the
497   # original and so on.  Autoconf is especially sensitive to this).
498   . "./$as_me.lineno"
499   # Exit status is that of the last command.
500   exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506   case `echo 'xy\c'` in
507   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508   xy)  ECHO_C='\c';;
509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510        ECHO_T=' ';;
511   esac;;
512 *)
513   ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518   rm -f conf$$.dir/conf$$.file
519 else
520   rm -f conf$$.dir
521   mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524   if ln -s conf$$.file conf$$ 2>/dev/null; then
525     as_ln_s='ln -s'
526     # ... but there are two gotchas:
527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529     # In both cases, we have to default to `cp -pR'.
530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531       as_ln_s='cp -pR'
532   elif ln conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s=ln
534   else
535     as_ln_s='cp -pR'
536   fi
537 else
538   as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544   as_mkdir_p='mkdir -p "$as_dir"'
545 else
546   test -d ./-p && rmdir ./-p
547   as_mkdir_p=false
548 fi
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Xestia Address Book'
582 PACKAGE_TARNAME='xestia-address-book'
583 PACKAGE_VERSION='0.01'
584 PACKAGE_STRING='Xestia Address Book 0.01'
585 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
586 PACKAGE_URL=''
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 #  include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #  include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
624 ac_subst_vars='LTLIBOBJS
625 LIBOBJS
626 WX_RESCOMP
627 WX_VERSION
628 WX_LIBS_STATIC
629 WX_LIBS
630 WX_CXXFLAGS_ONLY
631 WX_CFLAGS_ONLY
632 WX_CXXFLAGS
633 WX_CFLAGS
634 WX_CPPFLAGS
635 WX_CONFIG_PATH
636 EGREP
637 GREP
638 CXXCPP
639 CPP
640 ac_ct_CC
641 CFLAGS
642 CC
643 OBJEXT
644 EXEEXT
645 ac_ct_CXX
646 CPPFLAGS
647 LDFLAGS
648 CXXFLAGS
649 CXX
650 target_alias
651 host_alias
652 build_alias
653 LIBS
654 ECHO_T
655 ECHO_N
656 ECHO_C
657 DEFS
658 mandir
659 localedir
660 libdir
661 psdir
662 pdfdir
663 dvidir
664 htmldir
665 infodir
666 docdir
667 oldincludedir
668 includedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_URL
681 PACKAGE_BUGREPORT
682 PACKAGE_STRING
683 PACKAGE_VERSION
684 PACKAGE_TARNAME
685 PACKAGE_NAME
686 PATH_SEPARATOR
687 SHELL'
688 ac_subst_files=''
689 ac_user_opts='
690 enable_option_checking
691 with_wxdir
692 with_wx_config
693 with_wx_prefix
694 with_wx_exec_prefix
696       ac_precious_vars='build_alias
697 host_alias
698 target_alias
699 CXX
700 CXXFLAGS
701 LDFLAGS
702 LIBS
703 CPPFLAGS
704 CCC
705 CC
706 CFLAGS
707 CPP
708 CXXCPP'
711 # Initialize some variables set by options.
712 ac_init_help=
713 ac_init_version=false
714 ac_unrecognized_opts=
715 ac_unrecognized_sep=
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
718 cache_file=/dev/null
719 exec_prefix=NONE
720 no_create=
721 no_recursion=
722 prefix=NONE
723 program_prefix=NONE
724 program_suffix=NONE
725 program_transform_name=s,x,x,
726 silent=
727 site=
728 srcdir=
729 verbose=
730 x_includes=NONE
731 x_libraries=NONE
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir='${exec_prefix}/bin'
740 sbindir='${exec_prefix}/sbin'
741 libexecdir='${exec_prefix}/libexec'
742 datarootdir='${prefix}/share'
743 datadir='${datarootdir}'
744 sysconfdir='${prefix}/etc'
745 sharedstatedir='${prefix}/com'
746 localstatedir='${prefix}/var'
747 includedir='${prefix}/include'
748 oldincludedir='/usr/include'
749 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
750 infodir='${datarootdir}/info'
751 htmldir='${docdir}'
752 dvidir='${docdir}'
753 pdfdir='${docdir}'
754 psdir='${docdir}'
755 libdir='${exec_prefix}/lib'
756 localedir='${datarootdir}/locale'
757 mandir='${datarootdir}/man'
759 ac_prev=
760 ac_dashdash=
761 for ac_option
762 do
763   # If the previous option needs an argument, assign it.
764   if test -n "$ac_prev"; then
765     eval $ac_prev=\$ac_option
766     ac_prev=
767     continue
768   fi
770   case $ac_option in
771   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772   *=)   ac_optarg= ;;
773   *)    ac_optarg=yes ;;
774   esac
776   # Accept the important Cygnus configure options, so we can diagnose typos.
778   case $ac_dashdash$ac_option in
779   --)
780     ac_dashdash=yes ;;
782   -bindir | --bindir | --bindi | --bind | --bin | --bi)
783     ac_prev=bindir ;;
784   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785     bindir=$ac_optarg ;;
787   -build | --build | --buil | --bui | --bu)
788     ac_prev=build_alias ;;
789   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790     build_alias=$ac_optarg ;;
792   -cache-file | --cache-file | --cache-fil | --cache-fi \
793   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794     ac_prev=cache_file ;;
795   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797     cache_file=$ac_optarg ;;
799   --config-cache | -C)
800     cache_file=config.cache ;;
802   -datadir | --datadir | --datadi | --datad)
803     ac_prev=datadir ;;
804   -datadir=* | --datadir=* | --datadi=* | --datad=*)
805     datadir=$ac_optarg ;;
807   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808   | --dataroo | --dataro | --datar)
809     ac_prev=datarootdir ;;
810   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812     datarootdir=$ac_optarg ;;
814   -disable-* | --disable-*)
815     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816     # Reject names that are not valid shell variable names.
817     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818       as_fn_error $? "invalid feature name: $ac_useropt"
819     ac_useropt_orig=$ac_useropt
820     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821     case $ac_user_opts in
822       *"
823 "enable_$ac_useropt"
824 "*) ;;
825       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
826          ac_unrecognized_sep=', ';;
827     esac
828     eval enable_$ac_useropt=no ;;
830   -docdir | --docdir | --docdi | --doc | --do)
831     ac_prev=docdir ;;
832   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833     docdir=$ac_optarg ;;
835   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
836     ac_prev=dvidir ;;
837   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838     dvidir=$ac_optarg ;;
840   -enable-* | --enable-*)
841     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
842     # Reject names that are not valid shell variable names.
843     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844       as_fn_error $? "invalid feature name: $ac_useropt"
845     ac_useropt_orig=$ac_useropt
846     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847     case $ac_user_opts in
848       *"
849 "enable_$ac_useropt"
850 "*) ;;
851       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
852          ac_unrecognized_sep=', ';;
853     esac
854     eval enable_$ac_useropt=\$ac_optarg ;;
856   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858   | --exec | --exe | --ex)
859     ac_prev=exec_prefix ;;
860   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862   | --exec=* | --exe=* | --ex=*)
863     exec_prefix=$ac_optarg ;;
865   -gas | --gas | --ga | --g)
866     # Obsolete; use --with-gas.
867     with_gas=yes ;;
869   -help | --help | --hel | --he | -h)
870     ac_init_help=long ;;
871   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872     ac_init_help=recursive ;;
873   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874     ac_init_help=short ;;
876   -host | --host | --hos | --ho)
877     ac_prev=host_alias ;;
878   -host=* | --host=* | --hos=* | --ho=*)
879     host_alias=$ac_optarg ;;
881   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882     ac_prev=htmldir ;;
883   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884   | --ht=*)
885     htmldir=$ac_optarg ;;
887   -includedir | --includedir | --includedi | --included | --include \
888   | --includ | --inclu | --incl | --inc)
889     ac_prev=includedir ;;
890   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891   | --includ=* | --inclu=* | --incl=* | --inc=*)
892     includedir=$ac_optarg ;;
894   -infodir | --infodir | --infodi | --infod | --info | --inf)
895     ac_prev=infodir ;;
896   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897     infodir=$ac_optarg ;;
899   -libdir | --libdir | --libdi | --libd)
900     ac_prev=libdir ;;
901   -libdir=* | --libdir=* | --libdi=* | --libd=*)
902     libdir=$ac_optarg ;;
904   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905   | --libexe | --libex | --libe)
906     ac_prev=libexecdir ;;
907   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908   | --libexe=* | --libex=* | --libe=*)
909     libexecdir=$ac_optarg ;;
911   -localedir | --localedir | --localedi | --localed | --locale)
912     ac_prev=localedir ;;
913   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914     localedir=$ac_optarg ;;
916   -localstatedir | --localstatedir | --localstatedi | --localstated \
917   | --localstate | --localstat | --localsta | --localst | --locals)
918     ac_prev=localstatedir ;;
919   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921     localstatedir=$ac_optarg ;;
923   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924     ac_prev=mandir ;;
925   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926     mandir=$ac_optarg ;;
928   -nfp | --nfp | --nf)
929     # Obsolete; use --without-fp.
930     with_fp=no ;;
932   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933   | --no-cr | --no-c | -n)
934     no_create=yes ;;
936   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938     no_recursion=yes ;;
940   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942   | --oldin | --oldi | --old | --ol | --o)
943     ac_prev=oldincludedir ;;
944   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947     oldincludedir=$ac_optarg ;;
949   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950     ac_prev=prefix ;;
951   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952     prefix=$ac_optarg ;;
954   -program-prefix | --program-prefix | --program-prefi | --program-pref \
955   | --program-pre | --program-pr | --program-p)
956     ac_prev=program_prefix ;;
957   -program-prefix=* | --program-prefix=* | --program-prefi=* \
958   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959     program_prefix=$ac_optarg ;;
961   -program-suffix | --program-suffix | --program-suffi | --program-suff \
962   | --program-suf | --program-su | --program-s)
963     ac_prev=program_suffix ;;
964   -program-suffix=* | --program-suffix=* | --program-suffi=* \
965   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966     program_suffix=$ac_optarg ;;
968   -program-transform-name | --program-transform-name \
969   | --program-transform-nam | --program-transform-na \
970   | --program-transform-n | --program-transform- \
971   | --program-transform | --program-transfor \
972   | --program-transfo | --program-transf \
973   | --program-trans | --program-tran \
974   | --progr-tra | --program-tr | --program-t)
975     ac_prev=program_transform_name ;;
976   -program-transform-name=* | --program-transform-name=* \
977   | --program-transform-nam=* | --program-transform-na=* \
978   | --program-transform-n=* | --program-transform-=* \
979   | --program-transform=* | --program-transfor=* \
980   | --program-transfo=* | --program-transf=* \
981   | --program-trans=* | --program-tran=* \
982   | --progr-tra=* | --program-tr=* | --program-t=*)
983     program_transform_name=$ac_optarg ;;
985   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986     ac_prev=pdfdir ;;
987   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988     pdfdir=$ac_optarg ;;
990   -psdir | --psdir | --psdi | --psd | --ps)
991     ac_prev=psdir ;;
992   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993     psdir=$ac_optarg ;;
995   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996   | -silent | --silent | --silen | --sile | --sil)
997     silent=yes ;;
999   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000     ac_prev=sbindir ;;
1001   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002   | --sbi=* | --sb=*)
1003     sbindir=$ac_optarg ;;
1005   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007   | --sharedst | --shareds | --shared | --share | --shar \
1008   | --sha | --sh)
1009     ac_prev=sharedstatedir ;;
1010   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013   | --sha=* | --sh=*)
1014     sharedstatedir=$ac_optarg ;;
1016   -site | --site | --sit)
1017     ac_prev=site ;;
1018   -site=* | --site=* | --sit=*)
1019     site=$ac_optarg ;;
1021   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022     ac_prev=srcdir ;;
1023   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024     srcdir=$ac_optarg ;;
1026   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027   | --syscon | --sysco | --sysc | --sys | --sy)
1028     ac_prev=sysconfdir ;;
1029   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031     sysconfdir=$ac_optarg ;;
1033   -target | --target | --targe | --targ | --tar | --ta | --t)
1034     ac_prev=target_alias ;;
1035   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036     target_alias=$ac_optarg ;;
1038   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039     verbose=yes ;;
1041   -version | --version | --versio | --versi | --vers | -V)
1042     ac_init_version=: ;;
1044   -with-* | --with-*)
1045     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046     # Reject names that are not valid shell variable names.
1047     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048       as_fn_error $? "invalid package name: $ac_useropt"
1049     ac_useropt_orig=$ac_useropt
1050     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051     case $ac_user_opts in
1052       *"
1053 "with_$ac_useropt"
1054 "*) ;;
1055       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056          ac_unrecognized_sep=', ';;
1057     esac
1058     eval with_$ac_useropt=\$ac_optarg ;;
1060   -without-* | --without-*)
1061     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062     # Reject names that are not valid shell variable names.
1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064       as_fn_error $? "invalid package name: $ac_useropt"
1065     ac_useropt_orig=$ac_useropt
1066     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067     case $ac_user_opts in
1068       *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072          ac_unrecognized_sep=', ';;
1073     esac
1074     eval with_$ac_useropt=no ;;
1076   --x)
1077     # Obsolete; use --with-x.
1078     with_x=yes ;;
1080   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081   | --x-incl | --x-inc | --x-in | --x-i)
1082     ac_prev=x_includes ;;
1083   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085     x_includes=$ac_optarg ;;
1087   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089     ac_prev=x_libraries ;;
1090   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092     x_libraries=$ac_optarg ;;
1094   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information"
1096     ;;
1098   *=*)
1099     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100     # Reject names that are not valid shell variable names.
1101     case $ac_envvar in #(
1102       '' | [0-9]* | *[!_$as_cr_alnum]* )
1103       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1104     esac
1105     eval $ac_envvar=\$ac_optarg
1106     export $ac_envvar ;;
1108   *)
1109     # FIXME: should be removed in autoconf 3.0.
1110     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1111     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1113     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114     ;;
1116   esac
1117 done
1119 if test -n "$ac_prev"; then
1120   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121   as_fn_error $? "missing argument to $ac_option"
1122 fi
1124 if test -n "$ac_unrecognized_opts"; then
1125   case $enable_option_checking in
1126     no) ;;
1127     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1128     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129   esac
1130 fi
1132 # Check all directory arguments for consistency.
1133 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134                 datadir sysconfdir sharedstatedir localstatedir includedir \
1135                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136                 libdir localedir mandir
1137 do
1138   eval ac_val=\$$ac_var
1139   # Remove trailing slashes.
1140   case $ac_val in
1141     */ )
1142       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143       eval $ac_var=\$ac_val;;
1144   esac
1145   # Be sure to have absolute directory names.
1146   case $ac_val in
1147     [\\/$]* | ?:[\\/]* )  continue;;
1148     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149   esac
1150   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1151 done
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1156 build=$build_alias
1157 host=$host_alias
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162   if test "x$build_alias" = x; then
1163     cross_compiling=maybe
1164   elif test "x$build_alias" != "x$host_alias"; then
1165     cross_compiling=yes
1166   fi
1167 fi
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178   as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180   as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185   ac_srcdir_defaulted=yes
1186   # Try the directory containing this script, then the parent directory.
1187   ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189          X"$as_myself" : 'X\(//\)[^/]' \| \
1190          X"$as_myself" : 'X\(//\)$' \| \
1191          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194             s//\1/
1195             q
1196           }
1197           /^X\(\/\/\)[^/].*/{
1198             s//\1/
1199             q
1200           }
1201           /^X\(\/\/\)$/{
1202             s//\1/
1203             q
1204           }
1205           /^X\(\/\).*/{
1206             s//\1/
1207             q
1208           }
1209           s/.*/./; q'`
1210   srcdir=$ac_confdir
1211   if test ! -r "$srcdir/$ac_unique_file"; then
1212     srcdir=..
1213   fi
1214 else
1215   ac_srcdir_defaulted=no
1216 fi
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1220 fi
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224         pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227   srcdir=.
1228 fi
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for ac_var in $ac_precious_vars; do
1236   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237   eval ac_env_${ac_var}_value=\$${ac_var}
1238   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 done
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246   # Omit some internal or obsolete options to make the list less imposing.
1247   # This message is too long to be a string in the A/UX 3.1 sh.
1248   cat <<_ACEOF
1249 \`configure' configures Xestia Address Book 0.01 to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE.  See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1258 Configuration:
1259   -h, --help              display this help and exit
1260       --help=short        display options specific to this package
1261       --help=recursive    display the short help of all the included packages
1262   -V, --version           display version information and exit
1263   -q, --quiet, --silent   do not print \`checking ...' messages
1264       --cache-file=FILE   cache test results in FILE [disabled]
1265   -C, --config-cache      alias for \`--cache-file=config.cache'
1266   -n, --no-create         do not create output files
1267       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270   --prefix=PREFIX         install architecture-independent files in PREFIX
1271                           [$ac_default_prefix]
1272   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1273                           [PREFIX]
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283   --bindir=DIR            user executables [EPREFIX/bin]
1284   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1285   --libexecdir=DIR        program executables [EPREFIX/libexec]
1286   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1287   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1288   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1289   --libdir=DIR            object code libraries [EPREFIX/lib]
1290   --includedir=DIR        C header files [PREFIX/include]
1291   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1292   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1293   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1294   --infodir=DIR           info documentation [DATAROOTDIR/info]
1295   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1296   --mandir=DIR            man documentation [DATAROOTDIR/man]
1297   --docdir=DIR            documentation root
1298                           [DATAROOTDIR/doc/xestia-address-book]
1299   --htmldir=DIR           html documentation [DOCDIR]
1300   --dvidir=DIR            dvi documentation [DOCDIR]
1301   --pdfdir=DIR            pdf documentation [DOCDIR]
1302   --psdir=DIR             ps documentation [DOCDIR]
1303 _ACEOF
1305   cat <<\_ACEOF
1306 _ACEOF
1307 fi
1309 if test -n "$ac_init_help"; then
1310   case $ac_init_help in
1311      short | recursive ) echo "Configuration of Xestia Address Book 0.01:";;
1312    esac
1313   cat <<\_ACEOF
1315 Optional Packages:
1316   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1317   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1318   --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1319   --with-wx-config=CONFIG wx-config script to use (optional)
1320   --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1321   --with-wx-exec-prefix=PREFIX
1322                           Exec prefix where wxWidgets is installed (optional)
1324 Some influential environment variables:
1325   CXX         C++ compiler command
1326   CXXFLAGS    C++ compiler flags
1327   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1328               nonstandard directory <lib dir>
1329   LIBS        libraries to pass to the linker, e.g. -l<library>
1330   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1331               you have headers in a nonstandard directory <include dir>
1332   CC          C compiler command
1333   CFLAGS      C compiler flags
1334   CPP         C preprocessor
1335   CXXCPP      C++ preprocessor
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to <bugs@xestia.co.uk>.
1341 _ACEOF
1342 ac_status=$?
1343 fi
1345 if test "$ac_init_help" = "recursive"; then
1346   # If there are subdirs, report their specific --help.
1347   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348     test -d "$ac_dir" ||
1349       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1350       continue
1351     ac_builddir=.
1353 case "$ac_dir" in
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355 *)
1356   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357   # A ".." for each directory in $ac_dir_suffix.
1358   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359   case $ac_top_builddir_sub in
1360   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362   esac ;;
1363 esac
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1369 case $srcdir in
1370   .)  # We are building in place.
1371     ac_srcdir=.
1372     ac_top_srcdir=$ac_top_builddir_sub
1373     ac_abs_top_srcdir=$ac_pwd ;;
1374   [\\/]* | ?:[\\/]* )  # Absolute name.
1375     ac_srcdir=$srcdir$ac_dir_suffix;
1376     ac_top_srcdir=$srcdir
1377     ac_abs_top_srcdir=$srcdir ;;
1378   *) # Relative name.
1379     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380     ac_top_srcdir=$ac_top_build_prefix$srcdir
1381     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 esac
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385     cd "$ac_dir" || { ac_status=$?; continue; }
1386     # Check for guested configure.
1387     if test -f "$ac_srcdir/configure.gnu"; then
1388       echo &&
1389       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390     elif test -f "$ac_srcdir/configure"; then
1391       echo &&
1392       $SHELL "$ac_srcdir/configure" --help=recursive
1393     else
1394       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395     fi || ac_status=$?
1396     cd "$ac_pwd" || { ac_status=$?; break; }
1397   done
1398 fi
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1402   cat <<\_ACEOF
1403 Xestia Address Book configure 0.01
1404 generated by GNU Autoconf 2.69
1406 Copyright (C) 2012 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1409 _ACEOF
1410   exit
1411 fi
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_cxx_try_compile LINENO
1418 # ----------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_cxx_try_compile ()
1422   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423   rm -f conftest.$ac_objext
1424   if { { ac_try="$ac_compile"
1425 case "(($ac_try" in
1426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427   *) ac_try_echo=$ac_try;;
1428 esac
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431   (eval "$ac_compile") 2>conftest.err
1432   ac_status=$?
1433   if test -s conftest.err; then
1434     grep -v '^ *+' conftest.err >conftest.er1
1435     cat conftest.er1 >&5
1436     mv -f conftest.er1 conftest.err
1437   fi
1438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439   test $ac_status = 0; } && {
1440          test -z "$ac_cxx_werror_flag" ||
1441          test ! -s conftest.err
1442        } && test -s conftest.$ac_objext; then :
1443   ac_retval=0
1444 else
1445   $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1448         ac_retval=1
1449 fi
1450   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1451   as_fn_set_status $ac_retval
1453 } # ac_fn_cxx_try_compile
1455 # ac_fn_c_try_compile LINENO
1456 # --------------------------
1457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_compile ()
1460   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461   rm -f conftest.$ac_objext
1462   if { { ac_try="$ac_compile"
1463 case "(($ac_try" in
1464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465   *) ac_try_echo=$ac_try;;
1466 esac
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469   (eval "$ac_compile") 2>conftest.err
1470   ac_status=$?
1471   if test -s conftest.err; then
1472     grep -v '^ *+' conftest.err >conftest.er1
1473     cat conftest.er1 >&5
1474     mv -f conftest.er1 conftest.err
1475   fi
1476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477   test $ac_status = 0; } && {
1478          test -z "$ac_c_werror_flag" ||
1479          test ! -s conftest.err
1480        } && test -s conftest.$ac_objext; then :
1481   ac_retval=0
1482 else
1483   $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1486         ac_retval=1
1487 fi
1488   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1489   as_fn_set_status $ac_retval
1491 } # ac_fn_c_try_compile
1493 # ac_fn_c_try_cpp LINENO
1494 # ----------------------
1495 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_cpp ()
1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499   if { { ac_try="$ac_cpp conftest.$ac_ext"
1500 case "(($ac_try" in
1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502   *) ac_try_echo=$ac_try;;
1503 esac
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1507   ac_status=$?
1508   if test -s conftest.err; then
1509     grep -v '^ *+' conftest.err >conftest.er1
1510     cat conftest.er1 >&5
1511     mv -f conftest.er1 conftest.err
1512   fi
1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514   test $ac_status = 0; } > conftest.i && {
1515          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1516          test ! -s conftest.err
1517        }; then :
1518   ac_retval=0
1519 else
1520   $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.$ac_ext >&5
1523     ac_retval=1
1524 fi
1525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1526   as_fn_set_status $ac_retval
1528 } # ac_fn_c_try_cpp
1530 # ac_fn_cxx_try_cpp LINENO
1531 # ------------------------
1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_cxx_try_cpp ()
1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536   if { { ac_try="$ac_cpp conftest.$ac_ext"
1537 case "(($ac_try" in
1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539   *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1544   ac_status=$?
1545   if test -s conftest.err; then
1546     grep -v '^ *+' conftest.err >conftest.er1
1547     cat conftest.er1 >&5
1548     mv -f conftest.er1 conftest.err
1549   fi
1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551   test $ac_status = 0; } > conftest.i && {
1552          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1553          test ! -s conftest.err
1554        }; then :
1555   ac_retval=0
1556 else
1557   $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560     ac_retval=1
1561 fi
1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563   as_fn_set_status $ac_retval
1565 } # ac_fn_cxx_try_cpp
1567 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1568 # ---------------------------------------------------------
1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1570 # the include files in INCLUDES and setting the cache variable VAR
1571 # accordingly.
1572 ac_fn_cxx_check_header_mongrel ()
1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575   if eval \${$3+:} false; then :
1576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579   $as_echo_n "(cached) " >&6
1580 fi
1581 eval ac_res=\$$3
1582                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1584 else
1585   # Is the header compilable?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1587 $as_echo_n "checking $2 usability... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h.  */
1590 $4
1591 #include <$2>
1592 _ACEOF
1593 if ac_fn_cxx_try_compile "$LINENO"; then :
1594   ac_header_compiler=yes
1595 else
1596   ac_header_compiler=no
1597 fi
1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1600 $as_echo "$ac_header_compiler" >&6; }
1602 # Is the header present?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1604 $as_echo_n "checking $2 presence... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h.  */
1607 #include <$2>
1608 _ACEOF
1609 if ac_fn_cxx_try_cpp "$LINENO"; then :
1610   ac_header_preproc=yes
1611 else
1612   ac_header_preproc=no
1613 fi
1614 rm -f conftest.err conftest.i conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1616 $as_echo "$ac_header_preproc" >&6; }
1618 # So?  What about this header?
1619 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1620   yes:no: )
1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1623     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1625     ;;
1626   no:yes:* )
1627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1630 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1634 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637 ( $as_echo "## -------------------------------- ##
1638 ## Report this to bugs@xestia.co.uk ##
1639 ## -------------------------------- ##"
1640      ) | sed "s/^/$as_me: WARNING:     /" >&2
1641     ;;
1642 esac
1643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \${$3+:} false; then :
1646   $as_echo_n "(cached) " >&6
1647 else
1648   eval "$3=\$ac_header_compiler"
1649 fi
1650 eval ac_res=\$$3
1651                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1653 fi
1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 } # ac_fn_cxx_check_header_mongrel
1658 # ac_fn_cxx_try_run LINENO
1659 # ------------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1662 ac_fn_cxx_try_run ()
1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665   if { { ac_try="$ac_link"
1666 case "(($ac_try" in
1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668   *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672   (eval "$ac_link") 2>&5
1673   ac_status=$?
1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676   { { case "(($ac_try" in
1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678   *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682   (eval "$ac_try") 2>&5
1683   ac_status=$?
1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685   test $ac_status = 0; }; }; then :
1686   ac_retval=0
1687 else
1688   $as_echo "$as_me: program exited with status $ac_status" >&5
1689        $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692        ac_retval=$ac_status
1693 fi
1694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696   as_fn_set_status $ac_retval
1698 } # ac_fn_cxx_try_run
1700 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1701 # ---------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_cxx_check_header_compile ()
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 $4
1715 #include <$2>
1716 _ACEOF
1717 if ac_fn_cxx_try_compile "$LINENO"; then :
1718   eval "$3=yes"
1719 else
1720   eval "$3=no"
1721 fi
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 fi
1724 eval ac_res=\$$3
1725                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 } # ac_fn_cxx_check_header_compile
1731 # ac_fn_cxx_try_link LINENO
1732 # -------------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_cxx_try_link ()
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   rm -f conftest.$ac_objext conftest$ac_exeext
1738   if { { ac_try="$ac_link"
1739 case "(($ac_try" in
1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741   *) ac_try_echo=$ac_try;;
1742 esac
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745   (eval "$ac_link") 2>conftest.err
1746   ac_status=$?
1747   if test -s conftest.err; then
1748     grep -v '^ *+' conftest.err >conftest.er1
1749     cat conftest.er1 >&5
1750     mv -f conftest.er1 conftest.err
1751   fi
1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753   test $ac_status = 0; } && {
1754          test -z "$ac_cxx_werror_flag" ||
1755          test ! -s conftest.err
1756        } && test -s conftest$ac_exeext && {
1757          test "$cross_compiling" = yes ||
1758          test -x conftest$ac_exeext
1759        }; then :
1760   ac_retval=0
1761 else
1762   $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1765         ac_retval=1
1766 fi
1767   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769   # interfere with the next link command; also delete a directory that is
1770   # left behind by Apple's compiler.  We do this before executing the actions.
1771   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773   as_fn_set_status $ac_retval
1775 } # ac_fn_cxx_try_link
1777 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1778 # ---------------------------------------------
1779 # Tests whether TYPE exists after having included INCLUDES, setting cache
1780 # variable VAR accordingly.
1781 ac_fn_cxx_check_type ()
1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787   $as_echo_n "(cached) " >&6
1788 else
1789   eval "$3=no"
1790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h.  */
1792 $4
1793 int
1794 main ()
1796 if (sizeof ($2))
1797          return 0;
1798   ;
1799   return 0;
1801 _ACEOF
1802 if ac_fn_cxx_try_compile "$LINENO"; then :
1803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h.  */
1805 $4
1806 int
1807 main ()
1809 if (sizeof (($2)))
1810             return 0;
1811   ;
1812   return 0;
1814 _ACEOF
1815 if ac_fn_cxx_try_compile "$LINENO"; then :
1817 else
1818   eval "$3=yes"
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 fi
1824 eval ac_res=\$$3
1825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_cxx_check_type
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1834 It was created by Xestia Address Book $as_me 0.01, which was
1835 generated by GNU Autoconf 2.69.  Invocation command line was
1837   $ $0 $@
1839 _ACEOF
1840 exec 5>>config.log
1842 cat <<_ASUNAME
1843 ## --------- ##
1844 ## Platform. ##
1845 ## --------- ##
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1864 _ASUNAME
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 for as_dir in $PATH
1868 do
1869   IFS=$as_save_IFS
1870   test -z "$as_dir" && as_dir=.
1871     $as_echo "PATH: $as_dir"
1872   done
1873 IFS=$as_save_IFS
1875 } >&5
1877 cat >&5 <<_ACEOF
1880 ## ----------- ##
1881 ## Core tests. ##
1882 ## ----------- ##
1884 _ACEOF
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1892 ac_configure_args=
1893 ac_configure_args0=
1894 ac_configure_args1=
1895 ac_must_keep_next=false
1896 for ac_pass in 1 2
1897 do
1898   for ac_arg
1899   do
1900     case $ac_arg in
1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903     | -silent | --silent | --silen | --sile | --sil)
1904       continue ;;
1905     *\'*)
1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1907     esac
1908     case $ac_pass in
1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1910     2)
1911       as_fn_append ac_configure_args1 " '$ac_arg'"
1912       if test $ac_must_keep_next = true; then
1913         ac_must_keep_next=false # Got value, back to normal.
1914       else
1915         case $ac_arg in
1916           *=* | --config-cache | -C | -disable-* | --disable-* \
1917           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919           | -with-* | --with-* | -without-* | --without-* | --x)
1920             case "$ac_configure_args0 " in
1921               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1922             esac
1923             ;;
1924           -* ) ac_must_keep_next=true ;;
1925         esac
1926       fi
1927       as_fn_append ac_configure_args " '$ac_arg'"
1928       ;;
1929     esac
1930   done
1931 done
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log.  We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941   # Save into config.log some information that might help in debugging.
1942   {
1943     echo
1945     $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1948     echo
1949     # The following way of writing the cache mishandles newlines in values,
1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952     eval ac_val=\$$ac_var
1953     case $ac_val in #(
1954     *${as_nl}*)
1955       case $ac_var in #(
1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1958       esac
1959       case $ac_var in #(
1960       _ | IFS | as_nl) ;; #(
1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962       *) { eval $ac_var=; unset $ac_var;} ;;
1963       esac ;;
1964     esac
1965   done
1966   (set) 2>&1 |
1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968     *${as_nl}ac_space=\ *)
1969       sed -n \
1970         "s/'\''/'\''\\\\'\'''\''/g;
1971           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1972       ;; #(
1973     *)
1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1975       ;;
1976     esac |
1977     sort
1979     echo
1981     $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1984     echo
1985     for ac_var in $ac_subst_vars
1986     do
1987       eval ac_val=\$$ac_var
1988       case $ac_val in
1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990       esac
1991       $as_echo "$ac_var='\''$ac_val'\''"
1992     done | sort
1993     echo
1995     if test -n "$ac_subst_files"; then
1996       $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
1999       echo
2000       for ac_var in $ac_subst_files
2001       do
2002         eval ac_val=\$$ac_var
2003         case $ac_val in
2004         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005         esac
2006         $as_echo "$ac_var='\''$ac_val'\''"
2007       done | sort
2008       echo
2009     fi
2011     if test -s confdefs.h; then
2012       $as_echo "## ----------- ##
2013 ## confdefs.h. ##
2014 ## ----------- ##"
2015       echo
2016       cat confdefs.h
2017       echo
2018     fi
2019     test "$ac_signal" != 0 &&
2020       $as_echo "$as_me: caught signal $ac_signal"
2021     $as_echo "$as_me: exit $exit_status"
2022   } >&5
2023   rm -f core *.core core.conftest.* &&
2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2025     exit $exit_status
2026 ' 0
2027 for ac_signal in 1 2 13 15; do
2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029 done
2030 ac_signal=0
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2035 $as_echo "/* confdefs.h */" > confdefs.h
2037 # Predefined preprocessor variables.
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2041 _ACEOF
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2045 _ACEOF
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2049 _ACEOF
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2053 _ACEOF
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2057 _ACEOF
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2061 _ACEOF
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2066 ac_site_file1=NONE
2067 ac_site_file2=NONE
2068 if test -n "$CONFIG_SITE"; then
2069   # We do not want a PATH search for config.site.
2070   case $CONFIG_SITE in #((
2071     -*)  ac_site_file1=./$CONFIG_SITE;;
2072     */*) ac_site_file1=$CONFIG_SITE;;
2073     *)   ac_site_file1=./$CONFIG_SITE;;
2074   esac
2075 elif test "x$prefix" != xNONE; then
2076   ac_site_file1=$prefix/share/config.site
2077   ac_site_file2=$prefix/etc/config.site
2078 else
2079   ac_site_file1=$ac_default_prefix/share/config.site
2080   ac_site_file2=$ac_default_prefix/etc/config.site
2081 fi
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2083 do
2084   test "x$ac_site_file" = xNONE && continue
2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088     sed 's/^/| /' "$ac_site_file" >&5
2089     . "$ac_site_file" \
2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2094   fi
2095 done
2097 if test -r "$cache_file"; then
2098   # Some versions of bash will fail to source /dev/null (special files
2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2103     case $cache_file in
2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105       *)                      . "./$cache_file";;
2106     esac
2107   fi
2108 else
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2111   >$cache_file
2112 fi
2114 # Check that the precious variables saved in the cache have kept the same
2115 # value.
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119   eval ac_new_set=\$ac_env_${ac_var}_set
2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121   eval ac_new_val=\$ac_env_${ac_var}_value
2122   case $ac_old_set,$ac_new_set in
2123     set,)
2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126       ac_cache_corrupted=: ;;
2127     ,set)
2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130       ac_cache_corrupted=: ;;
2131     ,);;
2132     *)
2133       if test "x$ac_old_val" != "x$ac_new_val"; then
2134         # differences in whitespace do not lead to failure.
2135         ac_old_val_w=`echo x $ac_old_val`
2136         ac_new_val_w=`echo x $ac_new_val`
2137         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140           ac_cache_corrupted=:
2141         else
2142           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144           eval $ac_var=\$ac_old_val
2145         fi
2146         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2148         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2150       fi;;
2151   esac
2152   # Pass precious variables to config.status.
2153   if test "$ac_new_set" = set; then
2154     case $ac_new_val in
2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156     *) ac_arg=$ac_var=$ac_new_val ;;
2157     esac
2158     case " $ac_configure_args " in
2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2161     esac
2162   fi
2163 done
2164 if $ac_cache_corrupted; then
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2170 fi
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2175 ac_ext=c
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182 #AC_CONFIG_SRCDIR([version.h])
2183 #AC_CONFIG_HEADERS([config.h])
2185 # Checks for programs.
2186 ac_ext=cpp
2187 ac_cpp='$CXXCPP $CPPFLAGS'
2188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2191 if test -z "$CXX"; then
2192   if test -n "$CCC"; then
2193     CXX=$CCC
2194   else
2195     if test -n "$ac_tool_prefix"; then
2196   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2197   do
2198     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if ${ac_cv_prog_CXX+:} false; then :
2203   $as_echo_n "(cached) " >&6
2204 else
2205   if test -n "$CXX"; then
2206   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2207 else
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2210 do
2211   IFS=$as_save_IFS
2212   test -z "$as_dir" && as_dir=.
2213     for ac_exec_ext in '' $ac_executable_extensions; do
2214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2217     break 2
2218   fi
2219 done
2220   done
2221 IFS=$as_save_IFS
2223 fi
2224 fi
2225 CXX=$ac_cv_prog_CXX
2226 if test -n "$CXX"; then
2227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2228 $as_echo "$CXX" >&6; }
2229 else
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2232 fi
2235     test -n "$CXX" && break
2236   done
2237 fi
2238 if test -z "$CXX"; then
2239   ac_ct_CXX=$CXX
2240   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2241 do
2242   # Extract the first word of "$ac_prog", so it can be a program name with args.
2243 set dummy $ac_prog; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2247   $as_echo_n "(cached) " >&6
2248 else
2249   if test -n "$ac_ct_CXX"; then
2250   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255   IFS=$as_save_IFS
2256   test -z "$as_dir" && as_dir=.
2257     for ac_exec_ext in '' $ac_executable_extensions; do
2258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259     ac_cv_prog_ac_ct_CXX="$ac_prog"
2260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2261     break 2
2262   fi
2263 done
2264   done
2265 IFS=$as_save_IFS
2267 fi
2268 fi
2269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2270 if test -n "$ac_ct_CXX"; then
2271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2272 $as_echo "$ac_ct_CXX" >&6; }
2273 else
2274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2276 fi
2279   test -n "$ac_ct_CXX" && break
2280 done
2282   if test "x$ac_ct_CXX" = x; then
2283     CXX="g++"
2284   else
2285     case $cross_compiling:$ac_tool_warned in
2286 yes:)
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2289 ac_tool_warned=yes ;;
2290 esac
2291     CXX=$ac_ct_CXX
2292   fi
2293 fi
2295   fi
2296 fi
2297 # Provide some information about the compiler.
2298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2299 set X $ac_compile
2300 ac_compiler=$2
2301 for ac_option in --version -v -V -qversion; do
2302   { { ac_try="$ac_compiler $ac_option >&5"
2303 case "(($ac_try" in
2304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305   *) ac_try_echo=$ac_try;;
2306 esac
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2310   ac_status=$?
2311   if test -s conftest.err; then
2312     sed '10a\
2313 ... rest of stderr output deleted ...
2314          10q' conftest.err >conftest.er1
2315     cat conftest.er1 >&5
2316   fi
2317   rm -f conftest.er1 conftest.err
2318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319   test $ac_status = 0; }
2320 done
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h.  */
2325 int
2326 main ()
2329   ;
2330   return 0;
2332 _ACEOF
2333 ac_clean_files_save=$ac_clean_files
2334 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2335 # Try to create an executable without -o first, disregard a.out.
2336 # It will help us diagnose broken compilers, and finding out an intuition
2337 # of exeext.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2339 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2340 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2342 # The possible output files:
2343 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2345 ac_rmfiles=
2346 for ac_file in $ac_files
2347 do
2348   case $ac_file in
2349     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2350     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2351   esac
2352 done
2353 rm -f $ac_rmfiles
2355 if { { ac_try="$ac_link_default"
2356 case "(($ac_try" in
2357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358   *) ac_try_echo=$ac_try;;
2359 esac
2360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362   (eval "$ac_link_default") 2>&5
2363   ac_status=$?
2364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365   test $ac_status = 0; }; then :
2366   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2367 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2368 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2369 # so that the user can short-circuit this test for compilers unknown to
2370 # Autoconf.
2371 for ac_file in $ac_files ''
2372 do
2373   test -f "$ac_file" || continue
2374   case $ac_file in
2375     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2376         ;;
2377     [ab].out )
2378         # We found the default executable, but exeext='' is most
2379         # certainly right.
2380         break;;
2381     *.* )
2382         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2383         then :; else
2384            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2385         fi
2386         # We set ac_cv_exeext here because the later test for it is not
2387         # safe: cross compilers may not add the suffix if given an `-o'
2388         # argument, so we may need to know it at that point already.
2389         # Even if this section looks crufty: it has the advantage of
2390         # actually working.
2391         break;;
2392     * )
2393         break;;
2394   esac
2395 done
2396 test "$ac_cv_exeext" = no && ac_cv_exeext=
2398 else
2399   ac_file=''
2400 fi
2401 if test -z "$ac_file"; then :
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409 as_fn_error 77 "C++ compiler cannot create executables
2410 See \`config.log' for more details" "$LINENO" 5; }
2411 else
2412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2413 $as_echo "yes" >&6; }
2414 fi
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2416 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2418 $as_echo "$ac_file" >&6; }
2419 ac_exeext=$ac_cv_exeext
2421 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2422 ac_clean_files=$ac_clean_files_save
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2424 $as_echo_n "checking for suffix of executables... " >&6; }
2425 if { { ac_try="$ac_link"
2426 case "(($ac_try" in
2427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428   *) ac_try_echo=$ac_try;;
2429 esac
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432   (eval "$ac_link") 2>&5
2433   ac_status=$?
2434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435   test $ac_status = 0; }; then :
2436   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2437 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2438 # work properly (i.e., refer to `conftest.exe'), while it won't with
2439 # `rm'.
2440 for ac_file in conftest.exe conftest conftest.*; do
2441   test -f "$ac_file" || continue
2442   case $ac_file in
2443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2444     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2445           break;;
2446     * ) break;;
2447   esac
2448 done
2449 else
2450   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2453 See \`config.log' for more details" "$LINENO" 5; }
2454 fi
2455 rm -f conftest conftest$ac_cv_exeext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2457 $as_echo "$ac_cv_exeext" >&6; }
2459 rm -f conftest.$ac_ext
2460 EXEEXT=$ac_cv_exeext
2461 ac_exeext=$EXEEXT
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h.  */
2464 #include <stdio.h>
2465 int
2466 main ()
2468 FILE *f = fopen ("conftest.out", "w");
2469  return ferror (f) || fclose (f) != 0;
2471   ;
2472   return 0;
2474 _ACEOF
2475 ac_clean_files="$ac_clean_files conftest.out"
2476 # Check that the compiler produces executables we can run.  If not, either
2477 # the compiler is broken, or we cross compile.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2479 $as_echo_n "checking whether we are cross compiling... " >&6; }
2480 if test "$cross_compiling" != yes; then
2481   { { ac_try="$ac_link"
2482 case "(($ac_try" in
2483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484   *) ac_try_echo=$ac_try;;
2485 esac
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 $as_echo "$ac_try_echo"; } >&5
2488   (eval "$ac_link") 2>&5
2489   ac_status=$?
2490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491   test $ac_status = 0; }
2492   if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
2500   ac_status=$?
2501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502   test $ac_status = 0; }; }; then
2503     cross_compiling=no
2504   else
2505     if test "$cross_compiling" = maybe; then
2506         cross_compiling=yes
2507     else
2508         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 as_fn_error $? "cannot run C++ compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details" "$LINENO" 5; }
2513     fi
2514   fi
2515 fi
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2517 $as_echo "$cross_compiling" >&6; }
2519 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2520 ac_clean_files=$ac_clean_files_save
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2522 $as_echo_n "checking for suffix of object files... " >&6; }
2523 if ${ac_cv_objext+:} false; then :
2524   $as_echo_n "(cached) " >&6
2525 else
2526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527 /* end confdefs.h.  */
2529 int
2530 main ()
2533   ;
2534   return 0;
2536 _ACEOF
2537 rm -f conftest.o conftest.obj
2538 if { { ac_try="$ac_compile"
2539 case "(($ac_try" in
2540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541   *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545   (eval "$ac_compile") 2>&5
2546   ac_status=$?
2547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548   test $ac_status = 0; }; then :
2549   for ac_file in conftest.o conftest.obj conftest.*; do
2550   test -f "$ac_file" || continue;
2551   case $ac_file in
2552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2553     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2554        break;;
2555   esac
2556 done
2557 else
2558   $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563 as_fn_error $? "cannot compute suffix of object files: cannot compile
2564 See \`config.log' for more details" "$LINENO" 5; }
2565 fi
2566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2567 fi
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2569 $as_echo "$ac_cv_objext" >&6; }
2570 OBJEXT=$ac_cv_objext
2571 ac_objext=$OBJEXT
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2573 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2574 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2575   $as_echo_n "(cached) " >&6
2576 else
2577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h.  */
2580 int
2581 main ()
2583 #ifndef __GNUC__
2584        choke me
2585 #endif
2587   ;
2588   return 0;
2590 _ACEOF
2591 if ac_fn_cxx_try_compile "$LINENO"; then :
2592   ac_compiler_gnu=yes
2593 else
2594   ac_compiler_gnu=no
2595 fi
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2599 fi
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2601 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2602 if test $ac_compiler_gnu = yes; then
2603   GXX=yes
2604 else
2605   GXX=
2606 fi
2607 ac_test_CXXFLAGS=${CXXFLAGS+set}
2608 ac_save_CXXFLAGS=$CXXFLAGS
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2610 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2611 if ${ac_cv_prog_cxx_g+:} false; then :
2612   $as_echo_n "(cached) " >&6
2613 else
2614   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2615    ac_cxx_werror_flag=yes
2616    ac_cv_prog_cxx_g=no
2617    CXXFLAGS="-g"
2618    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619 /* end confdefs.h.  */
2621 int
2622 main ()
2625   ;
2626   return 0;
2628 _ACEOF
2629 if ac_fn_cxx_try_compile "$LINENO"; then :
2630   ac_cv_prog_cxx_g=yes
2631 else
2632   CXXFLAGS=""
2633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h.  */
2636 int
2637 main ()
2640   ;
2641   return 0;
2643 _ACEOF
2644 if ac_fn_cxx_try_compile "$LINENO"; then :
2646 else
2647   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2648          CXXFLAGS="-g"
2649          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h.  */
2652 int
2653 main ()
2656   ;
2657   return 0;
2659 _ACEOF
2660 if ac_fn_cxx_try_compile "$LINENO"; then :
2661   ac_cv_prog_cxx_g=yes
2662 fi
2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2664 fi
2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2666 fi
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2669 fi
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2671 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2672 if test "$ac_test_CXXFLAGS" = set; then
2673   CXXFLAGS=$ac_save_CXXFLAGS
2674 elif test $ac_cv_prog_cxx_g = yes; then
2675   if test "$GXX" = yes; then
2676     CXXFLAGS="-g -O2"
2677   else
2678     CXXFLAGS="-g"
2679   fi
2680 else
2681   if test "$GXX" = yes; then
2682     CXXFLAGS="-O2"
2683   else
2684     CXXFLAGS=
2685   fi
2686 fi
2687 ac_ext=c
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693 ac_ext=c
2694 ac_cpp='$CPP $CPPFLAGS'
2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2698 if test -n "$ac_tool_prefix"; then
2699   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if ${ac_cv_prog_CC+:} false; then :
2704   $as_echo_n "(cached) " >&6
2705 else
2706   if test -n "$CC"; then
2707   ac_cv_prog_CC="$CC" # Let the user override the test.
2708 else
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 for as_dir in $PATH
2711 do
2712   IFS=$as_save_IFS
2713   test -z "$as_dir" && as_dir=.
2714     for ac_exec_ext in '' $ac_executable_extensions; do
2715   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718     break 2
2719   fi
2720 done
2721   done
2722 IFS=$as_save_IFS
2724 fi
2725 fi
2726 CC=$ac_cv_prog_CC
2727 if test -n "$CC"; then
2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2730 else
2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2733 fi
2736 fi
2737 if test -z "$ac_cv_prog_CC"; then
2738   ac_ct_CC=$CC
2739   # Extract the first word of "gcc", so it can be a program name with args.
2740 set dummy gcc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2744   $as_echo_n "(cached) " >&6
2745 else
2746   if test -n "$ac_ct_CC"; then
2747   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2751 do
2752   IFS=$as_save_IFS
2753   test -z "$as_dir" && as_dir=.
2754     for ac_exec_ext in '' $ac_executable_extensions; do
2755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756     ac_cv_prog_ac_ct_CC="gcc"
2757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758     break 2
2759   fi
2760 done
2761   done
2762 IFS=$as_save_IFS
2764 fi
2765 fi
2766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2767 if test -n "$ac_ct_CC"; then
2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2769 $as_echo "$ac_ct_CC" >&6; }
2770 else
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2773 fi
2775   if test "x$ac_ct_CC" = x; then
2776     CC=""
2777   else
2778     case $cross_compiling:$ac_tool_warned in
2779 yes:)
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2782 ac_tool_warned=yes ;;
2783 esac
2784     CC=$ac_ct_CC
2785   fi
2786 else
2787   CC="$ac_cv_prog_CC"
2788 fi
2790 if test -z "$CC"; then
2791           if test -n "$ac_tool_prefix"; then
2792     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2793 set dummy ${ac_tool_prefix}cc; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_CC+:} false; then :
2797   $as_echo_n "(cached) " >&6
2798 else
2799   if test -n "$CC"; then
2800   ac_cv_prog_CC="$CC" # Let the user override the test.
2801 else
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 for as_dir in $PATH
2804 do
2805   IFS=$as_save_IFS
2806   test -z "$as_dir" && as_dir=.
2807     for ac_exec_ext in '' $ac_executable_extensions; do
2808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809     ac_cv_prog_CC="${ac_tool_prefix}cc"
2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811     break 2
2812   fi
2813 done
2814   done
2815 IFS=$as_save_IFS
2817 fi
2818 fi
2819 CC=$ac_cv_prog_CC
2820 if test -n "$CC"; then
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2822 $as_echo "$CC" >&6; }
2823 else
2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2826 fi
2829   fi
2830 fi
2831 if test -z "$CC"; then
2832   # Extract the first word of "cc", so it can be a program name with args.
2833 set dummy cc; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if ${ac_cv_prog_CC+:} false; then :
2837   $as_echo_n "(cached) " >&6
2838 else
2839   if test -n "$CC"; then
2840   ac_cv_prog_CC="$CC" # Let the user override the test.
2841 else
2842   ac_prog_rejected=no
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 for as_dir in $PATH
2845 do
2846   IFS=$as_save_IFS
2847   test -z "$as_dir" && as_dir=.
2848     for ac_exec_ext in '' $ac_executable_extensions; do
2849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2851        ac_prog_rejected=yes
2852        continue
2853      fi
2854     ac_cv_prog_CC="cc"
2855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2856     break 2
2857   fi
2858 done
2859   done
2860 IFS=$as_save_IFS
2862 if test $ac_prog_rejected = yes; then
2863   # We found a bogon in the path, so make sure we never use it.
2864   set dummy $ac_cv_prog_CC
2865   shift
2866   if test $# != 0; then
2867     # We chose a different compiler from the bogus one.
2868     # However, it has the same basename, so the bogon will be chosen
2869     # first if we set CC to just the basename; use the full file name.
2870     shift
2871     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2872   fi
2873 fi
2874 fi
2875 fi
2876 CC=$ac_cv_prog_CC
2877 if test -n "$CC"; then
2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2879 $as_echo "$CC" >&6; }
2880 else
2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2883 fi
2886 fi
2887 if test -z "$CC"; then
2888   if test -n "$ac_tool_prefix"; then
2889   for ac_prog in cl.exe
2890   do
2891     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_CC+:} false; then :
2896   $as_echo_n "(cached) " >&6
2897 else
2898   if test -n "$CC"; then
2899   ac_cv_prog_CC="$CC" # Let the user override the test.
2900 else
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 for as_dir in $PATH
2903 do
2904   IFS=$as_save_IFS
2905   test -z "$as_dir" && as_dir=.
2906     for ac_exec_ext in '' $ac_executable_extensions; do
2907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910     break 2
2911   fi
2912 done
2913   done
2914 IFS=$as_save_IFS
2916 fi
2917 fi
2918 CC=$ac_cv_prog_CC
2919 if test -n "$CC"; then
2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2922 else
2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2925 fi
2928     test -n "$CC" && break
2929   done
2930 fi
2931 if test -z "$CC"; then
2932   ac_ct_CC=$CC
2933   for ac_prog in cl.exe
2934 do
2935   # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   if test -n "$ac_ct_CC"; then
2943   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2944 else
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 for as_dir in $PATH
2947 do
2948   IFS=$as_save_IFS
2949   test -z "$as_dir" && as_dir=.
2950     for ac_exec_ext in '' $ac_executable_extensions; do
2951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952     ac_cv_prog_ac_ct_CC="$ac_prog"
2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954     break 2
2955   fi
2956 done
2957   done
2958 IFS=$as_save_IFS
2960 fi
2961 fi
2962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2966 else
2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 fi
2972   test -n "$ac_ct_CC" && break
2973 done
2975   if test "x$ac_ct_CC" = x; then
2976     CC=""
2977   else
2978     case $cross_compiling:$ac_tool_warned in
2979 yes:)
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned=yes ;;
2983 esac
2984     CC=$ac_ct_CC
2985   fi
2986 fi
2988 fi
2991 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "no acceptable C compiler found in \$PATH
2994 See \`config.log' for more details" "$LINENO" 5; }
2996 # Provide some information about the compiler.
2997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2998 set X $ac_compile
2999 ac_compiler=$2
3000 for ac_option in --version -v -V -qversion; do
3001   { { ac_try="$ac_compiler $ac_option >&5"
3002 case "(($ac_try" in
3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004   *) ac_try_echo=$ac_try;;
3005 esac
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3009   ac_status=$?
3010   if test -s conftest.err; then
3011     sed '10a\
3012 ... rest of stderr output deleted ...
3013          10q' conftest.err >conftest.er1
3014     cat conftest.er1 >&5
3015   fi
3016   rm -f conftest.er1 conftest.err
3017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018   test $ac_status = 0; }
3019 done
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3023 if ${ac_cv_c_compiler_gnu+:} false; then :
3024   $as_echo_n "(cached) " >&6
3025 else
3026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h.  */
3029 int
3030 main ()
3032 #ifndef __GNUC__
3033        choke me
3034 #endif
3036   ;
3037   return 0;
3039 _ACEOF
3040 if ac_fn_c_try_compile "$LINENO"; then :
3041   ac_compiler_gnu=yes
3042 else
3043   ac_compiler_gnu=no
3044 fi
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3048 fi
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3051 if test $ac_compiler_gnu = yes; then
3052   GCC=yes
3053 else
3054   GCC=
3055 fi
3056 ac_test_CFLAGS=${CFLAGS+set}
3057 ac_save_CFLAGS=$CFLAGS
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3060 if ${ac_cv_prog_cc_g+:} false; then :
3061   $as_echo_n "(cached) " >&6
3062 else
3063   ac_save_c_werror_flag=$ac_c_werror_flag
3064    ac_c_werror_flag=yes
3065    ac_cv_prog_cc_g=no
3066    CFLAGS="-g"
3067    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h.  */
3070 int
3071 main ()
3074   ;
3075   return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079   ac_cv_prog_cc_g=yes
3080 else
3081   CFLAGS=""
3082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h.  */
3085 int
3086 main ()
3089   ;
3090   return 0;
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3095 else
3096   ac_c_werror_flag=$ac_save_c_werror_flag
3097          CFLAGS="-g"
3098          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h.  */
3101 int
3102 main ()
3105   ;
3106   return 0;
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"; then :
3110   ac_cv_prog_cc_g=yes
3111 fi
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 fi
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 fi
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117    ac_c_werror_flag=$ac_save_c_werror_flag
3118 fi
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3120 $as_echo "$ac_cv_prog_cc_g" >&6; }
3121 if test "$ac_test_CFLAGS" = set; then
3122   CFLAGS=$ac_save_CFLAGS
3123 elif test $ac_cv_prog_cc_g = yes; then
3124   if test "$GCC" = yes; then
3125     CFLAGS="-g -O2"
3126   else
3127     CFLAGS="-g"
3128   fi
3129 else
3130   if test "$GCC" = yes; then
3131     CFLAGS="-O2"
3132   else
3133     CFLAGS=
3134   fi
3135 fi
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3138 if ${ac_cv_prog_cc_c89+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   ac_cv_prog_cc_c89=no
3142 ac_save_CC=$CC
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h.  */
3145 #include <stdarg.h>
3146 #include <stdio.h>
3147 struct stat;
3148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3149 struct buf { int x; };
3150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3151 static char *e (p, i)
3152      char **p;
3153      int i;
3155   return p[i];
3157 static char *f (char * (*g) (char **, int), char **p, ...)
3159   char *s;
3160   va_list v;
3161   va_start (v,p);
3162   s = g (p, va_arg (v,int));
3163   va_end (v);
3164   return s;
3167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3168    function prototypes and stuff, but not '\xHH' hex character constants.
3169    These don't provoke an error unfortunately, instead are silently treated
3170    as 'x'.  The following induces an error, until -std is added to get
3171    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3172    array size at least.  It's necessary to write '\x00'==0 to get something
3173    that's true only with -std.  */
3174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3177    inside strings and character constants.  */
3178 #define FOO(x) 'x'
3179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3181 int test (int i, double x);
3182 struct s1 {int (*f) (int a);};
3183 struct s2 {int (*f) (double a);};
3184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3185 int argc;
3186 char **argv;
3187 int
3188 main ()
3190 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3191   ;
3192   return 0;
3194 _ACEOF
3195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3196         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3197 do
3198   CC="$ac_save_CC $ac_arg"
3199   if ac_fn_c_try_compile "$LINENO"; then :
3200   ac_cv_prog_cc_c89=$ac_arg
3201 fi
3202 rm -f core conftest.err conftest.$ac_objext
3203   test "x$ac_cv_prog_cc_c89" != "xno" && break
3204 done
3205 rm -f conftest.$ac_ext
3206 CC=$ac_save_CC
3208 fi
3209 # AC_CACHE_VAL
3210 case "x$ac_cv_prog_cc_c89" in
3211   x)
3212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3213 $as_echo "none needed" >&6; } ;;
3214   xno)
3215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3216 $as_echo "unsupported" >&6; } ;;
3217   *)
3218     CC="$CC $ac_cv_prog_cc_c89"
3219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3221 esac
3222 if test "x$ac_cv_prog_cc_c89" != xno; then :
3224 fi
3226 ac_ext=c
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232 ac_ext=c
3233 ac_cpp='$CPP $CPPFLAGS'
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3239 # On Suns, sometimes $CPP names a directory.
3240 if test -n "$CPP" && test -d "$CPP"; then
3241   CPP=
3242 fi
3243 if test -z "$CPP"; then
3244   if ${ac_cv_prog_CPP+:} false; then :
3245   $as_echo_n "(cached) " >&6
3246 else
3247       # Double quotes because CPP needs to be expanded
3248     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3249     do
3250       ac_preproc_ok=false
3251 for ac_c_preproc_warn_flag in '' yes
3252 do
3253   # Use a header file that comes with gcc, so configuring glibc
3254   # with a fresh cross-compiler works.
3255   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256   # <limits.h> exists even on freestanding compilers.
3257   # On the NeXT, cc -E runs the code through the compiler's parser,
3258   # not just through cpp. "Syntax error" is here to catch this case.
3259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h.  */
3261 #ifdef __STDC__
3262 # include <limits.h>
3263 #else
3264 # include <assert.h>
3265 #endif
3266                      Syntax error
3267 _ACEOF
3268 if ac_fn_c_try_cpp "$LINENO"; then :
3270 else
3271   # Broken: fails on valid input.
3272 continue
3273 fi
3274 rm -f conftest.err conftest.i conftest.$ac_ext
3276   # OK, works on sane cases.  Now check whether nonexistent headers
3277   # can be detected and how.
3278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h.  */
3280 #include <ac_nonexistent.h>
3281 _ACEOF
3282 if ac_fn_c_try_cpp "$LINENO"; then :
3283   # Broken: success on invalid input.
3284 continue
3285 else
3286   # Passes both tests.
3287 ac_preproc_ok=:
3288 break
3289 fi
3290 rm -f conftest.err conftest.i conftest.$ac_ext
3292 done
3293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3294 rm -f conftest.i conftest.err conftest.$ac_ext
3295 if $ac_preproc_ok; then :
3296   break
3297 fi
3299     done
3300     ac_cv_prog_CPP=$CPP
3302 fi
3303   CPP=$ac_cv_prog_CPP
3304 else
3305   ac_cv_prog_CPP=$CPP
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3308 $as_echo "$CPP" >&6; }
3309 ac_preproc_ok=false
3310 for ac_c_preproc_warn_flag in '' yes
3311 do
3312   # Use a header file that comes with gcc, so configuring glibc
3313   # with a fresh cross-compiler works.
3314   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3315   # <limits.h> exists even on freestanding compilers.
3316   # On the NeXT, cc -E runs the code through the compiler's parser,
3317   # not just through cpp. "Syntax error" is here to catch this case.
3318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h.  */
3320 #ifdef __STDC__
3321 # include <limits.h>
3322 #else
3323 # include <assert.h>
3324 #endif
3325                      Syntax error
3326 _ACEOF
3327 if ac_fn_c_try_cpp "$LINENO"; then :
3329 else
3330   # Broken: fails on valid input.
3331 continue
3332 fi
3333 rm -f conftest.err conftest.i conftest.$ac_ext
3335   # OK, works on sane cases.  Now check whether nonexistent headers
3336   # can be detected and how.
3337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h.  */
3339 #include <ac_nonexistent.h>
3340 _ACEOF
3341 if ac_fn_c_try_cpp "$LINENO"; then :
3342   # Broken: success on invalid input.
3343 continue
3344 else
3345   # Passes both tests.
3346 ac_preproc_ok=:
3347 break
3348 fi
3349 rm -f conftest.err conftest.i conftest.$ac_ext
3351 done
3352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3353 rm -f conftest.i conftest.err conftest.$ac_ext
3354 if $ac_preproc_ok; then :
3356 else
3357   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3360 See \`config.log' for more details" "$LINENO" 5; }
3361 fi
3363 ac_ext=c
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 # Checks for libraries.
3372 # wxWidgets
3374 ac_ext=cpp
3375 ac_cpp='$CXXCPP $CPPFLAGS'
3376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3381 # Check for C++11 support for the compiler.
3383 CPPFLAGS="$CPPFLAGS -std=c++11"
3384 CXXFLAGS="$CXXFLAGS -std=c++11"
3387 ac_ext=cpp
3388 ac_cpp='$CXXCPP $CPPFLAGS'
3389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3393 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3394 if test -z "$CXXCPP"; then
3395   if ${ac_cv_prog_CXXCPP+:} false; then :
3396   $as_echo_n "(cached) " >&6
3397 else
3398       # Double quotes because CXXCPP needs to be expanded
3399     for CXXCPP in "$CXX -E" "/lib/cpp"
3400     do
3401       ac_preproc_ok=false
3402 for ac_cxx_preproc_warn_flag in '' yes
3403 do
3404   # Use a header file that comes with gcc, so configuring glibc
3405   # with a fresh cross-compiler works.
3406   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3407   # <limits.h> exists even on freestanding compilers.
3408   # On the NeXT, cc -E runs the code through the compiler's parser,
3409   # not just through cpp. "Syntax error" is here to catch this case.
3410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h.  */
3412 #ifdef __STDC__
3413 # include <limits.h>
3414 #else
3415 # include <assert.h>
3416 #endif
3417                      Syntax error
3418 _ACEOF
3419 if ac_fn_cxx_try_cpp "$LINENO"; then :
3421 else
3422   # Broken: fails on valid input.
3423 continue
3424 fi
3425 rm -f conftest.err conftest.i conftest.$ac_ext
3427   # OK, works on sane cases.  Now check whether nonexistent headers
3428   # can be detected and how.
3429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h.  */
3431 #include <ac_nonexistent.h>
3432 _ACEOF
3433 if ac_fn_cxx_try_cpp "$LINENO"; then :
3434   # Broken: success on invalid input.
3435 continue
3436 else
3437   # Passes both tests.
3438 ac_preproc_ok=:
3439 break
3440 fi
3441 rm -f conftest.err conftest.i conftest.$ac_ext
3443 done
3444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3445 rm -f conftest.i conftest.err conftest.$ac_ext
3446 if $ac_preproc_ok; then :
3447   break
3448 fi
3450     done
3451     ac_cv_prog_CXXCPP=$CXXCPP
3453 fi
3454   CXXCPP=$ac_cv_prog_CXXCPP
3455 else
3456   ac_cv_prog_CXXCPP=$CXXCPP
3457 fi
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3459 $as_echo "$CXXCPP" >&6; }
3460 ac_preproc_ok=false
3461 for ac_cxx_preproc_warn_flag in '' yes
3462 do
3463   # Use a header file that comes with gcc, so configuring glibc
3464   # with a fresh cross-compiler works.
3465   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3466   # <limits.h> exists even on freestanding compilers.
3467   # On the NeXT, cc -E runs the code through the compiler's parser,
3468   # not just through cpp. "Syntax error" is here to catch this case.
3469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h.  */
3471 #ifdef __STDC__
3472 # include <limits.h>
3473 #else
3474 # include <assert.h>
3475 #endif
3476                      Syntax error
3477 _ACEOF
3478 if ac_fn_cxx_try_cpp "$LINENO"; then :
3480 else
3481   # Broken: fails on valid input.
3482 continue
3483 fi
3484 rm -f conftest.err conftest.i conftest.$ac_ext
3486   # OK, works on sane cases.  Now check whether nonexistent headers
3487   # can be detected and how.
3488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h.  */
3490 #include <ac_nonexistent.h>
3491 _ACEOF
3492 if ac_fn_cxx_try_cpp "$LINENO"; then :
3493   # Broken: success on invalid input.
3494 continue
3495 else
3496   # Passes both tests.
3497 ac_preproc_ok=:
3498 break
3499 fi
3500 rm -f conftest.err conftest.i conftest.$ac_ext
3502 done
3503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3504 rm -f conftest.i conftest.err conftest.$ac_ext
3505 if $ac_preproc_ok; then :
3507 else
3508   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3511 See \`config.log' for more details" "$LINENO" 5; }
3512 fi
3514 ac_ext=cpp
3515 ac_cpp='$CXXCPP $CPPFLAGS'
3516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3522 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3523 if ${ac_cv_path_GREP+:} false; then :
3524   $as_echo_n "(cached) " >&6
3525 else
3526   if test -z "$GREP"; then
3527   ac_path_GREP_found=false
3528   # Loop through the user's path and test for each of PROGNAME-LIST
3529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3531 do
3532   IFS=$as_save_IFS
3533   test -z "$as_dir" && as_dir=.
3534     for ac_prog in grep ggrep; do
3535     for ac_exec_ext in '' $ac_executable_extensions; do
3536       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3537       as_fn_executable_p "$ac_path_GREP" || continue
3538 # Check for GNU ac_path_GREP and select it if it is found.
3539   # Check for GNU $ac_path_GREP
3540 case `"$ac_path_GREP" --version 2>&1` in
3541 *GNU*)
3542   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3543 *)
3544   ac_count=0
3545   $as_echo_n 0123456789 >"conftest.in"
3546   while :
3547   do
3548     cat "conftest.in" "conftest.in" >"conftest.tmp"
3549     mv "conftest.tmp" "conftest.in"
3550     cp "conftest.in" "conftest.nl"
3551     $as_echo 'GREP' >> "conftest.nl"
3552     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3553     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3554     as_fn_arith $ac_count + 1 && ac_count=$as_val
3555     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3556       # Best one so far, save it but keep looking for a better one
3557       ac_cv_path_GREP="$ac_path_GREP"
3558       ac_path_GREP_max=$ac_count
3559     fi
3560     # 10*(2^10) chars as input seems more than enough
3561     test $ac_count -gt 10 && break
3562   done
3563   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3564 esac
3566       $ac_path_GREP_found && break 3
3567     done
3568   done
3569   done
3570 IFS=$as_save_IFS
3571   if test -z "$ac_cv_path_GREP"; then
3572     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3573   fi
3574 else
3575   ac_cv_path_GREP=$GREP
3576 fi
3578 fi
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3580 $as_echo "$ac_cv_path_GREP" >&6; }
3581  GREP="$ac_cv_path_GREP"
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3585 $as_echo_n "checking for egrep... " >&6; }
3586 if ${ac_cv_path_EGREP+:} false; then :
3587   $as_echo_n "(cached) " >&6
3588 else
3589   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3590    then ac_cv_path_EGREP="$GREP -E"
3591    else
3592      if test -z "$EGREP"; then
3593   ac_path_EGREP_found=false
3594   # Loop through the user's path and test for each of PROGNAME-LIST
3595   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3597 do
3598   IFS=$as_save_IFS
3599   test -z "$as_dir" && as_dir=.
3600     for ac_prog in egrep; do
3601     for ac_exec_ext in '' $ac_executable_extensions; do
3602       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3603       as_fn_executable_p "$ac_path_EGREP" || continue
3604 # Check for GNU ac_path_EGREP and select it if it is found.
3605   # Check for GNU $ac_path_EGREP
3606 case `"$ac_path_EGREP" --version 2>&1` in
3607 *GNU*)
3608   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3609 *)
3610   ac_count=0
3611   $as_echo_n 0123456789 >"conftest.in"
3612   while :
3613   do
3614     cat "conftest.in" "conftest.in" >"conftest.tmp"
3615     mv "conftest.tmp" "conftest.in"
3616     cp "conftest.in" "conftest.nl"
3617     $as_echo 'EGREP' >> "conftest.nl"
3618     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3619     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3620     as_fn_arith $ac_count + 1 && ac_count=$as_val
3621     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3622       # Best one so far, save it but keep looking for a better one
3623       ac_cv_path_EGREP="$ac_path_EGREP"
3624       ac_path_EGREP_max=$ac_count
3625     fi
3626     # 10*(2^10) chars as input seems more than enough
3627     test $ac_count -gt 10 && break
3628   done
3629   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3630 esac
3632       $ac_path_EGREP_found && break 3
3633     done
3634   done
3635   done
3636 IFS=$as_save_IFS
3637   if test -z "$ac_cv_path_EGREP"; then
3638     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3639   fi
3640 else
3641   ac_cv_path_EGREP=$EGREP
3642 fi
3644    fi
3645 fi
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3647 $as_echo "$ac_cv_path_EGREP" >&6; }
3648  EGREP="$ac_cv_path_EGREP"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3652 $as_echo_n "checking for ANSI C header files... " >&6; }
3653 if ${ac_cv_header_stdc+:} false; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h.  */
3658 #include <stdlib.h>
3659 #include <stdarg.h>
3660 #include <string.h>
3661 #include <float.h>
3663 int
3664 main ()
3667   ;
3668   return 0;
3670 _ACEOF
3671 if ac_fn_cxx_try_compile "$LINENO"; then :
3672   ac_cv_header_stdc=yes
3673 else
3674   ac_cv_header_stdc=no
3675 fi
3676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 if test $ac_cv_header_stdc = yes; then
3679   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h.  */
3682 #include <string.h>
3684 _ACEOF
3685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3686   $EGREP "memchr" >/dev/null 2>&1; then :
3688 else
3689   ac_cv_header_stdc=no
3690 fi
3691 rm -f conftest*
3693 fi
3695 if test $ac_cv_header_stdc = yes; then
3696   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h.  */
3699 #include <stdlib.h>
3701 _ACEOF
3702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3703   $EGREP "free" >/dev/null 2>&1; then :
3705 else
3706   ac_cv_header_stdc=no
3707 fi
3708 rm -f conftest*
3710 fi
3712 if test $ac_cv_header_stdc = yes; then
3713   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3714   if test "$cross_compiling" = yes; then :
3715   :
3716 else
3717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h.  */
3719 #include <ctype.h>
3720 #include <stdlib.h>
3721 #if ((' ' & 0x0FF) == 0x020)
3722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3724 #else
3725 # define ISLOWER(c) \
3726                    (('a' <= (c) && (c) <= 'i') \
3727                      || ('j' <= (c) && (c) <= 'r') \
3728                      || ('s' <= (c) && (c) <= 'z'))
3729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3730 #endif
3732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3733 int
3734 main ()
3736   int i;
3737   for (i = 0; i < 256; i++)
3738     if (XOR (islower (i), ISLOWER (i))
3739         || toupper (i) != TOUPPER (i))
3740       return 2;
3741   return 0;
3743 _ACEOF
3744 if ac_fn_cxx_try_run "$LINENO"; then :
3746 else
3747   ac_cv_header_stdc=no
3748 fi
3749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3750   conftest.$ac_objext conftest.beam conftest.$ac_ext
3751 fi
3753 fi
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3756 $as_echo "$ac_cv_header_stdc" >&6; }
3757 if test $ac_cv_header_stdc = yes; then
3759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3761 fi
3763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3765                   inttypes.h stdint.h unistd.h
3766 do :
3767   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3768 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3771   cat >>confdefs.h <<_ACEOF
3772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3773 _ACEOF
3775 fi
3777 done
3780 ac_fn_cxx_check_header_mongrel "$LINENO" "thread" "ac_cv_header_thread" "$ac_includes_default"
3781 if test "x$ac_cv_header_thread" = xyes; then :
3783 else
3784   echo "The C++ compiler does not support C++11 extensions which is
3785 needed for Xestia Address Book. Please install or use a
3786 compiler that supports C++11 extensions."
3787         exit -1
3789 fi
3795 # Check whether --with-wxdir was given.
3796 if test "${with_wxdir+set}" = set; then :
3797   withval=$with_wxdir;  wx_config_name="$withval/wx-config"
3798                   wx_config_args="--inplace"
3799 fi
3802 # Check whether --with-wx-config was given.
3803 if test "${with_wx_config+set}" = set; then :
3804   withval=$with_wx_config; wx_config_name="$withval"
3805 fi
3808 # Check whether --with-wx-prefix was given.
3809 if test "${with_wx_prefix+set}" = set; then :
3810   withval=$with_wx_prefix; wx_config_prefix="$withval"
3811 else
3812   wx_config_prefix=""
3813 fi
3816 # Check whether --with-wx-exec-prefix was given.
3817 if test "${with_wx_exec_prefix+set}" = set; then :
3818   withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3819 else
3820   wx_config_exec_prefix=""
3821 fi
3824 reqwx=3.0.0
3826     if test x${WX_CONFIG_NAME+set} != xset ; then
3827      WX_CONFIG_NAME=wx-config
3828   fi
3830   if test "x$wx_config_name" != x ; then
3831      WX_CONFIG_NAME="$wx_config_name"
3832   fi
3834     if test x$wx_config_exec_prefix != x ; then
3835      wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3836      WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3837   fi
3838   if test x$wx_config_prefix != x ; then
3839      wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3840      WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3841   fi
3842   if test "$cross_compiling" = "yes"; then
3843      wx_config_args="$wx_config_args --host=$host_alias"
3844   fi
3846     if test -x "$WX_CONFIG_NAME" ; then
3847      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3848 $as_echo_n "checking for wx-config... " >&6; }
3849      WX_CONFIG_PATH="$WX_CONFIG_NAME"
3850      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3851 $as_echo "$WX_CONFIG_PATH" >&6; }
3852   else
3853      # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3854 set dummy $WX_CONFIG_NAME; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3858   $as_echo_n "(cached) " >&6
3859 else
3860   case $WX_CONFIG_PATH in
3861   [\\/]* | ?:[\\/]*)
3862   ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3863   ;;
3864   *)
3865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3867 for as_dir in $as_dummy
3868 do
3869   IFS=$as_save_IFS
3870   test -z "$as_dir" && as_dir=.
3871     for ac_exec_ext in '' $ac_executable_extensions; do
3872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873     ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875     break 2
3876   fi
3877 done
3878   done
3879 IFS=$as_save_IFS
3881   test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3882   ;;
3883 esac
3884 fi
3885 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3886 if test -n "$WX_CONFIG_PATH"; then
3887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3888 $as_echo "$WX_CONFIG_PATH" >&6; }
3889 else
3890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3891 $as_echo "no" >&6; }
3892 fi
3895   fi
3897   if test "$WX_CONFIG_PATH" != "no" ; then
3898     WX_VERSION=""
3900     min_wx_version=$reqwx
3901     if test -z "" ; then
3902       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3903 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3904     else
3905       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3906 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3907     fi
3909     WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
3911     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3912     wx_config_major_version=`echo $WX_VERSION | \
3913            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3914     wx_config_minor_version=`echo $WX_VERSION | \
3915            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3916     wx_config_micro_version=`echo $WX_VERSION | \
3917            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3919     wx_requested_major_version=`echo $min_wx_version | \
3920            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3921     wx_requested_minor_version=`echo $min_wx_version | \
3922            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3923     wx_requested_micro_version=`echo $min_wx_version | \
3924            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3927     wx_ver_ok=""
3928     if test "x$WX_VERSION" != x ; then
3929       if test $wx_config_major_version -gt $wx_requested_major_version; then
3930         wx_ver_ok=yes
3931       else
3932         if test $wx_config_major_version -eq $wx_requested_major_version; then
3933            if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3934               wx_ver_ok=yes
3935            else
3936               if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3937                  if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3938                     wx_ver_ok=yes
3939                  fi
3940               fi
3941            fi
3942         fi
3943       fi
3944     fi
3947     if test -n "$wx_ver_ok"; then
3949       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3950 $as_echo "yes (version $WX_VERSION)" >&6; }
3951       WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
3953                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3954 $as_echo_n "checking for wxWidgets static library... " >&6; }
3955       WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
3956       if test "x$WX_LIBS_STATIC" = "x"; then
3957         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959       else
3960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961 $as_echo "yes" >&6; }
3962       fi
3964             wx_has_cppflags=""
3965       if test $wx_config_major_version -gt 2; then
3966         wx_has_cppflags=yes
3967       else
3968         if test $wx_config_major_version -eq 2; then
3969            if test $wx_config_minor_version -gt 2; then
3970               wx_has_cppflags=yes
3971            else
3972               if test $wx_config_minor_version -eq 2; then
3973                  if test $wx_config_micro_version -ge 6; then
3974                     wx_has_cppflags=yes
3975                  fi
3976               fi
3977            fi
3978         fi
3979       fi
3981             wx_has_rescomp=""
3982       if test $wx_config_major_version -gt 2; then
3983         wx_has_rescomp=yes
3984       else
3985         if test $wx_config_major_version -eq 2; then
3986            if test $wx_config_minor_version -ge 7; then
3987               wx_has_rescomp=yes
3988            fi
3989         fi
3990       fi
3991       if test "x$wx_has_rescomp" = x ; then
3992                   WX_RESCOMP=
3993       else
3994          WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
3995       fi
3997       if test "x$wx_has_cppflags" = x ; then
3998                   WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3999          WX_CPPFLAGS=$WX_CFLAGS
4000          WX_CXXFLAGS=$WX_CFLAGS
4002          WX_CFLAGS_ONLY=$WX_CFLAGS
4003          WX_CXXFLAGS_ONLY=$WX_CFLAGS
4004       else
4005                   WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
4006          WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
4007          WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
4009          WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4010          WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4011       fi
4013       wxWin=1
4015     else
4017        if test "x$WX_VERSION" = x; then
4018                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020        else
4021           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4022 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4023        fi
4025        WX_CFLAGS=""
4026        WX_CPPFLAGS=""
4027        WX_CXXFLAGS=""
4028        WX_LIBS=""
4029        WX_LIBS_STATIC=""
4030        WX_RESCOMP=""
4031        :
4033     fi
4034   else
4036     WX_CFLAGS=""
4037     WX_CPPFLAGS=""
4038     WX_CXXFLAGS=""
4039     WX_LIBS=""
4040     WX_LIBS_STATIC=""
4041     WX_RESCOMP=""
4043     :
4045   fi
4057 if test "$wxWin" != 1; then
4058         as_fn_error $? "
4059 wxWidgets must be installed on your system.
4061 Please check that wx-config is in path, the directory where wxWidgets libraries
4062 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
4063 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
4064 is $reqwx or above.
4065                 " "$LINENO" 5
4066 fi
4068 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4069 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4070 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4071 LIBS="$LIBS $WX_LIBS"
4073 # SFML Audio Library
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsfml-audio" >&5
4076 $as_echo_n "checking for main in -lsfml-audio... " >&6; }
4077 if ${ac_cv_lib_sfml_audio_main+:} false; then :
4078   $as_echo_n "(cached) " >&6
4079 else
4080   ac_check_lib_save_LIBS=$LIBS
4081 LIBS="-lsfml-audio  $LIBS"
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4086 int
4087 main ()
4089 return main ();
4090   ;
4091   return 0;
4093 _ACEOF
4094 if ac_fn_cxx_try_link "$LINENO"; then :
4095   ac_cv_lib_sfml_audio_main=yes
4096 else
4097   ac_cv_lib_sfml_audio_main=no
4098 fi
4099 rm -f core conftest.err conftest.$ac_objext \
4100     conftest$ac_exeext conftest.$ac_ext
4101 LIBS=$ac_check_lib_save_LIBS
4102 fi
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sfml_audio_main" >&5
4104 $as_echo "$ac_cv_lib_sfml_audio_main" >&6; }
4105 if test "x$ac_cv_lib_sfml_audio_main" = xyes; then :
4106   cat >>confdefs.h <<_ACEOF
4107 #define HAVE_LIBSFML_AUDIO 1
4108 _ACEOF
4110   LIBS="-lsfml-audio $LIBS"
4112 else
4113   echo "The SFML libraries must be installed on your system.
4114 Please check that this library is installed properly before
4115 running configure again."
4116         exit -1
4118 fi
4121 ac_fn_cxx_check_header_mongrel "$LINENO" "SFML/Audio.hpp" "ac_cv_header_SFML_Audio_hpp" "$ac_includes_default"
4122 if test "x$ac_cv_header_SFML_Audio_hpp" = xyes; then :
4124 else
4125   echo "The SFML library headers must be installed on your system.
4126 Please check that the library headers are installed properly
4127 before running configure again."
4128         exit -1
4130 fi
4134 # ossp-uuid Library
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossp-uuid++" >&5
4137 $as_echo_n "checking for main in -lossp-uuid++... " >&6; }
4138 if ${ac_cv_lib_ossp_uuidpp_main+:} false; then :
4139   $as_echo_n "(cached) " >&6
4140 else
4141   ac_check_lib_save_LIBS=$LIBS
4142 LIBS="-lossp-uuid++  $LIBS"
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h.  */
4147 int
4148 main ()
4150 return main ();
4151   ;
4152   return 0;
4154 _ACEOF
4155 if ac_fn_cxx_try_link "$LINENO"; then :
4156   ac_cv_lib_ossp_uuidpp_main=yes
4157 else
4158   ac_cv_lib_ossp_uuidpp_main=no
4159 fi
4160 rm -f core conftest.err conftest.$ac_objext \
4161     conftest$ac_exeext conftest.$ac_ext
4162 LIBS=$ac_check_lib_save_LIBS
4163 fi
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuidpp_main" >&5
4165 $as_echo "$ac_cv_lib_ossp_uuidpp_main" >&6; }
4166 if test "x$ac_cv_lib_ossp_uuidpp_main" = xyes; then :
4167   cat >>confdefs.h <<_ACEOF
4168 #define HAVE_LIBOSSP_UUID__ 1
4169 _ACEOF
4171   LIBS="-lossp-uuid++ $LIBS"
4173 else
4174   echo "The OSSP UUID C++ library must be installed on your system.
4175 Please check that this library is installed properly before
4176 running configure again."
4177         exit -1
4179 fi
4182 ac_fn_cxx_check_header_mongrel "$LINENO" "ossp/uuid++.hh" "ac_cv_header_ossp_uuidpp_hh" "$ac_includes_default"
4183 if test "x$ac_cv_header_ossp_uuidpp_hh" = xyes; then :
4185 else
4186   echo "The OSSP UUID C++ library headers must be installed on your system.
4187 Please check that the library headers are installed properly
4188 before running configure again."
4189         exit -1
4191 fi
4195 ac_ext=cpp
4196 ac_cpp='$CXXCPP $CPPFLAGS'
4197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4202 # curl Library
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
4205 $as_echo_n "checking for main in -lcurl... " >&6; }
4206 if ${ac_cv_lib_curl_main+:} false; then :
4207   $as_echo_n "(cached) " >&6
4208 else
4209   ac_check_lib_save_LIBS=$LIBS
4210 LIBS="-lcurl  $LIBS"
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h.  */
4215 int
4216 main ()
4218 return main ();
4219   ;
4220   return 0;
4222 _ACEOF
4223 if ac_fn_cxx_try_link "$LINENO"; then :
4224   ac_cv_lib_curl_main=yes
4225 else
4226   ac_cv_lib_curl_main=no
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext \
4229     conftest$ac_exeext conftest.$ac_ext
4230 LIBS=$ac_check_lib_save_LIBS
4231 fi
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
4233 $as_echo "$ac_cv_lib_curl_main" >&6; }
4234 if test "x$ac_cv_lib_curl_main" = xyes; then :
4235   cat >>confdefs.h <<_ACEOF
4236 #define HAVE_LIBCURL 1
4237 _ACEOF
4239   LIBS="-lcurl $LIBS"
4241 else
4242   echo "The cURL library must be installed on your system.
4243 Please check that this library is installed properly before
4244 running configure again."
4245         exit -1
4247 fi
4250 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4251 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4253 else
4254   echo "The cURL library headers must be installed on your system.
4255 Please check that the library headers are installed properly
4256 before running configure again."
4257         exit -1
4259 fi
4263 # libxml2 Library
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
4266 $as_echo_n "checking for main in -lxml2... " >&6; }
4267 if ${ac_cv_lib_xml2_main+:} false; then :
4268   $as_echo_n "(cached) " >&6
4269 else
4270   ac_check_lib_save_LIBS=$LIBS
4271 LIBS="-lxml2  $LIBS"
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h.  */
4276 int
4277 main ()
4279 return main ();
4280   ;
4281   return 0;
4283 _ACEOF
4284 if ac_fn_cxx_try_link "$LINENO"; then :
4285   ac_cv_lib_xml2_main=yes
4286 else
4287   ac_cv_lib_xml2_main=no
4288 fi
4289 rm -f core conftest.err conftest.$ac_objext \
4290     conftest$ac_exeext conftest.$ac_ext
4291 LIBS=$ac_check_lib_save_LIBS
4292 fi
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
4294 $as_echo "$ac_cv_lib_xml2_main" >&6; }
4295 if test "x$ac_cv_lib_xml2_main" = xyes; then :
4296   cat >>confdefs.h <<_ACEOF
4297 #define HAVE_LIBXML2 1
4298 _ACEOF
4300   LIBS="-lxml2 $LIBS"
4302 else
4303   echo "The libxml2 library must be installed on your system.
4304 Please check that this library is installed properly before
4305 running configure again."
4306         exit -1
4308 fi
4311 for ac_header in libxml2/libxml/parser.h libxml2/libxml/tree.h
4312 do :
4313   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4314 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4316   cat >>confdefs.h <<_ACEOF
4317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4318 _ACEOF
4320 else
4321   echo "The libxml2 library headers must be installed on your system.
4322 Please check that the library headers are installed properly
4323 before running configure again."
4324         exit -1
4326 fi
4328 done
4331 # Checks for header files.
4332 for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
4333 do :
4334   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4335 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4337   cat >>confdefs.h <<_ACEOF
4338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4339 _ACEOF
4341 fi
4343 done
4346 # Checks for typedefs, structures, and compiler characteristics.
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4348 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4349 if ${ac_cv_header_stdbool_h+:} false; then :
4350   $as_echo_n "(cached) " >&6
4351 else
4352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h.  */
4355              #include <stdbool.h>
4356              #ifndef bool
4357               "error: bool is not defined"
4358              #endif
4359              #ifndef false
4360               "error: false is not defined"
4361              #endif
4362              #if false
4363               "error: false is not 0"
4364              #endif
4365              #ifndef true
4366               "error: true is not defined"
4367              #endif
4368              #if true != 1
4369               "error: true is not 1"
4370              #endif
4371              #ifndef __bool_true_false_are_defined
4372               "error: __bool_true_false_are_defined is not defined"
4373              #endif
4375              struct s { _Bool s: 1; _Bool t; } s;
4377              char a[true == 1 ? 1 : -1];
4378              char b[false == 0 ? 1 : -1];
4379              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4380              char d[(bool) 0.5 == true ? 1 : -1];
4381              /* See body of main program for 'e'.  */
4382              char f[(_Bool) 0.0 == false ? 1 : -1];
4383              char g[true];
4384              char h[sizeof (_Bool)];
4385              char i[sizeof s.t];
4386              enum { j = false, k = true, l = false * true, m = true * 256 };
4387              /* The following fails for
4388                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4389              _Bool n[m];
4390              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4391              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4392              /* Catch a bug in an HP-UX C compiler.  See
4393                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4394                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4395               */
4396              _Bool q = true;
4397              _Bool *pq = &q;
4399 int
4400 main ()
4403              bool e = &s;
4404              *pq |= q;
4405              *pq |= ! q;
4406              /* Refer to every declared value, to avoid compiler optimizations.  */
4407              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4408                      + !m + !n + !o + !p + !q + !pq);
4410   ;
4411   return 0;
4413 _ACEOF
4414 if ac_fn_cxx_try_compile "$LINENO"; then :
4415   ac_cv_header_stdbool_h=yes
4416 else
4417   ac_cv_header_stdbool_h=no
4418 fi
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 fi
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4422 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4423    ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4424 if test "x$ac_cv_type__Bool" = xyes; then :
4426 cat >>confdefs.h <<_ACEOF
4427 #define HAVE__BOOL 1
4428 _ACEOF
4431 fi
4434 if test $ac_cv_header_stdbool_h = yes; then
4436 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4438 fi
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4441 $as_echo_n "checking for inline... " >&6; }
4442 if ${ac_cv_c_inline+:} false; then :
4443   $as_echo_n "(cached) " >&6
4444 else
4445   ac_cv_c_inline=no
4446 for ac_kw in inline __inline__ __inline; do
4447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h.  */
4449 #ifndef __cplusplus
4450 typedef int foo_t;
4451 static $ac_kw foo_t static_foo () {return 0; }
4452 $ac_kw foo_t foo () {return 0; }
4453 #endif
4455 _ACEOF
4456 if ac_fn_cxx_try_compile "$LINENO"; then :
4457   ac_cv_c_inline=$ac_kw
4458 fi
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460   test "$ac_cv_c_inline" != no && break
4461 done
4463 fi
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4465 $as_echo "$ac_cv_c_inline" >&6; }
4467 case $ac_cv_c_inline in
4468   inline | yes) ;;
4469   *)
4470     case $ac_cv_c_inline in
4471       no) ac_val=;;
4472       *) ac_val=$ac_cv_c_inline;;
4473     esac
4474     cat >>confdefs.h <<_ACEOF
4475 #ifndef __cplusplus
4476 #define inline $ac_val
4477 #endif
4478 _ACEOF
4479     ;;
4480 esac
4483 # Checks for library functions.
4485 ac_config_files="$ac_config_files Makefile"
4487 cat >confcache <<\_ACEOF
4488 # This file is a shell script that caches the results of configure
4489 # tests run on this system so they can be shared between configure
4490 # scripts and configure runs, see configure's option --config-cache.
4491 # It is not useful on other systems.  If it contains results you don't
4492 # want to keep, you may remove or edit it.
4494 # config.status only pays attention to the cache file if you give it
4495 # the --recheck option to rerun configure.
4497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4499 # following values.
4501 _ACEOF
4503 # The following way of writing the cache mishandles newlines in values,
4504 # but we know of no workaround that is simple, portable, and efficient.
4505 # So, we kill variables containing newlines.
4506 # Ultrix sh set writes to stderr and can't be redirected directly,
4507 # and sets the high bit in the cache file unless we assign to the vars.
4509   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4510     eval ac_val=\$$ac_var
4511     case $ac_val in #(
4512     *${as_nl}*)
4513       case $ac_var in #(
4514       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4516       esac
4517       case $ac_var in #(
4518       _ | IFS | as_nl) ;; #(
4519       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4520       *) { eval $ac_var=; unset $ac_var;} ;;
4521       esac ;;
4522     esac
4523   done
4525   (set) 2>&1 |
4526     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4527     *${as_nl}ac_space=\ *)
4528       # `set' does not quote correctly, so add quotes: double-quote
4529       # substitution turns \\\\ into \\, and sed turns \\ into \.
4530       sed -n \
4531         "s/'/'\\\\''/g;
4532           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4533       ;; #(
4534     *)
4535       # `set' quotes correctly as required by POSIX, so do not add quotes.
4536       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4537       ;;
4538     esac |
4539     sort
4540 ) |
4541   sed '
4542      /^ac_cv_env_/b end
4543      t clear
4544      :clear
4545      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4546      t end
4547      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4548      :end' >>confcache
4549 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4550   if test -w "$cache_file"; then
4551     if test "x$cache_file" != "x/dev/null"; then
4552       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4553 $as_echo "$as_me: updating cache $cache_file" >&6;}
4554       if test ! -f "$cache_file" || test -h "$cache_file"; then
4555         cat confcache >"$cache_file"
4556       else
4557         case $cache_file in #(
4558         */* | ?:*)
4559           mv -f confcache "$cache_file"$$ &&
4560           mv -f "$cache_file"$$ "$cache_file" ;; #(
4561         *)
4562           mv -f confcache "$cache_file" ;;
4563         esac
4564       fi
4565     fi
4566   else
4567     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4569   fi
4570 fi
4571 rm -f confcache
4573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4574 # Let make expand exec_prefix.
4575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4577 # Transform confdefs.h into DEFS.
4578 # Protect against shell expansion while executing Makefile rules.
4579 # Protect against Makefile macro expansion.
4581 # If the first sed substitution is executed (which looks for macros that
4582 # take arguments), then branch to the quote section.  Otherwise,
4583 # look for a macro that doesn't take arguments.
4584 ac_script='
4585 :mline
4586 /\\$/{
4587  N
4588  s,\\\n,,
4589  b mline
4591 t clear
4592 :clear
4593 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4594 t quote
4595 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4596 t quote
4597 b any
4598 :quote
4599 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4600 s/\[/\\&/g
4601 s/\]/\\&/g
4602 s/\$/$$/g
4604 :any
4605 ${
4606         g
4607         s/^\n//
4608         s/\n/ /g
4609         p
4612 DEFS=`sed -n "$ac_script" confdefs.h`
4615 ac_libobjs=
4616 ac_ltlibobjs=
4617 U=
4618 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4619   # 1. Remove the extension, and $U if already installed.
4620   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4621   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4622   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4623   #    will be set to the directory where LIBOBJS objects are built.
4624   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4625   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4626 done
4627 LIBOBJS=$ac_libobjs
4629 LTLIBOBJS=$ac_ltlibobjs
4633 : "${CONFIG_STATUS=./config.status}"
4634 ac_write_fail=0
4635 ac_clean_files_save=$ac_clean_files
4636 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4638 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4639 as_write_fail=0
4640 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4641 #! $SHELL
4642 # Generated by $as_me.
4643 # Run this file to recreate the current configuration.
4644 # Compiler output produced by configure, useful for debugging
4645 # configure, is in config.log if it exists.
4647 debug=false
4648 ac_cs_recheck=false
4649 ac_cs_silent=false
4651 SHELL=\${CONFIG_SHELL-$SHELL}
4652 export SHELL
4653 _ASEOF
4654 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4655 ## -------------------- ##
4656 ## M4sh Initialization. ##
4657 ## -------------------- ##
4659 # Be more Bourne compatible
4660 DUALCASE=1; export DUALCASE # for MKS sh
4661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4662   emulate sh
4663   NULLCMD=:
4664   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4665   # is contrary to our usage.  Disable this feature.
4666   alias -g '${1+"$@"}'='"$@"'
4667   setopt NO_GLOB_SUBST
4668 else
4669   case `(set -o) 2>/dev/null` in #(
4670   *posix*) :
4671     set -o posix ;; #(
4672   *) :
4673      ;;
4674 esac
4675 fi
4678 as_nl='
4680 export as_nl
4681 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4682 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4683 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4685 # Prefer a ksh shell builtin over an external printf program on Solaris,
4686 # but without wasting forks for bash or zsh.
4687 if test -z "$BASH_VERSION$ZSH_VERSION" \
4688     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4689   as_echo='print -r --'
4690   as_echo_n='print -rn --'
4691 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4692   as_echo='printf %s\n'
4693   as_echo_n='printf %s'
4694 else
4695   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4696     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4697     as_echo_n='/usr/ucb/echo -n'
4698   else
4699     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4700     as_echo_n_body='eval
4701       arg=$1;
4702       case $arg in #(
4703       *"$as_nl"*)
4704         expr "X$arg" : "X\\(.*\\)$as_nl";
4705         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4706       esac;
4707       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4708     '
4709     export as_echo_n_body
4710     as_echo_n='sh -c $as_echo_n_body as_echo'
4711   fi
4712   export as_echo_body
4713   as_echo='sh -c $as_echo_body as_echo'
4714 fi
4716 # The user is always right.
4717 if test "${PATH_SEPARATOR+set}" != set; then
4718   PATH_SEPARATOR=:
4719   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4720     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4721       PATH_SEPARATOR=';'
4722   }
4723 fi
4726 # IFS
4727 # We need space, tab and new line, in precisely that order.  Quoting is
4728 # there to prevent editors from complaining about space-tab.
4729 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4730 # splitting by setting IFS to empty value.)
4731 IFS=" ""        $as_nl"
4733 # Find who we are.  Look in the path if we contain no directory separator.
4734 as_myself=
4735 case $0 in #((
4736   *[\\/]* ) as_myself=$0 ;;
4737   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4739 do
4740   IFS=$as_save_IFS
4741   test -z "$as_dir" && as_dir=.
4742     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4743   done
4744 IFS=$as_save_IFS
4746      ;;
4747 esac
4748 # We did not find ourselves, most probably we were run as `sh COMMAND'
4749 # in which case we are not to be found in the path.
4750 if test "x$as_myself" = x; then
4751   as_myself=$0
4752 fi
4753 if test ! -f "$as_myself"; then
4754   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4755   exit 1
4756 fi
4758 # Unset variables that we do not need and which cause bugs (e.g. in
4759 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4760 # suppresses any "Segmentation fault" message there.  '((' could
4761 # trigger a bug in pdksh 5.2.14.
4762 for as_var in BASH_ENV ENV MAIL MAILPATH
4763 do eval test x\${$as_var+set} = xset \
4764   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4765 done
4766 PS1='$ '
4767 PS2='> '
4768 PS4='+ '
4770 # NLS nuisances.
4771 LC_ALL=C
4772 export LC_ALL
4773 LANGUAGE=C
4774 export LANGUAGE
4776 # CDPATH.
4777 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4780 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4781 # ----------------------------------------
4782 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4783 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4784 # script with STATUS, using 1 if that was 0.
4785 as_fn_error ()
4787   as_status=$1; test $as_status -eq 0 && as_status=1
4788   if test "$4"; then
4789     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4790     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4791   fi
4792   $as_echo "$as_me: error: $2" >&2
4793   as_fn_exit $as_status
4794 } # as_fn_error
4797 # as_fn_set_status STATUS
4798 # -----------------------
4799 # Set $? to STATUS, without forking.
4800 as_fn_set_status ()
4802   return $1
4803 } # as_fn_set_status
4805 # as_fn_exit STATUS
4806 # -----------------
4807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4808 as_fn_exit ()
4810   set +e
4811   as_fn_set_status $1
4812   exit $1
4813 } # as_fn_exit
4815 # as_fn_unset VAR
4816 # ---------------
4817 # Portably unset VAR.
4818 as_fn_unset ()
4820   { eval $1=; unset $1;}
4822 as_unset=as_fn_unset
4823 # as_fn_append VAR VALUE
4824 # ----------------------
4825 # Append the text in VALUE to the end of the definition contained in VAR. Take
4826 # advantage of any shell optimizations that allow amortized linear growth over
4827 # repeated appends, instead of the typical quadratic growth present in naive
4828 # implementations.
4829 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4830   eval 'as_fn_append ()
4831   {
4832     eval $1+=\$2
4833   }'
4834 else
4835   as_fn_append ()
4836   {
4837     eval $1=\$$1\$2
4838   }
4839 fi # as_fn_append
4841 # as_fn_arith ARG...
4842 # ------------------
4843 # Perform arithmetic evaluation on the ARGs, and store the result in the
4844 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4845 # must be portable across $(()) and expr.
4846 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4847   eval 'as_fn_arith ()
4848   {
4849     as_val=$(( $* ))
4850   }'
4851 else
4852   as_fn_arith ()
4853   {
4854     as_val=`expr "$@" || test $? -eq 1`
4855   }
4856 fi # as_fn_arith
4859 if expr a : '\(a\)' >/dev/null 2>&1 &&
4860    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4861   as_expr=expr
4862 else
4863   as_expr=false
4864 fi
4866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4867   as_basename=basename
4868 else
4869   as_basename=false
4870 fi
4872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4873   as_dirname=dirname
4874 else
4875   as_dirname=false
4876 fi
4878 as_me=`$as_basename -- "$0" ||
4879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4880          X"$0" : 'X\(//\)$' \| \
4881          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4882 $as_echo X/"$0" |
4883     sed '/^.*\/\([^/][^/]*\)\/*$/{
4884             s//\1/
4885             q
4886           }
4887           /^X\/\(\/\/\)$/{
4888             s//\1/
4889             q
4890           }
4891           /^X\/\(\/\).*/{
4892             s//\1/
4893             q
4894           }
4895           s/.*/./; q'`
4897 # Avoid depending upon Character Ranges.
4898 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4899 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4900 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4901 as_cr_digits='0123456789'
4902 as_cr_alnum=$as_cr_Letters$as_cr_digits
4904 ECHO_C= ECHO_N= ECHO_T=
4905 case `echo -n x` in #(((((
4906 -n*)
4907   case `echo 'xy\c'` in
4908   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4909   xy)  ECHO_C='\c';;
4910   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4911        ECHO_T=' ';;
4912   esac;;
4913 *)
4914   ECHO_N='-n';;
4915 esac
4917 rm -f conf$$ conf$$.exe conf$$.file
4918 if test -d conf$$.dir; then
4919   rm -f conf$$.dir/conf$$.file
4920 else
4921   rm -f conf$$.dir
4922   mkdir conf$$.dir 2>/dev/null
4923 fi
4924 if (echo >conf$$.file) 2>/dev/null; then
4925   if ln -s conf$$.file conf$$ 2>/dev/null; then
4926     as_ln_s='ln -s'
4927     # ... but there are two gotchas:
4928     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4929     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4930     # In both cases, we have to default to `cp -pR'.
4931     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4932       as_ln_s='cp -pR'
4933   elif ln conf$$.file conf$$ 2>/dev/null; then
4934     as_ln_s=ln
4935   else
4936     as_ln_s='cp -pR'
4937   fi
4938 else
4939   as_ln_s='cp -pR'
4940 fi
4941 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4942 rmdir conf$$.dir 2>/dev/null
4945 # as_fn_mkdir_p
4946 # -------------
4947 # Create "$as_dir" as a directory, including parents if necessary.
4948 as_fn_mkdir_p ()
4951   case $as_dir in #(
4952   -*) as_dir=./$as_dir;;
4953   esac
4954   test -d "$as_dir" || eval $as_mkdir_p || {
4955     as_dirs=
4956     while :; do
4957       case $as_dir in #(
4958       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4959       *) as_qdir=$as_dir;;
4960       esac
4961       as_dirs="'$as_qdir' $as_dirs"
4962       as_dir=`$as_dirname -- "$as_dir" ||
4963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4964          X"$as_dir" : 'X\(//\)[^/]' \| \
4965          X"$as_dir" : 'X\(//\)$' \| \
4966          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4967 $as_echo X"$as_dir" |
4968     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4969             s//\1/
4970             q
4971           }
4972           /^X\(\/\/\)[^/].*/{
4973             s//\1/
4974             q
4975           }
4976           /^X\(\/\/\)$/{
4977             s//\1/
4978             q
4979           }
4980           /^X\(\/\).*/{
4981             s//\1/
4982             q
4983           }
4984           s/.*/./; q'`
4985       test -d "$as_dir" && break
4986     done
4987     test -z "$as_dirs" || eval "mkdir $as_dirs"
4988   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4991 } # as_fn_mkdir_p
4992 if mkdir -p . 2>/dev/null; then
4993   as_mkdir_p='mkdir -p "$as_dir"'
4994 else
4995   test -d ./-p && rmdir ./-p
4996   as_mkdir_p=false
4997 fi
5000 # as_fn_executable_p FILE
5001 # -----------------------
5002 # Test if FILE is an executable regular file.
5003 as_fn_executable_p ()
5005   test -f "$1" && test -x "$1"
5006 } # as_fn_executable_p
5007 as_test_x='test -x'
5008 as_executable_p=as_fn_executable_p
5010 # Sed expression to map a string onto a valid CPP name.
5011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5013 # Sed expression to map a string onto a valid variable name.
5014 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5017 exec 6>&1
5018 ## ----------------------------------- ##
5019 ## Main body of $CONFIG_STATUS script. ##
5020 ## ----------------------------------- ##
5021 _ASEOF
5022 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5025 # Save the log message, to keep $0 and so on meaningful, and to
5026 # report actual input values of CONFIG_FILES etc. instead of their
5027 # values after options handling.
5028 ac_log="
5029 This file was extended by Xestia Address Book $as_me 0.01, which was
5030 generated by GNU Autoconf 2.69.  Invocation command line was
5032   CONFIG_FILES    = $CONFIG_FILES
5033   CONFIG_HEADERS  = $CONFIG_HEADERS
5034   CONFIG_LINKS    = $CONFIG_LINKS
5035   CONFIG_COMMANDS = $CONFIG_COMMANDS
5036   $ $0 $@
5038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5041 _ACEOF
5043 case $ac_config_files in *"
5044 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5045 esac
5049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5050 # Files that config.status was made for.
5051 config_files="$ac_config_files"
5053 _ACEOF
5055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5056 ac_cs_usage="\
5057 \`$as_me' instantiates files and other configuration actions
5058 from templates according to the current configuration.  Unless the files
5059 and actions are specified as TAGs, all are instantiated by default.
5061 Usage: $0 [OPTION]... [TAG]...
5063   -h, --help       print this help, then exit
5064   -V, --version    print version number and configuration settings, then exit
5065       --config     print configuration, then exit
5066   -q, --quiet, --silent
5067                    do not print progress messages
5068   -d, --debug      don't remove temporary files
5069       --recheck    update $as_me by reconfiguring in the same conditions
5070       --file=FILE[:TEMPLATE]
5071                    instantiate the configuration file FILE
5073 Configuration files:
5074 $config_files
5076 Report bugs to <bugs@xestia.co.uk>."
5078 _ACEOF
5079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5080 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5081 ac_cs_version="\\
5082 Xestia Address Book config.status 0.01
5083 configured by $0, generated by GNU Autoconf 2.69,
5084   with options \\"\$ac_cs_config\\"
5086 Copyright (C) 2012 Free Software Foundation, Inc.
5087 This config.status script is free software; the Free Software Foundation
5088 gives unlimited permission to copy, distribute and modify it."
5090 ac_pwd='$ac_pwd'
5091 srcdir='$srcdir'
5092 test -n "\$AWK" || AWK=awk
5093 _ACEOF
5095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5096 # The default lists apply if the user does not specify any file.
5097 ac_need_defaults=:
5098 while test $# != 0
5099 do
5100   case $1 in
5101   --*=?*)
5102     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5103     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5104     ac_shift=:
5105     ;;
5106   --*=)
5107     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5108     ac_optarg=
5109     ac_shift=:
5110     ;;
5111   *)
5112     ac_option=$1
5113     ac_optarg=$2
5114     ac_shift=shift
5115     ;;
5116   esac
5118   case $ac_option in
5119   # Handling of the options.
5120   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5121     ac_cs_recheck=: ;;
5122   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5123     $as_echo "$ac_cs_version"; exit ;;
5124   --config | --confi | --conf | --con | --co | --c )
5125     $as_echo "$ac_cs_config"; exit ;;
5126   --debug | --debu | --deb | --de | --d | -d )
5127     debug=: ;;
5128   --file | --fil | --fi | --f )
5129     $ac_shift
5130     case $ac_optarg in
5131     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5132     '') as_fn_error $? "missing file argument" ;;
5133     esac
5134     as_fn_append CONFIG_FILES " '$ac_optarg'"
5135     ac_need_defaults=false;;
5136   --he | --h |  --help | --hel | -h )
5137     $as_echo "$ac_cs_usage"; exit ;;
5138   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5139   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5140     ac_cs_silent=: ;;
5142   # This is an error.
5143   -*) as_fn_error $? "unrecognized option: \`$1'
5144 Try \`$0 --help' for more information." ;;
5146   *) as_fn_append ac_config_targets " $1"
5147      ac_need_defaults=false ;;
5149   esac
5150   shift
5151 done
5153 ac_configure_extra_args=
5155 if $ac_cs_silent; then
5156   exec 6>/dev/null
5157   ac_configure_extra_args="$ac_configure_extra_args --silent"
5158 fi
5160 _ACEOF
5161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5162 if \$ac_cs_recheck; then
5163   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5164   shift
5165   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5166   CONFIG_SHELL='$SHELL'
5167   export CONFIG_SHELL
5168   exec "\$@"
5169 fi
5171 _ACEOF
5172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5173 exec 5>>config.log
5175   echo
5176   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5177 ## Running $as_me. ##
5178 _ASBOX
5179   $as_echo "$ac_log"
5180 } >&5
5182 _ACEOF
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5184 _ACEOF
5186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5188 # Handling of arguments.
5189 for ac_config_target in $ac_config_targets
5190 do
5191   case $ac_config_target in
5192     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5194   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5195   esac
5196 done
5199 # If the user did not use the arguments to specify the items to instantiate,
5200 # then the envvar interface is used.  Set only those that are not.
5201 # We use the long form for the default assignment because of an extremely
5202 # bizarre bug on SunOS 4.1.3.
5203 if $ac_need_defaults; then
5204   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5205 fi
5207 # Have a temporary directory for convenience.  Make it in the build tree
5208 # simply because there is no reason against having it here, and in addition,
5209 # creating and moving files from /tmp can sometimes cause problems.
5210 # Hook for its removal unless debugging.
5211 # Note that there is a small window in which the directory will not be cleaned:
5212 # after its creation but before its name has been assigned to `$tmp'.
5213 $debug ||
5215   tmp= ac_tmp=
5216   trap 'exit_status=$?
5217   : "${ac_tmp:=$tmp}"
5218   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5219 ' 0
5220   trap 'as_fn_exit 1' 1 2 13 15
5222 # Create a (secure) tmp directory for tmp files.
5225   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5226   test -d "$tmp"
5227 }  ||
5229   tmp=./conf$$-$RANDOM
5230   (umask 077 && mkdir "$tmp")
5231 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5232 ac_tmp=$tmp
5234 # Set up the scripts for CONFIG_FILES section.
5235 # No need to generate them if there are no CONFIG_FILES.
5236 # This happens for instance with `./config.status config.h'.
5237 if test -n "$CONFIG_FILES"; then
5240 ac_cr=`echo X | tr X '\015'`
5241 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5242 # But we know of no other shell where ac_cr would be empty at this
5243 # point, so we can use a bashism as a fallback.
5244 if test "x$ac_cr" = x; then
5245   eval ac_cr=\$\'\\r\'
5246 fi
5247 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5248 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5249   ac_cs_awk_cr='\\r'
5250 else
5251   ac_cs_awk_cr=$ac_cr
5252 fi
5254 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5255 _ACEOF
5259   echo "cat >conf$$subs.awk <<_ACEOF" &&
5260   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5261   echo "_ACEOF"
5262 } >conf$$subs.sh ||
5263   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5265 ac_delim='%!_!# '
5266 for ac_last_try in false false false false false :; do
5267   . ./conf$$subs.sh ||
5268     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5270   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5271   if test $ac_delim_n = $ac_delim_num; then
5272     break
5273   elif $ac_last_try; then
5274     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5275   else
5276     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5277   fi
5278 done
5279 rm -f conf$$subs.sh
5281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5283 _ACEOF
5284 sed -n '
5286 s/^/S["/; s/!.*/"]=/
5289 s/^[^!]*!//
5290 :repl
5291 t repl
5292 s/'"$ac_delim"'$//
5293 t delim
5294 :nl
5296 s/\(.\{148\}\)..*/\1/
5297 t more1
5298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5301 b repl
5302 :more1
5303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5306 s/.\{148\}//
5307 t nl
5308 :delim
5310 s/\(.\{148\}\)..*/\1/
5311 t more2
5312 s/["\\]/\\&/g; s/^/"/; s/$/"/
5315 :more2
5316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5319 s/.\{148\}//
5320 t delim
5321 ' <conf$$subs.awk | sed '
5322 /^[^""]/{
5323   N
5324   s/\n//
5326 ' >>$CONFIG_STATUS || ac_write_fail=1
5327 rm -f conf$$subs.awk
5328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5329 _ACAWK
5330 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5331   for (key in S) S_is_set[key] = 1
5332   FS = "\a"
5336   line = $ 0
5337   nfields = split(line, field, "@")
5338   substed = 0
5339   len = length(field[1])
5340   for (i = 2; i < nfields; i++) {
5341     key = field[i]
5342     keylen = length(key)
5343     if (S_is_set[key]) {
5344       value = S[key]
5345       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5346       len += length(value) + length(field[++i])
5347       substed = 1
5348     } else
5349       len += 1 + keylen
5350   }
5352   print line
5355 _ACAWK
5356 _ACEOF
5357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5358 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5359   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5360 else
5361   cat
5362 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5363   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5364 _ACEOF
5366 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5367 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5368 # trailing colons and then remove the whole line if VPATH becomes empty
5369 # (actually we leave an empty line to preserve line numbers).
5370 if test "x$srcdir" = x.; then
5371   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5373 s///
5374 s/^/:/
5375 s/[      ]*$/:/
5376 s/:\$(srcdir):/:/g
5377 s/:\${srcdir}:/:/g
5378 s/:@srcdir@:/:/g
5379 s/^:*//
5380 s/:*$//
5382 s/\(=[   ]*\).*/\1/
5384 s/\n//
5385 s/^[^=]*=[       ]*$//
5386 }'
5387 fi
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390 fi # test -n "$CONFIG_FILES"
5393 eval set X "  :F $CONFIG_FILES      "
5394 shift
5395 for ac_tag
5396 do
5397   case $ac_tag in
5398   :[FHLC]) ac_mode=$ac_tag; continue;;
5399   esac
5400   case $ac_mode$ac_tag in
5401   :[FHL]*:*);;
5402   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5403   :[FH]-) ac_tag=-:-;;
5404   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5405   esac
5406   ac_save_IFS=$IFS
5407   IFS=:
5408   set x $ac_tag
5409   IFS=$ac_save_IFS
5410   shift
5411   ac_file=$1
5412   shift
5414   case $ac_mode in
5415   :L) ac_source=$1;;
5416   :[FH])
5417     ac_file_inputs=
5418     for ac_f
5419     do
5420       case $ac_f in
5421       -) ac_f="$ac_tmp/stdin";;
5422       *) # Look for the file first in the build tree, then in the source tree
5423          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5424          # because $ac_f cannot contain `:'.
5425          test -f "$ac_f" ||
5426            case $ac_f in
5427            [\\/$]*) false;;
5428            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5429            esac ||
5430            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5431       esac
5432       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5433       as_fn_append ac_file_inputs " '$ac_f'"
5434     done
5436     # Let's still pretend it is `configure' which instantiates (i.e., don't
5437     # use $as_me), people would be surprised to read:
5438     #    /* config.h.  Generated by config.status.  */
5439     configure_input='Generated from '`
5440           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5441         `' by configure.'
5442     if test x"$ac_file" != x-; then
5443       configure_input="$ac_file.  $configure_input"
5444       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5445 $as_echo "$as_me: creating $ac_file" >&6;}
5446     fi
5447     # Neutralize special characters interpreted by sed in replacement strings.
5448     case $configure_input in #(
5449     *\&* | *\|* | *\\* )
5450        ac_sed_conf_input=`$as_echo "$configure_input" |
5451        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5452     *) ac_sed_conf_input=$configure_input;;
5453     esac
5455     case $ac_tag in
5456     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5457       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5458     esac
5459     ;;
5460   esac
5462   ac_dir=`$as_dirname -- "$ac_file" ||
5463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5464          X"$ac_file" : 'X\(//\)[^/]' \| \
5465          X"$ac_file" : 'X\(//\)$' \| \
5466          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5467 $as_echo X"$ac_file" |
5468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5469             s//\1/
5470             q
5471           }
5472           /^X\(\/\/\)[^/].*/{
5473             s//\1/
5474             q
5475           }
5476           /^X\(\/\/\)$/{
5477             s//\1/
5478             q
5479           }
5480           /^X\(\/\).*/{
5481             s//\1/
5482             q
5483           }
5484           s/.*/./; q'`
5485   as_dir="$ac_dir"; as_fn_mkdir_p
5486   ac_builddir=.
5488 case "$ac_dir" in
5489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5490 *)
5491   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5492   # A ".." for each directory in $ac_dir_suffix.
5493   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5494   case $ac_top_builddir_sub in
5495   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5496   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5497   esac ;;
5498 esac
5499 ac_abs_top_builddir=$ac_pwd
5500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5501 # for backward compatibility:
5502 ac_top_builddir=$ac_top_build_prefix
5504 case $srcdir in
5505   .)  # We are building in place.
5506     ac_srcdir=.
5507     ac_top_srcdir=$ac_top_builddir_sub
5508     ac_abs_top_srcdir=$ac_pwd ;;
5509   [\\/]* | ?:[\\/]* )  # Absolute name.
5510     ac_srcdir=$srcdir$ac_dir_suffix;
5511     ac_top_srcdir=$srcdir
5512     ac_abs_top_srcdir=$srcdir ;;
5513   *) # Relative name.
5514     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5515     ac_top_srcdir=$ac_top_build_prefix$srcdir
5516     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5517 esac
5518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5521   case $ac_mode in
5522   :F)
5523   #
5524   # CONFIG_FILE
5525   #
5527 _ACEOF
5529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5530 # If the template does not know about datarootdir, expand it.
5531 # FIXME: This hack should be removed a few years after 2.60.
5532 ac_datarootdir_hack=; ac_datarootdir_seen=
5533 ac_sed_dataroot='
5534 /datarootdir/ {
5535   p
5536   q
5538 /@datadir@/p
5539 /@docdir@/p
5540 /@infodir@/p
5541 /@localedir@/p
5542 /@mandir@/p'
5543 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5544 *datarootdir*) ac_datarootdir_seen=yes;;
5545 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5546   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5547 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5548 _ACEOF
5549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5550   ac_datarootdir_hack='
5551   s&@datadir@&$datadir&g
5552   s&@docdir@&$docdir&g
5553   s&@infodir@&$infodir&g
5554   s&@localedir@&$localedir&g
5555   s&@mandir@&$mandir&g
5556   s&\\\${datarootdir}&$datarootdir&g' ;;
5557 esac
5558 _ACEOF
5560 # Neutralize VPATH when `$srcdir' = `.'.
5561 # Shell code in configure.ac might set extrasub.
5562 # FIXME: do we really want to maintain this feature?
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 ac_sed_extra="$ac_vpsub
5565 $extrasub
5566 _ACEOF
5567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5568 :t
5569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5570 s|@configure_input@|$ac_sed_conf_input|;t t
5571 s&@top_builddir@&$ac_top_builddir_sub&;t t
5572 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5573 s&@srcdir@&$ac_srcdir&;t t
5574 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5575 s&@top_srcdir@&$ac_top_srcdir&;t t
5576 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5577 s&@builddir@&$ac_builddir&;t t
5578 s&@abs_builddir@&$ac_abs_builddir&;t t
5579 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5580 $ac_datarootdir_hack
5582 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5583   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5585 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5586   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5587   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5588       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5589   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5590 which seems to be undefined.  Please make sure it is defined" >&5
5591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5592 which seems to be undefined.  Please make sure it is defined" >&2;}
5594   rm -f "$ac_tmp/stdin"
5595   case $ac_file in
5596   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5597   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5598   esac \
5599   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5600  ;;
5604   esac
5606 done # for ac_tag
5609 as_fn_exit 0
5610 _ACEOF
5611 ac_clean_files=$ac_clean_files_save
5613 test $ac_write_fail = 0 ||
5614   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5617 # configure is writing to config.log, and then calls config.status.
5618 # config.status does its own redirection, appending to config.log.
5619 # Unfortunately, on DOS this fails, as config.log is still kept open
5620 # by configure, so config.status won't be able to write to it; its
5621 # output is simply discarded.  So we exec the FD to /dev/null,
5622 # effectively closing config.log, so it can be properly (re)opened and
5623 # appended to by config.status.  When coming back to configure, we
5624 # need to make the FD available again.
5625 if test "$no_create" != yes; then
5626   ac_cs_success=:
5627   ac_config_status_args=
5628   test "$silent" = yes &&
5629     ac_config_status_args="$ac_config_status_args --quiet"
5630   exec 5>/dev/null
5631   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5632   exec 5>>config.log
5633   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5634   # would make configure fail if this is the last instruction.
5635   $ac_cs_success || as_fn_exit 1
5636 fi
5637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5640 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