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