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