1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for spek 0.8.2.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='spek'
578PACKAGE_TARNAME='spek'
579PACKAGE_VERSION='0.8.2'
580PACKAGE_STRING='spek 0.8.2'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_unique_file="src/spek.cc"
585ac_subst_vars='am__EXEEXT_FALSE
586am__EXEEXT_TRUE
587LTLIBOBJS
588LIBOBJS
589XGETTEXT_EXTRA_OPTIONS
590XGETTEXT_015
591GMSGFMT_015
592MSGFMT_015
593GETTEXT_MACRO_VERSION
594GETTEXT_PACKAGE
595WX_RESCOMP
596WX_VERSION
597WX_LIBS_STATIC
598WX_LIBS
599WX_CXXFLAGS_ONLY
600WX_CFLAGS_ONLY
601WX_CXXFLAGS
602WX_CFLAGS
603WX_CPPFLAGS
604WX_CONFIG_PATH
605FFMPEG_LIBS
606FFMPEG_CFLAGS
607PKG_CONFIG_LIBDIR
608PKG_CONFIG_PATH
609PKG_CONFIG
610USE_VALGRIND_FALSE
611USE_VALGRIND_TRUE
612HAVE_VALGRIND
613host_os
614host_vendor
615host_cpu
616host
617build_os
618build_vendor
619build_cpu
620build
621DATADIRNAME
622ALL_LINGUAS
623INTLTOOL_PERL
624GMSGFMT
625MSGFMT
626MSGMERGE
627XGETTEXT
628INTLTOOL_POLICY_RULE
629INTLTOOL_SERVICE_RULE
630INTLTOOL_THEME_RULE
631INTLTOOL_SCHEMAS_RULE
632INTLTOOL_CAVES_RULE
633INTLTOOL_XML_NOMERGE_RULE
634INTLTOOL_XML_RULE
635INTLTOOL_KBD_RULE
636INTLTOOL_XAM_RULE
637INTLTOOL_UI_RULE
638INTLTOOL_SOUNDLIST_RULE
639INTLTOOL_SHEET_RULE
640INTLTOOL_SERVER_RULE
641INTLTOOL_PONG_RULE
642INTLTOOL_OAF_RULE
643INTLTOOL_PROP_RULE
644INTLTOOL_KEYS_RULE
645INTLTOOL_DIRECTORY_RULE
646INTLTOOL_DESKTOP_RULE
647intltool__v_merge_options_0
648intltool__v_merge_options_
649INTLTOOL_V_MERGE_OPTIONS
650INTLTOOL__v_MERGE_0
651INTLTOOL__v_MERGE_
652INTLTOOL_V_MERGE
653INTLTOOL_EXTRACT
654INTLTOOL_MERGE
655INTLTOOL_UPDATE
656USE_NLS
657RANLIB
658CXXCPP
659am__fastdepCXX_FALSE
660am__fastdepCXX_TRUE
661CXXDEPMODE
662am__nodep
663AMDEPBACKSLASH
664AMDEP_FALSE
665AMDEP_TRUE
666am__quote
667am__include
668DEPDIR
669OBJEXT
670EXEEXT
671ac_ct_CXX
672CPPFLAGS
673LDFLAGS
674CXXFLAGS
675CXX
676AM_BACKSLASH
677AM_DEFAULT_VERBOSITY
678AM_DEFAULT_V
679AM_V
680am__untar
681am__tar
682AMTAR
683am__leading_dot
684SET_MAKE
685AWK
686mkdir_p
687MKDIR_P
688INSTALL_STRIP_PROGRAM
689STRIP
690install_sh
691MAKEINFO
692AUTOHEADER
693AUTOMAKE
694AUTOCONF
695ACLOCAL
696VERSION
697PACKAGE
698CYGPATH_W
699am__isrc
700INSTALL_DATA
701INSTALL_SCRIPT
702INSTALL_PROGRAM
703target_alias
704host_alias
705build_alias
706LIBS
707ECHO_T
708ECHO_N
709ECHO_C
710DEFS
711mandir
712localedir
713libdir
714psdir
715pdfdir
716dvidir
717htmldir
718infodir
719docdir
720oldincludedir
721includedir
722localstatedir
723sharedstatedir
724sysconfdir
725datadir
726datarootdir
727libexecdir
728sbindir
729bindir
730program_transform_name
731prefix
732exec_prefix
733PACKAGE_URL
734PACKAGE_BUGREPORT
735PACKAGE_STRING
736PACKAGE_VERSION
737PACKAGE_TARNAME
738PACKAGE_NAME
739PATH_SEPARATOR
740SHELL'
741ac_subst_files=''
742ac_user_opts='
743enable_option_checking
744enable_silent_rules
745enable_dependency_tracking
746enable_nls
747with_wxdir
748with_wx_config
749with_wx_prefix
750with_wx_exec_prefix
751'
752      ac_precious_vars='build_alias
753host_alias
754target_alias
755CXX
756CXXFLAGS
757LDFLAGS
758LIBS
759CPPFLAGS
760CCC
761CXXCPP
762PKG_CONFIG
763PKG_CONFIG_PATH
764PKG_CONFIG_LIBDIR
765FFMPEG_CFLAGS
766FFMPEG_LIBS'
767
768
769# Initialize some variables set by options.
770ac_init_help=
771ac_init_version=false
772ac_unrecognized_opts=
773ac_unrecognized_sep=
774# The variables have the same names as the options, with
775# dashes changed to underlines.
776cache_file=/dev/null
777exec_prefix=NONE
778no_create=
779no_recursion=
780prefix=NONE
781program_prefix=NONE
782program_suffix=NONE
783program_transform_name=s,x,x,
784silent=
785site=
786srcdir=
787verbose=
788x_includes=NONE
789x_libraries=NONE
790
791# Installation directory options.
792# These are left unexpanded so users can "make install exec_prefix=/foo"
793# and all the variables that are supposed to be based on exec_prefix
794# by default will actually change.
795# Use braces instead of parens because sh, perl, etc. also accept them.
796# (The list follows the same order as the GNU Coding Standards.)
797bindir='${exec_prefix}/bin'
798sbindir='${exec_prefix}/sbin'
799libexecdir='${exec_prefix}/libexec'
800datarootdir='${prefix}/share'
801datadir='${datarootdir}'
802sysconfdir='${prefix}/etc'
803sharedstatedir='${prefix}/com'
804localstatedir='${prefix}/var'
805includedir='${prefix}/include'
806oldincludedir='/usr/include'
807docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
808infodir='${datarootdir}/info'
809htmldir='${docdir}'
810dvidir='${docdir}'
811pdfdir='${docdir}'
812psdir='${docdir}'
813libdir='${exec_prefix}/lib'
814localedir='${datarootdir}/locale'
815mandir='${datarootdir}/man'
816
817ac_prev=
818ac_dashdash=
819for ac_option
820do
821  # If the previous option needs an argument, assign it.
822  if test -n "$ac_prev"; then
823    eval $ac_prev=\$ac_option
824    ac_prev=
825    continue
826  fi
827
828  case $ac_option in
829  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830  *=)   ac_optarg= ;;
831  *)    ac_optarg=yes ;;
832  esac
833
834  # Accept the important Cygnus configure options, so we can diagnose typos.
835
836  case $ac_dashdash$ac_option in
837  --)
838    ac_dashdash=yes ;;
839
840  -bindir | --bindir | --bindi | --bind | --bin | --bi)
841    ac_prev=bindir ;;
842  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843    bindir=$ac_optarg ;;
844
845  -build | --build | --buil | --bui | --bu)
846    ac_prev=build_alias ;;
847  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848    build_alias=$ac_optarg ;;
849
850  -cache-file | --cache-file | --cache-fil | --cache-fi \
851  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852    ac_prev=cache_file ;;
853  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855    cache_file=$ac_optarg ;;
856
857  --config-cache | -C)
858    cache_file=config.cache ;;
859
860  -datadir | --datadir | --datadi | --datad)
861    ac_prev=datadir ;;
862  -datadir=* | --datadir=* | --datadi=* | --datad=*)
863    datadir=$ac_optarg ;;
864
865  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866  | --dataroo | --dataro | --datar)
867    ac_prev=datarootdir ;;
868  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870    datarootdir=$ac_optarg ;;
871
872  -disable-* | --disable-*)
873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874    # Reject names that are not valid shell variable names.
875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876      as_fn_error $? "invalid feature name: $ac_useropt"
877    ac_useropt_orig=$ac_useropt
878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879    case $ac_user_opts in
880      *"
881"enable_$ac_useropt"
882"*) ;;
883      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884	 ac_unrecognized_sep=', ';;
885    esac
886    eval enable_$ac_useropt=no ;;
887
888  -docdir | --docdir | --docdi | --doc | --do)
889    ac_prev=docdir ;;
890  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891    docdir=$ac_optarg ;;
892
893  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
894    ac_prev=dvidir ;;
895  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896    dvidir=$ac_optarg ;;
897
898  -enable-* | --enable-*)
899    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900    # Reject names that are not valid shell variable names.
901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902      as_fn_error $? "invalid feature name: $ac_useropt"
903    ac_useropt_orig=$ac_useropt
904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905    case $ac_user_opts in
906      *"
907"enable_$ac_useropt"
908"*) ;;
909      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910	 ac_unrecognized_sep=', ';;
911    esac
912    eval enable_$ac_useropt=\$ac_optarg ;;
913
914  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916  | --exec | --exe | --ex)
917    ac_prev=exec_prefix ;;
918  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920  | --exec=* | --exe=* | --ex=*)
921    exec_prefix=$ac_optarg ;;
922
923  -gas | --gas | --ga | --g)
924    # Obsolete; use --with-gas.
925    with_gas=yes ;;
926
927  -help | --help | --hel | --he | -h)
928    ac_init_help=long ;;
929  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930    ac_init_help=recursive ;;
931  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932    ac_init_help=short ;;
933
934  -host | --host | --hos | --ho)
935    ac_prev=host_alias ;;
936  -host=* | --host=* | --hos=* | --ho=*)
937    host_alias=$ac_optarg ;;
938
939  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940    ac_prev=htmldir ;;
941  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942  | --ht=*)
943    htmldir=$ac_optarg ;;
944
945  -includedir | --includedir | --includedi | --included | --include \
946  | --includ | --inclu | --incl | --inc)
947    ac_prev=includedir ;;
948  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949  | --includ=* | --inclu=* | --incl=* | --inc=*)
950    includedir=$ac_optarg ;;
951
952  -infodir | --infodir | --infodi | --infod | --info | --inf)
953    ac_prev=infodir ;;
954  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955    infodir=$ac_optarg ;;
956
957  -libdir | --libdir | --libdi | --libd)
958    ac_prev=libdir ;;
959  -libdir=* | --libdir=* | --libdi=* | --libd=*)
960    libdir=$ac_optarg ;;
961
962  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963  | --libexe | --libex | --libe)
964    ac_prev=libexecdir ;;
965  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966  | --libexe=* | --libex=* | --libe=*)
967    libexecdir=$ac_optarg ;;
968
969  -localedir | --localedir | --localedi | --localed | --locale)
970    ac_prev=localedir ;;
971  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972    localedir=$ac_optarg ;;
973
974  -localstatedir | --localstatedir | --localstatedi | --localstated \
975  | --localstate | --localstat | --localsta | --localst | --locals)
976    ac_prev=localstatedir ;;
977  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979    localstatedir=$ac_optarg ;;
980
981  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982    ac_prev=mandir ;;
983  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984    mandir=$ac_optarg ;;
985
986  -nfp | --nfp | --nf)
987    # Obsolete; use --without-fp.
988    with_fp=no ;;
989
990  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991  | --no-cr | --no-c | -n)
992    no_create=yes ;;
993
994  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996    no_recursion=yes ;;
997
998  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000  | --oldin | --oldi | --old | --ol | --o)
1001    ac_prev=oldincludedir ;;
1002  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005    oldincludedir=$ac_optarg ;;
1006
1007  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008    ac_prev=prefix ;;
1009  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010    prefix=$ac_optarg ;;
1011
1012  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1013  | --program-pre | --program-pr | --program-p)
1014    ac_prev=program_prefix ;;
1015  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1016  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017    program_prefix=$ac_optarg ;;
1018
1019  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1020  | --program-suf | --program-su | --program-s)
1021    ac_prev=program_suffix ;;
1022  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1023  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024    program_suffix=$ac_optarg ;;
1025
1026  -program-transform-name | --program-transform-name \
1027  | --program-transform-nam | --program-transform-na \
1028  | --program-transform-n | --program-transform- \
1029  | --program-transform | --program-transfor \
1030  | --program-transfo | --program-transf \
1031  | --program-trans | --program-tran \
1032  | --progr-tra | --program-tr | --program-t)
1033    ac_prev=program_transform_name ;;
1034  -program-transform-name=* | --program-transform-name=* \
1035  | --program-transform-nam=* | --program-transform-na=* \
1036  | --program-transform-n=* | --program-transform-=* \
1037  | --program-transform=* | --program-transfor=* \
1038  | --program-transfo=* | --program-transf=* \
1039  | --program-trans=* | --program-tran=* \
1040  | --progr-tra=* | --program-tr=* | --program-t=*)
1041    program_transform_name=$ac_optarg ;;
1042
1043  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044    ac_prev=pdfdir ;;
1045  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046    pdfdir=$ac_optarg ;;
1047
1048  -psdir | --psdir | --psdi | --psd | --ps)
1049    ac_prev=psdir ;;
1050  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051    psdir=$ac_optarg ;;
1052
1053  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054  | -silent | --silent | --silen | --sile | --sil)
1055    silent=yes ;;
1056
1057  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058    ac_prev=sbindir ;;
1059  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1060  | --sbi=* | --sb=*)
1061    sbindir=$ac_optarg ;;
1062
1063  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1064  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1065  | --sharedst | --shareds | --shared | --share | --shar \
1066  | --sha | --sh)
1067    ac_prev=sharedstatedir ;;
1068  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1069  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1070  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1071  | --sha=* | --sh=*)
1072    sharedstatedir=$ac_optarg ;;
1073
1074  -site | --site | --sit)
1075    ac_prev=site ;;
1076  -site=* | --site=* | --sit=*)
1077    site=$ac_optarg ;;
1078
1079  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1080    ac_prev=srcdir ;;
1081  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1082    srcdir=$ac_optarg ;;
1083
1084  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1085  | --syscon | --sysco | --sysc | --sys | --sy)
1086    ac_prev=sysconfdir ;;
1087  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1088  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1089    sysconfdir=$ac_optarg ;;
1090
1091  -target | --target | --targe | --targ | --tar | --ta | --t)
1092    ac_prev=target_alias ;;
1093  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1094    target_alias=$ac_optarg ;;
1095
1096  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097    verbose=yes ;;
1098
1099  -version | --version | --versio | --versi | --vers | -V)
1100    ac_init_version=: ;;
1101
1102  -with-* | --with-*)
1103    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104    # Reject names that are not valid shell variable names.
1105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106      as_fn_error $? "invalid package name: $ac_useropt"
1107    ac_useropt_orig=$ac_useropt
1108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109    case $ac_user_opts in
1110      *"
1111"with_$ac_useropt"
1112"*) ;;
1113      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114	 ac_unrecognized_sep=', ';;
1115    esac
1116    eval with_$ac_useropt=\$ac_optarg ;;
1117
1118  -without-* | --without-*)
1119    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120    # Reject names that are not valid shell variable names.
1121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122      as_fn_error $? "invalid package name: $ac_useropt"
1123    ac_useropt_orig=$ac_useropt
1124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125    case $ac_user_opts in
1126      *"
1127"with_$ac_useropt"
1128"*) ;;
1129      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130	 ac_unrecognized_sep=', ';;
1131    esac
1132    eval with_$ac_useropt=no ;;
1133
1134  --x)
1135    # Obsolete; use --with-x.
1136    with_x=yes ;;
1137
1138  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139  | --x-incl | --x-inc | --x-in | --x-i)
1140    ac_prev=x_includes ;;
1141  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143    x_includes=$ac_optarg ;;
1144
1145  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147    ac_prev=x_libraries ;;
1148  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150    x_libraries=$ac_optarg ;;
1151
1152  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1153Try \`$0 --help' for more information"
1154    ;;
1155
1156  *=*)
1157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158    # Reject names that are not valid shell variable names.
1159    case $ac_envvar in #(
1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
1161      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1162    esac
1163    eval $ac_envvar=\$ac_optarg
1164    export $ac_envvar ;;
1165
1166  *)
1167    # FIXME: should be removed in autoconf 3.0.
1168    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1172    ;;
1173
1174  esac
1175done
1176
1177if test -n "$ac_prev"; then
1178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179  as_fn_error $? "missing argument to $ac_option"
1180fi
1181
1182if test -n "$ac_unrecognized_opts"; then
1183  case $enable_option_checking in
1184    no) ;;
1185    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187  esac
1188fi
1189
1190# Check all directory arguments for consistency.
1191for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192		datadir sysconfdir sharedstatedir localstatedir includedir \
1193		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194		libdir localedir mandir
1195do
1196  eval ac_val=\$$ac_var
1197  # Remove trailing slashes.
1198  case $ac_val in
1199    */ )
1200      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201      eval $ac_var=\$ac_val;;
1202  esac
1203  # Be sure to have absolute directory names.
1204  case $ac_val in
1205    [\\/$]* | ?:[\\/]* )  continue;;
1206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1207  esac
1208  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1209done
1210
1211# There might be people who depend on the old broken behavior: `$host'
1212# used to hold the argument of --host etc.
1213# FIXME: To remove some day.
1214build=$build_alias
1215host=$host_alias
1216target=$target_alias
1217
1218# FIXME: To remove some day.
1219if test "x$host_alias" != x; then
1220  if test "x$build_alias" = x; then
1221    cross_compiling=maybe
1222  elif test "x$build_alias" != "x$host_alias"; then
1223    cross_compiling=yes
1224  fi
1225fi
1226
1227ac_tool_prefix=
1228test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229
1230test "$silent" = yes && exec 6>/dev/null
1231
1232
1233ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234ac_ls_di=`ls -di .` &&
1235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236  as_fn_error $? "working directory cannot be determined"
1237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238  as_fn_error $? "pwd does not report name of working directory"
1239
1240
1241# Find the source files, if location was not specified.
1242if test -z "$srcdir"; then
1243  ac_srcdir_defaulted=yes
1244  # Try the directory containing this script, then the parent directory.
1245  ac_confdir=`$as_dirname -- "$as_myself" ||
1246$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247	 X"$as_myself" : 'X\(//\)[^/]' \| \
1248	 X"$as_myself" : 'X\(//\)$' \| \
1249	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250$as_echo X"$as_myself" |
1251    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252	    s//\1/
1253	    q
1254	  }
1255	  /^X\(\/\/\)[^/].*/{
1256	    s//\1/
1257	    q
1258	  }
1259	  /^X\(\/\/\)$/{
1260	    s//\1/
1261	    q
1262	  }
1263	  /^X\(\/\).*/{
1264	    s//\1/
1265	    q
1266	  }
1267	  s/.*/./; q'`
1268  srcdir=$ac_confdir
1269  if test ! -r "$srcdir/$ac_unique_file"; then
1270    srcdir=..
1271  fi
1272else
1273  ac_srcdir_defaulted=no
1274fi
1275if test ! -r "$srcdir/$ac_unique_file"; then
1276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1278fi
1279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280ac_abs_confdir=`(
1281	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282	pwd)`
1283# When building in place, set srcdir=.
1284if test "$ac_abs_confdir" = "$ac_pwd"; then
1285  srcdir=.
1286fi
1287# Remove unnecessary trailing slashes from srcdir.
1288# Double slashes in file names in object file debugging info
1289# mess up M-x gdb in Emacs.
1290case $srcdir in
1291*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292esac
1293for ac_var in $ac_precious_vars; do
1294  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295  eval ac_env_${ac_var}_value=\$${ac_var}
1296  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298done
1299
1300#
1301# Report the --help message.
1302#
1303if test "$ac_init_help" = "long"; then
1304  # Omit some internal or obsolete options to make the list less imposing.
1305  # This message is too long to be a string in the A/UX 3.1 sh.
1306  cat <<_ACEOF
1307\`configure' configures spek 0.8.2 to adapt to many kinds of systems.
1308
1309Usage: $0 [OPTION]... [VAR=VALUE]...
1310
1311To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312VAR=VALUE.  See below for descriptions of some of the useful variables.
1313
1314Defaults for the options are specified in brackets.
1315
1316Configuration:
1317  -h, --help              display this help and exit
1318      --help=short        display options specific to this package
1319      --help=recursive    display the short help of all the included packages
1320  -V, --version           display version information and exit
1321  -q, --quiet, --silent   do not print \`checking ...' messages
1322      --cache-file=FILE   cache test results in FILE [disabled]
1323  -C, --config-cache      alias for \`--cache-file=config.cache'
1324  -n, --no-create         do not create output files
1325      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1326
1327Installation directories:
1328  --prefix=PREFIX         install architecture-independent files in PREFIX
1329                          [$ac_default_prefix]
1330  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1331                          [PREFIX]
1332
1333By default, \`make install' will install all the files in
1334\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1335an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336for instance \`--prefix=\$HOME'.
1337
1338For better control, use the options below.
1339
1340Fine tuning of the installation directories:
1341  --bindir=DIR            user executables [EPREFIX/bin]
1342  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1343  --libexecdir=DIR        program executables [EPREFIX/libexec]
1344  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1345  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1346  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1347  --libdir=DIR            object code libraries [EPREFIX/lib]
1348  --includedir=DIR        C header files [PREFIX/include]
1349  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1350  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1351  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1352  --infodir=DIR           info documentation [DATAROOTDIR/info]
1353  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1354  --mandir=DIR            man documentation [DATAROOTDIR/man]
1355  --docdir=DIR            documentation root [DATAROOTDIR/doc/spek]
1356  --htmldir=DIR           html documentation [DOCDIR]
1357  --dvidir=DIR            dvi documentation [DOCDIR]
1358  --pdfdir=DIR            pdf documentation [DOCDIR]
1359  --psdir=DIR             ps documentation [DOCDIR]
1360_ACEOF
1361
1362  cat <<\_ACEOF
1363
1364Program names:
1365  --program-prefix=PREFIX            prepend PREFIX to installed program names
1366  --program-suffix=SUFFIX            append SUFFIX to installed program names
1367  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1368
1369System types:
1370  --build=BUILD     configure for building on BUILD [guessed]
1371  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1372_ACEOF
1373fi
1374
1375if test -n "$ac_init_help"; then
1376  case $ac_init_help in
1377     short | recursive ) echo "Configuration of spek 0.8.2:";;
1378   esac
1379  cat <<\_ACEOF
1380
1381Optional Features:
1382  --disable-option-checking  ignore unrecognized --enable/--with options
1383  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1384  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1385  --enable-silent-rules          less verbose build output (undo: `make V=1')
1386  --disable-silent-rules         verbose build output (undo: `make V=0')
1387  --disable-dependency-tracking  speeds up one-time build
1388  --enable-dependency-tracking   do not reject slow dependency extractors
1389  --disable-nls           do not use Native Language Support
1390
1391Optional Packages:
1392  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1393  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1394  --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1395  --with-wx-config=CONFIG wx-config script to use (optional)
1396  --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1397  --with-wx-exec-prefix=PREFIX
1398                          Exec prefix where wxWidgets is installed (optional)
1399
1400Some influential environment variables:
1401  CXX         C++ compiler command
1402  CXXFLAGS    C++ compiler flags
1403  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1404              nonstandard directory <lib dir>
1405  LIBS        libraries to pass to the linker, e.g. -l<library>
1406  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407              you have headers in a nonstandard directory <include dir>
1408  CXXCPP      C++ preprocessor
1409  PKG_CONFIG  path to pkg-config utility
1410  PKG_CONFIG_PATH
1411              directories to add to pkg-config's search path
1412  PKG_CONFIG_LIBDIR
1413              path overriding pkg-config's built-in search path
1414  FFMPEG_CFLAGS
1415              C compiler flags for FFMPEG, overriding pkg-config
1416  FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
1417
1418Use these variables to override the choices made by `configure' or to help
1419it to find libraries and programs with nonstandard names/locations.
1420
1421Report bugs to the package provider.
1422_ACEOF
1423ac_status=$?
1424fi
1425
1426if test "$ac_init_help" = "recursive"; then
1427  # If there are subdirs, report their specific --help.
1428  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429    test -d "$ac_dir" ||
1430      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431      continue
1432    ac_builddir=.
1433
1434case "$ac_dir" in
1435.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436*)
1437  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1438  # A ".." for each directory in $ac_dir_suffix.
1439  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1440  case $ac_top_builddir_sub in
1441  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443  esac ;;
1444esac
1445ac_abs_top_builddir=$ac_pwd
1446ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447# for backward compatibility:
1448ac_top_builddir=$ac_top_build_prefix
1449
1450case $srcdir in
1451  .)  # We are building in place.
1452    ac_srcdir=.
1453    ac_top_srcdir=$ac_top_builddir_sub
1454    ac_abs_top_srcdir=$ac_pwd ;;
1455  [\\/]* | ?:[\\/]* )  # Absolute name.
1456    ac_srcdir=$srcdir$ac_dir_suffix;
1457    ac_top_srcdir=$srcdir
1458    ac_abs_top_srcdir=$srcdir ;;
1459  *) # Relative name.
1460    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461    ac_top_srcdir=$ac_top_build_prefix$srcdir
1462    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463esac
1464ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465
1466    cd "$ac_dir" || { ac_status=$?; continue; }
1467    # Check for guested configure.
1468    if test -f "$ac_srcdir/configure.gnu"; then
1469      echo &&
1470      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471    elif test -f "$ac_srcdir/configure"; then
1472      echo &&
1473      $SHELL "$ac_srcdir/configure" --help=recursive
1474    else
1475      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476    fi || ac_status=$?
1477    cd "$ac_pwd" || { ac_status=$?; break; }
1478  done
1479fi
1480
1481test -n "$ac_init_help" && exit $ac_status
1482if $ac_init_version; then
1483  cat <<\_ACEOF
1484spek configure 0.8.2
1485generated by GNU Autoconf 2.69
1486
1487Copyright (C) 2012 Free Software Foundation, Inc.
1488This configure script is free software; the Free Software Foundation
1489gives unlimited permission to copy, distribute and modify it.
1490_ACEOF
1491  exit
1492fi
1493
1494## ------------------------ ##
1495## Autoconf initialization. ##
1496## ------------------------ ##
1497
1498# ac_fn_cxx_try_compile LINENO
1499# ----------------------------
1500# Try to compile conftest.$ac_ext, and return whether this succeeded.
1501ac_fn_cxx_try_compile ()
1502{
1503  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504  rm -f conftest.$ac_objext
1505  if { { ac_try="$ac_compile"
1506case "(($ac_try" in
1507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508  *) ac_try_echo=$ac_try;;
1509esac
1510eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511$as_echo "$ac_try_echo"; } >&5
1512  (eval "$ac_compile") 2>conftest.err
1513  ac_status=$?
1514  if test -s conftest.err; then
1515    grep -v '^ *+' conftest.err >conftest.er1
1516    cat conftest.er1 >&5
1517    mv -f conftest.er1 conftest.err
1518  fi
1519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520  test $ac_status = 0; } && {
1521	 test -z "$ac_cxx_werror_flag" ||
1522	 test ! -s conftest.err
1523       } && test -s conftest.$ac_objext; then :
1524  ac_retval=0
1525else
1526  $as_echo "$as_me: failed program was:" >&5
1527sed 's/^/| /' conftest.$ac_ext >&5
1528
1529	ac_retval=1
1530fi
1531  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1532  as_fn_set_status $ac_retval
1533
1534} # ac_fn_cxx_try_compile
1535
1536# ac_fn_cxx_try_cpp LINENO
1537# ------------------------
1538# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1539ac_fn_cxx_try_cpp ()
1540{
1541  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542  if { { ac_try="$ac_cpp conftest.$ac_ext"
1543case "(($ac_try" in
1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545  *) ac_try_echo=$ac_try;;
1546esac
1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548$as_echo "$ac_try_echo"; } >&5
1549  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1550  ac_status=$?
1551  if test -s conftest.err; then
1552    grep -v '^ *+' conftest.err >conftest.er1
1553    cat conftest.er1 >&5
1554    mv -f conftest.er1 conftest.err
1555  fi
1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557  test $ac_status = 0; } > conftest.i && {
1558	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1559	 test ! -s conftest.err
1560       }; then :
1561  ac_retval=0
1562else
1563  $as_echo "$as_me: failed program was:" >&5
1564sed 's/^/| /' conftest.$ac_ext >&5
1565
1566    ac_retval=1
1567fi
1568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569  as_fn_set_status $ac_retval
1570
1571} # ac_fn_cxx_try_cpp
1572
1573# ac_fn_cxx_try_link LINENO
1574# -------------------------
1575# Try to link conftest.$ac_ext, and return whether this succeeded.
1576ac_fn_cxx_try_link ()
1577{
1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579  rm -f conftest.$ac_objext conftest$ac_exeext
1580  if { { ac_try="$ac_link"
1581case "(($ac_try" in
1582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583  *) ac_try_echo=$ac_try;;
1584esac
1585eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586$as_echo "$ac_try_echo"; } >&5
1587  (eval "$ac_link") 2>conftest.err
1588  ac_status=$?
1589  if test -s conftest.err; then
1590    grep -v '^ *+' conftest.err >conftest.er1
1591    cat conftest.er1 >&5
1592    mv -f conftest.er1 conftest.err
1593  fi
1594  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595  test $ac_status = 0; } && {
1596	 test -z "$ac_cxx_werror_flag" ||
1597	 test ! -s conftest.err
1598       } && test -s conftest$ac_exeext && {
1599	 test "$cross_compiling" = yes ||
1600	 test -x conftest$ac_exeext
1601       }; then :
1602  ac_retval=0
1603else
1604  $as_echo "$as_me: failed program was:" >&5
1605sed 's/^/| /' conftest.$ac_ext >&5
1606
1607	ac_retval=1
1608fi
1609  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1610  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1611  # interfere with the next link command; also delete a directory that is
1612  # left behind by Apple's compiler.  We do this before executing the actions.
1613  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615  as_fn_set_status $ac_retval
1616
1617} # ac_fn_cxx_try_link
1618
1619# ac_fn_cxx_check_func LINENO FUNC VAR
1620# ------------------------------------
1621# Tests whether FUNC exists, setting the cache variable VAR accordingly
1622ac_fn_cxx_check_func ()
1623{
1624  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626$as_echo_n "checking for $2... " >&6; }
1627if eval \${$3+:} false; then :
1628  $as_echo_n "(cached) " >&6
1629else
1630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631/* end confdefs.h.  */
1632/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1633   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1634#define $2 innocuous_$2
1635
1636/* System header to define __stub macros and hopefully few prototypes,
1637    which can conflict with char $2 (); below.
1638    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1639    <limits.h> exists even on freestanding compilers.  */
1640
1641#ifdef __STDC__
1642# include <limits.h>
1643#else
1644# include <assert.h>
1645#endif
1646
1647#undef $2
1648
1649/* Override any GCC internal prototype to avoid an error.
1650   Use char because int might match the return type of a GCC
1651   builtin and then its argument prototype would still apply.  */
1652#ifdef __cplusplus
1653extern "C"
1654#endif
1655char $2 ();
1656/* The GNU C library defines this for functions which it implements
1657    to always fail with ENOSYS.  Some functions are actually named
1658    something starting with __ and the normal name is an alias.  */
1659#if defined __stub_$2 || defined __stub___$2
1660choke me
1661#endif
1662
1663int
1664main ()
1665{
1666return $2 ();
1667  ;
1668  return 0;
1669}
1670_ACEOF
1671if ac_fn_cxx_try_link "$LINENO"; then :
1672  eval "$3=yes"
1673else
1674  eval "$3=no"
1675fi
1676rm -f core conftest.err conftest.$ac_objext \
1677    conftest$ac_exeext conftest.$ac_ext
1678fi
1679eval ac_res=\$$3
1680	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681$as_echo "$ac_res" >&6; }
1682  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683
1684} # ac_fn_cxx_check_func
1685cat >config.log <<_ACEOF
1686This file contains any messages produced by compilers while
1687running configure, to aid debugging if configure makes a mistake.
1688
1689It was created by spek $as_me 0.8.2, which was
1690generated by GNU Autoconf 2.69.  Invocation command line was
1691
1692  $ $0 $@
1693
1694_ACEOF
1695exec 5>>config.log
1696{
1697cat <<_ASUNAME
1698## --------- ##
1699## Platform. ##
1700## --------- ##
1701
1702hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1703uname -m = `(uname -m) 2>/dev/null || echo unknown`
1704uname -r = `(uname -r) 2>/dev/null || echo unknown`
1705uname -s = `(uname -s) 2>/dev/null || echo unknown`
1706uname -v = `(uname -v) 2>/dev/null || echo unknown`
1707
1708/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1709/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1710
1711/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1712/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1713/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1714/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1715/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1716/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1717/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1718
1719_ASUNAME
1720
1721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722for as_dir in $PATH
1723do
1724  IFS=$as_save_IFS
1725  test -z "$as_dir" && as_dir=.
1726    $as_echo "PATH: $as_dir"
1727  done
1728IFS=$as_save_IFS
1729
1730} >&5
1731
1732cat >&5 <<_ACEOF
1733
1734
1735## ----------- ##
1736## Core tests. ##
1737## ----------- ##
1738
1739_ACEOF
1740
1741
1742# Keep a trace of the command line.
1743# Strip out --no-create and --no-recursion so they do not pile up.
1744# Strip out --silent because we don't want to record it for future runs.
1745# Also quote any args containing shell meta-characters.
1746# Make two passes to allow for proper duplicate-argument suppression.
1747ac_configure_args=
1748ac_configure_args0=
1749ac_configure_args1=
1750ac_must_keep_next=false
1751for ac_pass in 1 2
1752do
1753  for ac_arg
1754  do
1755    case $ac_arg in
1756    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1757    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1758    | -silent | --silent | --silen | --sile | --sil)
1759      continue ;;
1760    *\'*)
1761      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1762    esac
1763    case $ac_pass in
1764    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1765    2)
1766      as_fn_append ac_configure_args1 " '$ac_arg'"
1767      if test $ac_must_keep_next = true; then
1768	ac_must_keep_next=false # Got value, back to normal.
1769      else
1770	case $ac_arg in
1771	  *=* | --config-cache | -C | -disable-* | --disable-* \
1772	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1773	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1774	  | -with-* | --with-* | -without-* | --without-* | --x)
1775	    case "$ac_configure_args0 " in
1776	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1777	    esac
1778	    ;;
1779	  -* ) ac_must_keep_next=true ;;
1780	esac
1781      fi
1782      as_fn_append ac_configure_args " '$ac_arg'"
1783      ;;
1784    esac
1785  done
1786done
1787{ ac_configure_args0=; unset ac_configure_args0;}
1788{ ac_configure_args1=; unset ac_configure_args1;}
1789
1790# When interrupted or exit'd, cleanup temporary files, and complete
1791# config.log.  We remove comments because anyway the quotes in there
1792# would cause problems or look ugly.
1793# WARNING: Use '\'' to represent an apostrophe within the trap.
1794# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1795trap 'exit_status=$?
1796  # Save into config.log some information that might help in debugging.
1797  {
1798    echo
1799
1800    $as_echo "## ---------------- ##
1801## Cache variables. ##
1802## ---------------- ##"
1803    echo
1804    # The following way of writing the cache mishandles newlines in values,
1805(
1806  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1807    eval ac_val=\$$ac_var
1808    case $ac_val in #(
1809    *${as_nl}*)
1810      case $ac_var in #(
1811      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1812$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1813      esac
1814      case $ac_var in #(
1815      _ | IFS | as_nl) ;; #(
1816      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1817      *) { eval $ac_var=; unset $ac_var;} ;;
1818      esac ;;
1819    esac
1820  done
1821  (set) 2>&1 |
1822    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1823    *${as_nl}ac_space=\ *)
1824      sed -n \
1825	"s/'\''/'\''\\\\'\'''\''/g;
1826	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1827      ;; #(
1828    *)
1829      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1830      ;;
1831    esac |
1832    sort
1833)
1834    echo
1835
1836    $as_echo "## ----------------- ##
1837## Output variables. ##
1838## ----------------- ##"
1839    echo
1840    for ac_var in $ac_subst_vars
1841    do
1842      eval ac_val=\$$ac_var
1843      case $ac_val in
1844      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1845      esac
1846      $as_echo "$ac_var='\''$ac_val'\''"
1847    done | sort
1848    echo
1849
1850    if test -n "$ac_subst_files"; then
1851      $as_echo "## ------------------- ##
1852## File substitutions. ##
1853## ------------------- ##"
1854      echo
1855      for ac_var in $ac_subst_files
1856      do
1857	eval ac_val=\$$ac_var
1858	case $ac_val in
1859	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860	esac
1861	$as_echo "$ac_var='\''$ac_val'\''"
1862      done | sort
1863      echo
1864    fi
1865
1866    if test -s confdefs.h; then
1867      $as_echo "## ----------- ##
1868## confdefs.h. ##
1869## ----------- ##"
1870      echo
1871      cat confdefs.h
1872      echo
1873    fi
1874    test "$ac_signal" != 0 &&
1875      $as_echo "$as_me: caught signal $ac_signal"
1876    $as_echo "$as_me: exit $exit_status"
1877  } >&5
1878  rm -f core *.core core.conftest.* &&
1879    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880    exit $exit_status
1881' 0
1882for ac_signal in 1 2 13 15; do
1883  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1884done
1885ac_signal=0
1886
1887# confdefs.h avoids OS command line length limits that DEFS can exceed.
1888rm -f -r conftest* confdefs.h
1889
1890$as_echo "/* confdefs.h */" > confdefs.h
1891
1892# Predefined preprocessor variables.
1893
1894cat >>confdefs.h <<_ACEOF
1895#define PACKAGE_NAME "$PACKAGE_NAME"
1896_ACEOF
1897
1898cat >>confdefs.h <<_ACEOF
1899#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900_ACEOF
1901
1902cat >>confdefs.h <<_ACEOF
1903#define PACKAGE_VERSION "$PACKAGE_VERSION"
1904_ACEOF
1905
1906cat >>confdefs.h <<_ACEOF
1907#define PACKAGE_STRING "$PACKAGE_STRING"
1908_ACEOF
1909
1910cat >>confdefs.h <<_ACEOF
1911#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1912_ACEOF
1913
1914cat >>confdefs.h <<_ACEOF
1915#define PACKAGE_URL "$PACKAGE_URL"
1916_ACEOF
1917
1918
1919# Let the site file select an alternate cache file if it wants to.
1920# Prefer an explicitly selected file to automatically selected ones.
1921ac_site_file1=NONE
1922ac_site_file2=NONE
1923if test -n "$CONFIG_SITE"; then
1924  # We do not want a PATH search for config.site.
1925  case $CONFIG_SITE in #((
1926    -*)  ac_site_file1=./$CONFIG_SITE;;
1927    */*) ac_site_file1=$CONFIG_SITE;;
1928    *)   ac_site_file1=./$CONFIG_SITE;;
1929  esac
1930elif test "x$prefix" != xNONE; then
1931  ac_site_file1=$prefix/share/config.site
1932  ac_site_file2=$prefix/etc/config.site
1933else
1934  ac_site_file1=$ac_default_prefix/share/config.site
1935  ac_site_file2=$ac_default_prefix/etc/config.site
1936fi
1937for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1938do
1939  test "x$ac_site_file" = xNONE && continue
1940  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1942$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1943    sed 's/^/| /' "$ac_site_file" >&5
1944    . "$ac_site_file" \
1945      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1947as_fn_error $? "failed to load site script $ac_site_file
1948See \`config.log' for more details" "$LINENO" 5; }
1949  fi
1950done
1951
1952if test -r "$cache_file"; then
1953  # Some versions of bash will fail to source /dev/null (special files
1954  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1955  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1956    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1957$as_echo "$as_me: loading cache $cache_file" >&6;}
1958    case $cache_file in
1959      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1960      *)                      . "./$cache_file";;
1961    esac
1962  fi
1963else
1964  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1965$as_echo "$as_me: creating cache $cache_file" >&6;}
1966  >$cache_file
1967fi
1968
1969# Check that the precious variables saved in the cache have kept the same
1970# value.
1971ac_cache_corrupted=false
1972for ac_var in $ac_precious_vars; do
1973  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1974  eval ac_new_set=\$ac_env_${ac_var}_set
1975  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1976  eval ac_new_val=\$ac_env_${ac_var}_value
1977  case $ac_old_set,$ac_new_set in
1978    set,)
1979      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1980$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1981      ac_cache_corrupted=: ;;
1982    ,set)
1983      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1984$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1985      ac_cache_corrupted=: ;;
1986    ,);;
1987    *)
1988      if test "x$ac_old_val" != "x$ac_new_val"; then
1989	# differences in whitespace do not lead to failure.
1990	ac_old_val_w=`echo x $ac_old_val`
1991	ac_new_val_w=`echo x $ac_new_val`
1992	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1993	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1994$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1995	  ac_cache_corrupted=:
1996	else
1997	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1998$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1999	  eval $ac_var=\$ac_old_val
2000	fi
2001	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2002$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2003	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2004$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2005      fi;;
2006  esac
2007  # Pass precious variables to config.status.
2008  if test "$ac_new_set" = set; then
2009    case $ac_new_val in
2010    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2011    *) ac_arg=$ac_var=$ac_new_val ;;
2012    esac
2013    case " $ac_configure_args " in
2014      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2015      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2016    esac
2017  fi
2018done
2019if $ac_cache_corrupted; then
2020  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2021$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2022  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2023$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2024  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2025fi
2026## -------------------- ##
2027## Main body of script. ##
2028## -------------------- ##
2029
2030ac_ext=c
2031ac_cpp='$CPP $CPPFLAGS'
2032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035
2036
2037
2038ac_config_headers="$ac_config_headers config.h"
2039
2040am__api_version='1.11'
2041
2042ac_aux_dir=
2043for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2044  if test -f "$ac_dir/install-sh"; then
2045    ac_aux_dir=$ac_dir
2046    ac_install_sh="$ac_aux_dir/install-sh -c"
2047    break
2048  elif test -f "$ac_dir/install.sh"; then
2049    ac_aux_dir=$ac_dir
2050    ac_install_sh="$ac_aux_dir/install.sh -c"
2051    break
2052  elif test -f "$ac_dir/shtool"; then
2053    ac_aux_dir=$ac_dir
2054    ac_install_sh="$ac_aux_dir/shtool install -c"
2055    break
2056  fi
2057done
2058if test -z "$ac_aux_dir"; then
2059  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2060fi
2061
2062# These three variables are undocumented and unsupported,
2063# and are intended to be withdrawn in a future Autoconf release.
2064# They can cause serious problems if a builder's source tree is in a directory
2065# whose full name contains unusual characters.
2066ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2067ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2068ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2069
2070
2071# Find a good install program.  We prefer a C program (faster),
2072# so one script is as good as another.  But avoid the broken or
2073# incompatible versions:
2074# SysV /etc/install, /usr/sbin/install
2075# SunOS /usr/etc/install
2076# IRIX /sbin/install
2077# AIX /bin/install
2078# AmigaOS /C/install, which installs bootblocks on floppy discs
2079# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2080# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2081# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2082# OS/2's system install, which has a completely different semantic
2083# ./install, which can be erroneously created by make from ./install.sh.
2084# Reject install programs that cannot install multiple files.
2085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2086$as_echo_n "checking for a BSD-compatible install... " >&6; }
2087if test -z "$INSTALL"; then
2088if ${ac_cv_path_install+:} false; then :
2089  $as_echo_n "(cached) " >&6
2090else
2091  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092for as_dir in $PATH
2093do
2094  IFS=$as_save_IFS
2095  test -z "$as_dir" && as_dir=.
2096    # Account for people who put trailing slashes in PATH elements.
2097case $as_dir/ in #((
2098  ./ | .// | /[cC]/* | \
2099  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2100  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2101  /usr/ucb/* ) ;;
2102  *)
2103    # OSF1 and SCO ODT 3.0 have their own names for install.
2104    # Don't use installbsd from OSF since it installs stuff as root
2105    # by default.
2106    for ac_prog in ginstall scoinst install; do
2107      for ac_exec_ext in '' $ac_executable_extensions; do
2108	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2109	  if test $ac_prog = install &&
2110	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111	    # AIX install.  It has an incompatible calling convention.
2112	    :
2113	  elif test $ac_prog = install &&
2114	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115	    # program-specific install script used by HP pwplus--don't use.
2116	    :
2117	  else
2118	    rm -rf conftest.one conftest.two conftest.dir
2119	    echo one > conftest.one
2120	    echo two > conftest.two
2121	    mkdir conftest.dir
2122	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2123	      test -s conftest.one && test -s conftest.two &&
2124	      test -s conftest.dir/conftest.one &&
2125	      test -s conftest.dir/conftest.two
2126	    then
2127	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2128	      break 3
2129	    fi
2130	  fi
2131	fi
2132      done
2133    done
2134    ;;
2135esac
2136
2137  done
2138IFS=$as_save_IFS
2139
2140rm -rf conftest.one conftest.two conftest.dir
2141
2142fi
2143  if test "${ac_cv_path_install+set}" = set; then
2144    INSTALL=$ac_cv_path_install
2145  else
2146    # As a last resort, use the slow shell script.  Don't cache a
2147    # value for INSTALL within a source directory, because that will
2148    # break other packages using the cache if that directory is
2149    # removed, or if the value is a relative name.
2150    INSTALL=$ac_install_sh
2151  fi
2152fi
2153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2154$as_echo "$INSTALL" >&6; }
2155
2156# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157# It thinks the first close brace ends the variable substitution.
2158test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2159
2160test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2161
2162test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2163
2164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2165$as_echo_n "checking whether build environment is sane... " >&6; }
2166# Just in case
2167sleep 1
2168echo timestamp > conftest.file
2169# Reject unsafe characters in $srcdir or the absolute working directory
2170# name.  Accept space and tab only in the latter.
2171am_lf='
2172'
2173case `pwd` in
2174  *[\\\"\#\$\&\'\`$am_lf]*)
2175    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2176esac
2177case $srcdir in
2178  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2179    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2180esac
2181
2182# Do `set' in a subshell so we don't clobber the current shell's
2183# arguments.  Must try -L first in case configure is actually a
2184# symlink; some systems play weird games with the mod time of symlinks
2185# (eg FreeBSD returns the mod time of the symlink's containing
2186# directory).
2187if (
2188   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2189   if test "$*" = "X"; then
2190      # -L didn't work.
2191      set X `ls -t "$srcdir/configure" conftest.file`
2192   fi
2193   rm -f conftest.file
2194   if test "$*" != "X $srcdir/configure conftest.file" \
2195      && test "$*" != "X conftest.file $srcdir/configure"; then
2196
2197      # If neither matched, then we have a broken ls.  This can happen
2198      # if, for instance, CONFIG_SHELL is bash and it inherits a
2199      # broken ls alias from the environment.  This has actually
2200      # happened.  Such a system could not be considered "sane".
2201      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2202alias in your environment" "$LINENO" 5
2203   fi
2204
2205   test "$2" = conftest.file
2206   )
2207then
2208   # Ok.
2209   :
2210else
2211   as_fn_error $? "newly created file is older than distributed files!
2212Check your system clock" "$LINENO" 5
2213fi
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2215$as_echo "yes" >&6; }
2216test "$program_prefix" != NONE &&
2217  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2218# Use a double $ so make ignores it.
2219test "$program_suffix" != NONE &&
2220  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2221# Double any \ or $.
2222# By default was `s,x,x', remove it if useless.
2223ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2224program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2225
2226# expand $ac_aux_dir to an absolute path
2227am_aux_dir=`cd $ac_aux_dir && pwd`
2228
2229if test x"${MISSING+set}" != xset; then
2230  case $am_aux_dir in
2231  *\ * | *\	*)
2232    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2233  *)
2234    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2235  esac
2236fi
2237# Use eval to expand $SHELL
2238if eval "$MISSING --run true"; then
2239  am_missing_run="$MISSING --run "
2240else
2241  am_missing_run=
2242  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2243$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2244fi
2245
2246if test x"${install_sh}" != xset; then
2247  case $am_aux_dir in
2248  *\ * | *\	*)
2249    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2250  *)
2251    install_sh="\${SHELL} $am_aux_dir/install-sh"
2252  esac
2253fi
2254
2255# Installed binaries are usually stripped using `strip' when the user
2256# run `make install-strip'.  However `strip' might not be the right
2257# tool to use in cross-compilation environments, therefore Automake
2258# will honor the `STRIP' environment variable to overrule this program.
2259if test "$cross_compiling" != no; then
2260  if test -n "$ac_tool_prefix"; then
2261  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2262set dummy ${ac_tool_prefix}strip; ac_word=$2
2263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264$as_echo_n "checking for $ac_word... " >&6; }
2265if ${ac_cv_prog_STRIP+:} false; then :
2266  $as_echo_n "(cached) " >&6
2267else
2268  if test -n "$STRIP"; then
2269  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2270else
2271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272for as_dir in $PATH
2273do
2274  IFS=$as_save_IFS
2275  test -z "$as_dir" && as_dir=.
2276    for ac_exec_ext in '' $ac_executable_extensions; do
2277  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2279    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2280    break 2
2281  fi
2282done
2283  done
2284IFS=$as_save_IFS
2285
2286fi
2287fi
2288STRIP=$ac_cv_prog_STRIP
2289if test -n "$STRIP"; then
2290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2291$as_echo "$STRIP" >&6; }
2292else
2293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294$as_echo "no" >&6; }
2295fi
2296
2297
2298fi
2299if test -z "$ac_cv_prog_STRIP"; then
2300  ac_ct_STRIP=$STRIP
2301  # Extract the first word of "strip", so it can be a program name with args.
2302set dummy strip; ac_word=$2
2303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304$as_echo_n "checking for $ac_word... " >&6; }
2305if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2306  $as_echo_n "(cached) " >&6
2307else
2308  if test -n "$ac_ct_STRIP"; then
2309  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2310else
2311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312for as_dir in $PATH
2313do
2314  IFS=$as_save_IFS
2315  test -z "$as_dir" && as_dir=.
2316    for ac_exec_ext in '' $ac_executable_extensions; do
2317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318    ac_cv_prog_ac_ct_STRIP="strip"
2319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2320    break 2
2321  fi
2322done
2323  done
2324IFS=$as_save_IFS
2325
2326fi
2327fi
2328ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2329if test -n "$ac_ct_STRIP"; then
2330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2331$as_echo "$ac_ct_STRIP" >&6; }
2332else
2333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334$as_echo "no" >&6; }
2335fi
2336
2337  if test "x$ac_ct_STRIP" = x; then
2338    STRIP=":"
2339  else
2340    case $cross_compiling:$ac_tool_warned in
2341yes:)
2342{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2343$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2344ac_tool_warned=yes ;;
2345esac
2346    STRIP=$ac_ct_STRIP
2347  fi
2348else
2349  STRIP="$ac_cv_prog_STRIP"
2350fi
2351
2352fi
2353INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2354
2355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2356$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2357if test -z "$MKDIR_P"; then
2358  if ${ac_cv_path_mkdir+:} false; then :
2359  $as_echo_n "(cached) " >&6
2360else
2361  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2363do
2364  IFS=$as_save_IFS
2365  test -z "$as_dir" && as_dir=.
2366    for ac_prog in mkdir gmkdir; do
2367	 for ac_exec_ext in '' $ac_executable_extensions; do
2368	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2369	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2370	     'mkdir (GNU coreutils) '* | \
2371	     'mkdir (coreutils) '* | \
2372	     'mkdir (fileutils) '4.1*)
2373	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2374	       break 3;;
2375	   esac
2376	 done
2377       done
2378  done
2379IFS=$as_save_IFS
2380
2381fi
2382
2383  test -d ./--version && rmdir ./--version
2384  if test "${ac_cv_path_mkdir+set}" = set; then
2385    MKDIR_P="$ac_cv_path_mkdir -p"
2386  else
2387    # As a last resort, use the slow shell script.  Don't cache a
2388    # value for MKDIR_P within a source directory, because that will
2389    # break other packages using the cache if that directory is
2390    # removed, or if the value is a relative name.
2391    MKDIR_P="$ac_install_sh -d"
2392  fi
2393fi
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2395$as_echo "$MKDIR_P" >&6; }
2396
2397mkdir_p="$MKDIR_P"
2398case $mkdir_p in
2399  [\\/$]* | ?:[\\/]*) ;;
2400  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2401esac
2402
2403for ac_prog in gawk mawk nawk awk
2404do
2405  # Extract the first word of "$ac_prog", so it can be a program name with args.
2406set dummy $ac_prog; ac_word=$2
2407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2408$as_echo_n "checking for $ac_word... " >&6; }
2409if ${ac_cv_prog_AWK+:} false; then :
2410  $as_echo_n "(cached) " >&6
2411else
2412  if test -n "$AWK"; then
2413  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2414else
2415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2416for as_dir in $PATH
2417do
2418  IFS=$as_save_IFS
2419  test -z "$as_dir" && as_dir=.
2420    for ac_exec_ext in '' $ac_executable_extensions; do
2421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2422    ac_cv_prog_AWK="$ac_prog"
2423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2424    break 2
2425  fi
2426done
2427  done
2428IFS=$as_save_IFS
2429
2430fi
2431fi
2432AWK=$ac_cv_prog_AWK
2433if test -n "$AWK"; then
2434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2435$as_echo "$AWK" >&6; }
2436else
2437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438$as_echo "no" >&6; }
2439fi
2440
2441
2442  test -n "$AWK" && break
2443done
2444
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2446$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2447set x ${MAKE-make}
2448ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2449if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2450  $as_echo_n "(cached) " >&6
2451else
2452  cat >conftest.make <<\_ACEOF
2453SHELL = /bin/sh
2454all:
2455	@echo '@@@%%%=$(MAKE)=@@@%%%'
2456_ACEOF
2457# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2458case `${MAKE-make} -f conftest.make 2>/dev/null` in
2459  *@@@%%%=?*=@@@%%%*)
2460    eval ac_cv_prog_make_${ac_make}_set=yes;;
2461  *)
2462    eval ac_cv_prog_make_${ac_make}_set=no;;
2463esac
2464rm -f conftest.make
2465fi
2466if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468$as_echo "yes" >&6; }
2469  SET_MAKE=
2470else
2471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472$as_echo "no" >&6; }
2473  SET_MAKE="MAKE=${MAKE-make}"
2474fi
2475
2476rm -rf .tst 2>/dev/null
2477mkdir .tst 2>/dev/null
2478if test -d .tst; then
2479  am__leading_dot=.
2480else
2481  am__leading_dot=_
2482fi
2483rmdir .tst 2>/dev/null
2484
2485if test "`cd $srcdir && pwd`" != "`pwd`"; then
2486  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2487  # is not polluted with repeated "-I."
2488  am__isrc=' -I$(srcdir)'
2489  # test to see if srcdir already configured
2490  if test -f $srcdir/config.status; then
2491    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2492  fi
2493fi
2494
2495# test whether we have cygpath
2496if test -z "$CYGPATH_W"; then
2497  if (cygpath --version) >/dev/null 2>/dev/null; then
2498    CYGPATH_W='cygpath -w'
2499  else
2500    CYGPATH_W=echo
2501  fi
2502fi
2503
2504
2505# Define the identity of the package.
2506 PACKAGE='spek'
2507 VERSION='0.8.2'
2508
2509
2510cat >>confdefs.h <<_ACEOF
2511#define PACKAGE "$PACKAGE"
2512_ACEOF
2513
2514
2515cat >>confdefs.h <<_ACEOF
2516#define VERSION "$VERSION"
2517_ACEOF
2518
2519# Some tools Automake needs.
2520
2521ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2522
2523
2524AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2525
2526
2527AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2528
2529
2530AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2531
2532
2533MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2534
2535# We need awk for the "check" target.  The system "awk" is bad on
2536# some platforms.
2537# Always define AMTAR for backward compatibility.  Yes, it's still used
2538# in the wild :-(  We should find a proper way to deprecate it ...
2539AMTAR='$${TAR-tar}'
2540
2541am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2542
2543
2544
2545
2546
2547# Check whether --enable-silent-rules was given.
2548if test "${enable_silent_rules+set}" = set; then :
2549  enableval=$enable_silent_rules;
2550fi
2551
2552case $enable_silent_rules in
2553yes) AM_DEFAULT_VERBOSITY=0;;
2554no)  AM_DEFAULT_VERBOSITY=1;;
2555*)   AM_DEFAULT_VERBOSITY=0;;
2556esac
2557am_make=${MAKE-make}
2558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2559$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2560if ${am_cv_make_support_nested_variables+:} false; then :
2561  $as_echo_n "(cached) " >&6
2562else
2563  if $as_echo 'TRUE=$(BAR$(V))
2564BAR0=false
2565BAR1=true
2566V=1
2567am__doit:
2568	@$(TRUE)
2569.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2570  am_cv_make_support_nested_variables=yes
2571else
2572  am_cv_make_support_nested_variables=no
2573fi
2574fi
2575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2576$as_echo "$am_cv_make_support_nested_variables" >&6; }
2577if test $am_cv_make_support_nested_variables = yes; then
2578    AM_V='$(V)'
2579  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2580else
2581  AM_V=$AM_DEFAULT_VERBOSITY
2582  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2583fi
2584AM_BACKSLASH='\'
2585
2586
2587ac_ext=cpp
2588ac_cpp='$CXXCPP $CPPFLAGS'
2589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2592
2593ac_ext=cpp
2594ac_cpp='$CXXCPP $CPPFLAGS'
2595ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2598if test -z "$CXX"; then
2599  if test -n "$CCC"; then
2600    CXX=$CCC
2601  else
2602    if test -n "$ac_tool_prefix"; then
2603  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2604  do
2605    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2606set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608$as_echo_n "checking for $ac_word... " >&6; }
2609if ${ac_cv_prog_CXX+:} false; then :
2610  $as_echo_n "(cached) " >&6
2611else
2612  if test -n "$CXX"; then
2613  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2614else
2615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616for as_dir in $PATH
2617do
2618  IFS=$as_save_IFS
2619  test -z "$as_dir" && as_dir=.
2620    for ac_exec_ext in '' $ac_executable_extensions; do
2621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624    break 2
2625  fi
2626done
2627  done
2628IFS=$as_save_IFS
2629
2630fi
2631fi
2632CXX=$ac_cv_prog_CXX
2633if test -n "$CXX"; then
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2635$as_echo "$CXX" >&6; }
2636else
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638$as_echo "no" >&6; }
2639fi
2640
2641
2642    test -n "$CXX" && break
2643  done
2644fi
2645if test -z "$CXX"; then
2646  ac_ct_CXX=$CXX
2647  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2648do
2649  # Extract the first word of "$ac_prog", so it can be a program name with args.
2650set dummy $ac_prog; ac_word=$2
2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652$as_echo_n "checking for $ac_word... " >&6; }
2653if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2654  $as_echo_n "(cached) " >&6
2655else
2656  if test -n "$ac_ct_CXX"; then
2657  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2658else
2659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660for as_dir in $PATH
2661do
2662  IFS=$as_save_IFS
2663  test -z "$as_dir" && as_dir=.
2664    for ac_exec_ext in '' $ac_executable_extensions; do
2665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666    ac_cv_prog_ac_ct_CXX="$ac_prog"
2667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668    break 2
2669  fi
2670done
2671  done
2672IFS=$as_save_IFS
2673
2674fi
2675fi
2676ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2677if test -n "$ac_ct_CXX"; then
2678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2679$as_echo "$ac_ct_CXX" >&6; }
2680else
2681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682$as_echo "no" >&6; }
2683fi
2684
2685
2686  test -n "$ac_ct_CXX" && break
2687done
2688
2689  if test "x$ac_ct_CXX" = x; then
2690    CXX="g++"
2691  else
2692    case $cross_compiling:$ac_tool_warned in
2693yes:)
2694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696ac_tool_warned=yes ;;
2697esac
2698    CXX=$ac_ct_CXX
2699  fi
2700fi
2701
2702  fi
2703fi
2704# Provide some information about the compiler.
2705$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2706set X $ac_compile
2707ac_compiler=$2
2708for ac_option in --version -v -V -qversion; do
2709  { { ac_try="$ac_compiler $ac_option >&5"
2710case "(($ac_try" in
2711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712  *) ac_try_echo=$ac_try;;
2713esac
2714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715$as_echo "$ac_try_echo"; } >&5
2716  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2717  ac_status=$?
2718  if test -s conftest.err; then
2719    sed '10a\
2720... rest of stderr output deleted ...
2721         10q' conftest.err >conftest.er1
2722    cat conftest.er1 >&5
2723  fi
2724  rm -f conftest.er1 conftest.err
2725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726  test $ac_status = 0; }
2727done
2728
2729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730/* end confdefs.h.  */
2731
2732int
2733main ()
2734{
2735
2736  ;
2737  return 0;
2738}
2739_ACEOF
2740ac_clean_files_save=$ac_clean_files
2741ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2742# Try to create an executable without -o first, disregard a.out.
2743# It will help us diagnose broken compilers, and finding out an intuition
2744# of exeext.
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2746$as_echo_n "checking whether the C++ compiler works... " >&6; }
2747ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2748
2749# The possible output files:
2750ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2751
2752ac_rmfiles=
2753for ac_file in $ac_files
2754do
2755  case $ac_file in
2756    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2757    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2758  esac
2759done
2760rm -f $ac_rmfiles
2761
2762if { { ac_try="$ac_link_default"
2763case "(($ac_try" in
2764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765  *) ac_try_echo=$ac_try;;
2766esac
2767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768$as_echo "$ac_try_echo"; } >&5
2769  (eval "$ac_link_default") 2>&5
2770  ac_status=$?
2771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772  test $ac_status = 0; }; then :
2773  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2774# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2775# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2776# so that the user can short-circuit this test for compilers unknown to
2777# Autoconf.
2778for ac_file in $ac_files ''
2779do
2780  test -f "$ac_file" || continue
2781  case $ac_file in
2782    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2783	;;
2784    [ab].out )
2785	# We found the default executable, but exeext='' is most
2786	# certainly right.
2787	break;;
2788    *.* )
2789	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2790	then :; else
2791	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792	fi
2793	# We set ac_cv_exeext here because the later test for it is not
2794	# safe: cross compilers may not add the suffix if given an `-o'
2795	# argument, so we may need to know it at that point already.
2796	# Even if this section looks crufty: it has the advantage of
2797	# actually working.
2798	break;;
2799    * )
2800	break;;
2801  esac
2802done
2803test "$ac_cv_exeext" = no && ac_cv_exeext=
2804
2805else
2806  ac_file=''
2807fi
2808if test -z "$ac_file"; then :
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810$as_echo "no" >&6; }
2811$as_echo "$as_me: failed program was:" >&5
2812sed 's/^/| /' conftest.$ac_ext >&5
2813
2814{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816as_fn_error 77 "C++ compiler cannot create executables
2817See \`config.log' for more details" "$LINENO" 5; }
2818else
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820$as_echo "yes" >&6; }
2821fi
2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2823$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2825$as_echo "$ac_file" >&6; }
2826ac_exeext=$ac_cv_exeext
2827
2828rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2829ac_clean_files=$ac_clean_files_save
2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2831$as_echo_n "checking for suffix of executables... " >&6; }
2832if { { ac_try="$ac_link"
2833case "(($ac_try" in
2834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835  *) ac_try_echo=$ac_try;;
2836esac
2837eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838$as_echo "$ac_try_echo"; } >&5
2839  (eval "$ac_link") 2>&5
2840  ac_status=$?
2841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842  test $ac_status = 0; }; then :
2843  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2844# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2845# work properly (i.e., refer to `conftest.exe'), while it won't with
2846# `rm'.
2847for ac_file in conftest.exe conftest conftest.*; do
2848  test -f "$ac_file" || continue
2849  case $ac_file in
2850    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2851    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2852	  break;;
2853    * ) break;;
2854  esac
2855done
2856else
2857  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2859as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2860See \`config.log' for more details" "$LINENO" 5; }
2861fi
2862rm -f conftest conftest$ac_cv_exeext
2863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2864$as_echo "$ac_cv_exeext" >&6; }
2865
2866rm -f conftest.$ac_ext
2867EXEEXT=$ac_cv_exeext
2868ac_exeext=$EXEEXT
2869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870/* end confdefs.h.  */
2871#include <stdio.h>
2872int
2873main ()
2874{
2875FILE *f = fopen ("conftest.out", "w");
2876 return ferror (f) || fclose (f) != 0;
2877
2878  ;
2879  return 0;
2880}
2881_ACEOF
2882ac_clean_files="$ac_clean_files conftest.out"
2883# Check that the compiler produces executables we can run.  If not, either
2884# the compiler is broken, or we cross compile.
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2886$as_echo_n "checking whether we are cross compiling... " >&6; }
2887if test "$cross_compiling" != yes; then
2888  { { ac_try="$ac_link"
2889case "(($ac_try" in
2890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891  *) ac_try_echo=$ac_try;;
2892esac
2893eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894$as_echo "$ac_try_echo"; } >&5
2895  (eval "$ac_link") 2>&5
2896  ac_status=$?
2897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898  test $ac_status = 0; }
2899  if { ac_try='./conftest$ac_cv_exeext'
2900  { { case "(($ac_try" in
2901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902  *) ac_try_echo=$ac_try;;
2903esac
2904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905$as_echo "$ac_try_echo"; } >&5
2906  (eval "$ac_try") 2>&5
2907  ac_status=$?
2908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909  test $ac_status = 0; }; }; then
2910    cross_compiling=no
2911  else
2912    if test "$cross_compiling" = maybe; then
2913	cross_compiling=yes
2914    else
2915	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917as_fn_error $? "cannot run C++ compiled programs.
2918If you meant to cross compile, use \`--host'.
2919See \`config.log' for more details" "$LINENO" 5; }
2920    fi
2921  fi
2922fi
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2924$as_echo "$cross_compiling" >&6; }
2925
2926rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2927ac_clean_files=$ac_clean_files_save
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2929$as_echo_n "checking for suffix of object files... " >&6; }
2930if ${ac_cv_objext+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934/* end confdefs.h.  */
2935
2936int
2937main ()
2938{
2939
2940  ;
2941  return 0;
2942}
2943_ACEOF
2944rm -f conftest.o conftest.obj
2945if { { ac_try="$ac_compile"
2946case "(($ac_try" in
2947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948  *) ac_try_echo=$ac_try;;
2949esac
2950eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951$as_echo "$ac_try_echo"; } >&5
2952  (eval "$ac_compile") 2>&5
2953  ac_status=$?
2954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955  test $ac_status = 0; }; then :
2956  for ac_file in conftest.o conftest.obj conftest.*; do
2957  test -f "$ac_file" || continue;
2958  case $ac_file in
2959    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2960    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2961       break;;
2962  esac
2963done
2964else
2965  $as_echo "$as_me: failed program was:" >&5
2966sed 's/^/| /' conftest.$ac_ext >&5
2967
2968{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970as_fn_error $? "cannot compute suffix of object files: cannot compile
2971See \`config.log' for more details" "$LINENO" 5; }
2972fi
2973rm -f conftest.$ac_cv_objext conftest.$ac_ext
2974fi
2975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2976$as_echo "$ac_cv_objext" >&6; }
2977OBJEXT=$ac_cv_objext
2978ac_objext=$OBJEXT
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2980$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2981if ${ac_cv_cxx_compiler_gnu+:} false; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985/* end confdefs.h.  */
2986
2987int
2988main ()
2989{
2990#ifndef __GNUC__
2991       choke me
2992#endif
2993
2994  ;
2995  return 0;
2996}
2997_ACEOF
2998if ac_fn_cxx_try_compile "$LINENO"; then :
2999  ac_compiler_gnu=yes
3000else
3001  ac_compiler_gnu=no
3002fi
3003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3005
3006fi
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3008$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3009if test $ac_compiler_gnu = yes; then
3010  GXX=yes
3011else
3012  GXX=
3013fi
3014ac_test_CXXFLAGS=${CXXFLAGS+set}
3015ac_save_CXXFLAGS=$CXXFLAGS
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3017$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3018if ${ac_cv_prog_cxx_g+:} false; then :
3019  $as_echo_n "(cached) " >&6
3020else
3021  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3022   ac_cxx_werror_flag=yes
3023   ac_cv_prog_cxx_g=no
3024   CXXFLAGS="-g"
3025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026/* end confdefs.h.  */
3027
3028int
3029main ()
3030{
3031
3032  ;
3033  return 0;
3034}
3035_ACEOF
3036if ac_fn_cxx_try_compile "$LINENO"; then :
3037  ac_cv_prog_cxx_g=yes
3038else
3039  CXXFLAGS=""
3040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041/* end confdefs.h.  */
3042
3043int
3044main ()
3045{
3046
3047  ;
3048  return 0;
3049}
3050_ACEOF
3051if ac_fn_cxx_try_compile "$LINENO"; then :
3052
3053else
3054  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3055	 CXXFLAGS="-g"
3056	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057/* end confdefs.h.  */
3058
3059int
3060main ()
3061{
3062
3063  ;
3064  return 0;
3065}
3066_ACEOF
3067if ac_fn_cxx_try_compile "$LINENO"; then :
3068  ac_cv_prog_cxx_g=yes
3069fi
3070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071fi
3072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073fi
3074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3076fi
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3078$as_echo "$ac_cv_prog_cxx_g" >&6; }
3079if test "$ac_test_CXXFLAGS" = set; then
3080  CXXFLAGS=$ac_save_CXXFLAGS
3081elif test $ac_cv_prog_cxx_g = yes; then
3082  if test "$GXX" = yes; then
3083    CXXFLAGS="-g -O2"
3084  else
3085    CXXFLAGS="-g"
3086  fi
3087else
3088  if test "$GXX" = yes; then
3089    CXXFLAGS="-O2"
3090  else
3091    CXXFLAGS=
3092  fi
3093fi
3094ac_ext=cpp
3095ac_cpp='$CXXCPP $CPPFLAGS'
3096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3099DEPDIR="${am__leading_dot}deps"
3100
3101ac_config_commands="$ac_config_commands depfiles"
3102
3103
3104am_make=${MAKE-make}
3105cat > confinc << 'END'
3106am__doit:
3107	@echo this is the am__doit target
3108.PHONY: am__doit
3109END
3110# If we don't find an include directive, just comment out the code.
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3112$as_echo_n "checking for style of include used by $am_make... " >&6; }
3113am__include="#"
3114am__quote=
3115_am_result=none
3116# First try GNU make style include.
3117echo "include confinc" > confmf
3118# Ignore all kinds of additional output from `make'.
3119case `$am_make -s -f confmf 2> /dev/null` in #(
3120*the\ am__doit\ target*)
3121  am__include=include
3122  am__quote=
3123  _am_result=GNU
3124  ;;
3125esac
3126# Now try BSD make style include.
3127if test "$am__include" = "#"; then
3128   echo '.include "confinc"' > confmf
3129   case `$am_make -s -f confmf 2> /dev/null` in #(
3130   *the\ am__doit\ target*)
3131     am__include=.include
3132     am__quote="\""
3133     _am_result=BSD
3134     ;;
3135   esac
3136fi
3137
3138
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3140$as_echo "$_am_result" >&6; }
3141rm -f confinc confmf
3142
3143# Check whether --enable-dependency-tracking was given.
3144if test "${enable_dependency_tracking+set}" = set; then :
3145  enableval=$enable_dependency_tracking;
3146fi
3147
3148if test "x$enable_dependency_tracking" != xno; then
3149  am_depcomp="$ac_aux_dir/depcomp"
3150  AMDEPBACKSLASH='\'
3151  am__nodep='_no'
3152fi
3153 if test "x$enable_dependency_tracking" != xno; then
3154  AMDEP_TRUE=
3155  AMDEP_FALSE='#'
3156else
3157  AMDEP_TRUE='#'
3158  AMDEP_FALSE=
3159fi
3160
3161
3162
3163depcc="$CXX"  am_compiler_list=
3164
3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3166$as_echo_n "checking dependency style of $depcc... " >&6; }
3167if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3168  $as_echo_n "(cached) " >&6
3169else
3170  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3171  # We make a subdir and do the tests there.  Otherwise we can end up
3172  # making bogus files that we don't know about and never remove.  For
3173  # instance it was reported that on HP-UX the gcc test will end up
3174  # making a dummy file named `D' -- because `-MD' means `put the output
3175  # in D'.
3176  rm -rf conftest.dir
3177  mkdir conftest.dir
3178  # Copy depcomp to subdir because otherwise we won't find it if we're
3179  # using a relative directory.
3180  cp "$am_depcomp" conftest.dir
3181  cd conftest.dir
3182  # We will build objects and dependencies in a subdirectory because
3183  # it helps to detect inapplicable dependency modes.  For instance
3184  # both Tru64's cc and ICC support -MD to output dependencies as a
3185  # side effect of compilation, but ICC will put the dependencies in
3186  # the current directory while Tru64 will put them in the object
3187  # directory.
3188  mkdir sub
3189
3190  am_cv_CXX_dependencies_compiler_type=none
3191  if test "$am_compiler_list" = ""; then
3192     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3193  fi
3194  am__universal=false
3195  case " $depcc " in #(
3196     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3197     esac
3198
3199  for depmode in $am_compiler_list; do
3200    # Setup a source with many dependencies, because some compilers
3201    # like to wrap large dependency lists on column 80 (with \), and
3202    # we should not choose a depcomp mode which is confused by this.
3203    #
3204    # We need to recreate these files for each test, as the compiler may
3205    # overwrite some of them when testing with obscure command lines.
3206    # This happens at least with the AIX C compiler.
3207    : > sub/conftest.c
3208    for i in 1 2 3 4 5 6; do
3209      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3210      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3211      # Solaris 8's {/usr,}/bin/sh.
3212      touch sub/conftst$i.h
3213    done
3214    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3215
3216    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3217    # mode.  It turns out that the SunPro C++ compiler does not properly
3218    # handle `-M -o', and we need to detect this.  Also, some Intel
3219    # versions had trouble with output in subdirs
3220    am__obj=sub/conftest.${OBJEXT-o}
3221    am__minus_obj="-o $am__obj"
3222    case $depmode in
3223    gcc)
3224      # This depmode causes a compiler race in universal mode.
3225      test "$am__universal" = false || continue
3226      ;;
3227    nosideeffect)
3228      # after this tag, mechanisms are not by side-effect, so they'll
3229      # only be used when explicitly requested
3230      if test "x$enable_dependency_tracking" = xyes; then
3231	continue
3232      else
3233	break
3234      fi
3235      ;;
3236    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3237      # This compiler won't grok `-c -o', but also, the minuso test has
3238      # not run yet.  These depmodes are late enough in the game, and
3239      # so weak that their functioning should not be impacted.
3240      am__obj=conftest.${OBJEXT-o}
3241      am__minus_obj=
3242      ;;
3243    none) break ;;
3244    esac
3245    if depmode=$depmode \
3246       source=sub/conftest.c object=$am__obj \
3247       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3248       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3249         >/dev/null 2>conftest.err &&
3250       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3251       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3252       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3253       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3254      # icc doesn't choke on unknown options, it will just issue warnings
3255      # or remarks (even with -Werror).  So we grep stderr for any message
3256      # that says an option was ignored or not supported.
3257      # When given -MP, icc 7.0 and 7.1 complain thusly:
3258      #   icc: Command line warning: ignoring option '-M'; no argument required
3259      # The diagnosis changed in icc 8.0:
3260      #   icc: Command line remark: option '-MP' not supported
3261      if (grep 'ignoring option' conftest.err ||
3262          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3263        am_cv_CXX_dependencies_compiler_type=$depmode
3264        break
3265      fi
3266    fi
3267  done
3268
3269  cd ..
3270  rm -rf conftest.dir
3271else
3272  am_cv_CXX_dependencies_compiler_type=none
3273fi
3274
3275fi
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3277$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3278CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3279
3280 if
3281  test "x$enable_dependency_tracking" != xno \
3282  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3283  am__fastdepCXX_TRUE=
3284  am__fastdepCXX_FALSE='#'
3285else
3286  am__fastdepCXX_TRUE='#'
3287  am__fastdepCXX_FALSE=
3288fi
3289
3290
3291CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
3292ac_ext=cpp
3293ac_cpp='$CXXCPP $CPPFLAGS'
3294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3298$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3299if test -z "$CXXCPP"; then
3300  if ${ac_cv_prog_CXXCPP+:} false; then :
3301  $as_echo_n "(cached) " >&6
3302else
3303      # Double quotes because CXXCPP needs to be expanded
3304    for CXXCPP in "$CXX -E" "/lib/cpp"
3305    do
3306      ac_preproc_ok=false
3307for ac_cxx_preproc_warn_flag in '' yes
3308do
3309  # Use a header file that comes with gcc, so configuring glibc
3310  # with a fresh cross-compiler works.
3311  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312  # <limits.h> exists even on freestanding compilers.
3313  # On the NeXT, cc -E runs the code through the compiler's parser,
3314  # not just through cpp. "Syntax error" is here to catch this case.
3315  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316/* end confdefs.h.  */
3317#ifdef __STDC__
3318# include <limits.h>
3319#else
3320# include <assert.h>
3321#endif
3322		     Syntax error
3323_ACEOF
3324if ac_fn_cxx_try_cpp "$LINENO"; then :
3325
3326else
3327  # Broken: fails on valid input.
3328continue
3329fi
3330rm -f conftest.err conftest.i conftest.$ac_ext
3331
3332  # OK, works on sane cases.  Now check whether nonexistent headers
3333  # can be detected and how.
3334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335/* end confdefs.h.  */
3336#include <ac_nonexistent.h>
3337_ACEOF
3338if ac_fn_cxx_try_cpp "$LINENO"; then :
3339  # Broken: success on invalid input.
3340continue
3341else
3342  # Passes both tests.
3343ac_preproc_ok=:
3344break
3345fi
3346rm -f conftest.err conftest.i conftest.$ac_ext
3347
3348done
3349# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3350rm -f conftest.i conftest.err conftest.$ac_ext
3351if $ac_preproc_ok; then :
3352  break
3353fi
3354
3355    done
3356    ac_cv_prog_CXXCPP=$CXXCPP
3357
3358fi
3359  CXXCPP=$ac_cv_prog_CXXCPP
3360else
3361  ac_cv_prog_CXXCPP=$CXXCPP
3362fi
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3364$as_echo "$CXXCPP" >&6; }
3365ac_preproc_ok=false
3366for ac_cxx_preproc_warn_flag in '' yes
3367do
3368  # Use a header file that comes with gcc, so configuring glibc
3369  # with a fresh cross-compiler works.
3370  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371  # <limits.h> exists even on freestanding compilers.
3372  # On the NeXT, cc -E runs the code through the compiler's parser,
3373  # not just through cpp. "Syntax error" is here to catch this case.
3374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375/* end confdefs.h.  */
3376#ifdef __STDC__
3377# include <limits.h>
3378#else
3379# include <assert.h>
3380#endif
3381		     Syntax error
3382_ACEOF
3383if ac_fn_cxx_try_cpp "$LINENO"; then :
3384
3385else
3386  # Broken: fails on valid input.
3387continue
3388fi
3389rm -f conftest.err conftest.i conftest.$ac_ext
3390
3391  # OK, works on sane cases.  Now check whether nonexistent headers
3392  # can be detected and how.
3393  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394/* end confdefs.h.  */
3395#include <ac_nonexistent.h>
3396_ACEOF
3397if ac_fn_cxx_try_cpp "$LINENO"; then :
3398  # Broken: success on invalid input.
3399continue
3400else
3401  # Passes both tests.
3402ac_preproc_ok=:
3403break
3404fi
3405rm -f conftest.err conftest.i conftest.$ac_ext
3406
3407done
3408# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3409rm -f conftest.i conftest.err conftest.$ac_ext
3410if $ac_preproc_ok; then :
3411
3412else
3413  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3416See \`config.log' for more details" "$LINENO" 5; }
3417fi
3418
3419ac_ext=cpp
3420ac_cpp='$CXXCPP $CPPFLAGS'
3421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3424
3425if test -n "$ac_tool_prefix"; then
3426  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3427set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429$as_echo_n "checking for $ac_word... " >&6; }
3430if ${ac_cv_prog_RANLIB+:} false; then :
3431  $as_echo_n "(cached) " >&6
3432else
3433  if test -n "$RANLIB"; then
3434  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3435else
3436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437for as_dir in $PATH
3438do
3439  IFS=$as_save_IFS
3440  test -z "$as_dir" && as_dir=.
3441    for ac_exec_ext in '' $ac_executable_extensions; do
3442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3443    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445    break 2
3446  fi
3447done
3448  done
3449IFS=$as_save_IFS
3450
3451fi
3452fi
3453RANLIB=$ac_cv_prog_RANLIB
3454if test -n "$RANLIB"; then
3455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3456$as_echo "$RANLIB" >&6; }
3457else
3458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459$as_echo "no" >&6; }
3460fi
3461
3462
3463fi
3464if test -z "$ac_cv_prog_RANLIB"; then
3465  ac_ct_RANLIB=$RANLIB
3466  # Extract the first word of "ranlib", so it can be a program name with args.
3467set dummy ranlib; ac_word=$2
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469$as_echo_n "checking for $ac_word... " >&6; }
3470if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3471  $as_echo_n "(cached) " >&6
3472else
3473  if test -n "$ac_ct_RANLIB"; then
3474  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3475else
3476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477for as_dir in $PATH
3478do
3479  IFS=$as_save_IFS
3480  test -z "$as_dir" && as_dir=.
3481    for ac_exec_ext in '' $ac_executable_extensions; do
3482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483    ac_cv_prog_ac_ct_RANLIB="ranlib"
3484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485    break 2
3486  fi
3487done
3488  done
3489IFS=$as_save_IFS
3490
3491fi
3492fi
3493ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3494if test -n "$ac_ct_RANLIB"; then
3495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3496$as_echo "$ac_ct_RANLIB" >&6; }
3497else
3498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499$as_echo "no" >&6; }
3500fi
3501
3502  if test "x$ac_ct_RANLIB" = x; then
3503    RANLIB=":"
3504  else
3505    case $cross_compiling:$ac_tool_warned in
3506yes:)
3507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509ac_tool_warned=yes ;;
3510esac
3511    RANLIB=$ac_ct_RANLIB
3512  fi
3513else
3514  RANLIB="$ac_cv_prog_RANLIB"
3515fi
3516
3517
3518
3519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3520$as_echo_n "checking whether NLS is requested... " >&6; }
3521    # Check whether --enable-nls was given.
3522if test "${enable_nls+set}" = set; then :
3523  enableval=$enable_nls; USE_NLS=$enableval
3524else
3525  USE_NLS=yes
3526fi
3527
3528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3529$as_echo "$USE_NLS" >&6; }
3530
3531
3532
3533
3534
3535case "$am__api_version" in
3536    1.01234)
3537	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3538    ;;
3539    *)
3540    ;;
3541esac
3542
3543INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3544INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3545INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3546if test -n "0.40.0"; then
3547    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
3548$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
3549    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3550$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3551    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3552	as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
3553fi
3554
3555# Extract the first word of "intltool-update", so it can be a program name with args.
3556set dummy intltool-update; ac_word=$2
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558$as_echo_n "checking for $ac_word... " >&6; }
3559if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3560  $as_echo_n "(cached) " >&6
3561else
3562  case $INTLTOOL_UPDATE in
3563  [\\/]* | ?:[\\/]*)
3564  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3565  ;;
3566  *)
3567  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568for as_dir in $PATH
3569do
3570  IFS=$as_save_IFS
3571  test -z "$as_dir" && as_dir=.
3572    for ac_exec_ext in '' $ac_executable_extensions; do
3573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576    break 2
3577  fi
3578done
3579  done
3580IFS=$as_save_IFS
3581
3582  ;;
3583esac
3584fi
3585INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3586if test -n "$INTLTOOL_UPDATE"; then
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3588$as_echo "$INTLTOOL_UPDATE" >&6; }
3589else
3590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591$as_echo "no" >&6; }
3592fi
3593
3594
3595# Extract the first word of "intltool-merge", so it can be a program name with args.
3596set dummy intltool-merge; ac_word=$2
3597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598$as_echo_n "checking for $ac_word... " >&6; }
3599if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3600  $as_echo_n "(cached) " >&6
3601else
3602  case $INTLTOOL_MERGE in
3603  [\\/]* | ?:[\\/]*)
3604  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3605  ;;
3606  *)
3607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH
3609do
3610  IFS=$as_save_IFS
3611  test -z "$as_dir" && as_dir=.
3612    for ac_exec_ext in '' $ac_executable_extensions; do
3613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616    break 2
3617  fi
3618done
3619  done
3620IFS=$as_save_IFS
3621
3622  ;;
3623esac
3624fi
3625INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3626if test -n "$INTLTOOL_MERGE"; then
3627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3628$as_echo "$INTLTOOL_MERGE" >&6; }
3629else
3630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631$as_echo "no" >&6; }
3632fi
3633
3634
3635# Extract the first word of "intltool-extract", so it can be a program name with args.
3636set dummy intltool-extract; ac_word=$2
3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638$as_echo_n "checking for $ac_word... " >&6; }
3639if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3640  $as_echo_n "(cached) " >&6
3641else
3642  case $INTLTOOL_EXTRACT in
3643  [\\/]* | ?:[\\/]*)
3644  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3645  ;;
3646  *)
3647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648for as_dir in $PATH
3649do
3650  IFS=$as_save_IFS
3651  test -z "$as_dir" && as_dir=.
3652    for ac_exec_ext in '' $ac_executable_extensions; do
3653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656    break 2
3657  fi
3658done
3659  done
3660IFS=$as_save_IFS
3661
3662  ;;
3663esac
3664fi
3665INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3666if test -n "$INTLTOOL_EXTRACT"; then
3667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3668$as_echo "$INTLTOOL_EXTRACT" >&6; }
3669else
3670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671$as_echo "no" >&6; }
3672fi
3673
3674
3675if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3676    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3677fi
3678
3679if test -z "$AM_DEFAULT_VERBOSITY"; then
3680  AM_DEFAULT_VERBOSITY=1
3681fi
3682
3683
3684INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3685INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3686INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
3687
3688
3689
3690
3691INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3692intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3693intltool__v_merge_options_0='-q'
3694
3695
3696
3697
3698  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 $< $@'
3699INTLTOOL_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 $< $@'
3700     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 $< $@'
3701     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 $< $@'
3702      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 $< $@'
3703     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 $< $@'
3704   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 $< $@'
3705    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 $< $@'
3706INTLTOOL_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 $< $@'
3707       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 $< $@'
3708      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 $< $@'
3709if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3710      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 $< $@'
3711else
3712      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'
3713fi
3714      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 $< $@'
3715      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 $< $@'
3716    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 $< $@'
3717  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 $< $@'
3718    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 $< $@'
3719    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 $< $@'
3720   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 $< $@'
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818# Check the gettext tools to make sure they are GNU
3819# Extract the first word of "xgettext", so it can be a program name with args.
3820set dummy xgettext; ac_word=$2
3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822$as_echo_n "checking for $ac_word... " >&6; }
3823if ${ac_cv_path_XGETTEXT+:} false; then :
3824  $as_echo_n "(cached) " >&6
3825else
3826  case $XGETTEXT in
3827  [\\/]* | ?:[\\/]*)
3828  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3829  ;;
3830  *)
3831  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832for as_dir in $PATH
3833do
3834  IFS=$as_save_IFS
3835  test -z "$as_dir" && as_dir=.
3836    for ac_exec_ext in '' $ac_executable_extensions; do
3837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3838    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840    break 2
3841  fi
3842done
3843  done
3844IFS=$as_save_IFS
3845
3846  ;;
3847esac
3848fi
3849XGETTEXT=$ac_cv_path_XGETTEXT
3850if test -n "$XGETTEXT"; then
3851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3852$as_echo "$XGETTEXT" >&6; }
3853else
3854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855$as_echo "no" >&6; }
3856fi
3857
3858
3859# Extract the first word of "msgmerge", so it can be a program name with args.
3860set dummy msgmerge; ac_word=$2
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862$as_echo_n "checking for $ac_word... " >&6; }
3863if ${ac_cv_path_MSGMERGE+:} false; then :
3864  $as_echo_n "(cached) " >&6
3865else
3866  case $MSGMERGE in
3867  [\\/]* | ?:[\\/]*)
3868  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3869  ;;
3870  *)
3871  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872for as_dir in $PATH
3873do
3874  IFS=$as_save_IFS
3875  test -z "$as_dir" && as_dir=.
3876    for ac_exec_ext in '' $ac_executable_extensions; do
3877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3878    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880    break 2
3881  fi
3882done
3883  done
3884IFS=$as_save_IFS
3885
3886  ;;
3887esac
3888fi
3889MSGMERGE=$ac_cv_path_MSGMERGE
3890if test -n "$MSGMERGE"; then
3891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3892$as_echo "$MSGMERGE" >&6; }
3893else
3894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895$as_echo "no" >&6; }
3896fi
3897
3898
3899# Extract the first word of "msgfmt", so it can be a program name with args.
3900set dummy msgfmt; ac_word=$2
3901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902$as_echo_n "checking for $ac_word... " >&6; }
3903if ${ac_cv_path_MSGFMT+:} false; then :
3904  $as_echo_n "(cached) " >&6
3905else
3906  case $MSGFMT in
3907  [\\/]* | ?:[\\/]*)
3908  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3909  ;;
3910  *)
3911  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912for as_dir in $PATH
3913do
3914  IFS=$as_save_IFS
3915  test -z "$as_dir" && as_dir=.
3916    for ac_exec_ext in '' $ac_executable_extensions; do
3917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920    break 2
3921  fi
3922done
3923  done
3924IFS=$as_save_IFS
3925
3926  ;;
3927esac
3928fi
3929MSGFMT=$ac_cv_path_MSGFMT
3930if test -n "$MSGFMT"; then
3931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3932$as_echo "$MSGFMT" >&6; }
3933else
3934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935$as_echo "no" >&6; }
3936fi
3937
3938
3939# Extract the first word of "gmsgfmt", so it can be a program name with args.
3940set dummy gmsgfmt; ac_word=$2
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942$as_echo_n "checking for $ac_word... " >&6; }
3943if ${ac_cv_path_GMSGFMT+:} false; then :
3944  $as_echo_n "(cached) " >&6
3945else
3946  case $GMSGFMT in
3947  [\\/]* | ?:[\\/]*)
3948  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3949  ;;
3950  *)
3951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952for as_dir in $PATH
3953do
3954  IFS=$as_save_IFS
3955  test -z "$as_dir" && as_dir=.
3956    for ac_exec_ext in '' $ac_executable_extensions; do
3957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960    break 2
3961  fi
3962done
3963  done
3964IFS=$as_save_IFS
3965
3966  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3967  ;;
3968esac
3969fi
3970GMSGFMT=$ac_cv_path_GMSGFMT
3971if test -n "$GMSGFMT"; then
3972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3973$as_echo "$GMSGFMT" >&6; }
3974else
3975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976$as_echo "no" >&6; }
3977fi
3978
3979
3980if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3981    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3982fi
3983xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3984mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3985mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3986if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3987    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3988fi
3989
3990# Extract the first word of "perl", so it can be a program name with args.
3991set dummy perl; ac_word=$2
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993$as_echo_n "checking for $ac_word... " >&6; }
3994if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3995  $as_echo_n "(cached) " >&6
3996else
3997  case $INTLTOOL_PERL in
3998  [\\/]* | ?:[\\/]*)
3999  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4000  ;;
4001  *)
4002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003for as_dir in $PATH
4004do
4005  IFS=$as_save_IFS
4006  test -z "$as_dir" && as_dir=.
4007    for ac_exec_ext in '' $ac_executable_extensions; do
4008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011    break 2
4012  fi
4013done
4014  done
4015IFS=$as_save_IFS
4016
4017  ;;
4018esac
4019fi
4020INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4021if test -n "$INTLTOOL_PERL"; then
4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4023$as_echo "$INTLTOOL_PERL" >&6; }
4024else
4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026$as_echo "no" >&6; }
4027fi
4028
4029
4030if test -z "$INTLTOOL_PERL"; then
4031   as_fn_error $? "perl not found" "$LINENO" 5
4032fi
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4034$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4035$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4036if test $? -ne 0; then
4037   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4038else
4039   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4041$as_echo "$IT_PERL_VERSION" >&6; }
4042fi
4043if test "x" != "xno-xml"; then
4044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4045$as_echo_n "checking for XML::Parser... " >&6; }
4046   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4047       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4048$as_echo "ok" >&6; }
4049   else
4050       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4051   fi
4052fi
4053
4054# Substitute ALL_LINGUAS so we can use it in po/Makefile
4055
4056
4057# Set DATADIRNAME correctly if it is not set yet
4058# (copied from glib-gettext.m4)
4059if test -z "$DATADIRNAME"; then
4060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061/* end confdefs.h.  */
4062
4063int
4064main ()
4065{
4066extern int _nl_msg_cat_cntr;
4067                       return _nl_msg_cat_cntr
4068  ;
4069  return 0;
4070}
4071_ACEOF
4072if ac_fn_cxx_try_link "$LINENO"; then :
4073  DATADIRNAME=share
4074else
4075  case $host in
4076    *-*-solaris*)
4077                        ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4078if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4079  DATADIRNAME=share
4080else
4081  DATADIRNAME=lib
4082fi
4083
4084    ;;
4085    *)
4086    DATADIRNAME=lib
4087    ;;
4088    esac
4089fi
4090rm -f core conftest.err conftest.$ac_objext \
4091    conftest$ac_exeext conftest.$ac_ext
4092fi
4093
4094
4095
4096
4097
4098
4099# Make sure we can run config.sub.
4100$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4101  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4102
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4104$as_echo_n "checking build system type... " >&6; }
4105if ${ac_cv_build+:} false; then :
4106  $as_echo_n "(cached) " >&6
4107else
4108  ac_build_alias=$build_alias
4109test "x$ac_build_alias" = x &&
4110  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4111test "x$ac_build_alias" = x &&
4112  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4113ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4114  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4115
4116fi
4117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4118$as_echo "$ac_cv_build" >&6; }
4119case $ac_cv_build in
4120*-*-*) ;;
4121*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4122esac
4123build=$ac_cv_build
4124ac_save_IFS=$IFS; IFS='-'
4125set x $ac_cv_build
4126shift
4127build_cpu=$1
4128build_vendor=$2
4129shift; shift
4130# Remember, the first character of IFS is used to create $*,
4131# except with old shells:
4132build_os=$*
4133IFS=$ac_save_IFS
4134case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4135
4136
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4138$as_echo_n "checking host system type... " >&6; }
4139if ${ac_cv_host+:} false; then :
4140  $as_echo_n "(cached) " >&6
4141else
4142  if test "x$host_alias" = x; then
4143  ac_cv_host=$ac_cv_build
4144else
4145  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4146    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4147fi
4148
4149fi
4150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4151$as_echo "$ac_cv_host" >&6; }
4152case $ac_cv_host in
4153*-*-*) ;;
4154*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4155esac
4156host=$ac_cv_host
4157ac_save_IFS=$IFS; IFS='-'
4158set x $ac_cv_host
4159shift
4160host_cpu=$1
4161host_vendor=$2
4162shift; shift
4163# Remember, the first character of IFS is used to create $*,
4164# except with old shells:
4165host_os=$*
4166IFS=$ac_save_IFS
4167case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4168
4169
4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the OS" >&5
4171$as_echo_n "checking the OS... " >&6; }
4172case $host in #(
4173  *-*-mingw*) :
4174
4175		os="WIN"
4176
4177$as_echo "#define OS_WIN 1" >>confdefs.h
4178
4179	 ;; #(
4180  *-*-darwin*) :
4181
4182		os="OSX"
4183
4184$as_echo "#define OS_OSX 1" >>confdefs.h
4185
4186	 ;; #(
4187  *) :
4188
4189		os="UNIX"
4190
4191$as_echo "#define OS_UNIX 1" >>confdefs.h
4192
4193
4194 ;; #(
4195  *) :
4196     ;;
4197esac
4198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os" >&5
4199$as_echo "$os" >&6; }
4200
4201# Extract the first word of "valgrind", so it can be a program name with args.
4202set dummy valgrind; ac_word=$2
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204$as_echo_n "checking for $ac_word... " >&6; }
4205if ${ac_cv_prog_HAVE_VALGRIND+:} false; then :
4206  $as_echo_n "(cached) " >&6
4207else
4208  if test -n "$HAVE_VALGRIND"; then
4209  ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test.
4210else
4211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212for as_dir in $PATH
4213do
4214  IFS=$as_save_IFS
4215  test -z "$as_dir" && as_dir=.
4216    for ac_exec_ext in '' $ac_executable_extensions; do
4217  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218    ac_cv_prog_HAVE_VALGRIND="yes"
4219    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220    break 2
4221  fi
4222done
4223  done
4224IFS=$as_save_IFS
4225
4226  test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no"
4227fi
4228fi
4229HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND
4230if test -n "$HAVE_VALGRIND"; then
4231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VALGRIND" >&5
4232$as_echo "$HAVE_VALGRIND" >&6; }
4233else
4234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235$as_echo "no" >&6; }
4236fi
4237
4238
4239 if test x$HAVE_VALGRIND = xyes; then
4240  USE_VALGRIND_TRUE=
4241  USE_VALGRIND_FALSE='#'
4242else
4243  USE_VALGRIND_TRUE='#'
4244  USE_VALGRIND_FALSE=
4245fi
4246
4247
4248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
4249$as_echo_n "checking for log10 in -lm... " >&6; }
4250if ${ac_cv_lib_m_log10+:} false; then :
4251  $as_echo_n "(cached) " >&6
4252else
4253  ac_check_lib_save_LIBS=$LIBS
4254LIBS="-lm  $LIBS"
4255cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256/* end confdefs.h.  */
4257
4258/* Override any GCC internal prototype to avoid an error.
4259   Use char because int might match the return type of a GCC
4260   builtin and then its argument prototype would still apply.  */
4261#ifdef __cplusplus
4262extern "C"
4263#endif
4264char log10 ();
4265int
4266main ()
4267{
4268return log10 ();
4269  ;
4270  return 0;
4271}
4272_ACEOF
4273if ac_fn_cxx_try_link "$LINENO"; then :
4274  ac_cv_lib_m_log10=yes
4275else
4276  ac_cv_lib_m_log10=no
4277fi
4278rm -f core conftest.err conftest.$ac_objext \
4279    conftest$ac_exeext conftest.$ac_ext
4280LIBS=$ac_check_lib_save_LIBS
4281fi
4282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
4283$as_echo "$ac_cv_lib_m_log10" >&6; }
4284if test "x$ac_cv_lib_m_log10" = xyes; then :
4285  cat >>confdefs.h <<_ACEOF
4286#define HAVE_LIBM 1
4287_ACEOF
4288
4289  LIBS="-lm $LIBS"
4290
4291fi
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4302	if test -n "$ac_tool_prefix"; then
4303  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4304set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306$as_echo_n "checking for $ac_word... " >&6; }
4307if ${ac_cv_path_PKG_CONFIG+:} false; then :
4308  $as_echo_n "(cached) " >&6
4309else
4310  case $PKG_CONFIG in
4311  [\\/]* | ?:[\\/]*)
4312  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4313  ;;
4314  *)
4315  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316for as_dir in $PATH
4317do
4318  IFS=$as_save_IFS
4319  test -z "$as_dir" && as_dir=.
4320    for ac_exec_ext in '' $ac_executable_extensions; do
4321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324    break 2
4325  fi
4326done
4327  done
4328IFS=$as_save_IFS
4329
4330  ;;
4331esac
4332fi
4333PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4334if test -n "$PKG_CONFIG"; then
4335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4336$as_echo "$PKG_CONFIG" >&6; }
4337else
4338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339$as_echo "no" >&6; }
4340fi
4341
4342
4343fi
4344if test -z "$ac_cv_path_PKG_CONFIG"; then
4345  ac_pt_PKG_CONFIG=$PKG_CONFIG
4346  # Extract the first word of "pkg-config", so it can be a program name with args.
4347set dummy pkg-config; ac_word=$2
4348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349$as_echo_n "checking for $ac_word... " >&6; }
4350if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4351  $as_echo_n "(cached) " >&6
4352else
4353  case $ac_pt_PKG_CONFIG in
4354  [\\/]* | ?:[\\/]*)
4355  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4356  ;;
4357  *)
4358  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359for as_dir in $PATH
4360do
4361  IFS=$as_save_IFS
4362  test -z "$as_dir" && as_dir=.
4363    for ac_exec_ext in '' $ac_executable_extensions; do
4364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367    break 2
4368  fi
4369done
4370  done
4371IFS=$as_save_IFS
4372
4373  ;;
4374esac
4375fi
4376ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4377if test -n "$ac_pt_PKG_CONFIG"; then
4378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4379$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4380else
4381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382$as_echo "no" >&6; }
4383fi
4384
4385  if test "x$ac_pt_PKG_CONFIG" = x; then
4386    PKG_CONFIG=""
4387  else
4388    case $cross_compiling:$ac_tool_warned in
4389yes:)
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392ac_tool_warned=yes ;;
4393esac
4394    PKG_CONFIG=$ac_pt_PKG_CONFIG
4395  fi
4396else
4397  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4398fi
4399
4400fi
4401if test -n "$PKG_CONFIG"; then
4402	_pkg_min_version=0.9.0
4403	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4404$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4405	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4406		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4407$as_echo "yes" >&6; }
4408	else
4409		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410$as_echo "no" >&6; }
4411		PKG_CONFIG=""
4412	fi
4413fi
4414
4415pkg_failed=no
4416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEG" >&5
4417$as_echo_n "checking for FFMPEG... " >&6; }
4418
4419if test -n "$FFMPEG_CFLAGS"; then
4420    pkg_cv_FFMPEG_CFLAGS="$FFMPEG_CFLAGS"
4421 elif test -n "$PKG_CONFIG"; then
4422    if test -n "$PKG_CONFIG" && \
4423    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17\""; } >&5
4424  ($PKG_CONFIG --exists --print-errors "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17") 2>&5
4425  ac_status=$?
4426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427  test $ac_status = 0; }; then
4428  pkg_cv_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17" 2>/dev/null`
4429		      test "x$?" != "x0" && pkg_failed=yes
4430else
4431  pkg_failed=yes
4432fi
4433 else
4434    pkg_failed=untried
4435fi
4436if test -n "$FFMPEG_LIBS"; then
4437    pkg_cv_FFMPEG_LIBS="$FFMPEG_LIBS"
4438 elif test -n "$PKG_CONFIG"; then
4439    if test -n "$PKG_CONFIG" && \
4440    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17\""; } >&5
4441  ($PKG_CONFIG --exists --print-errors "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17") 2>&5
4442  ac_status=$?
4443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444  test $ac_status = 0; }; then
4445  pkg_cv_FFMPEG_LIBS=`$PKG_CONFIG --libs "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17" 2>/dev/null`
4446		      test "x$?" != "x0" && pkg_failed=yes
4447else
4448  pkg_failed=yes
4449fi
4450 else
4451    pkg_failed=untried
4452fi
4453
4454
4455
4456if test $pkg_failed = yes; then
4457   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458$as_echo "no" >&6; }
4459
4460if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4461        _pkg_short_errors_supported=yes
4462else
4463        _pkg_short_errors_supported=no
4464fi
4465        if test $_pkg_short_errors_supported = yes; then
4466	        FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17" 2>&1`
4467        else
4468	        FFMPEG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17" 2>&1`
4469        fi
4470	# Put the nasty error message in config.log where it belongs
4471	echo "$FFMPEG_PKG_ERRORS" >&5
4472
4473	as_fn_error $? "Package requirements (libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17) were not met:
4474
4475$FFMPEG_PKG_ERRORS
4476
4477Consider adjusting the PKG_CONFIG_PATH environment variable if you
4478installed software in a non-standard prefix.
4479
4480Alternatively, you may set the environment variables FFMPEG_CFLAGS
4481and FFMPEG_LIBS to avoid the need to call pkg-config.
4482See the pkg-config man page for more details." "$LINENO" 5
4483elif test $pkg_failed = untried; then
4484     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485$as_echo "no" >&6; }
4486	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4488as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4489is in your PATH or set the PKG_CONFIG environment variable to the full
4490path to pkg-config.
4491
4492Alternatively, you may set the environment variables FFMPEG_CFLAGS
4493and FFMPEG_LIBS to avoid the need to call pkg-config.
4494See the pkg-config man page for more details.
4495
4496To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4497See \`config.log' for more details" "$LINENO" 5; }
4498else
4499	FFMPEG_CFLAGS=$pkg_cv_FFMPEG_CFLAGS
4500	FFMPEG_LIBS=$pkg_cv_FFMPEG_LIBS
4501        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4502$as_echo "yes" >&6; }
4503
4504fi
4505
4506
4507
4508# Check whether --with-wxdir was given.
4509if test "${with_wxdir+set}" = set; then :
4510  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
4511                  wx_config_args="--inplace"
4512fi
4513
4514
4515# Check whether --with-wx-config was given.
4516if test "${with_wx_config+set}" = set; then :
4517  withval=$with_wx_config; wx_config_name="$withval"
4518fi
4519
4520
4521# Check whether --with-wx-prefix was given.
4522if test "${with_wx_prefix+set}" = set; then :
4523  withval=$with_wx_prefix; wx_config_prefix="$withval"
4524else
4525  wx_config_prefix=""
4526fi
4527
4528
4529# Check whether --with-wx-exec-prefix was given.
4530if test "${with_wx_exec_prefix+set}" = set; then :
4531  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4532else
4533  wx_config_exec_prefix=""
4534fi
4535
4536
4537reqwx=2.8.0
4538
4539    if test x${WX_CONFIG_NAME+set} != xset ; then
4540     WX_CONFIG_NAME=wx-config
4541  fi
4542
4543  if test "x$wx_config_name" != x ; then
4544     WX_CONFIG_NAME="$wx_config_name"
4545  fi
4546
4547    if test x$wx_config_exec_prefix != x ; then
4548     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4549     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4550  fi
4551  if test x$wx_config_prefix != x ; then
4552     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4553     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4554  fi
4555  if test "$cross_compiling" = "yes"; then
4556     wx_config_args="$wx_config_args --host=$host_alias"
4557  fi
4558
4559    if test -x "$WX_CONFIG_NAME" ; then
4560     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4561$as_echo_n "checking for wx-config... " >&6; }
4562     WX_CONFIG_PATH="$WX_CONFIG_NAME"
4563     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4564$as_echo "$WX_CONFIG_PATH" >&6; }
4565  else
4566     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4567set dummy $WX_CONFIG_NAME; ac_word=$2
4568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569$as_echo_n "checking for $ac_word... " >&6; }
4570if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4571  $as_echo_n "(cached) " >&6
4572else
4573  case $WX_CONFIG_PATH in
4574  [\\/]* | ?:[\\/]*)
4575  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4576  ;;
4577  *)
4578  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579as_dummy=""$WX_LOOKUP_PATH:$PATH""
4580for as_dir in $as_dummy
4581do
4582  IFS=$as_save_IFS
4583  test -z "$as_dir" && as_dir=.
4584    for ac_exec_ext in '' $ac_executable_extensions; do
4585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588    break 2
4589  fi
4590done
4591  done
4592IFS=$as_save_IFS
4593
4594  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4595  ;;
4596esac
4597fi
4598WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4599if test -n "$WX_CONFIG_PATH"; then
4600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4601$as_echo "$WX_CONFIG_PATH" >&6; }
4602else
4603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604$as_echo "no" >&6; }
4605fi
4606
4607
4608  fi
4609
4610  if test "$WX_CONFIG_PATH" != "no" ; then
4611    WX_VERSION=""
4612
4613    min_wx_version=$reqwx
4614    if test -z "" ; then
4615      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4616$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4617    else
4618      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4619$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4620    fi
4621
4622    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
4623
4624    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4625    wx_config_major_version=`echo $WX_VERSION | \
4626           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4627    wx_config_minor_version=`echo $WX_VERSION | \
4628           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4629    wx_config_micro_version=`echo $WX_VERSION | \
4630           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4631
4632    wx_requested_major_version=`echo $min_wx_version | \
4633           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4634    wx_requested_minor_version=`echo $min_wx_version | \
4635           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4636    wx_requested_micro_version=`echo $min_wx_version | \
4637           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4638
4639
4640    wx_ver_ok=""
4641    if test "x$WX_VERSION" != x ; then
4642      if test $wx_config_major_version -gt $wx_requested_major_version; then
4643        wx_ver_ok=yes
4644      else
4645        if test $wx_config_major_version -eq $wx_requested_major_version; then
4646           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4647              wx_ver_ok=yes
4648           else
4649              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4650                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4651                    wx_ver_ok=yes
4652                 fi
4653              fi
4654           fi
4655        fi
4656      fi
4657    fi
4658
4659
4660    if test -n "$wx_ver_ok"; then
4661
4662      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4663$as_echo "yes (version $WX_VERSION)" >&6; }
4664      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
4665
4666                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4667$as_echo_n "checking for wxWidgets static library... " >&6; }
4668      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4669      if test "x$WX_LIBS_STATIC" = "x"; then
4670        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671$as_echo "no" >&6; }
4672      else
4673        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4674$as_echo "yes" >&6; }
4675      fi
4676
4677            wx_has_cppflags=""
4678      if test $wx_config_major_version -gt 2; then
4679        wx_has_cppflags=yes
4680      else
4681        if test $wx_config_major_version -eq 2; then
4682           if test $wx_config_minor_version -gt 2; then
4683              wx_has_cppflags=yes
4684           else
4685              if test $wx_config_minor_version -eq 2; then
4686                 if test $wx_config_micro_version -ge 6; then
4687                    wx_has_cppflags=yes
4688                 fi
4689              fi
4690           fi
4691        fi
4692      fi
4693
4694            wx_has_rescomp=""
4695      if test $wx_config_major_version -gt 2; then
4696        wx_has_rescomp=yes
4697      else
4698        if test $wx_config_major_version -eq 2; then
4699           if test $wx_config_minor_version -ge 7; then
4700              wx_has_rescomp=yes
4701           fi
4702        fi
4703      fi
4704      if test "x$wx_has_rescomp" = x ; then
4705                  WX_RESCOMP=
4706      else
4707         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4708      fi
4709
4710      if test "x$wx_has_cppflags" = x ; then
4711                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
4712         WX_CPPFLAGS=$WX_CFLAGS
4713         WX_CXXFLAGS=$WX_CFLAGS
4714
4715         WX_CFLAGS_ONLY=$WX_CFLAGS
4716         WX_CXXFLAGS_ONLY=$WX_CFLAGS
4717      else
4718                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
4719         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
4720         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
4721
4722         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4723         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4724      fi
4725
4726      wx=1
4727
4728    else
4729
4730       if test "x$WX_VERSION" = x; then
4731                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732$as_echo "no" >&6; }
4733       else
4734          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4735$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4736       fi
4737
4738       WX_CFLAGS=""
4739       WX_CPPFLAGS=""
4740       WX_CXXFLAGS=""
4741       WX_LIBS=""
4742       WX_LIBS_STATIC=""
4743       WX_RESCOMP=""
4744       :
4745
4746    fi
4747  else
4748
4749    WX_CFLAGS=""
4750    WX_CPPFLAGS=""
4751    WX_CXXFLAGS=""
4752    WX_LIBS=""
4753    WX_LIBS_STATIC=""
4754    WX_RESCOMP=""
4755
4756    :
4757
4758  fi
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770if test "$wx" != 1; then
4771	as_fn_error $? "
4772		wxWidgets must be installed on your system.
4773
4774		Please check that wx-config is in path, the directory
4775		where wxWidgets libraries are installed (returned by
4776		'wx-config --libs' or 'wx-config --static --libs' command)
4777		is in LD_LIBRARY_PATH or equivalent variable and
4778		wxWidgets version is $reqwx or above.
4779		" "$LINENO" 5
4780fi
4781
4782GETTEXT_PACKAGE=spek
4783
4784cat >>confdefs.h <<_ACEOF
4785#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4786_ACEOF
4787
4788
4789
4790
4791
4792      GETTEXT_MACRO_VERSION=0.18
4793
4794
4795
4796
4797# Prepare PATH_SEPARATOR.
4798# The user is always right.
4799if test "${PATH_SEPARATOR+set}" != set; then
4800  echo "#! /bin/sh" >conf$$.sh
4801  echo  "exit 0"   >>conf$$.sh
4802  chmod +x conf$$.sh
4803  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4804    PATH_SEPARATOR=';'
4805  else
4806    PATH_SEPARATOR=:
4807  fi
4808  rm -f conf$$.sh
4809fi
4810
4811# Find out how to test for executable files. Don't use a zero-byte file,
4812# as systems may use methods other than mode bits to determine executability.
4813cat >conf$$.file <<_ASEOF
4814#! /bin/sh
4815exit 0
4816_ASEOF
4817chmod +x conf$$.file
4818if test -x conf$$.file >/dev/null 2>&1; then
4819  ac_executable_p="test -x"
4820else
4821  ac_executable_p="test -f"
4822fi
4823rm -f conf$$.file
4824
4825# Extract the first word of "msgfmt", so it can be a program name with args.
4826set dummy msgfmt; ac_word=$2
4827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828$as_echo_n "checking for $ac_word... " >&6; }
4829if ${ac_cv_path_MSGFMT+:} false; then :
4830  $as_echo_n "(cached) " >&6
4831else
4832  case "$MSGFMT" in
4833  [\\/]* | ?:[\\/]*)
4834    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4835    ;;
4836  *)
4837    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4838    for ac_dir in $PATH; do
4839      IFS="$ac_save_IFS"
4840      test -z "$ac_dir" && ac_dir=.
4841      for ac_exec_ext in '' $ac_executable_extensions; do
4842        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4843          echo "$as_me: trying $ac_dir/$ac_word..." >&5
4844          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4845     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4846            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4847            break 2
4848          fi
4849        fi
4850      done
4851    done
4852    IFS="$ac_save_IFS"
4853  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4854    ;;
4855esac
4856fi
4857MSGFMT="$ac_cv_path_MSGFMT"
4858if test "$MSGFMT" != ":"; then
4859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4860$as_echo "$MSGFMT" >&6; }
4861else
4862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863$as_echo "no" >&6; }
4864fi
4865
4866  # Extract the first word of "gmsgfmt", so it can be a program name with args.
4867set dummy gmsgfmt; ac_word=$2
4868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869$as_echo_n "checking for $ac_word... " >&6; }
4870if ${ac_cv_path_GMSGFMT+:} false; then :
4871  $as_echo_n "(cached) " >&6
4872else
4873  case $GMSGFMT in
4874  [\\/]* | ?:[\\/]*)
4875  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4876  ;;
4877  *)
4878  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879for as_dir in $PATH
4880do
4881  IFS=$as_save_IFS
4882  test -z "$as_dir" && as_dir=.
4883    for ac_exec_ext in '' $ac_executable_extensions; do
4884  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4885    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887    break 2
4888  fi
4889done
4890  done
4891IFS=$as_save_IFS
4892
4893  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4894  ;;
4895esac
4896fi
4897GMSGFMT=$ac_cv_path_GMSGFMT
4898if test -n "$GMSGFMT"; then
4899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4900$as_echo "$GMSGFMT" >&6; }
4901else
4902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903$as_echo "no" >&6; }
4904fi
4905
4906
4907
4908    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4909    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4910    *) MSGFMT_015=$MSGFMT ;;
4911  esac
4912
4913  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4914    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4915    *) GMSGFMT_015=$GMSGFMT ;;
4916  esac
4917
4918
4919
4920# Prepare PATH_SEPARATOR.
4921# The user is always right.
4922if test "${PATH_SEPARATOR+set}" != set; then
4923  echo "#! /bin/sh" >conf$$.sh
4924  echo  "exit 0"   >>conf$$.sh
4925  chmod +x conf$$.sh
4926  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4927    PATH_SEPARATOR=';'
4928  else
4929    PATH_SEPARATOR=:
4930  fi
4931  rm -f conf$$.sh
4932fi
4933
4934# Find out how to test for executable files. Don't use a zero-byte file,
4935# as systems may use methods other than mode bits to determine executability.
4936cat >conf$$.file <<_ASEOF
4937#! /bin/sh
4938exit 0
4939_ASEOF
4940chmod +x conf$$.file
4941if test -x conf$$.file >/dev/null 2>&1; then
4942  ac_executable_p="test -x"
4943else
4944  ac_executable_p="test -f"
4945fi
4946rm -f conf$$.file
4947
4948# Extract the first word of "xgettext", so it can be a program name with args.
4949set dummy xgettext; ac_word=$2
4950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951$as_echo_n "checking for $ac_word... " >&6; }
4952if ${ac_cv_path_XGETTEXT+:} false; then :
4953  $as_echo_n "(cached) " >&6
4954else
4955  case "$XGETTEXT" in
4956  [\\/]* | ?:[\\/]*)
4957    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4958    ;;
4959  *)
4960    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4961    for ac_dir in $PATH; do
4962      IFS="$ac_save_IFS"
4963      test -z "$ac_dir" && ac_dir=.
4964      for ac_exec_ext in '' $ac_executable_extensions; do
4965        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4966          echo "$as_me: trying $ac_dir/$ac_word..." >&5
4967          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4968     (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
4969            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4970            break 2
4971          fi
4972        fi
4973      done
4974    done
4975    IFS="$ac_save_IFS"
4976  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4977    ;;
4978esac
4979fi
4980XGETTEXT="$ac_cv_path_XGETTEXT"
4981if test "$XGETTEXT" != ":"; then
4982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4983$as_echo "$XGETTEXT" >&6; }
4984else
4985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986$as_echo "no" >&6; }
4987fi
4988
4989    rm -f messages.po
4990
4991    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4992    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4993    *) XGETTEXT_015=$XGETTEXT ;;
4994  esac
4995
4996
4997
4998# Prepare PATH_SEPARATOR.
4999# The user is always right.
5000if test "${PATH_SEPARATOR+set}" != set; then
5001  echo "#! /bin/sh" >conf$$.sh
5002  echo  "exit 0"   >>conf$$.sh
5003  chmod +x conf$$.sh
5004  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5005    PATH_SEPARATOR=';'
5006  else
5007    PATH_SEPARATOR=:
5008  fi
5009  rm -f conf$$.sh
5010fi
5011
5012# Find out how to test for executable files. Don't use a zero-byte file,
5013# as systems may use methods other than mode bits to determine executability.
5014cat >conf$$.file <<_ASEOF
5015#! /bin/sh
5016exit 0
5017_ASEOF
5018chmod +x conf$$.file
5019if test -x conf$$.file >/dev/null 2>&1; then
5020  ac_executable_p="test -x"
5021else
5022  ac_executable_p="test -f"
5023fi
5024rm -f conf$$.file
5025
5026# Extract the first word of "msgmerge", so it can be a program name with args.
5027set dummy msgmerge; ac_word=$2
5028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029$as_echo_n "checking for $ac_word... " >&6; }
5030if ${ac_cv_path_MSGMERGE+:} false; then :
5031  $as_echo_n "(cached) " >&6
5032else
5033  case "$MSGMERGE" in
5034  [\\/]* | ?:[\\/]*)
5035    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5036    ;;
5037  *)
5038    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5039    for ac_dir in $PATH; do
5040      IFS="$ac_save_IFS"
5041      test -z "$ac_dir" && ac_dir=.
5042      for ac_exec_ext in '' $ac_executable_extensions; do
5043        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5044          echo "$as_me: trying $ac_dir/$ac_word..." >&5
5045          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5046            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5047            break 2
5048          fi
5049        fi
5050      done
5051    done
5052    IFS="$ac_save_IFS"
5053  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5054    ;;
5055esac
5056fi
5057MSGMERGE="$ac_cv_path_MSGMERGE"
5058if test "$MSGMERGE" != ":"; then
5059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5060$as_echo "$MSGMERGE" >&6; }
5061else
5062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063$as_echo "no" >&6; }
5064fi
5065
5066
5067        test -n "$localedir" || localedir='${datadir}/locale'
5068
5069
5070    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5071
5072
5073  ac_config_commands="$ac_config_commands po-directories"
5074
5075
5076
5077ac_config_files="$ac_config_files Makefile data/spek.desktop.in data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile dist/osx/Info.plist dist/win/spek.wxs man/Makefile man/spek.1 po/Makefile.in src/Makefile tests/Makefile web/version"
5078
5079cat >confcache <<\_ACEOF
5080# This file is a shell script that caches the results of configure
5081# tests run on this system so they can be shared between configure
5082# scripts and configure runs, see configure's option --config-cache.
5083# It is not useful on other systems.  If it contains results you don't
5084# want to keep, you may remove or edit it.
5085#
5086# config.status only pays attention to the cache file if you give it
5087# the --recheck option to rerun configure.
5088#
5089# `ac_cv_env_foo' variables (set or unset) will be overridden when
5090# loading this file, other *unset* `ac_cv_foo' will be assigned the
5091# following values.
5092
5093_ACEOF
5094
5095# The following way of writing the cache mishandles newlines in values,
5096# but we know of no workaround that is simple, portable, and efficient.
5097# So, we kill variables containing newlines.
5098# Ultrix sh set writes to stderr and can't be redirected directly,
5099# and sets the high bit in the cache file unless we assign to the vars.
5100(
5101  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5102    eval ac_val=\$$ac_var
5103    case $ac_val in #(
5104    *${as_nl}*)
5105      case $ac_var in #(
5106      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5107$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5108      esac
5109      case $ac_var in #(
5110      _ | IFS | as_nl) ;; #(
5111      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5112      *) { eval $ac_var=; unset $ac_var;} ;;
5113      esac ;;
5114    esac
5115  done
5116
5117  (set) 2>&1 |
5118    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5119    *${as_nl}ac_space=\ *)
5120      # `set' does not quote correctly, so add quotes: double-quote
5121      # substitution turns \\\\ into \\, and sed turns \\ into \.
5122      sed -n \
5123	"s/'/'\\\\''/g;
5124	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5125      ;; #(
5126    *)
5127      # `set' quotes correctly as required by POSIX, so do not add quotes.
5128      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5129      ;;
5130    esac |
5131    sort
5132) |
5133  sed '
5134     /^ac_cv_env_/b end
5135     t clear
5136     :clear
5137     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5138     t end
5139     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5140     :end' >>confcache
5141if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5142  if test -w "$cache_file"; then
5143    if test "x$cache_file" != "x/dev/null"; then
5144      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5145$as_echo "$as_me: updating cache $cache_file" >&6;}
5146      if test ! -f "$cache_file" || test -h "$cache_file"; then
5147	cat confcache >"$cache_file"
5148      else
5149        case $cache_file in #(
5150        */* | ?:*)
5151	  mv -f confcache "$cache_file"$$ &&
5152	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5153        *)
5154	  mv -f confcache "$cache_file" ;;
5155	esac
5156      fi
5157    fi
5158  else
5159    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5160$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5161  fi
5162fi
5163rm -f confcache
5164
5165test "x$prefix" = xNONE && prefix=$ac_default_prefix
5166# Let make expand exec_prefix.
5167test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5168
5169DEFS=-DHAVE_CONFIG_H
5170
5171ac_libobjs=
5172ac_ltlibobjs=
5173U=
5174for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5175  # 1. Remove the extension, and $U if already installed.
5176  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5177  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5178  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5179  #    will be set to the directory where LIBOBJS objects are built.
5180  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5181  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5182done
5183LIBOBJS=$ac_libobjs
5184
5185LTLIBOBJS=$ac_ltlibobjs
5186
5187
5188 if test -n "$EXEEXT"; then
5189  am__EXEEXT_TRUE=
5190  am__EXEEXT_FALSE='#'
5191else
5192  am__EXEEXT_TRUE='#'
5193  am__EXEEXT_FALSE=
5194fi
5195
5196if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5197  as_fn_error $? "conditional \"AMDEP\" was never defined.
5198Usually this means the macro was only invoked conditionally." "$LINENO" 5
5199fi
5200if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5201  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5202Usually this means the macro was only invoked conditionally." "$LINENO" 5
5203fi
5204
5205  ac_config_commands="$ac_config_commands po/stamp-it"
5206
5207
5208if test -z "${USE_VALGRIND_TRUE}" && test -z "${USE_VALGRIND_FALSE}"; then
5209  as_fn_error $? "conditional \"USE_VALGRIND\" was never defined.
5210Usually this means the macro was only invoked conditionally." "$LINENO" 5
5211fi
5212
5213: "${CONFIG_STATUS=./config.status}"
5214ac_write_fail=0
5215ac_clean_files_save=$ac_clean_files
5216ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5217{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5218$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5219as_write_fail=0
5220cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5221#! $SHELL
5222# Generated by $as_me.
5223# Run this file to recreate the current configuration.
5224# Compiler output produced by configure, useful for debugging
5225# configure, is in config.log if it exists.
5226
5227debug=false
5228ac_cs_recheck=false
5229ac_cs_silent=false
5230
5231SHELL=\${CONFIG_SHELL-$SHELL}
5232export SHELL
5233_ASEOF
5234cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5235## -------------------- ##
5236## M4sh Initialization. ##
5237## -------------------- ##
5238
5239# Be more Bourne compatible
5240DUALCASE=1; export DUALCASE # for MKS sh
5241if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5242  emulate sh
5243  NULLCMD=:
5244  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5245  # is contrary to our usage.  Disable this feature.
5246  alias -g '${1+"$@"}'='"$@"'
5247  setopt NO_GLOB_SUBST
5248else
5249  case `(set -o) 2>/dev/null` in #(
5250  *posix*) :
5251    set -o posix ;; #(
5252  *) :
5253     ;;
5254esac
5255fi
5256
5257
5258as_nl='
5259'
5260export as_nl
5261# Printing a long string crashes Solaris 7 /usr/bin/printf.
5262as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5263as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5264as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5265# Prefer a ksh shell builtin over an external printf program on Solaris,
5266# but without wasting forks for bash or zsh.
5267if test -z "$BASH_VERSION$ZSH_VERSION" \
5268    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5269  as_echo='print -r --'
5270  as_echo_n='print -rn --'
5271elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5272  as_echo='printf %s\n'
5273  as_echo_n='printf %s'
5274else
5275  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5276    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5277    as_echo_n='/usr/ucb/echo -n'
5278  else
5279    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5280    as_echo_n_body='eval
5281      arg=$1;
5282      case $arg in #(
5283      *"$as_nl"*)
5284	expr "X$arg" : "X\\(.*\\)$as_nl";
5285	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5286      esac;
5287      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5288    '
5289    export as_echo_n_body
5290    as_echo_n='sh -c $as_echo_n_body as_echo'
5291  fi
5292  export as_echo_body
5293  as_echo='sh -c $as_echo_body as_echo'
5294fi
5295
5296# The user is always right.
5297if test "${PATH_SEPARATOR+set}" != set; then
5298  PATH_SEPARATOR=:
5299  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5300    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5301      PATH_SEPARATOR=';'
5302  }
5303fi
5304
5305
5306# IFS
5307# We need space, tab and new line, in precisely that order.  Quoting is
5308# there to prevent editors from complaining about space-tab.
5309# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5310# splitting by setting IFS to empty value.)
5311IFS=" ""	$as_nl"
5312
5313# Find who we are.  Look in the path if we contain no directory separator.
5314as_myself=
5315case $0 in #((
5316  *[\\/]* ) as_myself=$0 ;;
5317  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318for as_dir in $PATH
5319do
5320  IFS=$as_save_IFS
5321  test -z "$as_dir" && as_dir=.
5322    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5323  done
5324IFS=$as_save_IFS
5325
5326     ;;
5327esac
5328# We did not find ourselves, most probably we were run as `sh COMMAND'
5329# in which case we are not to be found in the path.
5330if test "x$as_myself" = x; then
5331  as_myself=$0
5332fi
5333if test ! -f "$as_myself"; then
5334  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5335  exit 1
5336fi
5337
5338# Unset variables that we do not need and which cause bugs (e.g. in
5339# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5340# suppresses any "Segmentation fault" message there.  '((' could
5341# trigger a bug in pdksh 5.2.14.
5342for as_var in BASH_ENV ENV MAIL MAILPATH
5343do eval test x\${$as_var+set} = xset \
5344  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5345done
5346PS1='$ '
5347PS2='> '
5348PS4='+ '
5349
5350# NLS nuisances.
5351LC_ALL=C
5352export LC_ALL
5353LANGUAGE=C
5354export LANGUAGE
5355
5356# CDPATH.
5357(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5358
5359
5360# as_fn_error STATUS ERROR [LINENO LOG_FD]
5361# ----------------------------------------
5362# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5363# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5364# script with STATUS, using 1 if that was 0.
5365as_fn_error ()
5366{
5367  as_status=$1; test $as_status -eq 0 && as_status=1
5368  if test "$4"; then
5369    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5370    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5371  fi
5372  $as_echo "$as_me: error: $2" >&2
5373  as_fn_exit $as_status
5374} # as_fn_error
5375
5376
5377# as_fn_set_status STATUS
5378# -----------------------
5379# Set $? to STATUS, without forking.
5380as_fn_set_status ()
5381{
5382  return $1
5383} # as_fn_set_status
5384
5385# as_fn_exit STATUS
5386# -----------------
5387# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5388as_fn_exit ()
5389{
5390  set +e
5391  as_fn_set_status $1
5392  exit $1
5393} # as_fn_exit
5394
5395# as_fn_unset VAR
5396# ---------------
5397# Portably unset VAR.
5398as_fn_unset ()
5399{
5400  { eval $1=; unset $1;}
5401}
5402as_unset=as_fn_unset
5403# as_fn_append VAR VALUE
5404# ----------------------
5405# Append the text in VALUE to the end of the definition contained in VAR. Take
5406# advantage of any shell optimizations that allow amortized linear growth over
5407# repeated appends, instead of the typical quadratic growth present in naive
5408# implementations.
5409if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5410  eval 'as_fn_append ()
5411  {
5412    eval $1+=\$2
5413  }'
5414else
5415  as_fn_append ()
5416  {
5417    eval $1=\$$1\$2
5418  }
5419fi # as_fn_append
5420
5421# as_fn_arith ARG...
5422# ------------------
5423# Perform arithmetic evaluation on the ARGs, and store the result in the
5424# global $as_val. Take advantage of shells that can avoid forks. The arguments
5425# must be portable across $(()) and expr.
5426if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5427  eval 'as_fn_arith ()
5428  {
5429    as_val=$(( $* ))
5430  }'
5431else
5432  as_fn_arith ()
5433  {
5434    as_val=`expr "$@" || test $? -eq 1`
5435  }
5436fi # as_fn_arith
5437
5438
5439if expr a : '\(a\)' >/dev/null 2>&1 &&
5440   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5441  as_expr=expr
5442else
5443  as_expr=false
5444fi
5445
5446if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5447  as_basename=basename
5448else
5449  as_basename=false
5450fi
5451
5452if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5453  as_dirname=dirname
5454else
5455  as_dirname=false
5456fi
5457
5458as_me=`$as_basename -- "$0" ||
5459$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5460	 X"$0" : 'X\(//\)$' \| \
5461	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5462$as_echo X/"$0" |
5463    sed '/^.*\/\([^/][^/]*\)\/*$/{
5464	    s//\1/
5465	    q
5466	  }
5467	  /^X\/\(\/\/\)$/{
5468	    s//\1/
5469	    q
5470	  }
5471	  /^X\/\(\/\).*/{
5472	    s//\1/
5473	    q
5474	  }
5475	  s/.*/./; q'`
5476
5477# Avoid depending upon Character Ranges.
5478as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5479as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5480as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5481as_cr_digits='0123456789'
5482as_cr_alnum=$as_cr_Letters$as_cr_digits
5483
5484ECHO_C= ECHO_N= ECHO_T=
5485case `echo -n x` in #(((((
5486-n*)
5487  case `echo 'xy\c'` in
5488  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5489  xy)  ECHO_C='\c';;
5490  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5491       ECHO_T='	';;
5492  esac;;
5493*)
5494  ECHO_N='-n';;
5495esac
5496
5497rm -f conf$$ conf$$.exe conf$$.file
5498if test -d conf$$.dir; then
5499  rm -f conf$$.dir/conf$$.file
5500else
5501  rm -f conf$$.dir
5502  mkdir conf$$.dir 2>/dev/null
5503fi
5504if (echo >conf$$.file) 2>/dev/null; then
5505  if ln -s conf$$.file conf$$ 2>/dev/null; then
5506    as_ln_s='ln -s'
5507    # ... but there are two gotchas:
5508    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5509    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5510    # In both cases, we have to default to `cp -pR'.
5511    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5512      as_ln_s='cp -pR'
5513  elif ln conf$$.file conf$$ 2>/dev/null; then
5514    as_ln_s=ln
5515  else
5516    as_ln_s='cp -pR'
5517  fi
5518else
5519  as_ln_s='cp -pR'
5520fi
5521rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5522rmdir conf$$.dir 2>/dev/null
5523
5524
5525# as_fn_mkdir_p
5526# -------------
5527# Create "$as_dir" as a directory, including parents if necessary.
5528as_fn_mkdir_p ()
5529{
5530
5531  case $as_dir in #(
5532  -*) as_dir=./$as_dir;;
5533  esac
5534  test -d "$as_dir" || eval $as_mkdir_p || {
5535    as_dirs=
5536    while :; do
5537      case $as_dir in #(
5538      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5539      *) as_qdir=$as_dir;;
5540      esac
5541      as_dirs="'$as_qdir' $as_dirs"
5542      as_dir=`$as_dirname -- "$as_dir" ||
5543$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5544	 X"$as_dir" : 'X\(//\)[^/]' \| \
5545	 X"$as_dir" : 'X\(//\)$' \| \
5546	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5547$as_echo X"$as_dir" |
5548    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5549	    s//\1/
5550	    q
5551	  }
5552	  /^X\(\/\/\)[^/].*/{
5553	    s//\1/
5554	    q
5555	  }
5556	  /^X\(\/\/\)$/{
5557	    s//\1/
5558	    q
5559	  }
5560	  /^X\(\/\).*/{
5561	    s//\1/
5562	    q
5563	  }
5564	  s/.*/./; q'`
5565      test -d "$as_dir" && break
5566    done
5567    test -z "$as_dirs" || eval "mkdir $as_dirs"
5568  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5569
5570
5571} # as_fn_mkdir_p
5572if mkdir -p . 2>/dev/null; then
5573  as_mkdir_p='mkdir -p "$as_dir"'
5574else
5575  test -d ./-p && rmdir ./-p
5576  as_mkdir_p=false
5577fi
5578
5579
5580# as_fn_executable_p FILE
5581# -----------------------
5582# Test if FILE is an executable regular file.
5583as_fn_executable_p ()
5584{
5585  test -f "$1" && test -x "$1"
5586} # as_fn_executable_p
5587as_test_x='test -x'
5588as_executable_p=as_fn_executable_p
5589
5590# Sed expression to map a string onto a valid CPP name.
5591as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5592
5593# Sed expression to map a string onto a valid variable name.
5594as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5595
5596
5597exec 6>&1
5598## ----------------------------------- ##
5599## Main body of $CONFIG_STATUS script. ##
5600## ----------------------------------- ##
5601_ASEOF
5602test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5603
5604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5605# Save the log message, to keep $0 and so on meaningful, and to
5606# report actual input values of CONFIG_FILES etc. instead of their
5607# values after options handling.
5608ac_log="
5609This file was extended by spek $as_me 0.8.2, which was
5610generated by GNU Autoconf 2.69.  Invocation command line was
5611
5612  CONFIG_FILES    = $CONFIG_FILES
5613  CONFIG_HEADERS  = $CONFIG_HEADERS
5614  CONFIG_LINKS    = $CONFIG_LINKS
5615  CONFIG_COMMANDS = $CONFIG_COMMANDS
5616  $ $0 $@
5617
5618on `(hostname || uname -n) 2>/dev/null | sed 1q`
5619"
5620
5621_ACEOF
5622
5623case $ac_config_files in *"
5624"*) set x $ac_config_files; shift; ac_config_files=$*;;
5625esac
5626
5627case $ac_config_headers in *"
5628"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5629esac
5630
5631
5632cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5633# Files that config.status was made for.
5634config_files="$ac_config_files"
5635config_headers="$ac_config_headers"
5636config_commands="$ac_config_commands"
5637
5638_ACEOF
5639
5640cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5641ac_cs_usage="\
5642\`$as_me' instantiates files and other configuration actions
5643from templates according to the current configuration.  Unless the files
5644and actions are specified as TAGs, all are instantiated by default.
5645
5646Usage: $0 [OPTION]... [TAG]...
5647
5648  -h, --help       print this help, then exit
5649  -V, --version    print version number and configuration settings, then exit
5650      --config     print configuration, then exit
5651  -q, --quiet, --silent
5652                   do not print progress messages
5653  -d, --debug      don't remove temporary files
5654      --recheck    update $as_me by reconfiguring in the same conditions
5655      --file=FILE[:TEMPLATE]
5656                   instantiate the configuration file FILE
5657      --header=FILE[:TEMPLATE]
5658                   instantiate the configuration header FILE
5659
5660Configuration files:
5661$config_files
5662
5663Configuration headers:
5664$config_headers
5665
5666Configuration commands:
5667$config_commands
5668
5669Report bugs to the package provider."
5670
5671_ACEOF
5672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5673ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5674ac_cs_version="\\
5675spek config.status 0.8.2
5676configured by $0, generated by GNU Autoconf 2.69,
5677  with options \\"\$ac_cs_config\\"
5678
5679Copyright (C) 2012 Free Software Foundation, Inc.
5680This config.status script is free software; the Free Software Foundation
5681gives unlimited permission to copy, distribute and modify it."
5682
5683ac_pwd='$ac_pwd'
5684srcdir='$srcdir'
5685INSTALL='$INSTALL'
5686MKDIR_P='$MKDIR_P'
5687AWK='$AWK'
5688test -n "\$AWK" || AWK=awk
5689_ACEOF
5690
5691cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5692# The default lists apply if the user does not specify any file.
5693ac_need_defaults=:
5694while test $# != 0
5695do
5696  case $1 in
5697  --*=?*)
5698    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5699    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5700    ac_shift=:
5701    ;;
5702  --*=)
5703    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5704    ac_optarg=
5705    ac_shift=:
5706    ;;
5707  *)
5708    ac_option=$1
5709    ac_optarg=$2
5710    ac_shift=shift
5711    ;;
5712  esac
5713
5714  case $ac_option in
5715  # Handling of the options.
5716  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5717    ac_cs_recheck=: ;;
5718  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5719    $as_echo "$ac_cs_version"; exit ;;
5720  --config | --confi | --conf | --con | --co | --c )
5721    $as_echo "$ac_cs_config"; exit ;;
5722  --debug | --debu | --deb | --de | --d | -d )
5723    debug=: ;;
5724  --file | --fil | --fi | --f )
5725    $ac_shift
5726    case $ac_optarg in
5727    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5728    '') as_fn_error $? "missing file argument" ;;
5729    esac
5730    as_fn_append CONFIG_FILES " '$ac_optarg'"
5731    ac_need_defaults=false;;
5732  --header | --heade | --head | --hea )
5733    $ac_shift
5734    case $ac_optarg in
5735    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5736    esac
5737    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5738    ac_need_defaults=false;;
5739  --he | --h)
5740    # Conflict between --help and --header
5741    as_fn_error $? "ambiguous option: \`$1'
5742Try \`$0 --help' for more information.";;
5743  --help | --hel | -h )
5744    $as_echo "$ac_cs_usage"; exit ;;
5745  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5746  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5747    ac_cs_silent=: ;;
5748
5749  # This is an error.
5750  -*) as_fn_error $? "unrecognized option: \`$1'
5751Try \`$0 --help' for more information." ;;
5752
5753  *) as_fn_append ac_config_targets " $1"
5754     ac_need_defaults=false ;;
5755
5756  esac
5757  shift
5758done
5759
5760ac_configure_extra_args=
5761
5762if $ac_cs_silent; then
5763  exec 6>/dev/null
5764  ac_configure_extra_args="$ac_configure_extra_args --silent"
5765fi
5766
5767_ACEOF
5768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769if \$ac_cs_recheck; then
5770  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5771  shift
5772  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5773  CONFIG_SHELL='$SHELL'
5774  export CONFIG_SHELL
5775  exec "\$@"
5776fi
5777
5778_ACEOF
5779cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5780exec 5>>config.log
5781{
5782  echo
5783  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5784## Running $as_me. ##
5785_ASBOX
5786  $as_echo "$ac_log"
5787} >&5
5788
5789_ACEOF
5790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5791#
5792# INIT-COMMANDS
5793#
5794AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5795# Capture the value of obsolete ALL_LINGUAS because we need it to compute
5796    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5797    # from automake < 1.5.
5798    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5799    # Capture the value of LINGUAS because we need it to compute CATALOGS.
5800    LINGUAS="${LINGUAS-%UNSET%}"
5801
5802
5803_ACEOF
5804
5805cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5806
5807# Handling of arguments.
5808for ac_config_target in $ac_config_targets
5809do
5810  case $ac_config_target in
5811    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5812    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5813    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
5814    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5815    "data/spek.desktop.in") CONFIG_FILES="$CONFIG_FILES data/spek.desktop.in" ;;
5816    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5817    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
5818    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
5819    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
5820    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
5821    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
5822    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
5823    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
5824    "dist/osx/Info.plist") CONFIG_FILES="$CONFIG_FILES dist/osx/Info.plist" ;;
5825    "dist/win/spek.wxs") CONFIG_FILES="$CONFIG_FILES dist/win/spek.wxs" ;;
5826    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5827    "man/spek.1") CONFIG_FILES="$CONFIG_FILES man/spek.1" ;;
5828    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5829    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5830    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5831    "web/version") CONFIG_FILES="$CONFIG_FILES web/version" ;;
5832    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
5833
5834  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5835  esac
5836done
5837
5838
5839# If the user did not use the arguments to specify the items to instantiate,
5840# then the envvar interface is used.  Set only those that are not.
5841# We use the long form for the default assignment because of an extremely
5842# bizarre bug on SunOS 4.1.3.
5843if $ac_need_defaults; then
5844  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5845  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5846  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5847fi
5848
5849# Have a temporary directory for convenience.  Make it in the build tree
5850# simply because there is no reason against having it here, and in addition,
5851# creating and moving files from /tmp can sometimes cause problems.
5852# Hook for its removal unless debugging.
5853# Note that there is a small window in which the directory will not be cleaned:
5854# after its creation but before its name has been assigned to `$tmp'.
5855$debug ||
5856{
5857  tmp= ac_tmp=
5858  trap 'exit_status=$?
5859  : "${ac_tmp:=$tmp}"
5860  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5861' 0
5862  trap 'as_fn_exit 1' 1 2 13 15
5863}
5864# Create a (secure) tmp directory for tmp files.
5865
5866{
5867  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5868  test -d "$tmp"
5869}  ||
5870{
5871  tmp=./conf$$-$RANDOM
5872  (umask 077 && mkdir "$tmp")
5873} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5874ac_tmp=$tmp
5875
5876# Set up the scripts for CONFIG_FILES section.
5877# No need to generate them if there are no CONFIG_FILES.
5878# This happens for instance with `./config.status config.h'.
5879if test -n "$CONFIG_FILES"; then
5880
5881
5882ac_cr=`echo X | tr X '\015'`
5883# On cygwin, bash can eat \r inside `` if the user requested igncr.
5884# But we know of no other shell where ac_cr would be empty at this
5885# point, so we can use a bashism as a fallback.
5886if test "x$ac_cr" = x; then
5887  eval ac_cr=\$\'\\r\'
5888fi
5889ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5890if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5891  ac_cs_awk_cr='\\r'
5892else
5893  ac_cs_awk_cr=$ac_cr
5894fi
5895
5896echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5897_ACEOF
5898
5899
5900{
5901  echo "cat >conf$$subs.awk <<_ACEOF" &&
5902  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5903  echo "_ACEOF"
5904} >conf$$subs.sh ||
5905  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5906ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5907ac_delim='%!_!# '
5908for ac_last_try in false false false false false :; do
5909  . ./conf$$subs.sh ||
5910    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5911
5912  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5913  if test $ac_delim_n = $ac_delim_num; then
5914    break
5915  elif $ac_last_try; then
5916    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5917  else
5918    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5919  fi
5920done
5921rm -f conf$$subs.sh
5922
5923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5925_ACEOF
5926sed -n '
5927h
5928s/^/S["/; s/!.*/"]=/
5929p
5930g
5931s/^[^!]*!//
5932:repl
5933t repl
5934s/'"$ac_delim"'$//
5935t delim
5936:nl
5937h
5938s/\(.\{148\}\)..*/\1/
5939t more1
5940s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5941p
5942n
5943b repl
5944:more1
5945s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5946p
5947g
5948s/.\{148\}//
5949t nl
5950:delim
5951h
5952s/\(.\{148\}\)..*/\1/
5953t more2
5954s/["\\]/\\&/g; s/^/"/; s/$/"/
5955p
5956b
5957:more2
5958s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5959p
5960g
5961s/.\{148\}//
5962t delim
5963' <conf$$subs.awk | sed '
5964/^[^""]/{
5965  N
5966  s/\n//
5967}
5968' >>$CONFIG_STATUS || ac_write_fail=1
5969rm -f conf$$subs.awk
5970cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5971_ACAWK
5972cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5973  for (key in S) S_is_set[key] = 1
5974  FS = ""
5975
5976}
5977{
5978  line = $ 0
5979  nfields = split(line, field, "@")
5980  substed = 0
5981  len = length(field[1])
5982  for (i = 2; i < nfields; i++) {
5983    key = field[i]
5984    keylen = length(key)
5985    if (S_is_set[key]) {
5986      value = S[key]
5987      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5988      len += length(value) + length(field[++i])
5989      substed = 1
5990    } else
5991      len += 1 + keylen
5992  }
5993
5994  print line
5995}
5996
5997_ACAWK
5998_ACEOF
5999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6000if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6001  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6002else
6003  cat
6004fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6005  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6006_ACEOF
6007
6008# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6009# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6010# trailing colons and then remove the whole line if VPATH becomes empty
6011# (actually we leave an empty line to preserve line numbers).
6012if test "x$srcdir" = x.; then
6013  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6014h
6015s///
6016s/^/:/
6017s/[	 ]*$/:/
6018s/:\$(srcdir):/:/g
6019s/:\${srcdir}:/:/g
6020s/:@srcdir@:/:/g
6021s/^:*//
6022s/:*$//
6023x
6024s/\(=[	 ]*\).*/\1/
6025G
6026s/\n//
6027s/^[^=]*=[	 ]*$//
6028}'
6029fi
6030
6031cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6032fi # test -n "$CONFIG_FILES"
6033
6034# Set up the scripts for CONFIG_HEADERS section.
6035# No need to generate them if there are no CONFIG_HEADERS.
6036# This happens for instance with `./config.status Makefile'.
6037if test -n "$CONFIG_HEADERS"; then
6038cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6039BEGIN {
6040_ACEOF
6041
6042# Transform confdefs.h into an awk script `defines.awk', embedded as
6043# here-document in config.status, that substitutes the proper values into
6044# config.h.in to produce config.h.
6045
6046# Create a delimiter string that does not exist in confdefs.h, to ease
6047# handling of long lines.
6048ac_delim='%!_!# '
6049for ac_last_try in false false :; do
6050  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6051  if test -z "$ac_tt"; then
6052    break
6053  elif $ac_last_try; then
6054    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6055  else
6056    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6057  fi
6058done
6059
6060# For the awk script, D is an array of macro values keyed by name,
6061# likewise P contains macro parameters if any.  Preserve backslash
6062# newline sequences.
6063
6064ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6065sed -n '
6066s/.\{148\}/&'"$ac_delim"'/g
6067t rset
6068:rset
6069s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6070t def
6071d
6072:def
6073s/\\$//
6074t bsnl
6075s/["\\]/\\&/g
6076s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6077D["\1"]=" \3"/p
6078s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6079d
6080:bsnl
6081s/["\\]/\\&/g
6082s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6083D["\1"]=" \3\\\\\\n"\\/p
6084t cont
6085s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6086t cont
6087d
6088:cont
6089n
6090s/.\{148\}/&'"$ac_delim"'/g
6091t clear
6092:clear
6093s/\\$//
6094t bsnlc
6095s/["\\]/\\&/g; s/^/"/; s/$/"/p
6096d
6097:bsnlc
6098s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6099b cont
6100' <confdefs.h | sed '
6101s/'"$ac_delim"'/"\\\
6102"/g' >>$CONFIG_STATUS || ac_write_fail=1
6103
6104cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6105  for (key in D) D_is_set[key] = 1
6106  FS = ""
6107}
6108/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6109  line = \$ 0
6110  split(line, arg, " ")
6111  if (arg[1] == "#") {
6112    defundef = arg[2]
6113    mac1 = arg[3]
6114  } else {
6115    defundef = substr(arg[1], 2)
6116    mac1 = arg[2]
6117  }
6118  split(mac1, mac2, "(") #)
6119  macro = mac2[1]
6120  prefix = substr(line, 1, index(line, defundef) - 1)
6121  if (D_is_set[macro]) {
6122    # Preserve the white space surrounding the "#".
6123    print prefix "define", macro P[macro] D[macro]
6124    next
6125  } else {
6126    # Replace #undef with comments.  This is necessary, for example,
6127    # in the case of _POSIX_SOURCE, which is predefined and required
6128    # on some systems where configure will not decide to define it.
6129    if (defundef == "undef") {
6130      print "/*", prefix defundef, macro, "*/"
6131      next
6132    }
6133  }
6134}
6135{ print }
6136_ACAWK
6137_ACEOF
6138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6139  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6140fi # test -n "$CONFIG_HEADERS"
6141
6142
6143eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6144shift
6145for ac_tag
6146do
6147  case $ac_tag in
6148  :[FHLC]) ac_mode=$ac_tag; continue;;
6149  esac
6150  case $ac_mode$ac_tag in
6151  :[FHL]*:*);;
6152  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6153  :[FH]-) ac_tag=-:-;;
6154  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6155  esac
6156  ac_save_IFS=$IFS
6157  IFS=:
6158  set x $ac_tag
6159  IFS=$ac_save_IFS
6160  shift
6161  ac_file=$1
6162  shift
6163
6164  case $ac_mode in
6165  :L) ac_source=$1;;
6166  :[FH])
6167    ac_file_inputs=
6168    for ac_f
6169    do
6170      case $ac_f in
6171      -) ac_f="$ac_tmp/stdin";;
6172      *) # Look for the file first in the build tree, then in the source tree
6173	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6174	 # because $ac_f cannot contain `:'.
6175	 test -f "$ac_f" ||
6176	   case $ac_f in
6177	   [\\/$]*) false;;
6178	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6179	   esac ||
6180	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6181      esac
6182      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6183      as_fn_append ac_file_inputs " '$ac_f'"
6184    done
6185
6186    # Let's still pretend it is `configure' which instantiates (i.e., don't
6187    # use $as_me), people would be surprised to read:
6188    #    /* config.h.  Generated by config.status.  */
6189    configure_input='Generated from '`
6190	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6191	`' by configure.'
6192    if test x"$ac_file" != x-; then
6193      configure_input="$ac_file.  $configure_input"
6194      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6195$as_echo "$as_me: creating $ac_file" >&6;}
6196    fi
6197    # Neutralize special characters interpreted by sed in replacement strings.
6198    case $configure_input in #(
6199    *\&* | *\|* | *\\* )
6200       ac_sed_conf_input=`$as_echo "$configure_input" |
6201       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6202    *) ac_sed_conf_input=$configure_input;;
6203    esac
6204
6205    case $ac_tag in
6206    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6207      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6208    esac
6209    ;;
6210  esac
6211
6212  ac_dir=`$as_dirname -- "$ac_file" ||
6213$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6214	 X"$ac_file" : 'X\(//\)[^/]' \| \
6215	 X"$ac_file" : 'X\(//\)$' \| \
6216	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6217$as_echo X"$ac_file" |
6218    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6219	    s//\1/
6220	    q
6221	  }
6222	  /^X\(\/\/\)[^/].*/{
6223	    s//\1/
6224	    q
6225	  }
6226	  /^X\(\/\/\)$/{
6227	    s//\1/
6228	    q
6229	  }
6230	  /^X\(\/\).*/{
6231	    s//\1/
6232	    q
6233	  }
6234	  s/.*/./; q'`
6235  as_dir="$ac_dir"; as_fn_mkdir_p
6236  ac_builddir=.
6237
6238case "$ac_dir" in
6239.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6240*)
6241  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6242  # A ".." for each directory in $ac_dir_suffix.
6243  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6244  case $ac_top_builddir_sub in
6245  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6246  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6247  esac ;;
6248esac
6249ac_abs_top_builddir=$ac_pwd
6250ac_abs_builddir=$ac_pwd$ac_dir_suffix
6251# for backward compatibility:
6252ac_top_builddir=$ac_top_build_prefix
6253
6254case $srcdir in
6255  .)  # We are building in place.
6256    ac_srcdir=.
6257    ac_top_srcdir=$ac_top_builddir_sub
6258    ac_abs_top_srcdir=$ac_pwd ;;
6259  [\\/]* | ?:[\\/]* )  # Absolute name.
6260    ac_srcdir=$srcdir$ac_dir_suffix;
6261    ac_top_srcdir=$srcdir
6262    ac_abs_top_srcdir=$srcdir ;;
6263  *) # Relative name.
6264    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6265    ac_top_srcdir=$ac_top_build_prefix$srcdir
6266    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6267esac
6268ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6269
6270
6271  case $ac_mode in
6272  :F)
6273  #
6274  # CONFIG_FILE
6275  #
6276
6277  case $INSTALL in
6278  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6279  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6280  esac
6281  ac_MKDIR_P=$MKDIR_P
6282  case $MKDIR_P in
6283  [\\/$]* | ?:[\\/]* ) ;;
6284  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6285  esac
6286_ACEOF
6287
6288cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6289# If the template does not know about datarootdir, expand it.
6290# FIXME: This hack should be removed a few years after 2.60.
6291ac_datarootdir_hack=; ac_datarootdir_seen=
6292ac_sed_dataroot='
6293/datarootdir/ {
6294  p
6295  q
6296}
6297/@datadir@/p
6298/@docdir@/p
6299/@infodir@/p
6300/@localedir@/p
6301/@mandir@/p'
6302case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6303*datarootdir*) ac_datarootdir_seen=yes;;
6304*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6305  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6306$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6307_ACEOF
6308cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6309  ac_datarootdir_hack='
6310  s&@datadir@&$datadir&g
6311  s&@docdir@&$docdir&g
6312  s&@infodir@&$infodir&g
6313  s&@localedir@&$localedir&g
6314  s&@mandir@&$mandir&g
6315  s&\\\${datarootdir}&$datarootdir&g' ;;
6316esac
6317_ACEOF
6318
6319# Neutralize VPATH when `$srcdir' = `.'.
6320# Shell code in configure.ac might set extrasub.
6321# FIXME: do we really want to maintain this feature?
6322cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6323ac_sed_extra="$ac_vpsub
6324$extrasub
6325_ACEOF
6326cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6327:t
6328/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6329s|@configure_input@|$ac_sed_conf_input|;t t
6330s&@top_builddir@&$ac_top_builddir_sub&;t t
6331s&@top_build_prefix@&$ac_top_build_prefix&;t t
6332s&@srcdir@&$ac_srcdir&;t t
6333s&@abs_srcdir@&$ac_abs_srcdir&;t t
6334s&@top_srcdir@&$ac_top_srcdir&;t t
6335s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6336s&@builddir@&$ac_builddir&;t t
6337s&@abs_builddir@&$ac_abs_builddir&;t t
6338s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6339s&@INSTALL@&$ac_INSTALL&;t t
6340s&@MKDIR_P@&$ac_MKDIR_P&;t t
6341$ac_datarootdir_hack
6342"
6343eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6344  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6345
6346test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6347  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6348  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6349      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6350  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6351which seems to be undefined.  Please make sure it is defined" >&5
6352$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6353which seems to be undefined.  Please make sure it is defined" >&2;}
6354
6355  rm -f "$ac_tmp/stdin"
6356  case $ac_file in
6357  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6358  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6359  esac \
6360  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6361 ;;
6362  :H)
6363  #
6364  # CONFIG_HEADER
6365  #
6366  if test x"$ac_file" != x-; then
6367    {
6368      $as_echo "/* $configure_input  */" \
6369      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6370    } >"$ac_tmp/config.h" \
6371      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6372    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6373      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6374$as_echo "$as_me: $ac_file is unchanged" >&6;}
6375    else
6376      rm -f "$ac_file"
6377      mv "$ac_tmp/config.h" "$ac_file" \
6378	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6379    fi
6380  else
6381    $as_echo "/* $configure_input  */" \
6382      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6383      || as_fn_error $? "could not create -" "$LINENO" 5
6384  fi
6385# Compute "$ac_file"'s index in $config_headers.
6386_am_arg="$ac_file"
6387_am_stamp_count=1
6388for _am_header in $config_headers :; do
6389  case $_am_header in
6390    $_am_arg | $_am_arg:* )
6391      break ;;
6392    * )
6393      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6394  esac
6395done
6396echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6397$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6398	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6399	 X"$_am_arg" : 'X\(//\)$' \| \
6400	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6401$as_echo X"$_am_arg" |
6402    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6403	    s//\1/
6404	    q
6405	  }
6406	  /^X\(\/\/\)[^/].*/{
6407	    s//\1/
6408	    q
6409	  }
6410	  /^X\(\/\/\)$/{
6411	    s//\1/
6412	    q
6413	  }
6414	  /^X\(\/\).*/{
6415	    s//\1/
6416	    q
6417	  }
6418	  s/.*/./; q'`/stamp-h$_am_stamp_count
6419 ;;
6420
6421  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6422$as_echo "$as_me: executing $ac_file commands" >&6;}
6423 ;;
6424  esac
6425
6426
6427  case $ac_file$ac_mode in
6428    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6429  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6430  # are listed without --file.  Let's play safe and only enable the eval
6431  # if we detect the quoting.
6432  case $CONFIG_FILES in
6433  *\'*) eval set x "$CONFIG_FILES" ;;
6434  *)   set x $CONFIG_FILES ;;
6435  esac
6436  shift
6437  for mf
6438  do
6439    # Strip MF so we end up with the name of the file.
6440    mf=`echo "$mf" | sed -e 's/:.*$//'`
6441    # Check whether this is an Automake generated Makefile or not.
6442    # We used to match only the files named `Makefile.in', but
6443    # some people rename them; so instead we look at the file content.
6444    # Grep'ing the first line is not enough: some people post-process
6445    # each Makefile.in and add a new line on top of each file to say so.
6446    # Grep'ing the whole file is not good either: AIX grep has a line
6447    # limit of 2048, but all sed's we know have understand at least 4000.
6448    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6449      dirpart=`$as_dirname -- "$mf" ||
6450$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451	 X"$mf" : 'X\(//\)[^/]' \| \
6452	 X"$mf" : 'X\(//\)$' \| \
6453	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6454$as_echo X"$mf" |
6455    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6456	    s//\1/
6457	    q
6458	  }
6459	  /^X\(\/\/\)[^/].*/{
6460	    s//\1/
6461	    q
6462	  }
6463	  /^X\(\/\/\)$/{
6464	    s//\1/
6465	    q
6466	  }
6467	  /^X\(\/\).*/{
6468	    s//\1/
6469	    q
6470	  }
6471	  s/.*/./; q'`
6472    else
6473      continue
6474    fi
6475    # Extract the definition of DEPDIR, am__include, and am__quote
6476    # from the Makefile without running `make'.
6477    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6478    test -z "$DEPDIR" && continue
6479    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6480    test -z "am__include" && continue
6481    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6482    # When using ansi2knr, U may be empty or an underscore; expand it
6483    U=`sed -n 's/^U = //p' < "$mf"`
6484    # Find all dependency output files, they are included files with
6485    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6486    # simplest approach to changing $(DEPDIR) to its actual value in the
6487    # expansion.
6488    for file in `sed -n "
6489      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6490	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6491      # Make sure the directory exists.
6492      test -f "$dirpart/$file" && continue
6493      fdir=`$as_dirname -- "$file" ||
6494$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6495	 X"$file" : 'X\(//\)[^/]' \| \
6496	 X"$file" : 'X\(//\)$' \| \
6497	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6498$as_echo X"$file" |
6499    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6500	    s//\1/
6501	    q
6502	  }
6503	  /^X\(\/\/\)[^/].*/{
6504	    s//\1/
6505	    q
6506	  }
6507	  /^X\(\/\/\)$/{
6508	    s//\1/
6509	    q
6510	  }
6511	  /^X\(\/\).*/{
6512	    s//\1/
6513	    q
6514	  }
6515	  s/.*/./; q'`
6516      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6517      # echo "creating $dirpart/$file"
6518      echo '# dummy' > "$dirpart/$file"
6519    done
6520  done
6521}
6522 ;;
6523    "po-directories":C)
6524    for ac_file in $CONFIG_FILES; do
6525      # Support "outfile[:infile[:infile...]]"
6526      case "$ac_file" in
6527        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6528      esac
6529      # PO directories have a Makefile.in generated from Makefile.in.in.
6530      case "$ac_file" in */Makefile.in)
6531        # Adjust a relative srcdir.
6532        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6533        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6534        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6535        # In autoconf-2.13 it is called $ac_given_srcdir.
6536        # In autoconf-2.50 it is called $srcdir.
6537        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6538        case "$ac_given_srcdir" in
6539          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6540          /*) top_srcdir="$ac_given_srcdir" ;;
6541          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
6542        esac
6543        # Treat a directory as a PO directory if and only if it has a
6544        # POTFILES.in file. This allows packages to have multiple PO
6545        # directories under different names or in different locations.
6546        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6547          rm -f "$ac_dir/POTFILES"
6548          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6549          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6550          POMAKEFILEDEPS="POTFILES.in"
6551          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6552          # on $ac_dir but don't depend on user-specified configuration
6553          # parameters.
6554          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6555            # The LINGUAS file contains the set of available languages.
6556            if test -n "$OBSOLETE_ALL_LINGUAS"; then
6557              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6558            fi
6559            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6560            # Hide the ALL_LINGUAS assigment from automake < 1.5.
6561            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6562            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6563          else
6564            # The set of available languages was given in configure.in.
6565            # Hide the ALL_LINGUAS assigment from automake < 1.5.
6566            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6567          fi
6568          # Compute POFILES
6569          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
6570          # Compute UPDATEPOFILES
6571          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
6572          # Compute DUMMYPOFILES
6573          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
6574          # Compute GMOFILES
6575          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6576          case "$ac_given_srcdir" in
6577            .) srcdirpre= ;;
6578            *) srcdirpre='$(srcdir)/' ;;
6579          esac
6580          POFILES=
6581          UPDATEPOFILES=
6582          DUMMYPOFILES=
6583          GMOFILES=
6584          for lang in $ALL_LINGUAS; do
6585            POFILES="$POFILES $srcdirpre$lang.po"
6586            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6587            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6588            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6589          done
6590          # CATALOGS depends on both $ac_dir and the user's LINGUAS
6591          # environment variable.
6592          INST_LINGUAS=
6593          if test -n "$ALL_LINGUAS"; then
6594            for presentlang in $ALL_LINGUAS; do
6595              useit=no
6596              if test "%UNSET%" != "$LINGUAS"; then
6597                desiredlanguages="$LINGUAS"
6598              else
6599                desiredlanguages="$ALL_LINGUAS"
6600              fi
6601              for desiredlang in $desiredlanguages; do
6602                # Use the presentlang catalog if desiredlang is
6603                #   a. equal to presentlang, or
6604                #   b. a variant of presentlang (because in this case,
6605                #      presentlang can be used as a fallback for messages
6606                #      which are not translated in the desiredlang catalog).
6607                case "$desiredlang" in
6608                  "$presentlang"*) useit=yes;;
6609                esac
6610              done
6611              if test $useit = yes; then
6612                INST_LINGUAS="$INST_LINGUAS $presentlang"
6613              fi
6614            done
6615          fi
6616          CATALOGS=
6617          if test -n "$INST_LINGUAS"; then
6618            for lang in $INST_LINGUAS; do
6619              CATALOGS="$CATALOGS $lang.gmo"
6620            done
6621          fi
6622          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6623          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"
6624          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6625            if test -f "$f"; then
6626              case "$f" in
6627                *.orig | *.bak | *~) ;;
6628                *) cat "$f" >> "$ac_dir/Makefile" ;;
6629              esac
6630            fi
6631          done
6632        fi
6633        ;;
6634      esac
6635    done ;;
6636    "po/stamp-it":C)
6637    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
6638       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
6639    fi
6640    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
6641    >"po/stamp-it.tmp"
6642    sed '/^#/d
6643	 s/^[[].*] *//
6644	 /^[ 	]*$/d
6645	'"s|^|	$ac_top_srcdir/|" \
6646      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
6647
6648    sed '/^POTFILES =/,/[^\\]$/ {
6649		/^POTFILES =/!d
6650		r po/POTFILES
6651	  }
6652	 ' "po/Makefile.in" >"po/Makefile"
6653    rm -f "po/Makefile.tmp"
6654    mv "po/stamp-it.tmp" "po/stamp-it"
6655   ;;
6656
6657  esac
6658done # for ac_tag
6659
6660
6661as_fn_exit 0
6662_ACEOF
6663ac_clean_files=$ac_clean_files_save
6664
6665test $ac_write_fail = 0 ||
6666  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6667
6668
6669# configure is writing to config.log, and then calls config.status.
6670# config.status does its own redirection, appending to config.log.
6671# Unfortunately, on DOS this fails, as config.log is still kept open
6672# by configure, so config.status won't be able to write to it; its
6673# output is simply discarded.  So we exec the FD to /dev/null,
6674# effectively closing config.log, so it can be properly (re)opened and
6675# appended to by config.status.  When coming back to configure, we
6676# need to make the FD available again.
6677if test "$no_create" != yes; then
6678  ac_cs_success=:
6679  ac_config_status_args=
6680  test "$silent" = yes &&
6681    ac_config_status_args="$ac_config_status_args --quiet"
6682  exec 5>/dev/null
6683  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6684  exec 5>>config.log
6685  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6686  # would make configure fail if this is the last instruction.
6687  $ac_cs_success || as_fn_exit 1
6688fi
6689if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6690  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6691$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6692fi
6693
6694