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