Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Xestia Address Book 1.0.
4 #
5 # Report bugs to <bugs@xestia.co.uk>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@xestia.co.uk
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
245 $0: have one."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
265   { eval $1=; unset $1;}
267 as_unset=as_fn_unset
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
274   return $1
275 } # as_fn_set_status
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
303       as_dirs="'$as_qdir' $as_dirs"
304       as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306          X"$as_dir" : 'X\(//\)[^/]' \| \
307          X"$as_dir" : 'X\(//\)$' \| \
308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
452   chmod +x "$as_me.lineno" ||
453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455   # Don't try to exec as it changes $[0], causing all sort of problems
456   # (the dirname of $[0] is not the place where we might find the
457   # original and so on.  Autoconf is especially sensitive to this).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
486     # ... but there are two gotchas:
487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489     # In both cases, we have to default to `cp -p'.
490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 # Initializations.
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
560 # Identity of this package.
561 PACKAGE_NAME='Xestia Address Book'
562 PACKAGE_TARNAME='xestia-address-book'
563 PACKAGE_VERSION='1.0'
564 PACKAGE_STRING='Xestia Address Book 1.0'
565 PACKAGE_BUGREPORT='bugs@xestia.co.uk'
566 PACKAGE_URL=''
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #ifdef STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # ifdef HAVE_STDLIB_H
582 #  include <stdlib.h>
583 # endif
584 #endif
585 #ifdef HAVE_STRING_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #  include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #ifdef HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #ifdef HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 EGREP
607 GREP
608 WX_RESCOMP
609 WX_VERSION
610 WX_LIBS_STATIC
611 WX_LIBS
612 WX_CXXFLAGS_ONLY
613 WX_CFLAGS_ONLY
614 WX_CXXFLAGS
615 WX_CFLAGS
616 WX_CPPFLAGS
617 WX_CONFIG_PATH
618 CPP
619 ac_ct_CC
620 CFLAGS
621 CC
622 OBJEXT
623 EXEEXT
624 ac_ct_CXX
625 CPPFLAGS
626 LDFLAGS
627 CXXFLAGS
628 CXX
629 target_alias
630 host_alias
631 build_alias
632 LIBS
633 ECHO_T
634 ECHO_N
635 ECHO_C
636 DEFS
637 mandir
638 localedir
639 libdir
640 psdir
641 pdfdir
642 dvidir
643 htmldir
644 infodir
645 docdir
646 oldincludedir
647 includedir
648 localstatedir
649 sharedstatedir
650 sysconfdir
651 datadir
652 datarootdir
653 libexecdir
654 sbindir
655 bindir
656 program_transform_name
657 prefix
658 exec_prefix
659 PACKAGE_URL
660 PACKAGE_BUGREPORT
661 PACKAGE_STRING
662 PACKAGE_VERSION
663 PACKAGE_TARNAME
664 PACKAGE_NAME
665 PATH_SEPARATOR
666 SHELL'
667 ac_subst_files=''
668 ac_user_opts='
669 enable_option_checking
670 with_wxdir
671 with_wx_config
672 with_wx_prefix
673 with_wx_exec_prefix
675       ac_precious_vars='build_alias
676 host_alias
677 target_alias
678 CXX
679 CXXFLAGS
680 LDFLAGS
681 LIBS
682 CPPFLAGS
683 CCC
684 CC
685 CFLAGS
686 CPP'
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
728 infodir='${datarootdir}/info'
729 htmldir='${docdir}'
730 dvidir='${docdir}'
731 pdfdir='${docdir}'
732 psdir='${docdir}'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
737 ac_prev=
738 ac_dashdash=
739 for ac_option
740 do
741   # If the previous option needs an argument, assign it.
742   if test -n "$ac_prev"; then
743     eval $ac_prev=\$ac_option
744     ac_prev=
745     continue
746   fi
748   case $ac_option in
749   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750   *=)   ac_optarg= ;;
751   *)    ac_optarg=yes ;;
752   esac
754   # Accept the important Cygnus configure options, so we can diagnose typos.
756   case $ac_dashdash$ac_option in
757   --)
758     ac_dashdash=yes ;;
760   -bindir | --bindir | --bindi | --bind | --bin | --bi)
761     ac_prev=bindir ;;
762   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
763     bindir=$ac_optarg ;;
765   -build | --build | --buil | --bui | --bu)
766     ac_prev=build_alias ;;
767   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
768     build_alias=$ac_optarg ;;
770   -cache-file | --cache-file | --cache-fil | --cache-fi \
771   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
772     ac_prev=cache_file ;;
773   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
774   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
775     cache_file=$ac_optarg ;;
777   --config-cache | -C)
778     cache_file=config.cache ;;
780   -datadir | --datadir | --datadi | --datad)
781     ac_prev=datadir ;;
782   -datadir=* | --datadir=* | --datadi=* | --datad=*)
783     datadir=$ac_optarg ;;
785   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
786   | --dataroo | --dataro | --datar)
787     ac_prev=datarootdir ;;
788   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790     datarootdir=$ac_optarg ;;
792   -disable-* | --disable-*)
793     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794     # Reject names that are not valid shell variable names.
795     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796       as_fn_error $? "invalid feature name: $ac_useropt"
797     ac_useropt_orig=$ac_useropt
798     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799     case $ac_user_opts in
800       *"
801 "enable_$ac_useropt"
802 "*) ;;
803       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804          ac_unrecognized_sep=', ';;
805     esac
806     eval enable_$ac_useropt=no ;;
808   -docdir | --docdir | --docdi | --doc | --do)
809     ac_prev=docdir ;;
810   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811     docdir=$ac_optarg ;;
813   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814     ac_prev=dvidir ;;
815   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816     dvidir=$ac_optarg ;;
818   -enable-* | --enable-*)
819     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820     # Reject names that are not valid shell variable names.
821     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822       as_fn_error $? "invalid feature name: $ac_useropt"
823     ac_useropt_orig=$ac_useropt
824     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
825     case $ac_user_opts in
826       *"
827 "enable_$ac_useropt"
828 "*) ;;
829       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
830          ac_unrecognized_sep=', ';;
831     esac
832     eval enable_$ac_useropt=\$ac_optarg ;;
834   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
835   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
836   | --exec | --exe | --ex)
837     ac_prev=exec_prefix ;;
838   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
839   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
840   | --exec=* | --exe=* | --ex=*)
841     exec_prefix=$ac_optarg ;;
843   -gas | --gas | --ga | --g)
844     # Obsolete; use --with-gas.
845     with_gas=yes ;;
847   -help | --help | --hel | --he | -h)
848     ac_init_help=long ;;
849   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
850     ac_init_help=recursive ;;
851   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
852     ac_init_help=short ;;
854   -host | --host | --hos | --ho)
855     ac_prev=host_alias ;;
856   -host=* | --host=* | --hos=* | --ho=*)
857     host_alias=$ac_optarg ;;
859   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
860     ac_prev=htmldir ;;
861   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
862   | --ht=*)
863     htmldir=$ac_optarg ;;
865   -includedir | --includedir | --includedi | --included | --include \
866   | --includ | --inclu | --incl | --inc)
867     ac_prev=includedir ;;
868   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
869   | --includ=* | --inclu=* | --incl=* | --inc=*)
870     includedir=$ac_optarg ;;
872   -infodir | --infodir | --infodi | --infod | --info | --inf)
873     ac_prev=infodir ;;
874   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
875     infodir=$ac_optarg ;;
877   -libdir | --libdir | --libdi | --libd)
878     ac_prev=libdir ;;
879   -libdir=* | --libdir=* | --libdi=* | --libd=*)
880     libdir=$ac_optarg ;;
882   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
883   | --libexe | --libex | --libe)
884     ac_prev=libexecdir ;;
885   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
886   | --libexe=* | --libex=* | --libe=*)
887     libexecdir=$ac_optarg ;;
889   -localedir | --localedir | --localedi | --localed | --locale)
890     ac_prev=localedir ;;
891   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
892     localedir=$ac_optarg ;;
894   -localstatedir | --localstatedir | --localstatedi | --localstated \
895   | --localstate | --localstat | --localsta | --localst | --locals)
896     ac_prev=localstatedir ;;
897   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
898   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
899     localstatedir=$ac_optarg ;;
901   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
902     ac_prev=mandir ;;
903   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904     mandir=$ac_optarg ;;
906   -nfp | --nfp | --nf)
907     # Obsolete; use --without-fp.
908     with_fp=no ;;
910   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911   | --no-cr | --no-c | -n)
912     no_create=yes ;;
914   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
915   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
916     no_recursion=yes ;;
918   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
919   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
920   | --oldin | --oldi | --old | --ol | --o)
921     ac_prev=oldincludedir ;;
922   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
923   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
924   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
925     oldincludedir=$ac_optarg ;;
927   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
928     ac_prev=prefix ;;
929   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
930     prefix=$ac_optarg ;;
932   -program-prefix | --program-prefix | --program-prefi | --program-pref \
933   | --program-pre | --program-pr | --program-p)
934     ac_prev=program_prefix ;;
935   -program-prefix=* | --program-prefix=* | --program-prefi=* \
936   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
937     program_prefix=$ac_optarg ;;
939   -program-suffix | --program-suffix | --program-suffi | --program-suff \
940   | --program-suf | --program-su | --program-s)
941     ac_prev=program_suffix ;;
942   -program-suffix=* | --program-suffix=* | --program-suffi=* \
943   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
944     program_suffix=$ac_optarg ;;
946   -program-transform-name | --program-transform-name \
947   | --program-transform-nam | --program-transform-na \
948   | --program-transform-n | --program-transform- \
949   | --program-transform | --program-transfor \
950   | --program-transfo | --program-transf \
951   | --program-trans | --program-tran \
952   | --progr-tra | --program-tr | --program-t)
953     ac_prev=program_transform_name ;;
954   -program-transform-name=* | --program-transform-name=* \
955   | --program-transform-nam=* | --program-transform-na=* \
956   | --program-transform-n=* | --program-transform-=* \
957   | --program-transform=* | --program-transfor=* \
958   | --program-transfo=* | --program-transf=* \
959   | --program-trans=* | --program-tran=* \
960   | --progr-tra=* | --program-tr=* | --program-t=*)
961     program_transform_name=$ac_optarg ;;
963   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
964     ac_prev=pdfdir ;;
965   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
966     pdfdir=$ac_optarg ;;
968   -psdir | --psdir | --psdi | --psd | --ps)
969     ac_prev=psdir ;;
970   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
971     psdir=$ac_optarg ;;
973   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974   | -silent | --silent | --silen | --sile | --sil)
975     silent=yes ;;
977   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
978     ac_prev=sbindir ;;
979   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
980   | --sbi=* | --sb=*)
981     sbindir=$ac_optarg ;;
983   -sharedstatedir | --sharedstatedir | --sharedstatedi \
984   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985   | --sharedst | --shareds | --shared | --share | --shar \
986   | --sha | --sh)
987     ac_prev=sharedstatedir ;;
988   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
991   | --sha=* | --sh=*)
992     sharedstatedir=$ac_optarg ;;
994   -site | --site | --sit)
995     ac_prev=site ;;
996   -site=* | --site=* | --sit=*)
997     site=$ac_optarg ;;
999   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1000     ac_prev=srcdir ;;
1001   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002     srcdir=$ac_optarg ;;
1004   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005   | --syscon | --sysco | --sysc | --sys | --sy)
1006     ac_prev=sysconfdir ;;
1007   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009     sysconfdir=$ac_optarg ;;
1011   -target | --target | --targe | --targ | --tar | --ta | --t)
1012     ac_prev=target_alias ;;
1013   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014     target_alias=$ac_optarg ;;
1016   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1017     verbose=yes ;;
1019   -version | --version | --versio | --versi | --vers | -V)
1020     ac_init_version=: ;;
1022   -with-* | --with-*)
1023     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024     # Reject names that are not valid shell variable names.
1025     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026       as_fn_error $? "invalid package name: $ac_useropt"
1027     ac_useropt_orig=$ac_useropt
1028     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029     case $ac_user_opts in
1030       *"
1031 "with_$ac_useropt"
1032 "*) ;;
1033       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1034          ac_unrecognized_sep=', ';;
1035     esac
1036     eval with_$ac_useropt=\$ac_optarg ;;
1038   -without-* | --without-*)
1039     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040     # Reject names that are not valid shell variable names.
1041     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042       as_fn_error $? "invalid package name: $ac_useropt"
1043     ac_useropt_orig=$ac_useropt
1044     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045     case $ac_user_opts in
1046       *"
1047 "with_$ac_useropt"
1048 "*) ;;
1049       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050          ac_unrecognized_sep=', ';;
1051     esac
1052     eval with_$ac_useropt=no ;;
1054   --x)
1055     # Obsolete; use --with-x.
1056     with_x=yes ;;
1058   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059   | --x-incl | --x-inc | --x-in | --x-i)
1060     ac_prev=x_includes ;;
1061   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063     x_includes=$ac_optarg ;;
1065   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067     ac_prev=x_libraries ;;
1068   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070     x_libraries=$ac_optarg ;;
1072   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1073 Try \`$0 --help' for more information"
1074     ;;
1076   *=*)
1077     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078     # Reject names that are not valid shell variable names.
1079     case $ac_envvar in #(
1080       '' | [0-9]* | *[!_$as_cr_alnum]* )
1081       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1082     esac
1083     eval $ac_envvar=\$ac_optarg
1084     export $ac_envvar ;;
1086   *)
1087     # FIXME: should be removed in autoconf 3.0.
1088     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1092     ;;
1094   esac
1095 done
1097 if test -n "$ac_prev"; then
1098   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099   as_fn_error $? "missing argument to $ac_option"
1100 fi
1102 if test -n "$ac_unrecognized_opts"; then
1103   case $enable_option_checking in
1104     no) ;;
1105     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1106     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107   esac
1108 fi
1110 # Check all directory arguments for consistency.
1111 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112                 datadir sysconfdir sharedstatedir localstatedir includedir \
1113                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114                 libdir localedir mandir
1115 do
1116   eval ac_val=\$$ac_var
1117   # Remove trailing slashes.
1118   case $ac_val in
1119     */ )
1120       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121       eval $ac_var=\$ac_val;;
1122   esac
1123   # Be sure to have absolute directory names.
1124   case $ac_val in
1125     [\\/$]* | ?:[\\/]* )  continue;;
1126     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1127   esac
1128   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1129 done
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1134 build=$build_alias
1135 host=$host_alias
1136 target=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x; then
1140   if test "x$build_alias" = x; then
1141     cross_compiling=maybe
1142     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1143     If a cross compiler is detected then cross compile mode will be used" >&2
1144   elif test "x$build_alias" != "x$host_alias"; then
1145     cross_compiling=yes
1146   fi
1147 fi
1149 ac_tool_prefix=
1150 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1152 test "$silent" = yes && exec 6>/dev/null
1155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156 ac_ls_di=`ls -di .` &&
1157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158   as_fn_error $? "working directory cannot be determined"
1159 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1160   as_fn_error $? "pwd does not report name of working directory"
1163 # Find the source files, if location was not specified.
1164 if test -z "$srcdir"; then
1165   ac_srcdir_defaulted=yes
1166   # Try the directory containing this script, then the parent directory.
1167   ac_confdir=`$as_dirname -- "$as_myself" ||
1168 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1169          X"$as_myself" : 'X\(//\)[^/]' \| \
1170          X"$as_myself" : 'X\(//\)$' \| \
1171          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1172 $as_echo X"$as_myself" |
1173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174             s//\1/
1175             q
1176           }
1177           /^X\(\/\/\)[^/].*/{
1178             s//\1/
1179             q
1180           }
1181           /^X\(\/\/\)$/{
1182             s//\1/
1183             q
1184           }
1185           /^X\(\/\).*/{
1186             s//\1/
1187             q
1188           }
1189           s/.*/./; q'`
1190   srcdir=$ac_confdir
1191   if test ! -r "$srcdir/$ac_unique_file"; then
1192     srcdir=..
1193   fi
1194 else
1195   ac_srcdir_defaulted=no
1196 fi
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1198   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1199   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200 fi
1201 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 ac_abs_confdir=`(
1203         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204         pwd)`
1205 # When building in place, set srcdir=.
1206 if test "$ac_abs_confdir" = "$ac_pwd"; then
1207   srcdir=.
1208 fi
1209 # Remove unnecessary trailing slashes from srcdir.
1210 # Double slashes in file names in object file debugging info
1211 # mess up M-x gdb in Emacs.
1212 case $srcdir in
1213 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 esac
1215 for ac_var in $ac_precious_vars; do
1216   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1217   eval ac_env_${ac_var}_value=\$${ac_var}
1218   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1219   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1220 done
1223 # Report the --help message.
1225 if test "$ac_init_help" = "long"; then
1226   # Omit some internal or obsolete options to make the list less imposing.
1227   # This message is too long to be a string in the A/UX 3.1 sh.
1228   cat <<_ACEOF
1229 \`configure' configures Xestia Address Book 1.0 to adapt to many kinds of systems.
1231 Usage: $0 [OPTION]... [VAR=VALUE]...
1233 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1234 VAR=VALUE.  See below for descriptions of some of the useful variables.
1236 Defaults for the options are specified in brackets.
1238 Configuration:
1239   -h, --help              display this help and exit
1240       --help=short        display options specific to this package
1241       --help=recursive    display the short help of all the included packages
1242   -V, --version           display version information and exit
1243   -q, --quiet, --silent   do not print \`checking ...' messages
1244       --cache-file=FILE   cache test results in FILE [disabled]
1245   -C, --config-cache      alias for \`--cache-file=config.cache'
1246   -n, --no-create         do not create output files
1247       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1249 Installation directories:
1250   --prefix=PREFIX         install architecture-independent files in PREFIX
1251                           [$ac_default_prefix]
1252   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1253                           [PREFIX]
1255 By default, \`make install' will install all the files in
1256 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1257 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1258 for instance \`--prefix=\$HOME'.
1260 For better control, use the options below.
1262 Fine tuning of the installation directories:
1263   --bindir=DIR            user executables [EPREFIX/bin]
1264   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1265   --libexecdir=DIR        program executables [EPREFIX/libexec]
1266   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1267   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1268   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1269   --libdir=DIR            object code libraries [EPREFIX/lib]
1270   --includedir=DIR        C header files [PREFIX/include]
1271   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1272   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1273   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1274   --infodir=DIR           info documentation [DATAROOTDIR/info]
1275   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1276   --mandir=DIR            man documentation [DATAROOTDIR/man]
1277   --docdir=DIR            documentation root
1278                           [DATAROOTDIR/doc/xestia-address-book]
1279   --htmldir=DIR           html documentation [DOCDIR]
1280   --dvidir=DIR            dvi documentation [DOCDIR]
1281   --pdfdir=DIR            pdf documentation [DOCDIR]
1282   --psdir=DIR             ps documentation [DOCDIR]
1283 _ACEOF
1285   cat <<\_ACEOF
1286 _ACEOF
1287 fi
1289 if test -n "$ac_init_help"; then
1290   case $ac_init_help in
1291      short | recursive ) echo "Configuration of Xestia Address Book 1.0:";;
1292    esac
1293   cat <<\_ACEOF
1295 Optional Packages:
1296   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1297   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1298   --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1299   --with-wx-config=CONFIG wx-config script to use (optional)
1300   --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1301   --with-wx-exec-prefix=PREFIX
1302                           Exec prefix where wxWidgets is installed (optional)
1304 Some influential environment variables:
1305   CXX         C++ compiler command
1306   CXXFLAGS    C++ compiler flags
1307   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1308               nonstandard directory <lib dir>
1309   LIBS        libraries to pass to the linker, e.g. -l<library>
1310   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311               you have headers in a nonstandard directory <include dir>
1312   CC          C compiler command
1313   CFLAGS      C compiler flags
1314   CPP         C preprocessor
1316 Use these variables to override the choices made by `configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1319 Report bugs to <bugs@xestia.co.uk>.
1320 _ACEOF
1321 ac_status=$?
1322 fi
1324 if test "$ac_init_help" = "recursive"; then
1325   # If there are subdirs, report their specific --help.
1326   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327     test -d "$ac_dir" ||
1328       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329       continue
1330     ac_builddir=.
1332 case "$ac_dir" in
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *)
1335   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336   # A ".." for each directory in $ac_dir_suffix.
1337   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338   case $ac_top_builddir_sub in
1339   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341   esac ;;
1342 esac
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1348 case $srcdir in
1349   .)  # We are building in place.
1350     ac_srcdir=.
1351     ac_top_srcdir=$ac_top_builddir_sub
1352     ac_abs_top_srcdir=$ac_pwd ;;
1353   [\\/]* | ?:[\\/]* )  # Absolute name.
1354     ac_srcdir=$srcdir$ac_dir_suffix;
1355     ac_top_srcdir=$srcdir
1356     ac_abs_top_srcdir=$srcdir ;;
1357   *) # Relative name.
1358     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359     ac_top_srcdir=$ac_top_build_prefix$srcdir
1360     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361 esac
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364     cd "$ac_dir" || { ac_status=$?; continue; }
1365     # Check for guested configure.
1366     if test -f "$ac_srcdir/configure.gnu"; then
1367       echo &&
1368       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369     elif test -f "$ac_srcdir/configure"; then
1370       echo &&
1371       $SHELL "$ac_srcdir/configure" --help=recursive
1372     else
1373       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374     fi || ac_status=$?
1375     cd "$ac_pwd" || { ac_status=$?; break; }
1376   done
1377 fi
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1381   cat <<\_ACEOF
1382 Xestia Address Book configure 1.0
1383 generated by GNU Autoconf 2.68
1385 Copyright (C) 2010 Free Software Foundation, Inc.
1386 This configure script is free software; the Free Software Foundation
1387 gives unlimited permission to copy, distribute and modify it.
1388 _ACEOF
1389   exit
1390 fi
1392 ## ------------------------ ##
1393 ## Autoconf initialization. ##
1394 ## ------------------------ ##
1396 # ac_fn_cxx_try_compile LINENO
1397 # ----------------------------
1398 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1399 ac_fn_cxx_try_compile ()
1401   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402   rm -f conftest.$ac_objext
1403   if { { ac_try="$ac_compile"
1404 case "(($ac_try" in
1405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406   *) ac_try_echo=$ac_try;;
1407 esac
1408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410   (eval "$ac_compile") 2>conftest.err
1411   ac_status=$?
1412   if test -s conftest.err; then
1413     grep -v '^ *+' conftest.err >conftest.er1
1414     cat conftest.er1 >&5
1415     mv -f conftest.er1 conftest.err
1416   fi
1417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418   test $ac_status = 0; } && {
1419          test -z "$ac_cxx_werror_flag" ||
1420          test ! -s conftest.err
1421        } && test -s conftest.$ac_objext; then :
1422   ac_retval=0
1423 else
1424   $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.$ac_ext >&5
1427         ac_retval=1
1428 fi
1429   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430   as_fn_set_status $ac_retval
1432 } # ac_fn_cxx_try_compile
1434 # ac_fn_c_try_compile LINENO
1435 # --------------------------
1436 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1437 ac_fn_c_try_compile ()
1439   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440   rm -f conftest.$ac_objext
1441   if { { ac_try="$ac_compile"
1442 case "(($ac_try" in
1443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1444   *) ac_try_echo=$ac_try;;
1445 esac
1446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447 $as_echo "$ac_try_echo"; } >&5
1448   (eval "$ac_compile") 2>conftest.err
1449   ac_status=$?
1450   if test -s conftest.err; then
1451     grep -v '^ *+' conftest.err >conftest.er1
1452     cat conftest.er1 >&5
1453     mv -f conftest.er1 conftest.err
1454   fi
1455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1456   test $ac_status = 0; } && {
1457          test -z "$ac_c_werror_flag" ||
1458          test ! -s conftest.err
1459        } && test -s conftest.$ac_objext; then :
1460   ac_retval=0
1461 else
1462   $as_echo "$as_me: failed program was:" >&5
1463 sed 's/^/| /' conftest.$ac_ext >&5
1465         ac_retval=1
1466 fi
1467   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1468   as_fn_set_status $ac_retval
1470 } # ac_fn_c_try_compile
1472 # ac_fn_c_try_cpp LINENO
1473 # ----------------------
1474 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1475 ac_fn_c_try_cpp ()
1477   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478   if { { ac_try="$ac_cpp conftest.$ac_ext"
1479 case "(($ac_try" in
1480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481   *) ac_try_echo=$ac_try;;
1482 esac
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 $as_echo "$ac_try_echo"; } >&5
1485   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1486   ac_status=$?
1487   if test -s conftest.err; then
1488     grep -v '^ *+' conftest.err >conftest.er1
1489     cat conftest.er1 >&5
1490     mv -f conftest.er1 conftest.err
1491   fi
1492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493   test $ac_status = 0; } > conftest.i && {
1494          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1495          test ! -s conftest.err
1496        }; then :
1497   ac_retval=0
1498 else
1499   $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1502     ac_retval=1
1503 fi
1504   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505   as_fn_set_status $ac_retval
1507 } # ac_fn_c_try_cpp
1509 # ac_fn_c_try_link LINENO
1510 # -----------------------
1511 # Try to link conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_link ()
1514   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515   rm -f conftest.$ac_objext conftest$ac_exeext
1516   if { { ac_try="$ac_link"
1517 case "(($ac_try" in
1518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519   *) ac_try_echo=$ac_try;;
1520 esac
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523   (eval "$ac_link") 2>conftest.err
1524   ac_status=$?
1525   if test -s conftest.err; then
1526     grep -v '^ *+' conftest.err >conftest.er1
1527     cat conftest.er1 >&5
1528     mv -f conftest.er1 conftest.err
1529   fi
1530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531   test $ac_status = 0; } && {
1532          test -z "$ac_c_werror_flag" ||
1533          test ! -s conftest.err
1534        } && test -s conftest$ac_exeext && {
1535          test "$cross_compiling" = yes ||
1536          $as_test_x conftest$ac_exeext
1537        }; then :
1538   ac_retval=0
1539 else
1540   $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1543         ac_retval=1
1544 fi
1545   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1546   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1547   # interfere with the next link command; also delete a directory that is
1548   # left behind by Apple's compiler.  We do this before executing the actions.
1549   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551   as_fn_set_status $ac_retval
1553 } # ac_fn_c_try_link
1555 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1556 # -------------------------------------------------------
1557 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1558 # the include files in INCLUDES and setting the cache variable VAR
1559 # accordingly.
1560 ac_fn_c_check_header_mongrel ()
1562   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563   if eval \${$3+:} false; then :
1564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if eval \${$3+:} false; then :
1567   $as_echo_n "(cached) " >&6
1568 fi
1569 eval ac_res=\$$3
1570                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1572 else
1573   # Is the header compilable?
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1575 $as_echo_n "checking $2 usability... " >&6; }
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h.  */
1578 $4
1579 #include <$2>
1580 _ACEOF
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582   ac_header_compiler=yes
1583 else
1584   ac_header_compiler=no
1585 fi
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1588 $as_echo "$ac_header_compiler" >&6; }
1590 # Is the header present?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1592 $as_echo_n "checking $2 presence... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h.  */
1595 #include <$2>
1596 _ACEOF
1597 if ac_fn_c_try_cpp "$LINENO"; then :
1598   ac_header_preproc=yes
1599 else
1600   ac_header_preproc=no
1601 fi
1602 rm -f conftest.err conftest.i conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1604 $as_echo "$ac_header_preproc" >&6; }
1606 # So?  What about this header?
1607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1608   yes:no: )
1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1610 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1613     ;;
1614   no:yes:* )
1615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1616 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1618 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1620 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1622 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&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 ( $as_echo "## -------------------------------- ##
1626 ## Report this to bugs@xestia.co.uk ##
1627 ## -------------------------------- ##"
1628      ) | sed "s/^/$as_me: WARNING:     /" >&2
1629     ;;
1630 esac
1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634   $as_echo_n "(cached) " >&6
1635 else
1636   eval "$3=\$ac_header_compiler"
1637 fi
1638 eval ac_res=\$$3
1639                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1641 fi
1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 } # ac_fn_c_check_header_mongrel
1646 # ac_fn_c_try_run LINENO
1647 # ----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1649 # that executables *can* be run.
1650 ac_fn_c_try_run ()
1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653   if { { ac_try="$ac_link"
1654 case "(($ac_try" in
1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656   *) ac_try_echo=$ac_try;;
1657 esac
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660   (eval "$ac_link") 2>&5
1661   ac_status=$?
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1664   { { case "(($ac_try" in
1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666   *) ac_try_echo=$ac_try;;
1667 esac
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670   (eval "$ac_try") 2>&5
1671   ac_status=$?
1672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673   test $ac_status = 0; }; }; then :
1674   ac_retval=0
1675 else
1676   $as_echo "$as_me: program exited with status $ac_status" >&5
1677        $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1680        ac_retval=$ac_status
1681 fi
1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684   as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_run
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698   $as_echo_n "(cached) " >&6
1699 else
1700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h.  */
1702 $4
1703 #include <$2>
1704 _ACEOF
1705 if ac_fn_c_try_compile "$LINENO"; then :
1706   eval "$3=yes"
1707 else
1708   eval "$3=no"
1709 fi
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711 fi
1712 eval ac_res=\$$3
1713                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1720 # -------------------------------------------
1721 # Tests whether TYPE exists after having included INCLUDES, setting cache
1722 # variable VAR accordingly.
1723 ac_fn_c_check_type ()
1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729   $as_echo_n "(cached) " >&6
1730 else
1731   eval "$3=no"
1732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h.  */
1734 $4
1735 int
1736 main ()
1738 if (sizeof ($2))
1739          return 0;
1740   ;
1741   return 0;
1743 _ACEOF
1744 if ac_fn_c_try_compile "$LINENO"; then :
1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h.  */
1747 $4
1748 int
1749 main ()
1751 if (sizeof (($2)))
1752             return 0;
1753   ;
1754   return 0;
1756 _ACEOF
1757 if ac_fn_c_try_compile "$LINENO"; then :
1759 else
1760   eval "$3=yes"
1761 fi
1762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 fi
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765 fi
1766 eval ac_res=\$$3
1767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_type
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1776 It was created by Xestia Address Book $as_me 1.0, which was
1777 generated by GNU Autoconf 2.68.  Invocation command line was
1779   $ $0 $@
1781 _ACEOF
1782 exec 5>>config.log
1784 cat <<_ASUNAME
1785 ## --------- ##
1786 ## Platform. ##
1787 ## --------- ##
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1798 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1799 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1802 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1803 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1804 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1806 _ASUNAME
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1810 do
1811   IFS=$as_save_IFS
1812   test -z "$as_dir" && as_dir=.
1813     $as_echo "PATH: $as_dir"
1814   done
1815 IFS=$as_save_IFS
1817 } >&5
1819 cat >&5 <<_ACEOF
1822 ## ----------- ##
1823 ## Core tests. ##
1824 ## ----------- ##
1826 _ACEOF
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1834 ac_configure_args=
1835 ac_configure_args0=
1836 ac_configure_args1=
1837 ac_must_keep_next=false
1838 for ac_pass in 1 2
1839 do
1840   for ac_arg
1841   do
1842     case $ac_arg in
1843     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845     | -silent | --silent | --silen | --sile | --sil)
1846       continue ;;
1847     *\'*)
1848       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1849     esac
1850     case $ac_pass in
1851     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1852     2)
1853       as_fn_append ac_configure_args1 " '$ac_arg'"
1854       if test $ac_must_keep_next = true; then
1855         ac_must_keep_next=false # Got value, back to normal.
1856       else
1857         case $ac_arg in
1858           *=* | --config-cache | -C | -disable-* | --disable-* \
1859           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861           | -with-* | --with-* | -without-* | --without-* | --x)
1862             case "$ac_configure_args0 " in
1863               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1864             esac
1865             ;;
1866           -* ) ac_must_keep_next=true ;;
1867         esac
1868       fi
1869       as_fn_append ac_configure_args " '$ac_arg'"
1870       ;;
1871     esac
1872   done
1873 done
1874 { ac_configure_args0=; unset ac_configure_args0;}
1875 { ac_configure_args1=; unset ac_configure_args1;}
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log.  We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883   # Save into config.log some information that might help in debugging.
1884   {
1885     echo
1887     $as_echo "## ---------------- ##
1888 ## Cache variables. ##
1889 ## ---------------- ##"
1890     echo
1891     # The following way of writing the cache mishandles newlines in values,
1893   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1894     eval ac_val=\$$ac_var
1895     case $ac_val in #(
1896     *${as_nl}*)
1897       case $ac_var in #(
1898       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1900       esac
1901       case $ac_var in #(
1902       _ | IFS | as_nl) ;; #(
1903       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1904       *) { eval $ac_var=; unset $ac_var;} ;;
1905       esac ;;
1906     esac
1907   done
1908   (set) 2>&1 |
1909     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1910     *${as_nl}ac_space=\ *)
1911       sed -n \
1912         "s/'\''/'\''\\\\'\'''\''/g;
1913           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1914       ;; #(
1915     *)
1916       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1917       ;;
1918     esac |
1919     sort
1921     echo
1923     $as_echo "## ----------------- ##
1924 ## Output variables. ##
1925 ## ----------------- ##"
1926     echo
1927     for ac_var in $ac_subst_vars
1928     do
1929       eval ac_val=\$$ac_var
1930       case $ac_val in
1931       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932       esac
1933       $as_echo "$ac_var='\''$ac_val'\''"
1934     done | sort
1935     echo
1937     if test -n "$ac_subst_files"; then
1938       $as_echo "## ------------------- ##
1939 ## File substitutions. ##
1940 ## ------------------- ##"
1941       echo
1942       for ac_var in $ac_subst_files
1943       do
1944         eval ac_val=\$$ac_var
1945         case $ac_val in
1946         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1947         esac
1948         $as_echo "$ac_var='\''$ac_val'\''"
1949       done | sort
1950       echo
1951     fi
1953     if test -s confdefs.h; then
1954       $as_echo "## ----------- ##
1955 ## confdefs.h. ##
1956 ## ----------- ##"
1957       echo
1958       cat confdefs.h
1959       echo
1960     fi
1961     test "$ac_signal" != 0 &&
1962       $as_echo "$as_me: caught signal $ac_signal"
1963     $as_echo "$as_me: exit $exit_status"
1964   } >&5
1965   rm -f core *.core core.conftest.* &&
1966     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1967     exit $exit_status
1968 ' 0
1969 for ac_signal in 1 2 13 15; do
1970   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1971 done
1972 ac_signal=0
1974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1975 rm -f -r conftest* confdefs.h
1977 $as_echo "/* confdefs.h */" > confdefs.h
1979 # Predefined preprocessor variables.
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_NAME "$PACKAGE_NAME"
1983 _ACEOF
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1987 _ACEOF
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1991 _ACEOF
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_STRING "$PACKAGE_STRING"
1995 _ACEOF
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1999 _ACEOF
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_URL "$PACKAGE_URL"
2003 _ACEOF
2006 # Let the site file select an alternate cache file if it wants to.
2007 # Prefer an explicitly selected file to automatically selected ones.
2008 ac_site_file1=NONE
2009 ac_site_file2=NONE
2010 if test -n "$CONFIG_SITE"; then
2011   # We do not want a PATH search for config.site.
2012   case $CONFIG_SITE in #((
2013     -*)  ac_site_file1=./$CONFIG_SITE;;
2014     */*) ac_site_file1=$CONFIG_SITE;;
2015     *)   ac_site_file1=./$CONFIG_SITE;;
2016   esac
2017 elif test "x$prefix" != xNONE; then
2018   ac_site_file1=$prefix/share/config.site
2019   ac_site_file2=$prefix/etc/config.site
2020 else
2021   ac_site_file1=$ac_default_prefix/share/config.site
2022   ac_site_file2=$ac_default_prefix/etc/config.site
2023 fi
2024 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2025 do
2026   test "x$ac_site_file" = xNONE && continue
2027   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2028     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2029 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2030     sed 's/^/| /' "$ac_site_file" >&5
2031     . "$ac_site_file" \
2032       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 as_fn_error $? "failed to load site script $ac_site_file
2035 See \`config.log' for more details" "$LINENO" 5; }
2036   fi
2037 done
2039 if test -r "$cache_file"; then
2040   # Some versions of bash will fail to source /dev/null (special files
2041   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2042   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2043     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2044 $as_echo "$as_me: loading cache $cache_file" >&6;}
2045     case $cache_file in
2046       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2047       *)                      . "./$cache_file";;
2048     esac
2049   fi
2050 else
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2052 $as_echo "$as_me: creating cache $cache_file" >&6;}
2053   >$cache_file
2054 fi
2056 # Check that the precious variables saved in the cache have kept the same
2057 # value.
2058 ac_cache_corrupted=false
2059 for ac_var in $ac_precious_vars; do
2060   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2061   eval ac_new_set=\$ac_env_${ac_var}_set
2062   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2063   eval ac_new_val=\$ac_env_${ac_var}_value
2064   case $ac_old_set,$ac_new_set in
2065     set,)
2066       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2067 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2068       ac_cache_corrupted=: ;;
2069     ,set)
2070       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2071 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2072       ac_cache_corrupted=: ;;
2073     ,);;
2074     *)
2075       if test "x$ac_old_val" != "x$ac_new_val"; then
2076         # differences in whitespace do not lead to failure.
2077         ac_old_val_w=`echo x $ac_old_val`
2078         ac_new_val_w=`echo x $ac_new_val`
2079         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2080           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2081 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2082           ac_cache_corrupted=:
2083         else
2084           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2085 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2086           eval $ac_var=\$ac_old_val
2087         fi
2088         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2089 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2090         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2091 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2092       fi;;
2093   esac
2094   # Pass precious variables to config.status.
2095   if test "$ac_new_set" = set; then
2096     case $ac_new_val in
2097     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2098     *) ac_arg=$ac_var=$ac_new_val ;;
2099     esac
2100     case " $ac_configure_args " in
2101       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2102       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2103     esac
2104   fi
2105 done
2106 if $ac_cache_corrupted; then
2107   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2110 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2111   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2112 fi
2113 ## -------------------- ##
2114 ## Main body of script. ##
2115 ## -------------------- ##
2117 ac_ext=c
2118 ac_cpp='$CPP $CPPFLAGS'
2119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124 #AC_CONFIG_SRCDIR([version.h])
2125 #AC_CONFIG_HEADERS([config.h])
2127 # Checks for programs.
2128 ac_ext=cpp
2129 ac_cpp='$CXXCPP $CPPFLAGS'
2130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2133 if test -z "$CXX"; then
2134   if test -n "$CCC"; then
2135     CXX=$CCC
2136   else
2137     if test -n "$ac_tool_prefix"; then
2138   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2139   do
2140     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if ${ac_cv_prog_CXX+:} false; then :
2145   $as_echo_n "(cached) " >&6
2146 else
2147   if test -n "$CXX"; then
2148   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2149 else
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 for as_dir in $PATH
2152 do
2153   IFS=$as_save_IFS
2154   test -z "$as_dir" && as_dir=.
2155     for ac_exec_ext in '' $ac_executable_extensions; do
2156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2159     break 2
2160   fi
2161 done
2162   done
2163 IFS=$as_save_IFS
2165 fi
2166 fi
2167 CXX=$ac_cv_prog_CXX
2168 if test -n "$CXX"; then
2169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2170 $as_echo "$CXX" >&6; }
2171 else
2172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2174 fi
2177     test -n "$CXX" && break
2178   done
2179 fi
2180 if test -z "$CXX"; then
2181   ac_ct_CXX=$CXX
2182   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2183 do
2184   # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2189   $as_echo_n "(cached) " >&6
2190 else
2191   if test -n "$ac_ct_CXX"; then
2192   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2196 do
2197   IFS=$as_save_IFS
2198   test -z "$as_dir" && as_dir=.
2199     for ac_exec_ext in '' $ac_executable_extensions; do
2200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201     ac_cv_prog_ac_ct_CXX="$ac_prog"
2202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203     break 2
2204   fi
2205 done
2206   done
2207 IFS=$as_save_IFS
2209 fi
2210 fi
2211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2212 if test -n "$ac_ct_CXX"; then
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2214 $as_echo "$ac_ct_CXX" >&6; }
2215 else
2216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2218 fi
2221   test -n "$ac_ct_CXX" && break
2222 done
2224   if test "x$ac_ct_CXX" = x; then
2225     CXX="g++"
2226   else
2227     case $cross_compiling:$ac_tool_warned in
2228 yes:)
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231 ac_tool_warned=yes ;;
2232 esac
2233     CXX=$ac_ct_CXX
2234   fi
2235 fi
2237   fi
2238 fi
2239 # Provide some information about the compiler.
2240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2241 set X $ac_compile
2242 ac_compiler=$2
2243 for ac_option in --version -v -V -qversion; do
2244   { { ac_try="$ac_compiler $ac_option >&5"
2245 case "(($ac_try" in
2246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247   *) ac_try_echo=$ac_try;;
2248 esac
2249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2250 $as_echo "$ac_try_echo"; } >&5
2251   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2252   ac_status=$?
2253   if test -s conftest.err; then
2254     sed '10a\
2255 ... rest of stderr output deleted ...
2256          10q' conftest.err >conftest.er1
2257     cat conftest.er1 >&5
2258   fi
2259   rm -f conftest.er1 conftest.err
2260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2261   test $ac_status = 0; }
2262 done
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h.  */
2267 int
2268 main ()
2271   ;
2272   return 0;
2274 _ACEOF
2275 ac_clean_files_save=$ac_clean_files
2276 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2277 # Try to create an executable without -o first, disregard a.out.
2278 # It will help us diagnose broken compilers, and finding out an intuition
2279 # of exeext.
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2281 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2282 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2284 # The possible output files:
2285 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2287 ac_rmfiles=
2288 for ac_file in $ac_files
2289 do
2290   case $ac_file in
2291     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2292     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2293   esac
2294 done
2295 rm -f $ac_rmfiles
2297 if { { ac_try="$ac_link_default"
2298 case "(($ac_try" in
2299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300   *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304   (eval "$ac_link_default") 2>&5
2305   ac_status=$?
2306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307   test $ac_status = 0; }; then :
2308   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2309 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2310 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2311 # so that the user can short-circuit this test for compilers unknown to
2312 # Autoconf.
2313 for ac_file in $ac_files ''
2314 do
2315   test -f "$ac_file" || continue
2316   case $ac_file in
2317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2318         ;;
2319     [ab].out )
2320         # We found the default executable, but exeext='' is most
2321         # certainly right.
2322         break;;
2323     *.* )
2324         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2325         then :; else
2326            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2327         fi
2328         # We set ac_cv_exeext here because the later test for it is not
2329         # safe: cross compilers may not add the suffix if given an `-o'
2330         # argument, so we may need to know it at that point already.
2331         # Even if this section looks crufty: it has the advantage of
2332         # actually working.
2333         break;;
2334     * )
2335         break;;
2336   esac
2337 done
2338 test "$ac_cv_exeext" = no && ac_cv_exeext=
2340 else
2341   ac_file=''
2342 fi
2343 if test -z "$ac_file"; then :
2344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345 $as_echo "no" >&6; }
2346 $as_echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 as_fn_error 77 "C++ compiler cannot create executables
2352 See \`config.log' for more details" "$LINENO" 5; }
2353 else
2354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2355 $as_echo "yes" >&6; }
2356 fi
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2358 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2360 $as_echo "$ac_file" >&6; }
2361 ac_exeext=$ac_cv_exeext
2363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2364 ac_clean_files=$ac_clean_files_save
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2366 $as_echo_n "checking for suffix of executables... " >&6; }
2367 if { { ac_try="$ac_link"
2368 case "(($ac_try" in
2369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370   *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374   (eval "$ac_link") 2>&5
2375   ac_status=$?
2376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377   test $ac_status = 0; }; then :
2378   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2379 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2380 # work properly (i.e., refer to `conftest.exe'), while it won't with
2381 # `rm'.
2382 for ac_file in conftest.exe conftest conftest.*; do
2383   test -f "$ac_file" || continue
2384   case $ac_file in
2385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2386     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2387           break;;
2388     * ) break;;
2389   esac
2390 done
2391 else
2392   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2395 See \`config.log' for more details" "$LINENO" 5; }
2396 fi
2397 rm -f conftest conftest$ac_cv_exeext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2399 $as_echo "$ac_cv_exeext" >&6; }
2401 rm -f conftest.$ac_ext
2402 EXEEXT=$ac_cv_exeext
2403 ac_exeext=$EXEEXT
2404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h.  */
2406 #include <stdio.h>
2407 int
2408 main ()
2410 FILE *f = fopen ("conftest.out", "w");
2411  return ferror (f) || fclose (f) != 0;
2413   ;
2414   return 0;
2416 _ACEOF
2417 ac_clean_files="$ac_clean_files conftest.out"
2418 # Check that the compiler produces executables we can run.  If not, either
2419 # the compiler is broken, or we cross compile.
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2421 $as_echo_n "checking whether we are cross compiling... " >&6; }
2422 if test "$cross_compiling" != yes; then
2423   { { ac_try="$ac_link"
2424 case "(($ac_try" in
2425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426   *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430   (eval "$ac_link") 2>&5
2431   ac_status=$?
2432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433   test $ac_status = 0; }
2434   if { ac_try='./conftest$ac_cv_exeext'
2435   { { case "(($ac_try" in
2436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437   *) ac_try_echo=$ac_try;;
2438 esac
2439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441   (eval "$ac_try") 2>&5
2442   ac_status=$?
2443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2444   test $ac_status = 0; }; }; then
2445     cross_compiling=no
2446   else
2447     if test "$cross_compiling" = maybe; then
2448         cross_compiling=yes
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 run C++ compiled programs.
2453 If you meant to cross compile, use \`--host'.
2454 See \`config.log' for more details" "$LINENO" 5; }
2455     fi
2456   fi
2457 fi
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2459 $as_echo "$cross_compiling" >&6; }
2461 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2462 ac_clean_files=$ac_clean_files_save
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2464 $as_echo_n "checking for suffix of object files... " >&6; }
2465 if ${ac_cv_objext+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h.  */
2471 int
2472 main ()
2475   ;
2476   return 0;
2478 _ACEOF
2479 rm -f conftest.o conftest.obj
2480 if { { ac_try="$ac_compile"
2481 case "(($ac_try" in
2482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483   *) ac_try_echo=$ac_try;;
2484 esac
2485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487   (eval "$ac_compile") 2>&5
2488   ac_status=$?
2489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490   test $ac_status = 0; }; then :
2491   for ac_file in conftest.o conftest.obj conftest.*; do
2492   test -f "$ac_file" || continue;
2493   case $ac_file in
2494     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2495     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2496        break;;
2497   esac
2498 done
2499 else
2500   $as_echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 as_fn_error $? "cannot compute suffix of object files: cannot compile
2506 See \`config.log' for more details" "$LINENO" 5; }
2507 fi
2508 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2509 fi
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2511 $as_echo "$ac_cv_objext" >&6; }
2512 OBJEXT=$ac_cv_objext
2513 ac_objext=$OBJEXT
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2515 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2516 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2517   $as_echo_n "(cached) " >&6
2518 else
2519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h.  */
2522 int
2523 main ()
2525 #ifndef __GNUC__
2526        choke me
2527 #endif
2529   ;
2530   return 0;
2532 _ACEOF
2533 if ac_fn_cxx_try_compile "$LINENO"; then :
2534   ac_compiler_gnu=yes
2535 else
2536   ac_compiler_gnu=no
2537 fi
2538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2539 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2541 fi
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2543 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2544 if test $ac_compiler_gnu = yes; then
2545   GXX=yes
2546 else
2547   GXX=
2548 fi
2549 ac_test_CXXFLAGS=${CXXFLAGS+set}
2550 ac_save_CXXFLAGS=$CXXFLAGS
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2552 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2553 if ${ac_cv_prog_cxx_g+:} false; then :
2554   $as_echo_n "(cached) " >&6
2555 else
2556   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2557    ac_cxx_werror_flag=yes
2558    ac_cv_prog_cxx_g=no
2559    CXXFLAGS="-g"
2560    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h.  */
2563 int
2564 main ()
2567   ;
2568   return 0;
2570 _ACEOF
2571 if ac_fn_cxx_try_compile "$LINENO"; then :
2572   ac_cv_prog_cxx_g=yes
2573 else
2574   CXXFLAGS=""
2575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h.  */
2578 int
2579 main ()
2582   ;
2583   return 0;
2585 _ACEOF
2586 if ac_fn_cxx_try_compile "$LINENO"; then :
2588 else
2589   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2590          CXXFLAGS="-g"
2591          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h.  */
2594 int
2595 main ()
2598   ;
2599   return 0;
2601 _ACEOF
2602 if ac_fn_cxx_try_compile "$LINENO"; then :
2603   ac_cv_prog_cxx_g=yes
2604 fi
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606 fi
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 fi
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2611 fi
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2613 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2614 if test "$ac_test_CXXFLAGS" = set; then
2615   CXXFLAGS=$ac_save_CXXFLAGS
2616 elif test $ac_cv_prog_cxx_g = yes; then
2617   if test "$GXX" = yes; then
2618     CXXFLAGS="-g -O2"
2619   else
2620     CXXFLAGS="-g"
2621   fi
2622 else
2623   if test "$GXX" = yes; then
2624     CXXFLAGS="-O2"
2625   else
2626     CXXFLAGS=
2627   fi
2628 fi
2629 ac_ext=c
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2635 ac_ext=c
2636 ac_cpp='$CPP $CPPFLAGS'
2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2640 if test -n "$ac_tool_prefix"; then
2641   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_CC+:} false; then :
2646   $as_echo_n "(cached) " >&6
2647 else
2648   if test -n "$CC"; then
2649   ac_cv_prog_CC="$CC" # Let the user override the test.
2650 else
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 for as_dir in $PATH
2653 do
2654   IFS=$as_save_IFS
2655   test -z "$as_dir" && as_dir=.
2656     for ac_exec_ext in '' $ac_executable_extensions; do
2657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660     break 2
2661   fi
2662 done
2663   done
2664 IFS=$as_save_IFS
2666 fi
2667 fi
2668 CC=$ac_cv_prog_CC
2669 if test -n "$CC"; then
2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2671 $as_echo "$CC" >&6; }
2672 else
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675 fi
2678 fi
2679 if test -z "$ac_cv_prog_CC"; then
2680   ac_ct_CC=$CC
2681   # Extract the first word of "gcc", so it can be a program name with args.
2682 set dummy gcc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2686   $as_echo_n "(cached) " >&6
2687 else
2688   if test -n "$ac_ct_CC"; then
2689   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2693 do
2694   IFS=$as_save_IFS
2695   test -z "$as_dir" && as_dir=.
2696     for ac_exec_ext in '' $ac_executable_extensions; do
2697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698     ac_cv_prog_ac_ct_CC="gcc"
2699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700     break 2
2701   fi
2702 done
2703   done
2704 IFS=$as_save_IFS
2706 fi
2707 fi
2708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2709 if test -n "$ac_ct_CC"; then
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2711 $as_echo "$ac_ct_CC" >&6; }
2712 else
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2715 fi
2717   if test "x$ac_ct_CC" = x; then
2718     CC=""
2719   else
2720     case $cross_compiling:$ac_tool_warned in
2721 yes:)
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2725 esac
2726     CC=$ac_ct_CC
2727   fi
2728 else
2729   CC="$ac_cv_prog_CC"
2730 fi
2732 if test -z "$CC"; then
2733           if test -n "$ac_tool_prefix"; then
2734     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2735 set dummy ${ac_tool_prefix}cc; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if ${ac_cv_prog_CC+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   if test -n "$CC"; then
2742   ac_cv_prog_CC="$CC" # Let the user override the test.
2743 else
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 for as_dir in $PATH
2746 do
2747   IFS=$as_save_IFS
2748   test -z "$as_dir" && as_dir=.
2749     for ac_exec_ext in '' $ac_executable_extensions; do
2750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751     ac_cv_prog_CC="${ac_tool_prefix}cc"
2752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753     break 2
2754   fi
2755 done
2756   done
2757 IFS=$as_save_IFS
2759 fi
2760 fi
2761 CC=$ac_cv_prog_CC
2762 if test -n "$CC"; then
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2765 else
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2768 fi
2771   fi
2772 fi
2773 if test -z "$CC"; then
2774   # Extract the first word of "cc", so it can be a program name with args.
2775 set dummy cc; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_CC+:} false; then :
2779   $as_echo_n "(cached) " >&6
2780 else
2781   if test -n "$CC"; then
2782   ac_cv_prog_CC="$CC" # Let the user override the test.
2783 else
2784   ac_prog_rejected=no
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 for as_dir in $PATH
2787 do
2788   IFS=$as_save_IFS
2789   test -z "$as_dir" && as_dir=.
2790     for ac_exec_ext in '' $ac_executable_extensions; do
2791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2793        ac_prog_rejected=yes
2794        continue
2795      fi
2796     ac_cv_prog_CC="cc"
2797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798     break 2
2799   fi
2800 done
2801   done
2802 IFS=$as_save_IFS
2804 if test $ac_prog_rejected = yes; then
2805   # We found a bogon in the path, so make sure we never use it.
2806   set dummy $ac_cv_prog_CC
2807   shift
2808   if test $# != 0; then
2809     # We chose a different compiler from the bogus one.
2810     # However, it has the same basename, so the bogon will be chosen
2811     # first if we set CC to just the basename; use the full file name.
2812     shift
2813     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2814   fi
2815 fi
2816 fi
2817 fi
2818 CC=$ac_cv_prog_CC
2819 if test -n "$CC"; then
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2821 $as_echo "$CC" >&6; }
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2828 fi
2829 if test -z "$CC"; then
2830   if test -n "$ac_tool_prefix"; then
2831   for ac_prog in cl.exe
2832   do
2833     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838   $as_echo_n "(cached) " >&6
2839 else
2840   if test -n "$CC"; then
2841   ac_cv_prog_CC="$CC" # Let the user override the test.
2842 else
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852     break 2
2853   fi
2854 done
2855   done
2856 IFS=$as_save_IFS
2858 fi
2859 fi
2860 CC=$ac_cv_prog_CC
2861 if test -n "$CC"; then
2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2864 else
2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2867 fi
2870     test -n "$CC" && break
2871   done
2872 fi
2873 if test -z "$CC"; then
2874   ac_ct_CC=$CC
2875   for ac_prog in cl.exe
2876 do
2877   # Extract the first word of "$ac_prog", so it can be a program name with args.
2878 set dummy $ac_prog; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2882   $as_echo_n "(cached) " >&6
2883 else
2884   if test -n "$ac_ct_CC"; then
2885   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2886 else
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 for as_dir in $PATH
2889 do
2890   IFS=$as_save_IFS
2891   test -z "$as_dir" && as_dir=.
2892     for ac_exec_ext in '' $ac_executable_extensions; do
2893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894     ac_cv_prog_ac_ct_CC="$ac_prog"
2895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896     break 2
2897   fi
2898 done
2899   done
2900 IFS=$as_save_IFS
2902 fi
2903 fi
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2908 else
2909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2911 fi
2914   test -n "$ac_ct_CC" && break
2915 done
2917   if test "x$ac_ct_CC" = x; then
2918     CC=""
2919   else
2920     case $cross_compiling:$ac_tool_warned in
2921 yes:)
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2924 ac_tool_warned=yes ;;
2925 esac
2926     CC=$ac_ct_CC
2927   fi
2928 fi
2930 fi
2933 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error $? "no acceptable C compiler found in \$PATH
2936 See \`config.log' for more details" "$LINENO" 5; }
2938 # Provide some information about the compiler.
2939 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2940 set X $ac_compile
2941 ac_compiler=$2
2942 for ac_option in --version -v -V -qversion; do
2943   { { ac_try="$ac_compiler $ac_option >&5"
2944 case "(($ac_try" in
2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946   *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2951   ac_status=$?
2952   if test -s conftest.err; then
2953     sed '10a\
2954 ... rest of stderr output deleted ...
2955          10q' conftest.err >conftest.er1
2956     cat conftest.er1 >&5
2957   fi
2958   rm -f conftest.er1 conftest.err
2959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960   test $ac_status = 0; }
2961 done
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2964 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2965 if ${ac_cv_c_compiler_gnu+:} false; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h.  */
2971 int
2972 main ()
2974 #ifndef __GNUC__
2975        choke me
2976 #endif
2978   ;
2979   return 0;
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983   ac_compiler_gnu=yes
2984 else
2985   ac_compiler_gnu=no
2986 fi
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2990 fi
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2992 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2993 if test $ac_compiler_gnu = yes; then
2994   GCC=yes
2995 else
2996   GCC=
2997 fi
2998 ac_test_CFLAGS=${CFLAGS+set}
2999 ac_save_CFLAGS=$CFLAGS
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3001 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3002 if ${ac_cv_prog_cc_g+:} false; then :
3003   $as_echo_n "(cached) " >&6
3004 else
3005   ac_save_c_werror_flag=$ac_c_werror_flag
3006    ac_c_werror_flag=yes
3007    ac_cv_prog_cc_g=no
3008    CFLAGS="-g"
3009    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h.  */
3012 int
3013 main ()
3016   ;
3017   return 0;
3019 _ACEOF
3020 if ac_fn_c_try_compile "$LINENO"; then :
3021   ac_cv_prog_cc_g=yes
3022 else
3023   CFLAGS=""
3024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h.  */
3027 int
3028 main ()
3031   ;
3032   return 0;
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3037 else
3038   ac_c_werror_flag=$ac_save_c_werror_flag
3039          CFLAGS="-g"
3040          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h.  */
3043 int
3044 main ()
3047   ;
3048   return 0;
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052   ac_cv_prog_cc_g=yes
3053 fi
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 fi
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 fi
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059    ac_c_werror_flag=$ac_save_c_werror_flag
3060 fi
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3062 $as_echo "$ac_cv_prog_cc_g" >&6; }
3063 if test "$ac_test_CFLAGS" = set; then
3064   CFLAGS=$ac_save_CFLAGS
3065 elif test $ac_cv_prog_cc_g = yes; then
3066   if test "$GCC" = yes; then
3067     CFLAGS="-g -O2"
3068   else
3069     CFLAGS="-g"
3070   fi
3071 else
3072   if test "$GCC" = yes; then
3073     CFLAGS="-O2"
3074   else
3075     CFLAGS=
3076   fi
3077 fi
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3079 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3080 if ${ac_cv_prog_cc_c89+:} false; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   ac_cv_prog_cc_c89=no
3084 ac_save_CC=$CC
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h.  */
3087 #include <stdarg.h>
3088 #include <stdio.h>
3089 #include <sys/types.h>
3090 #include <sys/stat.h>
3091 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3092 struct buf { int x; };
3093 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3094 static char *e (p, i)
3095      char **p;
3096      int i;
3098   return p[i];
3100 static char *f (char * (*g) (char **, int), char **p, ...)
3102   char *s;
3103   va_list v;
3104   va_start (v,p);
3105   s = g (p, va_arg (v,int));
3106   va_end (v);
3107   return s;
3110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3111    function prototypes and stuff, but not '\xHH' hex character constants.
3112    These don't provoke an error unfortunately, instead are silently treated
3113    as 'x'.  The following induces an error, until -std is added to get
3114    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3115    array size at least.  It's necessary to write '\x00'==0 to get something
3116    that's true only with -std.  */
3117 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3119 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3120    inside strings and character constants.  */
3121 #define FOO(x) 'x'
3122 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3124 int test (int i, double x);
3125 struct s1 {int (*f) (int a);};
3126 struct s2 {int (*f) (double a);};
3127 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3128 int argc;
3129 char **argv;
3130 int
3131 main ()
3133 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3134   ;
3135   return 0;
3137 _ACEOF
3138 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3139         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3140 do
3141   CC="$ac_save_CC $ac_arg"
3142   if ac_fn_c_try_compile "$LINENO"; then :
3143   ac_cv_prog_cc_c89=$ac_arg
3144 fi
3145 rm -f core conftest.err conftest.$ac_objext
3146   test "x$ac_cv_prog_cc_c89" != "xno" && break
3147 done
3148 rm -f conftest.$ac_ext
3149 CC=$ac_save_CC
3151 fi
3152 # AC_CACHE_VAL
3153 case "x$ac_cv_prog_cc_c89" in
3154   x)
3155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3156 $as_echo "none needed" >&6; } ;;
3157   xno)
3158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3159 $as_echo "unsupported" >&6; } ;;
3160   *)
3161     CC="$CC $ac_cv_prog_cc_c89"
3162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3163 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3164 esac
3165 if test "x$ac_cv_prog_cc_c89" != xno; then :
3167 fi
3169 ac_ext=c
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175 ac_ext=c
3176 ac_cpp='$CPP $CPPFLAGS'
3177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3182 # On Suns, sometimes $CPP names a directory.
3183 if test -n "$CPP" && test -d "$CPP"; then
3184   CPP=
3185 fi
3186 if test -z "$CPP"; then
3187   if ${ac_cv_prog_CPP+:} false; then :
3188   $as_echo_n "(cached) " >&6
3189 else
3190       # Double quotes because CPP needs to be expanded
3191     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3192     do
3193       ac_preproc_ok=false
3194 for ac_c_preproc_warn_flag in '' yes
3195 do
3196   # Use a header file that comes with gcc, so configuring glibc
3197   # with a fresh cross-compiler works.
3198   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3199   # <limits.h> exists even on freestanding compilers.
3200   # On the NeXT, cc -E runs the code through the compiler's parser,
3201   # not just through cpp. "Syntax error" is here to catch this case.
3202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h.  */
3204 #ifdef __STDC__
3205 # include <limits.h>
3206 #else
3207 # include <assert.h>
3208 #endif
3209                      Syntax error
3210 _ACEOF
3211 if ac_fn_c_try_cpp "$LINENO"; then :
3213 else
3214   # Broken: fails on valid input.
3215 continue
3216 fi
3217 rm -f conftest.err conftest.i conftest.$ac_ext
3219   # OK, works on sane cases.  Now check whether nonexistent headers
3220   # can be detected and how.
3221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h.  */
3223 #include <ac_nonexistent.h>
3224 _ACEOF
3225 if ac_fn_c_try_cpp "$LINENO"; then :
3226   # Broken: success on invalid input.
3227 continue
3228 else
3229   # Passes both tests.
3230 ac_preproc_ok=:
3231 break
3232 fi
3233 rm -f conftest.err conftest.i conftest.$ac_ext
3235 done
3236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3237 rm -f conftest.i conftest.err conftest.$ac_ext
3238 if $ac_preproc_ok; then :
3239   break
3240 fi
3242     done
3243     ac_cv_prog_CPP=$CPP
3245 fi
3246   CPP=$ac_cv_prog_CPP
3247 else
3248   ac_cv_prog_CPP=$CPP
3249 fi
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3251 $as_echo "$CPP" >&6; }
3252 ac_preproc_ok=false
3253 for ac_c_preproc_warn_flag in '' yes
3254 do
3255   # Use a header file that comes with gcc, so configuring glibc
3256   # with a fresh cross-compiler works.
3257   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3258   # <limits.h> exists even on freestanding compilers.
3259   # On the NeXT, cc -E runs the code through the compiler's parser,
3260   # not just through cpp. "Syntax error" is here to catch this case.
3261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h.  */
3263 #ifdef __STDC__
3264 # include <limits.h>
3265 #else
3266 # include <assert.h>
3267 #endif
3268                      Syntax error
3269 _ACEOF
3270 if ac_fn_c_try_cpp "$LINENO"; then :
3272 else
3273   # Broken: fails on valid input.
3274 continue
3275 fi
3276 rm -f conftest.err conftest.i conftest.$ac_ext
3278   # OK, works on sane cases.  Now check whether nonexistent headers
3279   # can be detected and how.
3280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h.  */
3282 #include <ac_nonexistent.h>
3283 _ACEOF
3284 if ac_fn_c_try_cpp "$LINENO"; then :
3285   # Broken: success on invalid input.
3286 continue
3287 else
3288   # Passes both tests.
3289 ac_preproc_ok=:
3290 break
3291 fi
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3294 done
3295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3296 rm -f conftest.i conftest.err conftest.$ac_ext
3297 if $ac_preproc_ok; then :
3299 else
3300   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3303 See \`config.log' for more details" "$LINENO" 5; }
3304 fi
3306 ac_ext=c
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313 # Checks for libraries.
3317 # Check whether --with-wxdir was given.
3318 if test "${with_wxdir+set}" = set; then :
3319   withval=$with_wxdir;  wx_config_name="$withval/wx-config"
3320                   wx_config_args="--inplace"
3321 fi
3324 # Check whether --with-wx-config was given.
3325 if test "${with_wx_config+set}" = set; then :
3326   withval=$with_wx_config; wx_config_name="$withval"
3327 fi
3330 # Check whether --with-wx-prefix was given.
3331 if test "${with_wx_prefix+set}" = set; then :
3332   withval=$with_wx_prefix; wx_config_prefix="$withval"
3333 else
3334   wx_config_prefix=""
3335 fi
3338 # Check whether --with-wx-exec-prefix was given.
3339 if test "${with_wx_exec_prefix+set}" = set; then :
3340   withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3341 else
3342   wx_config_exec_prefix=""
3343 fi
3346 reqwx=2.8.0
3348     if test x${WX_CONFIG_NAME+set} != xset ; then
3349      WX_CONFIG_NAME=wx-config
3350   fi
3352   if test "x$wx_config_name" != x ; then
3353      WX_CONFIG_NAME="$wx_config_name"
3354   fi
3356     if test x$wx_config_exec_prefix != x ; then
3357      wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3358      WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3359   fi
3360   if test x$wx_config_prefix != x ; then
3361      wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3362      WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3363   fi
3364   if test "$cross_compiling" = "yes"; then
3365      wx_config_args="$wx_config_args --host=$host_alias"
3366   fi
3368     if test -x "$WX_CONFIG_NAME" ; then
3369      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3370 $as_echo_n "checking for wx-config... " >&6; }
3371      WX_CONFIG_PATH="$WX_CONFIG_NAME"
3372      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3373 $as_echo "$WX_CONFIG_PATH" >&6; }
3374   else
3375      # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3376 set dummy $WX_CONFIG_NAME; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   case $WX_CONFIG_PATH in
3383   [\\/]* | ?:[\\/]*)
3384   ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3385   ;;
3386   *)
3387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3389 for as_dir in $as_dummy
3390 do
3391   IFS=$as_save_IFS
3392   test -z "$as_dir" && as_dir=.
3393     for ac_exec_ext in '' $ac_executable_extensions; do
3394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395     ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397     break 2
3398   fi
3399 done
3400   done
3401 IFS=$as_save_IFS
3403   test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3404   ;;
3405 esac
3406 fi
3407 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3408 if test -n "$WX_CONFIG_PATH"; then
3409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3410 $as_echo "$WX_CONFIG_PATH" >&6; }
3411 else
3412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3414 fi
3417   fi
3419   if test "$WX_CONFIG_PATH" != "no" ; then
3420     WX_VERSION=""
3422     min_wx_version=$reqwx
3423     if test -z "" ; then
3424       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3425 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3426     else
3427       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3428 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3429     fi
3431     WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
3433     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3434     wx_config_major_version=`echo $WX_VERSION | \
3435            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3436     wx_config_minor_version=`echo $WX_VERSION | \
3437            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3438     wx_config_micro_version=`echo $WX_VERSION | \
3439            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3441     wx_requested_major_version=`echo $min_wx_version | \
3442            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3443     wx_requested_minor_version=`echo $min_wx_version | \
3444            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3445     wx_requested_micro_version=`echo $min_wx_version | \
3446            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3449     wx_ver_ok=""
3450     if test "x$WX_VERSION" != x ; then
3451       if test $wx_config_major_version -gt $wx_requested_major_version; then
3452         wx_ver_ok=yes
3453       else
3454         if test $wx_config_major_version -eq $wx_requested_major_version; then
3455            if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3456               wx_ver_ok=yes
3457            else
3458               if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3459                  if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3460                     wx_ver_ok=yes
3461                  fi
3462               fi
3463            fi
3464         fi
3465       fi
3466     fi
3469     if test -n "$wx_ver_ok"; then
3471       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3472 $as_echo "yes (version $WX_VERSION)" >&6; }
3473       WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
3475                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3476 $as_echo_n "checking for wxWidgets static library... " >&6; }
3477       WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
3478       if test "x$WX_LIBS_STATIC" = "x"; then
3479         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3481       else
3482         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483 $as_echo "yes" >&6; }
3484       fi
3486             wx_has_cppflags=""
3487       if test $wx_config_major_version -gt 2; then
3488         wx_has_cppflags=yes
3489       else
3490         if test $wx_config_major_version -eq 2; then
3491            if test $wx_config_minor_version -gt 2; then
3492               wx_has_cppflags=yes
3493            else
3494               if test $wx_config_minor_version -eq 2; then
3495                  if test $wx_config_micro_version -ge 6; then
3496                     wx_has_cppflags=yes
3497                  fi
3498               fi
3499            fi
3500         fi
3501       fi
3503             wx_has_rescomp=""
3504       if test $wx_config_major_version -gt 2; then
3505         wx_has_rescomp=yes
3506       else
3507         if test $wx_config_major_version -eq 2; then
3508            if test $wx_config_minor_version -ge 7; then
3509               wx_has_rescomp=yes
3510            fi
3511         fi
3512       fi
3513       if test "x$wx_has_rescomp" = x ; then
3514                   WX_RESCOMP=
3515       else
3516          WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
3517       fi
3519       if test "x$wx_has_cppflags" = x ; then
3520                   WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3521          WX_CPPFLAGS=$WX_CFLAGS
3522          WX_CXXFLAGS=$WX_CFLAGS
3524          WX_CFLAGS_ONLY=$WX_CFLAGS
3525          WX_CXXFLAGS_ONLY=$WX_CFLAGS
3526       else
3527                   WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
3528          WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
3529          WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
3531          WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
3532          WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
3533       fi
3535       wxWin=1
3537     else
3539        if test "x$WX_VERSION" = x; then
3540                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3542        else
3543           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
3544 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
3545        fi
3547        WX_CFLAGS=""
3548        WX_CPPFLAGS=""
3549        WX_CXXFLAGS=""
3550        WX_LIBS=""
3551        WX_LIBS_STATIC=""
3552        WX_RESCOMP=""
3553        :
3555     fi
3556   else
3558     WX_CFLAGS=""
3559     WX_CPPFLAGS=""
3560     WX_CXXFLAGS=""
3561     WX_LIBS=""
3562     WX_LIBS_STATIC=""
3563     WX_RESCOMP=""
3565     :
3567   fi
3579 if test "$wxWin" != 1; then
3580         as_fn_error $? "
3581 wxWidgets must be installed on your system.
3583 Please check that wx-config is in path, the directory where wxWidgets libraries
3584 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
3585 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
3586 is $reqwx or above.
3587                 " "$LINENO" 5
3588 fi
3590 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
3591 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
3592 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
3593 LIBS="$LIBS $WX_LIBS"
3595 # FIXME: Replace `main' with a function in `-lboost_filesystem':
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem" >&5
3598 $as_echo_n "checking for main in -lboost_filesystem... " >&6; }
3599 if ${ac_cv_lib_boost_filesystem_main+:} false; then :
3600   $as_echo_n "(cached) " >&6
3601 else
3602   ac_check_lib_save_LIBS=$LIBS
3603 LIBS="-lboost_filesystem  $LIBS"
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h.  */
3608 int
3609 main ()
3611 return main ();
3612   ;
3613   return 0;
3615 _ACEOF
3616 if ac_fn_c_try_link "$LINENO"; then :
3617   ac_cv_lib_boost_filesystem_main=yes
3618 else
3619   ac_cv_lib_boost_filesystem_main=no
3620 fi
3621 rm -f core conftest.err conftest.$ac_objext \
3622     conftest$ac_exeext conftest.$ac_ext
3623 LIBS=$ac_check_lib_save_LIBS
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_main" >&5
3626 $as_echo "$ac_cv_lib_boost_filesystem_main" >&6; }
3627 if test "x$ac_cv_lib_boost_filesystem_main" = xyes; then :
3628   cat >>confdefs.h <<_ACEOF
3629 #define HAVE_LIBBOOST_FILESYSTEM 1
3630 _ACEOF
3632   LIBS="-lboost_filesystem $LIBS"
3634 else
3636         echo "Error! Boost Filesystem Library (libboost_filesystem) is not installed!
3637 Please check that this library is installed property before
3638 running configure again."
3639         exit -1
3641 fi
3643 # FIXME: Replace `main' with a function in `-lboost_system':
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_system" >&5
3645 $as_echo_n "checking for main in -lboost_system... " >&6; }
3646 if ${ac_cv_lib_boost_system_main+:} false; then :
3647   $as_echo_n "(cached) " >&6
3648 else
3649   ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-lboost_system  $LIBS"
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h.  */
3655 int
3656 main ()
3658 return main ();
3659   ;
3660   return 0;
3662 _ACEOF
3663 if ac_fn_c_try_link "$LINENO"; then :
3664   ac_cv_lib_boost_system_main=yes
3665 else
3666   ac_cv_lib_boost_system_main=no
3667 fi
3668 rm -f core conftest.err conftest.$ac_objext \
3669     conftest$ac_exeext conftest.$ac_ext
3670 LIBS=$ac_check_lib_save_LIBS
3671 fi
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_system_main" >&5
3673 $as_echo "$ac_cv_lib_boost_system_main" >&6; }
3674 if test "x$ac_cv_lib_boost_system_main" = xyes; then :
3675   cat >>confdefs.h <<_ACEOF
3676 #define HAVE_LIBBOOST_SYSTEM 1
3677 _ACEOF
3679   LIBS="-lboost_system $LIBS"
3681 else
3683         echo "Error! Boost System Library (libboost_system) is not installed!
3684 Please check that this library is installed property before
3685 running configure again."
3686         exit -1
3688 fi
3690 #AC_CHECK_PROG([WXCONFIG], [wx-config])
3692 # Checks for header files.
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3695 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3696 if ${ac_cv_path_GREP+:} false; then :
3697   $as_echo_n "(cached) " >&6
3698 else
3699   if test -z "$GREP"; then
3700   ac_path_GREP_found=false
3701   # Loop through the user's path and test for each of PROGNAME-LIST
3702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3704 do
3705   IFS=$as_save_IFS
3706   test -z "$as_dir" && as_dir=.
3707     for ac_prog in grep ggrep; do
3708     for ac_exec_ext in '' $ac_executable_extensions; do
3709       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3710       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3711 # Check for GNU ac_path_GREP and select it if it is found.
3712   # Check for GNU $ac_path_GREP
3713 case `"$ac_path_GREP" --version 2>&1` in
3714 *GNU*)
3715   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3716 *)
3717   ac_count=0
3718   $as_echo_n 0123456789 >"conftest.in"
3719   while :
3720   do
3721     cat "conftest.in" "conftest.in" >"conftest.tmp"
3722     mv "conftest.tmp" "conftest.in"
3723     cp "conftest.in" "conftest.nl"
3724     $as_echo 'GREP' >> "conftest.nl"
3725     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3727     as_fn_arith $ac_count + 1 && ac_count=$as_val
3728     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3729       # Best one so far, save it but keep looking for a better one
3730       ac_cv_path_GREP="$ac_path_GREP"
3731       ac_path_GREP_max=$ac_count
3732     fi
3733     # 10*(2^10) chars as input seems more than enough
3734     test $ac_count -gt 10 && break
3735   done
3736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3737 esac
3739       $ac_path_GREP_found && break 3
3740     done
3741   done
3742   done
3743 IFS=$as_save_IFS
3744   if test -z "$ac_cv_path_GREP"; then
3745     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3746   fi
3747 else
3748   ac_cv_path_GREP=$GREP
3749 fi
3751 fi
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3753 $as_echo "$ac_cv_path_GREP" >&6; }
3754  GREP="$ac_cv_path_GREP"
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3758 $as_echo_n "checking for egrep... " >&6; }
3759 if ${ac_cv_path_EGREP+:} false; then :
3760   $as_echo_n "(cached) " >&6
3761 else
3762   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3763    then ac_cv_path_EGREP="$GREP -E"
3764    else
3765      if test -z "$EGREP"; then
3766   ac_path_EGREP_found=false
3767   # Loop through the user's path and test for each of PROGNAME-LIST
3768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3770 do
3771   IFS=$as_save_IFS
3772   test -z "$as_dir" && as_dir=.
3773     for ac_prog in egrep; do
3774     for ac_exec_ext in '' $ac_executable_extensions; do
3775       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3776       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3777 # Check for GNU ac_path_EGREP and select it if it is found.
3778   # Check for GNU $ac_path_EGREP
3779 case `"$ac_path_EGREP" --version 2>&1` in
3780 *GNU*)
3781   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3782 *)
3783   ac_count=0
3784   $as_echo_n 0123456789 >"conftest.in"
3785   while :
3786   do
3787     cat "conftest.in" "conftest.in" >"conftest.tmp"
3788     mv "conftest.tmp" "conftest.in"
3789     cp "conftest.in" "conftest.nl"
3790     $as_echo 'EGREP' >> "conftest.nl"
3791     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3793     as_fn_arith $ac_count + 1 && ac_count=$as_val
3794     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3795       # Best one so far, save it but keep looking for a better one
3796       ac_cv_path_EGREP="$ac_path_EGREP"
3797       ac_path_EGREP_max=$ac_count
3798     fi
3799     # 10*(2^10) chars as input seems more than enough
3800     test $ac_count -gt 10 && break
3801   done
3802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3803 esac
3805       $ac_path_EGREP_found && break 3
3806     done
3807   done
3808   done
3809 IFS=$as_save_IFS
3810   if test -z "$ac_cv_path_EGREP"; then
3811     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3812   fi
3813 else
3814   ac_cv_path_EGREP=$EGREP
3815 fi
3817    fi
3818 fi
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3820 $as_echo "$ac_cv_path_EGREP" >&6; }
3821  EGREP="$ac_cv_path_EGREP"
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3825 $as_echo_n "checking for ANSI C header files... " >&6; }
3826 if ${ac_cv_header_stdc+:} false; then :
3827   $as_echo_n "(cached) " >&6
3828 else
3829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h.  */
3831 #include <stdlib.h>
3832 #include <stdarg.h>
3833 #include <string.h>
3834 #include <float.h>
3836 int
3837 main ()
3840   ;
3841   return 0;
3843 _ACEOF
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845   ac_cv_header_stdc=yes
3846 else
3847   ac_cv_header_stdc=no
3848 fi
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 if test $ac_cv_header_stdc = yes; then
3852   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h.  */
3855 #include <string.h>
3857 _ACEOF
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859   $EGREP "memchr" >/dev/null 2>&1; then :
3861 else
3862   ac_cv_header_stdc=no
3863 fi
3864 rm -f conftest*
3866 fi
3868 if test $ac_cv_header_stdc = yes; then
3869   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h.  */
3872 #include <stdlib.h>
3874 _ACEOF
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876   $EGREP "free" >/dev/null 2>&1; then :
3878 else
3879   ac_cv_header_stdc=no
3880 fi
3881 rm -f conftest*
3883 fi
3885 if test $ac_cv_header_stdc = yes; then
3886   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3887   if test "$cross_compiling" = yes; then :
3888   :
3889 else
3890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h.  */
3892 #include <ctype.h>
3893 #include <stdlib.h>
3894 #if ((' ' & 0x0FF) == 0x020)
3895 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3896 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3897 #else
3898 # define ISLOWER(c) \
3899                    (('a' <= (c) && (c) <= 'i') \
3900                      || ('j' <= (c) && (c) <= 'r') \
3901                      || ('s' <= (c) && (c) <= 'z'))
3902 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3903 #endif
3905 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3906 int
3907 main ()
3909   int i;
3910   for (i = 0; i < 256; i++)
3911     if (XOR (islower (i), ISLOWER (i))
3912         || toupper (i) != TOUPPER (i))
3913       return 2;
3914   return 0;
3916 _ACEOF
3917 if ac_fn_c_try_run "$LINENO"; then :
3919 else
3920   ac_cv_header_stdc=no
3921 fi
3922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3923   conftest.$ac_objext conftest.beam conftest.$ac_ext
3924 fi
3926 fi
3927 fi
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3929 $as_echo "$ac_cv_header_stdc" >&6; }
3930 if test $ac_cv_header_stdc = yes; then
3932 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3934 fi
3936 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3937 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3938                   inttypes.h stdint.h unistd.h
3939 do :
3940   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3944   cat >>confdefs.h <<_ACEOF
3945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3946 _ACEOF
3948 fi
3950 done
3953 for ac_header in stdlib.h string.h
3954 do :
3955   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3958   cat >>confdefs.h <<_ACEOF
3959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3960 _ACEOF
3962 fi
3964 done
3967 # Checks for typedefs, structures, and compiler characteristics.
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3969 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3970 if ${ac_cv_header_stdbool_h+:} false; then :
3971   $as_echo_n "(cached) " >&6
3972 else
3973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h.  */
3976 #include <stdbool.h>
3977 #ifndef bool
3978  "error: bool is not defined"
3979 #endif
3980 #ifndef false
3981  "error: false is not defined"
3982 #endif
3983 #if false
3984  "error: false is not 0"
3985 #endif
3986 #ifndef true
3987  "error: true is not defined"
3988 #endif
3989 #if true != 1
3990  "error: true is not 1"
3991 #endif
3992 #ifndef __bool_true_false_are_defined
3993  "error: __bool_true_false_are_defined is not defined"
3994 #endif
3996         struct s { _Bool s: 1; _Bool t; } s;
3998         char a[true == 1 ? 1 : -1];
3999         char b[false == 0 ? 1 : -1];
4000         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4001         char d[(bool) 0.5 == true ? 1 : -1];
4002         /* See body of main program for 'e'.  */
4003         char f[(_Bool) 0.0 == false ? 1 : -1];
4004         char g[true];
4005         char h[sizeof (_Bool)];
4006         char i[sizeof s.t];
4007         enum { j = false, k = true, l = false * true, m = true * 256 };
4008         /* The following fails for
4009            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4010         _Bool n[m];
4011         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4012         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4013         /* Catch a bug in an HP-UX C compiler.  See
4014            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4015            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4016          */
4017         _Bool q = true;
4018         _Bool *pq = &q;
4020 int
4021 main ()
4024         bool e = &s;
4025         *pq |= q;
4026         *pq |= ! q;
4027         /* Refer to every declared value, to avoid compiler optimizations.  */
4028         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4029                 + !m + !n + !o + !p + !q + !pq);
4031   ;
4032   return 0;
4034 _ACEOF
4035 if ac_fn_c_try_compile "$LINENO"; then :
4036   ac_cv_header_stdbool_h=yes
4037 else
4038   ac_cv_header_stdbool_h=no
4039 fi
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 fi
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4043 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4044 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4045 if test "x$ac_cv_type__Bool" = xyes; then :
4047 cat >>confdefs.h <<_ACEOF
4048 #define HAVE__BOOL 1
4049 _ACEOF
4052 fi
4054 if test $ac_cv_header_stdbool_h = yes; then
4056 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4058 fi
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4061 $as_echo_n "checking for inline... " >&6; }
4062 if ${ac_cv_c_inline+:} false; then :
4063   $as_echo_n "(cached) " >&6
4064 else
4065   ac_cv_c_inline=no
4066 for ac_kw in inline __inline__ __inline; do
4067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h.  */
4069 #ifndef __cplusplus
4070 typedef int foo_t;
4071 static $ac_kw foo_t static_foo () {return 0; }
4072 $ac_kw foo_t foo () {return 0; }
4073 #endif
4075 _ACEOF
4076 if ac_fn_c_try_compile "$LINENO"; then :
4077   ac_cv_c_inline=$ac_kw
4078 fi
4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080   test "$ac_cv_c_inline" != no && break
4081 done
4083 fi
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4085 $as_echo "$ac_cv_c_inline" >&6; }
4087 case $ac_cv_c_inline in
4088   inline | yes) ;;
4089   *)
4090     case $ac_cv_c_inline in
4091       no) ac_val=;;
4092       *) ac_val=$ac_cv_c_inline;;
4093     esac
4094     cat >>confdefs.h <<_ACEOF
4095 #ifndef __cplusplus
4096 #define inline $ac_val
4097 #endif
4098 _ACEOF
4099     ;;
4100 esac
4103 # Checks for library functions.
4105 ac_config_files="$ac_config_files Makefile"
4107 cat >confcache <<\_ACEOF
4108 # This file is a shell script that caches the results of configure
4109 # tests run on this system so they can be shared between configure
4110 # scripts and configure runs, see configure's option --config-cache.
4111 # It is not useful on other systems.  If it contains results you don't
4112 # want to keep, you may remove or edit it.
4114 # config.status only pays attention to the cache file if you give it
4115 # the --recheck option to rerun configure.
4117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4119 # following values.
4121 _ACEOF
4123 # The following way of writing the cache mishandles newlines in values,
4124 # but we know of no workaround that is simple, portable, and efficient.
4125 # So, we kill variables containing newlines.
4126 # Ultrix sh set writes to stderr and can't be redirected directly,
4127 # and sets the high bit in the cache file unless we assign to the vars.
4129   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4130     eval ac_val=\$$ac_var
4131     case $ac_val in #(
4132     *${as_nl}*)
4133       case $ac_var in #(
4134       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4136       esac
4137       case $ac_var in #(
4138       _ | IFS | as_nl) ;; #(
4139       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4140       *) { eval $ac_var=; unset $ac_var;} ;;
4141       esac ;;
4142     esac
4143   done
4145   (set) 2>&1 |
4146     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4147     *${as_nl}ac_space=\ *)
4148       # `set' does not quote correctly, so add quotes: double-quote
4149       # substitution turns \\\\ into \\, and sed turns \\ into \.
4150       sed -n \
4151         "s/'/'\\\\''/g;
4152           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4153       ;; #(
4154     *)
4155       # `set' quotes correctly as required by POSIX, so do not add quotes.
4156       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4157       ;;
4158     esac |
4159     sort
4160 ) |
4161   sed '
4162      /^ac_cv_env_/b end
4163      t clear
4164      :clear
4165      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4166      t end
4167      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4168      :end' >>confcache
4169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4170   if test -w "$cache_file"; then
4171     if test "x$cache_file" != "x/dev/null"; then
4172       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4173 $as_echo "$as_me: updating cache $cache_file" >&6;}
4174       if test ! -f "$cache_file" || test -h "$cache_file"; then
4175         cat confcache >"$cache_file"
4176       else
4177         case $cache_file in #(
4178         */* | ?:*)
4179           mv -f confcache "$cache_file"$$ &&
4180           mv -f "$cache_file"$$ "$cache_file" ;; #(
4181         *)
4182           mv -f confcache "$cache_file" ;;
4183         esac
4184       fi
4185     fi
4186   else
4187     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4189   fi
4190 fi
4191 rm -f confcache
4193 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4194 # Let make expand exec_prefix.
4195 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4197 # Transform confdefs.h into DEFS.
4198 # Protect against shell expansion while executing Makefile rules.
4199 # Protect against Makefile macro expansion.
4201 # If the first sed substitution is executed (which looks for macros that
4202 # take arguments), then branch to the quote section.  Otherwise,
4203 # look for a macro that doesn't take arguments.
4204 ac_script='
4205 :mline
4206 /\\$/{
4207  N
4208  s,\\\n,,
4209  b mline
4211 t clear
4212 :clear
4213 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4214 t quote
4215 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4216 t quote
4217 b any
4218 :quote
4219 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4220 s/\[/\\&/g
4221 s/\]/\\&/g
4222 s/\$/$$/g
4224 :any
4225 ${
4226         g
4227         s/^\n//
4228         s/\n/ /g
4229         p
4232 DEFS=`sed -n "$ac_script" confdefs.h`
4235 ac_libobjs=
4236 ac_ltlibobjs=
4237 U=
4238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4239   # 1. Remove the extension, and $U if already installed.
4240   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4241   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4242   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4243   #    will be set to the directory where LIBOBJS objects are built.
4244   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4245   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4246 done
4247 LIBOBJS=$ac_libobjs
4249 LTLIBOBJS=$ac_ltlibobjs
4253 : "${CONFIG_STATUS=./config.status}"
4254 ac_write_fail=0
4255 ac_clean_files_save=$ac_clean_files
4256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4259 as_write_fail=0
4260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4261 #! $SHELL
4262 # Generated by $as_me.
4263 # Run this file to recreate the current configuration.
4264 # Compiler output produced by configure, useful for debugging
4265 # configure, is in config.log if it exists.
4267 debug=false
4268 ac_cs_recheck=false
4269 ac_cs_silent=false
4271 SHELL=\${CONFIG_SHELL-$SHELL}
4272 export SHELL
4273 _ASEOF
4274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4275 ## -------------------- ##
4276 ## M4sh Initialization. ##
4277 ## -------------------- ##
4279 # Be more Bourne compatible
4280 DUALCASE=1; export DUALCASE # for MKS sh
4281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4282   emulate sh
4283   NULLCMD=:
4284   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4285   # is contrary to our usage.  Disable this feature.
4286   alias -g '${1+"$@"}'='"$@"'
4287   setopt NO_GLOB_SUBST
4288 else
4289   case `(set -o) 2>/dev/null` in #(
4290   *posix*) :
4291     set -o posix ;; #(
4292   *) :
4293      ;;
4294 esac
4295 fi
4298 as_nl='
4300 export as_nl
4301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4302 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4305 # Prefer a ksh shell builtin over an external printf program on Solaris,
4306 # but without wasting forks for bash or zsh.
4307 if test -z "$BASH_VERSION$ZSH_VERSION" \
4308     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4309   as_echo='print -r --'
4310   as_echo_n='print -rn --'
4311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4312   as_echo='printf %s\n'
4313   as_echo_n='printf %s'
4314 else
4315   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4316     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4317     as_echo_n='/usr/ucb/echo -n'
4318   else
4319     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4320     as_echo_n_body='eval
4321       arg=$1;
4322       case $arg in #(
4323       *"$as_nl"*)
4324         expr "X$arg" : "X\\(.*\\)$as_nl";
4325         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4326       esac;
4327       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4328     '
4329     export as_echo_n_body
4330     as_echo_n='sh -c $as_echo_n_body as_echo'
4331   fi
4332   export as_echo_body
4333   as_echo='sh -c $as_echo_body as_echo'
4334 fi
4336 # The user is always right.
4337 if test "${PATH_SEPARATOR+set}" != set; then
4338   PATH_SEPARATOR=:
4339   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4340     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4341       PATH_SEPARATOR=';'
4342   }
4343 fi
4346 # IFS
4347 # We need space, tab and new line, in precisely that order.  Quoting is
4348 # there to prevent editors from complaining about space-tab.
4349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4350 # splitting by setting IFS to empty value.)
4351 IFS=" ""        $as_nl"
4353 # Find who we are.  Look in the path if we contain no directory separator.
4354 as_myself=
4355 case $0 in #((
4356   *[\\/]* ) as_myself=$0 ;;
4357   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 for as_dir in $PATH
4359 do
4360   IFS=$as_save_IFS
4361   test -z "$as_dir" && as_dir=.
4362     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4363   done
4364 IFS=$as_save_IFS
4366      ;;
4367 esac
4368 # We did not find ourselves, most probably we were run as `sh COMMAND'
4369 # in which case we are not to be found in the path.
4370 if test "x$as_myself" = x; then
4371   as_myself=$0
4372 fi
4373 if test ! -f "$as_myself"; then
4374   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4375   exit 1
4376 fi
4378 # Unset variables that we do not need and which cause bugs (e.g. in
4379 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4380 # suppresses any "Segmentation fault" message there.  '((' could
4381 # trigger a bug in pdksh 5.2.14.
4382 for as_var in BASH_ENV ENV MAIL MAILPATH
4383 do eval test x\${$as_var+set} = xset \
4384   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4385 done
4386 PS1='$ '
4387 PS2='> '
4388 PS4='+ '
4390 # NLS nuisances.
4391 LC_ALL=C
4392 export LC_ALL
4393 LANGUAGE=C
4394 export LANGUAGE
4396 # CDPATH.
4397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4401 # ----------------------------------------
4402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4404 # script with STATUS, using 1 if that was 0.
4405 as_fn_error ()
4407   as_status=$1; test $as_status -eq 0 && as_status=1
4408   if test "$4"; then
4409     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4410     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4411   fi
4412   $as_echo "$as_me: error: $2" >&2
4413   as_fn_exit $as_status
4414 } # as_fn_error
4417 # as_fn_set_status STATUS
4418 # -----------------------
4419 # Set $? to STATUS, without forking.
4420 as_fn_set_status ()
4422   return $1
4423 } # as_fn_set_status
4425 # as_fn_exit STATUS
4426 # -----------------
4427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4428 as_fn_exit ()
4430   set +e
4431   as_fn_set_status $1
4432   exit $1
4433 } # as_fn_exit
4435 # as_fn_unset VAR
4436 # ---------------
4437 # Portably unset VAR.
4438 as_fn_unset ()
4440   { eval $1=; unset $1;}
4442 as_unset=as_fn_unset
4443 # as_fn_append VAR VALUE
4444 # ----------------------
4445 # Append the text in VALUE to the end of the definition contained in VAR. Take
4446 # advantage of any shell optimizations that allow amortized linear growth over
4447 # repeated appends, instead of the typical quadratic growth present in naive
4448 # implementations.
4449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4450   eval 'as_fn_append ()
4451   {
4452     eval $1+=\$2
4453   }'
4454 else
4455   as_fn_append ()
4456   {
4457     eval $1=\$$1\$2
4458   }
4459 fi # as_fn_append
4461 # as_fn_arith ARG...
4462 # ------------------
4463 # Perform arithmetic evaluation on the ARGs, and store the result in the
4464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4465 # must be portable across $(()) and expr.
4466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4467   eval 'as_fn_arith ()
4468   {
4469     as_val=$(( $* ))
4470   }'
4471 else
4472   as_fn_arith ()
4473   {
4474     as_val=`expr "$@" || test $? -eq 1`
4475   }
4476 fi # as_fn_arith
4479 if expr a : '\(a\)' >/dev/null 2>&1 &&
4480    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4481   as_expr=expr
4482 else
4483   as_expr=false
4484 fi
4486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4487   as_basename=basename
4488 else
4489   as_basename=false
4490 fi
4492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4493   as_dirname=dirname
4494 else
4495   as_dirname=false
4496 fi
4498 as_me=`$as_basename -- "$0" ||
4499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4500          X"$0" : 'X\(//\)$' \| \
4501          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4502 $as_echo X/"$0" |
4503     sed '/^.*\/\([^/][^/]*\)\/*$/{
4504             s//\1/
4505             q
4506           }
4507           /^X\/\(\/\/\)$/{
4508             s//\1/
4509             q
4510           }
4511           /^X\/\(\/\).*/{
4512             s//\1/
4513             q
4514           }
4515           s/.*/./; q'`
4517 # Avoid depending upon Character Ranges.
4518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4521 as_cr_digits='0123456789'
4522 as_cr_alnum=$as_cr_Letters$as_cr_digits
4524 ECHO_C= ECHO_N= ECHO_T=
4525 case `echo -n x` in #(((((
4526 -n*)
4527   case `echo 'xy\c'` in
4528   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4529   xy)  ECHO_C='\c';;
4530   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4531        ECHO_T=' ';;
4532   esac;;
4533 *)
4534   ECHO_N='-n';;
4535 esac
4537 rm -f conf$$ conf$$.exe conf$$.file
4538 if test -d conf$$.dir; then
4539   rm -f conf$$.dir/conf$$.file
4540 else
4541   rm -f conf$$.dir
4542   mkdir conf$$.dir 2>/dev/null
4543 fi
4544 if (echo >conf$$.file) 2>/dev/null; then
4545   if ln -s conf$$.file conf$$ 2>/dev/null; then
4546     as_ln_s='ln -s'
4547     # ... but there are two gotchas:
4548     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4549     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4550     # In both cases, we have to default to `cp -p'.
4551     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4552       as_ln_s='cp -p'
4553   elif ln conf$$.file conf$$ 2>/dev/null; then
4554     as_ln_s=ln
4555   else
4556     as_ln_s='cp -p'
4557   fi
4558 else
4559   as_ln_s='cp -p'
4560 fi
4561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4562 rmdir conf$$.dir 2>/dev/null
4565 # as_fn_mkdir_p
4566 # -------------
4567 # Create "$as_dir" as a directory, including parents if necessary.
4568 as_fn_mkdir_p ()
4571   case $as_dir in #(
4572   -*) as_dir=./$as_dir;;
4573   esac
4574   test -d "$as_dir" || eval $as_mkdir_p || {
4575     as_dirs=
4576     while :; do
4577       case $as_dir in #(
4578       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4579       *) as_qdir=$as_dir;;
4580       esac
4581       as_dirs="'$as_qdir' $as_dirs"
4582       as_dir=`$as_dirname -- "$as_dir" ||
4583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4584          X"$as_dir" : 'X\(//\)[^/]' \| \
4585          X"$as_dir" : 'X\(//\)$' \| \
4586          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4587 $as_echo X"$as_dir" |
4588     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4589             s//\1/
4590             q
4591           }
4592           /^X\(\/\/\)[^/].*/{
4593             s//\1/
4594             q
4595           }
4596           /^X\(\/\/\)$/{
4597             s//\1/
4598             q
4599           }
4600           /^X\(\/\).*/{
4601             s//\1/
4602             q
4603           }
4604           s/.*/./; q'`
4605       test -d "$as_dir" && break
4606     done
4607     test -z "$as_dirs" || eval "mkdir $as_dirs"
4608   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4611 } # as_fn_mkdir_p
4612 if mkdir -p . 2>/dev/null; then
4613   as_mkdir_p='mkdir -p "$as_dir"'
4614 else
4615   test -d ./-p && rmdir ./-p
4616   as_mkdir_p=false
4617 fi
4619 if test -x / >/dev/null 2>&1; then
4620   as_test_x='test -x'
4621 else
4622   if ls -dL / >/dev/null 2>&1; then
4623     as_ls_L_option=L
4624   else
4625     as_ls_L_option=
4626   fi
4627   as_test_x='
4628     eval sh -c '\''
4629       if test -d "$1"; then
4630         test -d "$1/.";
4631       else
4632         case $1 in #(
4633         -*)set "./$1";;
4634         esac;
4635         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4636         ???[sx]*):;;*)false;;esac;fi
4637     '\'' sh
4638   '
4639 fi
4640 as_executable_p=$as_test_x
4642 # Sed expression to map a string onto a valid CPP name.
4643 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4645 # Sed expression to map a string onto a valid variable name.
4646 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4649 exec 6>&1
4650 ## ----------------------------------- ##
4651 ## Main body of $CONFIG_STATUS script. ##
4652 ## ----------------------------------- ##
4653 _ASEOF
4654 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4657 # Save the log message, to keep $0 and so on meaningful, and to
4658 # report actual input values of CONFIG_FILES etc. instead of their
4659 # values after options handling.
4660 ac_log="
4661 This file was extended by Xestia Address Book $as_me 1.0, which was
4662 generated by GNU Autoconf 2.68.  Invocation command line was
4664   CONFIG_FILES    = $CONFIG_FILES
4665   CONFIG_HEADERS  = $CONFIG_HEADERS
4666   CONFIG_LINKS    = $CONFIG_LINKS
4667   CONFIG_COMMANDS = $CONFIG_COMMANDS
4668   $ $0 $@
4670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4673 _ACEOF
4675 case $ac_config_files in *"
4676 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4677 esac
4681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4682 # Files that config.status was made for.
4683 config_files="$ac_config_files"
4685 _ACEOF
4687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4688 ac_cs_usage="\
4689 \`$as_me' instantiates files and other configuration actions
4690 from templates according to the current configuration.  Unless the files
4691 and actions are specified as TAGs, all are instantiated by default.
4693 Usage: $0 [OPTION]... [TAG]...
4695   -h, --help       print this help, then exit
4696   -V, --version    print version number and configuration settings, then exit
4697       --config     print configuration, then exit
4698   -q, --quiet, --silent
4699                    do not print progress messages
4700   -d, --debug      don't remove temporary files
4701       --recheck    update $as_me by reconfiguring in the same conditions
4702       --file=FILE[:TEMPLATE]
4703                    instantiate the configuration file FILE
4705 Configuration files:
4706 $config_files
4708 Report bugs to <bugs@xestia.co.uk>."
4710 _ACEOF
4711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4712 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4713 ac_cs_version="\\
4714 Xestia Address Book config.status 1.0
4715 configured by $0, generated by GNU Autoconf 2.68,
4716   with options \\"\$ac_cs_config\\"
4718 Copyright (C) 2010 Free Software Foundation, Inc.
4719 This config.status script is free software; the Free Software Foundation
4720 gives unlimited permission to copy, distribute and modify it."
4722 ac_pwd='$ac_pwd'
4723 srcdir='$srcdir'
4724 test -n "\$AWK" || AWK=awk
4725 _ACEOF
4727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4728 # The default lists apply if the user does not specify any file.
4729 ac_need_defaults=:
4730 while test $# != 0
4731 do
4732   case $1 in
4733   --*=?*)
4734     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4735     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4736     ac_shift=:
4737     ;;
4738   --*=)
4739     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4740     ac_optarg=
4741     ac_shift=:
4742     ;;
4743   *)
4744     ac_option=$1
4745     ac_optarg=$2
4746     ac_shift=shift
4747     ;;
4748   esac
4750   case $ac_option in
4751   # Handling of the options.
4752   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4753     ac_cs_recheck=: ;;
4754   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4755     $as_echo "$ac_cs_version"; exit ;;
4756   --config | --confi | --conf | --con | --co | --c )
4757     $as_echo "$ac_cs_config"; exit ;;
4758   --debug | --debu | --deb | --de | --d | -d )
4759     debug=: ;;
4760   --file | --fil | --fi | --f )
4761     $ac_shift
4762     case $ac_optarg in
4763     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4764     '') as_fn_error $? "missing file argument" ;;
4765     esac
4766     as_fn_append CONFIG_FILES " '$ac_optarg'"
4767     ac_need_defaults=false;;
4768   --he | --h |  --help | --hel | -h )
4769     $as_echo "$ac_cs_usage"; exit ;;
4770   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4771   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4772     ac_cs_silent=: ;;
4774   # This is an error.
4775   -*) as_fn_error $? "unrecognized option: \`$1'
4776 Try \`$0 --help' for more information." ;;
4778   *) as_fn_append ac_config_targets " $1"
4779      ac_need_defaults=false ;;
4781   esac
4782   shift
4783 done
4785 ac_configure_extra_args=
4787 if $ac_cs_silent; then
4788   exec 6>/dev/null
4789   ac_configure_extra_args="$ac_configure_extra_args --silent"
4790 fi
4792 _ACEOF
4793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4794 if \$ac_cs_recheck; then
4795   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4796   shift
4797   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4798   CONFIG_SHELL='$SHELL'
4799   export CONFIG_SHELL
4800   exec "\$@"
4801 fi
4803 _ACEOF
4804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4805 exec 5>>config.log
4807   echo
4808   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4809 ## Running $as_me. ##
4810 _ASBOX
4811   $as_echo "$ac_log"
4812 } >&5
4814 _ACEOF
4815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4816 _ACEOF
4818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4820 # Handling of arguments.
4821 for ac_config_target in $ac_config_targets
4822 do
4823   case $ac_config_target in
4824     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4826   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4827   esac
4828 done
4831 # If the user did not use the arguments to specify the items to instantiate,
4832 # then the envvar interface is used.  Set only those that are not.
4833 # We use the long form for the default assignment because of an extremely
4834 # bizarre bug on SunOS 4.1.3.
4835 if $ac_need_defaults; then
4836   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4837 fi
4839 # Have a temporary directory for convenience.  Make it in the build tree
4840 # simply because there is no reason against having it here, and in addition,
4841 # creating and moving files from /tmp can sometimes cause problems.
4842 # Hook for its removal unless debugging.
4843 # Note that there is a small window in which the directory will not be cleaned:
4844 # after its creation but before its name has been assigned to `$tmp'.
4845 $debug ||
4847   tmp= ac_tmp=
4848   trap 'exit_status=$?
4849   : "${ac_tmp:=$tmp}"
4850   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4851 ' 0
4852   trap 'as_fn_exit 1' 1 2 13 15
4854 # Create a (secure) tmp directory for tmp files.
4857   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4858   test -d "$tmp"
4859 }  ||
4861   tmp=./conf$$-$RANDOM
4862   (umask 077 && mkdir "$tmp")
4863 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4864 ac_tmp=$tmp
4866 # Set up the scripts for CONFIG_FILES section.
4867 # No need to generate them if there are no CONFIG_FILES.
4868 # This happens for instance with `./config.status config.h'.
4869 if test -n "$CONFIG_FILES"; then
4872 ac_cr=`echo X | tr X '\015'`
4873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4874 # But we know of no other shell where ac_cr would be empty at this
4875 # point, so we can use a bashism as a fallback.
4876 if test "x$ac_cr" = x; then
4877   eval ac_cr=\$\'\\r\'
4878 fi
4879 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4881   ac_cs_awk_cr='\\r'
4882 else
4883   ac_cs_awk_cr=$ac_cr
4884 fi
4886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4887 _ACEOF
4891   echo "cat >conf$$subs.awk <<_ACEOF" &&
4892   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4893   echo "_ACEOF"
4894 } >conf$$subs.sh ||
4895   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4897 ac_delim='%!_!# '
4898 for ac_last_try in false false false false false :; do
4899   . ./conf$$subs.sh ||
4900     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4902   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4903   if test $ac_delim_n = $ac_delim_num; then
4904     break
4905   elif $ac_last_try; then
4906     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4907   else
4908     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4909   fi
4910 done
4911 rm -f conf$$subs.sh
4913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4914 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4915 _ACEOF
4916 sed -n '
4918 s/^/S["/; s/!.*/"]=/
4921 s/^[^!]*!//
4922 :repl
4923 t repl
4924 s/'"$ac_delim"'$//
4925 t delim
4926 :nl
4928 s/\(.\{148\}\)..*/\1/
4929 t more1
4930 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4933 b repl
4934 :more1
4935 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4938 s/.\{148\}//
4939 t nl
4940 :delim
4942 s/\(.\{148\}\)..*/\1/
4943 t more2
4944 s/["\\]/\\&/g; s/^/"/; s/$/"/
4947 :more2
4948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4951 s/.\{148\}//
4952 t delim
4953 ' <conf$$subs.awk | sed '
4954 /^[^""]/{
4955   N
4956   s/\n//
4958 ' >>$CONFIG_STATUS || ac_write_fail=1
4959 rm -f conf$$subs.awk
4960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4961 _ACAWK
4962 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4963   for (key in S) S_is_set[key] = 1
4964   FS = "\a"
4968   line = $ 0
4969   nfields = split(line, field, "@")
4970   substed = 0
4971   len = length(field[1])
4972   for (i = 2; i < nfields; i++) {
4973     key = field[i]
4974     keylen = length(key)
4975     if (S_is_set[key]) {
4976       value = S[key]
4977       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4978       len += length(value) + length(field[++i])
4979       substed = 1
4980     } else
4981       len += 1 + keylen
4982   }
4984   print line
4987 _ACAWK
4988 _ACEOF
4989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4990 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4991   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4992 else
4993   cat
4994 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4995   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4996 _ACEOF
4998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5000 # trailing colons and then remove the whole line if VPATH becomes empty
5001 # (actually we leave an empty line to preserve line numbers).
5002 if test "x$srcdir" = x.; then
5003   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5005 s///
5006 s/^/:/
5007 s/[      ]*$/:/
5008 s/:\$(srcdir):/:/g
5009 s/:\${srcdir}:/:/g
5010 s/:@srcdir@:/:/g
5011 s/^:*//
5012 s/:*$//
5014 s/\(=[   ]*\).*/\1/
5016 s/\n//
5017 s/^[^=]*=[       ]*$//
5018 }'
5019 fi
5021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5022 fi # test -n "$CONFIG_FILES"
5025 eval set X "  :F $CONFIG_FILES      "
5026 shift
5027 for ac_tag
5028 do
5029   case $ac_tag in
5030   :[FHLC]) ac_mode=$ac_tag; continue;;
5031   esac
5032   case $ac_mode$ac_tag in
5033   :[FHL]*:*);;
5034   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5035   :[FH]-) ac_tag=-:-;;
5036   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5037   esac
5038   ac_save_IFS=$IFS
5039   IFS=:
5040   set x $ac_tag
5041   IFS=$ac_save_IFS
5042   shift
5043   ac_file=$1
5044   shift
5046   case $ac_mode in
5047   :L) ac_source=$1;;
5048   :[FH])
5049     ac_file_inputs=
5050     for ac_f
5051     do
5052       case $ac_f in
5053       -) ac_f="$ac_tmp/stdin";;
5054       *) # Look for the file first in the build tree, then in the source tree
5055          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5056          # because $ac_f cannot contain `:'.
5057          test -f "$ac_f" ||
5058            case $ac_f in
5059            [\\/$]*) false;;
5060            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5061            esac ||
5062            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5063       esac
5064       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5065       as_fn_append ac_file_inputs " '$ac_f'"
5066     done
5068     # Let's still pretend it is `configure' which instantiates (i.e., don't
5069     # use $as_me), people would be surprised to read:
5070     #    /* config.h.  Generated by config.status.  */
5071     configure_input='Generated from '`
5072           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5073         `' by configure.'
5074     if test x"$ac_file" != x-; then
5075       configure_input="$ac_file.  $configure_input"
5076       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5077 $as_echo "$as_me: creating $ac_file" >&6;}
5078     fi
5079     # Neutralize special characters interpreted by sed in replacement strings.
5080     case $configure_input in #(
5081     *\&* | *\|* | *\\* )
5082        ac_sed_conf_input=`$as_echo "$configure_input" |
5083        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5084     *) ac_sed_conf_input=$configure_input;;
5085     esac
5087     case $ac_tag in
5088     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5089       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5090     esac
5091     ;;
5092   esac
5094   ac_dir=`$as_dirname -- "$ac_file" ||
5095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5096          X"$ac_file" : 'X\(//\)[^/]' \| \
5097          X"$ac_file" : 'X\(//\)$' \| \
5098          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5099 $as_echo X"$ac_file" |
5100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5101             s//\1/
5102             q
5103           }
5104           /^X\(\/\/\)[^/].*/{
5105             s//\1/
5106             q
5107           }
5108           /^X\(\/\/\)$/{
5109             s//\1/
5110             q
5111           }
5112           /^X\(\/\).*/{
5113             s//\1/
5114             q
5115           }
5116           s/.*/./; q'`
5117   as_dir="$ac_dir"; as_fn_mkdir_p
5118   ac_builddir=.
5120 case "$ac_dir" in
5121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5122 *)
5123   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5124   # A ".." for each directory in $ac_dir_suffix.
5125   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5126   case $ac_top_builddir_sub in
5127   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5128   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5129   esac ;;
5130 esac
5131 ac_abs_top_builddir=$ac_pwd
5132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5133 # for backward compatibility:
5134 ac_top_builddir=$ac_top_build_prefix
5136 case $srcdir in
5137   .)  # We are building in place.
5138     ac_srcdir=.
5139     ac_top_srcdir=$ac_top_builddir_sub
5140     ac_abs_top_srcdir=$ac_pwd ;;
5141   [\\/]* | ?:[\\/]* )  # Absolute name.
5142     ac_srcdir=$srcdir$ac_dir_suffix;
5143     ac_top_srcdir=$srcdir
5144     ac_abs_top_srcdir=$srcdir ;;
5145   *) # Relative name.
5146     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5147     ac_top_srcdir=$ac_top_build_prefix$srcdir
5148     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5149 esac
5150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5153   case $ac_mode in
5154   :F)
5155   #
5156   # CONFIG_FILE
5157   #
5159 _ACEOF
5161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5162 # If the template does not know about datarootdir, expand it.
5163 # FIXME: This hack should be removed a few years after 2.60.
5164 ac_datarootdir_hack=; ac_datarootdir_seen=
5165 ac_sed_dataroot='
5166 /datarootdir/ {
5167   p
5168   q
5170 /@datadir@/p
5171 /@docdir@/p
5172 /@infodir@/p
5173 /@localedir@/p
5174 /@mandir@/p'
5175 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5176 *datarootdir*) ac_datarootdir_seen=yes;;
5177 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5178   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5179 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5180 _ACEOF
5181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5182   ac_datarootdir_hack='
5183   s&@datadir@&$datadir&g
5184   s&@docdir@&$docdir&g
5185   s&@infodir@&$infodir&g
5186   s&@localedir@&$localedir&g
5187   s&@mandir@&$mandir&g
5188   s&\\\${datarootdir}&$datarootdir&g' ;;
5189 esac
5190 _ACEOF
5192 # Neutralize VPATH when `$srcdir' = `.'.
5193 # Shell code in configure.ac might set extrasub.
5194 # FIXME: do we really want to maintain this feature?
5195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5196 ac_sed_extra="$ac_vpsub
5197 $extrasub
5198 _ACEOF
5199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5200 :t
5201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5202 s|@configure_input@|$ac_sed_conf_input|;t t
5203 s&@top_builddir@&$ac_top_builddir_sub&;t t
5204 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5205 s&@srcdir@&$ac_srcdir&;t t
5206 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5207 s&@top_srcdir@&$ac_top_srcdir&;t t
5208 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5209 s&@builddir@&$ac_builddir&;t t
5210 s&@abs_builddir@&$ac_abs_builddir&;t t
5211 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5212 $ac_datarootdir_hack
5214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5215   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5218   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5219   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5220       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5221   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5222 which seems to be undefined.  Please make sure it is defined" >&5
5223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5224 which seems to be undefined.  Please make sure it is defined" >&2;}
5226   rm -f "$ac_tmp/stdin"
5227   case $ac_file in
5228   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5229   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5230   esac \
5231   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5232  ;;
5236   esac
5238 done # for ac_tag
5241 as_fn_exit 0
5242 _ACEOF
5243 ac_clean_files=$ac_clean_files_save
5245 test $ac_write_fail = 0 ||
5246   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5249 # configure is writing to config.log, and then calls config.status.
5250 # config.status does its own redirection, appending to config.log.
5251 # Unfortunately, on DOS this fails, as config.log is still kept open
5252 # by configure, so config.status won't be able to write to it; its
5253 # output is simply discarded.  So we exec the FD to /dev/null,
5254 # effectively closing config.log, so it can be properly (re)opened and
5255 # appended to by config.status.  When coming back to configure, we
5256 # need to make the FD available again.
5257 if test "$no_create" != yes; then
5258   ac_cs_success=:
5259   ac_config_status_args=
5260   test "$silent" = yes &&
5261     ac_config_status_args="$ac_config_status_args --quiet"
5262   exec 5>/dev/null
5263   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5264   exec 5>>config.log
5265   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5266   # would make configure fail if this is the last instruction.
5267   $ac_cs_success || as_fn_exit 1
5268 fi
5269 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5271 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5272 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