source: projects/vine-notify-update/configure @ 9739

Revision 9739, 223.5 KB checked in by tomop, 9 years ago (diff)

0.9.0

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