1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for DFArc 3.14.
4#
5# Report bugs to <bug-freedink@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: bug-freedink@gnu.org about your system, including any
271$0: error possibly output before this message. Then install
272$0: a modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='DFArc'
582PACKAGE_TARNAME='dfarc'
583PACKAGE_VERSION='3.14'
584PACKAGE_STRING='DFArc 3.14'
585PACKAGE_BUGREPORT='bug-freedink@gnu.org'
586PACKAGE_URL=''
587
588# Factoring default headers for most tests.
589ac_includes_default="\
590#include <stdio.h>
591#ifdef HAVE_SYS_TYPES_H
592# include <sys/types.h>
593#endif
594#ifdef HAVE_SYS_STAT_H
595# include <sys/stat.h>
596#endif
597#ifdef STDC_HEADERS
598# include <stdlib.h>
599# include <stddef.h>
600#else
601# ifdef HAVE_STDLIB_H
602#  include <stdlib.h>
603# endif
604#endif
605#ifdef HAVE_STRING_H
606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607#  include <memory.h>
608# endif
609# include <string.h>
610#endif
611#ifdef HAVE_STRINGS_H
612# include <strings.h>
613#endif
614#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
616#endif
617#ifdef HAVE_STDINT_H
618# include <stdint.h>
619#endif
620#ifdef HAVE_UNISTD_H
621# include <unistd.h>
622#endif"
623
624ac_subst_vars='am__EXEEXT_FALSE
625am__EXEEXT_TRUE
626LTLIBOBJS
627LIBOBJS
628EGREP
629GREP
630CPP
631WX_VERSION_MICRO
632WX_VERSION_MINOR
633WX_VERSION_MAJOR
634WX_RESCOMP
635WX_VERSION
636WX_LIBS_STATIC
637WX_LIBS
638WX_CXXFLAGS_ONLY
639WX_CFLAGS_ONLY
640WX_CXXFLAGS
641WX_CFLAGS
642WX_CPPFLAGS
643WX_CONFIG_PATH
644am__fastdepCC_FALSE
645am__fastdepCC_TRUE
646CCDEPMODE
647ac_ct_CC
648CFLAGS
649CC
650HAVE_XDG_FALSE
651HAVE_XDG_TRUE
652XDG_DESKTOP_MENU
653XDG_ICON_RESOURCE
654XDG_MIME
655HAVE_UPX_FALSE
656HAVE_UPX_TRUE
657UPX
658HAVE_WINDRES_FALSE
659HAVE_WINDRES_TRUE
660WINDRES
661HAVE_WXGLADE_FALSE
662HAVE_WXGLADE_TRUE
663WXGLADE
664LN_S
665am__fastdepCXX_FALSE
666am__fastdepCXX_TRUE
667CXXDEPMODE
668am__nodep
669AMDEPBACKSLASH
670AMDEP_FALSE
671AMDEP_TRUE
672am__quote
673am__include
674DEPDIR
675OBJEXT
676EXEEXT
677ac_ct_CXX
678CPPFLAGS
679LDFLAGS
680CXXFLAGS
681CXX
682ALL_LINGUAS
683INTLTOOL_PERL
684INTLTOOL_POLICY_RULE
685INTLTOOL_SERVICE_RULE
686INTLTOOL_THEME_RULE
687INTLTOOL_SCHEMAS_RULE
688INTLTOOL_CAVES_RULE
689INTLTOOL_XML_NOMERGE_RULE
690INTLTOOL_XML_RULE
691INTLTOOL_KBD_RULE
692INTLTOOL_XAM_RULE
693INTLTOOL_UI_RULE
694INTLTOOL_SOUNDLIST_RULE
695INTLTOOL_SHEET_RULE
696INTLTOOL_SERVER_RULE
697INTLTOOL_PONG_RULE
698INTLTOOL_OAF_RULE
699INTLTOOL_PROP_RULE
700INTLTOOL_KEYS_RULE
701INTLTOOL_DIRECTORY_RULE
702INTLTOOL_DESKTOP_RULE
703intltool__v_merge_options_0
704intltool__v_merge_options_
705INTLTOOL_V_MERGE_OPTIONS
706INTLTOOL__v_MERGE_0
707INTLTOOL__v_MERGE_
708INTLTOOL_V_MERGE
709INTLTOOL_EXTRACT
710INTLTOOL_MERGE
711INTLTOOL_UPDATE
712GETTEXT_PACKAGE
713XGETTEXT_EXTRA_OPTIONS
714MSGMERGE
715XGETTEXT_015
716XGETTEXT
717GMSGFMT_015
718MSGFMT_015
719GMSGFMT
720MSGFMT
721GETTEXT_MACRO_VERSION
722USE_NLS
723host_os
724host_vendor
725host_cpu
726host
727build_os
728build_vendor
729build_cpu
730build
731AM_BACKSLASH
732AM_DEFAULT_VERBOSITY
733AM_DEFAULT_V
734AM_V
735am__untar
736am__tar
737AMTAR
738am__leading_dot
739SET_MAKE
740AWK
741mkdir_p
742MKDIR_P
743INSTALL_STRIP_PROGRAM
744STRIP
745install_sh
746MAKEINFO
747AUTOHEADER
748AUTOMAKE
749AUTOCONF
750ACLOCAL
751VERSION
752PACKAGE
753CYGPATH_W
754am__isrc
755INSTALL_DATA
756INSTALL_SCRIPT
757INSTALL_PROGRAM
758target_alias
759host_alias
760build_alias
761LIBS
762ECHO_T
763ECHO_N
764ECHO_C
765DEFS
766mandir
767localedir
768libdir
769psdir
770pdfdir
771dvidir
772htmldir
773infodir
774docdir
775oldincludedir
776includedir
777runstatedir
778localstatedir
779sharedstatedir
780sysconfdir
781datadir
782datarootdir
783libexecdir
784sbindir
785bindir
786program_transform_name
787prefix
788exec_prefix
789PACKAGE_URL
790PACKAGE_BUGREPORT
791PACKAGE_STRING
792PACKAGE_VERSION
793PACKAGE_TARNAME
794PACKAGE_NAME
795PATH_SEPARATOR
796SHELL'
797ac_subst_files=''
798ac_user_opts='
799enable_option_checking
800enable_silent_rules
801enable_nls
802enable_dependency_tracking
803enable_upx
804enable_static
805enable_desktopfiles
806with_wxdir
807with_wx_config
808with_wx_prefix
809with_wx_exec_prefix
810'
811      ac_precious_vars='build_alias
812host_alias
813target_alias
814CXX
815CXXFLAGS
816LDFLAGS
817LIBS
818CPPFLAGS
819CCC
820WXGLADE
821UPX
822CC
823CFLAGS
824CPP'
825
826
827# Initialize some variables set by options.
828ac_init_help=
829ac_init_version=false
830ac_unrecognized_opts=
831ac_unrecognized_sep=
832# The variables have the same names as the options, with
833# dashes changed to underlines.
834cache_file=/dev/null
835exec_prefix=NONE
836no_create=
837no_recursion=
838prefix=NONE
839program_prefix=NONE
840program_suffix=NONE
841program_transform_name=s,x,x,
842silent=
843site=
844srcdir=
845verbose=
846x_includes=NONE
847x_libraries=NONE
848
849# Installation directory options.
850# These are left unexpanded so users can "make install exec_prefix=/foo"
851# and all the variables that are supposed to be based on exec_prefix
852# by default will actually change.
853# Use braces instead of parens because sh, perl, etc. also accept them.
854# (The list follows the same order as the GNU Coding Standards.)
855bindir='${exec_prefix}/bin'
856sbindir='${exec_prefix}/sbin'
857libexecdir='${exec_prefix}/libexec'
858datarootdir='${prefix}/share'
859datadir='${datarootdir}'
860sysconfdir='${prefix}/etc'
861sharedstatedir='${prefix}/com'
862localstatedir='${prefix}/var'
863runstatedir='${localstatedir}/run'
864includedir='${prefix}/include'
865oldincludedir='/usr/include'
866docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867infodir='${datarootdir}/info'
868htmldir='${docdir}'
869dvidir='${docdir}'
870pdfdir='${docdir}'
871psdir='${docdir}'
872libdir='${exec_prefix}/lib'
873localedir='${datarootdir}/locale'
874mandir='${datarootdir}/man'
875
876ac_prev=
877ac_dashdash=
878for ac_option
879do
880  # If the previous option needs an argument, assign it.
881  if test -n "$ac_prev"; then
882    eval $ac_prev=\$ac_option
883    ac_prev=
884    continue
885  fi
886
887  case $ac_option in
888  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889  *=)   ac_optarg= ;;
890  *)    ac_optarg=yes ;;
891  esac
892
893  # Accept the important Cygnus configure options, so we can diagnose typos.
894
895  case $ac_dashdash$ac_option in
896  --)
897    ac_dashdash=yes ;;
898
899  -bindir | --bindir | --bindi | --bind | --bin | --bi)
900    ac_prev=bindir ;;
901  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
902    bindir=$ac_optarg ;;
903
904  -build | --build | --buil | --bui | --bu)
905    ac_prev=build_alias ;;
906  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907    build_alias=$ac_optarg ;;
908
909  -cache-file | --cache-file | --cache-fil | --cache-fi \
910  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911    ac_prev=cache_file ;;
912  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914    cache_file=$ac_optarg ;;
915
916  --config-cache | -C)
917    cache_file=config.cache ;;
918
919  -datadir | --datadir | --datadi | --datad)
920    ac_prev=datadir ;;
921  -datadir=* | --datadir=* | --datadi=* | --datad=*)
922    datadir=$ac_optarg ;;
923
924  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925  | --dataroo | --dataro | --datar)
926    ac_prev=datarootdir ;;
927  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929    datarootdir=$ac_optarg ;;
930
931  -disable-* | --disable-*)
932    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933    # Reject names that are not valid shell variable names.
934    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935      as_fn_error $? "invalid feature name: $ac_useropt"
936    ac_useropt_orig=$ac_useropt
937    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938    case $ac_user_opts in
939      *"
940"enable_$ac_useropt"
941"*) ;;
942      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943	 ac_unrecognized_sep=', ';;
944    esac
945    eval enable_$ac_useropt=no ;;
946
947  -docdir | --docdir | --docdi | --doc | --do)
948    ac_prev=docdir ;;
949  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
950    docdir=$ac_optarg ;;
951
952  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
953    ac_prev=dvidir ;;
954  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
955    dvidir=$ac_optarg ;;
956
957  -enable-* | --enable-*)
958    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959    # Reject names that are not valid shell variable names.
960    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961      as_fn_error $? "invalid feature name: $ac_useropt"
962    ac_useropt_orig=$ac_useropt
963    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964    case $ac_user_opts in
965      *"
966"enable_$ac_useropt"
967"*) ;;
968      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969	 ac_unrecognized_sep=', ';;
970    esac
971    eval enable_$ac_useropt=\$ac_optarg ;;
972
973  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975  | --exec | --exe | --ex)
976    ac_prev=exec_prefix ;;
977  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979  | --exec=* | --exe=* | --ex=*)
980    exec_prefix=$ac_optarg ;;
981
982  -gas | --gas | --ga | --g)
983    # Obsolete; use --with-gas.
984    with_gas=yes ;;
985
986  -help | --help | --hel | --he | -h)
987    ac_init_help=long ;;
988  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989    ac_init_help=recursive ;;
990  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991    ac_init_help=short ;;
992
993  -host | --host | --hos | --ho)
994    ac_prev=host_alias ;;
995  -host=* | --host=* | --hos=* | --ho=*)
996    host_alias=$ac_optarg ;;
997
998  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
999    ac_prev=htmldir ;;
1000  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1001  | --ht=*)
1002    htmldir=$ac_optarg ;;
1003
1004  -includedir | --includedir | --includedi | --included | --include \
1005  | --includ | --inclu | --incl | --inc)
1006    ac_prev=includedir ;;
1007  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008  | --includ=* | --inclu=* | --incl=* | --inc=*)
1009    includedir=$ac_optarg ;;
1010
1011  -infodir | --infodir | --infodi | --infod | --info | --inf)
1012    ac_prev=infodir ;;
1013  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014    infodir=$ac_optarg ;;
1015
1016  -libdir | --libdir | --libdi | --libd)
1017    ac_prev=libdir ;;
1018  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019    libdir=$ac_optarg ;;
1020
1021  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022  | --libexe | --libex | --libe)
1023    ac_prev=libexecdir ;;
1024  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025  | --libexe=* | --libex=* | --libe=*)
1026    libexecdir=$ac_optarg ;;
1027
1028  -localedir | --localedir | --localedi | --localed | --locale)
1029    ac_prev=localedir ;;
1030  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031    localedir=$ac_optarg ;;
1032
1033  -localstatedir | --localstatedir | --localstatedi | --localstated \
1034  | --localstate | --localstat | --localsta | --localst | --locals)
1035    ac_prev=localstatedir ;;
1036  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038    localstatedir=$ac_optarg ;;
1039
1040  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1041    ac_prev=mandir ;;
1042  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043    mandir=$ac_optarg ;;
1044
1045  -nfp | --nfp | --nf)
1046    # Obsolete; use --without-fp.
1047    with_fp=no ;;
1048
1049  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050  | --no-cr | --no-c | -n)
1051    no_create=yes ;;
1052
1053  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1055    no_recursion=yes ;;
1056
1057  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059  | --oldin | --oldi | --old | --ol | --o)
1060    ac_prev=oldincludedir ;;
1061  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064    oldincludedir=$ac_optarg ;;
1065
1066  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1067    ac_prev=prefix ;;
1068  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069    prefix=$ac_optarg ;;
1070
1071  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072  | --program-pre | --program-pr | --program-p)
1073    ac_prev=program_prefix ;;
1074  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076    program_prefix=$ac_optarg ;;
1077
1078  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079  | --program-suf | --program-su | --program-s)
1080    ac_prev=program_suffix ;;
1081  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083    program_suffix=$ac_optarg ;;
1084
1085  -program-transform-name | --program-transform-name \
1086  | --program-transform-nam | --program-transform-na \
1087  | --program-transform-n | --program-transform- \
1088  | --program-transform | --program-transfor \
1089  | --program-transfo | --program-transf \
1090  | --program-trans | --program-tran \
1091  | --progr-tra | --program-tr | --program-t)
1092    ac_prev=program_transform_name ;;
1093  -program-transform-name=* | --program-transform-name=* \
1094  | --program-transform-nam=* | --program-transform-na=* \
1095  | --program-transform-n=* | --program-transform-=* \
1096  | --program-transform=* | --program-transfor=* \
1097  | --program-transfo=* | --program-transf=* \
1098  | --program-trans=* | --program-tran=* \
1099  | --progr-tra=* | --program-tr=* | --program-t=*)
1100    program_transform_name=$ac_optarg ;;
1101
1102  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1103    ac_prev=pdfdir ;;
1104  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105    pdfdir=$ac_optarg ;;
1106
1107  -psdir | --psdir | --psdi | --psd | --ps)
1108    ac_prev=psdir ;;
1109  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1110    psdir=$ac_optarg ;;
1111
1112  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113  | -silent | --silent | --silen | --sile | --sil)
1114    silent=yes ;;
1115
1116  -runstatedir | --runstatedir | --runstatedi | --runstated \
1117  | --runstate | --runstat | --runsta | --runst | --runs \
1118  | --run | --ru | --r)
1119    ac_prev=runstatedir ;;
1120  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1121  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1122  | --run=* | --ru=* | --r=*)
1123    runstatedir=$ac_optarg ;;
1124
1125  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126    ac_prev=sbindir ;;
1127  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128  | --sbi=* | --sb=*)
1129    sbindir=$ac_optarg ;;
1130
1131  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133  | --sharedst | --shareds | --shared | --share | --shar \
1134  | --sha | --sh)
1135    ac_prev=sharedstatedir ;;
1136  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139  | --sha=* | --sh=*)
1140    sharedstatedir=$ac_optarg ;;
1141
1142  -site | --site | --sit)
1143    ac_prev=site ;;
1144  -site=* | --site=* | --sit=*)
1145    site=$ac_optarg ;;
1146
1147  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148    ac_prev=srcdir ;;
1149  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150    srcdir=$ac_optarg ;;
1151
1152  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153  | --syscon | --sysco | --sysc | --sys | --sy)
1154    ac_prev=sysconfdir ;;
1155  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157    sysconfdir=$ac_optarg ;;
1158
1159  -target | --target | --targe | --targ | --tar | --ta | --t)
1160    ac_prev=target_alias ;;
1161  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162    target_alias=$ac_optarg ;;
1163
1164  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165    verbose=yes ;;
1166
1167  -version | --version | --versio | --versi | --vers | -V)
1168    ac_init_version=: ;;
1169
1170  -with-* | --with-*)
1171    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172    # Reject names that are not valid shell variable names.
1173    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174      as_fn_error $? "invalid package name: $ac_useropt"
1175    ac_useropt_orig=$ac_useropt
1176    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177    case $ac_user_opts in
1178      *"
1179"with_$ac_useropt"
1180"*) ;;
1181      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182	 ac_unrecognized_sep=', ';;
1183    esac
1184    eval with_$ac_useropt=\$ac_optarg ;;
1185
1186  -without-* | --without-*)
1187    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188    # Reject names that are not valid shell variable names.
1189    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190      as_fn_error $? "invalid package name: $ac_useropt"
1191    ac_useropt_orig=$ac_useropt
1192    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193    case $ac_user_opts in
1194      *"
1195"with_$ac_useropt"
1196"*) ;;
1197      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198	 ac_unrecognized_sep=', ';;
1199    esac
1200    eval with_$ac_useropt=no ;;
1201
1202  --x)
1203    # Obsolete; use --with-x.
1204    with_x=yes ;;
1205
1206  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207  | --x-incl | --x-inc | --x-in | --x-i)
1208    ac_prev=x_includes ;;
1209  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211    x_includes=$ac_optarg ;;
1212
1213  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215    ac_prev=x_libraries ;;
1216  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218    x_libraries=$ac_optarg ;;
1219
1220  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221Try \`$0 --help' for more information"
1222    ;;
1223
1224  *=*)
1225    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226    # Reject names that are not valid shell variable names.
1227    case $ac_envvar in #(
1228      '' | [0-9]* | *[!_$as_cr_alnum]* )
1229      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230    esac
1231    eval $ac_envvar=\$ac_optarg
1232    export $ac_envvar ;;
1233
1234  *)
1235    # FIXME: should be removed in autoconf 3.0.
1236    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240    ;;
1241
1242  esac
1243done
1244
1245if test -n "$ac_prev"; then
1246  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247  as_fn_error $? "missing argument to $ac_option"
1248fi
1249
1250if test -n "$ac_unrecognized_opts"; then
1251  case $enable_option_checking in
1252    no) ;;
1253    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255  esac
1256fi
1257
1258# Check all directory arguments for consistency.
1259for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260		datadir sysconfdir sharedstatedir localstatedir includedir \
1261		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262		libdir localedir mandir runstatedir
1263do
1264  eval ac_val=\$$ac_var
1265  # Remove trailing slashes.
1266  case $ac_val in
1267    */ )
1268      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269      eval $ac_var=\$ac_val;;
1270  esac
1271  # Be sure to have absolute directory names.
1272  case $ac_val in
1273    [\\/$]* | ?:[\\/]* )  continue;;
1274    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275  esac
1276  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277done
1278
1279# There might be people who depend on the old broken behavior: `$host'
1280# used to hold the argument of --host etc.
1281# FIXME: To remove some day.
1282build=$build_alias
1283host=$host_alias
1284target=$target_alias
1285
1286# FIXME: To remove some day.
1287if test "x$host_alias" != x; then
1288  if test "x$build_alias" = x; then
1289    cross_compiling=maybe
1290  elif test "x$build_alias" != "x$host_alias"; then
1291    cross_compiling=yes
1292  fi
1293fi
1294
1295ac_tool_prefix=
1296test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298test "$silent" = yes && exec 6>/dev/null
1299
1300
1301ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302ac_ls_di=`ls -di .` &&
1303ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304  as_fn_error $? "working directory cannot be determined"
1305test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306  as_fn_error $? "pwd does not report name of working directory"
1307
1308
1309# Find the source files, if location was not specified.
1310if test -z "$srcdir"; then
1311  ac_srcdir_defaulted=yes
1312  # Try the directory containing this script, then the parent directory.
1313  ac_confdir=`$as_dirname -- "$as_myself" ||
1314$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315	 X"$as_myself" : 'X\(//\)[^/]' \| \
1316	 X"$as_myself" : 'X\(//\)$' \| \
1317	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318$as_echo X"$as_myself" |
1319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320	    s//\1/
1321	    q
1322	  }
1323	  /^X\(\/\/\)[^/].*/{
1324	    s//\1/
1325	    q
1326	  }
1327	  /^X\(\/\/\)$/{
1328	    s//\1/
1329	    q
1330	  }
1331	  /^X\(\/\).*/{
1332	    s//\1/
1333	    q
1334	  }
1335	  s/.*/./; q'`
1336  srcdir=$ac_confdir
1337  if test ! -r "$srcdir/$ac_unique_file"; then
1338    srcdir=..
1339  fi
1340else
1341  ac_srcdir_defaulted=no
1342fi
1343if test ! -r "$srcdir/$ac_unique_file"; then
1344  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346fi
1347ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348ac_abs_confdir=`(
1349	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350	pwd)`
1351# When building in place, set srcdir=.
1352if test "$ac_abs_confdir" = "$ac_pwd"; then
1353  srcdir=.
1354fi
1355# Remove unnecessary trailing slashes from srcdir.
1356# Double slashes in file names in object file debugging info
1357# mess up M-x gdb in Emacs.
1358case $srcdir in
1359*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360esac
1361for ac_var in $ac_precious_vars; do
1362  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363  eval ac_env_${ac_var}_value=\$${ac_var}
1364  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366done
1367
1368#
1369# Report the --help message.
1370#
1371if test "$ac_init_help" = "long"; then
1372  # Omit some internal or obsolete options to make the list less imposing.
1373  # This message is too long to be a string in the A/UX 3.1 sh.
1374  cat <<_ACEOF
1375\`configure' configures DFArc 3.14 to adapt to many kinds of systems.
1376
1377Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380VAR=VALUE.  See below for descriptions of some of the useful variables.
1381
1382Defaults for the options are specified in brackets.
1383
1384Configuration:
1385  -h, --help              display this help and exit
1386      --help=short        display options specific to this package
1387      --help=recursive    display the short help of all the included packages
1388  -V, --version           display version information and exit
1389  -q, --quiet, --silent   do not print \`checking ...' messages
1390      --cache-file=FILE   cache test results in FILE [disabled]
1391  -C, --config-cache      alias for \`--cache-file=config.cache'
1392  -n, --no-create         do not create output files
1393      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1394
1395Installation directories:
1396  --prefix=PREFIX         install architecture-independent files in PREFIX
1397                          [$ac_default_prefix]
1398  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1399                          [PREFIX]
1400
1401By default, \`make install' will install all the files in
1402\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1403an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404for instance \`--prefix=\$HOME'.
1405
1406For better control, use the options below.
1407
1408Fine tuning of the installation directories:
1409  --bindir=DIR            user executables [EPREFIX/bin]
1410  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1411  --libexecdir=DIR        program executables [EPREFIX/libexec]
1412  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1413  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1414  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1415  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1416  --libdir=DIR            object code libraries [EPREFIX/lib]
1417  --includedir=DIR        C header files [PREFIX/include]
1418  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1419  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1420  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1421  --infodir=DIR           info documentation [DATAROOTDIR/info]
1422  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1423  --mandir=DIR            man documentation [DATAROOTDIR/man]
1424  --docdir=DIR            documentation root [DATAROOTDIR/doc/dfarc]
1425  --htmldir=DIR           html documentation [DOCDIR]
1426  --dvidir=DIR            dvi documentation [DOCDIR]
1427  --pdfdir=DIR            pdf documentation [DOCDIR]
1428  --psdir=DIR             ps documentation [DOCDIR]
1429_ACEOF
1430
1431  cat <<\_ACEOF
1432
1433Program names:
1434  --program-prefix=PREFIX            prepend PREFIX to installed program names
1435  --program-suffix=SUFFIX            append SUFFIX to installed program names
1436  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1437
1438System types:
1439  --build=BUILD     configure for building on BUILD [guessed]
1440  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1441_ACEOF
1442fi
1443
1444if test -n "$ac_init_help"; then
1445  case $ac_init_help in
1446     short | recursive ) echo "Configuration of DFArc 3.14:";;
1447   esac
1448  cat <<\_ACEOF
1449
1450Optional Features:
1451  --disable-option-checking  ignore unrecognized --enable/--with options
1452  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1453  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1454  --enable-silent-rules   less verbose build output (undo: "make V=1")
1455  --disable-silent-rules  verbose build output (undo: "make V=0")
1456  --disable-nls           do not use Native Language Support
1457  --enable-dependency-tracking
1458                          do not reject slow dependency extractors
1459  --disable-dependency-tracking
1460                          speeds up one-time build
1461  --enable-upx            compress executables [[default is disabled]]
1462  --enable-static         embed wxWidgets and libbz2 in the executable
1463                          (mingw32 only) [[default is disabled]]
1464  --disable-desktopfiles  Do not install scripts to register icons and menus.
1465
1466Optional Packages:
1467  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1468  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1469  --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1470  --with-wx-config=CONFIG wx-config script to use (optional)
1471  --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1472  --with-wx-exec-prefix=PREFIX
1473                          Exec prefix where wxWidgets is installed (optional)
1474
1475Some influential environment variables:
1476  CXX         C++ compiler command
1477  CXXFLAGS    C++ compiler flags
1478  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1479              nonstandard directory <lib dir>
1480  LIBS        libraries to pass to the linker, e.g. -l<library>
1481  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1482              you have headers in a nonstandard directory <include dir>
1483  WXGLADE     Compiler for UI files (.wxg -> .cpp)
1484  UPX         Produce self-decompressing executables (if --enable-upx)
1485  CC          C compiler command
1486  CFLAGS      C compiler flags
1487  CPP         C preprocessor
1488
1489Use these variables to override the choices made by `configure' or to help
1490it to find libraries and programs with nonstandard names/locations.
1491
1492Report bugs to <bug-freedink@gnu.org>.
1493_ACEOF
1494ac_status=$?
1495fi
1496
1497if test "$ac_init_help" = "recursive"; then
1498  # If there are subdirs, report their specific --help.
1499  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1500    test -d "$ac_dir" ||
1501      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1502      continue
1503    ac_builddir=.
1504
1505case "$ac_dir" in
1506.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507*)
1508  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1509  # A ".." for each directory in $ac_dir_suffix.
1510  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1511  case $ac_top_builddir_sub in
1512  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1514  esac ;;
1515esac
1516ac_abs_top_builddir=$ac_pwd
1517ac_abs_builddir=$ac_pwd$ac_dir_suffix
1518# for backward compatibility:
1519ac_top_builddir=$ac_top_build_prefix
1520
1521case $srcdir in
1522  .)  # We are building in place.
1523    ac_srcdir=.
1524    ac_top_srcdir=$ac_top_builddir_sub
1525    ac_abs_top_srcdir=$ac_pwd ;;
1526  [\\/]* | ?:[\\/]* )  # Absolute name.
1527    ac_srcdir=$srcdir$ac_dir_suffix;
1528    ac_top_srcdir=$srcdir
1529    ac_abs_top_srcdir=$srcdir ;;
1530  *) # Relative name.
1531    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532    ac_top_srcdir=$ac_top_build_prefix$srcdir
1533    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1534esac
1535ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1536
1537    cd "$ac_dir" || { ac_status=$?; continue; }
1538    # Check for guested configure.
1539    if test -f "$ac_srcdir/configure.gnu"; then
1540      echo &&
1541      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542    elif test -f "$ac_srcdir/configure"; then
1543      echo &&
1544      $SHELL "$ac_srcdir/configure" --help=recursive
1545    else
1546      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547    fi || ac_status=$?
1548    cd "$ac_pwd" || { ac_status=$?; break; }
1549  done
1550fi
1551
1552test -n "$ac_init_help" && exit $ac_status
1553if $ac_init_version; then
1554  cat <<\_ACEOF
1555DFArc configure 3.14
1556generated by GNU Autoconf 2.69
1557
1558Copyright (C) 2012 Free Software Foundation, Inc.
1559This configure script is free software; the Free Software Foundation
1560gives unlimited permission to copy, distribute and modify it.
1561_ACEOF
1562  exit
1563fi
1564
1565## ------------------------ ##
1566## Autoconf initialization. ##
1567## ------------------------ ##
1568
1569# ac_fn_cxx_try_compile LINENO
1570# ----------------------------
1571# Try to compile conftest.$ac_ext, and return whether this succeeded.
1572ac_fn_cxx_try_compile ()
1573{
1574  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575  rm -f conftest.$ac_objext
1576  if { { ac_try="$ac_compile"
1577case "(($ac_try" in
1578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579  *) ac_try_echo=$ac_try;;
1580esac
1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582$as_echo "$ac_try_echo"; } >&5
1583  (eval "$ac_compile") 2>conftest.err
1584  ac_status=$?
1585  if test -s conftest.err; then
1586    grep -v '^ *+' conftest.err >conftest.er1
1587    cat conftest.er1 >&5
1588    mv -f conftest.er1 conftest.err
1589  fi
1590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591  test $ac_status = 0; } && {
1592	 test -z "$ac_cxx_werror_flag" ||
1593	 test ! -s conftest.err
1594       } && test -s conftest.$ac_objext; then :
1595  ac_retval=0
1596else
1597  $as_echo "$as_me: failed program was:" >&5
1598sed 's/^/| /' conftest.$ac_ext >&5
1599
1600	ac_retval=1
1601fi
1602  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603  as_fn_set_status $ac_retval
1604
1605} # ac_fn_cxx_try_compile
1606
1607# ac_fn_c_try_compile LINENO
1608# --------------------------
1609# Try to compile conftest.$ac_ext, and return whether this succeeded.
1610ac_fn_c_try_compile ()
1611{
1612  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613  rm -f conftest.$ac_objext
1614  if { { ac_try="$ac_compile"
1615case "(($ac_try" in
1616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617  *) ac_try_echo=$ac_try;;
1618esac
1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620$as_echo "$ac_try_echo"; } >&5
1621  (eval "$ac_compile") 2>conftest.err
1622  ac_status=$?
1623  if test -s conftest.err; then
1624    grep -v '^ *+' conftest.err >conftest.er1
1625    cat conftest.er1 >&5
1626    mv -f conftest.er1 conftest.err
1627  fi
1628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629  test $ac_status = 0; } && {
1630	 test -z "$ac_c_werror_flag" ||
1631	 test ! -s conftest.err
1632       } && test -s conftest.$ac_objext; then :
1633  ac_retval=0
1634else
1635  $as_echo "$as_me: failed program was:" >&5
1636sed 's/^/| /' conftest.$ac_ext >&5
1637
1638	ac_retval=1
1639fi
1640  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641  as_fn_set_status $ac_retval
1642
1643} # ac_fn_c_try_compile
1644
1645# ac_fn_c_try_link LINENO
1646# -----------------------
1647# Try to link conftest.$ac_ext, and return whether this succeeded.
1648ac_fn_c_try_link ()
1649{
1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651  rm -f conftest.$ac_objext conftest$ac_exeext
1652  if { { ac_try="$ac_link"
1653case "(($ac_try" in
1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655  *) ac_try_echo=$ac_try;;
1656esac
1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658$as_echo "$ac_try_echo"; } >&5
1659  (eval "$ac_link") 2>conftest.err
1660  ac_status=$?
1661  if test -s conftest.err; then
1662    grep -v '^ *+' conftest.err >conftest.er1
1663    cat conftest.er1 >&5
1664    mv -f conftest.er1 conftest.err
1665  fi
1666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667  test $ac_status = 0; } && {
1668	 test -z "$ac_c_werror_flag" ||
1669	 test ! -s conftest.err
1670       } && test -s conftest$ac_exeext && {
1671	 test "$cross_compiling" = yes ||
1672	 test -x conftest$ac_exeext
1673       }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: failed program was:" >&5
1677sed 's/^/| /' conftest.$ac_ext >&5
1678
1679	ac_retval=1
1680fi
1681  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1682  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1683  # interfere with the next link command; also delete a directory that is
1684  # left behind by Apple's compiler.  We do this before executing the actions.
1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687  as_fn_set_status $ac_retval
1688
1689} # ac_fn_c_try_link
1690
1691# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1692# -------------------------------------------
1693# Tests whether TYPE exists after having included INCLUDES, setting cache
1694# variable VAR accordingly.
1695ac_fn_c_check_type ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; }
1700if eval \${$3+:} false; then :
1701  $as_echo_n "(cached) " >&6
1702else
1703  eval "$3=no"
1704  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705/* end confdefs.h.  */
1706$4
1707int
1708main ()
1709{
1710if (sizeof ($2))
1711	 return 0;
1712  ;
1713  return 0;
1714}
1715_ACEOF
1716if ac_fn_c_try_compile "$LINENO"; then :
1717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718/* end confdefs.h.  */
1719$4
1720int
1721main ()
1722{
1723if (sizeof (($2)))
1724	    return 0;
1725  ;
1726  return 0;
1727}
1728_ACEOF
1729if ac_fn_c_try_compile "$LINENO"; then :
1730
1731else
1732  eval "$3=yes"
1733fi
1734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735fi
1736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737fi
1738eval ac_res=\$$3
1739	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740$as_echo "$ac_res" >&6; }
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_c_check_type
1744
1745# ac_fn_c_try_cpp LINENO
1746# ----------------------
1747# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748ac_fn_c_try_cpp ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  if { { ac_try="$ac_cpp conftest.$ac_ext"
1752case "(($ac_try" in
1753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754  *) ac_try_echo=$ac_try;;
1755esac
1756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757$as_echo "$ac_try_echo"; } >&5
1758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1759  ac_status=$?
1760  if test -s conftest.err; then
1761    grep -v '^ *+' conftest.err >conftest.er1
1762    cat conftest.er1 >&5
1763    mv -f conftest.er1 conftest.err
1764  fi
1765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766  test $ac_status = 0; } > conftest.i && {
1767	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1768	 test ! -s conftest.err
1769       }; then :
1770  ac_retval=0
1771else
1772  $as_echo "$as_me: failed program was:" >&5
1773sed 's/^/| /' conftest.$ac_ext >&5
1774
1775    ac_retval=1
1776fi
1777  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778  as_fn_set_status $ac_retval
1779
1780} # ac_fn_c_try_cpp
1781
1782# ac_fn_c_try_run LINENO
1783# ----------------------
1784# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785# that executables *can* be run.
1786ac_fn_c_try_run ()
1787{
1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789  if { { ac_try="$ac_link"
1790case "(($ac_try" in
1791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792  *) ac_try_echo=$ac_try;;
1793esac
1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795$as_echo "$ac_try_echo"; } >&5
1796  (eval "$ac_link") 2>&5
1797  ac_status=$?
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800  { { case "(($ac_try" in
1801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802  *) ac_try_echo=$ac_try;;
1803esac
1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805$as_echo "$ac_try_echo"; } >&5
1806  (eval "$ac_try") 2>&5
1807  ac_status=$?
1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809  test $ac_status = 0; }; }; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: program exited with status $ac_status" >&5
1813       $as_echo "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816       ac_retval=$ac_status
1817fi
1818  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820  as_fn_set_status $ac_retval
1821
1822} # ac_fn_c_try_run
1823
1824# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1825# -------------------------------------------------------
1826# Tests whether HEADER exists and can be compiled using the include files in
1827# INCLUDES, setting the cache variable VAR accordingly.
1828ac_fn_c_check_header_compile ()
1829{
1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837/* end confdefs.h.  */
1838$4
1839#include <$2>
1840_ACEOF
1841if ac_fn_c_try_compile "$LINENO"; then :
1842  eval "$3=yes"
1843else
1844  eval "$3=no"
1845fi
1846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847fi
1848eval ac_res=\$$3
1849	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850$as_echo "$ac_res" >&6; }
1851  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
1853} # ac_fn_c_check_header_compile
1854
1855# ac_fn_c_check_func LINENO FUNC VAR
1856# ----------------------------------
1857# Tests whether FUNC exists, setting the cache variable VAR accordingly
1858ac_fn_c_check_func ()
1859{
1860  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; }
1863if eval \${$3+:} false; then :
1864  $as_echo_n "(cached) " >&6
1865else
1866  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h.  */
1868/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1869   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1870#define $2 innocuous_$2
1871
1872/* System header to define __stub macros and hopefully few prototypes,
1873    which can conflict with char $2 (); below.
1874    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1875    <limits.h> exists even on freestanding compilers.  */
1876
1877#ifdef __STDC__
1878# include <limits.h>
1879#else
1880# include <assert.h>
1881#endif
1882
1883#undef $2
1884
1885/* Override any GCC internal prototype to avoid an error.
1886   Use char because int might match the return type of a GCC
1887   builtin and then its argument prototype would still apply.  */
1888#ifdef __cplusplus
1889extern "C"
1890#endif
1891char $2 ();
1892/* The GNU C library defines this for functions which it implements
1893    to always fail with ENOSYS.  Some functions are actually named
1894    something starting with __ and the normal name is an alias.  */
1895#if defined __stub_$2 || defined __stub___$2
1896choke me
1897#endif
1898
1899int
1900main ()
1901{
1902return $2 ();
1903  ;
1904  return 0;
1905}
1906_ACEOF
1907if ac_fn_c_try_link "$LINENO"; then :
1908  eval "$3=yes"
1909else
1910  eval "$3=no"
1911fi
1912rm -f core conftest.err conftest.$ac_objext \
1913    conftest$ac_exeext conftest.$ac_ext
1914fi
1915eval ac_res=\$$3
1916	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917$as_echo "$ac_res" >&6; }
1918  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919
1920} # ac_fn_c_check_func
1921
1922# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1923# ----------------------------------------------------
1924# Tries to find if the field MEMBER exists in type AGGR, after including
1925# INCLUDES, setting cache variable VAR accordingly.
1926ac_fn_c_check_member ()
1927{
1928  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1930$as_echo_n "checking for $2.$3... " >&6; }
1931if eval \${$4+:} false; then :
1932  $as_echo_n "(cached) " >&6
1933else
1934  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935/* end confdefs.h.  */
1936$5
1937int
1938main ()
1939{
1940static $2 ac_aggr;
1941if (ac_aggr.$3)
1942return 0;
1943  ;
1944  return 0;
1945}
1946_ACEOF
1947if ac_fn_c_try_compile "$LINENO"; then :
1948  eval "$4=yes"
1949else
1950  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951/* end confdefs.h.  */
1952$5
1953int
1954main ()
1955{
1956static $2 ac_aggr;
1957if (sizeof ac_aggr.$3)
1958return 0;
1959  ;
1960  return 0;
1961}
1962_ACEOF
1963if ac_fn_c_try_compile "$LINENO"; then :
1964  eval "$4=yes"
1965else
1966  eval "$4=no"
1967fi
1968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969fi
1970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971fi
1972eval ac_res=\$$4
1973	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974$as_echo "$ac_res" >&6; }
1975  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976
1977} # ac_fn_c_check_member
1978cat >config.log <<_ACEOF
1979This file contains any messages produced by compilers while
1980running configure, to aid debugging if configure makes a mistake.
1981
1982It was created by DFArc $as_me 3.14, which was
1983generated by GNU Autoconf 2.69.  Invocation command line was
1984
1985  $ $0 $@
1986
1987_ACEOF
1988exec 5>>config.log
1989{
1990cat <<_ASUNAME
1991## --------- ##
1992## Platform. ##
1993## --------- ##
1994
1995hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1996uname -m = `(uname -m) 2>/dev/null || echo unknown`
1997uname -r = `(uname -r) 2>/dev/null || echo unknown`
1998uname -s = `(uname -s) 2>/dev/null || echo unknown`
1999uname -v = `(uname -v) 2>/dev/null || echo unknown`
2000
2001/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2002/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2003
2004/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2005/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2006/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2007/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2008/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2009/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2010/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2011
2012_ASUNAME
2013
2014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015for as_dir in $PATH
2016do
2017  IFS=$as_save_IFS
2018  test -z "$as_dir" && as_dir=.
2019    $as_echo "PATH: $as_dir"
2020  done
2021IFS=$as_save_IFS
2022
2023} >&5
2024
2025cat >&5 <<_ACEOF
2026
2027
2028## ----------- ##
2029## Core tests. ##
2030## ----------- ##
2031
2032_ACEOF
2033
2034
2035# Keep a trace of the command line.
2036# Strip out --no-create and --no-recursion so they do not pile up.
2037# Strip out --silent because we don't want to record it for future runs.
2038# Also quote any args containing shell meta-characters.
2039# Make two passes to allow for proper duplicate-argument suppression.
2040ac_configure_args=
2041ac_configure_args0=
2042ac_configure_args1=
2043ac_must_keep_next=false
2044for ac_pass in 1 2
2045do
2046  for ac_arg
2047  do
2048    case $ac_arg in
2049    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2050    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2051    | -silent | --silent | --silen | --sile | --sil)
2052      continue ;;
2053    *\'*)
2054      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2055    esac
2056    case $ac_pass in
2057    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2058    2)
2059      as_fn_append ac_configure_args1 " '$ac_arg'"
2060      if test $ac_must_keep_next = true; then
2061	ac_must_keep_next=false # Got value, back to normal.
2062      else
2063	case $ac_arg in
2064	  *=* | --config-cache | -C | -disable-* | --disable-* \
2065	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2066	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2067	  | -with-* | --with-* | -without-* | --without-* | --x)
2068	    case "$ac_configure_args0 " in
2069	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2070	    esac
2071	    ;;
2072	  -* ) ac_must_keep_next=true ;;
2073	esac
2074      fi
2075      as_fn_append ac_configure_args " '$ac_arg'"
2076      ;;
2077    esac
2078  done
2079done
2080{ ac_configure_args0=; unset ac_configure_args0;}
2081{ ac_configure_args1=; unset ac_configure_args1;}
2082
2083# When interrupted or exit'd, cleanup temporary files, and complete
2084# config.log.  We remove comments because anyway the quotes in there
2085# would cause problems or look ugly.
2086# WARNING: Use '\'' to represent an apostrophe within the trap.
2087# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2088trap 'exit_status=$?
2089  # Save into config.log some information that might help in debugging.
2090  {
2091    echo
2092
2093    $as_echo "## ---------------- ##
2094## Cache variables. ##
2095## ---------------- ##"
2096    echo
2097    # The following way of writing the cache mishandles newlines in values,
2098(
2099  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2100    eval ac_val=\$$ac_var
2101    case $ac_val in #(
2102    *${as_nl}*)
2103      case $ac_var in #(
2104      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2105$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2106      esac
2107      case $ac_var in #(
2108      _ | IFS | as_nl) ;; #(
2109      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2110      *) { eval $ac_var=; unset $ac_var;} ;;
2111      esac ;;
2112    esac
2113  done
2114  (set) 2>&1 |
2115    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2116    *${as_nl}ac_space=\ *)
2117      sed -n \
2118	"s/'\''/'\''\\\\'\'''\''/g;
2119	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2120      ;; #(
2121    *)
2122      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2123      ;;
2124    esac |
2125    sort
2126)
2127    echo
2128
2129    $as_echo "## ----------------- ##
2130## Output variables. ##
2131## ----------------- ##"
2132    echo
2133    for ac_var in $ac_subst_vars
2134    do
2135      eval ac_val=\$$ac_var
2136      case $ac_val in
2137      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138      esac
2139      $as_echo "$ac_var='\''$ac_val'\''"
2140    done | sort
2141    echo
2142
2143    if test -n "$ac_subst_files"; then
2144      $as_echo "## ------------------- ##
2145## File substitutions. ##
2146## ------------------- ##"
2147      echo
2148      for ac_var in $ac_subst_files
2149      do
2150	eval ac_val=\$$ac_var
2151	case $ac_val in
2152	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2153	esac
2154	$as_echo "$ac_var='\''$ac_val'\''"
2155      done | sort
2156      echo
2157    fi
2158
2159    if test -s confdefs.h; then
2160      $as_echo "## ----------- ##
2161## confdefs.h. ##
2162## ----------- ##"
2163      echo
2164      cat confdefs.h
2165      echo
2166    fi
2167    test "$ac_signal" != 0 &&
2168      $as_echo "$as_me: caught signal $ac_signal"
2169    $as_echo "$as_me: exit $exit_status"
2170  } >&5
2171  rm -f core *.core core.conftest.* &&
2172    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2173    exit $exit_status
2174' 0
2175for ac_signal in 1 2 13 15; do
2176  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2177done
2178ac_signal=0
2179
2180# confdefs.h avoids OS command line length limits that DEFS can exceed.
2181rm -f -r conftest* confdefs.h
2182
2183$as_echo "/* confdefs.h */" > confdefs.h
2184
2185# Predefined preprocessor variables.
2186
2187cat >>confdefs.h <<_ACEOF
2188#define PACKAGE_NAME "$PACKAGE_NAME"
2189_ACEOF
2190
2191cat >>confdefs.h <<_ACEOF
2192#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2193_ACEOF
2194
2195cat >>confdefs.h <<_ACEOF
2196#define PACKAGE_VERSION "$PACKAGE_VERSION"
2197_ACEOF
2198
2199cat >>confdefs.h <<_ACEOF
2200#define PACKAGE_STRING "$PACKAGE_STRING"
2201_ACEOF
2202
2203cat >>confdefs.h <<_ACEOF
2204#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2205_ACEOF
2206
2207cat >>confdefs.h <<_ACEOF
2208#define PACKAGE_URL "$PACKAGE_URL"
2209_ACEOF
2210
2211
2212# Let the site file select an alternate cache file if it wants to.
2213# Prefer an explicitly selected file to automatically selected ones.
2214ac_site_file1=NONE
2215ac_site_file2=NONE
2216if test -n "$CONFIG_SITE"; then
2217  # We do not want a PATH search for config.site.
2218  case $CONFIG_SITE in #((
2219    -*)  ac_site_file1=./$CONFIG_SITE;;
2220    */*) ac_site_file1=$CONFIG_SITE;;
2221    *)   ac_site_file1=./$CONFIG_SITE;;
2222  esac
2223elif test "x$prefix" != xNONE; then
2224  ac_site_file1=$prefix/share/config.site
2225  ac_site_file2=$prefix/etc/config.site
2226else
2227  ac_site_file1=$ac_default_prefix/share/config.site
2228  ac_site_file2=$ac_default_prefix/etc/config.site
2229fi
2230for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2231do
2232  test "x$ac_site_file" = xNONE && continue
2233  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2234    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2235$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2236    sed 's/^/| /' "$ac_site_file" >&5
2237    . "$ac_site_file" \
2238      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2240as_fn_error $? "failed to load site script $ac_site_file
2241See \`config.log' for more details" "$LINENO" 5; }
2242  fi
2243done
2244
2245if test -r "$cache_file"; then
2246  # Some versions of bash will fail to source /dev/null (special files
2247  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2248  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2249    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2250$as_echo "$as_me: loading cache $cache_file" >&6;}
2251    case $cache_file in
2252      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2253      *)                      . "./$cache_file";;
2254    esac
2255  fi
2256else
2257  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2258$as_echo "$as_me: creating cache $cache_file" >&6;}
2259  >$cache_file
2260fi
2261
2262# Check that the precious variables saved in the cache have kept the same
2263# value.
2264ac_cache_corrupted=false
2265for ac_var in $ac_precious_vars; do
2266  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2267  eval ac_new_set=\$ac_env_${ac_var}_set
2268  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2269  eval ac_new_val=\$ac_env_${ac_var}_value
2270  case $ac_old_set,$ac_new_set in
2271    set,)
2272      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2273$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2274      ac_cache_corrupted=: ;;
2275    ,set)
2276      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2277$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2278      ac_cache_corrupted=: ;;
2279    ,);;
2280    *)
2281      if test "x$ac_old_val" != "x$ac_new_val"; then
2282	# differences in whitespace do not lead to failure.
2283	ac_old_val_w=`echo x $ac_old_val`
2284	ac_new_val_w=`echo x $ac_new_val`
2285	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2286	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2287$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2288	  ac_cache_corrupted=:
2289	else
2290	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2291$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2292	  eval $ac_var=\$ac_old_val
2293	fi
2294	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2295$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2296	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2297$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2298      fi;;
2299  esac
2300  # Pass precious variables to config.status.
2301  if test "$ac_new_set" = set; then
2302    case $ac_new_val in
2303    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2304    *) ac_arg=$ac_var=$ac_new_val ;;
2305    esac
2306    case " $ac_configure_args " in
2307      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2308      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2309    esac
2310  fi
2311done
2312if $ac_cache_corrupted; then
2313  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2316$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2317  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2318fi
2319## -------------------- ##
2320## Main body of script. ##
2321## -------------------- ##
2322
2323ac_ext=c
2324ac_cpp='$CPP $CPPFLAGS'
2325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2327ac_compiler_gnu=$ac_cv_c_compiler_gnu
2328
2329
2330ac_aux_dir=
2331for ac_dir in autotools "$srcdir"/autotools; do
2332  if test -f "$ac_dir/install-sh"; then
2333    ac_aux_dir=$ac_dir
2334    ac_install_sh="$ac_aux_dir/install-sh -c"
2335    break
2336  elif test -f "$ac_dir/install.sh"; then
2337    ac_aux_dir=$ac_dir
2338    ac_install_sh="$ac_aux_dir/install.sh -c"
2339    break
2340  elif test -f "$ac_dir/shtool"; then
2341    ac_aux_dir=$ac_dir
2342    ac_install_sh="$ac_aux_dir/shtool install -c"
2343    break
2344  fi
2345done
2346if test -z "$ac_aux_dir"; then
2347  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5
2348fi
2349
2350# These three variables are undocumented and unsupported,
2351# and are intended to be withdrawn in a future Autoconf release.
2352# They can cause serious problems if a builder's source tree is in a directory
2353# whose full name contains unusual characters.
2354ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2355ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2356ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2357
2358
2359ac_config_headers="$ac_config_headers config.h"
2360
2361am__api_version='1.15'
2362
2363# Find a good install program.  We prefer a C program (faster),
2364# so one script is as good as another.  But avoid the broken or
2365# incompatible versions:
2366# SysV /etc/install, /usr/sbin/install
2367# SunOS /usr/etc/install
2368# IRIX /sbin/install
2369# AIX /bin/install
2370# AmigaOS /C/install, which installs bootblocks on floppy discs
2371# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374# OS/2's system install, which has a completely different semantic
2375# ./install, which can be erroneously created by make from ./install.sh.
2376# Reject install programs that cannot install multiple files.
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378$as_echo_n "checking for a BSD-compatible install... " >&6; }
2379if test -z "$INSTALL"; then
2380if ${ac_cv_path_install+:} false; then :
2381  $as_echo_n "(cached) " >&6
2382else
2383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384for as_dir in $PATH
2385do
2386  IFS=$as_save_IFS
2387  test -z "$as_dir" && as_dir=.
2388    # Account for people who put trailing slashes in PATH elements.
2389case $as_dir/ in #((
2390  ./ | .// | /[cC]/* | \
2391  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2392  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2393  /usr/ucb/* ) ;;
2394  *)
2395    # OSF1 and SCO ODT 3.0 have their own names for install.
2396    # Don't use installbsd from OSF since it installs stuff as root
2397    # by default.
2398    for ac_prog in ginstall scoinst install; do
2399      for ac_exec_ext in '' $ac_executable_extensions; do
2400	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2401	  if test $ac_prog = install &&
2402	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403	    # AIX install.  It has an incompatible calling convention.
2404	    :
2405	  elif test $ac_prog = install &&
2406	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407	    # program-specific install script used by HP pwplus--don't use.
2408	    :
2409	  else
2410	    rm -rf conftest.one conftest.two conftest.dir
2411	    echo one > conftest.one
2412	    echo two > conftest.two
2413	    mkdir conftest.dir
2414	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2415	      test -s conftest.one && test -s conftest.two &&
2416	      test -s conftest.dir/conftest.one &&
2417	      test -s conftest.dir/conftest.two
2418	    then
2419	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420	      break 3
2421	    fi
2422	  fi
2423	fi
2424      done
2425    done
2426    ;;
2427esac
2428
2429  done
2430IFS=$as_save_IFS
2431
2432rm -rf conftest.one conftest.two conftest.dir
2433
2434fi
2435  if test "${ac_cv_path_install+set}" = set; then
2436    INSTALL=$ac_cv_path_install
2437  else
2438    # As a last resort, use the slow shell script.  Don't cache a
2439    # value for INSTALL within a source directory, because that will
2440    # break other packages using the cache if that directory is
2441    # removed, or if the value is a relative name.
2442    INSTALL=$ac_install_sh
2443  fi
2444fi
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446$as_echo "$INSTALL" >&6; }
2447
2448# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449# It thinks the first close brace ends the variable substitution.
2450test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451
2452test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453
2454test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2457$as_echo_n "checking whether build environment is sane... " >&6; }
2458# Reject unsafe characters in $srcdir or the absolute working directory
2459# name.  Accept space and tab only in the latter.
2460am_lf='
2461'
2462case `pwd` in
2463  *[\\\"\#\$\&\'\`$am_lf]*)
2464    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2465esac
2466case $srcdir in
2467  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2468    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2469esac
2470
2471# Do 'set' in a subshell so we don't clobber the current shell's
2472# arguments.  Must try -L first in case configure is actually a
2473# symlink; some systems play weird games with the mod time of symlinks
2474# (eg FreeBSD returns the mod time of the symlink's containing
2475# directory).
2476if (
2477   am_has_slept=no
2478   for am_try in 1 2; do
2479     echo "timestamp, slept: $am_has_slept" > conftest.file
2480     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2481     if test "$*" = "X"; then
2482	# -L didn't work.
2483	set X `ls -t "$srcdir/configure" conftest.file`
2484     fi
2485     if test "$*" != "X $srcdir/configure conftest.file" \
2486	&& test "$*" != "X conftest.file $srcdir/configure"; then
2487
2488	# If neither matched, then we have a broken ls.  This can happen
2489	# if, for instance, CONFIG_SHELL is bash and it inherits a
2490	# broken ls alias from the environment.  This has actually
2491	# happened.  Such a system could not be considered "sane".
2492	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2493  alias in your environment" "$LINENO" 5
2494     fi
2495     if test "$2" = conftest.file || test $am_try -eq 2; then
2496       break
2497     fi
2498     # Just in case.
2499     sleep 1
2500     am_has_slept=yes
2501   done
2502   test "$2" = conftest.file
2503   )
2504then
2505   # Ok.
2506   :
2507else
2508   as_fn_error $? "newly created file is older than distributed files!
2509Check your system clock" "$LINENO" 5
2510fi
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512$as_echo "yes" >&6; }
2513# If we didn't sleep, we still need to ensure time stamps of config.status and
2514# generated files are strictly newer.
2515am_sleep_pid=
2516if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2517  ( sleep 1 ) &
2518  am_sleep_pid=$!
2519fi
2520
2521rm -f conftest.file
2522
2523test "$program_prefix" != NONE &&
2524  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2525# Use a double $ so make ignores it.
2526test "$program_suffix" != NONE &&
2527  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2528# Double any \ or $.
2529# By default was `s,x,x', remove it if useless.
2530ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2531program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532
2533# Expand $ac_aux_dir to an absolute path.
2534am_aux_dir=`cd "$ac_aux_dir" && pwd`
2535
2536if test x"${MISSING+set}" != xset; then
2537  case $am_aux_dir in
2538  *\ * | *\	*)
2539    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2540  *)
2541    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2542  esac
2543fi
2544# Use eval to expand $SHELL
2545if eval "$MISSING --is-lightweight"; then
2546  am_missing_run="$MISSING "
2547else
2548  am_missing_run=
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2550$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2551fi
2552
2553if test x"${install_sh+set}" != xset; then
2554  case $am_aux_dir in
2555  *\ * | *\	*)
2556    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2557  *)
2558    install_sh="\${SHELL} $am_aux_dir/install-sh"
2559  esac
2560fi
2561
2562# Installed binaries are usually stripped using 'strip' when the user
2563# run "make install-strip".  However 'strip' might not be the right
2564# tool to use in cross-compilation environments, therefore Automake
2565# will honor the 'STRIP' environment variable to overrule this program.
2566if test "$cross_compiling" != no; then
2567  if test -n "$ac_tool_prefix"; then
2568  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2569set dummy ${ac_tool_prefix}strip; ac_word=$2
2570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571$as_echo_n "checking for $ac_word... " >&6; }
2572if ${ac_cv_prog_STRIP+:} false; then :
2573  $as_echo_n "(cached) " >&6
2574else
2575  if test -n "$STRIP"; then
2576  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2577else
2578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579for as_dir in $PATH
2580do
2581  IFS=$as_save_IFS
2582  test -z "$as_dir" && as_dir=.
2583    for ac_exec_ext in '' $ac_executable_extensions; do
2584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587    break 2
2588  fi
2589done
2590  done
2591IFS=$as_save_IFS
2592
2593fi
2594fi
2595STRIP=$ac_cv_prog_STRIP
2596if test -n "$STRIP"; then
2597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2598$as_echo "$STRIP" >&6; }
2599else
2600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601$as_echo "no" >&6; }
2602fi
2603
2604
2605fi
2606if test -z "$ac_cv_prog_STRIP"; then
2607  ac_ct_STRIP=$STRIP
2608  # Extract the first word of "strip", so it can be a program name with args.
2609set dummy strip; ac_word=$2
2610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611$as_echo_n "checking for $ac_word... " >&6; }
2612if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2613  $as_echo_n "(cached) " >&6
2614else
2615  if test -n "$ac_ct_STRIP"; then
2616  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2617else
2618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619for as_dir in $PATH
2620do
2621  IFS=$as_save_IFS
2622  test -z "$as_dir" && as_dir=.
2623    for ac_exec_ext in '' $ac_executable_extensions; do
2624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625    ac_cv_prog_ac_ct_STRIP="strip"
2626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627    break 2
2628  fi
2629done
2630  done
2631IFS=$as_save_IFS
2632
2633fi
2634fi
2635ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2636if test -n "$ac_ct_STRIP"; then
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2638$as_echo "$ac_ct_STRIP" >&6; }
2639else
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641$as_echo "no" >&6; }
2642fi
2643
2644  if test "x$ac_ct_STRIP" = x; then
2645    STRIP=":"
2646  else
2647    case $cross_compiling:$ac_tool_warned in
2648yes:)
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651ac_tool_warned=yes ;;
2652esac
2653    STRIP=$ac_ct_STRIP
2654  fi
2655else
2656  STRIP="$ac_cv_prog_STRIP"
2657fi
2658
2659fi
2660INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2661
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2663$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2664if test -z "$MKDIR_P"; then
2665  if ${ac_cv_path_mkdir+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2670do
2671  IFS=$as_save_IFS
2672  test -z "$as_dir" && as_dir=.
2673    for ac_prog in mkdir gmkdir; do
2674	 for ac_exec_ext in '' $ac_executable_extensions; do
2675	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2676	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2677	     'mkdir (GNU coreutils) '* | \
2678	     'mkdir (coreutils) '* | \
2679	     'mkdir (fileutils) '4.1*)
2680	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2681	       break 3;;
2682	   esac
2683	 done
2684       done
2685  done
2686IFS=$as_save_IFS
2687
2688fi
2689
2690  test -d ./--version && rmdir ./--version
2691  if test "${ac_cv_path_mkdir+set}" = set; then
2692    MKDIR_P="$ac_cv_path_mkdir -p"
2693  else
2694    # As a last resort, use the slow shell script.  Don't cache a
2695    # value for MKDIR_P within a source directory, because that will
2696    # break other packages using the cache if that directory is
2697    # removed, or if the value is a relative name.
2698    MKDIR_P="$ac_install_sh -d"
2699  fi
2700fi
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2702$as_echo "$MKDIR_P" >&6; }
2703
2704for ac_prog in gawk mawk nawk awk
2705do
2706  # Extract the first word of "$ac_prog", so it can be a program name with args.
2707set dummy $ac_prog; ac_word=$2
2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709$as_echo_n "checking for $ac_word... " >&6; }
2710if ${ac_cv_prog_AWK+:} false; then :
2711  $as_echo_n "(cached) " >&6
2712else
2713  if test -n "$AWK"; then
2714  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2715else
2716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717for as_dir in $PATH
2718do
2719  IFS=$as_save_IFS
2720  test -z "$as_dir" && as_dir=.
2721    for ac_exec_ext in '' $ac_executable_extensions; do
2722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723    ac_cv_prog_AWK="$ac_prog"
2724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725    break 2
2726  fi
2727done
2728  done
2729IFS=$as_save_IFS
2730
2731fi
2732fi
2733AWK=$ac_cv_prog_AWK
2734if test -n "$AWK"; then
2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2736$as_echo "$AWK" >&6; }
2737else
2738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739$as_echo "no" >&6; }
2740fi
2741
2742
2743  test -n "$AWK" && break
2744done
2745
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2747$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748set x ${MAKE-make}
2749ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2750if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2751  $as_echo_n "(cached) " >&6
2752else
2753  cat >conftest.make <<\_ACEOF
2754SHELL = /bin/sh
2755all:
2756	@echo '@@@%%%=$(MAKE)=@@@%%%'
2757_ACEOF
2758# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2759case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760  *@@@%%%=?*=@@@%%%*)
2761    eval ac_cv_prog_make_${ac_make}_set=yes;;
2762  *)
2763    eval ac_cv_prog_make_${ac_make}_set=no;;
2764esac
2765rm -f conftest.make
2766fi
2767if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2769$as_echo "yes" >&6; }
2770  SET_MAKE=
2771else
2772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773$as_echo "no" >&6; }
2774  SET_MAKE="MAKE=${MAKE-make}"
2775fi
2776
2777rm -rf .tst 2>/dev/null
2778mkdir .tst 2>/dev/null
2779if test -d .tst; then
2780  am__leading_dot=.
2781else
2782  am__leading_dot=_
2783fi
2784rmdir .tst 2>/dev/null
2785
2786# Check whether --enable-silent-rules was given.
2787if test "${enable_silent_rules+set}" = set; then :
2788  enableval=$enable_silent_rules;
2789fi
2790
2791case $enable_silent_rules in # (((
2792  yes) AM_DEFAULT_VERBOSITY=0;;
2793   no) AM_DEFAULT_VERBOSITY=1;;
2794    *) AM_DEFAULT_VERBOSITY=1;;
2795esac
2796am_make=${MAKE-make}
2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2798$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2799if ${am_cv_make_support_nested_variables+:} false; then :
2800  $as_echo_n "(cached) " >&6
2801else
2802  if $as_echo 'TRUE=$(BAR$(V))
2803BAR0=false
2804BAR1=true
2805V=1
2806am__doit:
2807	@$(TRUE)
2808.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2809  am_cv_make_support_nested_variables=yes
2810else
2811  am_cv_make_support_nested_variables=no
2812fi
2813fi
2814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2815$as_echo "$am_cv_make_support_nested_variables" >&6; }
2816if test $am_cv_make_support_nested_variables = yes; then
2817    AM_V='$(V)'
2818  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2819else
2820  AM_V=$AM_DEFAULT_VERBOSITY
2821  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2822fi
2823AM_BACKSLASH='\'
2824
2825if test "`cd $srcdir && pwd`" != "`pwd`"; then
2826  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2827  # is not polluted with repeated "-I."
2828  am__isrc=' -I$(srcdir)'
2829  # test to see if srcdir already configured
2830  if test -f $srcdir/config.status; then
2831    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2832  fi
2833fi
2834
2835# test whether we have cygpath
2836if test -z "$CYGPATH_W"; then
2837  if (cygpath --version) >/dev/null 2>/dev/null; then
2838    CYGPATH_W='cygpath -w'
2839  else
2840    CYGPATH_W=echo
2841  fi
2842fi
2843
2844
2845# Define the identity of the package.
2846 PACKAGE='dfarc'
2847 VERSION='3.14'
2848
2849
2850cat >>confdefs.h <<_ACEOF
2851#define PACKAGE "$PACKAGE"
2852_ACEOF
2853
2854
2855cat >>confdefs.h <<_ACEOF
2856#define VERSION "$VERSION"
2857_ACEOF
2858
2859# Some tools Automake needs.
2860
2861ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2862
2863
2864AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2865
2866
2867AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2868
2869
2870AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2871
2872
2873MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2874
2875# For better backward compatibility.  To be removed once Automake 1.9.x
2876# dies out for good.  For more background, see:
2877# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2878# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2879mkdir_p='$(MKDIR_P)'
2880
2881# We need awk for the "check" target (and possibly the TAP driver).  The
2882# system "awk" is bad on some platforms.
2883# Always define AMTAR for backward compatibility.  Yes, it's still used
2884# in the wild :-(  We should find a proper way to deprecate it ...
2885AMTAR='$${TAR-tar}'
2886
2887
2888# We'll loop over all known methods to create a tar archive until one works.
2889_am_tools='gnutar  pax cpio none'
2890
2891am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2892
2893
2894
2895
2896
2897
2898# POSIX will say in a future version that running "rm -f" with no argument
2899# is OK; and we want to be able to make that assumption in our Makefile
2900# recipes.  So use an aggressive probe to check that the usage we want is
2901# actually supported "in the wild" to an acceptable degree.
2902# See automake bug#10828.
2903# To make any issue more visible, cause the running configure to be aborted
2904# by default if the 'rm' program in use doesn't match our expectations; the
2905# user can still override this though.
2906if rm -f && rm -fr && rm -rf; then : OK; else
2907  cat >&2 <<'END'
2908Oops!
2909
2910Your 'rm' program seems unable to run without file operands specified
2911on the command line, even when the '-f' option is present.  This is contrary
2912to the behaviour of most rm programs out there, and not conforming with
2913the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2914
2915Please tell bug-automake@gnu.org about your system, including the value
2916of your $PATH and any error possibly output before this message.  This
2917can help us improve future automake versions.
2918
2919END
2920  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2921    echo 'Configuration will proceed anyway, since you have set the' >&2
2922    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2923    echo >&2
2924  else
2925    cat >&2 <<'END'
2926Aborting the configuration process, to ensure you take notice of the issue.
2927
2928You can download and install GNU coreutils to get an 'rm' implementation
2929that behaves properly: <http://www.gnu.org/software/coreutils/>.
2930
2931If you want to complete the configuration process using your problematic
2932'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2933to "yes", and re-run configure.
2934
2935END
2936    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2937  fi
2938fi
2939
2940# Terse output - use V=1 for verbose output
2941# Check whether --enable-silent-rules was given.
2942if test "${enable_silent_rules+set}" = set; then :
2943  enableval=$enable_silent_rules;
2944fi
2945
2946case $enable_silent_rules in # (((
2947  yes) AM_DEFAULT_VERBOSITY=0;;
2948   no) AM_DEFAULT_VERBOSITY=1;;
2949    *) AM_DEFAULT_VERBOSITY=0;;
2950esac
2951am_make=${MAKE-make}
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2953$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2954if ${am_cv_make_support_nested_variables+:} false; then :
2955  $as_echo_n "(cached) " >&6
2956else
2957  if $as_echo 'TRUE=$(BAR$(V))
2958BAR0=false
2959BAR1=true
2960V=1
2961am__doit:
2962	@$(TRUE)
2963.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2964  am_cv_make_support_nested_variables=yes
2965else
2966  am_cv_make_support_nested_variables=no
2967fi
2968fi
2969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2970$as_echo "$am_cv_make_support_nested_variables" >&6; }
2971if test $am_cv_make_support_nested_variables = yes; then
2972    AM_V='$(V)'
2973  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2974else
2975  AM_V=$AM_DEFAULT_VERBOSITY
2976  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2977fi
2978AM_BACKSLASH='\'
2979
2980
2981# Define $host $host_os + distributes config.guess and config.sub
2982# Make sure we can run config.sub.
2983$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2984  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2985
2986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2987$as_echo_n "checking build system type... " >&6; }
2988if ${ac_cv_build+:} false; then :
2989  $as_echo_n "(cached) " >&6
2990else
2991  ac_build_alias=$build_alias
2992test "x$ac_build_alias" = x &&
2993  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2994test "x$ac_build_alias" = x &&
2995  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2996ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2997  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2998
2999fi
3000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3001$as_echo "$ac_cv_build" >&6; }
3002case $ac_cv_build in
3003*-*-*) ;;
3004*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3005esac
3006build=$ac_cv_build
3007ac_save_IFS=$IFS; IFS='-'
3008set x $ac_cv_build
3009shift
3010build_cpu=$1
3011build_vendor=$2
3012shift; shift
3013# Remember, the first character of IFS is used to create $*,
3014# except with old shells:
3015build_os=$*
3016IFS=$ac_save_IFS
3017case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3018
3019
3020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3021$as_echo_n "checking host system type... " >&6; }
3022if ${ac_cv_host+:} false; then :
3023  $as_echo_n "(cached) " >&6
3024else
3025  if test "x$host_alias" = x; then
3026  ac_cv_host=$ac_cv_build
3027else
3028  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3029    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3030fi
3031
3032fi
3033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3034$as_echo "$ac_cv_host" >&6; }
3035case $ac_cv_host in
3036*-*-*) ;;
3037*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3038esac
3039host=$ac_cv_host
3040ac_save_IFS=$IFS; IFS='-'
3041set x $ac_cv_host
3042shift
3043host_cpu=$1
3044host_vendor=$2
3045shift; shift
3046# Remember, the first character of IFS is used to create $*,
3047# except with old shells:
3048host_os=$*
3049IFS=$ac_save_IFS
3050case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3051
3052
3053
3054# We use wxWidget's internal gettext-compatible functions, calling
3055# AM_PO_SUBDIRS directly (otherwise GETTEXT wants intl/ and such):
3056##AM_GNU_GETTEXT()
3057
3058mkdir_p="$MKDIR_P"
3059case $mkdir_p in
3060  [\\/$]* | ?:[\\/]*) ;;
3061  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3062esac
3063
3064
3065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3066$as_echo_n "checking whether NLS is requested... " >&6; }
3067    # Check whether --enable-nls was given.
3068if test "${enable_nls+set}" = set; then :
3069  enableval=$enable_nls; USE_NLS=$enableval
3070else
3071  USE_NLS=yes
3072fi
3073
3074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3075$as_echo "$USE_NLS" >&6; }
3076
3077
3078
3079
3080      GETTEXT_MACRO_VERSION=0.17
3081
3082
3083
3084
3085# Prepare PATH_SEPARATOR.
3086# The user is always right.
3087if test "${PATH_SEPARATOR+set}" != set; then
3088  echo "#! /bin/sh" >conf$$.sh
3089  echo  "exit 0"   >>conf$$.sh
3090  chmod +x conf$$.sh
3091  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3092    PATH_SEPARATOR=';'
3093  else
3094    PATH_SEPARATOR=:
3095  fi
3096  rm -f conf$$.sh
3097fi
3098
3099# Find out how to test for executable files. Don't use a zero-byte file,
3100# as systems may use methods other than mode bits to determine executability.
3101cat >conf$$.file <<_ASEOF
3102#! /bin/sh
3103exit 0
3104_ASEOF
3105chmod +x conf$$.file
3106if test -x conf$$.file >/dev/null 2>&1; then
3107  ac_executable_p="test -x"
3108else
3109  ac_executable_p="test -f"
3110fi
3111rm -f conf$$.file
3112
3113# Extract the first word of "msgfmt", so it can be a program name with args.
3114set dummy msgfmt; ac_word=$2
3115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116$as_echo_n "checking for $ac_word... " >&6; }
3117if ${ac_cv_path_MSGFMT+:} false; then :
3118  $as_echo_n "(cached) " >&6
3119else
3120  case "$MSGFMT" in
3121  [\\/]* | ?:[\\/]*)
3122    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3123    ;;
3124  *)
3125    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3126    for ac_dir in $PATH; do
3127      IFS="$ac_save_IFS"
3128      test -z "$ac_dir" && ac_dir=.
3129      for ac_exec_ext in '' $ac_executable_extensions; do
3130        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3131          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3132          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3133     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3134            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3135            break 2
3136          fi
3137        fi
3138      done
3139    done
3140    IFS="$ac_save_IFS"
3141  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3142    ;;
3143esac
3144fi
3145MSGFMT="$ac_cv_path_MSGFMT"
3146if test "$MSGFMT" != ":"; then
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3148$as_echo "$MSGFMT" >&6; }
3149else
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151$as_echo "no" >&6; }
3152fi
3153
3154  # Extract the first word of "gmsgfmt", so it can be a program name with args.
3155set dummy gmsgfmt; ac_word=$2
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157$as_echo_n "checking for $ac_word... " >&6; }
3158if ${ac_cv_path_GMSGFMT+:} false; then :
3159  $as_echo_n "(cached) " >&6
3160else
3161  case $GMSGFMT in
3162  [\\/]* | ?:[\\/]*)
3163  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3164  ;;
3165  *)
3166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167for as_dir in $PATH
3168do
3169  IFS=$as_save_IFS
3170  test -z "$as_dir" && as_dir=.
3171    for ac_exec_ext in '' $ac_executable_extensions; do
3172  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175    break 2
3176  fi
3177done
3178  done
3179IFS=$as_save_IFS
3180
3181  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3182  ;;
3183esac
3184fi
3185GMSGFMT=$ac_cv_path_GMSGFMT
3186if test -n "$GMSGFMT"; then
3187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3188$as_echo "$GMSGFMT" >&6; }
3189else
3190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191$as_echo "no" >&6; }
3192fi
3193
3194
3195
3196    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3197    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3198    *) MSGFMT_015=$MSGFMT ;;
3199  esac
3200
3201  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3202    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3203    *) GMSGFMT_015=$GMSGFMT ;;
3204  esac
3205
3206
3207
3208# Prepare PATH_SEPARATOR.
3209# The user is always right.
3210if test "${PATH_SEPARATOR+set}" != set; then
3211  echo "#! /bin/sh" >conf$$.sh
3212  echo  "exit 0"   >>conf$$.sh
3213  chmod +x conf$$.sh
3214  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3215    PATH_SEPARATOR=';'
3216  else
3217    PATH_SEPARATOR=:
3218  fi
3219  rm -f conf$$.sh
3220fi
3221
3222# Find out how to test for executable files. Don't use a zero-byte file,
3223# as systems may use methods other than mode bits to determine executability.
3224cat >conf$$.file <<_ASEOF
3225#! /bin/sh
3226exit 0
3227_ASEOF
3228chmod +x conf$$.file
3229if test -x conf$$.file >/dev/null 2>&1; then
3230  ac_executable_p="test -x"
3231else
3232  ac_executable_p="test -f"
3233fi
3234rm -f conf$$.file
3235
3236# Extract the first word of "xgettext", so it can be a program name with args.
3237set dummy xgettext; ac_word=$2
3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239$as_echo_n "checking for $ac_word... " >&6; }
3240if ${ac_cv_path_XGETTEXT+:} false; then :
3241  $as_echo_n "(cached) " >&6
3242else
3243  case "$XGETTEXT" in
3244  [\\/]* | ?:[\\/]*)
3245    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3246    ;;
3247  *)
3248    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3249    for ac_dir in $PATH; do
3250      IFS="$ac_save_IFS"
3251      test -z "$ac_dir" && ac_dir=.
3252      for ac_exec_ext in '' $ac_executable_extensions; do
3253        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3254          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3255          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3256     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3257            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3258            break 2
3259          fi
3260        fi
3261      done
3262    done
3263    IFS="$ac_save_IFS"
3264  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3265    ;;
3266esac
3267fi
3268XGETTEXT="$ac_cv_path_XGETTEXT"
3269if test "$XGETTEXT" != ":"; then
3270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3271$as_echo "$XGETTEXT" >&6; }
3272else
3273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274$as_echo "no" >&6; }
3275fi
3276
3277    rm -f messages.po
3278
3279    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3280    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3281    *) XGETTEXT_015=$XGETTEXT ;;
3282  esac
3283
3284
3285
3286# Prepare PATH_SEPARATOR.
3287# The user is always right.
3288if test "${PATH_SEPARATOR+set}" != set; then
3289  echo "#! /bin/sh" >conf$$.sh
3290  echo  "exit 0"   >>conf$$.sh
3291  chmod +x conf$$.sh
3292  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3293    PATH_SEPARATOR=';'
3294  else
3295    PATH_SEPARATOR=:
3296  fi
3297  rm -f conf$$.sh
3298fi
3299
3300# Find out how to test for executable files. Don't use a zero-byte file,
3301# as systems may use methods other than mode bits to determine executability.
3302cat >conf$$.file <<_ASEOF
3303#! /bin/sh
3304exit 0
3305_ASEOF
3306chmod +x conf$$.file
3307if test -x conf$$.file >/dev/null 2>&1; then
3308  ac_executable_p="test -x"
3309else
3310  ac_executable_p="test -f"
3311fi
3312rm -f conf$$.file
3313
3314# Extract the first word of "msgmerge", so it can be a program name with args.
3315set dummy msgmerge; ac_word=$2
3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317$as_echo_n "checking for $ac_word... " >&6; }
3318if ${ac_cv_path_MSGMERGE+:} false; then :
3319  $as_echo_n "(cached) " >&6
3320else
3321  case "$MSGMERGE" in
3322  [\\/]* | ?:[\\/]*)
3323    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3324    ;;
3325  *)
3326    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3327    for ac_dir in $PATH; do
3328      IFS="$ac_save_IFS"
3329      test -z "$ac_dir" && ac_dir=.
3330      for ac_exec_ext in '' $ac_executable_extensions; do
3331        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3332          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3333          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3334            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3335            break 2
3336          fi
3337        fi
3338      done
3339    done
3340    IFS="$ac_save_IFS"
3341  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3342    ;;
3343esac
3344fi
3345MSGMERGE="$ac_cv_path_MSGMERGE"
3346if test "$MSGMERGE" != ":"; then
3347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3348$as_echo "$MSGMERGE" >&6; }
3349else
3350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351$as_echo "no" >&6; }
3352fi
3353
3354
3355        test -n "$localedir" || localedir='${datadir}/locale'
3356
3357
3358    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3359
3360
3361  ac_config_commands="$ac_config_commands po-directories"
3362
3363
3364# This one is for .desktop files:
3365# Note: IT_PROG_INTLTOOL quits if intltool/gettext dependency isn't satisfied :/
3366GETTEXT_PACKAGE=$PACKAGE_TARNAME
3367
3368
3369
3370case "$am__api_version" in
3371    1.01234)
3372	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3373    ;;
3374    *)
3375    ;;
3376esac
3377
3378INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3379INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3380INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3381if test -n "0.31"; then
3382    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.31" >&5
3383$as_echo_n "checking for intltool >= 0.31... " >&6; }
3384    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3385$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3386    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3387	as_fn_error $? "Your intltool is too old.  You need intltool 0.31 or later." "$LINENO" 5
3388fi
3389
3390# Extract the first word of "intltool-update", so it can be a program name with args.
3391set dummy intltool-update; ac_word=$2
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393$as_echo_n "checking for $ac_word... " >&6; }
3394if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3395  $as_echo_n "(cached) " >&6
3396else
3397  case $INTLTOOL_UPDATE in
3398  [\\/]* | ?:[\\/]*)
3399  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3400  ;;
3401  *)
3402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403for as_dir in $PATH
3404do
3405  IFS=$as_save_IFS
3406  test -z "$as_dir" && as_dir=.
3407    for ac_exec_ext in '' $ac_executable_extensions; do
3408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411    break 2
3412  fi
3413done
3414  done
3415IFS=$as_save_IFS
3416
3417  ;;
3418esac
3419fi
3420INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3421if test -n "$INTLTOOL_UPDATE"; then
3422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3423$as_echo "$INTLTOOL_UPDATE" >&6; }
3424else
3425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426$as_echo "no" >&6; }
3427fi
3428
3429
3430# Extract the first word of "intltool-merge", so it can be a program name with args.
3431set dummy intltool-merge; ac_word=$2
3432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433$as_echo_n "checking for $ac_word... " >&6; }
3434if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3435  $as_echo_n "(cached) " >&6
3436else
3437  case $INTLTOOL_MERGE in
3438  [\\/]* | ?:[\\/]*)
3439  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3440  ;;
3441  *)
3442  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443for as_dir in $PATH
3444do
3445  IFS=$as_save_IFS
3446  test -z "$as_dir" && as_dir=.
3447    for ac_exec_ext in '' $ac_executable_extensions; do
3448  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451    break 2
3452  fi
3453done
3454  done
3455IFS=$as_save_IFS
3456
3457  ;;
3458esac
3459fi
3460INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3461if test -n "$INTLTOOL_MERGE"; then
3462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3463$as_echo "$INTLTOOL_MERGE" >&6; }
3464else
3465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466$as_echo "no" >&6; }
3467fi
3468
3469
3470# Extract the first word of "intltool-extract", so it can be a program name with args.
3471set dummy intltool-extract; ac_word=$2
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473$as_echo_n "checking for $ac_word... " >&6; }
3474if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3475  $as_echo_n "(cached) " >&6
3476else
3477  case $INTLTOOL_EXTRACT in
3478  [\\/]* | ?:[\\/]*)
3479  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3480  ;;
3481  *)
3482  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483for as_dir in $PATH
3484do
3485  IFS=$as_save_IFS
3486  test -z "$as_dir" && as_dir=.
3487    for ac_exec_ext in '' $ac_executable_extensions; do
3488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491    break 2
3492  fi
3493done
3494  done
3495IFS=$as_save_IFS
3496
3497  ;;
3498esac
3499fi
3500INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3501if test -n "$INTLTOOL_EXTRACT"; then
3502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3503$as_echo "$INTLTOOL_EXTRACT" >&6; }
3504else
3505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506$as_echo "no" >&6; }
3507fi
3508
3509
3510if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3511    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3512fi
3513
3514if test -z "$AM_DEFAULT_VERBOSITY"; then
3515  AM_DEFAULT_VERBOSITY=1
3516fi
3517
3518
3519INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3520INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3521INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
3522
3523
3524
3525
3526INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3527intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3528intltool__v_merge_options_0='-q'
3529
3530
3531
3532
3533  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3534INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3535     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3536     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3537      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
3538     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3539   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3540    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3541INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3542       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3543      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3544if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3545      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
3546else
3547      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
3548fi
3549      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3550      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3551    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3552  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3553    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3554    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3555   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653# Check the gettext tools to make sure they are GNU
3654# Extract the first word of "xgettext", so it can be a program name with args.
3655set dummy xgettext; ac_word=$2
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657$as_echo_n "checking for $ac_word... " >&6; }
3658if ${ac_cv_path_XGETTEXT+:} false; then :
3659  $as_echo_n "(cached) " >&6
3660else
3661  case $XGETTEXT in
3662  [\\/]* | ?:[\\/]*)
3663  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3664  ;;
3665  *)
3666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667for as_dir in $PATH
3668do
3669  IFS=$as_save_IFS
3670  test -z "$as_dir" && as_dir=.
3671    for ac_exec_ext in '' $ac_executable_extensions; do
3672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675    break 2
3676  fi
3677done
3678  done
3679IFS=$as_save_IFS
3680
3681  ;;
3682esac
3683fi
3684XGETTEXT=$ac_cv_path_XGETTEXT
3685if test -n "$XGETTEXT"; then
3686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3687$as_echo "$XGETTEXT" >&6; }
3688else
3689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690$as_echo "no" >&6; }
3691fi
3692
3693
3694# Extract the first word of "msgmerge", so it can be a program name with args.
3695set dummy msgmerge; ac_word=$2
3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697$as_echo_n "checking for $ac_word... " >&6; }
3698if ${ac_cv_path_MSGMERGE+:} false; then :
3699  $as_echo_n "(cached) " >&6
3700else
3701  case $MSGMERGE in
3702  [\\/]* | ?:[\\/]*)
3703  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3704  ;;
3705  *)
3706  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707for as_dir in $PATH
3708do
3709  IFS=$as_save_IFS
3710  test -z "$as_dir" && as_dir=.
3711    for ac_exec_ext in '' $ac_executable_extensions; do
3712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715    break 2
3716  fi
3717done
3718  done
3719IFS=$as_save_IFS
3720
3721  ;;
3722esac
3723fi
3724MSGMERGE=$ac_cv_path_MSGMERGE
3725if test -n "$MSGMERGE"; then
3726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3727$as_echo "$MSGMERGE" >&6; }
3728else
3729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730$as_echo "no" >&6; }
3731fi
3732
3733
3734# Extract the first word of "msgfmt", so it can be a program name with args.
3735set dummy msgfmt; ac_word=$2
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737$as_echo_n "checking for $ac_word... " >&6; }
3738if ${ac_cv_path_MSGFMT+:} false; then :
3739  $as_echo_n "(cached) " >&6
3740else
3741  case $MSGFMT in
3742  [\\/]* | ?:[\\/]*)
3743  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3744  ;;
3745  *)
3746  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747for as_dir in $PATH
3748do
3749  IFS=$as_save_IFS
3750  test -z "$as_dir" && as_dir=.
3751    for ac_exec_ext in '' $ac_executable_extensions; do
3752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755    break 2
3756  fi
3757done
3758  done
3759IFS=$as_save_IFS
3760
3761  ;;
3762esac
3763fi
3764MSGFMT=$ac_cv_path_MSGFMT
3765if test -n "$MSGFMT"; then
3766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3767$as_echo "$MSGFMT" >&6; }
3768else
3769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770$as_echo "no" >&6; }
3771fi
3772
3773
3774# Extract the first word of "gmsgfmt", so it can be a program name with args.
3775set dummy gmsgfmt; ac_word=$2
3776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777$as_echo_n "checking for $ac_word... " >&6; }
3778if ${ac_cv_path_GMSGFMT+:} false; then :
3779  $as_echo_n "(cached) " >&6
3780else
3781  case $GMSGFMT in
3782  [\\/]* | ?:[\\/]*)
3783  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3784  ;;
3785  *)
3786  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787for as_dir in $PATH
3788do
3789  IFS=$as_save_IFS
3790  test -z "$as_dir" && as_dir=.
3791    for ac_exec_ext in '' $ac_executable_extensions; do
3792  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795    break 2
3796  fi
3797done
3798  done
3799IFS=$as_save_IFS
3800
3801  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3802  ;;
3803esac
3804fi
3805GMSGFMT=$ac_cv_path_GMSGFMT
3806if test -n "$GMSGFMT"; then
3807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3808$as_echo "$GMSGFMT" >&6; }
3809else
3810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811$as_echo "no" >&6; }
3812fi
3813
3814
3815if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3816    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3817fi
3818xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3819mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3820mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3821if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3822    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3823fi
3824
3825# Extract the first word of "perl", so it can be a program name with args.
3826set dummy perl; ac_word=$2
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828$as_echo_n "checking for $ac_word... " >&6; }
3829if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3830  $as_echo_n "(cached) " >&6
3831else
3832  case $INTLTOOL_PERL in
3833  [\\/]* | ?:[\\/]*)
3834  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3835  ;;
3836  *)
3837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838for as_dir in $PATH
3839do
3840  IFS=$as_save_IFS
3841  test -z "$as_dir" && as_dir=.
3842    for ac_exec_ext in '' $ac_executable_extensions; do
3843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846    break 2
3847  fi
3848done
3849  done
3850IFS=$as_save_IFS
3851
3852  ;;
3853esac
3854fi
3855INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3856if test -n "$INTLTOOL_PERL"; then
3857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3858$as_echo "$INTLTOOL_PERL" >&6; }
3859else
3860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861$as_echo "no" >&6; }
3862fi
3863
3864
3865if test -z "$INTLTOOL_PERL"; then
3866   as_fn_error $? "perl not found" "$LINENO" 5
3867fi
3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3869$as_echo_n "checking for perl >= 5.8.1... " >&6; }
3870$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3871if test $? -ne 0; then
3872   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3873else
3874   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3876$as_echo "$IT_PERL_VERSION" >&6; }
3877fi
3878if test "xno-xml" != "xno-xml"; then
3879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3880$as_echo_n "checking for XML::Parser... " >&6; }
3881   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3882       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3883$as_echo "ok" >&6; }
3884   else
3885       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3886   fi
3887fi
3888
3889# Substitute ALL_LINGUAS so we can use it in po/Makefile
3890
3891
3892
3893
3894
3895
3896# Checks for programs.
3897ac_ext=cpp
3898ac_cpp='$CXXCPP $CPPFLAGS'
3899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3902if test -z "$CXX"; then
3903  if test -n "$CCC"; then
3904    CXX=$CCC
3905  else
3906    if test -n "$ac_tool_prefix"; then
3907  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3908  do
3909    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912$as_echo_n "checking for $ac_word... " >&6; }
3913if ${ac_cv_prog_CXX+:} false; then :
3914  $as_echo_n "(cached) " >&6
3915else
3916  if test -n "$CXX"; then
3917  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3918else
3919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920for as_dir in $PATH
3921do
3922  IFS=$as_save_IFS
3923  test -z "$as_dir" && as_dir=.
3924    for ac_exec_ext in '' $ac_executable_extensions; do
3925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928    break 2
3929  fi
3930done
3931  done
3932IFS=$as_save_IFS
3933
3934fi
3935fi
3936CXX=$ac_cv_prog_CXX
3937if test -n "$CXX"; then
3938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3939$as_echo "$CXX" >&6; }
3940else
3941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942$as_echo "no" >&6; }
3943fi
3944
3945
3946    test -n "$CXX" && break
3947  done
3948fi
3949if test -z "$CXX"; then
3950  ac_ct_CXX=$CXX
3951  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3952do
3953  # Extract the first word of "$ac_prog", so it can be a program name with args.
3954set dummy $ac_prog; ac_word=$2
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956$as_echo_n "checking for $ac_word... " >&6; }
3957if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3958  $as_echo_n "(cached) " >&6
3959else
3960  if test -n "$ac_ct_CXX"; then
3961  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3962else
3963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH
3965do
3966  IFS=$as_save_IFS
3967  test -z "$as_dir" && as_dir=.
3968    for ac_exec_ext in '' $ac_executable_extensions; do
3969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970    ac_cv_prog_ac_ct_CXX="$ac_prog"
3971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972    break 2
3973  fi
3974done
3975  done
3976IFS=$as_save_IFS
3977
3978fi
3979fi
3980ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3981if test -n "$ac_ct_CXX"; then
3982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3983$as_echo "$ac_ct_CXX" >&6; }
3984else
3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986$as_echo "no" >&6; }
3987fi
3988
3989
3990  test -n "$ac_ct_CXX" && break
3991done
3992
3993  if test "x$ac_ct_CXX" = x; then
3994    CXX="g++"
3995  else
3996    case $cross_compiling:$ac_tool_warned in
3997yes:)
3998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000ac_tool_warned=yes ;;
4001esac
4002    CXX=$ac_ct_CXX
4003  fi
4004fi
4005
4006  fi
4007fi
4008# Provide some information about the compiler.
4009$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4010set X $ac_compile
4011ac_compiler=$2
4012for ac_option in --version -v -V -qversion; do
4013  { { ac_try="$ac_compiler $ac_option >&5"
4014case "(($ac_try" in
4015  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016  *) ac_try_echo=$ac_try;;
4017esac
4018eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019$as_echo "$ac_try_echo"; } >&5
4020  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4021  ac_status=$?
4022  if test -s conftest.err; then
4023    sed '10a\
4024... rest of stderr output deleted ...
4025         10q' conftest.err >conftest.er1
4026    cat conftest.er1 >&5
4027  fi
4028  rm -f conftest.er1 conftest.err
4029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4030  test $ac_status = 0; }
4031done
4032
4033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034/* end confdefs.h.  */
4035
4036int
4037main ()
4038{
4039
4040  ;
4041  return 0;
4042}
4043_ACEOF
4044ac_clean_files_save=$ac_clean_files
4045ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4046# Try to create an executable without -o first, disregard a.out.
4047# It will help us diagnose broken compilers, and finding out an intuition
4048# of exeext.
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
4050$as_echo_n "checking whether the C++ compiler works... " >&6; }
4051ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4052
4053# The possible output files:
4054ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4055
4056ac_rmfiles=
4057for ac_file in $ac_files
4058do
4059  case $ac_file in
4060    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4061    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4062  esac
4063done
4064rm -f $ac_rmfiles
4065
4066if { { ac_try="$ac_link_default"
4067case "(($ac_try" in
4068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069  *) ac_try_echo=$ac_try;;
4070esac
4071eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072$as_echo "$ac_try_echo"; } >&5
4073  (eval "$ac_link_default") 2>&5
4074  ac_status=$?
4075  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076  test $ac_status = 0; }; then :
4077  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4078# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4079# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4080# so that the user can short-circuit this test for compilers unknown to
4081# Autoconf.
4082for ac_file in $ac_files ''
4083do
4084  test -f "$ac_file" || continue
4085  case $ac_file in
4086    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4087	;;
4088    [ab].out )
4089	# We found the default executable, but exeext='' is most
4090	# certainly right.
4091	break;;
4092    *.* )
4093	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4094	then :; else
4095	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4096	fi
4097	# We set ac_cv_exeext here because the later test for it is not
4098	# safe: cross compilers may not add the suffix if given an `-o'
4099	# argument, so we may need to know it at that point already.
4100	# Even if this section looks crufty: it has the advantage of
4101	# actually working.
4102	break;;
4103    * )
4104	break;;
4105  esac
4106done
4107test "$ac_cv_exeext" = no && ac_cv_exeext=
4108
4109else
4110  ac_file=''
4111fi
4112if test -z "$ac_file"; then :
4113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114$as_echo "no" >&6; }
4115$as_echo "$as_me: failed program was:" >&5
4116sed 's/^/| /' conftest.$ac_ext >&5
4117
4118{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120as_fn_error 77 "C++ compiler cannot create executables
4121See \`config.log' for more details" "$LINENO" 5; }
4122else
4123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4124$as_echo "yes" >&6; }
4125fi
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
4127$as_echo_n "checking for C++ compiler default output file name... " >&6; }
4128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4129$as_echo "$ac_file" >&6; }
4130ac_exeext=$ac_cv_exeext
4131
4132rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4133ac_clean_files=$ac_clean_files_save
4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4135$as_echo_n "checking for suffix of executables... " >&6; }
4136if { { ac_try="$ac_link"
4137case "(($ac_try" in
4138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139  *) ac_try_echo=$ac_try;;
4140esac
4141eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142$as_echo "$ac_try_echo"; } >&5
4143  (eval "$ac_link") 2>&5
4144  ac_status=$?
4145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4146  test $ac_status = 0; }; then :
4147  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4148# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4149# work properly (i.e., refer to `conftest.exe'), while it won't with
4150# `rm'.
4151for ac_file in conftest.exe conftest conftest.*; do
4152  test -f "$ac_file" || continue
4153  case $ac_file in
4154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4155    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4156	  break;;
4157    * ) break;;
4158  esac
4159done
4160else
4161  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4164See \`config.log' for more details" "$LINENO" 5; }
4165fi
4166rm -f conftest conftest$ac_cv_exeext
4167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4168$as_echo "$ac_cv_exeext" >&6; }
4169
4170rm -f conftest.$ac_ext
4171EXEEXT=$ac_cv_exeext
4172ac_exeext=$EXEEXT
4173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174/* end confdefs.h.  */
4175#include <stdio.h>
4176int
4177main ()
4178{
4179FILE *f = fopen ("conftest.out", "w");
4180 return ferror (f) || fclose (f) != 0;
4181
4182  ;
4183  return 0;
4184}
4185_ACEOF
4186ac_clean_files="$ac_clean_files conftest.out"
4187# Check that the compiler produces executables we can run.  If not, either
4188# the compiler is broken, or we cross compile.
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4190$as_echo_n "checking whether we are cross compiling... " >&6; }
4191if test "$cross_compiling" != yes; then
4192  { { ac_try="$ac_link"
4193case "(($ac_try" in
4194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195  *) ac_try_echo=$ac_try;;
4196esac
4197eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198$as_echo "$ac_try_echo"; } >&5
4199  (eval "$ac_link") 2>&5
4200  ac_status=$?
4201  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202  test $ac_status = 0; }
4203  if { ac_try='./conftest$ac_cv_exeext'
4204  { { case "(($ac_try" in
4205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206  *) ac_try_echo=$ac_try;;
4207esac
4208eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209$as_echo "$ac_try_echo"; } >&5
4210  (eval "$ac_try") 2>&5
4211  ac_status=$?
4212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213  test $ac_status = 0; }; }; then
4214    cross_compiling=no
4215  else
4216    if test "$cross_compiling" = maybe; then
4217	cross_compiling=yes
4218    else
4219	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4221as_fn_error $? "cannot run C++ compiled programs.
4222If you meant to cross compile, use \`--host'.
4223See \`config.log' for more details" "$LINENO" 5; }
4224    fi
4225  fi
4226fi
4227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4228$as_echo "$cross_compiling" >&6; }
4229
4230rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4231ac_clean_files=$ac_clean_files_save
4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4233$as_echo_n "checking for suffix of object files... " >&6; }
4234if ${ac_cv_objext+:} false; then :
4235  $as_echo_n "(cached) " >&6
4236else
4237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238/* end confdefs.h.  */
4239
4240int
4241main ()
4242{
4243
4244  ;
4245  return 0;
4246}
4247_ACEOF
4248rm -f conftest.o conftest.obj
4249if { { ac_try="$ac_compile"
4250case "(($ac_try" in
4251  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252  *) ac_try_echo=$ac_try;;
4253esac
4254eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255$as_echo "$ac_try_echo"; } >&5
4256  (eval "$ac_compile") 2>&5
4257  ac_status=$?
4258  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259  test $ac_status = 0; }; then :
4260  for ac_file in conftest.o conftest.obj conftest.*; do
4261  test -f "$ac_file" || continue;
4262  case $ac_file in
4263    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4264    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4265       break;;
4266  esac
4267done
4268else
4269  $as_echo "$as_me: failed program was:" >&5
4270sed 's/^/| /' conftest.$ac_ext >&5
4271
4272{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274as_fn_error $? "cannot compute suffix of object files: cannot compile
4275See \`config.log' for more details" "$LINENO" 5; }
4276fi
4277rm -f conftest.$ac_cv_objext conftest.$ac_ext
4278fi
4279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4280$as_echo "$ac_cv_objext" >&6; }
4281OBJEXT=$ac_cv_objext
4282ac_objext=$OBJEXT
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4284$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4285if ${ac_cv_cxx_compiler_gnu+:} false; then :
4286  $as_echo_n "(cached) " >&6
4287else
4288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289/* end confdefs.h.  */
4290
4291int
4292main ()
4293{
4294#ifndef __GNUC__
4295       choke me
4296#endif
4297
4298  ;
4299  return 0;
4300}
4301_ACEOF
4302if ac_fn_cxx_try_compile "$LINENO"; then :
4303  ac_compiler_gnu=yes
4304else
4305  ac_compiler_gnu=no
4306fi
4307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4309
4310fi
4311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4312$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4313if test $ac_compiler_gnu = yes; then
4314  GXX=yes
4315else
4316  GXX=
4317fi
4318ac_test_CXXFLAGS=${CXXFLAGS+set}
4319ac_save_CXXFLAGS=$CXXFLAGS
4320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4321$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4322if ${ac_cv_prog_cxx_g+:} false; then :
4323  $as_echo_n "(cached) " >&6
4324else
4325  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4326   ac_cxx_werror_flag=yes
4327   ac_cv_prog_cxx_g=no
4328   CXXFLAGS="-g"
4329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330/* end confdefs.h.  */
4331
4332int
4333main ()
4334{
4335
4336  ;
4337  return 0;
4338}
4339_ACEOF
4340if ac_fn_cxx_try_compile "$LINENO"; then :
4341  ac_cv_prog_cxx_g=yes
4342else
4343  CXXFLAGS=""
4344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345/* end confdefs.h.  */
4346
4347int
4348main ()
4349{
4350
4351  ;
4352  return 0;
4353}
4354_ACEOF
4355if ac_fn_cxx_try_compile "$LINENO"; then :
4356
4357else
4358  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4359	 CXXFLAGS="-g"
4360	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361/* end confdefs.h.  */
4362
4363int
4364main ()
4365{
4366
4367  ;
4368  return 0;
4369}
4370_ACEOF
4371if ac_fn_cxx_try_compile "$LINENO"; then :
4372  ac_cv_prog_cxx_g=yes
4373fi
4374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375fi
4376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377fi
4378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4379   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4380fi
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4382$as_echo "$ac_cv_prog_cxx_g" >&6; }
4383if test "$ac_test_CXXFLAGS" = set; then
4384  CXXFLAGS=$ac_save_CXXFLAGS
4385elif test $ac_cv_prog_cxx_g = yes; then
4386  if test "$GXX" = yes; then
4387    CXXFLAGS="-g -O2"
4388  else
4389    CXXFLAGS="-g"
4390  fi
4391else
4392  if test "$GXX" = yes; then
4393    CXXFLAGS="-O2"
4394  else
4395    CXXFLAGS=
4396  fi
4397fi
4398ac_ext=c
4399ac_cpp='$CPP $CPPFLAGS'
4400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403DEPDIR="${am__leading_dot}deps"
4404
4405ac_config_commands="$ac_config_commands depfiles"
4406
4407
4408am_make=${MAKE-make}
4409cat > confinc << 'END'
4410am__doit:
4411	@echo this is the am__doit target
4412.PHONY: am__doit
4413END
4414# If we don't find an include directive, just comment out the code.
4415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4416$as_echo_n "checking for style of include used by $am_make... " >&6; }
4417am__include="#"
4418am__quote=
4419_am_result=none
4420# First try GNU make style include.
4421echo "include confinc" > confmf
4422# Ignore all kinds of additional output from 'make'.
4423case `$am_make -s -f confmf 2> /dev/null` in #(
4424*the\ am__doit\ target*)
4425  am__include=include
4426  am__quote=
4427  _am_result=GNU
4428  ;;
4429esac
4430# Now try BSD make style include.
4431if test "$am__include" = "#"; then
4432   echo '.include "confinc"' > confmf
4433   case `$am_make -s -f confmf 2> /dev/null` in #(
4434   *the\ am__doit\ target*)
4435     am__include=.include
4436     am__quote="\""
4437     _am_result=BSD
4438     ;;
4439   esac
4440fi
4441
4442
4443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4444$as_echo "$_am_result" >&6; }
4445rm -f confinc confmf
4446
4447# Check whether --enable-dependency-tracking was given.
4448if test "${enable_dependency_tracking+set}" = set; then :
4449  enableval=$enable_dependency_tracking;
4450fi
4451
4452if test "x$enable_dependency_tracking" != xno; then
4453  am_depcomp="$ac_aux_dir/depcomp"
4454  AMDEPBACKSLASH='\'
4455  am__nodep='_no'
4456fi
4457 if test "x$enable_dependency_tracking" != xno; then
4458  AMDEP_TRUE=
4459  AMDEP_FALSE='#'
4460else
4461  AMDEP_TRUE='#'
4462  AMDEP_FALSE=
4463fi
4464
4465
4466
4467depcc="$CXX"  am_compiler_list=
4468
4469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4470$as_echo_n "checking dependency style of $depcc... " >&6; }
4471if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4472  $as_echo_n "(cached) " >&6
4473else
4474  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4475  # We make a subdir and do the tests there.  Otherwise we can end up
4476  # making bogus files that we don't know about and never remove.  For
4477  # instance it was reported that on HP-UX the gcc test will end up
4478  # making a dummy file named 'D' -- because '-MD' means "put the output
4479  # in D".
4480  rm -rf conftest.dir
4481  mkdir conftest.dir
4482  # Copy depcomp to subdir because otherwise we won't find it if we're
4483  # using a relative directory.
4484  cp "$am_depcomp" conftest.dir
4485  cd conftest.dir
4486  # We will build objects and dependencies in a subdirectory because
4487  # it helps to detect inapplicable dependency modes.  For instance
4488  # both Tru64's cc and ICC support -MD to output dependencies as a
4489  # side effect of compilation, but ICC will put the dependencies in
4490  # the current directory while Tru64 will put them in the object
4491  # directory.
4492  mkdir sub
4493
4494  am_cv_CXX_dependencies_compiler_type=none
4495  if test "$am_compiler_list" = ""; then
4496     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4497  fi
4498  am__universal=false
4499  case " $depcc " in #(
4500     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4501     esac
4502
4503  for depmode in $am_compiler_list; do
4504    # Setup a source with many dependencies, because some compilers
4505    # like to wrap large dependency lists on column 80 (with \), and
4506    # we should not choose a depcomp mode which is confused by this.
4507    #
4508    # We need to recreate these files for each test, as the compiler may
4509    # overwrite some of them when testing with obscure command lines.
4510    # This happens at least with the AIX C compiler.
4511    : > sub/conftest.c
4512    for i in 1 2 3 4 5 6; do
4513      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4514      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4515      # Solaris 10 /bin/sh.
4516      echo '/* dummy */' > sub/conftst$i.h
4517    done
4518    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4519
4520    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4521    # mode.  It turns out that the SunPro C++ compiler does not properly
4522    # handle '-M -o', and we need to detect this.  Also, some Intel
4523    # versions had trouble with output in subdirs.
4524    am__obj=sub/conftest.${OBJEXT-o}
4525    am__minus_obj="-o $am__obj"
4526    case $depmode in
4527    gcc)
4528      # This depmode causes a compiler race in universal mode.
4529      test "$am__universal" = false || continue
4530      ;;
4531    nosideeffect)
4532      # After this tag, mechanisms are not by side-effect, so they'll
4533      # only be used when explicitly requested.
4534      if test "x$enable_dependency_tracking" = xyes; then
4535	continue
4536      else
4537	break
4538      fi
4539      ;;
4540    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4541      # This compiler won't grok '-c -o', but also, the minuso test has
4542      # not run yet.  These depmodes are late enough in the game, and
4543      # so weak that their functioning should not be impacted.
4544      am__obj=conftest.${OBJEXT-o}
4545      am__minus_obj=
4546      ;;
4547    none) break ;;
4548    esac
4549    if depmode=$depmode \
4550       source=sub/conftest.c object=$am__obj \
4551       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4552       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4553         >/dev/null 2>conftest.err &&
4554       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4555       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4556       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4557       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4558      # icc doesn't choke on unknown options, it will just issue warnings
4559      # or remarks (even with -Werror).  So we grep stderr for any message
4560      # that says an option was ignored or not supported.
4561      # When given -MP, icc 7.0 and 7.1 complain thusly:
4562      #   icc: Command line warning: ignoring option '-M'; no argument required
4563      # The diagnosis changed in icc 8.0:
4564      #   icc: Command line remark: option '-MP' not supported
4565      if (grep 'ignoring option' conftest.err ||
4566          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4567        am_cv_CXX_dependencies_compiler_type=$depmode
4568        break
4569      fi
4570    fi
4571  done
4572
4573  cd ..
4574  rm -rf conftest.dir
4575else
4576  am_cv_CXX_dependencies_compiler_type=none
4577fi
4578
4579fi
4580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4581$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4582CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4583
4584 if
4585  test "x$enable_dependency_tracking" != xno \
4586  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4587  am__fastdepCXX_TRUE=
4588  am__fastdepCXX_FALSE='#'
4589else
4590  am__fastdepCXX_TRUE='#'
4591  am__fastdepCXX_FALSE=
4592fi
4593
4594
4595# TODO: error if CXX cannot be found
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4597$as_echo_n "checking whether ln -s works... " >&6; }
4598LN_S=$as_ln_s
4599if test "$LN_S" = "ln -s"; then
4600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4601$as_echo "yes" >&6; }
4602else
4603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4604$as_echo "no, using $LN_S" >&6; }
4605fi
4606
4607
4608# Extract the first word of "wxglade", so it can be a program name with args.
4609set dummy wxglade; ac_word=$2
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611$as_echo_n "checking for $ac_word... " >&6; }
4612if ${ac_cv_path_WXGLADE+:} false; then :
4613  $as_echo_n "(cached) " >&6
4614else
4615  case $WXGLADE in
4616  [\\/]* | ?:[\\/]*)
4617  ac_cv_path_WXGLADE="$WXGLADE" # Let the user override the test with a path.
4618  ;;
4619  *)
4620  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621for as_dir in $PATH
4622do
4623  IFS=$as_save_IFS
4624  test -z "$as_dir" && as_dir=.
4625    for ac_exec_ext in '' $ac_executable_extensions; do
4626  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627    ac_cv_path_WXGLADE="$as_dir/$ac_word$ac_exec_ext"
4628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629    break 2
4630  fi
4631done
4632  done
4633IFS=$as_save_IFS
4634
4635  ;;
4636esac
4637fi
4638WXGLADE=$ac_cv_path_WXGLADE
4639if test -n "$WXGLADE"; then
4640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WXGLADE" >&5
4641$as_echo "$WXGLADE" >&6; }
4642else
4643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644$as_echo "no" >&6; }
4645fi
4646
4647
4648if test x"$WXGLADE" = x""; then
4649  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need to install wxGlade (if you're a developer)" >&5
4650$as_echo "$as_me: WARNING: You may need to install wxGlade (if you're a developer)" >&2;}
4651  LACK_WXGLADE=1
4652fi
4653 if test "$WXGLADE" != ""; then
4654  HAVE_WXGLADE_TRUE=
4655  HAVE_WXGLADE_FALSE='#'
4656else
4657  HAVE_WXGLADE_TRUE='#'
4658  HAVE_WXGLADE_FALSE=
4659fi
4660
4661
4662if test -n "$ac_tool_prefix"; then
4663  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4664set dummy ${ac_tool_prefix}windres; ac_word=$2
4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666$as_echo_n "checking for $ac_word... " >&6; }
4667if ${ac_cv_prog_WINDRES+:} false; then :
4668  $as_echo_n "(cached) " >&6
4669else
4670  if test -n "$WINDRES"; then
4671  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4672else
4673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674for as_dir in $PATH
4675do
4676  IFS=$as_save_IFS
4677  test -z "$as_dir" && as_dir=.
4678    for ac_exec_ext in '' $ac_executable_extensions; do
4679  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4681    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682    break 2
4683  fi
4684done
4685  done
4686IFS=$as_save_IFS
4687
4688fi
4689fi
4690WINDRES=$ac_cv_prog_WINDRES
4691if test -n "$WINDRES"; then
4692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4693$as_echo "$WINDRES" >&6; }
4694else
4695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696$as_echo "no" >&6; }
4697fi
4698
4699
4700fi
4701if test -z "$ac_cv_prog_WINDRES"; then
4702  ac_ct_WINDRES=$WINDRES
4703  # Extract the first word of "windres", so it can be a program name with args.
4704set dummy windres; ac_word=$2
4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706$as_echo_n "checking for $ac_word... " >&6; }
4707if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
4708  $as_echo_n "(cached) " >&6
4709else
4710  if test -n "$ac_ct_WINDRES"; then
4711  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4712else
4713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714for as_dir in $PATH
4715do
4716  IFS=$as_save_IFS
4717  test -z "$as_dir" && as_dir=.
4718    for ac_exec_ext in '' $ac_executable_extensions; do
4719  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720    ac_cv_prog_ac_ct_WINDRES="windres"
4721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722    break 2
4723  fi
4724done
4725  done
4726IFS=$as_save_IFS
4727
4728fi
4729fi
4730ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4731if test -n "$ac_ct_WINDRES"; then
4732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4733$as_echo "$ac_ct_WINDRES" >&6; }
4734else
4735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736$as_echo "no" >&6; }
4737fi
4738
4739  if test "x$ac_ct_WINDRES" = x; then
4740    WINDRES=""
4741  else
4742    case $cross_compiling:$ac_tool_warned in
4743yes:)
4744{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746ac_tool_warned=yes ;;
4747esac
4748    WINDRES=$ac_ct_WINDRES
4749  fi
4750else
4751  WINDRES="$ac_cv_prog_WINDRES"
4752fi
4753
4754 if test "$WINDRES" != ""; then
4755  HAVE_WINDRES_TRUE=
4756  HAVE_WINDRES_FALSE='#'
4757else
4758  HAVE_WINDRES_TRUE='#'
4759  HAVE_WINDRES_FALSE=
4760fi
4761
4762
4763
4764# Check whether --enable-upx was given.
4765if test "${enable_upx+set}" = set; then :
4766  enableval=$enable_upx;
4767else
4768  enable_upx=no
4769fi
4770
4771if test x"$enable_upx" = x"yes"; then
4772  # Extract the first word of "upx", so it can be a program name with args.
4773set dummy upx; ac_word=$2
4774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775$as_echo_n "checking for $ac_word... " >&6; }
4776if ${ac_cv_path_UPX+:} false; then :
4777  $as_echo_n "(cached) " >&6
4778else
4779  case $UPX in
4780  [\\/]* | ?:[\\/]*)
4781  ac_cv_path_UPX="$UPX" # Let the user override the test with a path.
4782  ;;
4783  *)
4784  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785for as_dir in $PATH
4786do
4787  IFS=$as_save_IFS
4788  test -z "$as_dir" && as_dir=.
4789    for ac_exec_ext in '' $ac_executable_extensions; do
4790  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4791    ac_cv_path_UPX="$as_dir/$ac_word$ac_exec_ext"
4792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4793    break 2
4794  fi
4795done
4796  done
4797IFS=$as_save_IFS
4798
4799  ;;
4800esac
4801fi
4802UPX=$ac_cv_path_UPX
4803if test -n "$UPX"; then
4804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPX" >&5
4805$as_echo "$UPX" >&6; }
4806else
4807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808$as_echo "no" >&6; }
4809fi
4810
4811
4812fi
4813 if test "$UPX" != ""; then
4814  HAVE_UPX_TRUE=
4815  HAVE_UPX_FALSE='#'
4816else
4817  HAVE_UPX_TRUE='#'
4818  HAVE_UPX_FALSE=
4819fi
4820
4821
4822
4823# Dynamic and static builds
4824# Dynamic and static builds
4825# Check whether --enable-static was given.
4826if test "${enable_static+set}" = set; then :
4827  enableval=$enable_static;
4828else
4829  enable_static=no
4830fi
4831
4832
4833if test x"$enable_static" = x"yes"; then
4834    case "${host}" in
4835    # (cf. (autoconf.info)Using System Type)
4836    # Modified to accept "biplet" instead of "triplet", because at
4837    # least Debian's MinGW package uses i586-mingw32msvc (instead of
4838    # i586-pc-mingw32msvc)
4839    *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*)
4840        LDFLAGS="$LDFLAGS -static"
4841        ;;
4842    esac
4843fi
4844# TODO: check with Cygwin + -mno-cygwin
4845
4846
4847
4848# ----------------------------------------
4849# Desktop files
4850# ----------------------------------------
4851# (inspired by djvulibre's configure.ac)
4852
4853ac_desktopfiles=yes
4854# Check whether --enable-desktopfiles was given.
4855if test "${enable_desktopfiles+set}" = set; then :
4856  enableval=$enable_desktopfiles; ac_desktopfiles=$enableval
4857fi
4858
4859
4860# Check for xdg tools
4861# Extract the first word of "xdg-mime", so it can be a program name with args.
4862set dummy xdg-mime; ac_word=$2
4863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4864$as_echo_n "checking for $ac_word... " >&6; }
4865if ${ac_cv_path_XDG_MIME+:} false; then :
4866  $as_echo_n "(cached) " >&6
4867else
4868  case $XDG_MIME in
4869  [\\/]* | ?:[\\/]*)
4870  ac_cv_path_XDG_MIME="$XDG_MIME" # Let the user override the test with a path.
4871  ;;
4872  *)
4873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874for as_dir in $PATH
4875do
4876  IFS=$as_save_IFS
4877  test -z "$as_dir" && as_dir=.
4878    for ac_exec_ext in '' $ac_executable_extensions; do
4879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880    ac_cv_path_XDG_MIME="$as_dir/$ac_word$ac_exec_ext"
4881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882    break 2
4883  fi
4884done
4885  done
4886IFS=$as_save_IFS
4887
4888  ;;
4889esac
4890fi
4891XDG_MIME=$ac_cv_path_XDG_MIME
4892if test -n "$XDG_MIME"; then
4893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_MIME" >&5
4894$as_echo "$XDG_MIME" >&6; }
4895else
4896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897$as_echo "no" >&6; }
4898fi
4899
4900
4901# Extract the first word of "xdg-icon-resource", so it can be a program name with args.
4902set dummy xdg-icon-resource; ac_word=$2
4903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904$as_echo_n "checking for $ac_word... " >&6; }
4905if ${ac_cv_path_XDG_ICON_RESOURCE+:} false; then :
4906  $as_echo_n "(cached) " >&6
4907else
4908  case $XDG_ICON_RESOURCE in
4909  [\\/]* | ?:[\\/]*)
4910  ac_cv_path_XDG_ICON_RESOURCE="$XDG_ICON_RESOURCE" # Let the user override the test with a path.
4911  ;;
4912  *)
4913  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH
4915do
4916  IFS=$as_save_IFS
4917  test -z "$as_dir" && as_dir=.
4918    for ac_exec_ext in '' $ac_executable_extensions; do
4919  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920    ac_cv_path_XDG_ICON_RESOURCE="$as_dir/$ac_word$ac_exec_ext"
4921    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922    break 2
4923  fi
4924done
4925  done
4926IFS=$as_save_IFS
4927
4928  ;;
4929esac
4930fi
4931XDG_ICON_RESOURCE=$ac_cv_path_XDG_ICON_RESOURCE
4932if test -n "$XDG_ICON_RESOURCE"; then
4933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_ICON_RESOURCE" >&5
4934$as_echo "$XDG_ICON_RESOURCE" >&6; }
4935else
4936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937$as_echo "no" >&6; }
4938fi
4939
4940
4941# Extract the first word of "xdg-desktop-menu", so it can be a program name with args.
4942set dummy xdg-desktop-menu; ac_word=$2
4943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944$as_echo_n "checking for $ac_word... " >&6; }
4945if ${ac_cv_path_XDG_DESKTOP_MENU+:} false; then :
4946  $as_echo_n "(cached) " >&6
4947else
4948  case $XDG_DESKTOP_MENU in
4949  [\\/]* | ?:[\\/]*)
4950  ac_cv_path_XDG_DESKTOP_MENU="$XDG_DESKTOP_MENU" # Let the user override the test with a path.
4951  ;;
4952  *)
4953  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954for as_dir in $PATH
4955do
4956  IFS=$as_save_IFS
4957  test -z "$as_dir" && as_dir=.
4958    for ac_exec_ext in '' $ac_executable_extensions; do
4959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960    ac_cv_path_XDG_DESKTOP_MENU="$as_dir/$ac_word$ac_exec_ext"
4961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962    break 2
4963  fi
4964done
4965  done
4966IFS=$as_save_IFS
4967
4968  ;;
4969esac
4970fi
4971XDG_DESKTOP_MENU=$ac_cv_path_XDG_DESKTOP_MENU
4972if test -n "$XDG_DESKTOP_MENU"; then
4973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_DESKTOP_MENU" >&5
4974$as_echo "$XDG_DESKTOP_MENU" >&6; }
4975else
4976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977$as_echo "no" >&6; }
4978fi
4979
4980
4981if test -x "${XDG_MIME}" && \
4982   test -x "${XDG_ICON_RESOURCE}" && \
4983   test -x "${XDG_DESKTOP_MENU}"
4984then
4985  true
4986elif test "$ac_desktopfiles" != no ; then
4987  ac_desktopfiles=no
4988  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find the Xdg Portland tools.
4989--------------------------------------------------------
4990*** The scripts to register icons and menus
4991*** will not be installed.
4992--------------------------------------------------------" >&5
4993$as_echo "$as_me: WARNING: Cannot find the Xdg Portland tools.
4994--------------------------------------------------------
4995*** The scripts to register icons and menus
4996*** will not be installed.
4997--------------------------------------------------------" >&2;}
4998fi
4999
5000 if test "${ac_desktopfiles}" != "no"; then
5001  HAVE_XDG_TRUE=
5002  HAVE_XDG_FALSE='#'
5003else
5004  HAVE_XDG_TRUE='#'
5005  HAVE_XDG_FALSE=
5006fi
5007
5008
5009
5010# Checks for libraries.
5011ac_ext=c
5012ac_cpp='$CPP $CPPFLAGS'
5013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016if test -n "$ac_tool_prefix"; then
5017  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5018set dummy ${ac_tool_prefix}gcc; ac_word=$2
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020$as_echo_n "checking for $ac_word... " >&6; }
5021if ${ac_cv_prog_CC+:} false; then :
5022  $as_echo_n "(cached) " >&6
5023else
5024  if test -n "$CC"; then
5025  ac_cv_prog_CC="$CC" # Let the user override the test.
5026else
5027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028for as_dir in $PATH
5029do
5030  IFS=$as_save_IFS
5031  test -z "$as_dir" && as_dir=.
5032    for ac_exec_ext in '' $ac_executable_extensions; do
5033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036    break 2
5037  fi
5038done
5039  done
5040IFS=$as_save_IFS
5041
5042fi
5043fi
5044CC=$ac_cv_prog_CC
5045if test -n "$CC"; then
5046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5047$as_echo "$CC" >&6; }
5048else
5049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050$as_echo "no" >&6; }
5051fi
5052
5053
5054fi
5055if test -z "$ac_cv_prog_CC"; then
5056  ac_ct_CC=$CC
5057  # Extract the first word of "gcc", so it can be a program name with args.
5058set dummy gcc; ac_word=$2
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060$as_echo_n "checking for $ac_word... " >&6; }
5061if ${ac_cv_prog_ac_ct_CC+:} false; then :
5062  $as_echo_n "(cached) " >&6
5063else
5064  if test -n "$ac_ct_CC"; then
5065  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5066else
5067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068for as_dir in $PATH
5069do
5070  IFS=$as_save_IFS
5071  test -z "$as_dir" && as_dir=.
5072    for ac_exec_ext in '' $ac_executable_extensions; do
5073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074    ac_cv_prog_ac_ct_CC="gcc"
5075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076    break 2
5077  fi
5078done
5079  done
5080IFS=$as_save_IFS
5081
5082fi
5083fi
5084ac_ct_CC=$ac_cv_prog_ac_ct_CC
5085if test -n "$ac_ct_CC"; then
5086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5087$as_echo "$ac_ct_CC" >&6; }
5088else
5089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090$as_echo "no" >&6; }
5091fi
5092
5093  if test "x$ac_ct_CC" = x; then
5094    CC=""
5095  else
5096    case $cross_compiling:$ac_tool_warned in
5097yes:)
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100ac_tool_warned=yes ;;
5101esac
5102    CC=$ac_ct_CC
5103  fi
5104else
5105  CC="$ac_cv_prog_CC"
5106fi
5107
5108if test -z "$CC"; then
5109          if test -n "$ac_tool_prefix"; then
5110    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5111set dummy ${ac_tool_prefix}cc; ac_word=$2
5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113$as_echo_n "checking for $ac_word... " >&6; }
5114if ${ac_cv_prog_CC+:} false; then :
5115  $as_echo_n "(cached) " >&6
5116else
5117  if test -n "$CC"; then
5118  ac_cv_prog_CC="$CC" # Let the user override the test.
5119else
5120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121for as_dir in $PATH
5122do
5123  IFS=$as_save_IFS
5124  test -z "$as_dir" && as_dir=.
5125    for ac_exec_ext in '' $ac_executable_extensions; do
5126  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127    ac_cv_prog_CC="${ac_tool_prefix}cc"
5128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129    break 2
5130  fi
5131done
5132  done
5133IFS=$as_save_IFS
5134
5135fi
5136fi
5137CC=$ac_cv_prog_CC
5138if test -n "$CC"; then
5139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5140$as_echo "$CC" >&6; }
5141else
5142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143$as_echo "no" >&6; }
5144fi
5145
5146
5147  fi
5148fi
5149if test -z "$CC"; then
5150  # Extract the first word of "cc", so it can be a program name with args.
5151set dummy cc; ac_word=$2
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153$as_echo_n "checking for $ac_word... " >&6; }
5154if ${ac_cv_prog_CC+:} false; then :
5155  $as_echo_n "(cached) " >&6
5156else
5157  if test -n "$CC"; then
5158  ac_cv_prog_CC="$CC" # Let the user override the test.
5159else
5160  ac_prog_rejected=no
5161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162for as_dir in $PATH
5163do
5164  IFS=$as_save_IFS
5165  test -z "$as_dir" && as_dir=.
5166    for ac_exec_ext in '' $ac_executable_extensions; do
5167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5169       ac_prog_rejected=yes
5170       continue
5171     fi
5172    ac_cv_prog_CC="cc"
5173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174    break 2
5175  fi
5176done
5177  done
5178IFS=$as_save_IFS
5179
5180if test $ac_prog_rejected = yes; then
5181  # We found a bogon in the path, so make sure we never use it.
5182  set dummy $ac_cv_prog_CC
5183  shift
5184  if test $# != 0; then
5185    # We chose a different compiler from the bogus one.
5186    # However, it has the same basename, so the bogon will be chosen
5187    # first if we set CC to just the basename; use the full file name.
5188    shift
5189    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5190  fi
5191fi
5192fi
5193fi
5194CC=$ac_cv_prog_CC
5195if test -n "$CC"; then
5196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5197$as_echo "$CC" >&6; }
5198else
5199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200$as_echo "no" >&6; }
5201fi
5202
5203
5204fi
5205if test -z "$CC"; then
5206  if test -n "$ac_tool_prefix"; then
5207  for ac_prog in cl.exe
5208  do
5209    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5210set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212$as_echo_n "checking for $ac_word... " >&6; }
5213if ${ac_cv_prog_CC+:} false; then :
5214  $as_echo_n "(cached) " >&6
5215else
5216  if test -n "$CC"; then
5217  ac_cv_prog_CC="$CC" # Let the user override the test.
5218else
5219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220for as_dir in $PATH
5221do
5222  IFS=$as_save_IFS
5223  test -z "$as_dir" && as_dir=.
5224    for ac_exec_ext in '' $ac_executable_extensions; do
5225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5226    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228    break 2
5229  fi
5230done
5231  done
5232IFS=$as_save_IFS
5233
5234fi
5235fi
5236CC=$ac_cv_prog_CC
5237if test -n "$CC"; then
5238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5239$as_echo "$CC" >&6; }
5240else
5241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242$as_echo "no" >&6; }
5243fi
5244
5245
5246    test -n "$CC" && break
5247  done
5248fi
5249if test -z "$CC"; then
5250  ac_ct_CC=$CC
5251  for ac_prog in cl.exe
5252do
5253  # Extract the first word of "$ac_prog", so it can be a program name with args.
5254set dummy $ac_prog; ac_word=$2
5255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256$as_echo_n "checking for $ac_word... " >&6; }
5257if ${ac_cv_prog_ac_ct_CC+:} false; then :
5258  $as_echo_n "(cached) " >&6
5259else
5260  if test -n "$ac_ct_CC"; then
5261  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5262else
5263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264for as_dir in $PATH
5265do
5266  IFS=$as_save_IFS
5267  test -z "$as_dir" && as_dir=.
5268    for ac_exec_ext in '' $ac_executable_extensions; do
5269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270    ac_cv_prog_ac_ct_CC="$ac_prog"
5271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272    break 2
5273  fi
5274done
5275  done
5276IFS=$as_save_IFS
5277
5278fi
5279fi
5280ac_ct_CC=$ac_cv_prog_ac_ct_CC
5281if test -n "$ac_ct_CC"; then
5282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5283$as_echo "$ac_ct_CC" >&6; }
5284else
5285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286$as_echo "no" >&6; }
5287fi
5288
5289
5290  test -n "$ac_ct_CC" && break
5291done
5292
5293  if test "x$ac_ct_CC" = x; then
5294    CC=""
5295  else
5296    case $cross_compiling:$ac_tool_warned in
5297yes:)
5298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5300ac_tool_warned=yes ;;
5301esac
5302    CC=$ac_ct_CC
5303  fi
5304fi
5305
5306fi
5307
5308
5309test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5311as_fn_error $? "no acceptable C compiler found in \$PATH
5312See \`config.log' for more details" "$LINENO" 5; }
5313
5314# Provide some information about the compiler.
5315$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5316set X $ac_compile
5317ac_compiler=$2
5318for ac_option in --version -v -V -qversion; do
5319  { { ac_try="$ac_compiler $ac_option >&5"
5320case "(($ac_try" in
5321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322  *) ac_try_echo=$ac_try;;
5323esac
5324eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5325$as_echo "$ac_try_echo"; } >&5
5326  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5327  ac_status=$?
5328  if test -s conftest.err; then
5329    sed '10a\
5330... rest of stderr output deleted ...
5331         10q' conftest.err >conftest.er1
5332    cat conftest.er1 >&5
5333  fi
5334  rm -f conftest.er1 conftest.err
5335  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5336  test $ac_status = 0; }
5337done
5338
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5340$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5341if ${ac_cv_c_compiler_gnu+:} false; then :
5342  $as_echo_n "(cached) " >&6
5343else
5344  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345/* end confdefs.h.  */
5346
5347int
5348main ()
5349{
5350#ifndef __GNUC__
5351       choke me
5352#endif
5353
5354  ;
5355  return 0;
5356}
5357_ACEOF
5358if ac_fn_c_try_compile "$LINENO"; then :
5359  ac_compiler_gnu=yes
5360else
5361  ac_compiler_gnu=no
5362fi
5363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364ac_cv_c_compiler_gnu=$ac_compiler_gnu
5365
5366fi
5367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5368$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5369if test $ac_compiler_gnu = yes; then
5370  GCC=yes
5371else
5372  GCC=
5373fi
5374ac_test_CFLAGS=${CFLAGS+set}
5375ac_save_CFLAGS=$CFLAGS
5376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5377$as_echo_n "checking whether $CC accepts -g... " >&6; }
5378if ${ac_cv_prog_cc_g+:} false; then :
5379  $as_echo_n "(cached) " >&6
5380else
5381  ac_save_c_werror_flag=$ac_c_werror_flag
5382   ac_c_werror_flag=yes
5383   ac_cv_prog_cc_g=no
5384   CFLAGS="-g"
5385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386/* end confdefs.h.  */
5387
5388int
5389main ()
5390{
5391
5392  ;
5393  return 0;
5394}
5395_ACEOF
5396if ac_fn_c_try_compile "$LINENO"; then :
5397  ac_cv_prog_cc_g=yes
5398else
5399  CFLAGS=""
5400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401/* end confdefs.h.  */
5402
5403int
5404main ()
5405{
5406
5407  ;
5408  return 0;
5409}
5410_ACEOF
5411if ac_fn_c_try_compile "$LINENO"; then :
5412
5413else
5414  ac_c_werror_flag=$ac_save_c_werror_flag
5415	 CFLAGS="-g"
5416	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417/* end confdefs.h.  */
5418
5419int
5420main ()
5421{
5422
5423  ;
5424  return 0;
5425}
5426_ACEOF
5427if ac_fn_c_try_compile "$LINENO"; then :
5428  ac_cv_prog_cc_g=yes
5429fi
5430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431fi
5432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433fi
5434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435   ac_c_werror_flag=$ac_save_c_werror_flag
5436fi
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5438$as_echo "$ac_cv_prog_cc_g" >&6; }
5439if test "$ac_test_CFLAGS" = set; then
5440  CFLAGS=$ac_save_CFLAGS
5441elif test $ac_cv_prog_cc_g = yes; then
5442  if test "$GCC" = yes; then
5443    CFLAGS="-g -O2"
5444  else
5445    CFLAGS="-g"
5446  fi
5447else
5448  if test "$GCC" = yes; then
5449    CFLAGS="-O2"
5450  else
5451    CFLAGS=
5452  fi
5453fi
5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5455$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5456if ${ac_cv_prog_cc_c89+:} false; then :
5457  $as_echo_n "(cached) " >&6
5458else
5459  ac_cv_prog_cc_c89=no
5460ac_save_CC=$CC
5461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462/* end confdefs.h.  */
5463#include <stdarg.h>
5464#include <stdio.h>
5465struct stat;
5466/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5467struct buf { int x; };
5468FILE * (*rcsopen) (struct buf *, struct stat *, int);
5469static char *e (p, i)
5470     char **p;
5471     int i;
5472{
5473  return p[i];
5474}
5475static char *f (char * (*g) (char **, int), char **p, ...)
5476{
5477  char *s;
5478  va_list v;
5479  va_start (v,p);
5480  s = g (p, va_arg (v,int));
5481  va_end (v);
5482  return s;
5483}
5484
5485/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5486   function prototypes and stuff, but not '\xHH' hex character constants.
5487   These don't provoke an error unfortunately, instead are silently treated
5488   as 'x'.  The following induces an error, until -std is added to get
5489   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5490   array size at least.  It's necessary to write '\x00'==0 to get something
5491   that's true only with -std.  */
5492int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5493
5494/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5495   inside strings and character constants.  */
5496#define FOO(x) 'x'
5497int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5498
5499int test (int i, double x);
5500struct s1 {int (*f) (int a);};
5501struct s2 {int (*f) (double a);};
5502int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5503int argc;
5504char **argv;
5505int
5506main ()
5507{
5508return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5509  ;
5510  return 0;
5511}
5512_ACEOF
5513for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5514	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5515do
5516  CC="$ac_save_CC $ac_arg"
5517  if ac_fn_c_try_compile "$LINENO"; then :
5518  ac_cv_prog_cc_c89=$ac_arg
5519fi
5520rm -f core conftest.err conftest.$ac_objext
5521  test "x$ac_cv_prog_cc_c89" != "xno" && break
5522done
5523rm -f conftest.$ac_ext
5524CC=$ac_save_CC
5525
5526fi
5527# AC_CACHE_VAL
5528case "x$ac_cv_prog_cc_c89" in
5529  x)
5530    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5531$as_echo "none needed" >&6; } ;;
5532  xno)
5533    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5534$as_echo "unsupported" >&6; } ;;
5535  *)
5536    CC="$CC $ac_cv_prog_cc_c89"
5537    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5538$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5539esac
5540if test "x$ac_cv_prog_cc_c89" != xno; then :
5541
5542fi
5543
5544ac_ext=c
5545ac_cpp='$CPP $CPPFLAGS'
5546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5548ac_compiler_gnu=$ac_cv_c_compiler_gnu
5549
5550ac_ext=c
5551ac_cpp='$CPP $CPPFLAGS'
5552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5556$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5557if ${am_cv_prog_cc_c_o+:} false; then :
5558  $as_echo_n "(cached) " >&6
5559else
5560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561/* end confdefs.h.  */
5562
5563int
5564main ()
5565{
5566
5567  ;
5568  return 0;
5569}
5570_ACEOF
5571  # Make sure it works both with $CC and with simple cc.
5572  # Following AC_PROG_CC_C_O, we do the test twice because some
5573  # compilers refuse to overwrite an existing .o file with -o,
5574  # though they will create one.
5575  am_cv_prog_cc_c_o=yes
5576  for am_i in 1 2; do
5577    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5578   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5579   ac_status=$?
5580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581   (exit $ac_status); } \
5582         && test -f conftest2.$ac_objext; then
5583      : OK
5584    else
5585      am_cv_prog_cc_c_o=no
5586      break
5587    fi
5588  done
5589  rm -f core conftest*
5590  unset am_i
5591fi
5592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5593$as_echo "$am_cv_prog_cc_c_o" >&6; }
5594if test "$am_cv_prog_cc_c_o" != yes; then
5595   # Losing compiler, so override with the script.
5596   # FIXME: It is wrong to rewrite CC.
5597   # But if we don't then we get into trouble of one sort or another.
5598   # A longer-term fix would be to have automake use am__CC in this case,
5599   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5600   CC="$am_aux_dir/compile $CC"
5601fi
5602ac_ext=c
5603ac_cpp='$CPP $CPPFLAGS'
5604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5606ac_compiler_gnu=$ac_cv_c_compiler_gnu
5607
5608
5609depcc="$CC"   am_compiler_list=
5610
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5612$as_echo_n "checking dependency style of $depcc... " >&6; }
5613if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5614  $as_echo_n "(cached) " >&6
5615else
5616  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5617  # We make a subdir and do the tests there.  Otherwise we can end up
5618  # making bogus files that we don't know about and never remove.  For
5619  # instance it was reported that on HP-UX the gcc test will end up
5620  # making a dummy file named 'D' -- because '-MD' means "put the output
5621  # in D".
5622  rm -rf conftest.dir
5623  mkdir conftest.dir
5624  # Copy depcomp to subdir because otherwise we won't find it if we're
5625  # using a relative directory.
5626  cp "$am_depcomp" conftest.dir
5627  cd conftest.dir
5628  # We will build objects and dependencies in a subdirectory because
5629  # it helps to detect inapplicable dependency modes.  For instance
5630  # both Tru64's cc and ICC support -MD to output dependencies as a
5631  # side effect of compilation, but ICC will put the dependencies in
5632  # the current directory while Tru64 will put them in the object
5633  # directory.
5634  mkdir sub
5635
5636  am_cv_CC_dependencies_compiler_type=none
5637  if test "$am_compiler_list" = ""; then
5638     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5639  fi
5640  am__universal=false
5641  case " $depcc " in #(
5642     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5643     esac
5644
5645  for depmode in $am_compiler_list; do
5646    # Setup a source with many dependencies, because some compilers
5647    # like to wrap large dependency lists on column 80 (with \), and
5648    # we should not choose a depcomp mode which is confused by this.
5649    #
5650    # We need to recreate these files for each test, as the compiler may
5651    # overwrite some of them when testing with obscure command lines.
5652    # This happens at least with the AIX C compiler.
5653    : > sub/conftest.c
5654    for i in 1 2 3 4 5 6; do
5655      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5656      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5657      # Solaris 10 /bin/sh.
5658      echo '/* dummy */' > sub/conftst$i.h
5659    done
5660    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5661
5662    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5663    # mode.  It turns out that the SunPro C++ compiler does not properly
5664    # handle '-M -o', and we need to detect this.  Also, some Intel
5665    # versions had trouble with output in subdirs.
5666    am__obj=sub/conftest.${OBJEXT-o}
5667    am__minus_obj="-o $am__obj"
5668    case $depmode in
5669    gcc)
5670      # This depmode causes a compiler race in universal mode.
5671      test "$am__universal" = false || continue
5672      ;;
5673    nosideeffect)
5674      # After this tag, mechanisms are not by side-effect, so they'll
5675      # only be used when explicitly requested.
5676      if test "x$enable_dependency_tracking" = xyes; then
5677	continue
5678      else
5679	break
5680      fi
5681      ;;
5682    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5683      # This compiler won't grok '-c -o', but also, the minuso test has
5684      # not run yet.  These depmodes are late enough in the game, and
5685      # so weak that their functioning should not be impacted.
5686      am__obj=conftest.${OBJEXT-o}
5687      am__minus_obj=
5688      ;;
5689    none) break ;;
5690    esac
5691    if depmode=$depmode \
5692       source=sub/conftest.c object=$am__obj \
5693       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5694       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5695         >/dev/null 2>conftest.err &&
5696       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5697       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5698       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5699       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5700      # icc doesn't choke on unknown options, it will just issue warnings
5701      # or remarks (even with -Werror).  So we grep stderr for any message
5702      # that says an option was ignored or not supported.
5703      # When given -MP, icc 7.0 and 7.1 complain thusly:
5704      #   icc: Command line warning: ignoring option '-M'; no argument required
5705      # The diagnosis changed in icc 8.0:
5706      #   icc: Command line remark: option '-MP' not supported
5707      if (grep 'ignoring option' conftest.err ||
5708          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5709        am_cv_CC_dependencies_compiler_type=$depmode
5710        break
5711      fi
5712    fi
5713  done
5714
5715  cd ..
5716  rm -rf conftest.dir
5717else
5718  am_cv_CC_dependencies_compiler_type=none
5719fi
5720
5721fi
5722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5723$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5724CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5725
5726 if
5727  test "x$enable_dependency_tracking" != xno \
5728  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5729  am__fastdepCC_TRUE=
5730  am__fastdepCC_FALSE='#'
5731else
5732  am__fastdepCC_TRUE='#'
5733  am__fastdepCC_FALSE=
5734fi
5735
5736
5737
5738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_compressBlock in -lbz2" >&5
5739$as_echo_n "checking for BZ2_compressBlock in -lbz2... " >&6; }
5740if ${ac_cv_lib_bz2_BZ2_compressBlock+:} false; then :
5741  $as_echo_n "(cached) " >&6
5742else
5743  ac_check_lib_save_LIBS=$LIBS
5744LIBS="-lbz2  $LIBS"
5745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746/* end confdefs.h.  */
5747
5748/* Override any GCC internal prototype to avoid an error.
5749   Use char because int might match the return type of a GCC
5750   builtin and then its argument prototype would still apply.  */
5751#ifdef __cplusplus
5752extern "C"
5753#endif
5754char BZ2_compressBlock ();
5755int
5756main ()
5757{
5758return BZ2_compressBlock ();
5759  ;
5760  return 0;
5761}
5762_ACEOF
5763if ac_fn_c_try_link "$LINENO"; then :
5764  ac_cv_lib_bz2_BZ2_compressBlock=yes
5765else
5766  ac_cv_lib_bz2_BZ2_compressBlock=no
5767fi
5768rm -f core conftest.err conftest.$ac_objext \
5769    conftest$ac_exeext conftest.$ac_ext
5770LIBS=$ac_check_lib_save_LIBS
5771fi
5772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_compressBlock" >&5
5773$as_echo "$ac_cv_lib_bz2_BZ2_compressBlock" >&6; }
5774if test "x$ac_cv_lib_bz2_BZ2_compressBlock" = xyes; then :
5775  cat >>confdefs.h <<_ACEOF
5776#define HAVE_LIBBZ2 1
5777_ACEOF
5778
5779  LIBS="-lbz2 $LIBS"
5780
5781else
5782  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need to install libbz2" >&5
5783$as_echo "$as_me: WARNING: You need to install libbz2" >&2;}; LACK_LIBBZ2=1
5784fi
5785
5786
5787# http://www.wxwidgets.org/wiki/index.php/Autoconf
5788
5789
5790# Check whether --with-wxdir was given.
5791if test "${with_wxdir+set}" = set; then :
5792  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
5793                  wx_config_args="--inplace"
5794fi
5795
5796
5797# Check whether --with-wx-config was given.
5798if test "${with_wx_config+set}" = set; then :
5799  withval=$with_wx_config; wx_config_name="$withval"
5800fi
5801
5802
5803# Check whether --with-wx-prefix was given.
5804if test "${with_wx_prefix+set}" = set; then :
5805  withval=$with_wx_prefix; wx_config_prefix="$withval"
5806else
5807  wx_config_prefix=""
5808fi
5809
5810
5811# Check whether --with-wx-exec-prefix was given.
5812if test "${with_wx_exec_prefix+set}" = set; then :
5813  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
5814else
5815  wx_config_exec_prefix=""
5816fi
5817
5818
5819reqwx=3.0.0
5820if test x"$enable_static" = x"yes"; then
5821# Not using $WX_LIBS_STATIC (deprecated anyway) because CFLAGS also
5822# change, using '--static' instead:
5823
5824
5825    if test x${WX_CONFIG_NAME+set} != xset ; then
5826     WX_CONFIG_NAME=wx-config
5827  fi
5828
5829  if test "x$wx_config_name" != x ; then
5830     WX_CONFIG_NAME="$wx_config_name"
5831  fi
5832
5833    if test x$wx_config_exec_prefix != x ; then
5834     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
5835     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
5836  fi
5837  if test x$wx_config_prefix != x ; then
5838     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
5839     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
5840  fi
5841  if test "$cross_compiling" = "yes"; then
5842     wx_config_args="$wx_config_args --host=$host_alias"
5843  fi
5844
5845    if test -x "$WX_CONFIG_NAME" ; then
5846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
5847$as_echo_n "checking for wx-config... " >&6; }
5848     WX_CONFIG_PATH="$WX_CONFIG_NAME"
5849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5850$as_echo "$WX_CONFIG_PATH" >&6; }
5851  else
5852     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
5853set dummy $WX_CONFIG_NAME; ac_word=$2
5854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855$as_echo_n "checking for $ac_word... " >&6; }
5856if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
5857  $as_echo_n "(cached) " >&6
5858else
5859  case $WX_CONFIG_PATH in
5860  [\\/]* | ?:[\\/]*)
5861  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
5862  ;;
5863  *)
5864  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865as_dummy=""$WX_LOOKUP_PATH:$PATH""
5866for as_dir in $as_dummy
5867do
5868  IFS=$as_save_IFS
5869  test -z "$as_dir" && as_dir=.
5870    for ac_exec_ext in '' $ac_executable_extensions; do
5871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
5873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874    break 2
5875  fi
5876done
5877  done
5878IFS=$as_save_IFS
5879
5880  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
5881  ;;
5882esac
5883fi
5884WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
5885if test -n "$WX_CONFIG_PATH"; then
5886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
5887$as_echo "$WX_CONFIG_PATH" >&6; }
5888else
5889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890$as_echo "no" >&6; }
5891fi
5892
5893
5894  fi
5895
5896  if test "$WX_CONFIG_PATH" != "no" ; then
5897    WX_VERSION=""
5898
5899    min_wx_version=$reqwx
5900    if test -z "--static" ; then
5901      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
5902$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
5903    else
5904      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version (--static)" >&5
5905$as_echo_n "checking for wxWidgets version >= $min_wx_version (--static)... " >&6; }
5906    fi
5907
5908            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --static"
5909
5910    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
5911    wx_config_major_version=`echo $WX_VERSION | \
5912           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5913    wx_config_minor_version=`echo $WX_VERSION | \
5914           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5915    wx_config_micro_version=`echo $WX_VERSION | \
5916           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5917
5918    wx_requested_major_version=`echo $min_wx_version | \
5919           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5920    wx_requested_minor_version=`echo $min_wx_version | \
5921           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5922    wx_requested_micro_version=`echo $min_wx_version | \
5923           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5924
5925
5926    wx_ver_ok=""
5927    if test "x$WX_VERSION" != x ; then
5928      if test $wx_config_major_version -gt $wx_requested_major_version; then
5929        wx_ver_ok=yes
5930      else
5931        if test $wx_config_major_version -eq $wx_requested_major_version; then
5932           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
5933              wx_ver_ok=yes
5934           else
5935              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
5936                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
5937                    wx_ver_ok=yes
5938                 fi
5939              fi
5940           fi
5941        fi
5942      fi
5943    fi
5944
5945
5946    if test -n "$wx_ver_ok"; then
5947      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
5948$as_echo "yes (version $WX_VERSION)" >&6; }
5949      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs core`
5950
5951                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
5952$as_echo_n "checking for wxWidgets static library... " >&6; }
5953      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs core 2>/dev/null`
5954      if test "x$WX_LIBS_STATIC" = "x"; then
5955        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956$as_echo "no" >&6; }
5957      else
5958        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5959$as_echo "yes" >&6; }
5960      fi
5961
5962            wx_has_cppflags=""
5963      if test $wx_config_major_version -gt 2; then
5964        wx_has_cppflags=yes
5965      else
5966        if test $wx_config_major_version -eq 2; then
5967           if test $wx_config_minor_version -gt 2; then
5968              wx_has_cppflags=yes
5969           else
5970              if test $wx_config_minor_version -eq 2; then
5971                 if test $wx_config_micro_version -ge 6; then
5972                    wx_has_cppflags=yes
5973                 fi
5974              fi
5975           fi
5976        fi
5977      fi
5978
5979            wx_has_rescomp=""
5980      if test $wx_config_major_version -gt 2; then
5981        wx_has_rescomp=yes
5982      else
5983        if test $wx_config_major_version -eq 2; then
5984           if test $wx_config_minor_version -ge 7; then
5985              wx_has_rescomp=yes
5986           fi
5987        fi
5988      fi
5989      if test "x$wx_has_rescomp" = x ; then
5990                  WX_RESCOMP=
5991      else
5992         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
5993      fi
5994
5995      if test "x$wx_has_cppflags" = x ; then
5996                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core`
5997         WX_CPPFLAGS=$WX_CFLAGS
5998         WX_CXXFLAGS=$WX_CFLAGS
5999
6000         WX_CFLAGS_ONLY=$WX_CFLAGS
6001         WX_CXXFLAGS_ONLY=$WX_CFLAGS
6002      else
6003                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags core`
6004         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags core`
6005         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core`
6006
6007         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
6008         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
6009      fi
6010
6011      wxWin=1
6012
6013    else
6014
6015       if test "x$WX_VERSION" = x; then
6016                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017$as_echo "no" >&6; }
6018       else
6019          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
6020$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
6021       fi
6022
6023       WX_CFLAGS=""
6024       WX_CPPFLAGS=""
6025       WX_CXXFLAGS=""
6026       WX_LIBS=""
6027       WX_LIBS_STATIC=""
6028       WX_RESCOMP=""
6029
6030       if test ! -z "--static"; then
6031
6032          wx_error_message="
6033    The configuration you asked for $PACKAGE_NAME requires a wxWidgets
6034    build with the following settings:
6035        --static
6036    but such build is not available.
6037
6038    To see the wxWidgets builds available on this system, please use
6039    'wx-config --list' command. To use the default build, returned by
6040    'wx-config --selected-config', use the options with their 'auto'
6041    default values."
6042
6043       fi
6044
6045       wx_error_message="
6046    The requested wxWidgets build couldn't be found.
6047    $wx_error_message
6048
6049    If you still get this error, then check that 'wx-config' is
6050    in path, the directory where wxWidgets libraries are installed
6051    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
6052    or equivalent variable and wxWidgets version is $reqwx or above."
6053
6054       wxWin=0
6055
6056    fi
6057  else
6058
6059    WX_CFLAGS=""
6060    WX_CPPFLAGS=""
6061    WX_CXXFLAGS=""
6062    WX_LIBS=""
6063    WX_LIBS_STATIC=""
6064    WX_RESCOMP=""
6065
6066    wxWin=0
6067
6068  fi
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080      WX_VERSION_MAJOR="$wx_config_major_version"
6081  WX_VERSION_MINOR="$wx_config_minor_version"
6082  WX_VERSION_MICRO="$wx_config_micro_version"
6083
6084
6085
6086
6087
6088else
6089
6090
6091    if test x${WX_CONFIG_NAME+set} != xset ; then
6092     WX_CONFIG_NAME=wx-config
6093  fi
6094
6095  if test "x$wx_config_name" != x ; then
6096     WX_CONFIG_NAME="$wx_config_name"
6097  fi
6098
6099    if test x$wx_config_exec_prefix != x ; then
6100     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
6101     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
6102  fi
6103  if test x$wx_config_prefix != x ; then
6104     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
6105     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
6106  fi
6107  if test "$cross_compiling" = "yes"; then
6108     wx_config_args="$wx_config_args --host=$host_alias"
6109  fi
6110
6111    if test -x "$WX_CONFIG_NAME" ; then
6112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
6113$as_echo_n "checking for wx-config... " >&6; }
6114     WX_CONFIG_PATH="$WX_CONFIG_NAME"
6115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
6116$as_echo "$WX_CONFIG_PATH" >&6; }
6117  else
6118     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
6119set dummy $WX_CONFIG_NAME; ac_word=$2
6120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121$as_echo_n "checking for $ac_word... " >&6; }
6122if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
6123  $as_echo_n "(cached) " >&6
6124else
6125  case $WX_CONFIG_PATH in
6126  [\\/]* | ?:[\\/]*)
6127  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
6128  ;;
6129  *)
6130  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131as_dummy=""$WX_LOOKUP_PATH:$PATH""
6132for as_dir in $as_dummy
6133do
6134  IFS=$as_save_IFS
6135  test -z "$as_dir" && as_dir=.
6136    for ac_exec_ext in '' $ac_executable_extensions; do
6137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6138    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
6139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140    break 2
6141  fi
6142done
6143  done
6144IFS=$as_save_IFS
6145
6146  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
6147  ;;
6148esac
6149fi
6150WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
6151if test -n "$WX_CONFIG_PATH"; then
6152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
6153$as_echo "$WX_CONFIG_PATH" >&6; }
6154else
6155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156$as_echo "no" >&6; }
6157fi
6158
6159
6160  fi
6161
6162  if test "$WX_CONFIG_PATH" != "no" ; then
6163    WX_VERSION=""
6164
6165    min_wx_version=$reqwx
6166    if test -z "" ; then
6167      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
6168$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
6169    else
6170      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
6171$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
6172    fi
6173
6174            WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
6175
6176    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
6177    wx_config_major_version=`echo $WX_VERSION | \
6178           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6179    wx_config_minor_version=`echo $WX_VERSION | \
6180           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6181    wx_config_micro_version=`echo $WX_VERSION | \
6182           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6183
6184    wx_requested_major_version=`echo $min_wx_version | \
6185           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6186    wx_requested_minor_version=`echo $min_wx_version | \
6187           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6188    wx_requested_micro_version=`echo $min_wx_version | \
6189           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6190
6191
6192    wx_ver_ok=""
6193    if test "x$WX_VERSION" != x ; then
6194      if test $wx_config_major_version -gt $wx_requested_major_version; then
6195        wx_ver_ok=yes
6196      else
6197        if test $wx_config_major_version -eq $wx_requested_major_version; then
6198           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
6199              wx_ver_ok=yes
6200           else
6201              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
6202                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
6203                    wx_ver_ok=yes
6204                 fi
6205              fi
6206           fi
6207        fi
6208      fi
6209    fi
6210
6211
6212    if test -n "$wx_ver_ok"; then
6213      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
6214$as_echo "yes (version $WX_VERSION)" >&6; }
6215      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs core`
6216
6217                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
6218$as_echo_n "checking for wxWidgets static library... " >&6; }
6219      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs core 2>/dev/null`
6220      if test "x$WX_LIBS_STATIC" = "x"; then
6221        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222$as_echo "no" >&6; }
6223      else
6224        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6225$as_echo "yes" >&6; }
6226      fi
6227
6228            wx_has_cppflags=""
6229      if test $wx_config_major_version -gt 2; then
6230        wx_has_cppflags=yes
6231      else
6232        if test $wx_config_major_version -eq 2; then
6233           if test $wx_config_minor_version -gt 2; then
6234              wx_has_cppflags=yes
6235           else
6236              if test $wx_config_minor_version -eq 2; then
6237                 if test $wx_config_micro_version -ge 6; then
6238                    wx_has_cppflags=yes
6239                 fi
6240              fi
6241           fi
6242        fi
6243      fi
6244
6245            wx_has_rescomp=""
6246      if test $wx_config_major_version -gt 2; then
6247        wx_has_rescomp=yes
6248      else
6249        if test $wx_config_major_version -eq 2; then
6250           if test $wx_config_minor_version -ge 7; then
6251              wx_has_rescomp=yes
6252           fi
6253        fi
6254      fi
6255      if test "x$wx_has_rescomp" = x ; then
6256                  WX_RESCOMP=
6257      else
6258         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
6259      fi
6260
6261      if test "x$wx_has_cppflags" = x ; then
6262                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core`
6263         WX_CPPFLAGS=$WX_CFLAGS
6264         WX_CXXFLAGS=$WX_CFLAGS
6265
6266         WX_CFLAGS_ONLY=$WX_CFLAGS
6267         WX_CXXFLAGS_ONLY=$WX_CFLAGS
6268      else
6269                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags core`
6270         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags core`
6271         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core`
6272
6273         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
6274         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
6275      fi
6276
6277      wxWin=1
6278
6279    else
6280
6281       if test "x$WX_VERSION" = x; then
6282                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283$as_echo "no" >&6; }
6284       else
6285          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
6286$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
6287       fi
6288
6289       WX_CFLAGS=""
6290       WX_CPPFLAGS=""
6291       WX_CXXFLAGS=""
6292       WX_LIBS=""
6293       WX_LIBS_STATIC=""
6294       WX_RESCOMP=""
6295
6296       if test ! -z ""; then
6297
6298          wx_error_message="
6299    The configuration you asked for $PACKAGE_NAME requires a wxWidgets
6300    build with the following settings:
6301
6302    but such build is not available.
6303
6304    To see the wxWidgets builds available on this system, please use
6305    'wx-config --list' command. To use the default build, returned by
6306    'wx-config --selected-config', use the options with their 'auto'
6307    default values."
6308
6309       fi
6310
6311       wx_error_message="
6312    The requested wxWidgets build couldn't be found.
6313    $wx_error_message
6314
6315    If you still get this error, then check that 'wx-config' is
6316    in path, the directory where wxWidgets libraries are installed
6317    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
6318    or equivalent variable and wxWidgets version is $reqwx or above."
6319
6320       wxWin=0
6321
6322    fi
6323  else
6324
6325    WX_CFLAGS=""
6326    WX_CPPFLAGS=""
6327    WX_CXXFLAGS=""
6328    WX_LIBS=""
6329    WX_LIBS_STATIC=""
6330    WX_RESCOMP=""
6331
6332    wxWin=0
6333
6334  fi
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346      WX_VERSION_MAJOR="$wx_config_major_version"
6347  WX_VERSION_MINOR="$wx_config_minor_version"
6348  WX_VERSION_MICRO="$wx_config_micro_version"
6349
6350
6351
6352
6353
6354fi
6355
6356if test "$wxWin" != 1; then
6357	as_fn_error $? "
6358		wxWidgets must be installed on your system.
6359
6360		Please check that wx-config is in path, the directory
6361		where wxWidgets libraries are installed (returned by
6362		'wx-config --libs' or 'wx-config --static --libs' command)
6363		is in LD_LIBRARY_PATH or equivalent variable and
6364		wxWidgets version is $reqwx or above.
6365		" "$LINENO" 5
6366fi
6367
6368CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
6369CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
6370CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
6371LIBS="$LIBS $WX_LIBS"
6372
6373# <from autoscan>
6374# Checks for header files.
6375ac_header_dirent=no
6376for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6377  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6379$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6380if eval \${$as_ac_Header+:} false; then :
6381  $as_echo_n "(cached) " >&6
6382else
6383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384/* end confdefs.h.  */
6385#include <sys/types.h>
6386#include <$ac_hdr>
6387
6388int
6389main ()
6390{
6391if ((DIR *) 0)
6392return 0;
6393  ;
6394  return 0;
6395}
6396_ACEOF
6397if ac_fn_c_try_compile "$LINENO"; then :
6398  eval "$as_ac_Header=yes"
6399else
6400  eval "$as_ac_Header=no"
6401fi
6402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403fi
6404eval ac_res=\$$as_ac_Header
6405	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6406$as_echo "$ac_res" >&6; }
6407if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6408  cat >>confdefs.h <<_ACEOF
6409#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6410_ACEOF
6411
6412ac_header_dirent=$ac_hdr; break
6413fi
6414
6415done
6416# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6417if test $ac_header_dirent = dirent.h; then
6418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6419$as_echo_n "checking for library containing opendir... " >&6; }
6420if ${ac_cv_search_opendir+:} false; then :
6421  $as_echo_n "(cached) " >&6
6422else
6423  ac_func_search_save_LIBS=$LIBS
6424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425/* end confdefs.h.  */
6426
6427/* Override any GCC internal prototype to avoid an error.
6428   Use char because int might match the return type of a GCC
6429   builtin and then its argument prototype would still apply.  */
6430#ifdef __cplusplus
6431extern "C"
6432#endif
6433char opendir ();
6434int
6435main ()
6436{
6437return opendir ();
6438  ;
6439  return 0;
6440}
6441_ACEOF
6442for ac_lib in '' dir; do
6443  if test -z "$ac_lib"; then
6444    ac_res="none required"
6445  else
6446    ac_res=-l$ac_lib
6447    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6448  fi
6449  if ac_fn_c_try_link "$LINENO"; then :
6450  ac_cv_search_opendir=$ac_res
6451fi
6452rm -f core conftest.err conftest.$ac_objext \
6453    conftest$ac_exeext
6454  if ${ac_cv_search_opendir+:} false; then :
6455  break
6456fi
6457done
6458if ${ac_cv_search_opendir+:} false; then :
6459
6460else
6461  ac_cv_search_opendir=no
6462fi
6463rm conftest.$ac_ext
6464LIBS=$ac_func_search_save_LIBS
6465fi
6466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6467$as_echo "$ac_cv_search_opendir" >&6; }
6468ac_res=$ac_cv_search_opendir
6469if test "$ac_res" != no; then :
6470  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6471
6472fi
6473
6474else
6475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6476$as_echo_n "checking for library containing opendir... " >&6; }
6477if ${ac_cv_search_opendir+:} false; then :
6478  $as_echo_n "(cached) " >&6
6479else
6480  ac_func_search_save_LIBS=$LIBS
6481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482/* end confdefs.h.  */
6483
6484/* Override any GCC internal prototype to avoid an error.
6485   Use char because int might match the return type of a GCC
6486   builtin and then its argument prototype would still apply.  */
6487#ifdef __cplusplus
6488extern "C"
6489#endif
6490char opendir ();
6491int
6492main ()
6493{
6494return opendir ();
6495  ;
6496  return 0;
6497}
6498_ACEOF
6499for ac_lib in '' x; do
6500  if test -z "$ac_lib"; then
6501    ac_res="none required"
6502  else
6503    ac_res=-l$ac_lib
6504    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6505  fi
6506  if ac_fn_c_try_link "$LINENO"; then :
6507  ac_cv_search_opendir=$ac_res
6508fi
6509rm -f core conftest.err conftest.$ac_objext \
6510    conftest$ac_exeext
6511  if ${ac_cv_search_opendir+:} false; then :
6512  break
6513fi
6514done
6515if ${ac_cv_search_opendir+:} false; then :
6516
6517else
6518  ac_cv_search_opendir=no
6519fi
6520rm conftest.$ac_ext
6521LIBS=$ac_func_search_save_LIBS
6522fi
6523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6524$as_echo "$ac_cv_search_opendir" >&6; }
6525ac_res=$ac_cv_search_opendir
6526if test "$ac_res" != no; then :
6527  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6528
6529fi
6530
6531fi
6532
6533
6534# Checks for typedefs, structures, and compiler characteristics.
6535ac_ext=c
6536ac_cpp='$CPP $CPPFLAGS'
6537ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6538ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6539ac_compiler_gnu=$ac_cv_c_compiler_gnu
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6541$as_echo_n "checking how to run the C preprocessor... " >&6; }
6542# On Suns, sometimes $CPP names a directory.
6543if test -n "$CPP" && test -d "$CPP"; then
6544  CPP=
6545fi
6546if test -z "$CPP"; then
6547  if ${ac_cv_prog_CPP+:} false; then :
6548  $as_echo_n "(cached) " >&6
6549else
6550      # Double quotes because CPP needs to be expanded
6551    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6552    do
6553      ac_preproc_ok=false
6554for ac_c_preproc_warn_flag in '' yes
6555do
6556  # Use a header file that comes with gcc, so configuring glibc
6557  # with a fresh cross-compiler works.
6558  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6559  # <limits.h> exists even on freestanding compilers.
6560  # On the NeXT, cc -E runs the code through the compiler's parser,
6561  # not just through cpp. "Syntax error" is here to catch this case.
6562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563/* end confdefs.h.  */
6564#ifdef __STDC__
6565# include <limits.h>
6566#else
6567# include <assert.h>
6568#endif
6569		     Syntax error
6570_ACEOF
6571if ac_fn_c_try_cpp "$LINENO"; then :
6572
6573else
6574  # Broken: fails on valid input.
6575continue
6576fi
6577rm -f conftest.err conftest.i conftest.$ac_ext
6578
6579  # OK, works on sane cases.  Now check whether nonexistent headers
6580  # can be detected and how.
6581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582/* end confdefs.h.  */
6583#include <ac_nonexistent.h>
6584_ACEOF
6585if ac_fn_c_try_cpp "$LINENO"; then :
6586  # Broken: success on invalid input.
6587continue
6588else
6589  # Passes both tests.
6590ac_preproc_ok=:
6591break
6592fi
6593rm -f conftest.err conftest.i conftest.$ac_ext
6594
6595done
6596# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6597rm -f conftest.i conftest.err conftest.$ac_ext
6598if $ac_preproc_ok; then :
6599  break
6600fi
6601
6602    done
6603    ac_cv_prog_CPP=$CPP
6604
6605fi
6606  CPP=$ac_cv_prog_CPP
6607else
6608  ac_cv_prog_CPP=$CPP
6609fi
6610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6611$as_echo "$CPP" >&6; }
6612ac_preproc_ok=false
6613for ac_c_preproc_warn_flag in '' yes
6614do
6615  # Use a header file that comes with gcc, so configuring glibc
6616  # with a fresh cross-compiler works.
6617  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6618  # <limits.h> exists even on freestanding compilers.
6619  # On the NeXT, cc -E runs the code through the compiler's parser,
6620  # not just through cpp. "Syntax error" is here to catch this case.
6621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622/* end confdefs.h.  */
6623#ifdef __STDC__
6624# include <limits.h>
6625#else
6626# include <assert.h>
6627#endif
6628		     Syntax error
6629_ACEOF
6630if ac_fn_c_try_cpp "$LINENO"; then :
6631
6632else
6633  # Broken: fails on valid input.
6634continue
6635fi
6636rm -f conftest.err conftest.i conftest.$ac_ext
6637
6638  # OK, works on sane cases.  Now check whether nonexistent headers
6639  # can be detected and how.
6640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641/* end confdefs.h.  */
6642#include <ac_nonexistent.h>
6643_ACEOF
6644if ac_fn_c_try_cpp "$LINENO"; then :
6645  # Broken: success on invalid input.
6646continue
6647else
6648  # Passes both tests.
6649ac_preproc_ok=:
6650break
6651fi
6652rm -f conftest.err conftest.i conftest.$ac_ext
6653
6654done
6655# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6656rm -f conftest.i conftest.err conftest.$ac_ext
6657if $ac_preproc_ok; then :
6658
6659else
6660  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6662as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6663See \`config.log' for more details" "$LINENO" 5; }
6664fi
6665
6666ac_ext=c
6667ac_cpp='$CPP $CPPFLAGS'
6668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6670ac_compiler_gnu=$ac_cv_c_compiler_gnu
6671
6672
6673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6674$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6675if ${ac_cv_path_GREP+:} false; then :
6676  $as_echo_n "(cached) " >&6
6677else
6678  if test -z "$GREP"; then
6679  ac_path_GREP_found=false
6680  # Loop through the user's path and test for each of PROGNAME-LIST
6681  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6683do
6684  IFS=$as_save_IFS
6685  test -z "$as_dir" && as_dir=.
6686    for ac_prog in grep ggrep; do
6687    for ac_exec_ext in '' $ac_executable_extensions; do
6688      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6689      as_fn_executable_p "$ac_path_GREP" || continue
6690# Check for GNU ac_path_GREP and select it if it is found.
6691  # Check for GNU $ac_path_GREP
6692case `"$ac_path_GREP" --version 2>&1` in
6693*GNU*)
6694  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6695*)
6696  ac_count=0
6697  $as_echo_n 0123456789 >"conftest.in"
6698  while :
6699  do
6700    cat "conftest.in" "conftest.in" >"conftest.tmp"
6701    mv "conftest.tmp" "conftest.in"
6702    cp "conftest.in" "conftest.nl"
6703    $as_echo 'GREP' >> "conftest.nl"
6704    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6705    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6706    as_fn_arith $ac_count + 1 && ac_count=$as_val
6707    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6708      # Best one so far, save it but keep looking for a better one
6709      ac_cv_path_GREP="$ac_path_GREP"
6710      ac_path_GREP_max=$ac_count
6711    fi
6712    # 10*(2^10) chars as input seems more than enough
6713    test $ac_count -gt 10 && break
6714  done
6715  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6716esac
6717
6718      $ac_path_GREP_found && break 3
6719    done
6720  done
6721  done
6722IFS=$as_save_IFS
6723  if test -z "$ac_cv_path_GREP"; then
6724    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6725  fi
6726else
6727  ac_cv_path_GREP=$GREP
6728fi
6729
6730fi
6731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6732$as_echo "$ac_cv_path_GREP" >&6; }
6733 GREP="$ac_cv_path_GREP"
6734
6735
6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6737$as_echo_n "checking for egrep... " >&6; }
6738if ${ac_cv_path_EGREP+:} false; then :
6739  $as_echo_n "(cached) " >&6
6740else
6741  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6742   then ac_cv_path_EGREP="$GREP -E"
6743   else
6744     if test -z "$EGREP"; then
6745  ac_path_EGREP_found=false
6746  # Loop through the user's path and test for each of PROGNAME-LIST
6747  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6749do
6750  IFS=$as_save_IFS
6751  test -z "$as_dir" && as_dir=.
6752    for ac_prog in egrep; do
6753    for ac_exec_ext in '' $ac_executable_extensions; do
6754      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6755      as_fn_executable_p "$ac_path_EGREP" || continue
6756# Check for GNU ac_path_EGREP and select it if it is found.
6757  # Check for GNU $ac_path_EGREP
6758case `"$ac_path_EGREP" --version 2>&1` in
6759*GNU*)
6760  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6761*)
6762  ac_count=0
6763  $as_echo_n 0123456789 >"conftest.in"
6764  while :
6765  do
6766    cat "conftest.in" "conftest.in" >"conftest.tmp"
6767    mv "conftest.tmp" "conftest.in"
6768    cp "conftest.in" "conftest.nl"
6769    $as_echo 'EGREP' >> "conftest.nl"
6770    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6771    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6772    as_fn_arith $ac_count + 1 && ac_count=$as_val
6773    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6774      # Best one so far, save it but keep looking for a better one
6775      ac_cv_path_EGREP="$ac_path_EGREP"
6776      ac_path_EGREP_max=$ac_count
6777    fi
6778    # 10*(2^10) chars as input seems more than enough
6779    test $ac_count -gt 10 && break
6780  done
6781  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6782esac
6783
6784      $ac_path_EGREP_found && break 3
6785    done
6786  done
6787  done
6788IFS=$as_save_IFS
6789  if test -z "$ac_cv_path_EGREP"; then
6790    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6791  fi
6792else
6793  ac_cv_path_EGREP=$EGREP
6794fi
6795
6796   fi
6797fi
6798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6799$as_echo "$ac_cv_path_EGREP" >&6; }
6800 EGREP="$ac_cv_path_EGREP"
6801
6802
6803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6804$as_echo_n "checking for ANSI C header files... " >&6; }
6805if ${ac_cv_header_stdc+:} false; then :
6806  $as_echo_n "(cached) " >&6
6807else
6808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6809/* end confdefs.h.  */
6810#include <stdlib.h>
6811#include <stdarg.h>
6812#include <string.h>
6813#include <float.h>
6814
6815int
6816main ()
6817{
6818
6819  ;
6820  return 0;
6821}
6822_ACEOF
6823if ac_fn_c_try_compile "$LINENO"; then :
6824  ac_cv_header_stdc=yes
6825else
6826  ac_cv_header_stdc=no
6827fi
6828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6829
6830if test $ac_cv_header_stdc = yes; then
6831  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833/* end confdefs.h.  */
6834#include <string.h>
6835
6836_ACEOF
6837if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6838  $EGREP "memchr" >/dev/null 2>&1; then :
6839
6840else
6841  ac_cv_header_stdc=no
6842fi
6843rm -f conftest*
6844
6845fi
6846
6847if test $ac_cv_header_stdc = yes; then
6848  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850/* end confdefs.h.  */
6851#include <stdlib.h>
6852
6853_ACEOF
6854if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6855  $EGREP "free" >/dev/null 2>&1; then :
6856
6857else
6858  ac_cv_header_stdc=no
6859fi
6860rm -f conftest*
6861
6862fi
6863
6864if test $ac_cv_header_stdc = yes; then
6865  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6866  if test "$cross_compiling" = yes; then :
6867  :
6868else
6869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870/* end confdefs.h.  */
6871#include <ctype.h>
6872#include <stdlib.h>
6873#if ((' ' & 0x0FF) == 0x020)
6874# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6875# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6876#else
6877# define ISLOWER(c) \
6878		   (('a' <= (c) && (c) <= 'i') \
6879		     || ('j' <= (c) && (c) <= 'r') \
6880		     || ('s' <= (c) && (c) <= 'z'))
6881# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6882#endif
6883
6884#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6885int
6886main ()
6887{
6888  int i;
6889  for (i = 0; i < 256; i++)
6890    if (XOR (islower (i), ISLOWER (i))
6891	|| toupper (i) != TOUPPER (i))
6892      return 2;
6893  return 0;
6894}
6895_ACEOF
6896if ac_fn_c_try_run "$LINENO"; then :
6897
6898else
6899  ac_cv_header_stdc=no
6900fi
6901rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6902  conftest.$ac_objext conftest.beam conftest.$ac_ext
6903fi
6904
6905fi
6906fi
6907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6908$as_echo "$ac_cv_header_stdc" >&6; }
6909if test $ac_cv_header_stdc = yes; then
6910
6911$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6912
6913fi
6914
6915# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6916for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6917		  inttypes.h stdint.h unistd.h
6918do :
6919  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6920ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6921"
6922if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6923  cat >>confdefs.h <<_ACEOF
6924#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6925_ACEOF
6926
6927fi
6928
6929done
6930
6931
6932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6933$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6934if ${ac_cv_header_stdbool_h+:} false; then :
6935  $as_echo_n "(cached) " >&6
6936else
6937  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938/* end confdefs.h.  */
6939
6940             #include <stdbool.h>
6941             #ifndef bool
6942              "error: bool is not defined"
6943             #endif
6944             #ifndef false
6945              "error: false is not defined"
6946             #endif
6947             #if false
6948              "error: false is not 0"
6949             #endif
6950             #ifndef true
6951              "error: true is not defined"
6952             #endif
6953             #if true != 1
6954              "error: true is not 1"
6955             #endif
6956             #ifndef __bool_true_false_are_defined
6957              "error: __bool_true_false_are_defined is not defined"
6958             #endif
6959
6960             struct s { _Bool s: 1; _Bool t; } s;
6961
6962             char a[true == 1 ? 1 : -1];
6963             char b[false == 0 ? 1 : -1];
6964             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6965             char d[(bool) 0.5 == true ? 1 : -1];
6966             /* See body of main program for 'e'.  */
6967             char f[(_Bool) 0.0 == false ? 1 : -1];
6968             char g[true];
6969             char h[sizeof (_Bool)];
6970             char i[sizeof s.t];
6971             enum { j = false, k = true, l = false * true, m = true * 256 };
6972             /* The following fails for
6973                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6974             _Bool n[m];
6975             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6976             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6977             /* Catch a bug in an HP-UX C compiler.  See
6978                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6979                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6980              */
6981             _Bool q = true;
6982             _Bool *pq = &q;
6983
6984int
6985main ()
6986{
6987
6988             bool e = &s;
6989             *pq |= q;
6990             *pq |= ! q;
6991             /* Refer to every declared value, to avoid compiler optimizations.  */
6992             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6993                     + !m + !n + !o + !p + !q + !pq);
6994
6995  ;
6996  return 0;
6997}
6998_ACEOF
6999if ac_fn_c_try_compile "$LINENO"; then :
7000  ac_cv_header_stdbool_h=yes
7001else
7002  ac_cv_header_stdbool_h=no
7003fi
7004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005fi
7006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7007$as_echo "$ac_cv_header_stdbool_h" >&6; }
7008   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7009if test "x$ac_cv_type__Bool" = xyes; then :
7010
7011cat >>confdefs.h <<_ACEOF
7012#define HAVE__BOOL 1
7013_ACEOF
7014
7015
7016fi
7017
7018
7019if test $ac_cv_header_stdbool_h = yes; then
7020
7021$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7022
7023fi
7024
7025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7026$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7027if ${ac_cv_c_const+:} false; then :
7028  $as_echo_n "(cached) " >&6
7029else
7030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031/* end confdefs.h.  */
7032
7033int
7034main ()
7035{
7036
7037#ifndef __cplusplus
7038  /* Ultrix mips cc rejects this sort of thing.  */
7039  typedef int charset[2];
7040  const charset cs = { 0, 0 };
7041  /* SunOS 4.1.1 cc rejects this.  */
7042  char const *const *pcpcc;
7043  char **ppc;
7044  /* NEC SVR4.0.2 mips cc rejects this.  */
7045  struct point {int x, y;};
7046  static struct point const zero = {0,0};
7047  /* AIX XL C 1.02.0.0 rejects this.
7048     It does not let you subtract one const X* pointer from another in
7049     an arm of an if-expression whose if-part is not a constant
7050     expression */
7051  const char *g = "string";
7052  pcpcc = &g + (g ? g-g : 0);
7053  /* HPUX 7.0 cc rejects these. */
7054  ++pcpcc;
7055  ppc = (char**) pcpcc;
7056  pcpcc = (char const *const *) ppc;
7057  { /* SCO 3.2v4 cc rejects this sort of thing.  */
7058    char tx;
7059    char *t = &tx;
7060    char const *s = 0 ? (char *) 0 : (char const *) 0;
7061
7062    *t++ = 0;
7063    if (s) return 0;
7064  }
7065  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7066    int x[] = {25, 17};
7067    const int *foo = &x[0];
7068    ++foo;
7069  }
7070  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7071    typedef const int *iptr;
7072    iptr p = 0;
7073    ++p;
7074  }
7075  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7076       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7077    struct s { int j; const int *ap[3]; } bx;
7078    struct s *b = &bx; b->j = 5;
7079  }
7080  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7081    const int foo = 10;
7082    if (!foo) return 0;
7083  }
7084  return !cs[0] && !zero.x;
7085#endif
7086
7087  ;
7088  return 0;
7089}
7090_ACEOF
7091if ac_fn_c_try_compile "$LINENO"; then :
7092  ac_cv_c_const=yes
7093else
7094  ac_cv_c_const=no
7095fi
7096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097fi
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7099$as_echo "$ac_cv_c_const" >&6; }
7100if test $ac_cv_c_const = no; then
7101
7102$as_echo "#define const /**/" >>confdefs.h
7103
7104fi
7105
7106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7107$as_echo_n "checking for inline... " >&6; }
7108if ${ac_cv_c_inline+:} false; then :
7109  $as_echo_n "(cached) " >&6
7110else
7111  ac_cv_c_inline=no
7112for ac_kw in inline __inline__ __inline; do
7113  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114/* end confdefs.h.  */
7115#ifndef __cplusplus
7116typedef int foo_t;
7117static $ac_kw foo_t static_foo () {return 0; }
7118$ac_kw foo_t foo () {return 0; }
7119#endif
7120
7121_ACEOF
7122if ac_fn_c_try_compile "$LINENO"; then :
7123  ac_cv_c_inline=$ac_kw
7124fi
7125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7126  test "$ac_cv_c_inline" != no && break
7127done
7128
7129fi
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7131$as_echo "$ac_cv_c_inline" >&6; }
7132
7133case $ac_cv_c_inline in
7134  inline | yes) ;;
7135  *)
7136    case $ac_cv_c_inline in
7137      no) ac_val=;;
7138      *) ac_val=$ac_cv_c_inline;;
7139    esac
7140    cat >>confdefs.h <<_ACEOF
7141#ifndef __cplusplus
7142#define inline $ac_val
7143#endif
7144_ACEOF
7145    ;;
7146esac
7147
7148ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7149if test "x$ac_cv_type_size_t" = xyes; then :
7150
7151else
7152
7153cat >>confdefs.h <<_ACEOF
7154#define size_t unsigned int
7155_ACEOF
7156
7157fi
7158
7159
7160# Checks for library functions.
7161#AC_FUNC_MALLOC
7162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7163$as_echo_n "checking for ANSI C header files... " >&6; }
7164if ${ac_cv_header_stdc+:} false; then :
7165  $as_echo_n "(cached) " >&6
7166else
7167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168/* end confdefs.h.  */
7169#include <stdlib.h>
7170#include <stdarg.h>
7171#include <string.h>
7172#include <float.h>
7173
7174int
7175main ()
7176{
7177
7178  ;
7179  return 0;
7180}
7181_ACEOF
7182if ac_fn_c_try_compile "$LINENO"; then :
7183  ac_cv_header_stdc=yes
7184else
7185  ac_cv_header_stdc=no
7186fi
7187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7188
7189if test $ac_cv_header_stdc = yes; then
7190  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192/* end confdefs.h.  */
7193#include <string.h>
7194
7195_ACEOF
7196if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7197  $EGREP "memchr" >/dev/null 2>&1; then :
7198
7199else
7200  ac_cv_header_stdc=no
7201fi
7202rm -f conftest*
7203
7204fi
7205
7206if test $ac_cv_header_stdc = yes; then
7207  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7208  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209/* end confdefs.h.  */
7210#include <stdlib.h>
7211
7212_ACEOF
7213if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7214  $EGREP "free" >/dev/null 2>&1; then :
7215
7216else
7217  ac_cv_header_stdc=no
7218fi
7219rm -f conftest*
7220
7221fi
7222
7223if test $ac_cv_header_stdc = yes; then
7224  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7225  if test "$cross_compiling" = yes; then :
7226  :
7227else
7228  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229/* end confdefs.h.  */
7230#include <ctype.h>
7231#include <stdlib.h>
7232#if ((' ' & 0x0FF) == 0x020)
7233# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7234# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7235#else
7236# define ISLOWER(c) \
7237		   (('a' <= (c) && (c) <= 'i') \
7238		     || ('j' <= (c) && (c) <= 'r') \
7239		     || ('s' <= (c) && (c) <= 'z'))
7240# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7241#endif
7242
7243#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7244int
7245main ()
7246{
7247  int i;
7248  for (i = 0; i < 256; i++)
7249    if (XOR (islower (i), ISLOWER (i))
7250	|| toupper (i) != TOUPPER (i))
7251      return 2;
7252  return 0;
7253}
7254_ACEOF
7255if ac_fn_c_try_run "$LINENO"; then :
7256
7257else
7258  ac_cv_header_stdc=no
7259fi
7260rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7261  conftest.$ac_objext conftest.beam conftest.$ac_ext
7262fi
7263
7264fi
7265fi
7266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7267$as_echo "$ac_cv_header_stdc" >&6; }
7268if test $ac_cv_header_stdc = yes; then
7269
7270$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7271
7272fi
7273
7274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7275$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
7276if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
7277  $as_echo_n "(cached) " >&6
7278else
7279  rm -f conftest.sym conftest.file
7280echo >conftest.file
7281if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7282  if test "$cross_compiling" = yes; then :
7283  ac_cv_func_lstat_dereferences_slashed_symlink=no
7284else
7285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286/* end confdefs.h.  */
7287$ac_includes_default
7288int
7289main ()
7290{
7291struct stat sbuf;
7292     /* Linux will dereference the symlink and fail, as required by POSIX.
7293	That is better in the sense that it means we will not
7294	have to compile and use the lstat wrapper.  */
7295     return lstat ("conftest.sym/", &sbuf) == 0;
7296  ;
7297  return 0;
7298}
7299_ACEOF
7300if ac_fn_c_try_run "$LINENO"; then :
7301  ac_cv_func_lstat_dereferences_slashed_symlink=yes
7302else
7303  ac_cv_func_lstat_dereferences_slashed_symlink=no
7304fi
7305rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7306  conftest.$ac_objext conftest.beam conftest.$ac_ext
7307fi
7308
7309else
7310  # If the `ln -s' command failed, then we probably don't even
7311  # have an lstat function.
7312  ac_cv_func_lstat_dereferences_slashed_symlink=no
7313fi
7314rm -f conftest.sym conftest.file
7315
7316fi
7317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7318$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7319
7320test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7321
7322cat >>confdefs.h <<_ACEOF
7323#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7324_ACEOF
7325
7326
7327if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7328  case " $LIBOBJS " in
7329  *" lstat.$ac_objext "* ) ;;
7330  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
7331 ;;
7332esac
7333
7334fi
7335
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7337$as_echo_n "checking whether stat accepts an empty string... " >&6; }
7338if ${ac_cv_func_stat_empty_string_bug+:} false; then :
7339  $as_echo_n "(cached) " >&6
7340else
7341  if test "$cross_compiling" = yes; then :
7342  ac_cv_func_stat_empty_string_bug=yes
7343else
7344  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7345/* end confdefs.h.  */
7346$ac_includes_default
7347int
7348main ()
7349{
7350struct stat sbuf;
7351  return stat ("", &sbuf) == 0;
7352  ;
7353  return 0;
7354}
7355_ACEOF
7356if ac_fn_c_try_run "$LINENO"; then :
7357  ac_cv_func_stat_empty_string_bug=no
7358else
7359  ac_cv_func_stat_empty_string_bug=yes
7360fi
7361rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7362  conftest.$ac_objext conftest.beam conftest.$ac_ext
7363fi
7364
7365fi
7366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7367$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
7368if test $ac_cv_func_stat_empty_string_bug = yes; then
7369  case " $LIBOBJS " in
7370  *" stat.$ac_objext "* ) ;;
7371  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7372 ;;
7373esac
7374
7375
7376cat >>confdefs.h <<_ACEOF
7377#define HAVE_STAT_EMPTY_STRING_BUG 1
7378_ACEOF
7379
7380fi
7381
7382for ac_func in memset pow
7383do :
7384  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7385ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7386if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7387  cat >>confdefs.h <<_ACEOF
7388#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7389_ACEOF
7390
7391fi
7392done
7393
7394# </from autoscan>
7395
7396# Efficient I/O block size (not available under woe) (BZip.cpp)
7397ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
7398if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7399
7400cat >>confdefs.h <<_ACEOF
7401#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7402_ACEOF
7403
7404
7405fi
7406
7407
7408
7409# Remove mingwm10.dll dependency for static builds
7410# http://www.sourceware.org/ml/pthreads-win32/2000/msg00141.html
7411# http://www.thelins.se/johan/2006/11/installing-compressing-and-being.html
7412if test x"$enable_static" = x"yes"; then
7413    case "${host}" in
7414    *-*-go32* | *-mingw32* | *-*-cygwin* | *-*-windows*)
7415        LIBS="`echo $LIBS | sed 's/-mthreads //'`"
7416	# Needed for 2.6.4:
7417        CXXFLAGS="`echo $CXXFLAGS | sed 's/-mthreads //'`"
7418        ;;
7419    esac
7420fi
7421
7422error=0
7423
7424if test "$LACK_LIBBZ2" = 1; then
7425   echo "* Error: you need to install the libbz2 library (for compression)";
7426   error=1
7427fi
7428
7429if test "$enable_upx" = "yes" -a -z "$UPX"; then
7430  echo "* Error: UPX is explicitely activated (--enable-upx) but cannot be found"
7431  error=1
7432fi
7433
7434if test "$LACK_WXGLADE" = 1; then
7435   echo "* Warning: you may need to install wxGlade (if you're a developer)";
7436fi
7437
7438if test $error -eq 1; then
7439  exit 1
7440fi
7441
7442ac_config_files="$ac_config_files Makefile share/Makefile src/Makefile src/woeres.rc po/Makefile.in"
7443
7444cat >confcache <<\_ACEOF
7445# This file is a shell script that caches the results of configure
7446# tests run on this system so they can be shared between configure
7447# scripts and configure runs, see configure's option --config-cache.
7448# It is not useful on other systems.  If it contains results you don't
7449# want to keep, you may remove or edit it.
7450#
7451# config.status only pays attention to the cache file if you give it
7452# the --recheck option to rerun configure.
7453#
7454# `ac_cv_env_foo' variables (set or unset) will be overridden when
7455# loading this file, other *unset* `ac_cv_foo' will be assigned the
7456# following values.
7457
7458_ACEOF
7459
7460# The following way of writing the cache mishandles newlines in values,
7461# but we know of no workaround that is simple, portable, and efficient.
7462# So, we kill variables containing newlines.
7463# Ultrix sh set writes to stderr and can't be redirected directly,
7464# and sets the high bit in the cache file unless we assign to the vars.
7465(
7466  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7467    eval ac_val=\$$ac_var
7468    case $ac_val in #(
7469    *${as_nl}*)
7470      case $ac_var in #(
7471      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7472$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7473      esac
7474      case $ac_var in #(
7475      _ | IFS | as_nl) ;; #(
7476      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7477      *) { eval $ac_var=; unset $ac_var;} ;;
7478      esac ;;
7479    esac
7480  done
7481
7482  (set) 2>&1 |
7483    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7484    *${as_nl}ac_space=\ *)
7485      # `set' does not quote correctly, so add quotes: double-quote
7486      # substitution turns \\\\ into \\, and sed turns \\ into \.
7487      sed -n \
7488	"s/'/'\\\\''/g;
7489	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7490      ;; #(
7491    *)
7492      # `set' quotes correctly as required by POSIX, so do not add quotes.
7493      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7494      ;;
7495    esac |
7496    sort
7497) |
7498  sed '
7499     /^ac_cv_env_/b end
7500     t clear
7501     :clear
7502     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7503     t end
7504     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7505     :end' >>confcache
7506if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7507  if test -w "$cache_file"; then
7508    if test "x$cache_file" != "x/dev/null"; then
7509      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7510$as_echo "$as_me: updating cache $cache_file" >&6;}
7511      if test ! -f "$cache_file" || test -h "$cache_file"; then
7512	cat confcache >"$cache_file"
7513      else
7514        case $cache_file in #(
7515        */* | ?:*)
7516	  mv -f confcache "$cache_file"$$ &&
7517	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7518        *)
7519	  mv -f confcache "$cache_file" ;;
7520	esac
7521      fi
7522    fi
7523  else
7524    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7525$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7526  fi
7527fi
7528rm -f confcache
7529
7530test "x$prefix" = xNONE && prefix=$ac_default_prefix
7531# Let make expand exec_prefix.
7532test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7533
7534DEFS=-DHAVE_CONFIG_H
7535
7536ac_libobjs=
7537ac_ltlibobjs=
7538U=
7539for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7540  # 1. Remove the extension, and $U if already installed.
7541  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7542  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7543  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7544  #    will be set to the directory where LIBOBJS objects are built.
7545  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7546  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7547done
7548LIBOBJS=$ac_libobjs
7549
7550LTLIBOBJS=$ac_ltlibobjs
7551
7552
7553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7554$as_echo_n "checking that generated files are newer than configure... " >&6; }
7555   if test -n "$am_sleep_pid"; then
7556     # Hide warnings about reused PIDs.
7557     wait $am_sleep_pid 2>/dev/null
7558   fi
7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7560$as_echo "done" >&6; }
7561 if test -n "$EXEEXT"; then
7562  am__EXEEXT_TRUE=
7563  am__EXEEXT_FALSE='#'
7564else
7565  am__EXEEXT_TRUE='#'
7566  am__EXEEXT_FALSE=
7567fi
7568
7569
7570  ac_config_commands="$ac_config_commands po/stamp-it"
7571
7572
7573if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7574  as_fn_error $? "conditional \"AMDEP\" was never defined.
7575Usually this means the macro was only invoked conditionally." "$LINENO" 5
7576fi
7577if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7578  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7579Usually this means the macro was only invoked conditionally." "$LINENO" 5
7580fi
7581if test -z "${HAVE_WXGLADE_TRUE}" && test -z "${HAVE_WXGLADE_FALSE}"; then
7582  as_fn_error $? "conditional \"HAVE_WXGLADE\" was never defined.
7583Usually this means the macro was only invoked conditionally." "$LINENO" 5
7584fi
7585if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
7586  as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
7587Usually this means the macro was only invoked conditionally." "$LINENO" 5
7588fi
7589if test -z "${HAVE_UPX_TRUE}" && test -z "${HAVE_UPX_FALSE}"; then
7590  as_fn_error $? "conditional \"HAVE_UPX\" was never defined.
7591Usually this means the macro was only invoked conditionally." "$LINENO" 5
7592fi
7593if test -z "${HAVE_XDG_TRUE}" && test -z "${HAVE_XDG_FALSE}"; then
7594  as_fn_error $? "conditional \"HAVE_XDG\" was never defined.
7595Usually this means the macro was only invoked conditionally." "$LINENO" 5
7596fi
7597if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7598  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7599Usually this means the macro was only invoked conditionally." "$LINENO" 5
7600fi
7601
7602: "${CONFIG_STATUS=./config.status}"
7603ac_write_fail=0
7604ac_clean_files_save=$ac_clean_files
7605ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7606{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7607$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7608as_write_fail=0
7609cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7610#! $SHELL
7611# Generated by $as_me.
7612# Run this file to recreate the current configuration.
7613# Compiler output produced by configure, useful for debugging
7614# configure, is in config.log if it exists.
7615
7616debug=false
7617ac_cs_recheck=false
7618ac_cs_silent=false
7619
7620SHELL=\${CONFIG_SHELL-$SHELL}
7621export SHELL
7622_ASEOF
7623cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7624## -------------------- ##
7625## M4sh Initialization. ##
7626## -------------------- ##
7627
7628# Be more Bourne compatible
7629DUALCASE=1; export DUALCASE # for MKS sh
7630if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7631  emulate sh
7632  NULLCMD=:
7633  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7634  # is contrary to our usage.  Disable this feature.
7635  alias -g '${1+"$@"}'='"$@"'
7636  setopt NO_GLOB_SUBST
7637else
7638  case `(set -o) 2>/dev/null` in #(
7639  *posix*) :
7640    set -o posix ;; #(
7641  *) :
7642     ;;
7643esac
7644fi
7645
7646
7647as_nl='
7648'
7649export as_nl
7650# Printing a long string crashes Solaris 7 /usr/bin/printf.
7651as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7652as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7653as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7654# Prefer a ksh shell builtin over an external printf program on Solaris,
7655# but without wasting forks for bash or zsh.
7656if test -z "$BASH_VERSION$ZSH_VERSION" \
7657    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7658  as_echo='print -r --'
7659  as_echo_n='print -rn --'
7660elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7661  as_echo='printf %s\n'
7662  as_echo_n='printf %s'
7663else
7664  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7665    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7666    as_echo_n='/usr/ucb/echo -n'
7667  else
7668    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7669    as_echo_n_body='eval
7670      arg=$1;
7671      case $arg in #(
7672      *"$as_nl"*)
7673	expr "X$arg" : "X\\(.*\\)$as_nl";
7674	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7675      esac;
7676      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7677    '
7678    export as_echo_n_body
7679    as_echo_n='sh -c $as_echo_n_body as_echo'
7680  fi
7681  export as_echo_body
7682  as_echo='sh -c $as_echo_body as_echo'
7683fi
7684
7685# The user is always right.
7686if test "${PATH_SEPARATOR+set}" != set; then
7687  PATH_SEPARATOR=:
7688  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7689    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7690      PATH_SEPARATOR=';'
7691  }
7692fi
7693
7694
7695# IFS
7696# We need space, tab and new line, in precisely that order.  Quoting is
7697# there to prevent editors from complaining about space-tab.
7698# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7699# splitting by setting IFS to empty value.)
7700IFS=" ""	$as_nl"
7701
7702# Find who we are.  Look in the path if we contain no directory separator.
7703as_myself=
7704case $0 in #((
7705  *[\\/]* ) as_myself=$0 ;;
7706  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7707for as_dir in $PATH
7708do
7709  IFS=$as_save_IFS
7710  test -z "$as_dir" && as_dir=.
7711    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7712  done
7713IFS=$as_save_IFS
7714
7715     ;;
7716esac
7717# We did not find ourselves, most probably we were run as `sh COMMAND'
7718# in which case we are not to be found in the path.
7719if test "x$as_myself" = x; then
7720  as_myself=$0
7721fi
7722if test ! -f "$as_myself"; then
7723  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7724  exit 1
7725fi
7726
7727# Unset variables that we do not need and which cause bugs (e.g. in
7728# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7729# suppresses any "Segmentation fault" message there.  '((' could
7730# trigger a bug in pdksh 5.2.14.
7731for as_var in BASH_ENV ENV MAIL MAILPATH
7732do eval test x\${$as_var+set} = xset \
7733  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7734done
7735PS1='$ '
7736PS2='> '
7737PS4='+ '
7738
7739# NLS nuisances.
7740LC_ALL=C
7741export LC_ALL
7742LANGUAGE=C
7743export LANGUAGE
7744
7745# CDPATH.
7746(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7747
7748
7749# as_fn_error STATUS ERROR [LINENO LOG_FD]
7750# ----------------------------------------
7751# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7752# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7753# script with STATUS, using 1 if that was 0.
7754as_fn_error ()
7755{
7756  as_status=$1; test $as_status -eq 0 && as_status=1
7757  if test "$4"; then
7758    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7759    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7760  fi
7761  $as_echo "$as_me: error: $2" >&2
7762  as_fn_exit $as_status
7763} # as_fn_error
7764
7765
7766# as_fn_set_status STATUS
7767# -----------------------
7768# Set $? to STATUS, without forking.
7769as_fn_set_status ()
7770{
7771  return $1
7772} # as_fn_set_status
7773
7774# as_fn_exit STATUS
7775# -----------------
7776# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7777as_fn_exit ()
7778{
7779  set +e
7780  as_fn_set_status $1
7781  exit $1
7782} # as_fn_exit
7783
7784# as_fn_unset VAR
7785# ---------------
7786# Portably unset VAR.
7787as_fn_unset ()
7788{
7789  { eval $1=; unset $1;}
7790}
7791as_unset=as_fn_unset
7792# as_fn_append VAR VALUE
7793# ----------------------
7794# Append the text in VALUE to the end of the definition contained in VAR. Take
7795# advantage of any shell optimizations that allow amortized linear growth over
7796# repeated appends, instead of the typical quadratic growth present in naive
7797# implementations.
7798if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7799  eval 'as_fn_append ()
7800  {
7801    eval $1+=\$2
7802  }'
7803else
7804  as_fn_append ()
7805  {
7806    eval $1=\$$1\$2
7807  }
7808fi # as_fn_append
7809
7810# as_fn_arith ARG...
7811# ------------------
7812# Perform arithmetic evaluation on the ARGs, and store the result in the
7813# global $as_val. Take advantage of shells that can avoid forks. The arguments
7814# must be portable across $(()) and expr.
7815if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7816  eval 'as_fn_arith ()
7817  {
7818    as_val=$(( $* ))
7819  }'
7820else
7821  as_fn_arith ()
7822  {
7823    as_val=`expr "$@" || test $? -eq 1`
7824  }
7825fi # as_fn_arith
7826
7827
7828if expr a : '\(a\)' >/dev/null 2>&1 &&
7829   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7830  as_expr=expr
7831else
7832  as_expr=false
7833fi
7834
7835if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7836  as_basename=basename
7837else
7838  as_basename=false
7839fi
7840
7841if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7842  as_dirname=dirname
7843else
7844  as_dirname=false
7845fi
7846
7847as_me=`$as_basename -- "$0" ||
7848$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7849	 X"$0" : 'X\(//\)$' \| \
7850	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7851$as_echo X/"$0" |
7852    sed '/^.*\/\([^/][^/]*\)\/*$/{
7853	    s//\1/
7854	    q
7855	  }
7856	  /^X\/\(\/\/\)$/{
7857	    s//\1/
7858	    q
7859	  }
7860	  /^X\/\(\/\).*/{
7861	    s//\1/
7862	    q
7863	  }
7864	  s/.*/./; q'`
7865
7866# Avoid depending upon Character Ranges.
7867as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7868as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7869as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7870as_cr_digits='0123456789'
7871as_cr_alnum=$as_cr_Letters$as_cr_digits
7872
7873ECHO_C= ECHO_N= ECHO_T=
7874case `echo -n x` in #(((((
7875-n*)
7876  case `echo 'xy\c'` in
7877  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7878  xy)  ECHO_C='\c';;
7879  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7880       ECHO_T='	';;
7881  esac;;
7882*)
7883  ECHO_N='-n';;
7884esac
7885
7886rm -f conf$$ conf$$.exe conf$$.file
7887if test -d conf$$.dir; then
7888  rm -f conf$$.dir/conf$$.file
7889else
7890  rm -f conf$$.dir
7891  mkdir conf$$.dir 2>/dev/null
7892fi
7893if (echo >conf$$.file) 2>/dev/null; then
7894  if ln -s conf$$.file conf$$ 2>/dev/null; then
7895    as_ln_s='ln -s'
7896    # ... but there are two gotchas:
7897    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7898    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7899    # In both cases, we have to default to `cp -pR'.
7900    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7901      as_ln_s='cp -pR'
7902  elif ln conf$$.file conf$$ 2>/dev/null; then
7903    as_ln_s=ln
7904  else
7905    as_ln_s='cp -pR'
7906  fi
7907else
7908  as_ln_s='cp -pR'
7909fi
7910rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7911rmdir conf$$.dir 2>/dev/null
7912
7913
7914# as_fn_mkdir_p
7915# -------------
7916# Create "$as_dir" as a directory, including parents if necessary.
7917as_fn_mkdir_p ()
7918{
7919
7920  case $as_dir in #(
7921  -*) as_dir=./$as_dir;;
7922  esac
7923  test -d "$as_dir" || eval $as_mkdir_p || {
7924    as_dirs=
7925    while :; do
7926      case $as_dir in #(
7927      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7928      *) as_qdir=$as_dir;;
7929      esac
7930      as_dirs="'$as_qdir' $as_dirs"
7931      as_dir=`$as_dirname -- "$as_dir" ||
7932$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7933	 X"$as_dir" : 'X\(//\)[^/]' \| \
7934	 X"$as_dir" : 'X\(//\)$' \| \
7935	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7936$as_echo X"$as_dir" |
7937    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7938	    s//\1/
7939	    q
7940	  }
7941	  /^X\(\/\/\)[^/].*/{
7942	    s//\1/
7943	    q
7944	  }
7945	  /^X\(\/\/\)$/{
7946	    s//\1/
7947	    q
7948	  }
7949	  /^X\(\/\).*/{
7950	    s//\1/
7951	    q
7952	  }
7953	  s/.*/./; q'`
7954      test -d "$as_dir" && break
7955    done
7956    test -z "$as_dirs" || eval "mkdir $as_dirs"
7957  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7958
7959
7960} # as_fn_mkdir_p
7961if mkdir -p . 2>/dev/null; then
7962  as_mkdir_p='mkdir -p "$as_dir"'
7963else
7964  test -d ./-p && rmdir ./-p
7965  as_mkdir_p=false
7966fi
7967
7968
7969# as_fn_executable_p FILE
7970# -----------------------
7971# Test if FILE is an executable regular file.
7972as_fn_executable_p ()
7973{
7974  test -f "$1" && test -x "$1"
7975} # as_fn_executable_p
7976as_test_x='test -x'
7977as_executable_p=as_fn_executable_p
7978
7979# Sed expression to map a string onto a valid CPP name.
7980as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7981
7982# Sed expression to map a string onto a valid variable name.
7983as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7984
7985
7986exec 6>&1
7987## ----------------------------------- ##
7988## Main body of $CONFIG_STATUS script. ##
7989## ----------------------------------- ##
7990_ASEOF
7991test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7992
7993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7994# Save the log message, to keep $0 and so on meaningful, and to
7995# report actual input values of CONFIG_FILES etc. instead of their
7996# values after options handling.
7997ac_log="
7998This file was extended by DFArc $as_me 3.14, which was
7999generated by GNU Autoconf 2.69.  Invocation command line was
8000
8001  CONFIG_FILES    = $CONFIG_FILES
8002  CONFIG_HEADERS  = $CONFIG_HEADERS
8003  CONFIG_LINKS    = $CONFIG_LINKS
8004  CONFIG_COMMANDS = $CONFIG_COMMANDS
8005  $ $0 $@
8006
8007on `(hostname || uname -n) 2>/dev/null | sed 1q`
8008"
8009
8010_ACEOF
8011
8012case $ac_config_files in *"
8013"*) set x $ac_config_files; shift; ac_config_files=$*;;
8014esac
8015
8016case $ac_config_headers in *"
8017"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8018esac
8019
8020
8021cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8022# Files that config.status was made for.
8023config_files="$ac_config_files"
8024config_headers="$ac_config_headers"
8025config_commands="$ac_config_commands"
8026
8027_ACEOF
8028
8029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8030ac_cs_usage="\
8031\`$as_me' instantiates files and other configuration actions
8032from templates according to the current configuration.  Unless the files
8033and actions are specified as TAGs, all are instantiated by default.
8034
8035Usage: $0 [OPTION]... [TAG]...
8036
8037  -h, --help       print this help, then exit
8038  -V, --version    print version number and configuration settings, then exit
8039      --config     print configuration, then exit
8040  -q, --quiet, --silent
8041                   do not print progress messages
8042  -d, --debug      don't remove temporary files
8043      --recheck    update $as_me by reconfiguring in the same conditions
8044      --file=FILE[:TEMPLATE]
8045                   instantiate the configuration file FILE
8046      --header=FILE[:TEMPLATE]
8047                   instantiate the configuration header FILE
8048
8049Configuration files:
8050$config_files
8051
8052Configuration headers:
8053$config_headers
8054
8055Configuration commands:
8056$config_commands
8057
8058Report bugs to <bug-freedink@gnu.org>."
8059
8060_ACEOF
8061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8062ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8063ac_cs_version="\\
8064DFArc config.status 3.14
8065configured by $0, generated by GNU Autoconf 2.69,
8066  with options \\"\$ac_cs_config\\"
8067
8068Copyright (C) 2012 Free Software Foundation, Inc.
8069This config.status script is free software; the Free Software Foundation
8070gives unlimited permission to copy, distribute and modify it."
8071
8072ac_pwd='$ac_pwd'
8073srcdir='$srcdir'
8074INSTALL='$INSTALL'
8075MKDIR_P='$MKDIR_P'
8076AWK='$AWK'
8077test -n "\$AWK" || AWK=awk
8078_ACEOF
8079
8080cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8081# The default lists apply if the user does not specify any file.
8082ac_need_defaults=:
8083while test $# != 0
8084do
8085  case $1 in
8086  --*=?*)
8087    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8088    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8089    ac_shift=:
8090    ;;
8091  --*=)
8092    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8093    ac_optarg=
8094    ac_shift=:
8095    ;;
8096  *)
8097    ac_option=$1
8098    ac_optarg=$2
8099    ac_shift=shift
8100    ;;
8101  esac
8102
8103  case $ac_option in
8104  # Handling of the options.
8105  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8106    ac_cs_recheck=: ;;
8107  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8108    $as_echo "$ac_cs_version"; exit ;;
8109  --config | --confi | --conf | --con | --co | --c )
8110    $as_echo "$ac_cs_config"; exit ;;
8111  --debug | --debu | --deb | --de | --d | -d )
8112    debug=: ;;
8113  --file | --fil | --fi | --f )
8114    $ac_shift
8115    case $ac_optarg in
8116    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8117    '') as_fn_error $? "missing file argument" ;;
8118    esac
8119    as_fn_append CONFIG_FILES " '$ac_optarg'"
8120    ac_need_defaults=false;;
8121  --header | --heade | --head | --hea )
8122    $ac_shift
8123    case $ac_optarg in
8124    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8125    esac
8126    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8127    ac_need_defaults=false;;
8128  --he | --h)
8129    # Conflict between --help and --header
8130    as_fn_error $? "ambiguous option: \`$1'
8131Try \`$0 --help' for more information.";;
8132  --help | --hel | -h )
8133    $as_echo "$ac_cs_usage"; exit ;;
8134  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8135  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8136    ac_cs_silent=: ;;
8137
8138  # This is an error.
8139  -*) as_fn_error $? "unrecognized option: \`$1'
8140Try \`$0 --help' for more information." ;;
8141
8142  *) as_fn_append ac_config_targets " $1"
8143     ac_need_defaults=false ;;
8144
8145  esac
8146  shift
8147done
8148
8149ac_configure_extra_args=
8150
8151if $ac_cs_silent; then
8152  exec 6>/dev/null
8153  ac_configure_extra_args="$ac_configure_extra_args --silent"
8154fi
8155
8156_ACEOF
8157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8158if \$ac_cs_recheck; then
8159  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8160  shift
8161  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8162  CONFIG_SHELL='$SHELL'
8163  export CONFIG_SHELL
8164  exec "\$@"
8165fi
8166
8167_ACEOF
8168cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8169exec 5>>config.log
8170{
8171  echo
8172  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8173## Running $as_me. ##
8174_ASBOX
8175  $as_echo "$ac_log"
8176} >&5
8177
8178_ACEOF
8179cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8180#
8181# INIT-COMMANDS
8182#
8183# Capture the value of obsolete ALL_LINGUAS because we need it to compute
8184    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8185    # from automake < 1.5.
8186    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8187    # Capture the value of LINGUAS because we need it to compute CATALOGS.
8188    LINGUAS="${LINGUAS-%UNSET%}"
8189
8190AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8191
8192_ACEOF
8193
8194cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8195
8196# Handling of arguments.
8197for ac_config_target in $ac_config_targets
8198do
8199  case $ac_config_target in
8200    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8201    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
8202    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8203    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8204    "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
8205    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8206    "src/woeres.rc") CONFIG_FILES="$CONFIG_FILES src/woeres.rc" ;;
8207    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8208    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8209
8210  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8211  esac
8212done
8213
8214
8215# If the user did not use the arguments to specify the items to instantiate,
8216# then the envvar interface is used.  Set only those that are not.
8217# We use the long form for the default assignment because of an extremely
8218# bizarre bug on SunOS 4.1.3.
8219if $ac_need_defaults; then
8220  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8221  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8222  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8223fi
8224
8225# Have a temporary directory for convenience.  Make it in the build tree
8226# simply because there is no reason against having it here, and in addition,
8227# creating and moving files from /tmp can sometimes cause problems.
8228# Hook for its removal unless debugging.
8229# Note that there is a small window in which the directory will not be cleaned:
8230# after its creation but before its name has been assigned to `$tmp'.
8231$debug ||
8232{
8233  tmp= ac_tmp=
8234  trap 'exit_status=$?
8235  : "${ac_tmp:=$tmp}"
8236  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8237' 0
8238  trap 'as_fn_exit 1' 1 2 13 15
8239}
8240# Create a (secure) tmp directory for tmp files.
8241
8242{
8243  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8244  test -d "$tmp"
8245}  ||
8246{
8247  tmp=./conf$$-$RANDOM
8248  (umask 077 && mkdir "$tmp")
8249} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8250ac_tmp=$tmp
8251
8252# Set up the scripts for CONFIG_FILES section.
8253# No need to generate them if there are no CONFIG_FILES.
8254# This happens for instance with `./config.status config.h'.
8255if test -n "$CONFIG_FILES"; then
8256
8257
8258ac_cr=`echo X | tr X '\015'`
8259# On cygwin, bash can eat \r inside `` if the user requested igncr.
8260# But we know of no other shell where ac_cr would be empty at this
8261# point, so we can use a bashism as a fallback.
8262if test "x$ac_cr" = x; then
8263  eval ac_cr=\$\'\\r\'
8264fi
8265ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8266if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8267  ac_cs_awk_cr='\\r'
8268else
8269  ac_cs_awk_cr=$ac_cr
8270fi
8271
8272echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8273_ACEOF
8274
8275
8276{
8277  echo "cat >conf$$subs.awk <<_ACEOF" &&
8278  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8279  echo "_ACEOF"
8280} >conf$$subs.sh ||
8281  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8282ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8283ac_delim='%!_!# '
8284for ac_last_try in false false false false false :; do
8285  . ./conf$$subs.sh ||
8286    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8287
8288  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8289  if test $ac_delim_n = $ac_delim_num; then
8290    break
8291  elif $ac_last_try; then
8292    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8293  else
8294    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8295  fi
8296done
8297rm -f conf$$subs.sh
8298
8299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8300cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8301_ACEOF
8302sed -n '
8303h
8304s/^/S["/; s/!.*/"]=/
8305p
8306g
8307s/^[^!]*!//
8308:repl
8309t repl
8310s/'"$ac_delim"'$//
8311t delim
8312:nl
8313h
8314s/\(.\{148\}\)..*/\1/
8315t more1
8316s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8317p
8318n
8319b repl
8320:more1
8321s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8322p
8323g
8324s/.\{148\}//
8325t nl
8326:delim
8327h
8328s/\(.\{148\}\)..*/\1/
8329t more2
8330s/["\\]/\\&/g; s/^/"/; s/$/"/
8331p
8332b
8333:more2
8334s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8335p
8336g
8337s/.\{148\}//
8338t delim
8339' <conf$$subs.awk | sed '
8340/^[^""]/{
8341  N
8342  s/\n//
8343}
8344' >>$CONFIG_STATUS || ac_write_fail=1
8345rm -f conf$$subs.awk
8346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8347_ACAWK
8348cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8349  for (key in S) S_is_set[key] = 1
8350  FS = ""
8351
8352}
8353{
8354  line = $ 0
8355  nfields = split(line, field, "@")
8356  substed = 0
8357  len = length(field[1])
8358  for (i = 2; i < nfields; i++) {
8359    key = field[i]
8360    keylen = length(key)
8361    if (S_is_set[key]) {
8362      value = S[key]
8363      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8364      len += length(value) + length(field[++i])
8365      substed = 1
8366    } else
8367      len += 1 + keylen
8368  }
8369
8370  print line
8371}
8372
8373_ACAWK
8374_ACEOF
8375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8376if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8377  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8378else
8379  cat
8380fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8381  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8382_ACEOF
8383
8384# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8385# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8386# trailing colons and then remove the whole line if VPATH becomes empty
8387# (actually we leave an empty line to preserve line numbers).
8388if test "x$srcdir" = x.; then
8389  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8390h
8391s///
8392s/^/:/
8393s/[	 ]*$/:/
8394s/:\$(srcdir):/:/g
8395s/:\${srcdir}:/:/g
8396s/:@srcdir@:/:/g
8397s/^:*//
8398s/:*$//
8399x
8400s/\(=[	 ]*\).*/\1/
8401G
8402s/\n//
8403s/^[^=]*=[	 ]*$//
8404}'
8405fi
8406
8407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8408fi # test -n "$CONFIG_FILES"
8409
8410# Set up the scripts for CONFIG_HEADERS section.
8411# No need to generate them if there are no CONFIG_HEADERS.
8412# This happens for instance with `./config.status Makefile'.
8413if test -n "$CONFIG_HEADERS"; then
8414cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8415BEGIN {
8416_ACEOF
8417
8418# Transform confdefs.h into an awk script `defines.awk', embedded as
8419# here-document in config.status, that substitutes the proper values into
8420# config.h.in to produce config.h.
8421
8422# Create a delimiter string that does not exist in confdefs.h, to ease
8423# handling of long lines.
8424ac_delim='%!_!# '
8425for ac_last_try in false false :; do
8426  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8427  if test -z "$ac_tt"; then
8428    break
8429  elif $ac_last_try; then
8430    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8431  else
8432    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8433  fi
8434done
8435
8436# For the awk script, D is an array of macro values keyed by name,
8437# likewise P contains macro parameters if any.  Preserve backslash
8438# newline sequences.
8439
8440ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8441sed -n '
8442s/.\{148\}/&'"$ac_delim"'/g
8443t rset
8444:rset
8445s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
8446t def
8447d
8448:def
8449s/\\$//
8450t bsnl
8451s/["\\]/\\&/g
8452s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8453D["\1"]=" \3"/p
8454s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
8455d
8456:bsnl
8457s/["\\]/\\&/g
8458s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8459D["\1"]=" \3\\\\\\n"\\/p
8460t cont
8461s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8462t cont
8463d
8464:cont
8465n
8466s/.\{148\}/&'"$ac_delim"'/g
8467t clear
8468:clear
8469s/\\$//
8470t bsnlc
8471s/["\\]/\\&/g; s/^/"/; s/$/"/p
8472d
8473:bsnlc
8474s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8475b cont
8476' <confdefs.h | sed '
8477s/'"$ac_delim"'/"\\\
8478"/g' >>$CONFIG_STATUS || ac_write_fail=1
8479
8480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8481  for (key in D) D_is_set[key] = 1
8482  FS = ""
8483}
8484/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8485  line = \$ 0
8486  split(line, arg, " ")
8487  if (arg[1] == "#") {
8488    defundef = arg[2]
8489    mac1 = arg[3]
8490  } else {
8491    defundef = substr(arg[1], 2)
8492    mac1 = arg[2]
8493  }
8494  split(mac1, mac2, "(") #)
8495  macro = mac2[1]
8496  prefix = substr(line, 1, index(line, defundef) - 1)
8497  if (D_is_set[macro]) {
8498    # Preserve the white space surrounding the "#".
8499    print prefix "define", macro P[macro] D[macro]
8500    next
8501  } else {
8502    # Replace #undef with comments.  This is necessary, for example,
8503    # in the case of _POSIX_SOURCE, which is predefined and required
8504    # on some systems where configure will not decide to define it.
8505    if (defundef == "undef") {
8506      print "/*", prefix defundef, macro, "*/"
8507      next
8508    }
8509  }
8510}
8511{ print }
8512_ACAWK
8513_ACEOF
8514cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8515  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8516fi # test -n "$CONFIG_HEADERS"
8517
8518
8519eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8520shift
8521for ac_tag
8522do
8523  case $ac_tag in
8524  :[FHLC]) ac_mode=$ac_tag; continue;;
8525  esac
8526  case $ac_mode$ac_tag in
8527  :[FHL]*:*);;
8528  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8529  :[FH]-) ac_tag=-:-;;
8530  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8531  esac
8532  ac_save_IFS=$IFS
8533  IFS=:
8534  set x $ac_tag
8535  IFS=$ac_save_IFS
8536  shift
8537  ac_file=$1
8538  shift
8539
8540  case $ac_mode in
8541  :L) ac_source=$1;;
8542  :[FH])
8543    ac_file_inputs=
8544    for ac_f
8545    do
8546      case $ac_f in
8547      -) ac_f="$ac_tmp/stdin";;
8548      *) # Look for the file first in the build tree, then in the source tree
8549	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8550	 # because $ac_f cannot contain `:'.
8551	 test -f "$ac_f" ||
8552	   case $ac_f in
8553	   [\\/$]*) false;;
8554	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8555	   esac ||
8556	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8557      esac
8558      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8559      as_fn_append ac_file_inputs " '$ac_f'"
8560    done
8561
8562    # Let's still pretend it is `configure' which instantiates (i.e., don't
8563    # use $as_me), people would be surprised to read:
8564    #    /* config.h.  Generated by config.status.  */
8565    configure_input='Generated from '`
8566	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8567	`' by configure.'
8568    if test x"$ac_file" != x-; then
8569      configure_input="$ac_file.  $configure_input"
8570      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8571$as_echo "$as_me: creating $ac_file" >&6;}
8572    fi
8573    # Neutralize special characters interpreted by sed in replacement strings.
8574    case $configure_input in #(
8575    *\&* | *\|* | *\\* )
8576       ac_sed_conf_input=`$as_echo "$configure_input" |
8577       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8578    *) ac_sed_conf_input=$configure_input;;
8579    esac
8580
8581    case $ac_tag in
8582    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8583      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8584    esac
8585    ;;
8586  esac
8587
8588  ac_dir=`$as_dirname -- "$ac_file" ||
8589$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8590	 X"$ac_file" : 'X\(//\)[^/]' \| \
8591	 X"$ac_file" : 'X\(//\)$' \| \
8592	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8593$as_echo X"$ac_file" |
8594    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8595	    s//\1/
8596	    q
8597	  }
8598	  /^X\(\/\/\)[^/].*/{
8599	    s//\1/
8600	    q
8601	  }
8602	  /^X\(\/\/\)$/{
8603	    s//\1/
8604	    q
8605	  }
8606	  /^X\(\/\).*/{
8607	    s//\1/
8608	    q
8609	  }
8610	  s/.*/./; q'`
8611  as_dir="$ac_dir"; as_fn_mkdir_p
8612  ac_builddir=.
8613
8614case "$ac_dir" in
8615.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8616*)
8617  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8618  # A ".." for each directory in $ac_dir_suffix.
8619  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8620  case $ac_top_builddir_sub in
8621  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8622  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8623  esac ;;
8624esac
8625ac_abs_top_builddir=$ac_pwd
8626ac_abs_builddir=$ac_pwd$ac_dir_suffix
8627# for backward compatibility:
8628ac_top_builddir=$ac_top_build_prefix
8629
8630case $srcdir in
8631  .)  # We are building in place.
8632    ac_srcdir=.
8633    ac_top_srcdir=$ac_top_builddir_sub
8634    ac_abs_top_srcdir=$ac_pwd ;;
8635  [\\/]* | ?:[\\/]* )  # Absolute name.
8636    ac_srcdir=$srcdir$ac_dir_suffix;
8637    ac_top_srcdir=$srcdir
8638    ac_abs_top_srcdir=$srcdir ;;
8639  *) # Relative name.
8640    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8641    ac_top_srcdir=$ac_top_build_prefix$srcdir
8642    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8643esac
8644ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8645
8646
8647  case $ac_mode in
8648  :F)
8649  #
8650  # CONFIG_FILE
8651  #
8652
8653  case $INSTALL in
8654  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8655  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8656  esac
8657  ac_MKDIR_P=$MKDIR_P
8658  case $MKDIR_P in
8659  [\\/$]* | ?:[\\/]* ) ;;
8660  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8661  esac
8662_ACEOF
8663
8664cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8665# If the template does not know about datarootdir, expand it.
8666# FIXME: This hack should be removed a few years after 2.60.
8667ac_datarootdir_hack=; ac_datarootdir_seen=
8668ac_sed_dataroot='
8669/datarootdir/ {
8670  p
8671  q
8672}
8673/@datadir@/p
8674/@docdir@/p
8675/@infodir@/p
8676/@localedir@/p
8677/@mandir@/p'
8678case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8679*datarootdir*) ac_datarootdir_seen=yes;;
8680*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8681  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8682$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8683_ACEOF
8684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8685  ac_datarootdir_hack='
8686  s&@datadir@&$datadir&g
8687  s&@docdir@&$docdir&g
8688  s&@infodir@&$infodir&g
8689  s&@localedir@&$localedir&g
8690  s&@mandir@&$mandir&g
8691  s&\\\${datarootdir}&$datarootdir&g' ;;
8692esac
8693_ACEOF
8694
8695# Neutralize VPATH when `$srcdir' = `.'.
8696# Shell code in configure.ac might set extrasub.
8697# FIXME: do we really want to maintain this feature?
8698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8699ac_sed_extra="$ac_vpsub
8700$extrasub
8701_ACEOF
8702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8703:t
8704/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8705s|@configure_input@|$ac_sed_conf_input|;t t
8706s&@top_builddir@&$ac_top_builddir_sub&;t t
8707s&@top_build_prefix@&$ac_top_build_prefix&;t t
8708s&@srcdir@&$ac_srcdir&;t t
8709s&@abs_srcdir@&$ac_abs_srcdir&;t t
8710s&@top_srcdir@&$ac_top_srcdir&;t t
8711s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8712s&@builddir@&$ac_builddir&;t t
8713s&@abs_builddir@&$ac_abs_builddir&;t t
8714s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8715s&@INSTALL@&$ac_INSTALL&;t t
8716s&@MKDIR_P@&$ac_MKDIR_P&;t t
8717$ac_datarootdir_hack
8718"
8719eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8720  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8721
8722test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8723  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8724  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8725      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8726  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8727which seems to be undefined.  Please make sure it is defined" >&5
8728$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8729which seems to be undefined.  Please make sure it is defined" >&2;}
8730
8731  rm -f "$ac_tmp/stdin"
8732  case $ac_file in
8733  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8734  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8735  esac \
8736  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8737 ;;
8738  :H)
8739  #
8740  # CONFIG_HEADER
8741  #
8742  if test x"$ac_file" != x-; then
8743    {
8744      $as_echo "/* $configure_input  */" \
8745      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8746    } >"$ac_tmp/config.h" \
8747      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8748    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8749      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8750$as_echo "$as_me: $ac_file is unchanged" >&6;}
8751    else
8752      rm -f "$ac_file"
8753      mv "$ac_tmp/config.h" "$ac_file" \
8754	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8755    fi
8756  else
8757    $as_echo "/* $configure_input  */" \
8758      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8759      || as_fn_error $? "could not create -" "$LINENO" 5
8760  fi
8761# Compute "$ac_file"'s index in $config_headers.
8762_am_arg="$ac_file"
8763_am_stamp_count=1
8764for _am_header in $config_headers :; do
8765  case $_am_header in
8766    $_am_arg | $_am_arg:* )
8767      break ;;
8768    * )
8769      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8770  esac
8771done
8772echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8773$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8774	 X"$_am_arg" : 'X\(//\)[^/]' \| \
8775	 X"$_am_arg" : 'X\(//\)$' \| \
8776	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8777$as_echo X"$_am_arg" |
8778    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8779	    s//\1/
8780	    q
8781	  }
8782	  /^X\(\/\/\)[^/].*/{
8783	    s//\1/
8784	    q
8785	  }
8786	  /^X\(\/\/\)$/{
8787	    s//\1/
8788	    q
8789	  }
8790	  /^X\(\/\).*/{
8791	    s//\1/
8792	    q
8793	  }
8794	  s/.*/./; q'`/stamp-h$_am_stamp_count
8795 ;;
8796
8797  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8798$as_echo "$as_me: executing $ac_file commands" >&6;}
8799 ;;
8800  esac
8801
8802
8803  case $ac_file$ac_mode in
8804    "po-directories":C)
8805    for ac_file in $CONFIG_FILES; do
8806      # Support "outfile[:infile[:infile...]]"
8807      case "$ac_file" in
8808        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8809      esac
8810      # PO directories have a Makefile.in generated from Makefile.in.in.
8811      case "$ac_file" in */Makefile.in)
8812        # Adjust a relative srcdir.
8813        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8814        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8815        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8816        # In autoconf-2.13 it is called $ac_given_srcdir.
8817        # In autoconf-2.50 it is called $srcdir.
8818        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8819        case "$ac_given_srcdir" in
8820          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8821          /*) top_srcdir="$ac_given_srcdir" ;;
8822          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
8823        esac
8824        # Treat a directory as a PO directory if and only if it has a
8825        # POTFILES.in file. This allows packages to have multiple PO
8826        # directories under different names or in different locations.
8827        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8828          rm -f "$ac_dir/POTFILES"
8829          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8830          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8831          POMAKEFILEDEPS="POTFILES.in"
8832          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8833          # on $ac_dir but don't depend on user-specified configuration
8834          # parameters.
8835          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8836            # The LINGUAS file contains the set of available languages.
8837            if test -n "$OBSOLETE_ALL_LINGUAS"; then
8838              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8839            fi
8840            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8841            # Hide the ALL_LINGUAS assigment from automake < 1.5.
8842            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8843            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8844          else
8845            # The set of available languages was given in configure.in.
8846            # Hide the ALL_LINGUAS assigment from automake < 1.5.
8847            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8848          fi
8849          # Compute POFILES
8850          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8851          # Compute UPDATEPOFILES
8852          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8853          # Compute DUMMYPOFILES
8854          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8855          # Compute GMOFILES
8856          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8857          case "$ac_given_srcdir" in
8858            .) srcdirpre= ;;
8859            *) srcdirpre='$(srcdir)/' ;;
8860          esac
8861          POFILES=
8862          UPDATEPOFILES=
8863          DUMMYPOFILES=
8864          GMOFILES=
8865          for lang in $ALL_LINGUAS; do
8866            POFILES="$POFILES $srcdirpre$lang.po"
8867            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8868            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8869            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8870          done
8871          # CATALOGS depends on both $ac_dir and the user's LINGUAS
8872          # environment variable.
8873          INST_LINGUAS=
8874          if test -n "$ALL_LINGUAS"; then
8875            for presentlang in $ALL_LINGUAS; do
8876              useit=no
8877              if test "%UNSET%" != "$LINGUAS"; then
8878                desiredlanguages="$LINGUAS"
8879              else
8880                desiredlanguages="$ALL_LINGUAS"
8881              fi
8882              for desiredlang in $desiredlanguages; do
8883                # Use the presentlang catalog if desiredlang is
8884                #   a. equal to presentlang, or
8885                #   b. a variant of presentlang (because in this case,
8886                #      presentlang can be used as a fallback for messages
8887                #      which are not translated in the desiredlang catalog).
8888                case "$desiredlang" in
8889                  "$presentlang"*) useit=yes;;
8890                esac
8891              done
8892              if test $useit = yes; then
8893                INST_LINGUAS="$INST_LINGUAS $presentlang"
8894              fi
8895            done
8896          fi
8897          CATALOGS=
8898          if test -n "$INST_LINGUAS"; then
8899            for lang in $INST_LINGUAS; do
8900              CATALOGS="$CATALOGS $lang.gmo"
8901            done
8902          fi
8903          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8904          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8905          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8906            if test -f "$f"; then
8907              case "$f" in
8908                *.orig | *.bak | *~) ;;
8909                *) cat "$f" >> "$ac_dir/Makefile" ;;
8910              esac
8911            fi
8912          done
8913        fi
8914        ;;
8915      esac
8916    done ;;
8917    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8918  # Older Autoconf quotes --file arguments for eval, but not when files
8919  # are listed without --file.  Let's play safe and only enable the eval
8920  # if we detect the quoting.
8921  case $CONFIG_FILES in
8922  *\'*) eval set x "$CONFIG_FILES" ;;
8923  *)   set x $CONFIG_FILES ;;
8924  esac
8925  shift
8926  for mf
8927  do
8928    # Strip MF so we end up with the name of the file.
8929    mf=`echo "$mf" | sed -e 's/:.*$//'`
8930    # Check whether this is an Automake generated Makefile or not.
8931    # We used to match only the files named 'Makefile.in', but
8932    # some people rename them; so instead we look at the file content.
8933    # Grep'ing the first line is not enough: some people post-process
8934    # each Makefile.in and add a new line on top of each file to say so.
8935    # Grep'ing the whole file is not good either: AIX grep has a line
8936    # limit of 2048, but all sed's we know have understand at least 4000.
8937    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8938      dirpart=`$as_dirname -- "$mf" ||
8939$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8940	 X"$mf" : 'X\(//\)[^/]' \| \
8941	 X"$mf" : 'X\(//\)$' \| \
8942	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8943$as_echo X"$mf" |
8944    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8945	    s//\1/
8946	    q
8947	  }
8948	  /^X\(\/\/\)[^/].*/{
8949	    s//\1/
8950	    q
8951	  }
8952	  /^X\(\/\/\)$/{
8953	    s//\1/
8954	    q
8955	  }
8956	  /^X\(\/\).*/{
8957	    s//\1/
8958	    q
8959	  }
8960	  s/.*/./; q'`
8961    else
8962      continue
8963    fi
8964    # Extract the definition of DEPDIR, am__include, and am__quote
8965    # from the Makefile without running 'make'.
8966    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8967    test -z "$DEPDIR" && continue
8968    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8969    test -z "$am__include" && continue
8970    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8971    # Find all dependency output files, they are included files with
8972    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8973    # simplest approach to changing $(DEPDIR) to its actual value in the
8974    # expansion.
8975    for file in `sed -n "
8976      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8977	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8978      # Make sure the directory exists.
8979      test -f "$dirpart/$file" && continue
8980      fdir=`$as_dirname -- "$file" ||
8981$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8982	 X"$file" : 'X\(//\)[^/]' \| \
8983	 X"$file" : 'X\(//\)$' \| \
8984	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8985$as_echo X"$file" |
8986    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8987	    s//\1/
8988	    q
8989	  }
8990	  /^X\(\/\/\)[^/].*/{
8991	    s//\1/
8992	    q
8993	  }
8994	  /^X\(\/\/\)$/{
8995	    s//\1/
8996	    q
8997	  }
8998	  /^X\(\/\).*/{
8999	    s//\1/
9000	    q
9001	  }
9002	  s/.*/./; q'`
9003      as_dir=$dirpart/$fdir; as_fn_mkdir_p
9004      # echo "creating $dirpart/$file"
9005      echo '# dummy' > "$dirpart/$file"
9006    done
9007  done
9008}
9009 ;;
9010    "po/stamp-it":C)
9011    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
9012       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
9013    fi
9014    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
9015    >"po/stamp-it.tmp"
9016    sed '/^#/d
9017	 s/^[[].*] *//
9018	 /^[ 	]*$/d
9019	'"s|^|	$ac_top_srcdir/|" \
9020      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
9021
9022    sed '/^POTFILES =/,/[^\\]$/ {
9023		/^POTFILES =/!d
9024		r po/POTFILES
9025	  }
9026	 ' "po/Makefile.in" >"po/Makefile"
9027    rm -f "po/Makefile.tmp"
9028    mv "po/stamp-it.tmp" "po/stamp-it"
9029   ;;
9030
9031  esac
9032done # for ac_tag
9033
9034
9035as_fn_exit 0
9036_ACEOF
9037ac_clean_files=$ac_clean_files_save
9038
9039test $ac_write_fail = 0 ||
9040  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9041
9042
9043# configure is writing to config.log, and then calls config.status.
9044# config.status does its own redirection, appending to config.log.
9045# Unfortunately, on DOS this fails, as config.log is still kept open
9046# by configure, so config.status won't be able to write to it; its
9047# output is simply discarded.  So we exec the FD to /dev/null,
9048# effectively closing config.log, so it can be properly (re)opened and
9049# appended to by config.status.  When coming back to configure, we
9050# need to make the FD available again.
9051if test "$no_create" != yes; then
9052  ac_cs_success=:
9053  ac_config_status_args=
9054  test "$silent" = yes &&
9055    ac_config_status_args="$ac_config_status_args --quiet"
9056  exec 5>/dev/null
9057  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9058  exec 5>>config.log
9059  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9060  # would make configure fail if this is the last instruction.
9061  $ac_cs_success || as_fn_exit 1
9062fi
9063if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9064  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9065$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9066fi
9067
9068
9069echo
9070echo "Options summary:"
9071echo "* --enable-upx=$enable_upx"
9072echo "* --enable-static=$enable_static"
9073echo
9074echo "Now you can type 'make' to compile $PACKAGE_STRING"
9075