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