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

Revision 9642, 216.6 KB checked in by daisuke, 9 years ago (diff)

add initial version of vine-notify-update

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