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