1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for pyatspi 2.38.1.
4#
5# Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
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
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: accessibility-atspi@lists.linux-foundation.org about
279$0: your system, including any error possibly output before
280$0: this message. Then install a modern shell, or manually
281$0: run the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='pyatspi'
592PACKAGE_TARNAME='pyatspi'
593PACKAGE_VERSION='2.38.1'
594PACKAGE_STRING='pyatspi 2.38.1'
595PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638X_EXTRA_LIBS
639X_LIBS
640X_PRE_LIBS
641X_CFLAGS
642XMKMF
643GTK_MODULE_DIR
644SET_GTK_MODULE_FALSE
645SET_GTK_MODULE_TRUE
646PYGOBJ_LIBS
647PYGOBJ_CFLAGS
648GTK_LIBS
649GTK_CFLAGS
650ATK_LIBS
651ATK_CFLAGS
652LIB_XML_LIBS
653LIB_XML_CFLAGS
654GMODULE_LIBS
655GMODULE_CFLAGS
656GOBJ_LIBS
657GOBJ_CFLAGS
658AT_SPI_LIBS
659AT_SPI_CFLAGS
660GLIB_LIBS
661GLIB_CFLAGS
662DBUS_LIBS
663DBUS_CFLAGS
664ENABLE_TESTING_FALSE
665ENABLE_TESTING_TRUE
666PKG_CONFIG_LIBDIR
667PKG_CONFIG_PATH
668PKG_CONFIG
669CPP
670LT_SYS_LIBRARY_PATH
671OTOOL64
672OTOOL
673LIPO
674NMEDIT
675DSYMUTIL
676MANIFEST_TOOL
677RANLIB
678ac_ct_AR
679AR
680DLLTOOL
681OBJDUMP
682LN_S
683NM
684ac_ct_DUMPBIN
685DUMPBIN
686LD
687FGREP
688EGREP
689GREP
690SED
691host_os
692host_vendor
693host_cpu
694host
695build_os
696build_vendor
697build_cpu
698build
699LIBTOOL
700pkgpyexecdir
701pyexecdir
702pkgpythondir
703pythondir
704PYTHON_PLATFORM
705PYTHON_EXEC_PREFIX
706PYTHON_PREFIX
707PYTHON_VERSION
708PYTHON
709am__fastdepCC_FALSE
710am__fastdepCC_TRUE
711CCDEPMODE
712am__nodep
713AMDEPBACKSLASH
714AMDEP_FALSE
715AMDEP_TRUE
716am__include
717DEPDIR
718OBJEXT
719EXEEXT
720ac_ct_CC
721CPPFLAGS
722LDFLAGS
723CFLAGS
724CC
725AM_BACKSLASH
726AM_DEFAULT_VERBOSITY
727AM_DEFAULT_V
728AM_V
729am__untar
730am__tar
731AMTAR
732am__leading_dot
733SET_MAKE
734AWK
735mkdir_p
736MKDIR_P
737INSTALL_STRIP_PROGRAM
738STRIP
739install_sh
740MAKEINFO
741AUTOHEADER
742AUTOMAKE
743AUTOCONF
744ACLOCAL
745VERSION
746PACKAGE
747CYGPATH_W
748am__isrc
749INSTALL_DATA
750INSTALL_SCRIPT
751INSTALL_PROGRAM
752LT_AGE
753LT_REVISION
754LT_CURRENT
755LT_RELEASE
756LT_VERSION_INFO
757target_alias
758host_alias
759build_alias
760LIBS
761ECHO_T
762ECHO_N
763ECHO_C
764DEFS
765mandir
766localedir
767libdir
768psdir
769pdfdir
770dvidir
771htmldir
772infodir
773docdir
774oldincludedir
775includedir
776localstatedir
777sharedstatedir
778sysconfdir
779datadir
780datarootdir
781libexecdir
782sbindir
783bindir
784program_transform_name
785prefix
786exec_prefix
787PACKAGE_URL
788PACKAGE_BUGREPORT
789PACKAGE_STRING
790PACKAGE_VERSION
791PACKAGE_TARNAME
792PACKAGE_NAME
793PATH_SEPARATOR
794SHELL
795am__quote'
796ac_subst_files=''
797ac_user_opts='
798enable_option_checking
799enable_silent_rules
800enable_dependency_tracking
801with_python
802enable_static
803enable_shared
804with_pic
805enable_fast_install
806with_aix_soname
807with_gnu_ld
808with_sysroot
809enable_libtool_lock
810enable_tests
811with_x
812'
813      ac_precious_vars='build_alias
814host_alias
815target_alias
816CC
817CFLAGS
818LDFLAGS
819LIBS
820CPPFLAGS
821PYTHON
822LT_SYS_LIBRARY_PATH
823CPP
824PKG_CONFIG
825PKG_CONFIG_PATH
826PKG_CONFIG_LIBDIR
827DBUS_CFLAGS
828DBUS_LIBS
829GLIB_CFLAGS
830GLIB_LIBS
831AT_SPI_CFLAGS
832AT_SPI_LIBS
833GOBJ_CFLAGS
834GOBJ_LIBS
835GMODULE_CFLAGS
836GMODULE_LIBS
837LIB_XML_CFLAGS
838LIB_XML_LIBS
839ATK_CFLAGS
840ATK_LIBS
841GTK_CFLAGS
842GTK_LIBS
843PYGOBJ_CFLAGS
844PYGOBJ_LIBS
845GTK_MODULE_DIR
846XMKMF'
847
848
849# Initialize some variables set by options.
850ac_init_help=
851ac_init_version=false
852ac_unrecognized_opts=
853ac_unrecognized_sep=
854# The variables have the same names as the options, with
855# dashes changed to underlines.
856cache_file=/dev/null
857exec_prefix=NONE
858no_create=
859no_recursion=
860prefix=NONE
861program_prefix=NONE
862program_suffix=NONE
863program_transform_name=s,x,x,
864silent=
865site=
866srcdir=
867verbose=
868x_includes=NONE
869x_libraries=NONE
870
871# Installation directory options.
872# These are left unexpanded so users can "make install exec_prefix=/foo"
873# and all the variables that are supposed to be based on exec_prefix
874# by default will actually change.
875# Use braces instead of parens because sh, perl, etc. also accept them.
876# (The list follows the same order as the GNU Coding Standards.)
877bindir='${exec_prefix}/bin'
878sbindir='${exec_prefix}/sbin'
879libexecdir='${exec_prefix}/libexec'
880datarootdir='${prefix}/share'
881datadir='${datarootdir}'
882sysconfdir='${prefix}/etc'
883sharedstatedir='${prefix}/com'
884localstatedir='${prefix}/var'
885includedir='${prefix}/include'
886oldincludedir='/usr/include'
887docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
888infodir='${datarootdir}/info'
889htmldir='${docdir}'
890dvidir='${docdir}'
891pdfdir='${docdir}'
892psdir='${docdir}'
893libdir='${exec_prefix}/lib'
894localedir='${datarootdir}/locale'
895mandir='${datarootdir}/man'
896
897ac_prev=
898ac_dashdash=
899for ac_option
900do
901  # If the previous option needs an argument, assign it.
902  if test -n "$ac_prev"; then
903    eval $ac_prev=\$ac_option
904    ac_prev=
905    continue
906  fi
907
908  case $ac_option in
909  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910  *=)   ac_optarg= ;;
911  *)    ac_optarg=yes ;;
912  esac
913
914  # Accept the important Cygnus configure options, so we can diagnose typos.
915
916  case $ac_dashdash$ac_option in
917  --)
918    ac_dashdash=yes ;;
919
920  -bindir | --bindir | --bindi | --bind | --bin | --bi)
921    ac_prev=bindir ;;
922  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
923    bindir=$ac_optarg ;;
924
925  -build | --build | --buil | --bui | --bu)
926    ac_prev=build_alias ;;
927  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
928    build_alias=$ac_optarg ;;
929
930  -cache-file | --cache-file | --cache-fil | --cache-fi \
931  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
932    ac_prev=cache_file ;;
933  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
934  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
935    cache_file=$ac_optarg ;;
936
937  --config-cache | -C)
938    cache_file=config.cache ;;
939
940  -datadir | --datadir | --datadi | --datad)
941    ac_prev=datadir ;;
942  -datadir=* | --datadir=* | --datadi=* | --datad=*)
943    datadir=$ac_optarg ;;
944
945  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
946  | --dataroo | --dataro | --datar)
947    ac_prev=datarootdir ;;
948  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
949  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
950    datarootdir=$ac_optarg ;;
951
952  -disable-* | --disable-*)
953    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
954    # Reject names that are not valid shell variable names.
955    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956      as_fn_error $? "invalid feature name: $ac_useropt"
957    ac_useropt_orig=$ac_useropt
958    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959    case $ac_user_opts in
960      *"
961"enable_$ac_useropt"
962"*) ;;
963      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
964	 ac_unrecognized_sep=', ';;
965    esac
966    eval enable_$ac_useropt=no ;;
967
968  -docdir | --docdir | --docdi | --doc | --do)
969    ac_prev=docdir ;;
970  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
971    docdir=$ac_optarg ;;
972
973  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
974    ac_prev=dvidir ;;
975  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
976    dvidir=$ac_optarg ;;
977
978  -enable-* | --enable-*)
979    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
980    # Reject names that are not valid shell variable names.
981    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982      as_fn_error $? "invalid feature name: $ac_useropt"
983    ac_useropt_orig=$ac_useropt
984    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985    case $ac_user_opts in
986      *"
987"enable_$ac_useropt"
988"*) ;;
989      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
990	 ac_unrecognized_sep=', ';;
991    esac
992    eval enable_$ac_useropt=\$ac_optarg ;;
993
994  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
995  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
996  | --exec | --exe | --ex)
997    ac_prev=exec_prefix ;;
998  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
999  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1000  | --exec=* | --exe=* | --ex=*)
1001    exec_prefix=$ac_optarg ;;
1002
1003  -gas | --gas | --ga | --g)
1004    # Obsolete; use --with-gas.
1005    with_gas=yes ;;
1006
1007  -help | --help | --hel | --he | -h)
1008    ac_init_help=long ;;
1009  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1010    ac_init_help=recursive ;;
1011  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1012    ac_init_help=short ;;
1013
1014  -host | --host | --hos | --ho)
1015    ac_prev=host_alias ;;
1016  -host=* | --host=* | --hos=* | --ho=*)
1017    host_alias=$ac_optarg ;;
1018
1019  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1020    ac_prev=htmldir ;;
1021  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1022  | --ht=*)
1023    htmldir=$ac_optarg ;;
1024
1025  -includedir | --includedir | --includedi | --included | --include \
1026  | --includ | --inclu | --incl | --inc)
1027    ac_prev=includedir ;;
1028  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1029  | --includ=* | --inclu=* | --incl=* | --inc=*)
1030    includedir=$ac_optarg ;;
1031
1032  -infodir | --infodir | --infodi | --infod | --info | --inf)
1033    ac_prev=infodir ;;
1034  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1035    infodir=$ac_optarg ;;
1036
1037  -libdir | --libdir | --libdi | --libd)
1038    ac_prev=libdir ;;
1039  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1040    libdir=$ac_optarg ;;
1041
1042  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1043  | --libexe | --libex | --libe)
1044    ac_prev=libexecdir ;;
1045  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1046  | --libexe=* | --libex=* | --libe=*)
1047    libexecdir=$ac_optarg ;;
1048
1049  -localedir | --localedir | --localedi | --localed | --locale)
1050    ac_prev=localedir ;;
1051  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1052    localedir=$ac_optarg ;;
1053
1054  -localstatedir | --localstatedir | --localstatedi | --localstated \
1055  | --localstate | --localstat | --localsta | --localst | --locals)
1056    ac_prev=localstatedir ;;
1057  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1058  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1059    localstatedir=$ac_optarg ;;
1060
1061  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1062    ac_prev=mandir ;;
1063  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1064    mandir=$ac_optarg ;;
1065
1066  -nfp | --nfp | --nf)
1067    # Obsolete; use --without-fp.
1068    with_fp=no ;;
1069
1070  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1071  | --no-cr | --no-c | -n)
1072    no_create=yes ;;
1073
1074  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1075  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1076    no_recursion=yes ;;
1077
1078  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1079  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1080  | --oldin | --oldi | --old | --ol | --o)
1081    ac_prev=oldincludedir ;;
1082  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1083  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1084  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1085    oldincludedir=$ac_optarg ;;
1086
1087  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1088    ac_prev=prefix ;;
1089  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1090    prefix=$ac_optarg ;;
1091
1092  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1093  | --program-pre | --program-pr | --program-p)
1094    ac_prev=program_prefix ;;
1095  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1096  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1097    program_prefix=$ac_optarg ;;
1098
1099  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1100  | --program-suf | --program-su | --program-s)
1101    ac_prev=program_suffix ;;
1102  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1103  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1104    program_suffix=$ac_optarg ;;
1105
1106  -program-transform-name | --program-transform-name \
1107  | --program-transform-nam | --program-transform-na \
1108  | --program-transform-n | --program-transform- \
1109  | --program-transform | --program-transfor \
1110  | --program-transfo | --program-transf \
1111  | --program-trans | --program-tran \
1112  | --progr-tra | --program-tr | --program-t)
1113    ac_prev=program_transform_name ;;
1114  -program-transform-name=* | --program-transform-name=* \
1115  | --program-transform-nam=* | --program-transform-na=* \
1116  | --program-transform-n=* | --program-transform-=* \
1117  | --program-transform=* | --program-transfor=* \
1118  | --program-transfo=* | --program-transf=* \
1119  | --program-trans=* | --program-tran=* \
1120  | --progr-tra=* | --program-tr=* | --program-t=*)
1121    program_transform_name=$ac_optarg ;;
1122
1123  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1124    ac_prev=pdfdir ;;
1125  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1126    pdfdir=$ac_optarg ;;
1127
1128  -psdir | --psdir | --psdi | --psd | --ps)
1129    ac_prev=psdir ;;
1130  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1131    psdir=$ac_optarg ;;
1132
1133  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1134  | -silent | --silent | --silen | --sile | --sil)
1135    silent=yes ;;
1136
1137  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1138    ac_prev=sbindir ;;
1139  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1140  | --sbi=* | --sb=*)
1141    sbindir=$ac_optarg ;;
1142
1143  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1144  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1145  | --sharedst | --shareds | --shared | --share | --shar \
1146  | --sha | --sh)
1147    ac_prev=sharedstatedir ;;
1148  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1149  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1150  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1151  | --sha=* | --sh=*)
1152    sharedstatedir=$ac_optarg ;;
1153
1154  -site | --site | --sit)
1155    ac_prev=site ;;
1156  -site=* | --site=* | --sit=*)
1157    site=$ac_optarg ;;
1158
1159  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1160    ac_prev=srcdir ;;
1161  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1162    srcdir=$ac_optarg ;;
1163
1164  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1165  | --syscon | --sysco | --sysc | --sys | --sy)
1166    ac_prev=sysconfdir ;;
1167  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1168  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1169    sysconfdir=$ac_optarg ;;
1170
1171  -target | --target | --targe | --targ | --tar | --ta | --t)
1172    ac_prev=target_alias ;;
1173  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1174    target_alias=$ac_optarg ;;
1175
1176  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1177    verbose=yes ;;
1178
1179  -version | --version | --versio | --versi | --vers | -V)
1180    ac_init_version=: ;;
1181
1182  -with-* | --with-*)
1183    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1184    # Reject names that are not valid shell variable names.
1185    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186      as_fn_error $? "invalid package name: $ac_useropt"
1187    ac_useropt_orig=$ac_useropt
1188    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189    case $ac_user_opts in
1190      *"
1191"with_$ac_useropt"
1192"*) ;;
1193      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194	 ac_unrecognized_sep=', ';;
1195    esac
1196    eval with_$ac_useropt=\$ac_optarg ;;
1197
1198  -without-* | --without-*)
1199    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1200    # Reject names that are not valid shell variable names.
1201    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202      as_fn_error $? "invalid package name: $ac_useropt"
1203    ac_useropt_orig=$ac_useropt
1204    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205    case $ac_user_opts in
1206      *"
1207"with_$ac_useropt"
1208"*) ;;
1209      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210	 ac_unrecognized_sep=', ';;
1211    esac
1212    eval with_$ac_useropt=no ;;
1213
1214  --x)
1215    # Obsolete; use --with-x.
1216    with_x=yes ;;
1217
1218  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219  | --x-incl | --x-inc | --x-in | --x-i)
1220    ac_prev=x_includes ;;
1221  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223    x_includes=$ac_optarg ;;
1224
1225  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227    ac_prev=x_libraries ;;
1228  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230    x_libraries=$ac_optarg ;;
1231
1232  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1233Try \`$0 --help' for more information"
1234    ;;
1235
1236  *=*)
1237    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1238    # Reject names that are not valid shell variable names.
1239    case $ac_envvar in #(
1240      '' | [0-9]* | *[!_$as_cr_alnum]* )
1241      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1242    esac
1243    eval $ac_envvar=\$ac_optarg
1244    export $ac_envvar ;;
1245
1246  *)
1247    # FIXME: should be removed in autoconf 3.0.
1248    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252    ;;
1253
1254  esac
1255done
1256
1257if test -n "$ac_prev"; then
1258  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259  as_fn_error $? "missing argument to $ac_option"
1260fi
1261
1262if test -n "$ac_unrecognized_opts"; then
1263  case $enable_option_checking in
1264    no) ;;
1265    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1266    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267  esac
1268fi
1269
1270# Check all directory arguments for consistency.
1271for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1272		datadir sysconfdir sharedstatedir localstatedir includedir \
1273		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1274		libdir localedir mandir
1275do
1276  eval ac_val=\$$ac_var
1277  # Remove trailing slashes.
1278  case $ac_val in
1279    */ )
1280      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1281      eval $ac_var=\$ac_val;;
1282  esac
1283  # Be sure to have absolute directory names.
1284  case $ac_val in
1285    [\\/$]* | ?:[\\/]* )  continue;;
1286    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1287  esac
1288  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1289done
1290
1291# There might be people who depend on the old broken behavior: `$host'
1292# used to hold the argument of --host etc.
1293# FIXME: To remove some day.
1294build=$build_alias
1295host=$host_alias
1296target=$target_alias
1297
1298# FIXME: To remove some day.
1299if test "x$host_alias" != x; then
1300  if test "x$build_alias" = x; then
1301    cross_compiling=maybe
1302  elif test "x$build_alias" != "x$host_alias"; then
1303    cross_compiling=yes
1304  fi
1305fi
1306
1307ac_tool_prefix=
1308test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309
1310test "$silent" = yes && exec 6>/dev/null
1311
1312
1313ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314ac_ls_di=`ls -di .` &&
1315ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316  as_fn_error $? "working directory cannot be determined"
1317test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318  as_fn_error $? "pwd does not report name of working directory"
1319
1320
1321# Find the source files, if location was not specified.
1322if test -z "$srcdir"; then
1323  ac_srcdir_defaulted=yes
1324  # Try the directory containing this script, then the parent directory.
1325  ac_confdir=`$as_dirname -- "$as_myself" ||
1326$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327	 X"$as_myself" : 'X\(//\)[^/]' \| \
1328	 X"$as_myself" : 'X\(//\)$' \| \
1329	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330$as_echo X"$as_myself" |
1331    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332	    s//\1/
1333	    q
1334	  }
1335	  /^X\(\/\/\)[^/].*/{
1336	    s//\1/
1337	    q
1338	  }
1339	  /^X\(\/\/\)$/{
1340	    s//\1/
1341	    q
1342	  }
1343	  /^X\(\/\).*/{
1344	    s//\1/
1345	    q
1346	  }
1347	  s/.*/./; q'`
1348  srcdir=$ac_confdir
1349  if test ! -r "$srcdir/$ac_unique_file"; then
1350    srcdir=..
1351  fi
1352else
1353  ac_srcdir_defaulted=no
1354fi
1355if test ! -r "$srcdir/$ac_unique_file"; then
1356  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358fi
1359ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360ac_abs_confdir=`(
1361	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362	pwd)`
1363# When building in place, set srcdir=.
1364if test "$ac_abs_confdir" = "$ac_pwd"; then
1365  srcdir=.
1366fi
1367# Remove unnecessary trailing slashes from srcdir.
1368# Double slashes in file names in object file debugging info
1369# mess up M-x gdb in Emacs.
1370case $srcdir in
1371*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372esac
1373for ac_var in $ac_precious_vars; do
1374  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1375  eval ac_env_${ac_var}_value=\$${ac_var}
1376  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1377  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1378done
1379
1380#
1381# Report the --help message.
1382#
1383if test "$ac_init_help" = "long"; then
1384  # Omit some internal or obsolete options to make the list less imposing.
1385  # This message is too long to be a string in the A/UX 3.1 sh.
1386  cat <<_ACEOF
1387\`configure' configures pyatspi 2.38.1 to adapt to many kinds of systems.
1388
1389Usage: $0 [OPTION]... [VAR=VALUE]...
1390
1391To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392VAR=VALUE.  See below for descriptions of some of the useful variables.
1393
1394Defaults for the options are specified in brackets.
1395
1396Configuration:
1397  -h, --help              display this help and exit
1398      --help=short        display options specific to this package
1399      --help=recursive    display the short help of all the included packages
1400  -V, --version           display version information and exit
1401  -q, --quiet, --silent   do not print \`checking ...' messages
1402      --cache-file=FILE   cache test results in FILE [disabled]
1403  -C, --config-cache      alias for \`--cache-file=config.cache'
1404  -n, --no-create         do not create output files
1405      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1406
1407Installation directories:
1408  --prefix=PREFIX         install architecture-independent files in PREFIX
1409                          [$ac_default_prefix]
1410  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1411                          [PREFIX]
1412
1413By default, \`make install' will install all the files in
1414\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1415an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416for instance \`--prefix=\$HOME'.
1417
1418For better control, use the options below.
1419
1420Fine tuning of the installation directories:
1421  --bindir=DIR            user executables [EPREFIX/bin]
1422  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1423  --libexecdir=DIR        program executables [EPREFIX/libexec]
1424  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1425  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1426  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1427  --libdir=DIR            object code libraries [EPREFIX/lib]
1428  --includedir=DIR        C header files [PREFIX/include]
1429  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1430  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1431  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1432  --infodir=DIR           info documentation [DATAROOTDIR/info]
1433  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1434  --mandir=DIR            man documentation [DATAROOTDIR/man]
1435  --docdir=DIR            documentation root [DATAROOTDIR/doc/pyatspi]
1436  --htmldir=DIR           html documentation [DOCDIR]
1437  --dvidir=DIR            dvi documentation [DOCDIR]
1438  --pdfdir=DIR            pdf documentation [DOCDIR]
1439  --psdir=DIR             ps documentation [DOCDIR]
1440_ACEOF
1441
1442  cat <<\_ACEOF
1443
1444Program names:
1445  --program-prefix=PREFIX            prepend PREFIX to installed program names
1446  --program-suffix=SUFFIX            append SUFFIX to installed program names
1447  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1448
1449X features:
1450  --x-includes=DIR    X include files are in DIR
1451  --x-libraries=DIR   X library files are in DIR
1452
1453System types:
1454  --build=BUILD     configure for building on BUILD [guessed]
1455  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1456_ACEOF
1457fi
1458
1459if test -n "$ac_init_help"; then
1460  case $ac_init_help in
1461     short | recursive ) echo "Configuration of pyatspi 2.38.1:";;
1462   esac
1463  cat <<\_ACEOF
1464
1465Optional Features:
1466  --disable-option-checking  ignore unrecognized --enable/--with options
1467  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1468  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1469  --enable-silent-rules   less verbose build output (undo: "make V=1")
1470  --disable-silent-rules  verbose build output (undo: "make V=0")
1471  --enable-dependency-tracking
1472                          do not reject slow dependency extractors
1473  --disable-dependency-tracking
1474                          speeds up one-time build
1475  --enable-static[=PKGS]  build static libraries [default=no]
1476  --enable-shared[=PKGS]  build shared libraries [default=yes]
1477  --enable-fast-install[=PKGS]
1478                          optimize for fast installation [default=yes]
1479  --disable-libtool-lock  avoid locking (might break parallel builds)
1480  --enable-tests          Build with testing enabled
1481
1482Optional Packages:
1483  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1484  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1485  --with-python=PATH      Path to Python interpreter; searches $PATH if only a
1486                          program name is given; if not given, searches for a
1487                          few standard names such as "python3" or "python2"
1488  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1489                          both]
1490  --with-aix-soname=aix|svr4|both
1491                          shared library versioning (aka "SONAME") variant to
1492                          provide on AIX, [default=aix].
1493  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1494  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1495                          compiler's sysroot if not specified).
1496  --with-x                use the X Window System
1497
1498Some influential environment variables:
1499  CC          C compiler command
1500  CFLAGS      C compiler flags
1501  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1502              nonstandard directory <lib dir>
1503  LIBS        libraries to pass to the linker, e.g. -l<library>
1504  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1505              you have headers in a nonstandard directory <include dir>
1506  PYTHON      the Python interpreter
1507  LT_SYS_LIBRARY_PATH
1508              User-defined run-time library search path.
1509  CPP         C preprocessor
1510  PKG_CONFIG  path to pkg-config utility
1511  PKG_CONFIG_PATH
1512              directories to add to pkg-config's search path
1513  PKG_CONFIG_LIBDIR
1514              path overriding pkg-config's built-in search path
1515  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1516  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1517  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1518  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1519  AT_SPI_CFLAGS
1520              C compiler flags for AT_SPI, overriding pkg-config
1521  AT_SPI_LIBS linker flags for AT_SPI, overriding pkg-config
1522  GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1523  GOBJ_LIBS   linker flags for GOBJ, overriding pkg-config
1524  GMODULE_CFLAGS
1525              C compiler flags for GMODULE, overriding pkg-config
1526  GMODULE_LIBS
1527              linker flags for GMODULE, overriding pkg-config
1528  LIB_XML_CFLAGS
1529              C compiler flags for LIB_XML, overriding pkg-config
1530  LIB_XML_LIBS
1531              linker flags for LIB_XML, overriding pkg-config
1532  ATK_CFLAGS  C compiler flags for ATK, overriding pkg-config
1533  ATK_LIBS    linker flags for ATK, overriding pkg-config
1534  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1535  GTK_LIBS    linker flags for GTK, overriding pkg-config
1536  PYGOBJ_CFLAGS
1537              C compiler flags for PYGOBJ, overriding pkg-config
1538  PYGOBJ_LIBS linker flags for PYGOBJ, overriding pkg-config
1539  GTK_MODULE_DIR
1540              Where to find the atk-adaptor gtk module
1541  XMKMF       Path to xmkmf, Makefile generator for X Window System
1542
1543Use these variables to override the choices made by `configure' or to help
1544it to find libraries and programs with nonstandard names/locations.
1545
1546Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1547_ACEOF
1548ac_status=$?
1549fi
1550
1551if test "$ac_init_help" = "recursive"; then
1552  # If there are subdirs, report their specific --help.
1553  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554    test -d "$ac_dir" ||
1555      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556      continue
1557    ac_builddir=.
1558
1559case "$ac_dir" in
1560.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561*)
1562  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563  # A ".." for each directory in $ac_dir_suffix.
1564  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565  case $ac_top_builddir_sub in
1566  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568  esac ;;
1569esac
1570ac_abs_top_builddir=$ac_pwd
1571ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572# for backward compatibility:
1573ac_top_builddir=$ac_top_build_prefix
1574
1575case $srcdir in
1576  .)  # We are building in place.
1577    ac_srcdir=.
1578    ac_top_srcdir=$ac_top_builddir_sub
1579    ac_abs_top_srcdir=$ac_pwd ;;
1580  [\\/]* | ?:[\\/]* )  # Absolute name.
1581    ac_srcdir=$srcdir$ac_dir_suffix;
1582    ac_top_srcdir=$srcdir
1583    ac_abs_top_srcdir=$srcdir ;;
1584  *) # Relative name.
1585    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586    ac_top_srcdir=$ac_top_build_prefix$srcdir
1587    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588esac
1589ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590
1591    cd "$ac_dir" || { ac_status=$?; continue; }
1592    # Check for guested configure.
1593    if test -f "$ac_srcdir/configure.gnu"; then
1594      echo &&
1595      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596    elif test -f "$ac_srcdir/configure"; then
1597      echo &&
1598      $SHELL "$ac_srcdir/configure" --help=recursive
1599    else
1600      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601    fi || ac_status=$?
1602    cd "$ac_pwd" || { ac_status=$?; break; }
1603  done
1604fi
1605
1606test -n "$ac_init_help" && exit $ac_status
1607if $ac_init_version; then
1608  cat <<\_ACEOF
1609pyatspi configure 2.38.1
1610generated by GNU Autoconf 2.69
1611
1612Copyright (C) 2012 Free Software Foundation, Inc.
1613This configure script is free software; the Free Software Foundation
1614gives unlimited permission to copy, distribute and modify it.
1615_ACEOF
1616  exit
1617fi
1618
1619## ------------------------ ##
1620## Autoconf initialization. ##
1621## ------------------------ ##
1622
1623# ac_fn_c_try_compile LINENO
1624# --------------------------
1625# Try to compile conftest.$ac_ext, and return whether this succeeded.
1626ac_fn_c_try_compile ()
1627{
1628  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629  rm -f conftest.$ac_objext
1630  if { { ac_try="$ac_compile"
1631case "(($ac_try" in
1632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633  *) ac_try_echo=$ac_try;;
1634esac
1635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636$as_echo "$ac_try_echo"; } >&5
1637  (eval "$ac_compile") 2>conftest.err
1638  ac_status=$?
1639  if test -s conftest.err; then
1640    grep -v '^ *+' conftest.err >conftest.er1
1641    cat conftest.er1 >&5
1642    mv -f conftest.er1 conftest.err
1643  fi
1644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645  test $ac_status = 0; } && {
1646	 test -z "$ac_c_werror_flag" ||
1647	 test ! -s conftest.err
1648       } && test -s conftest.$ac_objext; then :
1649  ac_retval=0
1650else
1651  $as_echo "$as_me: failed program was:" >&5
1652sed 's/^/| /' conftest.$ac_ext >&5
1653
1654	ac_retval=1
1655fi
1656  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657  as_fn_set_status $ac_retval
1658
1659} # ac_fn_c_try_compile
1660
1661# ac_fn_c_try_link LINENO
1662# -----------------------
1663# Try to link conftest.$ac_ext, and return whether this succeeded.
1664ac_fn_c_try_link ()
1665{
1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667  rm -f conftest.$ac_objext conftest$ac_exeext
1668  if { { ac_try="$ac_link"
1669case "(($ac_try" in
1670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671  *) ac_try_echo=$ac_try;;
1672esac
1673eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674$as_echo "$ac_try_echo"; } >&5
1675  (eval "$ac_link") 2>conftest.err
1676  ac_status=$?
1677  if test -s conftest.err; then
1678    grep -v '^ *+' conftest.err >conftest.er1
1679    cat conftest.er1 >&5
1680    mv -f conftest.er1 conftest.err
1681  fi
1682  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683  test $ac_status = 0; } && {
1684	 test -z "$ac_c_werror_flag" ||
1685	 test ! -s conftest.err
1686       } && test -s conftest$ac_exeext && {
1687	 test "$cross_compiling" = yes ||
1688	 test -x conftest$ac_exeext
1689       }; then :
1690  ac_retval=0
1691else
1692  $as_echo "$as_me: failed program was:" >&5
1693sed 's/^/| /' conftest.$ac_ext >&5
1694
1695	ac_retval=1
1696fi
1697  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699  # interfere with the next link command; also delete a directory that is
1700  # left behind by Apple's compiler.  We do this before executing the actions.
1701  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703  as_fn_set_status $ac_retval
1704
1705} # ac_fn_c_try_link
1706
1707# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708# -------------------------------------------------------
1709# Tests whether HEADER exists and can be compiled using the include files in
1710# INCLUDES, setting the cache variable VAR accordingly.
1711ac_fn_c_check_header_compile ()
1712{
1713  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715$as_echo_n "checking for $2... " >&6; }
1716if eval \${$3+:} false; then :
1717  $as_echo_n "(cached) " >&6
1718else
1719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720/* end confdefs.h.  */
1721$4
1722#include <$2>
1723_ACEOF
1724if ac_fn_c_try_compile "$LINENO"; then :
1725  eval "$3=yes"
1726else
1727  eval "$3=no"
1728fi
1729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730fi
1731eval ac_res=\$$3
1732	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733$as_echo "$ac_res" >&6; }
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736} # ac_fn_c_check_header_compile
1737
1738# ac_fn_c_try_cpp LINENO
1739# ----------------------
1740# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741ac_fn_c_try_cpp ()
1742{
1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744  if { { ac_try="$ac_cpp conftest.$ac_ext"
1745case "(($ac_try" in
1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747  *) ac_try_echo=$ac_try;;
1748esac
1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750$as_echo "$ac_try_echo"; } >&5
1751  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752  ac_status=$?
1753  if test -s conftest.err; then
1754    grep -v '^ *+' conftest.err >conftest.er1
1755    cat conftest.er1 >&5
1756    mv -f conftest.er1 conftest.err
1757  fi
1758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759  test $ac_status = 0; } > conftest.i && {
1760	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761	 test ! -s conftest.err
1762       }; then :
1763  ac_retval=0
1764else
1765  $as_echo "$as_me: failed program was:" >&5
1766sed 's/^/| /' conftest.$ac_ext >&5
1767
1768    ac_retval=1
1769fi
1770  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771  as_fn_set_status $ac_retval
1772
1773} # ac_fn_c_try_cpp
1774
1775# ac_fn_c_try_run LINENO
1776# ----------------------
1777# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778# that executables *can* be run.
1779ac_fn_c_try_run ()
1780{
1781  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782  if { { ac_try="$ac_link"
1783case "(($ac_try" in
1784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785  *) ac_try_echo=$ac_try;;
1786esac
1787eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788$as_echo "$ac_try_echo"; } >&5
1789  (eval "$ac_link") 2>&5
1790  ac_status=$?
1791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793  { { case "(($ac_try" in
1794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795  *) ac_try_echo=$ac_try;;
1796esac
1797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798$as_echo "$ac_try_echo"; } >&5
1799  (eval "$ac_try") 2>&5
1800  ac_status=$?
1801  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802  test $ac_status = 0; }; }; then :
1803  ac_retval=0
1804else
1805  $as_echo "$as_me: program exited with status $ac_status" >&5
1806       $as_echo "$as_me: failed program was:" >&5
1807sed 's/^/| /' conftest.$ac_ext >&5
1808
1809       ac_retval=$ac_status
1810fi
1811  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813  as_fn_set_status $ac_retval
1814
1815} # ac_fn_c_try_run
1816
1817# ac_fn_c_check_func LINENO FUNC VAR
1818# ----------------------------------
1819# Tests whether FUNC exists, setting the cache variable VAR accordingly
1820ac_fn_c_check_func ()
1821{
1822  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824$as_echo_n "checking for $2... " >&6; }
1825if eval \${$3+:} false; then :
1826  $as_echo_n "(cached) " >&6
1827else
1828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829/* end confdefs.h.  */
1830/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832#define $2 innocuous_$2
1833
1834/* System header to define __stub macros and hopefully few prototypes,
1835    which can conflict with char $2 (); below.
1836    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837    <limits.h> exists even on freestanding compilers.  */
1838
1839#ifdef __STDC__
1840# include <limits.h>
1841#else
1842# include <assert.h>
1843#endif
1844
1845#undef $2
1846
1847/* Override any GCC internal prototype to avoid an error.
1848   Use char because int might match the return type of a GCC
1849   builtin and then its argument prototype would still apply.  */
1850#ifdef __cplusplus
1851extern "C"
1852#endif
1853char $2 ();
1854/* The GNU C library defines this for functions which it implements
1855    to always fail with ENOSYS.  Some functions are actually named
1856    something starting with __ and the normal name is an alias.  */
1857#if defined __stub_$2 || defined __stub___$2
1858choke me
1859#endif
1860
1861int
1862main ()
1863{
1864return $2 ();
1865  ;
1866  return 0;
1867}
1868_ACEOF
1869if ac_fn_c_try_link "$LINENO"; then :
1870  eval "$3=yes"
1871else
1872  eval "$3=no"
1873fi
1874rm -f core conftest.err conftest.$ac_objext \
1875    conftest$ac_exeext conftest.$ac_ext
1876fi
1877eval ac_res=\$$3
1878	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879$as_echo "$ac_res" >&6; }
1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882} # ac_fn_c_check_func
1883cat >config.log <<_ACEOF
1884This file contains any messages produced by compilers while
1885running configure, to aid debugging if configure makes a mistake.
1886
1887It was created by pyatspi $as_me 2.38.1, which was
1888generated by GNU Autoconf 2.69.  Invocation command line was
1889
1890  $ $0 $@
1891
1892_ACEOF
1893exec 5>>config.log
1894{
1895cat <<_ASUNAME
1896## --------- ##
1897## Platform. ##
1898## --------- ##
1899
1900hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1901uname -m = `(uname -m) 2>/dev/null || echo unknown`
1902uname -r = `(uname -r) 2>/dev/null || echo unknown`
1903uname -s = `(uname -s) 2>/dev/null || echo unknown`
1904uname -v = `(uname -v) 2>/dev/null || echo unknown`
1905
1906/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1907/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1908
1909/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1910/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1911/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1912/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1913/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1914/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1915/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1916
1917_ASUNAME
1918
1919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920for as_dir in $PATH
1921do
1922  IFS=$as_save_IFS
1923  test -z "$as_dir" && as_dir=.
1924    $as_echo "PATH: $as_dir"
1925  done
1926IFS=$as_save_IFS
1927
1928} >&5
1929
1930cat >&5 <<_ACEOF
1931
1932
1933## ----------- ##
1934## Core tests. ##
1935## ----------- ##
1936
1937_ACEOF
1938
1939
1940# Keep a trace of the command line.
1941# Strip out --no-create and --no-recursion so they do not pile up.
1942# Strip out --silent because we don't want to record it for future runs.
1943# Also quote any args containing shell meta-characters.
1944# Make two passes to allow for proper duplicate-argument suppression.
1945ac_configure_args=
1946ac_configure_args0=
1947ac_configure_args1=
1948ac_must_keep_next=false
1949for ac_pass in 1 2
1950do
1951  for ac_arg
1952  do
1953    case $ac_arg in
1954    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1955    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1956    | -silent | --silent | --silen | --sile | --sil)
1957      continue ;;
1958    *\'*)
1959      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960    esac
1961    case $ac_pass in
1962    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1963    2)
1964      as_fn_append ac_configure_args1 " '$ac_arg'"
1965      if test $ac_must_keep_next = true; then
1966	ac_must_keep_next=false # Got value, back to normal.
1967      else
1968	case $ac_arg in
1969	  *=* | --config-cache | -C | -disable-* | --disable-* \
1970	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1971	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1972	  | -with-* | --with-* | -without-* | --without-* | --x)
1973	    case "$ac_configure_args0 " in
1974	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975	    esac
1976	    ;;
1977	  -* ) ac_must_keep_next=true ;;
1978	esac
1979      fi
1980      as_fn_append ac_configure_args " '$ac_arg'"
1981      ;;
1982    esac
1983  done
1984done
1985{ ac_configure_args0=; unset ac_configure_args0;}
1986{ ac_configure_args1=; unset ac_configure_args1;}
1987
1988# When interrupted or exit'd, cleanup temporary files, and complete
1989# config.log.  We remove comments because anyway the quotes in there
1990# would cause problems or look ugly.
1991# WARNING: Use '\'' to represent an apostrophe within the trap.
1992# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1993trap 'exit_status=$?
1994  # Save into config.log some information that might help in debugging.
1995  {
1996    echo
1997
1998    $as_echo "## ---------------- ##
1999## Cache variables. ##
2000## ---------------- ##"
2001    echo
2002    # The following way of writing the cache mishandles newlines in values,
2003(
2004  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2005    eval ac_val=\$$ac_var
2006    case $ac_val in #(
2007    *${as_nl}*)
2008      case $ac_var in #(
2009      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2010$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011      esac
2012      case $ac_var in #(
2013      _ | IFS | as_nl) ;; #(
2014      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2015      *) { eval $ac_var=; unset $ac_var;} ;;
2016      esac ;;
2017    esac
2018  done
2019  (set) 2>&1 |
2020    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2021    *${as_nl}ac_space=\ *)
2022      sed -n \
2023	"s/'\''/'\''\\\\'\'''\''/g;
2024	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025      ;; #(
2026    *)
2027      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028      ;;
2029    esac |
2030    sort
2031)
2032    echo
2033
2034    $as_echo "## ----------------- ##
2035## Output variables. ##
2036## ----------------- ##"
2037    echo
2038    for ac_var in $ac_subst_vars
2039    do
2040      eval ac_val=\$$ac_var
2041      case $ac_val in
2042      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043      esac
2044      $as_echo "$ac_var='\''$ac_val'\''"
2045    done | sort
2046    echo
2047
2048    if test -n "$ac_subst_files"; then
2049      $as_echo "## ------------------- ##
2050## File substitutions. ##
2051## ------------------- ##"
2052      echo
2053      for ac_var in $ac_subst_files
2054      do
2055	eval ac_val=\$$ac_var
2056	case $ac_val in
2057	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058	esac
2059	$as_echo "$ac_var='\''$ac_val'\''"
2060      done | sort
2061      echo
2062    fi
2063
2064    if test -s confdefs.h; then
2065      $as_echo "## ----------- ##
2066## confdefs.h. ##
2067## ----------- ##"
2068      echo
2069      cat confdefs.h
2070      echo
2071    fi
2072    test "$ac_signal" != 0 &&
2073      $as_echo "$as_me: caught signal $ac_signal"
2074    $as_echo "$as_me: exit $exit_status"
2075  } >&5
2076  rm -f core *.core core.conftest.* &&
2077    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078    exit $exit_status
2079' 0
2080for ac_signal in 1 2 13 15; do
2081  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2082done
2083ac_signal=0
2084
2085# confdefs.h avoids OS command line length limits that DEFS can exceed.
2086rm -f -r conftest* confdefs.h
2087
2088$as_echo "/* confdefs.h */" > confdefs.h
2089
2090# Predefined preprocessor variables.
2091
2092cat >>confdefs.h <<_ACEOF
2093#define PACKAGE_NAME "$PACKAGE_NAME"
2094_ACEOF
2095
2096cat >>confdefs.h <<_ACEOF
2097#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098_ACEOF
2099
2100cat >>confdefs.h <<_ACEOF
2101#define PACKAGE_VERSION "$PACKAGE_VERSION"
2102_ACEOF
2103
2104cat >>confdefs.h <<_ACEOF
2105#define PACKAGE_STRING "$PACKAGE_STRING"
2106_ACEOF
2107
2108cat >>confdefs.h <<_ACEOF
2109#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2110_ACEOF
2111
2112cat >>confdefs.h <<_ACEOF
2113#define PACKAGE_URL "$PACKAGE_URL"
2114_ACEOF
2115
2116
2117# Let the site file select an alternate cache file if it wants to.
2118# Prefer an explicitly selected file to automatically selected ones.
2119ac_site_file1=NONE
2120ac_site_file2=NONE
2121if test -n "$CONFIG_SITE"; then
2122  # We do not want a PATH search for config.site.
2123  case $CONFIG_SITE in #((
2124    -*)  ac_site_file1=./$CONFIG_SITE;;
2125    */*) ac_site_file1=$CONFIG_SITE;;
2126    *)   ac_site_file1=./$CONFIG_SITE;;
2127  esac
2128elif test "x$prefix" != xNONE; then
2129  ac_site_file1=$prefix/share/config.site
2130  ac_site_file2=$prefix/etc/config.site
2131else
2132  ac_site_file1=$ac_default_prefix/share/config.site
2133  ac_site_file2=$ac_default_prefix/etc/config.site
2134fi
2135for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2136do
2137  test "x$ac_site_file" = xNONE && continue
2138  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2139    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2140$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2141    sed 's/^/| /' "$ac_site_file" >&5
2142    . "$ac_site_file" \
2143      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2145as_fn_error $? "failed to load site script $ac_site_file
2146See \`config.log' for more details" "$LINENO" 5; }
2147  fi
2148done
2149
2150if test -r "$cache_file"; then
2151  # Some versions of bash will fail to source /dev/null (special files
2152  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2153  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2154    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2155$as_echo "$as_me: loading cache $cache_file" >&6;}
2156    case $cache_file in
2157      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2158      *)                      . "./$cache_file";;
2159    esac
2160  fi
2161else
2162  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2163$as_echo "$as_me: creating cache $cache_file" >&6;}
2164  >$cache_file
2165fi
2166
2167# Check that the precious variables saved in the cache have kept the same
2168# value.
2169ac_cache_corrupted=false
2170for ac_var in $ac_precious_vars; do
2171  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2172  eval ac_new_set=\$ac_env_${ac_var}_set
2173  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2174  eval ac_new_val=\$ac_env_${ac_var}_value
2175  case $ac_old_set,$ac_new_set in
2176    set,)
2177      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2178$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2179      ac_cache_corrupted=: ;;
2180    ,set)
2181      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2182$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2183      ac_cache_corrupted=: ;;
2184    ,);;
2185    *)
2186      if test "x$ac_old_val" != "x$ac_new_val"; then
2187	# differences in whitespace do not lead to failure.
2188	ac_old_val_w=`echo x $ac_old_val`
2189	ac_new_val_w=`echo x $ac_new_val`
2190	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2191	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2192$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2193	  ac_cache_corrupted=:
2194	else
2195	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2196$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2197	  eval $ac_var=\$ac_old_val
2198	fi
2199	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2200$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2201	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2202$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2203      fi;;
2204  esac
2205  # Pass precious variables to config.status.
2206  if test "$ac_new_set" = set; then
2207    case $ac_new_val in
2208    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2209    *) ac_arg=$ac_var=$ac_new_val ;;
2210    esac
2211    case " $ac_configure_args " in
2212      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2213      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2214    esac
2215  fi
2216done
2217if $ac_cache_corrupted; then
2218  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2220  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2221$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2222  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2223fi
2224## -------------------- ##
2225## Main body of script. ##
2226## -------------------- ##
2227
2228ac_ext=c
2229ac_cpp='$CPP $CPPFLAGS'
2230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233
2234
2235ac_aux_dir=
2236for ac_dir in config "$srcdir"/config; do
2237  if test -f "$ac_dir/install-sh"; then
2238    ac_aux_dir=$ac_dir
2239    ac_install_sh="$ac_aux_dir/install-sh -c"
2240    break
2241  elif test -f "$ac_dir/install.sh"; then
2242    ac_aux_dir=$ac_dir
2243    ac_install_sh="$ac_aux_dir/install.sh -c"
2244    break
2245  elif test -f "$ac_dir/shtool"; then
2246    ac_aux_dir=$ac_dir
2247    ac_install_sh="$ac_aux_dir/shtool install -c"
2248    break
2249  fi
2250done
2251if test -z "$ac_aux_dir"; then
2252  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2253fi
2254
2255# These three variables are undocumented and unsupported,
2256# and are intended to be withdrawn in a future Autoconf release.
2257# They can cause serious problems if a builder's source tree is in a directory
2258# whose full name contains unusual characters.
2259ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2260ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2261ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2262
2263
2264
2265# The version of python used is determined by the executable pointed to by the
2266# --with-python switch, or if that's not set, by the PYTHON environment
2267# variable.  For instance if your system installs Python 3 as python3 to
2268# configure to compile pygobject under Python 3 you would do this:
2269#   $ ./configure --with-python=python3
2270# or
2271#   $ PYTHON=python3 ./configure
2272#
2273# You can also build against a full interpreter path, such as
2274#   $ ./configure --with-python=~/my-patched-python/python
2275
2276LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
2277LT_CURRENT=0
2278LT_REVISION=0
2279LT_AGE=0
2280LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2281
2282
2283
2284
2285
2286
2287am__api_version='1.16'
2288
2289# Find a good install program.  We prefer a C program (faster),
2290# so one script is as good as another.  But avoid the broken or
2291# incompatible versions:
2292# SysV /etc/install, /usr/sbin/install
2293# SunOS /usr/etc/install
2294# IRIX /sbin/install
2295# AIX /bin/install
2296# AmigaOS /C/install, which installs bootblocks on floppy discs
2297# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2298# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2299# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2300# OS/2's system install, which has a completely different semantic
2301# ./install, which can be erroneously created by make from ./install.sh.
2302# Reject install programs that cannot install multiple files.
2303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2304$as_echo_n "checking for a BSD-compatible install... " >&6; }
2305if test -z "$INSTALL"; then
2306if ${ac_cv_path_install+:} false; then :
2307  $as_echo_n "(cached) " >&6
2308else
2309  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH
2311do
2312  IFS=$as_save_IFS
2313  test -z "$as_dir" && as_dir=.
2314    # Account for people who put trailing slashes in PATH elements.
2315case $as_dir/ in #((
2316  ./ | .// | /[cC]/* | \
2317  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2318  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2319  /usr/ucb/* ) ;;
2320  *)
2321    # OSF1 and SCO ODT 3.0 have their own names for install.
2322    # Don't use installbsd from OSF since it installs stuff as root
2323    # by default.
2324    for ac_prog in ginstall scoinst install; do
2325      for ac_exec_ext in '' $ac_executable_extensions; do
2326	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2327	  if test $ac_prog = install &&
2328	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2329	    # AIX install.  It has an incompatible calling convention.
2330	    :
2331	  elif test $ac_prog = install &&
2332	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2333	    # program-specific install script used by HP pwplus--don't use.
2334	    :
2335	  else
2336	    rm -rf conftest.one conftest.two conftest.dir
2337	    echo one > conftest.one
2338	    echo two > conftest.two
2339	    mkdir conftest.dir
2340	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2341	      test -s conftest.one && test -s conftest.two &&
2342	      test -s conftest.dir/conftest.one &&
2343	      test -s conftest.dir/conftest.two
2344	    then
2345	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2346	      break 3
2347	    fi
2348	  fi
2349	fi
2350      done
2351    done
2352    ;;
2353esac
2354
2355  done
2356IFS=$as_save_IFS
2357
2358rm -rf conftest.one conftest.two conftest.dir
2359
2360fi
2361  if test "${ac_cv_path_install+set}" = set; then
2362    INSTALL=$ac_cv_path_install
2363  else
2364    # As a last resort, use the slow shell script.  Don't cache a
2365    # value for INSTALL within a source directory, because that will
2366    # break other packages using the cache if that directory is
2367    # removed, or if the value is a relative name.
2368    INSTALL=$ac_install_sh
2369  fi
2370fi
2371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2372$as_echo "$INSTALL" >&6; }
2373
2374# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2375# It thinks the first close brace ends the variable substitution.
2376test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2377
2378test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2379
2380test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2381
2382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2383$as_echo_n "checking whether build environment is sane... " >&6; }
2384# Reject unsafe characters in $srcdir or the absolute working directory
2385# name.  Accept space and tab only in the latter.
2386am_lf='
2387'
2388case `pwd` in
2389  *[\\\"\#\$\&\'\`$am_lf]*)
2390    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2391esac
2392case $srcdir in
2393  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2394    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2395esac
2396
2397# Do 'set' in a subshell so we don't clobber the current shell's
2398# arguments.  Must try -L first in case configure is actually a
2399# symlink; some systems play weird games with the mod time of symlinks
2400# (eg FreeBSD returns the mod time of the symlink's containing
2401# directory).
2402if (
2403   am_has_slept=no
2404   for am_try in 1 2; do
2405     echo "timestamp, slept: $am_has_slept" > conftest.file
2406     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2407     if test "$*" = "X"; then
2408	# -L didn't work.
2409	set X `ls -t "$srcdir/configure" conftest.file`
2410     fi
2411     if test "$*" != "X $srcdir/configure conftest.file" \
2412	&& test "$*" != "X conftest.file $srcdir/configure"; then
2413
2414	# If neither matched, then we have a broken ls.  This can happen
2415	# if, for instance, CONFIG_SHELL is bash and it inherits a
2416	# broken ls alias from the environment.  This has actually
2417	# happened.  Such a system could not be considered "sane".
2418	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2419  alias in your environment" "$LINENO" 5
2420     fi
2421     if test "$2" = conftest.file || test $am_try -eq 2; then
2422       break
2423     fi
2424     # Just in case.
2425     sleep 1
2426     am_has_slept=yes
2427   done
2428   test "$2" = conftest.file
2429   )
2430then
2431   # Ok.
2432   :
2433else
2434   as_fn_error $? "newly created file is older than distributed files!
2435Check your system clock" "$LINENO" 5
2436fi
2437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2438$as_echo "yes" >&6; }
2439# If we didn't sleep, we still need to ensure time stamps of config.status and
2440# generated files are strictly newer.
2441am_sleep_pid=
2442if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2443  ( sleep 1 ) &
2444  am_sleep_pid=$!
2445fi
2446
2447rm -f conftest.file
2448
2449test "$program_prefix" != NONE &&
2450  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2451# Use a double $ so make ignores it.
2452test "$program_suffix" != NONE &&
2453  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2454# Double any \ or $.
2455# By default was `s,x,x', remove it if useless.
2456ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2457program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2458
2459# Expand $ac_aux_dir to an absolute path.
2460am_aux_dir=`cd "$ac_aux_dir" && pwd`
2461
2462if test x"${MISSING+set}" != xset; then
2463  MISSING="\${SHELL} '$am_aux_dir/missing'"
2464fi
2465# Use eval to expand $SHELL
2466if eval "$MISSING --is-lightweight"; then
2467  am_missing_run="$MISSING "
2468else
2469  am_missing_run=
2470  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2471$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2472fi
2473
2474if test x"${install_sh+set}" != xset; then
2475  case $am_aux_dir in
2476  *\ * | *\	*)
2477    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2478  *)
2479    install_sh="\${SHELL} $am_aux_dir/install-sh"
2480  esac
2481fi
2482
2483# Installed binaries are usually stripped using 'strip' when the user
2484# run "make install-strip".  However 'strip' might not be the right
2485# tool to use in cross-compilation environments, therefore Automake
2486# will honor the 'STRIP' environment variable to overrule this program.
2487if test "$cross_compiling" != no; then
2488  if test -n "$ac_tool_prefix"; then
2489  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2490set dummy ${ac_tool_prefix}strip; ac_word=$2
2491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2492$as_echo_n "checking for $ac_word... " >&6; }
2493if ${ac_cv_prog_STRIP+:} false; then :
2494  $as_echo_n "(cached) " >&6
2495else
2496  if test -n "$STRIP"; then
2497  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2498else
2499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500for as_dir in $PATH
2501do
2502  IFS=$as_save_IFS
2503  test -z "$as_dir" && as_dir=.
2504    for ac_exec_ext in '' $ac_executable_extensions; do
2505  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2506    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508    break 2
2509  fi
2510done
2511  done
2512IFS=$as_save_IFS
2513
2514fi
2515fi
2516STRIP=$ac_cv_prog_STRIP
2517if test -n "$STRIP"; then
2518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2519$as_echo "$STRIP" >&6; }
2520else
2521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522$as_echo "no" >&6; }
2523fi
2524
2525
2526fi
2527if test -z "$ac_cv_prog_STRIP"; then
2528  ac_ct_STRIP=$STRIP
2529  # Extract the first word of "strip", so it can be a program name with args.
2530set dummy strip; ac_word=$2
2531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532$as_echo_n "checking for $ac_word... " >&6; }
2533if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2534  $as_echo_n "(cached) " >&6
2535else
2536  if test -n "$ac_ct_STRIP"; then
2537  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2538else
2539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540for as_dir in $PATH
2541do
2542  IFS=$as_save_IFS
2543  test -z "$as_dir" && as_dir=.
2544    for ac_exec_ext in '' $ac_executable_extensions; do
2545  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546    ac_cv_prog_ac_ct_STRIP="strip"
2547    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2548    break 2
2549  fi
2550done
2551  done
2552IFS=$as_save_IFS
2553
2554fi
2555fi
2556ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2557if test -n "$ac_ct_STRIP"; then
2558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2559$as_echo "$ac_ct_STRIP" >&6; }
2560else
2561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562$as_echo "no" >&6; }
2563fi
2564
2565  if test "x$ac_ct_STRIP" = x; then
2566    STRIP=":"
2567  else
2568    case $cross_compiling:$ac_tool_warned in
2569yes:)
2570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2572ac_tool_warned=yes ;;
2573esac
2574    STRIP=$ac_ct_STRIP
2575  fi
2576else
2577  STRIP="$ac_cv_prog_STRIP"
2578fi
2579
2580fi
2581INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2582
2583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2584$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2585if test -z "$MKDIR_P"; then
2586  if ${ac_cv_path_mkdir+:} false; then :
2587  $as_echo_n "(cached) " >&6
2588else
2589  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2591do
2592  IFS=$as_save_IFS
2593  test -z "$as_dir" && as_dir=.
2594    for ac_prog in mkdir gmkdir; do
2595	 for ac_exec_ext in '' $ac_executable_extensions; do
2596	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2597	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2598	     'mkdir (GNU coreutils) '* | \
2599	     'mkdir (coreutils) '* | \
2600	     'mkdir (fileutils) '4.1*)
2601	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2602	       break 3;;
2603	   esac
2604	 done
2605       done
2606  done
2607IFS=$as_save_IFS
2608
2609fi
2610
2611  test -d ./--version && rmdir ./--version
2612  if test "${ac_cv_path_mkdir+set}" = set; then
2613    MKDIR_P="$ac_cv_path_mkdir -p"
2614  else
2615    # As a last resort, use the slow shell script.  Don't cache a
2616    # value for MKDIR_P within a source directory, because that will
2617    # break other packages using the cache if that directory is
2618    # removed, or if the value is a relative name.
2619    MKDIR_P="$ac_install_sh -d"
2620  fi
2621fi
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2623$as_echo "$MKDIR_P" >&6; }
2624
2625for ac_prog in gawk mawk nawk awk
2626do
2627  # Extract the first word of "$ac_prog", so it can be a program name with args.
2628set dummy $ac_prog; ac_word=$2
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630$as_echo_n "checking for $ac_word... " >&6; }
2631if ${ac_cv_prog_AWK+:} false; then :
2632  $as_echo_n "(cached) " >&6
2633else
2634  if test -n "$AWK"; then
2635  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2636else
2637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638for as_dir in $PATH
2639do
2640  IFS=$as_save_IFS
2641  test -z "$as_dir" && as_dir=.
2642    for ac_exec_ext in '' $ac_executable_extensions; do
2643  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2644    ac_cv_prog_AWK="$ac_prog"
2645    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646    break 2
2647  fi
2648done
2649  done
2650IFS=$as_save_IFS
2651
2652fi
2653fi
2654AWK=$ac_cv_prog_AWK
2655if test -n "$AWK"; then
2656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2657$as_echo "$AWK" >&6; }
2658else
2659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660$as_echo "no" >&6; }
2661fi
2662
2663
2664  test -n "$AWK" && break
2665done
2666
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2668$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2669set x ${MAKE-make}
2670ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2671if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2672  $as_echo_n "(cached) " >&6
2673else
2674  cat >conftest.make <<\_ACEOF
2675SHELL = /bin/sh
2676all:
2677	@echo '@@@%%%=$(MAKE)=@@@%%%'
2678_ACEOF
2679# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2680case `${MAKE-make} -f conftest.make 2>/dev/null` in
2681  *@@@%%%=?*=@@@%%%*)
2682    eval ac_cv_prog_make_${ac_make}_set=yes;;
2683  *)
2684    eval ac_cv_prog_make_${ac_make}_set=no;;
2685esac
2686rm -f conftest.make
2687fi
2688if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2690$as_echo "yes" >&6; }
2691  SET_MAKE=
2692else
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694$as_echo "no" >&6; }
2695  SET_MAKE="MAKE=${MAKE-make}"
2696fi
2697
2698rm -rf .tst 2>/dev/null
2699mkdir .tst 2>/dev/null
2700if test -d .tst; then
2701  am__leading_dot=.
2702else
2703  am__leading_dot=_
2704fi
2705rmdir .tst 2>/dev/null
2706
2707# Check whether --enable-silent-rules was given.
2708if test "${enable_silent_rules+set}" = set; then :
2709  enableval=$enable_silent_rules;
2710fi
2711
2712case $enable_silent_rules in # (((
2713  yes) AM_DEFAULT_VERBOSITY=0;;
2714   no) AM_DEFAULT_VERBOSITY=1;;
2715    *) AM_DEFAULT_VERBOSITY=1;;
2716esac
2717am_make=${MAKE-make}
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2719$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2720if ${am_cv_make_support_nested_variables+:} false; then :
2721  $as_echo_n "(cached) " >&6
2722else
2723  if $as_echo 'TRUE=$(BAR$(V))
2724BAR0=false
2725BAR1=true
2726V=1
2727am__doit:
2728	@$(TRUE)
2729.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2730  am_cv_make_support_nested_variables=yes
2731else
2732  am_cv_make_support_nested_variables=no
2733fi
2734fi
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2736$as_echo "$am_cv_make_support_nested_variables" >&6; }
2737if test $am_cv_make_support_nested_variables = yes; then
2738    AM_V='$(V)'
2739  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2740else
2741  AM_V=$AM_DEFAULT_VERBOSITY
2742  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2743fi
2744AM_BACKSLASH='\'
2745
2746if test "`cd $srcdir && pwd`" != "`pwd`"; then
2747  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2748  # is not polluted with repeated "-I."
2749  am__isrc=' -I$(srcdir)'
2750  # test to see if srcdir already configured
2751  if test -f $srcdir/config.status; then
2752    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2753  fi
2754fi
2755
2756# test whether we have cygpath
2757if test -z "$CYGPATH_W"; then
2758  if (cygpath --version) >/dev/null 2>/dev/null; then
2759    CYGPATH_W='cygpath -w'
2760  else
2761    CYGPATH_W=echo
2762  fi
2763fi
2764
2765
2766# Define the identity of the package.
2767 PACKAGE='pyatspi'
2768 VERSION='2.38.1'
2769
2770
2771cat >>confdefs.h <<_ACEOF
2772#define PACKAGE "$PACKAGE"
2773_ACEOF
2774
2775
2776cat >>confdefs.h <<_ACEOF
2777#define VERSION "$VERSION"
2778_ACEOF
2779
2780# Some tools Automake needs.
2781
2782ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2783
2784
2785AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2786
2787
2788AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2789
2790
2791AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2792
2793
2794MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2795
2796# For better backward compatibility.  To be removed once Automake 1.9.x
2797# dies out for good.  For more background, see:
2798# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2799# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2800mkdir_p='$(MKDIR_P)'
2801
2802# We need awk for the "check" target (and possibly the TAP driver).  The
2803# system "awk" is bad on some platforms.
2804# Always define AMTAR for backward compatibility.  Yes, it's still used
2805# in the wild :-(  We should find a proper way to deprecate it ...
2806AMTAR='$${TAR-tar}'
2807
2808
2809# We'll loop over all known methods to create a tar archive until one works.
2810_am_tools='gnutar  pax cpio none'
2811
2812am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2813
2814
2815
2816
2817
2818
2819# POSIX will say in a future version that running "rm -f" with no argument
2820# is OK; and we want to be able to make that assumption in our Makefile
2821# recipes.  So use an aggressive probe to check that the usage we want is
2822# actually supported "in the wild" to an acceptable degree.
2823# See automake bug#10828.
2824# To make any issue more visible, cause the running configure to be aborted
2825# by default if the 'rm' program in use doesn't match our expectations; the
2826# user can still override this though.
2827if rm -f && rm -fr && rm -rf; then : OK; else
2828  cat >&2 <<'END'
2829Oops!
2830
2831Your 'rm' program seems unable to run without file operands specified
2832on the command line, even when the '-f' option is present.  This is contrary
2833to the behaviour of most rm programs out there, and not conforming with
2834the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2835
2836Please tell bug-automake@gnu.org about your system, including the value
2837of your $PATH and any error possibly output before this message.  This
2838can help us improve future automake versions.
2839
2840END
2841  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2842    echo 'Configuration will proceed anyway, since you have set the' >&2
2843    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2844    echo >&2
2845  else
2846    cat >&2 <<'END'
2847Aborting the configuration process, to ensure you take notice of the issue.
2848
2849You can download and install GNU coreutils to get an 'rm' implementation
2850that behaves properly: <https://www.gnu.org/software/coreutils/>.
2851
2852If you want to complete the configuration process using your problematic
2853'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2854to "yes", and re-run configure.
2855
2856END
2857    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2858  fi
2859fi
2860
2861
2862ac_ext=c
2863ac_cpp='$CPP $CPPFLAGS'
2864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2866ac_compiler_gnu=$ac_cv_c_compiler_gnu
2867if test -n "$ac_tool_prefix"; then
2868  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2869set dummy ${ac_tool_prefix}gcc; ac_word=$2
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871$as_echo_n "checking for $ac_word... " >&6; }
2872if ${ac_cv_prog_CC+:} false; then :
2873  $as_echo_n "(cached) " >&6
2874else
2875  if test -n "$CC"; then
2876  ac_cv_prog_CC="$CC" # Let the user override the test.
2877else
2878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879for as_dir in $PATH
2880do
2881  IFS=$as_save_IFS
2882  test -z "$as_dir" && as_dir=.
2883    for ac_exec_ext in '' $ac_executable_extensions; do
2884  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887    break 2
2888  fi
2889done
2890  done
2891IFS=$as_save_IFS
2892
2893fi
2894fi
2895CC=$ac_cv_prog_CC
2896if test -n "$CC"; then
2897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898$as_echo "$CC" >&6; }
2899else
2900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901$as_echo "no" >&6; }
2902fi
2903
2904
2905fi
2906if test -z "$ac_cv_prog_CC"; then
2907  ac_ct_CC=$CC
2908  # Extract the first word of "gcc", so it can be a program name with args.
2909set dummy gcc; ac_word=$2
2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911$as_echo_n "checking for $ac_word... " >&6; }
2912if ${ac_cv_prog_ac_ct_CC+:} false; then :
2913  $as_echo_n "(cached) " >&6
2914else
2915  if test -n "$ac_ct_CC"; then
2916  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2917else
2918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919for as_dir in $PATH
2920do
2921  IFS=$as_save_IFS
2922  test -z "$as_dir" && as_dir=.
2923    for ac_exec_ext in '' $ac_executable_extensions; do
2924  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925    ac_cv_prog_ac_ct_CC="gcc"
2926    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927    break 2
2928  fi
2929done
2930  done
2931IFS=$as_save_IFS
2932
2933fi
2934fi
2935ac_ct_CC=$ac_cv_prog_ac_ct_CC
2936if test -n "$ac_ct_CC"; then
2937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2938$as_echo "$ac_ct_CC" >&6; }
2939else
2940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941$as_echo "no" >&6; }
2942fi
2943
2944  if test "x$ac_ct_CC" = x; then
2945    CC=""
2946  else
2947    case $cross_compiling:$ac_tool_warned in
2948yes:)
2949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2951ac_tool_warned=yes ;;
2952esac
2953    CC=$ac_ct_CC
2954  fi
2955else
2956  CC="$ac_cv_prog_CC"
2957fi
2958
2959if test -z "$CC"; then
2960          if test -n "$ac_tool_prefix"; then
2961    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2962set dummy ${ac_tool_prefix}cc; ac_word=$2
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964$as_echo_n "checking for $ac_word... " >&6; }
2965if ${ac_cv_prog_CC+:} false; then :
2966  $as_echo_n "(cached) " >&6
2967else
2968  if test -n "$CC"; then
2969  ac_cv_prog_CC="$CC" # Let the user override the test.
2970else
2971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972for as_dir in $PATH
2973do
2974  IFS=$as_save_IFS
2975  test -z "$as_dir" && as_dir=.
2976    for ac_exec_ext in '' $ac_executable_extensions; do
2977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2978    ac_cv_prog_CC="${ac_tool_prefix}cc"
2979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980    break 2
2981  fi
2982done
2983  done
2984IFS=$as_save_IFS
2985
2986fi
2987fi
2988CC=$ac_cv_prog_CC
2989if test -n "$CC"; then
2990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2991$as_echo "$CC" >&6; }
2992else
2993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994$as_echo "no" >&6; }
2995fi
2996
2997
2998  fi
2999fi
3000if test -z "$CC"; then
3001  # Extract the first word of "cc", so it can be a program name with args.
3002set dummy cc; ac_word=$2
3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004$as_echo_n "checking for $ac_word... " >&6; }
3005if ${ac_cv_prog_CC+:} false; then :
3006  $as_echo_n "(cached) " >&6
3007else
3008  if test -n "$CC"; then
3009  ac_cv_prog_CC="$CC" # Let the user override the test.
3010else
3011  ac_prog_rejected=no
3012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013for as_dir in $PATH
3014do
3015  IFS=$as_save_IFS
3016  test -z "$as_dir" && as_dir=.
3017    for ac_exec_ext in '' $ac_executable_extensions; do
3018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3020       ac_prog_rejected=yes
3021       continue
3022     fi
3023    ac_cv_prog_CC="cc"
3024    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025    break 2
3026  fi
3027done
3028  done
3029IFS=$as_save_IFS
3030
3031if test $ac_prog_rejected = yes; then
3032  # We found a bogon in the path, so make sure we never use it.
3033  set dummy $ac_cv_prog_CC
3034  shift
3035  if test $# != 0; then
3036    # We chose a different compiler from the bogus one.
3037    # However, it has the same basename, so the bogon will be chosen
3038    # first if we set CC to just the basename; use the full file name.
3039    shift
3040    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3041  fi
3042fi
3043fi
3044fi
3045CC=$ac_cv_prog_CC
3046if test -n "$CC"; then
3047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3048$as_echo "$CC" >&6; }
3049else
3050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051$as_echo "no" >&6; }
3052fi
3053
3054
3055fi
3056if test -z "$CC"; then
3057  if test -n "$ac_tool_prefix"; then
3058  for ac_prog in cl.exe
3059  do
3060    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3061set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063$as_echo_n "checking for $ac_word... " >&6; }
3064if ${ac_cv_prog_CC+:} false; then :
3065  $as_echo_n "(cached) " >&6
3066else
3067  if test -n "$CC"; then
3068  ac_cv_prog_CC="$CC" # Let the user override the test.
3069else
3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071for as_dir in $PATH
3072do
3073  IFS=$as_save_IFS
3074  test -z "$as_dir" && as_dir=.
3075    for ac_exec_ext in '' $ac_executable_extensions; do
3076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3078    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079    break 2
3080  fi
3081done
3082  done
3083IFS=$as_save_IFS
3084
3085fi
3086fi
3087CC=$ac_cv_prog_CC
3088if test -n "$CC"; then
3089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090$as_echo "$CC" >&6; }
3091else
3092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093$as_echo "no" >&6; }
3094fi
3095
3096
3097    test -n "$CC" && break
3098  done
3099fi
3100if test -z "$CC"; then
3101  ac_ct_CC=$CC
3102  for ac_prog in cl.exe
3103do
3104  # Extract the first word of "$ac_prog", so it can be a program name with args.
3105set dummy $ac_prog; ac_word=$2
3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107$as_echo_n "checking for $ac_word... " >&6; }
3108if ${ac_cv_prog_ac_ct_CC+:} false; then :
3109  $as_echo_n "(cached) " >&6
3110else
3111  if test -n "$ac_ct_CC"; then
3112  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3113else
3114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115for as_dir in $PATH
3116do
3117  IFS=$as_save_IFS
3118  test -z "$as_dir" && as_dir=.
3119    for ac_exec_ext in '' $ac_executable_extensions; do
3120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121    ac_cv_prog_ac_ct_CC="$ac_prog"
3122    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123    break 2
3124  fi
3125done
3126  done
3127IFS=$as_save_IFS
3128
3129fi
3130fi
3131ac_ct_CC=$ac_cv_prog_ac_ct_CC
3132if test -n "$ac_ct_CC"; then
3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3134$as_echo "$ac_ct_CC" >&6; }
3135else
3136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137$as_echo "no" >&6; }
3138fi
3139
3140
3141  test -n "$ac_ct_CC" && break
3142done
3143
3144  if test "x$ac_ct_CC" = x; then
3145    CC=""
3146  else
3147    case $cross_compiling:$ac_tool_warned in
3148yes:)
3149{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3150$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3151ac_tool_warned=yes ;;
3152esac
3153    CC=$ac_ct_CC
3154  fi
3155fi
3156
3157fi
3158
3159
3160test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162as_fn_error $? "no acceptable C compiler found in \$PATH
3163See \`config.log' for more details" "$LINENO" 5; }
3164
3165# Provide some information about the compiler.
3166$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3167set X $ac_compile
3168ac_compiler=$2
3169for ac_option in --version -v -V -qversion; do
3170  { { ac_try="$ac_compiler $ac_option >&5"
3171case "(($ac_try" in
3172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173  *) ac_try_echo=$ac_try;;
3174esac
3175eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176$as_echo "$ac_try_echo"; } >&5
3177  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3178  ac_status=$?
3179  if test -s conftest.err; then
3180    sed '10a\
3181... rest of stderr output deleted ...
3182         10q' conftest.err >conftest.er1
3183    cat conftest.er1 >&5
3184  fi
3185  rm -f conftest.er1 conftest.err
3186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187  test $ac_status = 0; }
3188done
3189
3190cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191/* end confdefs.h.  */
3192
3193int
3194main ()
3195{
3196
3197  ;
3198  return 0;
3199}
3200_ACEOF
3201ac_clean_files_save=$ac_clean_files
3202ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3203# Try to create an executable without -o first, disregard a.out.
3204# It will help us diagnose broken compilers, and finding out an intuition
3205# of exeext.
3206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3207$as_echo_n "checking whether the C compiler works... " >&6; }
3208ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3209
3210# The possible output files:
3211ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3212
3213ac_rmfiles=
3214for ac_file in $ac_files
3215do
3216  case $ac_file in
3217    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3218    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3219  esac
3220done
3221rm -f $ac_rmfiles
3222
3223if { { ac_try="$ac_link_default"
3224case "(($ac_try" in
3225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226  *) ac_try_echo=$ac_try;;
3227esac
3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229$as_echo "$ac_try_echo"; } >&5
3230  (eval "$ac_link_default") 2>&5
3231  ac_status=$?
3232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233  test $ac_status = 0; }; then :
3234  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3235# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3236# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3237# so that the user can short-circuit this test for compilers unknown to
3238# Autoconf.
3239for ac_file in $ac_files ''
3240do
3241  test -f "$ac_file" || continue
3242  case $ac_file in
3243    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3244	;;
3245    [ab].out )
3246	# We found the default executable, but exeext='' is most
3247	# certainly right.
3248	break;;
3249    *.* )
3250	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3251	then :; else
3252	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3253	fi
3254	# We set ac_cv_exeext here because the later test for it is not
3255	# safe: cross compilers may not add the suffix if given an `-o'
3256	# argument, so we may need to know it at that point already.
3257	# Even if this section looks crufty: it has the advantage of
3258	# actually working.
3259	break;;
3260    * )
3261	break;;
3262  esac
3263done
3264test "$ac_cv_exeext" = no && ac_cv_exeext=
3265
3266else
3267  ac_file=''
3268fi
3269if test -z "$ac_file"; then :
3270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271$as_echo "no" >&6; }
3272$as_echo "$as_me: failed program was:" >&5
3273sed 's/^/| /' conftest.$ac_ext >&5
3274
3275{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3276$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277as_fn_error 77 "C compiler cannot create executables
3278See \`config.log' for more details" "$LINENO" 5; }
3279else
3280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281$as_echo "yes" >&6; }
3282fi
3283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3284$as_echo_n "checking for C compiler default output file name... " >&6; }
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3286$as_echo "$ac_file" >&6; }
3287ac_exeext=$ac_cv_exeext
3288
3289rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3290ac_clean_files=$ac_clean_files_save
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3292$as_echo_n "checking for suffix of executables... " >&6; }
3293if { { ac_try="$ac_link"
3294case "(($ac_try" in
3295  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296  *) ac_try_echo=$ac_try;;
3297esac
3298eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299$as_echo "$ac_try_echo"; } >&5
3300  (eval "$ac_link") 2>&5
3301  ac_status=$?
3302  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303  test $ac_status = 0; }; then :
3304  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3305# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3306# work properly (i.e., refer to `conftest.exe'), while it won't with
3307# `rm'.
3308for ac_file in conftest.exe conftest conftest.*; do
3309  test -f "$ac_file" || continue
3310  case $ac_file in
3311    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3312    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3313	  break;;
3314    * ) break;;
3315  esac
3316done
3317else
3318  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3319$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3320as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3321See \`config.log' for more details" "$LINENO" 5; }
3322fi
3323rm -f conftest conftest$ac_cv_exeext
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3325$as_echo "$ac_cv_exeext" >&6; }
3326
3327rm -f conftest.$ac_ext
3328EXEEXT=$ac_cv_exeext
3329ac_exeext=$EXEEXT
3330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331/* end confdefs.h.  */
3332#include <stdio.h>
3333int
3334main ()
3335{
3336FILE *f = fopen ("conftest.out", "w");
3337 return ferror (f) || fclose (f) != 0;
3338
3339  ;
3340  return 0;
3341}
3342_ACEOF
3343ac_clean_files="$ac_clean_files conftest.out"
3344# Check that the compiler produces executables we can run.  If not, either
3345# the compiler is broken, or we cross compile.
3346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3347$as_echo_n "checking whether we are cross compiling... " >&6; }
3348if test "$cross_compiling" != yes; then
3349  { { ac_try="$ac_link"
3350case "(($ac_try" in
3351  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352  *) ac_try_echo=$ac_try;;
3353esac
3354eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355$as_echo "$ac_try_echo"; } >&5
3356  (eval "$ac_link") 2>&5
3357  ac_status=$?
3358  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359  test $ac_status = 0; }
3360  if { ac_try='./conftest$ac_cv_exeext'
3361  { { case "(($ac_try" in
3362  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3363  *) ac_try_echo=$ac_try;;
3364esac
3365eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366$as_echo "$ac_try_echo"; } >&5
3367  (eval "$ac_try") 2>&5
3368  ac_status=$?
3369  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370  test $ac_status = 0; }; }; then
3371    cross_compiling=no
3372  else
3373    if test "$cross_compiling" = maybe; then
3374	cross_compiling=yes
3375    else
3376	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378as_fn_error $? "cannot run C compiled programs.
3379If you meant to cross compile, use \`--host'.
3380See \`config.log' for more details" "$LINENO" 5; }
3381    fi
3382  fi
3383fi
3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3385$as_echo "$cross_compiling" >&6; }
3386
3387rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3388ac_clean_files=$ac_clean_files_save
3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3390$as_echo_n "checking for suffix of object files... " >&6; }
3391if ${ac_cv_objext+:} false; then :
3392  $as_echo_n "(cached) " >&6
3393else
3394  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395/* end confdefs.h.  */
3396
3397int
3398main ()
3399{
3400
3401  ;
3402  return 0;
3403}
3404_ACEOF
3405rm -f conftest.o conftest.obj
3406if { { ac_try="$ac_compile"
3407case "(($ac_try" in
3408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409  *) ac_try_echo=$ac_try;;
3410esac
3411eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3412$as_echo "$ac_try_echo"; } >&5
3413  (eval "$ac_compile") 2>&5
3414  ac_status=$?
3415  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3416  test $ac_status = 0; }; then :
3417  for ac_file in conftest.o conftest.obj conftest.*; do
3418  test -f "$ac_file" || continue;
3419  case $ac_file in
3420    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3421    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3422       break;;
3423  esac
3424done
3425else
3426  $as_echo "$as_me: failed program was:" >&5
3427sed 's/^/| /' conftest.$ac_ext >&5
3428
3429{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431as_fn_error $? "cannot compute suffix of object files: cannot compile
3432See \`config.log' for more details" "$LINENO" 5; }
3433fi
3434rm -f conftest.$ac_cv_objext conftest.$ac_ext
3435fi
3436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3437$as_echo "$ac_cv_objext" >&6; }
3438OBJEXT=$ac_cv_objext
3439ac_objext=$OBJEXT
3440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3441$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3442if ${ac_cv_c_compiler_gnu+:} false; then :
3443  $as_echo_n "(cached) " >&6
3444else
3445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446/* end confdefs.h.  */
3447
3448int
3449main ()
3450{
3451#ifndef __GNUC__
3452       choke me
3453#endif
3454
3455  ;
3456  return 0;
3457}
3458_ACEOF
3459if ac_fn_c_try_compile "$LINENO"; then :
3460  ac_compiler_gnu=yes
3461else
3462  ac_compiler_gnu=no
3463fi
3464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465ac_cv_c_compiler_gnu=$ac_compiler_gnu
3466
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3469$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3470if test $ac_compiler_gnu = yes; then
3471  GCC=yes
3472else
3473  GCC=
3474fi
3475ac_test_CFLAGS=${CFLAGS+set}
3476ac_save_CFLAGS=$CFLAGS
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3478$as_echo_n "checking whether $CC accepts -g... " >&6; }
3479if ${ac_cv_prog_cc_g+:} false; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  ac_save_c_werror_flag=$ac_c_werror_flag
3483   ac_c_werror_flag=yes
3484   ac_cv_prog_cc_g=no
3485   CFLAGS="-g"
3486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487/* end confdefs.h.  */
3488
3489int
3490main ()
3491{
3492
3493  ;
3494  return 0;
3495}
3496_ACEOF
3497if ac_fn_c_try_compile "$LINENO"; then :
3498  ac_cv_prog_cc_g=yes
3499else
3500  CFLAGS=""
3501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502/* end confdefs.h.  */
3503
3504int
3505main ()
3506{
3507
3508  ;
3509  return 0;
3510}
3511_ACEOF
3512if ac_fn_c_try_compile "$LINENO"; then :
3513
3514else
3515  ac_c_werror_flag=$ac_save_c_werror_flag
3516	 CFLAGS="-g"
3517	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518/* end confdefs.h.  */
3519
3520int
3521main ()
3522{
3523
3524  ;
3525  return 0;
3526}
3527_ACEOF
3528if ac_fn_c_try_compile "$LINENO"; then :
3529  ac_cv_prog_cc_g=yes
3530fi
3531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532fi
3533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534fi
3535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536   ac_c_werror_flag=$ac_save_c_werror_flag
3537fi
3538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3539$as_echo "$ac_cv_prog_cc_g" >&6; }
3540if test "$ac_test_CFLAGS" = set; then
3541  CFLAGS=$ac_save_CFLAGS
3542elif test $ac_cv_prog_cc_g = yes; then
3543  if test "$GCC" = yes; then
3544    CFLAGS="-g -O2"
3545  else
3546    CFLAGS="-g"
3547  fi
3548else
3549  if test "$GCC" = yes; then
3550    CFLAGS="-O2"
3551  else
3552    CFLAGS=
3553  fi
3554fi
3555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3556$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3557if ${ac_cv_prog_cc_c89+:} false; then :
3558  $as_echo_n "(cached) " >&6
3559else
3560  ac_cv_prog_cc_c89=no
3561ac_save_CC=$CC
3562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563/* end confdefs.h.  */
3564#include <stdarg.h>
3565#include <stdio.h>
3566struct stat;
3567/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3568struct buf { int x; };
3569FILE * (*rcsopen) (struct buf *, struct stat *, int);
3570static char *e (p, i)
3571     char **p;
3572     int i;
3573{
3574  return p[i];
3575}
3576static char *f (char * (*g) (char **, int), char **p, ...)
3577{
3578  char *s;
3579  va_list v;
3580  va_start (v,p);
3581  s = g (p, va_arg (v,int));
3582  va_end (v);
3583  return s;
3584}
3585
3586/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3587   function prototypes and stuff, but not '\xHH' hex character constants.
3588   These don't provoke an error unfortunately, instead are silently treated
3589   as 'x'.  The following induces an error, until -std is added to get
3590   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3591   array size at least.  It's necessary to write '\x00'==0 to get something
3592   that's true only with -std.  */
3593int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3594
3595/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3596   inside strings and character constants.  */
3597#define FOO(x) 'x'
3598int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3599
3600int test (int i, double x);
3601struct s1 {int (*f) (int a);};
3602struct s2 {int (*f) (double a);};
3603int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3604int argc;
3605char **argv;
3606int
3607main ()
3608{
3609return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3610  ;
3611  return 0;
3612}
3613_ACEOF
3614for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3615	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3616do
3617  CC="$ac_save_CC $ac_arg"
3618  if ac_fn_c_try_compile "$LINENO"; then :
3619  ac_cv_prog_cc_c89=$ac_arg
3620fi
3621rm -f core conftest.err conftest.$ac_objext
3622  test "x$ac_cv_prog_cc_c89" != "xno" && break
3623done
3624rm -f conftest.$ac_ext
3625CC=$ac_save_CC
3626
3627fi
3628# AC_CACHE_VAL
3629case "x$ac_cv_prog_cc_c89" in
3630  x)
3631    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3632$as_echo "none needed" >&6; } ;;
3633  xno)
3634    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3635$as_echo "unsupported" >&6; } ;;
3636  *)
3637    CC="$CC $ac_cv_prog_cc_c89"
3638    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3639$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3640esac
3641if test "x$ac_cv_prog_cc_c89" != xno; then :
3642
3643fi
3644
3645ac_ext=c
3646ac_cpp='$CPP $CPPFLAGS'
3647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649ac_compiler_gnu=$ac_cv_c_compiler_gnu
3650
3651ac_ext=c
3652ac_cpp='$CPP $CPPFLAGS'
3653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3657$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3658if ${am_cv_prog_cc_c_o+:} false; then :
3659  $as_echo_n "(cached) " >&6
3660else
3661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662/* end confdefs.h.  */
3663
3664int
3665main ()
3666{
3667
3668  ;
3669  return 0;
3670}
3671_ACEOF
3672  # Make sure it works both with $CC and with simple cc.
3673  # Following AC_PROG_CC_C_O, we do the test twice because some
3674  # compilers refuse to overwrite an existing .o file with -o,
3675  # though they will create one.
3676  am_cv_prog_cc_c_o=yes
3677  for am_i in 1 2; do
3678    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3679   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3680   ac_status=$?
3681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682   (exit $ac_status); } \
3683         && test -f conftest2.$ac_objext; then
3684      : OK
3685    else
3686      am_cv_prog_cc_c_o=no
3687      break
3688    fi
3689  done
3690  rm -f core conftest*
3691  unset am_i
3692fi
3693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3694$as_echo "$am_cv_prog_cc_c_o" >&6; }
3695if test "$am_cv_prog_cc_c_o" != yes; then
3696   # Losing compiler, so override with the script.
3697   # FIXME: It is wrong to rewrite CC.
3698   # But if we don't then we get into trouble of one sort or another.
3699   # A longer-term fix would be to have automake use am__CC in this case,
3700   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3701   CC="$am_aux_dir/compile $CC"
3702fi
3703ac_ext=c
3704ac_cpp='$CPP $CPPFLAGS'
3705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709DEPDIR="${am__leading_dot}deps"
3710
3711ac_config_commands="$ac_config_commands depfiles"
3712
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3714$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3715cat > confinc.mk << 'END'
3716am__doit:
3717	@echo this is the am__doit target >confinc.out
3718.PHONY: am__doit
3719END
3720am__include="#"
3721am__quote=
3722# BSD make does it like this.
3723echo '.include "confinc.mk" # ignored' > confmf.BSD
3724# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3725echo 'include confinc.mk # ignored' > confmf.GNU
3726_am_result=no
3727for s in GNU BSD; do
3728  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3729   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3730   ac_status=$?
3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732   (exit $ac_status); }
3733  case $?:`cat confinc.out 2>/dev/null` in #(
3734  '0:this is the am__doit target') :
3735    case $s in #(
3736  BSD) :
3737    am__include='.include' am__quote='"' ;; #(
3738  *) :
3739    am__include='include' am__quote='' ;;
3740esac ;; #(
3741  *) :
3742     ;;
3743esac
3744  if test "$am__include" != "#"; then
3745    _am_result="yes ($s style)"
3746    break
3747  fi
3748done
3749rm -f confinc.* confmf.*
3750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3751$as_echo "${_am_result}" >&6; }
3752
3753# Check whether --enable-dependency-tracking was given.
3754if test "${enable_dependency_tracking+set}" = set; then :
3755  enableval=$enable_dependency_tracking;
3756fi
3757
3758if test "x$enable_dependency_tracking" != xno; then
3759  am_depcomp="$ac_aux_dir/depcomp"
3760  AMDEPBACKSLASH='\'
3761  am__nodep='_no'
3762fi
3763 if test "x$enable_dependency_tracking" != xno; then
3764  AMDEP_TRUE=
3765  AMDEP_FALSE='#'
3766else
3767  AMDEP_TRUE='#'
3768  AMDEP_FALSE=
3769fi
3770
3771
3772
3773depcc="$CC"   am_compiler_list=
3774
3775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3776$as_echo_n "checking dependency style of $depcc... " >&6; }
3777if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3778  $as_echo_n "(cached) " >&6
3779else
3780  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3781  # We make a subdir and do the tests there.  Otherwise we can end up
3782  # making bogus files that we don't know about and never remove.  For
3783  # instance it was reported that on HP-UX the gcc test will end up
3784  # making a dummy file named 'D' -- because '-MD' means "put the output
3785  # in D".
3786  rm -rf conftest.dir
3787  mkdir conftest.dir
3788  # Copy depcomp to subdir because otherwise we won't find it if we're
3789  # using a relative directory.
3790  cp "$am_depcomp" conftest.dir
3791  cd conftest.dir
3792  # We will build objects and dependencies in a subdirectory because
3793  # it helps to detect inapplicable dependency modes.  For instance
3794  # both Tru64's cc and ICC support -MD to output dependencies as a
3795  # side effect of compilation, but ICC will put the dependencies in
3796  # the current directory while Tru64 will put them in the object
3797  # directory.
3798  mkdir sub
3799
3800  am_cv_CC_dependencies_compiler_type=none
3801  if test "$am_compiler_list" = ""; then
3802     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3803  fi
3804  am__universal=false
3805  case " $depcc " in #(
3806     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3807     esac
3808
3809  for depmode in $am_compiler_list; do
3810    # Setup a source with many dependencies, because some compilers
3811    # like to wrap large dependency lists on column 80 (with \), and
3812    # we should not choose a depcomp mode which is confused by this.
3813    #
3814    # We need to recreate these files for each test, as the compiler may
3815    # overwrite some of them when testing with obscure command lines.
3816    # This happens at least with the AIX C compiler.
3817    : > sub/conftest.c
3818    for i in 1 2 3 4 5 6; do
3819      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3820      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3821      # Solaris 10 /bin/sh.
3822      echo '/* dummy */' > sub/conftst$i.h
3823    done
3824    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3825
3826    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3827    # mode.  It turns out that the SunPro C++ compiler does not properly
3828    # handle '-M -o', and we need to detect this.  Also, some Intel
3829    # versions had trouble with output in subdirs.
3830    am__obj=sub/conftest.${OBJEXT-o}
3831    am__minus_obj="-o $am__obj"
3832    case $depmode in
3833    gcc)
3834      # This depmode causes a compiler race in universal mode.
3835      test "$am__universal" = false || continue
3836      ;;
3837    nosideeffect)
3838      # After this tag, mechanisms are not by side-effect, so they'll
3839      # only be used when explicitly requested.
3840      if test "x$enable_dependency_tracking" = xyes; then
3841	continue
3842      else
3843	break
3844      fi
3845      ;;
3846    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3847      # This compiler won't grok '-c -o', but also, the minuso test has
3848      # not run yet.  These depmodes are late enough in the game, and
3849      # so weak that their functioning should not be impacted.
3850      am__obj=conftest.${OBJEXT-o}
3851      am__minus_obj=
3852      ;;
3853    none) break ;;
3854    esac
3855    if depmode=$depmode \
3856       source=sub/conftest.c object=$am__obj \
3857       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3858       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3859         >/dev/null 2>conftest.err &&
3860       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3861       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3862       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3863       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3864      # icc doesn't choke on unknown options, it will just issue warnings
3865      # or remarks (even with -Werror).  So we grep stderr for any message
3866      # that says an option was ignored or not supported.
3867      # When given -MP, icc 7.0 and 7.1 complain thusly:
3868      #   icc: Command line warning: ignoring option '-M'; no argument required
3869      # The diagnosis changed in icc 8.0:
3870      #   icc: Command line remark: option '-MP' not supported
3871      if (grep 'ignoring option' conftest.err ||
3872          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3873        am_cv_CC_dependencies_compiler_type=$depmode
3874        break
3875      fi
3876    fi
3877  done
3878
3879  cd ..
3880  rm -rf conftest.dir
3881else
3882  am_cv_CC_dependencies_compiler_type=none
3883fi
3884
3885fi
3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3887$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3888CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3889
3890 if
3891  test "x$enable_dependency_tracking" != xno \
3892  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3893  am__fastdepCC_TRUE=
3894  am__fastdepCC_FALSE='#'
3895else
3896  am__fastdepCC_TRUE='#'
3897  am__fastdepCC_FALSE=
3898fi
3899
3900
3901
3902# option to specify python interpreter to use; this just sets $PYTHON, so that
3903# we will fallback to reading $PYTHON if --with-python is not given, and
3904# python.m4 will get the expected input
3905
3906# Check whether --with-python was given.
3907if test "${with_python+set}" = set; then :
3908  withval=$with_python; PYTHON="$withval"
3909fi
3910
3911if test x"$PYTHON" = xyes; then
3912	as_fn_error $? "--with-python option requires a path or program argument" "$LINENO" 5
3913fi
3914if test -n "$PYTHON" && ! which "$PYTHON"; then
3915	as_fn_error $? "Python interpreter $PYTHON does not exist" "$LINENO" 5
3916fi
3917
3918
3919
3920
3921
3922
3923
3924        if test -n "$PYTHON"; then
3925      # If the user set $PYTHON, use it and don't search something else.
3926      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
3927$as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
3928      prog="import sys
3929# split strings by '.' and convert to numeric.  Append some zeros
3930# because we need at least 4 digits for the hex conversion.
3931# map returns an iterator in Python 3.0 and a list in 2.x
3932minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
3933minverhex = 0
3934# xrange is not present in Python 3.0 and range returns an iterator
3935for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3936sys.exit(sys.hexversion < minverhex)"
3937  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3938   ($PYTHON -c "$prog") >&5 2>&5
3939   ac_status=$?
3940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941   (exit $ac_status); }; then :
3942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3943$as_echo "yes" >&6; }
3944else
3945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946$as_echo "no" >&6; }
3947			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
3948fi
3949      am_display_PYTHON=$PYTHON
3950    else
3951      # Otherwise, try each interpreter until we find one that satisfies
3952      # VERSION.
3953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
3954$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
3955if ${am_cv_pathless_PYTHON+:} false; then :
3956  $as_echo_n "(cached) " >&6
3957else
3958
3959	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
3960	  test "$am_cv_pathless_PYTHON" = none && break
3961	  prog="import sys
3962# split strings by '.' and convert to numeric.  Append some zeros
3963# because we need at least 4 digits for the hex conversion.
3964# map returns an iterator in Python 3.0 and a list in 2.x
3965minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
3966minverhex = 0
3967# xrange is not present in Python 3.0 and range returns an iterator
3968for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3969sys.exit(sys.hexversion < minverhex)"
3970  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3971   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3972   ac_status=$?
3973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974   (exit $ac_status); }; then :
3975  break
3976fi
3977	done
3978fi
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
3980$as_echo "$am_cv_pathless_PYTHON" >&6; }
3981      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3982      if test "$am_cv_pathless_PYTHON" = none; then
3983	PYTHON=:
3984      else
3985        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3986set dummy $am_cv_pathless_PYTHON; ac_word=$2
3987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988$as_echo_n "checking for $ac_word... " >&6; }
3989if ${ac_cv_path_PYTHON+:} false; then :
3990  $as_echo_n "(cached) " >&6
3991else
3992  case $PYTHON in
3993  [\\/]* | ?:[\\/]*)
3994  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3995  ;;
3996  *)
3997  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998for as_dir in $PATH
3999do
4000  IFS=$as_save_IFS
4001  test -z "$as_dir" && as_dir=.
4002    for ac_exec_ext in '' $ac_executable_extensions; do
4003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
4005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006    break 2
4007  fi
4008done
4009  done
4010IFS=$as_save_IFS
4011
4012  ;;
4013esac
4014fi
4015PYTHON=$ac_cv_path_PYTHON
4016if test -n "$PYTHON"; then
4017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4018$as_echo "$PYTHON" >&6; }
4019else
4020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021$as_echo "no" >&6; }
4022fi
4023
4024
4025      fi
4026      am_display_PYTHON=$am_cv_pathless_PYTHON
4027    fi
4028
4029
4030  if test "$PYTHON" = :; then
4031      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
4032  else
4033
4034
4035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
4036$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
4037if ${am_cv_python_version+:} false; then :
4038  $as_echo_n "(cached) " >&6
4039else
4040  am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[:2])"`
4041fi
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
4043$as_echo "$am_cv_python_version" >&6; }
4044  PYTHON_VERSION=$am_cv_python_version
4045
4046
4047
4048  PYTHON_PREFIX='${prefix}'
4049
4050  PYTHON_EXEC_PREFIX='${exec_prefix}'
4051
4052
4053
4054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
4055$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
4056if ${am_cv_python_platform+:} false; then :
4057  $as_echo_n "(cached) " >&6
4058else
4059  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4060fi
4061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
4062$as_echo "$am_cv_python_platform" >&6; }
4063  PYTHON_PLATFORM=$am_cv_python_platform
4064
4065
4066  # Just factor out some code duplication.
4067  am_python_setup_sysconfig="\
4068import sys
4069# Prefer sysconfig over distutils.sysconfig, for better compatibility
4070# with python 3.x.  See automake bug#10227.
4071try:
4072    import sysconfig
4073except ImportError:
4074    can_use_sysconfig = 0
4075else:
4076    can_use_sysconfig = 1
4077# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
4078# <https://github.com/pypa/virtualenv/issues/118>
4079try:
4080    from platform import python_implementation
4081    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
4082        can_use_sysconfig = 0
4083except ImportError:
4084    pass"
4085
4086
4087            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
4088$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
4089if ${am_cv_python_pythondir+:} false; then :
4090  $as_echo_n "(cached) " >&6
4091else
4092  if test "x$prefix" = xNONE
4093     then
4094       am_py_prefix=$ac_default_prefix
4095     else
4096       am_py_prefix=$prefix
4097     fi
4098     am_cv_python_pythondir=`$PYTHON -c "
4099$am_python_setup_sysconfig
4100if can_use_sysconfig:
4101    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
4102else:
4103    from distutils import sysconfig
4104    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
4105sys.stdout.write(sitedir)"`
4106     case $am_cv_python_pythondir in
4107     $am_py_prefix*)
4108       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
4109       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
4110       ;;
4111     *)
4112       case $am_py_prefix in
4113         /usr|/System*) ;;
4114         *)
4115	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
4116	  ;;
4117       esac
4118       ;;
4119     esac
4120
4121fi
4122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
4123$as_echo "$am_cv_python_pythondir" >&6; }
4124  pythondir=$am_cv_python_pythondir
4125
4126
4127
4128  pkgpythondir=\${pythondir}/$PACKAGE
4129
4130
4131        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
4132$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
4133if ${am_cv_python_pyexecdir+:} false; then :
4134  $as_echo_n "(cached) " >&6
4135else
4136  if test "x$exec_prefix" = xNONE
4137     then
4138       am_py_exec_prefix=$am_py_prefix
4139     else
4140       am_py_exec_prefix=$exec_prefix
4141     fi
4142     am_cv_python_pyexecdir=`$PYTHON -c "
4143$am_python_setup_sysconfig
4144if can_use_sysconfig:
4145    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
4146else:
4147    from distutils import sysconfig
4148    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
4149sys.stdout.write(sitedir)"`
4150     case $am_cv_python_pyexecdir in
4151     $am_py_exec_prefix*)
4152       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
4153       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
4154       ;;
4155     *)
4156       case $am_py_exec_prefix in
4157         /usr|/System*) ;;
4158         *)
4159	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
4160	   ;;
4161       esac
4162       ;;
4163     esac
4164
4165fi
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
4167$as_echo "$am_cv_python_pyexecdir" >&6; }
4168  pyexecdir=$am_cv_python_pyexecdir
4169
4170
4171
4172  pkgpyexecdir=\${pyexecdir}/$PACKAGE
4173
4174
4175
4176  fi
4177
4178
4179# Check whether --enable-static was given.
4180if test "${enable_static+set}" = set; then :
4181  enableval=$enable_static; p=${PACKAGE-default}
4182    case $enableval in
4183    yes) enable_static=yes ;;
4184    no) enable_static=no ;;
4185    *)
4186     enable_static=no
4187      # Look at the argument we got.  We use all the common list separators.
4188      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4189      for pkg in $enableval; do
4190	IFS=$lt_save_ifs
4191	if test "X$pkg" = "X$p"; then
4192	  enable_static=yes
4193	fi
4194      done
4195      IFS=$lt_save_ifs
4196      ;;
4197    esac
4198else
4199  enable_static=no
4200fi
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210case `pwd` in
4211  *\ * | *\	*)
4212    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4213$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4214esac
4215
4216
4217
4218macro_version='2.4.6'
4219macro_revision='2.4.6'
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233ltmain=$ac_aux_dir/ltmain.sh
4234
4235# Make sure we can run config.sub.
4236$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4237  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4238
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4240$as_echo_n "checking build system type... " >&6; }
4241if ${ac_cv_build+:} false; then :
4242  $as_echo_n "(cached) " >&6
4243else
4244  ac_build_alias=$build_alias
4245test "x$ac_build_alias" = x &&
4246  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4247test "x$ac_build_alias" = x &&
4248  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4249ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4250  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4251
4252fi
4253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4254$as_echo "$ac_cv_build" >&6; }
4255case $ac_cv_build in
4256*-*-*) ;;
4257*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4258esac
4259build=$ac_cv_build
4260ac_save_IFS=$IFS; IFS='-'
4261set x $ac_cv_build
4262shift
4263build_cpu=$1
4264build_vendor=$2
4265shift; shift
4266# Remember, the first character of IFS is used to create $*,
4267# except with old shells:
4268build_os=$*
4269IFS=$ac_save_IFS
4270case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4271
4272
4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4274$as_echo_n "checking host system type... " >&6; }
4275if ${ac_cv_host+:} false; then :
4276  $as_echo_n "(cached) " >&6
4277else
4278  if test "x$host_alias" = x; then
4279  ac_cv_host=$ac_cv_build
4280else
4281  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4282    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4283fi
4284
4285fi
4286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4287$as_echo "$ac_cv_host" >&6; }
4288case $ac_cv_host in
4289*-*-*) ;;
4290*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4291esac
4292host=$ac_cv_host
4293ac_save_IFS=$IFS; IFS='-'
4294set x $ac_cv_host
4295shift
4296host_cpu=$1
4297host_vendor=$2
4298shift; shift
4299# Remember, the first character of IFS is used to create $*,
4300# except with old shells:
4301host_os=$*
4302IFS=$ac_save_IFS
4303case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4304
4305
4306# Backslashify metacharacters that are still active within
4307# double-quoted strings.
4308sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4309
4310# Same as above, but do not quote variable references.
4311double_quote_subst='s/\(["`\\]\)/\\\1/g'
4312
4313# Sed substitution to delay expansion of an escaped shell variable in a
4314# double_quote_subst'ed string.
4315delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4316
4317# Sed substitution to delay expansion of an escaped single quote.
4318delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4319
4320# Sed substitution to avoid accidental globbing in evaled expressions
4321no_glob_subst='s/\*/\\\*/g'
4322
4323ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4324ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4325ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4326
4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4328$as_echo_n "checking how to print strings... " >&6; }
4329# Test print first, because it will be a builtin if present.
4330if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4331   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4332  ECHO='print -r --'
4333elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4334  ECHO='printf %s\n'
4335else
4336  # Use this function as a fallback that always works.
4337  func_fallback_echo ()
4338  {
4339    eval 'cat <<_LTECHO_EOF
4340$1
4341_LTECHO_EOF'
4342  }
4343  ECHO='func_fallback_echo'
4344fi
4345
4346# func_echo_all arg...
4347# Invoke $ECHO with all args, space-separated.
4348func_echo_all ()
4349{
4350    $ECHO ""
4351}
4352
4353case $ECHO in
4354  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4355$as_echo "printf" >&6; } ;;
4356  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4357$as_echo "print -r" >&6; } ;;
4358  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4359$as_echo "cat" >&6; } ;;
4360esac
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4376$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4377if ${ac_cv_path_SED+:} false; then :
4378  $as_echo_n "(cached) " >&6
4379else
4380            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4381     for ac_i in 1 2 3 4 5 6 7; do
4382       ac_script="$ac_script$as_nl$ac_script"
4383     done
4384     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4385     { ac_script=; unset ac_script;}
4386     if test -z "$SED"; then
4387  ac_path_SED_found=false
4388  # Loop through the user's path and test for each of PROGNAME-LIST
4389  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390for as_dir in $PATH
4391do
4392  IFS=$as_save_IFS
4393  test -z "$as_dir" && as_dir=.
4394    for ac_prog in sed gsed; do
4395    for ac_exec_ext in '' $ac_executable_extensions; do
4396      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4397      as_fn_executable_p "$ac_path_SED" || continue
4398# Check for GNU ac_path_SED and select it if it is found.
4399  # Check for GNU $ac_path_SED
4400case `"$ac_path_SED" --version 2>&1` in
4401*GNU*)
4402  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4403*)
4404  ac_count=0
4405  $as_echo_n 0123456789 >"conftest.in"
4406  while :
4407  do
4408    cat "conftest.in" "conftest.in" >"conftest.tmp"
4409    mv "conftest.tmp" "conftest.in"
4410    cp "conftest.in" "conftest.nl"
4411    $as_echo '' >> "conftest.nl"
4412    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4413    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4414    as_fn_arith $ac_count + 1 && ac_count=$as_val
4415    if test $ac_count -gt ${ac_path_SED_max-0}; then
4416      # Best one so far, save it but keep looking for a better one
4417      ac_cv_path_SED="$ac_path_SED"
4418      ac_path_SED_max=$ac_count
4419    fi
4420    # 10*(2^10) chars as input seems more than enough
4421    test $ac_count -gt 10 && break
4422  done
4423  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424esac
4425
4426      $ac_path_SED_found && break 3
4427    done
4428  done
4429  done
4430IFS=$as_save_IFS
4431  if test -z "$ac_cv_path_SED"; then
4432    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4433  fi
4434else
4435  ac_cv_path_SED=$SED
4436fi
4437
4438fi
4439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4440$as_echo "$ac_cv_path_SED" >&6; }
4441 SED="$ac_cv_path_SED"
4442  rm -f conftest.sed
4443
4444test -z "$SED" && SED=sed
4445Xsed="$SED -e 1s/^X//"
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4458$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4459if ${ac_cv_path_GREP+:} false; then :
4460  $as_echo_n "(cached) " >&6
4461else
4462  if test -z "$GREP"; then
4463  ac_path_GREP_found=false
4464  # Loop through the user's path and test for each of PROGNAME-LIST
4465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4467do
4468  IFS=$as_save_IFS
4469  test -z "$as_dir" && as_dir=.
4470    for ac_prog in grep ggrep; do
4471    for ac_exec_ext in '' $ac_executable_extensions; do
4472      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4473      as_fn_executable_p "$ac_path_GREP" || continue
4474# Check for GNU ac_path_GREP and select it if it is found.
4475  # Check for GNU $ac_path_GREP
4476case `"$ac_path_GREP" --version 2>&1` in
4477*GNU*)
4478  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4479*)
4480  ac_count=0
4481  $as_echo_n 0123456789 >"conftest.in"
4482  while :
4483  do
4484    cat "conftest.in" "conftest.in" >"conftest.tmp"
4485    mv "conftest.tmp" "conftest.in"
4486    cp "conftest.in" "conftest.nl"
4487    $as_echo 'GREP' >> "conftest.nl"
4488    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4489    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4490    as_fn_arith $ac_count + 1 && ac_count=$as_val
4491    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4492      # Best one so far, save it but keep looking for a better one
4493      ac_cv_path_GREP="$ac_path_GREP"
4494      ac_path_GREP_max=$ac_count
4495    fi
4496    # 10*(2^10) chars as input seems more than enough
4497    test $ac_count -gt 10 && break
4498  done
4499  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4500esac
4501
4502      $ac_path_GREP_found && break 3
4503    done
4504  done
4505  done
4506IFS=$as_save_IFS
4507  if test -z "$ac_cv_path_GREP"; then
4508    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509  fi
4510else
4511  ac_cv_path_GREP=$GREP
4512fi
4513
4514fi
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4516$as_echo "$ac_cv_path_GREP" >&6; }
4517 GREP="$ac_cv_path_GREP"
4518
4519
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4521$as_echo_n "checking for egrep... " >&6; }
4522if ${ac_cv_path_EGREP+:} false; then :
4523  $as_echo_n "(cached) " >&6
4524else
4525  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4526   then ac_cv_path_EGREP="$GREP -E"
4527   else
4528     if test -z "$EGREP"; then
4529  ac_path_EGREP_found=false
4530  # Loop through the user's path and test for each of PROGNAME-LIST
4531  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4533do
4534  IFS=$as_save_IFS
4535  test -z "$as_dir" && as_dir=.
4536    for ac_prog in egrep; do
4537    for ac_exec_ext in '' $ac_executable_extensions; do
4538      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4539      as_fn_executable_p "$ac_path_EGREP" || continue
4540# Check for GNU ac_path_EGREP and select it if it is found.
4541  # Check for GNU $ac_path_EGREP
4542case `"$ac_path_EGREP" --version 2>&1` in
4543*GNU*)
4544  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4545*)
4546  ac_count=0
4547  $as_echo_n 0123456789 >"conftest.in"
4548  while :
4549  do
4550    cat "conftest.in" "conftest.in" >"conftest.tmp"
4551    mv "conftest.tmp" "conftest.in"
4552    cp "conftest.in" "conftest.nl"
4553    $as_echo 'EGREP' >> "conftest.nl"
4554    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556    as_fn_arith $ac_count + 1 && ac_count=$as_val
4557    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4558      # Best one so far, save it but keep looking for a better one
4559      ac_cv_path_EGREP="$ac_path_EGREP"
4560      ac_path_EGREP_max=$ac_count
4561    fi
4562    # 10*(2^10) chars as input seems more than enough
4563    test $ac_count -gt 10 && break
4564  done
4565  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4566esac
4567
4568      $ac_path_EGREP_found && break 3
4569    done
4570  done
4571  done
4572IFS=$as_save_IFS
4573  if test -z "$ac_cv_path_EGREP"; then
4574    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4575  fi
4576else
4577  ac_cv_path_EGREP=$EGREP
4578fi
4579
4580   fi
4581fi
4582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4583$as_echo "$ac_cv_path_EGREP" >&6; }
4584 EGREP="$ac_cv_path_EGREP"
4585
4586
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4588$as_echo_n "checking for fgrep... " >&6; }
4589if ${ac_cv_path_FGREP+:} false; then :
4590  $as_echo_n "(cached) " >&6
4591else
4592  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4593   then ac_cv_path_FGREP="$GREP -F"
4594   else
4595     if test -z "$FGREP"; then
4596  ac_path_FGREP_found=false
4597  # Loop through the user's path and test for each of PROGNAME-LIST
4598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4600do
4601  IFS=$as_save_IFS
4602  test -z "$as_dir" && as_dir=.
4603    for ac_prog in fgrep; do
4604    for ac_exec_ext in '' $ac_executable_extensions; do
4605      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4606      as_fn_executable_p "$ac_path_FGREP" || continue
4607# Check for GNU ac_path_FGREP and select it if it is found.
4608  # Check for GNU $ac_path_FGREP
4609case `"$ac_path_FGREP" --version 2>&1` in
4610*GNU*)
4611  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4612*)
4613  ac_count=0
4614  $as_echo_n 0123456789 >"conftest.in"
4615  while :
4616  do
4617    cat "conftest.in" "conftest.in" >"conftest.tmp"
4618    mv "conftest.tmp" "conftest.in"
4619    cp "conftest.in" "conftest.nl"
4620    $as_echo 'FGREP' >> "conftest.nl"
4621    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4622    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4623    as_fn_arith $ac_count + 1 && ac_count=$as_val
4624    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4625      # Best one so far, save it but keep looking for a better one
4626      ac_cv_path_FGREP="$ac_path_FGREP"
4627      ac_path_FGREP_max=$ac_count
4628    fi
4629    # 10*(2^10) chars as input seems more than enough
4630    test $ac_count -gt 10 && break
4631  done
4632  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4633esac
4634
4635      $ac_path_FGREP_found && break 3
4636    done
4637  done
4638  done
4639IFS=$as_save_IFS
4640  if test -z "$ac_cv_path_FGREP"; then
4641    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642  fi
4643else
4644  ac_cv_path_FGREP=$FGREP
4645fi
4646
4647   fi
4648fi
4649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4650$as_echo "$ac_cv_path_FGREP" >&6; }
4651 FGREP="$ac_cv_path_FGREP"
4652
4653
4654test -z "$GREP" && GREP=grep
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674# Check whether --with-gnu-ld was given.
4675if test "${with_gnu_ld+set}" = set; then :
4676  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4677else
4678  with_gnu_ld=no
4679fi
4680
4681ac_prog=ld
4682if test yes = "$GCC"; then
4683  # Check if gcc -print-prog-name=ld gives a path.
4684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4685$as_echo_n "checking for ld used by $CC... " >&6; }
4686  case $host in
4687  *-*-mingw*)
4688    # gcc leaves a trailing carriage return, which upsets mingw
4689    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4690  *)
4691    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4692  esac
4693  case $ac_prog in
4694    # Accept absolute paths.
4695    [\\/]* | ?:[\\/]*)
4696      re_direlt='/[^/][^/]*/\.\./'
4697      # Canonicalize the pathname of ld
4698      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4699      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4700	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4701      done
4702      test -z "$LD" && LD=$ac_prog
4703      ;;
4704  "")
4705    # If it fails, then pretend we aren't using GCC.
4706    ac_prog=ld
4707    ;;
4708  *)
4709    # If it is relative, then search for the first ld in PATH.
4710    with_gnu_ld=unknown
4711    ;;
4712  esac
4713elif test yes = "$with_gnu_ld"; then
4714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4715$as_echo_n "checking for GNU ld... " >&6; }
4716else
4717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4718$as_echo_n "checking for non-GNU ld... " >&6; }
4719fi
4720if ${lt_cv_path_LD+:} false; then :
4721  $as_echo_n "(cached) " >&6
4722else
4723  if test -z "$LD"; then
4724  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4725  for ac_dir in $PATH; do
4726    IFS=$lt_save_ifs
4727    test -z "$ac_dir" && ac_dir=.
4728    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4729      lt_cv_path_LD=$ac_dir/$ac_prog
4730      # Check to see if the program is GNU ld.  I'd rather use --version,
4731      # but apparently some variants of GNU ld only accept -v.
4732      # Break only if it was the GNU/non-GNU ld that we prefer.
4733      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4734      *GNU* | *'with BFD'*)
4735	test no != "$with_gnu_ld" && break
4736	;;
4737      *)
4738	test yes != "$with_gnu_ld" && break
4739	;;
4740      esac
4741    fi
4742  done
4743  IFS=$lt_save_ifs
4744else
4745  lt_cv_path_LD=$LD # Let the user override the test with a path.
4746fi
4747fi
4748
4749LD=$lt_cv_path_LD
4750if test -n "$LD"; then
4751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4752$as_echo "$LD" >&6; }
4753else
4754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755$as_echo "no" >&6; }
4756fi
4757test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4759$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4760if ${lt_cv_prog_gnu_ld+:} false; then :
4761  $as_echo_n "(cached) " >&6
4762else
4763  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4764case `$LD -v 2>&1 </dev/null` in
4765*GNU* | *'with BFD'*)
4766  lt_cv_prog_gnu_ld=yes
4767  ;;
4768*)
4769  lt_cv_prog_gnu_ld=no
4770  ;;
4771esac
4772fi
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4774$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4775with_gnu_ld=$lt_cv_prog_gnu_ld
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4786$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4787if ${lt_cv_path_NM+:} false; then :
4788  $as_echo_n "(cached) " >&6
4789else
4790  if test -n "$NM"; then
4791  # Let the user override the test.
4792  lt_cv_path_NM=$NM
4793else
4794  lt_nm_to_check=${ac_tool_prefix}nm
4795  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4796    lt_nm_to_check="$lt_nm_to_check nm"
4797  fi
4798  for lt_tmp_nm in $lt_nm_to_check; do
4799    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4800    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4801      IFS=$lt_save_ifs
4802      test -z "$ac_dir" && ac_dir=.
4803      tmp_nm=$ac_dir/$lt_tmp_nm
4804      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4805	# Check to see if the nm accepts a BSD-compat flag.
4806	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4807	#   nm: unknown option "B" ignored
4808	# Tru64's nm complains that /dev/null is an invalid object file
4809	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4810	case $build_os in
4811	mingw*) lt_bad_file=conftest.nm/nofile ;;
4812	*) lt_bad_file=/dev/null ;;
4813	esac
4814	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4815	*$lt_bad_file* | *'Invalid file or object type'*)
4816	  lt_cv_path_NM="$tmp_nm -B"
4817	  break 2
4818	  ;;
4819	*)
4820	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4821	  */dev/null*)
4822	    lt_cv_path_NM="$tmp_nm -p"
4823	    break 2
4824	    ;;
4825	  *)
4826	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4827	    continue # so that we can try to find one that supports BSD flags
4828	    ;;
4829	  esac
4830	  ;;
4831	esac
4832      fi
4833    done
4834    IFS=$lt_save_ifs
4835  done
4836  : ${lt_cv_path_NM=no}
4837fi
4838fi
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4840$as_echo "$lt_cv_path_NM" >&6; }
4841if test no != "$lt_cv_path_NM"; then
4842  NM=$lt_cv_path_NM
4843else
4844  # Didn't find any BSD compatible name lister, look for dumpbin.
4845  if test -n "$DUMPBIN"; then :
4846    # Let the user override the test.
4847  else
4848    if test -n "$ac_tool_prefix"; then
4849  for ac_prog in dumpbin "link -dump"
4850  do
4851    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854$as_echo_n "checking for $ac_word... " >&6; }
4855if ${ac_cv_prog_DUMPBIN+:} false; then :
4856  $as_echo_n "(cached) " >&6
4857else
4858  if test -n "$DUMPBIN"; then
4859  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4860else
4861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862for as_dir in $PATH
4863do
4864  IFS=$as_save_IFS
4865  test -z "$as_dir" && as_dir=.
4866    for ac_exec_ext in '' $ac_executable_extensions; do
4867  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4869    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870    break 2
4871  fi
4872done
4873  done
4874IFS=$as_save_IFS
4875
4876fi
4877fi
4878DUMPBIN=$ac_cv_prog_DUMPBIN
4879if test -n "$DUMPBIN"; then
4880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4881$as_echo "$DUMPBIN" >&6; }
4882else
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884$as_echo "no" >&6; }
4885fi
4886
4887
4888    test -n "$DUMPBIN" && break
4889  done
4890fi
4891if test -z "$DUMPBIN"; then
4892  ac_ct_DUMPBIN=$DUMPBIN
4893  for ac_prog in dumpbin "link -dump"
4894do
4895  # Extract the first word of "$ac_prog", so it can be a program name with args.
4896set dummy $ac_prog; ac_word=$2
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898$as_echo_n "checking for $ac_word... " >&6; }
4899if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4900  $as_echo_n "(cached) " >&6
4901else
4902  if test -n "$ac_ct_DUMPBIN"; then
4903  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4904else
4905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906for as_dir in $PATH
4907do
4908  IFS=$as_save_IFS
4909  test -z "$as_dir" && as_dir=.
4910    for ac_exec_ext in '' $ac_executable_extensions; do
4911  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914    break 2
4915  fi
4916done
4917  done
4918IFS=$as_save_IFS
4919
4920fi
4921fi
4922ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4923if test -n "$ac_ct_DUMPBIN"; then
4924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4925$as_echo "$ac_ct_DUMPBIN" >&6; }
4926else
4927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928$as_echo "no" >&6; }
4929fi
4930
4931
4932  test -n "$ac_ct_DUMPBIN" && break
4933done
4934
4935  if test "x$ac_ct_DUMPBIN" = x; then
4936    DUMPBIN=":"
4937  else
4938    case $cross_compiling:$ac_tool_warned in
4939yes:)
4940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942ac_tool_warned=yes ;;
4943esac
4944    DUMPBIN=$ac_ct_DUMPBIN
4945  fi
4946fi
4947
4948    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4949    *COFF*)
4950      DUMPBIN="$DUMPBIN -symbols -headers"
4951      ;;
4952    *)
4953      DUMPBIN=:
4954      ;;
4955    esac
4956  fi
4957
4958  if test : != "$DUMPBIN"; then
4959    NM=$DUMPBIN
4960  fi
4961fi
4962test -z "$NM" && NM=nm
4963
4964
4965
4966
4967
4968
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4970$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4971if ${lt_cv_nm_interface+:} false; then :
4972  $as_echo_n "(cached) " >&6
4973else
4974  lt_cv_nm_interface="BSD nm"
4975  echo "int some_variable = 0;" > conftest.$ac_ext
4976  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4977  (eval "$ac_compile" 2>conftest.err)
4978  cat conftest.err >&5
4979  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4980  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4981  cat conftest.err >&5
4982  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4983  cat conftest.out >&5
4984  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4985    lt_cv_nm_interface="MS dumpbin"
4986  fi
4987  rm -f conftest*
4988fi
4989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4990$as_echo "$lt_cv_nm_interface" >&6; }
4991
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4993$as_echo_n "checking whether ln -s works... " >&6; }
4994LN_S=$as_ln_s
4995if test "$LN_S" = "ln -s"; then
4996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4997$as_echo "yes" >&6; }
4998else
4999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5000$as_echo "no, using $LN_S" >&6; }
5001fi
5002
5003# find the maximum length of command line arguments
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5005$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5006if ${lt_cv_sys_max_cmd_len+:} false; then :
5007  $as_echo_n "(cached) " >&6
5008else
5009    i=0
5010  teststring=ABCD
5011
5012  case $build_os in
5013  msdosdjgpp*)
5014    # On DJGPP, this test can blow up pretty badly due to problems in libc
5015    # (any single argument exceeding 2000 bytes causes a buffer overrun
5016    # during glob expansion).  Even if it were fixed, the result of this
5017    # check would be larger than it should be.
5018    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5019    ;;
5020
5021  gnu*)
5022    # Under GNU Hurd, this test is not required because there is
5023    # no limit to the length of command line arguments.
5024    # Libtool will interpret -1 as no limit whatsoever
5025    lt_cv_sys_max_cmd_len=-1;
5026    ;;
5027
5028  cygwin* | mingw* | cegcc*)
5029    # On Win9x/ME, this test blows up -- it succeeds, but takes
5030    # about 5 minutes as the teststring grows exponentially.
5031    # Worse, since 9x/ME are not pre-emptively multitasking,
5032    # you end up with a "frozen" computer, even though with patience
5033    # the test eventually succeeds (with a max line length of 256k).
5034    # Instead, let's just punt: use the minimum linelength reported by
5035    # all of the supported platforms: 8192 (on NT/2K/XP).
5036    lt_cv_sys_max_cmd_len=8192;
5037    ;;
5038
5039  mint*)
5040    # On MiNT this can take a long time and run out of memory.
5041    lt_cv_sys_max_cmd_len=8192;
5042    ;;
5043
5044  amigaos*)
5045    # On AmigaOS with pdksh, this test takes hours, literally.
5046    # So we just punt and use a minimum line length of 8192.
5047    lt_cv_sys_max_cmd_len=8192;
5048    ;;
5049
5050  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5051    # This has been around since 386BSD, at least.  Likely further.
5052    if test -x /sbin/sysctl; then
5053      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5054    elif test -x /usr/sbin/sysctl; then
5055      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5056    else
5057      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5058    fi
5059    # And add a safety zone
5060    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5061    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5062    ;;
5063
5064  interix*)
5065    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5066    lt_cv_sys_max_cmd_len=196608
5067    ;;
5068
5069  os2*)
5070    # The test takes a long time on OS/2.
5071    lt_cv_sys_max_cmd_len=8192
5072    ;;
5073
5074  osf*)
5075    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5076    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5077    # nice to cause kernel panics so lets avoid the loop below.
5078    # First set a reasonable default.
5079    lt_cv_sys_max_cmd_len=16384
5080    #
5081    if test -x /sbin/sysconfig; then
5082      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5083        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5084      esac
5085    fi
5086    ;;
5087  sco3.2v5*)
5088    lt_cv_sys_max_cmd_len=102400
5089    ;;
5090  sysv5* | sco5v6* | sysv4.2uw2*)
5091    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5092    if test -n "$kargmax"; then
5093      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5094    else
5095      lt_cv_sys_max_cmd_len=32768
5096    fi
5097    ;;
5098  *)
5099    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5100    if test -n "$lt_cv_sys_max_cmd_len" && \
5101       test undefined != "$lt_cv_sys_max_cmd_len"; then
5102      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5103      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5104    else
5105      # Make teststring a little bigger before we do anything with it.
5106      # a 1K string should be a reasonable start.
5107      for i in 1 2 3 4 5 6 7 8; do
5108        teststring=$teststring$teststring
5109      done
5110      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5111      # If test is not a shell built-in, we'll probably end up computing a
5112      # maximum length that is only half of the actual maximum length, but
5113      # we can't tell.
5114      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5115	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5116	      test 17 != "$i" # 1/2 MB should be enough
5117      do
5118        i=`expr $i + 1`
5119        teststring=$teststring$teststring
5120      done
5121      # Only check the string length outside the loop.
5122      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5123      teststring=
5124      # Add a significant safety factor because C++ compilers can tack on
5125      # massive amounts of additional arguments before passing them to the
5126      # linker.  It appears as though 1/2 is a usable value.
5127      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5128    fi
5129    ;;
5130  esac
5131
5132fi
5133
5134if test -n "$lt_cv_sys_max_cmd_len"; then
5135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5136$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5137else
5138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5139$as_echo "none" >&6; }
5140fi
5141max_cmd_len=$lt_cv_sys_max_cmd_len
5142
5143
5144
5145
5146
5147
5148: ${CP="cp -f"}
5149: ${MV="mv -f"}
5150: ${RM="rm -f"}
5151
5152if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5153  lt_unset=unset
5154else
5155  lt_unset=false
5156fi
5157
5158
5159
5160
5161
5162# test EBCDIC or ASCII
5163case `echo X|tr X '\101'` in
5164 A) # ASCII based system
5165    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5166  lt_SP2NL='tr \040 \012'
5167  lt_NL2SP='tr \015\012 \040\040'
5168  ;;
5169 *) # EBCDIC based system
5170  lt_SP2NL='tr \100 \n'
5171  lt_NL2SP='tr \r\n \100\100'
5172  ;;
5173esac
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5184$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5185if ${lt_cv_to_host_file_cmd+:} false; then :
5186  $as_echo_n "(cached) " >&6
5187else
5188  case $host in
5189  *-*-mingw* )
5190    case $build in
5191      *-*-mingw* ) # actually msys
5192        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5193        ;;
5194      *-*-cygwin* )
5195        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5196        ;;
5197      * ) # otherwise, assume *nix
5198        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5199        ;;
5200    esac
5201    ;;
5202  *-*-cygwin* )
5203    case $build in
5204      *-*-mingw* ) # actually msys
5205        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5206        ;;
5207      *-*-cygwin* )
5208        lt_cv_to_host_file_cmd=func_convert_file_noop
5209        ;;
5210      * ) # otherwise, assume *nix
5211        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5212        ;;
5213    esac
5214    ;;
5215  * ) # unhandled hosts (and "normal" native builds)
5216    lt_cv_to_host_file_cmd=func_convert_file_noop
5217    ;;
5218esac
5219
5220fi
5221
5222to_host_file_cmd=$lt_cv_to_host_file_cmd
5223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5224$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5225
5226
5227
5228
5229
5230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5231$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5232if ${lt_cv_to_tool_file_cmd+:} false; then :
5233  $as_echo_n "(cached) " >&6
5234else
5235  #assume ordinary cross tools, or native build.
5236lt_cv_to_tool_file_cmd=func_convert_file_noop
5237case $host in
5238  *-*-mingw* )
5239    case $build in
5240      *-*-mingw* ) # actually msys
5241        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5242        ;;
5243    esac
5244    ;;
5245esac
5246
5247fi
5248
5249to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5251$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5252
5253
5254
5255
5256
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5258$as_echo_n "checking for $LD option to reload object files... " >&6; }
5259if ${lt_cv_ld_reload_flag+:} false; then :
5260  $as_echo_n "(cached) " >&6
5261else
5262  lt_cv_ld_reload_flag='-r'
5263fi
5264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5265$as_echo "$lt_cv_ld_reload_flag" >&6; }
5266reload_flag=$lt_cv_ld_reload_flag
5267case $reload_flag in
5268"" | " "*) ;;
5269*) reload_flag=" $reload_flag" ;;
5270esac
5271reload_cmds='$LD$reload_flag -o $output$reload_objs'
5272case $host_os in
5273  cygwin* | mingw* | pw32* | cegcc*)
5274    if test yes != "$GCC"; then
5275      reload_cmds=false
5276    fi
5277    ;;
5278  darwin*)
5279    if test yes = "$GCC"; then
5280      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5281    else
5282      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5283    fi
5284    ;;
5285esac
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295if test -n "$ac_tool_prefix"; then
5296  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5297set dummy ${ac_tool_prefix}objdump; ac_word=$2
5298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299$as_echo_n "checking for $ac_word... " >&6; }
5300if ${ac_cv_prog_OBJDUMP+:} false; then :
5301  $as_echo_n "(cached) " >&6
5302else
5303  if test -n "$OBJDUMP"; then
5304  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5305else
5306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307for as_dir in $PATH
5308do
5309  IFS=$as_save_IFS
5310  test -z "$as_dir" && as_dir=.
5311    for ac_exec_ext in '' $ac_executable_extensions; do
5312  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5314    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315    break 2
5316  fi
5317done
5318  done
5319IFS=$as_save_IFS
5320
5321fi
5322fi
5323OBJDUMP=$ac_cv_prog_OBJDUMP
5324if test -n "$OBJDUMP"; then
5325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5326$as_echo "$OBJDUMP" >&6; }
5327else
5328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329$as_echo "no" >&6; }
5330fi
5331
5332
5333fi
5334if test -z "$ac_cv_prog_OBJDUMP"; then
5335  ac_ct_OBJDUMP=$OBJDUMP
5336  # Extract the first word of "objdump", so it can be a program name with args.
5337set dummy objdump; ac_word=$2
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339$as_echo_n "checking for $ac_word... " >&6; }
5340if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if test -n "$ac_ct_OBJDUMP"; then
5344  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5345else
5346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347for as_dir in $PATH
5348do
5349  IFS=$as_save_IFS
5350  test -z "$as_dir" && as_dir=.
5351    for ac_exec_ext in '' $ac_executable_extensions; do
5352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5354    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355    break 2
5356  fi
5357done
5358  done
5359IFS=$as_save_IFS
5360
5361fi
5362fi
5363ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5364if test -n "$ac_ct_OBJDUMP"; then
5365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5366$as_echo "$ac_ct_OBJDUMP" >&6; }
5367else
5368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369$as_echo "no" >&6; }
5370fi
5371
5372  if test "x$ac_ct_OBJDUMP" = x; then
5373    OBJDUMP="false"
5374  else
5375    case $cross_compiling:$ac_tool_warned in
5376yes:)
5377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5379ac_tool_warned=yes ;;
5380esac
5381    OBJDUMP=$ac_ct_OBJDUMP
5382  fi
5383else
5384  OBJDUMP="$ac_cv_prog_OBJDUMP"
5385fi
5386
5387test -z "$OBJDUMP" && OBJDUMP=objdump
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5398$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5399if ${lt_cv_deplibs_check_method+:} false; then :
5400  $as_echo_n "(cached) " >&6
5401else
5402  lt_cv_file_magic_cmd='$MAGIC_CMD'
5403lt_cv_file_magic_test_file=
5404lt_cv_deplibs_check_method='unknown'
5405# Need to set the preceding variable on all platforms that support
5406# interlibrary dependencies.
5407# 'none' -- dependencies not supported.
5408# 'unknown' -- same as none, but documents that we really don't know.
5409# 'pass_all' -- all dependencies passed with no checks.
5410# 'test_compile' -- check by making test program.
5411# 'file_magic [[regex]]' -- check by looking for files in library path
5412# that responds to the $file_magic_cmd with a given extended regex.
5413# If you have 'file' or equivalent on your system and you're not sure
5414# whether 'pass_all' will *always* work, you probably want this one.
5415
5416case $host_os in
5417aix[4-9]*)
5418  lt_cv_deplibs_check_method=pass_all
5419  ;;
5420
5421beos*)
5422  lt_cv_deplibs_check_method=pass_all
5423  ;;
5424
5425bsdi[45]*)
5426  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5427  lt_cv_file_magic_cmd='/usr/bin/file -L'
5428  lt_cv_file_magic_test_file=/shlib/libc.so
5429  ;;
5430
5431cygwin*)
5432  # func_win32_libid is a shell function defined in ltmain.sh
5433  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5434  lt_cv_file_magic_cmd='func_win32_libid'
5435  ;;
5436
5437mingw* | pw32*)
5438  # Base MSYS/MinGW do not provide the 'file' command needed by
5439  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5440  # unless we find 'file', for example because we are cross-compiling.
5441  if ( file / ) >/dev/null 2>&1; then
5442    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5443    lt_cv_file_magic_cmd='func_win32_libid'
5444  else
5445    # Keep this pattern in sync with the one in func_win32_libid.
5446    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5447    lt_cv_file_magic_cmd='$OBJDUMP -f'
5448  fi
5449  ;;
5450
5451cegcc*)
5452  # use the weaker test based on 'objdump'. See mingw*.
5453  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5454  lt_cv_file_magic_cmd='$OBJDUMP -f'
5455  ;;
5456
5457darwin* | rhapsody*)
5458  lt_cv_deplibs_check_method=pass_all
5459  ;;
5460
5461freebsd* | dragonfly*)
5462  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5463    case $host_cpu in
5464    i*86 )
5465      # Not sure whether the presence of OpenBSD here was a mistake.
5466      # Let's accept both of them until this is cleared up.
5467      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5468      lt_cv_file_magic_cmd=/usr/bin/file
5469      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5470      ;;
5471    esac
5472  else
5473    lt_cv_deplibs_check_method=pass_all
5474  fi
5475  ;;
5476
5477haiku*)
5478  lt_cv_deplibs_check_method=pass_all
5479  ;;
5480
5481hpux10.20* | hpux11*)
5482  lt_cv_file_magic_cmd=/usr/bin/file
5483  case $host_cpu in
5484  ia64*)
5485    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5486    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5487    ;;
5488  hppa*64*)
5489    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5490    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5491    ;;
5492  *)
5493    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5494    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5495    ;;
5496  esac
5497  ;;
5498
5499interix[3-9]*)
5500  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5501  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5502  ;;
5503
5504irix5* | irix6* | nonstopux*)
5505  case $LD in
5506  *-32|*"-32 ") libmagic=32-bit;;
5507  *-n32|*"-n32 ") libmagic=N32;;
5508  *-64|*"-64 ") libmagic=64-bit;;
5509  *) libmagic=never-match;;
5510  esac
5511  lt_cv_deplibs_check_method=pass_all
5512  ;;
5513
5514# This must be glibc/ELF.
5515linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5516  lt_cv_deplibs_check_method=pass_all
5517  ;;
5518
5519netbsd*)
5520  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5521    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5522  else
5523    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5524  fi
5525  ;;
5526
5527newos6*)
5528  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5529  lt_cv_file_magic_cmd=/usr/bin/file
5530  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5531  ;;
5532
5533*nto* | *qnx*)
5534  lt_cv_deplibs_check_method=pass_all
5535  ;;
5536
5537openbsd* | bitrig*)
5538  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5539    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5540  else
5541    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542  fi
5543  ;;
5544
5545osf3* | osf4* | osf5*)
5546  lt_cv_deplibs_check_method=pass_all
5547  ;;
5548
5549rdos*)
5550  lt_cv_deplibs_check_method=pass_all
5551  ;;
5552
5553solaris*)
5554  lt_cv_deplibs_check_method=pass_all
5555  ;;
5556
5557sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5558  lt_cv_deplibs_check_method=pass_all
5559  ;;
5560
5561sysv4 | sysv4.3*)
5562  case $host_vendor in
5563  motorola)
5564    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5565    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5566    ;;
5567  ncr)
5568    lt_cv_deplibs_check_method=pass_all
5569    ;;
5570  sequent)
5571    lt_cv_file_magic_cmd='/bin/file'
5572    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5573    ;;
5574  sni)
5575    lt_cv_file_magic_cmd='/bin/file'
5576    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5577    lt_cv_file_magic_test_file=/lib/libc.so
5578    ;;
5579  siemens)
5580    lt_cv_deplibs_check_method=pass_all
5581    ;;
5582  pc)
5583    lt_cv_deplibs_check_method=pass_all
5584    ;;
5585  esac
5586  ;;
5587
5588tpf*)
5589  lt_cv_deplibs_check_method=pass_all
5590  ;;
5591os2*)
5592  lt_cv_deplibs_check_method=pass_all
5593  ;;
5594esac
5595
5596fi
5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5598$as_echo "$lt_cv_deplibs_check_method" >&6; }
5599
5600file_magic_glob=
5601want_nocaseglob=no
5602if test "$build" = "$host"; then
5603  case $host_os in
5604  mingw* | pw32*)
5605    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5606      want_nocaseglob=yes
5607    else
5608      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5609    fi
5610    ;;
5611  esac
5612fi
5613
5614file_magic_cmd=$lt_cv_file_magic_cmd
5615deplibs_check_method=$lt_cv_deplibs_check_method
5616test -z "$deplibs_check_method" && deplibs_check_method=unknown
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639if test -n "$ac_tool_prefix"; then
5640  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5641set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643$as_echo_n "checking for $ac_word... " >&6; }
5644if ${ac_cv_prog_DLLTOOL+:} false; then :
5645  $as_echo_n "(cached) " >&6
5646else
5647  if test -n "$DLLTOOL"; then
5648  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5649else
5650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651for as_dir in $PATH
5652do
5653  IFS=$as_save_IFS
5654  test -z "$as_dir" && as_dir=.
5655    for ac_exec_ext in '' $ac_executable_extensions; do
5656  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659    break 2
5660  fi
5661done
5662  done
5663IFS=$as_save_IFS
5664
5665fi
5666fi
5667DLLTOOL=$ac_cv_prog_DLLTOOL
5668if test -n "$DLLTOOL"; then
5669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5670$as_echo "$DLLTOOL" >&6; }
5671else
5672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673$as_echo "no" >&6; }
5674fi
5675
5676
5677fi
5678if test -z "$ac_cv_prog_DLLTOOL"; then
5679  ac_ct_DLLTOOL=$DLLTOOL
5680  # Extract the first word of "dlltool", so it can be a program name with args.
5681set dummy dlltool; ac_word=$2
5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683$as_echo_n "checking for $ac_word... " >&6; }
5684if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5685  $as_echo_n "(cached) " >&6
5686else
5687  if test -n "$ac_ct_DLLTOOL"; then
5688  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5689else
5690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691for as_dir in $PATH
5692do
5693  IFS=$as_save_IFS
5694  test -z "$as_dir" && as_dir=.
5695    for ac_exec_ext in '' $ac_executable_extensions; do
5696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699    break 2
5700  fi
5701done
5702  done
5703IFS=$as_save_IFS
5704
5705fi
5706fi
5707ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5708if test -n "$ac_ct_DLLTOOL"; then
5709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5710$as_echo "$ac_ct_DLLTOOL" >&6; }
5711else
5712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713$as_echo "no" >&6; }
5714fi
5715
5716  if test "x$ac_ct_DLLTOOL" = x; then
5717    DLLTOOL="false"
5718  else
5719    case $cross_compiling:$ac_tool_warned in
5720yes:)
5721{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5722$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5723ac_tool_warned=yes ;;
5724esac
5725    DLLTOOL=$ac_ct_DLLTOOL
5726  fi
5727else
5728  DLLTOOL="$ac_cv_prog_DLLTOOL"
5729fi
5730
5731test -z "$DLLTOOL" && DLLTOOL=dlltool
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5743$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5744if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5745  $as_echo_n "(cached) " >&6
5746else
5747  lt_cv_sharedlib_from_linklib_cmd='unknown'
5748
5749case $host_os in
5750cygwin* | mingw* | pw32* | cegcc*)
5751  # two different shell functions defined in ltmain.sh;
5752  # decide which one to use based on capabilities of $DLLTOOL
5753  case `$DLLTOOL --help 2>&1` in
5754  *--identify-strict*)
5755    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5756    ;;
5757  *)
5758    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5759    ;;
5760  esac
5761  ;;
5762*)
5763  # fallback: assume linklib IS sharedlib
5764  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5765  ;;
5766esac
5767
5768fi
5769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5770$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5771sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5772test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5773
5774
5775
5776
5777
5778
5779
5780
5781if test -n "$ac_tool_prefix"; then
5782  for ac_prog in ar
5783  do
5784    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5785set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787$as_echo_n "checking for $ac_word... " >&6; }
5788if ${ac_cv_prog_AR+:} false; then :
5789  $as_echo_n "(cached) " >&6
5790else
5791  if test -n "$AR"; then
5792  ac_cv_prog_AR="$AR" # Let the user override the test.
5793else
5794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795for as_dir in $PATH
5796do
5797  IFS=$as_save_IFS
5798  test -z "$as_dir" && as_dir=.
5799    for ac_exec_ext in '' $ac_executable_extensions; do
5800  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803    break 2
5804  fi
5805done
5806  done
5807IFS=$as_save_IFS
5808
5809fi
5810fi
5811AR=$ac_cv_prog_AR
5812if test -n "$AR"; then
5813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5814$as_echo "$AR" >&6; }
5815else
5816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817$as_echo "no" >&6; }
5818fi
5819
5820
5821    test -n "$AR" && break
5822  done
5823fi
5824if test -z "$AR"; then
5825  ac_ct_AR=$AR
5826  for ac_prog in ar
5827do
5828  # Extract the first word of "$ac_prog", so it can be a program name with args.
5829set dummy $ac_prog; ac_word=$2
5830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831$as_echo_n "checking for $ac_word... " >&6; }
5832if ${ac_cv_prog_ac_ct_AR+:} false; then :
5833  $as_echo_n "(cached) " >&6
5834else
5835  if test -n "$ac_ct_AR"; then
5836  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5837else
5838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839for as_dir in $PATH
5840do
5841  IFS=$as_save_IFS
5842  test -z "$as_dir" && as_dir=.
5843    for ac_exec_ext in '' $ac_executable_extensions; do
5844  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845    ac_cv_prog_ac_ct_AR="$ac_prog"
5846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847    break 2
5848  fi
5849done
5850  done
5851IFS=$as_save_IFS
5852
5853fi
5854fi
5855ac_ct_AR=$ac_cv_prog_ac_ct_AR
5856if test -n "$ac_ct_AR"; then
5857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5858$as_echo "$ac_ct_AR" >&6; }
5859else
5860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861$as_echo "no" >&6; }
5862fi
5863
5864
5865  test -n "$ac_ct_AR" && break
5866done
5867
5868  if test "x$ac_ct_AR" = x; then
5869    AR="false"
5870  else
5871    case $cross_compiling:$ac_tool_warned in
5872yes:)
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5874$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5875ac_tool_warned=yes ;;
5876esac
5877    AR=$ac_ct_AR
5878  fi
5879fi
5880
5881: ${AR=ar}
5882: ${AR_FLAGS=cru}
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5895$as_echo_n "checking for archiver @FILE support... " >&6; }
5896if ${lt_cv_ar_at_file+:} false; then :
5897  $as_echo_n "(cached) " >&6
5898else
5899  lt_cv_ar_at_file=no
5900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5901/* end confdefs.h.  */
5902
5903int
5904main ()
5905{
5906
5907  ;
5908  return 0;
5909}
5910_ACEOF
5911if ac_fn_c_try_compile "$LINENO"; then :
5912  echo conftest.$ac_objext > conftest.lst
5913      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5914      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5915  (eval $lt_ar_try) 2>&5
5916  ac_status=$?
5917  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5918  test $ac_status = 0; }
5919      if test 0 -eq "$ac_status"; then
5920	# Ensure the archiver fails upon bogus file names.
5921	rm -f conftest.$ac_objext libconftest.a
5922	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5923  (eval $lt_ar_try) 2>&5
5924  ac_status=$?
5925  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5926  test $ac_status = 0; }
5927	if test 0 -ne "$ac_status"; then
5928          lt_cv_ar_at_file=@
5929        fi
5930      fi
5931      rm -f conftest.* libconftest.a
5932
5933fi
5934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5935
5936fi
5937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5938$as_echo "$lt_cv_ar_at_file" >&6; }
5939
5940if test no = "$lt_cv_ar_at_file"; then
5941  archiver_list_spec=
5942else
5943  archiver_list_spec=$lt_cv_ar_at_file
5944fi
5945
5946
5947
5948
5949
5950
5951
5952if test -n "$ac_tool_prefix"; then
5953  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5954set dummy ${ac_tool_prefix}strip; ac_word=$2
5955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956$as_echo_n "checking for $ac_word... " >&6; }
5957if ${ac_cv_prog_STRIP+:} false; then :
5958  $as_echo_n "(cached) " >&6
5959else
5960  if test -n "$STRIP"; then
5961  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5962else
5963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964for as_dir in $PATH
5965do
5966  IFS=$as_save_IFS
5967  test -z "$as_dir" && as_dir=.
5968    for ac_exec_ext in '' $ac_executable_extensions; do
5969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972    break 2
5973  fi
5974done
5975  done
5976IFS=$as_save_IFS
5977
5978fi
5979fi
5980STRIP=$ac_cv_prog_STRIP
5981if test -n "$STRIP"; then
5982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5983$as_echo "$STRIP" >&6; }
5984else
5985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986$as_echo "no" >&6; }
5987fi
5988
5989
5990fi
5991if test -z "$ac_cv_prog_STRIP"; then
5992  ac_ct_STRIP=$STRIP
5993  # Extract the first word of "strip", so it can be a program name with args.
5994set dummy strip; ac_word=$2
5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996$as_echo_n "checking for $ac_word... " >&6; }
5997if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5998  $as_echo_n "(cached) " >&6
5999else
6000  if test -n "$ac_ct_STRIP"; then
6001  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6002else
6003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004for as_dir in $PATH
6005do
6006  IFS=$as_save_IFS
6007  test -z "$as_dir" && as_dir=.
6008    for ac_exec_ext in '' $ac_executable_extensions; do
6009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010    ac_cv_prog_ac_ct_STRIP="strip"
6011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012    break 2
6013  fi
6014done
6015  done
6016IFS=$as_save_IFS
6017
6018fi
6019fi
6020ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6021if test -n "$ac_ct_STRIP"; then
6022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6023$as_echo "$ac_ct_STRIP" >&6; }
6024else
6025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026$as_echo "no" >&6; }
6027fi
6028
6029  if test "x$ac_ct_STRIP" = x; then
6030    STRIP=":"
6031  else
6032    case $cross_compiling:$ac_tool_warned in
6033yes:)
6034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036ac_tool_warned=yes ;;
6037esac
6038    STRIP=$ac_ct_STRIP
6039  fi
6040else
6041  STRIP="$ac_cv_prog_STRIP"
6042fi
6043
6044test -z "$STRIP" && STRIP=:
6045
6046
6047
6048
6049
6050
6051if test -n "$ac_tool_prefix"; then
6052  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6053set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055$as_echo_n "checking for $ac_word... " >&6; }
6056if ${ac_cv_prog_RANLIB+:} false; then :
6057  $as_echo_n "(cached) " >&6
6058else
6059  if test -n "$RANLIB"; then
6060  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6061else
6062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063for as_dir in $PATH
6064do
6065  IFS=$as_save_IFS
6066  test -z "$as_dir" && as_dir=.
6067    for ac_exec_ext in '' $ac_executable_extensions; do
6068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071    break 2
6072  fi
6073done
6074  done
6075IFS=$as_save_IFS
6076
6077fi
6078fi
6079RANLIB=$ac_cv_prog_RANLIB
6080if test -n "$RANLIB"; then
6081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6082$as_echo "$RANLIB" >&6; }
6083else
6084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085$as_echo "no" >&6; }
6086fi
6087
6088
6089fi
6090if test -z "$ac_cv_prog_RANLIB"; then
6091  ac_ct_RANLIB=$RANLIB
6092  # Extract the first word of "ranlib", so it can be a program name with args.
6093set dummy ranlib; ac_word=$2
6094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095$as_echo_n "checking for $ac_word... " >&6; }
6096if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6097  $as_echo_n "(cached) " >&6
6098else
6099  if test -n "$ac_ct_RANLIB"; then
6100  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6101else
6102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103for as_dir in $PATH
6104do
6105  IFS=$as_save_IFS
6106  test -z "$as_dir" && as_dir=.
6107    for ac_exec_ext in '' $ac_executable_extensions; do
6108  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109    ac_cv_prog_ac_ct_RANLIB="ranlib"
6110    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111    break 2
6112  fi
6113done
6114  done
6115IFS=$as_save_IFS
6116
6117fi
6118fi
6119ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6120if test -n "$ac_ct_RANLIB"; then
6121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6122$as_echo "$ac_ct_RANLIB" >&6; }
6123else
6124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125$as_echo "no" >&6; }
6126fi
6127
6128  if test "x$ac_ct_RANLIB" = x; then
6129    RANLIB=":"
6130  else
6131    case $cross_compiling:$ac_tool_warned in
6132yes:)
6133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135ac_tool_warned=yes ;;
6136esac
6137    RANLIB=$ac_ct_RANLIB
6138  fi
6139else
6140  RANLIB="$ac_cv_prog_RANLIB"
6141fi
6142
6143test -z "$RANLIB" && RANLIB=:
6144
6145
6146
6147
6148
6149
6150# Determine commands to create old-style static archives.
6151old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6152old_postinstall_cmds='chmod 644 $oldlib'
6153old_postuninstall_cmds=
6154
6155if test -n "$RANLIB"; then
6156  case $host_os in
6157  bitrig* | openbsd*)
6158    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6159    ;;
6160  *)
6161    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6162    ;;
6163  esac
6164  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6165fi
6166
6167case $host_os in
6168  darwin*)
6169    lock_old_archive_extraction=yes ;;
6170  *)
6171    lock_old_archive_extraction=no ;;
6172esac
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212# If no C compiler was specified, use CC.
6213LTCC=${LTCC-"$CC"}
6214
6215# If no C compiler flags were specified, use CFLAGS.
6216LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6217
6218# Allow CC to be a program name with arguments.
6219compiler=$CC
6220
6221
6222# Check for command to grab the raw symbol name followed by C symbol from nm.
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6224$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6225if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6226  $as_echo_n "(cached) " >&6
6227else
6228
6229# These are sane defaults that work on at least a few old systems.
6230# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6231
6232# Character class describing NM global symbol codes.
6233symcode='[BCDEGRST]'
6234
6235# Regexp to match symbols that can be accessed directly from C.
6236sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6237
6238# Define system-specific variables.
6239case $host_os in
6240aix*)
6241  symcode='[BCDT]'
6242  ;;
6243cygwin* | mingw* | pw32* | cegcc*)
6244  symcode='[ABCDGISTW]'
6245  ;;
6246hpux*)
6247  if test ia64 = "$host_cpu"; then
6248    symcode='[ABCDEGRST]'
6249  fi
6250  ;;
6251irix* | nonstopux*)
6252  symcode='[BCDEGRST]'
6253  ;;
6254osf*)
6255  symcode='[BCDEGQRST]'
6256  ;;
6257solaris*)
6258  symcode='[BDRT]'
6259  ;;
6260sco3.2v5*)
6261  symcode='[DT]'
6262  ;;
6263sysv4.2uw2*)
6264  symcode='[DT]'
6265  ;;
6266sysv5* | sco5v6* | unixware* | OpenUNIX*)
6267  symcode='[ABDT]'
6268  ;;
6269sysv4)
6270  symcode='[DFNSTU]'
6271  ;;
6272esac
6273
6274# If we're using GNU nm, then use its standard symbol codes.
6275case `$NM -V 2>&1` in
6276*GNU* | *'with BFD'*)
6277  symcode='[ABCDGIRSTW]' ;;
6278esac
6279
6280if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6281  # Gets list of data symbols to import.
6282  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6283  # Adjust the below global symbol transforms to fixup imported variables.
6284  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6285  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6286  lt_c_name_lib_hook="\
6287  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6288  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6289else
6290  # Disable hooks by default.
6291  lt_cv_sys_global_symbol_to_import=
6292  lt_cdecl_hook=
6293  lt_c_name_hook=
6294  lt_c_name_lib_hook=
6295fi
6296
6297# Transform an extracted symbol line into a proper C declaration.
6298# Some systems (esp. on ia64) link data and code symbols differently,
6299# so use this general approach.
6300lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6301$lt_cdecl_hook\
6302" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6303" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6304
6305# Transform an extracted symbol line into symbol name and symbol address
6306lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6307$lt_c_name_hook\
6308" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6309" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6310
6311# Transform an extracted symbol line into symbol name with lib prefix and
6312# symbol address.
6313lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6314$lt_c_name_lib_hook\
6315" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6316" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6317" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6318
6319# Handle CRLF in mingw tool chain
6320opt_cr=
6321case $build_os in
6322mingw*)
6323  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6324  ;;
6325esac
6326
6327# Try without a prefix underscore, then with it.
6328for ac_symprfx in "" "_"; do
6329
6330  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6331  symxfrm="\\1 $ac_symprfx\\2 \\2"
6332
6333  # Write the raw and C identifiers.
6334  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6335    # Fake it for dumpbin and say T for any non-static function,
6336    # D for any global variable and I for any imported variable.
6337    # Also find C++ and __fastcall symbols from MSVC++,
6338    # which start with @ or ?.
6339    lt_cv_sys_global_symbol_pipe="$AWK '"\
6340"     {last_section=section; section=\$ 3};"\
6341"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6342"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6343"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6344"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6345"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6346"     \$ 0!~/External *\|/{next};"\
6347"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6348"     {if(hide[section]) next};"\
6349"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6350"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6351"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6352"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6353"     ' prfx=^$ac_symprfx"
6354  else
6355    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6356  fi
6357  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6358
6359  # Check to see that the pipe works correctly.
6360  pipe_works=no
6361
6362  rm -f conftest*
6363  cat > conftest.$ac_ext <<_LT_EOF
6364#ifdef __cplusplus
6365extern "C" {
6366#endif
6367char nm_test_var;
6368void nm_test_func(void);
6369void nm_test_func(void){}
6370#ifdef __cplusplus
6371}
6372#endif
6373int main(){nm_test_var='a';nm_test_func();return(0);}
6374_LT_EOF
6375
6376  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6377  (eval $ac_compile) 2>&5
6378  ac_status=$?
6379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6380  test $ac_status = 0; }; then
6381    # Now try to grab the symbols.
6382    nlist=conftest.nm
6383    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6384  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6385  ac_status=$?
6386  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387  test $ac_status = 0; } && test -s "$nlist"; then
6388      # Try sorting and uniquifying the output.
6389      if sort "$nlist" | uniq > "$nlist"T; then
6390	mv -f "$nlist"T "$nlist"
6391      else
6392	rm -f "$nlist"T
6393      fi
6394
6395      # Make sure that we snagged all the symbols we need.
6396      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6397	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6398	  cat <<_LT_EOF > conftest.$ac_ext
6399/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6400#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6401/* DATA imports from DLLs on WIN32 can't be const, because runtime
6402   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6403# define LT_DLSYM_CONST
6404#elif defined __osf__
6405/* This system does not cope well with relocations in const data.  */
6406# define LT_DLSYM_CONST
6407#else
6408# define LT_DLSYM_CONST const
6409#endif
6410
6411#ifdef __cplusplus
6412extern "C" {
6413#endif
6414
6415_LT_EOF
6416	  # Now generate the symbol file.
6417	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6418
6419	  cat <<_LT_EOF >> conftest.$ac_ext
6420
6421/* The mapping between symbol names and symbols.  */
6422LT_DLSYM_CONST struct {
6423  const char *name;
6424  void       *address;
6425}
6426lt__PROGRAM__LTX_preloaded_symbols[] =
6427{
6428  { "@PROGRAM@", (void *) 0 },
6429_LT_EOF
6430	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6431	  cat <<\_LT_EOF >> conftest.$ac_ext
6432  {0, (void *) 0}
6433};
6434
6435/* This works around a problem in FreeBSD linker */
6436#ifdef FREEBSD_WORKAROUND
6437static const void *lt_preloaded_setup() {
6438  return lt__PROGRAM__LTX_preloaded_symbols;
6439}
6440#endif
6441
6442#ifdef __cplusplus
6443}
6444#endif
6445_LT_EOF
6446	  # Now try linking the two files.
6447	  mv conftest.$ac_objext conftstm.$ac_objext
6448	  lt_globsym_save_LIBS=$LIBS
6449	  lt_globsym_save_CFLAGS=$CFLAGS
6450	  LIBS=conftstm.$ac_objext
6451	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6452	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6453  (eval $ac_link) 2>&5
6454  ac_status=$?
6455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6456  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6457	    pipe_works=yes
6458	  fi
6459	  LIBS=$lt_globsym_save_LIBS
6460	  CFLAGS=$lt_globsym_save_CFLAGS
6461	else
6462	  echo "cannot find nm_test_func in $nlist" >&5
6463	fi
6464      else
6465	echo "cannot find nm_test_var in $nlist" >&5
6466      fi
6467    else
6468      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6469    fi
6470  else
6471    echo "$progname: failed program was:" >&5
6472    cat conftest.$ac_ext >&5
6473  fi
6474  rm -rf conftest* conftst*
6475
6476  # Do not use the global_symbol_pipe unless it works.
6477  if test yes = "$pipe_works"; then
6478    break
6479  else
6480    lt_cv_sys_global_symbol_pipe=
6481  fi
6482done
6483
6484fi
6485
6486if test -z "$lt_cv_sys_global_symbol_pipe"; then
6487  lt_cv_sys_global_symbol_to_cdecl=
6488fi
6489if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6491$as_echo "failed" >&6; }
6492else
6493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6494$as_echo "ok" >&6; }
6495fi
6496
6497# Response file support.
6498if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6499  nm_file_list_spec='@'
6500elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6501  nm_file_list_spec='@'
6502fi
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6541$as_echo_n "checking for sysroot... " >&6; }
6542
6543# Check whether --with-sysroot was given.
6544if test "${with_sysroot+set}" = set; then :
6545  withval=$with_sysroot;
6546else
6547  with_sysroot=no
6548fi
6549
6550
6551lt_sysroot=
6552case $with_sysroot in #(
6553 yes)
6554   if test yes = "$GCC"; then
6555     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6556   fi
6557   ;; #(
6558 /*)
6559   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6560   ;; #(
6561 no|'')
6562   ;; #(
6563 *)
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6565$as_echo "$with_sysroot" >&6; }
6566   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6567   ;;
6568esac
6569
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6571$as_echo "${lt_sysroot:-no}" >&6; }
6572
6573
6574
6575
6576
6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6578$as_echo_n "checking for a working dd... " >&6; }
6579if ${ac_cv_path_lt_DD+:} false; then :
6580  $as_echo_n "(cached) " >&6
6581else
6582  printf 0123456789abcdef0123456789abcdef >conftest.i
6583cat conftest.i conftest.i >conftest2.i
6584: ${lt_DD:=$DD}
6585if test -z "$lt_DD"; then
6586  ac_path_lt_DD_found=false
6587  # Loop through the user's path and test for each of PROGNAME-LIST
6588  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589for as_dir in $PATH
6590do
6591  IFS=$as_save_IFS
6592  test -z "$as_dir" && as_dir=.
6593    for ac_prog in dd; do
6594    for ac_exec_ext in '' $ac_executable_extensions; do
6595      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6596      as_fn_executable_p "$ac_path_lt_DD" || continue
6597if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6598  cmp -s conftest.i conftest.out \
6599  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6600fi
6601      $ac_path_lt_DD_found && break 3
6602    done
6603  done
6604  done
6605IFS=$as_save_IFS
6606  if test -z "$ac_cv_path_lt_DD"; then
6607    :
6608  fi
6609else
6610  ac_cv_path_lt_DD=$lt_DD
6611fi
6612
6613rm -f conftest.i conftest2.i conftest.out
6614fi
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6616$as_echo "$ac_cv_path_lt_DD" >&6; }
6617
6618
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6620$as_echo_n "checking how to truncate binary pipes... " >&6; }
6621if ${lt_cv_truncate_bin+:} false; then :
6622  $as_echo_n "(cached) " >&6
6623else
6624  printf 0123456789abcdef0123456789abcdef >conftest.i
6625cat conftest.i conftest.i >conftest2.i
6626lt_cv_truncate_bin=
6627if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6628  cmp -s conftest.i conftest.out \
6629  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6630fi
6631rm -f conftest.i conftest2.i conftest.out
6632test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6633fi
6634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6635$as_echo "$lt_cv_truncate_bin" >&6; }
6636
6637
6638
6639
6640
6641
6642
6643# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6644func_cc_basename ()
6645{
6646    for cc_temp in $*""; do
6647      case $cc_temp in
6648        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6649        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6650        \-*) ;;
6651        *) break;;
6652      esac
6653    done
6654    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6655}
6656
6657# Check whether --enable-libtool-lock was given.
6658if test "${enable_libtool_lock+set}" = set; then :
6659  enableval=$enable_libtool_lock;
6660fi
6661
6662test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6663
6664# Some flags need to be propagated to the compiler or linker for good
6665# libtool support.
6666case $host in
6667ia64-*-hpux*)
6668  # Find out what ABI is being produced by ac_compile, and set mode
6669  # options accordingly.
6670  echo 'int i;' > conftest.$ac_ext
6671  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6672  (eval $ac_compile) 2>&5
6673  ac_status=$?
6674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675  test $ac_status = 0; }; then
6676    case `/usr/bin/file conftest.$ac_objext` in
6677      *ELF-32*)
6678	HPUX_IA64_MODE=32
6679	;;
6680      *ELF-64*)
6681	HPUX_IA64_MODE=64
6682	;;
6683    esac
6684  fi
6685  rm -rf conftest*
6686  ;;
6687*-*-irix6*)
6688  # Find out what ABI is being produced by ac_compile, and set linker
6689  # options accordingly.
6690  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6691  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6692  (eval $ac_compile) 2>&5
6693  ac_status=$?
6694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6695  test $ac_status = 0; }; then
6696    if test yes = "$lt_cv_prog_gnu_ld"; then
6697      case `/usr/bin/file conftest.$ac_objext` in
6698	*32-bit*)
6699	  LD="${LD-ld} -melf32bsmip"
6700	  ;;
6701	*N32*)
6702	  LD="${LD-ld} -melf32bmipn32"
6703	  ;;
6704	*64-bit*)
6705	  LD="${LD-ld} -melf64bmip"
6706	;;
6707      esac
6708    else
6709      case `/usr/bin/file conftest.$ac_objext` in
6710	*32-bit*)
6711	  LD="${LD-ld} -32"
6712	  ;;
6713	*N32*)
6714	  LD="${LD-ld} -n32"
6715	  ;;
6716	*64-bit*)
6717	  LD="${LD-ld} -64"
6718	  ;;
6719      esac
6720    fi
6721  fi
6722  rm -rf conftest*
6723  ;;
6724
6725mips64*-*linux*)
6726  # Find out what ABI is being produced by ac_compile, and set linker
6727  # options accordingly.
6728  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6729  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730  (eval $ac_compile) 2>&5
6731  ac_status=$?
6732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6733  test $ac_status = 0; }; then
6734    emul=elf
6735    case `/usr/bin/file conftest.$ac_objext` in
6736      *32-bit*)
6737	emul="${emul}32"
6738	;;
6739      *64-bit*)
6740	emul="${emul}64"
6741	;;
6742    esac
6743    case `/usr/bin/file conftest.$ac_objext` in
6744      *MSB*)
6745	emul="${emul}btsmip"
6746	;;
6747      *LSB*)
6748	emul="${emul}ltsmip"
6749	;;
6750    esac
6751    case `/usr/bin/file conftest.$ac_objext` in
6752      *N32*)
6753	emul="${emul}n32"
6754	;;
6755    esac
6756    LD="${LD-ld} -m $emul"
6757  fi
6758  rm -rf conftest*
6759  ;;
6760
6761x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6762s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6763  # Find out what ABI is being produced by ac_compile, and set linker
6764  # options accordingly.  Note that the listed cases only cover the
6765  # situations where additional linker options are needed (such as when
6766  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6767  # vice versa); the common cases where no linker options are needed do
6768  # not appear in the list.
6769  echo 'int i;' > conftest.$ac_ext
6770  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771  (eval $ac_compile) 2>&5
6772  ac_status=$?
6773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774  test $ac_status = 0; }; then
6775    case `/usr/bin/file conftest.o` in
6776      *32-bit*)
6777	case $host in
6778	  x86_64-*kfreebsd*-gnu)
6779	    LD="${LD-ld} -m elf_i386_fbsd"
6780	    ;;
6781	  x86_64-*linux*)
6782	    case `/usr/bin/file conftest.o` in
6783	      *x86-64*)
6784		LD="${LD-ld} -m elf32_x86_64"
6785		;;
6786	      *)
6787		LD="${LD-ld} -m elf_i386"
6788		;;
6789	    esac
6790	    ;;
6791	  powerpc64le-*linux*)
6792	    LD="${LD-ld} -m elf32lppclinux"
6793	    ;;
6794	  powerpc64-*linux*)
6795	    LD="${LD-ld} -m elf32ppclinux"
6796	    ;;
6797	  s390x-*linux*)
6798	    LD="${LD-ld} -m elf_s390"
6799	    ;;
6800	  sparc64-*linux*)
6801	    LD="${LD-ld} -m elf32_sparc"
6802	    ;;
6803	esac
6804	;;
6805      *64-bit*)
6806	case $host in
6807	  x86_64-*kfreebsd*-gnu)
6808	    LD="${LD-ld} -m elf_x86_64_fbsd"
6809	    ;;
6810	  x86_64-*linux*)
6811	    LD="${LD-ld} -m elf_x86_64"
6812	    ;;
6813	  powerpcle-*linux*)
6814	    LD="${LD-ld} -m elf64lppc"
6815	    ;;
6816	  powerpc-*linux*)
6817	    LD="${LD-ld} -m elf64ppc"
6818	    ;;
6819	  s390*-*linux*|s390*-*tpf*)
6820	    LD="${LD-ld} -m elf64_s390"
6821	    ;;
6822	  sparc*-*linux*)
6823	    LD="${LD-ld} -m elf64_sparc"
6824	    ;;
6825	esac
6826	;;
6827    esac
6828  fi
6829  rm -rf conftest*
6830  ;;
6831
6832*-*-sco3.2v5*)
6833  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6834  SAVE_CFLAGS=$CFLAGS
6835  CFLAGS="$CFLAGS -belf"
6836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6837$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6838if ${lt_cv_cc_needs_belf+:} false; then :
6839  $as_echo_n "(cached) " >&6
6840else
6841  ac_ext=c
6842ac_cpp='$CPP $CPPFLAGS'
6843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845ac_compiler_gnu=$ac_cv_c_compiler_gnu
6846
6847     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848/* end confdefs.h.  */
6849
6850int
6851main ()
6852{
6853
6854  ;
6855  return 0;
6856}
6857_ACEOF
6858if ac_fn_c_try_link "$LINENO"; then :
6859  lt_cv_cc_needs_belf=yes
6860else
6861  lt_cv_cc_needs_belf=no
6862fi
6863rm -f core conftest.err conftest.$ac_objext \
6864    conftest$ac_exeext conftest.$ac_ext
6865     ac_ext=c
6866ac_cpp='$CPP $CPPFLAGS'
6867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869ac_compiler_gnu=$ac_cv_c_compiler_gnu
6870
6871fi
6872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6873$as_echo "$lt_cv_cc_needs_belf" >&6; }
6874  if test yes != "$lt_cv_cc_needs_belf"; then
6875    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6876    CFLAGS=$SAVE_CFLAGS
6877  fi
6878  ;;
6879*-*solaris*)
6880  # Find out what ABI is being produced by ac_compile, and set linker
6881  # options accordingly.
6882  echo 'int i;' > conftest.$ac_ext
6883  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6884  (eval $ac_compile) 2>&5
6885  ac_status=$?
6886  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6887  test $ac_status = 0; }; then
6888    case `/usr/bin/file conftest.o` in
6889    *64-bit*)
6890      case $lt_cv_prog_gnu_ld in
6891      yes*)
6892        case $host in
6893        i?86-*-solaris*|x86_64-*-solaris*)
6894          LD="${LD-ld} -m elf_x86_64"
6895          ;;
6896        sparc*-*-solaris*)
6897          LD="${LD-ld} -m elf64_sparc"
6898          ;;
6899        esac
6900        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6901        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6902          LD=${LD-ld}_sol2
6903        fi
6904        ;;
6905      *)
6906	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6907	  LD="${LD-ld} -64"
6908	fi
6909	;;
6910      esac
6911      ;;
6912    esac
6913  fi
6914  rm -rf conftest*
6915  ;;
6916esac
6917
6918need_locks=$enable_libtool_lock
6919
6920if test -n "$ac_tool_prefix"; then
6921  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6922set dummy ${ac_tool_prefix}mt; ac_word=$2
6923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924$as_echo_n "checking for $ac_word... " >&6; }
6925if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6926  $as_echo_n "(cached) " >&6
6927else
6928  if test -n "$MANIFEST_TOOL"; then
6929  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6930else
6931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932for as_dir in $PATH
6933do
6934  IFS=$as_save_IFS
6935  test -z "$as_dir" && as_dir=.
6936    for ac_exec_ext in '' $ac_executable_extensions; do
6937  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940    break 2
6941  fi
6942done
6943  done
6944IFS=$as_save_IFS
6945
6946fi
6947fi
6948MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6949if test -n "$MANIFEST_TOOL"; then
6950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6951$as_echo "$MANIFEST_TOOL" >&6; }
6952else
6953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954$as_echo "no" >&6; }
6955fi
6956
6957
6958fi
6959if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6960  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6961  # Extract the first word of "mt", so it can be a program name with args.
6962set dummy mt; ac_word=$2
6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964$as_echo_n "checking for $ac_word... " >&6; }
6965if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6966  $as_echo_n "(cached) " >&6
6967else
6968  if test -n "$ac_ct_MANIFEST_TOOL"; then
6969  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6970else
6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972for as_dir in $PATH
6973do
6974  IFS=$as_save_IFS
6975  test -z "$as_dir" && as_dir=.
6976    for ac_exec_ext in '' $ac_executable_extensions; do
6977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980    break 2
6981  fi
6982done
6983  done
6984IFS=$as_save_IFS
6985
6986fi
6987fi
6988ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6989if test -n "$ac_ct_MANIFEST_TOOL"; then
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6991$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6992else
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994$as_echo "no" >&6; }
6995fi
6996
6997  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6998    MANIFEST_TOOL=":"
6999  else
7000    case $cross_compiling:$ac_tool_warned in
7001yes:)
7002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7004ac_tool_warned=yes ;;
7005esac
7006    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7007  fi
7008else
7009  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7010fi
7011
7012test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7014$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7015if ${lt_cv_path_mainfest_tool+:} false; then :
7016  $as_echo_n "(cached) " >&6
7017else
7018  lt_cv_path_mainfest_tool=no
7019  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7020  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7021  cat conftest.err >&5
7022  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7023    lt_cv_path_mainfest_tool=yes
7024  fi
7025  rm -f conftest*
7026fi
7027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7028$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7029if test yes != "$lt_cv_path_mainfest_tool"; then
7030  MANIFEST_TOOL=:
7031fi
7032
7033
7034
7035
7036
7037
7038  case $host_os in
7039    rhapsody* | darwin*)
7040    if test -n "$ac_tool_prefix"; then
7041  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7042set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044$as_echo_n "checking for $ac_word... " >&6; }
7045if ${ac_cv_prog_DSYMUTIL+:} false; then :
7046  $as_echo_n "(cached) " >&6
7047else
7048  if test -n "$DSYMUTIL"; then
7049  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7050else
7051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052for as_dir in $PATH
7053do
7054  IFS=$as_save_IFS
7055  test -z "$as_dir" && as_dir=.
7056    for ac_exec_ext in '' $ac_executable_extensions; do
7057  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060    break 2
7061  fi
7062done
7063  done
7064IFS=$as_save_IFS
7065
7066fi
7067fi
7068DSYMUTIL=$ac_cv_prog_DSYMUTIL
7069if test -n "$DSYMUTIL"; then
7070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7071$as_echo "$DSYMUTIL" >&6; }
7072else
7073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074$as_echo "no" >&6; }
7075fi
7076
7077
7078fi
7079if test -z "$ac_cv_prog_DSYMUTIL"; then
7080  ac_ct_DSYMUTIL=$DSYMUTIL
7081  # Extract the first word of "dsymutil", so it can be a program name with args.
7082set dummy dsymutil; ac_word=$2
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084$as_echo_n "checking for $ac_word... " >&6; }
7085if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7086  $as_echo_n "(cached) " >&6
7087else
7088  if test -n "$ac_ct_DSYMUTIL"; then
7089  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7090else
7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092for as_dir in $PATH
7093do
7094  IFS=$as_save_IFS
7095  test -z "$as_dir" && as_dir=.
7096    for ac_exec_ext in '' $ac_executable_extensions; do
7097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100    break 2
7101  fi
7102done
7103  done
7104IFS=$as_save_IFS
7105
7106fi
7107fi
7108ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7109if test -n "$ac_ct_DSYMUTIL"; then
7110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7111$as_echo "$ac_ct_DSYMUTIL" >&6; }
7112else
7113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114$as_echo "no" >&6; }
7115fi
7116
7117  if test "x$ac_ct_DSYMUTIL" = x; then
7118    DSYMUTIL=":"
7119  else
7120    case $cross_compiling:$ac_tool_warned in
7121yes:)
7122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7124ac_tool_warned=yes ;;
7125esac
7126    DSYMUTIL=$ac_ct_DSYMUTIL
7127  fi
7128else
7129  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7130fi
7131
7132    if test -n "$ac_tool_prefix"; then
7133  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7134set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136$as_echo_n "checking for $ac_word... " >&6; }
7137if ${ac_cv_prog_NMEDIT+:} false; then :
7138  $as_echo_n "(cached) " >&6
7139else
7140  if test -n "$NMEDIT"; then
7141  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7142else
7143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144for as_dir in $PATH
7145do
7146  IFS=$as_save_IFS
7147  test -z "$as_dir" && as_dir=.
7148    for ac_exec_ext in '' $ac_executable_extensions; do
7149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152    break 2
7153  fi
7154done
7155  done
7156IFS=$as_save_IFS
7157
7158fi
7159fi
7160NMEDIT=$ac_cv_prog_NMEDIT
7161if test -n "$NMEDIT"; then
7162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7163$as_echo "$NMEDIT" >&6; }
7164else
7165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166$as_echo "no" >&6; }
7167fi
7168
7169
7170fi
7171if test -z "$ac_cv_prog_NMEDIT"; then
7172  ac_ct_NMEDIT=$NMEDIT
7173  # Extract the first word of "nmedit", so it can be a program name with args.
7174set dummy nmedit; ac_word=$2
7175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176$as_echo_n "checking for $ac_word... " >&6; }
7177if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7178  $as_echo_n "(cached) " >&6
7179else
7180  if test -n "$ac_ct_NMEDIT"; then
7181  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7182else
7183as_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_prog_ac_ct_NMEDIT="nmedit"
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
7198fi
7199fi
7200ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7201if test -n "$ac_ct_NMEDIT"; then
7202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7203$as_echo "$ac_ct_NMEDIT" >&6; }
7204else
7205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206$as_echo "no" >&6; }
7207fi
7208
7209  if test "x$ac_ct_NMEDIT" = x; then
7210    NMEDIT=":"
7211  else
7212    case $cross_compiling:$ac_tool_warned in
7213yes:)
7214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216ac_tool_warned=yes ;;
7217esac
7218    NMEDIT=$ac_ct_NMEDIT
7219  fi
7220else
7221  NMEDIT="$ac_cv_prog_NMEDIT"
7222fi
7223
7224    if test -n "$ac_tool_prefix"; then
7225  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7226set dummy ${ac_tool_prefix}lipo; ac_word=$2
7227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228$as_echo_n "checking for $ac_word... " >&6; }
7229if ${ac_cv_prog_LIPO+:} false; then :
7230  $as_echo_n "(cached) " >&6
7231else
7232  if test -n "$LIPO"; then
7233  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7234else
7235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236for as_dir in $PATH
7237do
7238  IFS=$as_save_IFS
7239  test -z "$as_dir" && as_dir=.
7240    for ac_exec_ext in '' $ac_executable_extensions; do
7241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244    break 2
7245  fi
7246done
7247  done
7248IFS=$as_save_IFS
7249
7250fi
7251fi
7252LIPO=$ac_cv_prog_LIPO
7253if test -n "$LIPO"; then
7254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7255$as_echo "$LIPO" >&6; }
7256else
7257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258$as_echo "no" >&6; }
7259fi
7260
7261
7262fi
7263if test -z "$ac_cv_prog_LIPO"; then
7264  ac_ct_LIPO=$LIPO
7265  # Extract the first word of "lipo", so it can be a program name with args.
7266set dummy lipo; ac_word=$2
7267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268$as_echo_n "checking for $ac_word... " >&6; }
7269if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7270  $as_echo_n "(cached) " >&6
7271else
7272  if test -n "$ac_ct_LIPO"; then
7273  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7274else
7275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276for as_dir in $PATH
7277do
7278  IFS=$as_save_IFS
7279  test -z "$as_dir" && as_dir=.
7280    for ac_exec_ext in '' $ac_executable_extensions; do
7281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282    ac_cv_prog_ac_ct_LIPO="lipo"
7283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284    break 2
7285  fi
7286done
7287  done
7288IFS=$as_save_IFS
7289
7290fi
7291fi
7292ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7293if test -n "$ac_ct_LIPO"; then
7294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7295$as_echo "$ac_ct_LIPO" >&6; }
7296else
7297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298$as_echo "no" >&6; }
7299fi
7300
7301  if test "x$ac_ct_LIPO" = x; then
7302    LIPO=":"
7303  else
7304    case $cross_compiling:$ac_tool_warned in
7305yes:)
7306{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308ac_tool_warned=yes ;;
7309esac
7310    LIPO=$ac_ct_LIPO
7311  fi
7312else
7313  LIPO="$ac_cv_prog_LIPO"
7314fi
7315
7316    if test -n "$ac_tool_prefix"; then
7317  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7318set dummy ${ac_tool_prefix}otool; ac_word=$2
7319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320$as_echo_n "checking for $ac_word... " >&6; }
7321if ${ac_cv_prog_OTOOL+:} false; then :
7322  $as_echo_n "(cached) " >&6
7323else
7324  if test -n "$OTOOL"; then
7325  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7326else
7327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328for as_dir in $PATH
7329do
7330  IFS=$as_save_IFS
7331  test -z "$as_dir" && as_dir=.
7332    for ac_exec_ext in '' $ac_executable_extensions; do
7333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336    break 2
7337  fi
7338done
7339  done
7340IFS=$as_save_IFS
7341
7342fi
7343fi
7344OTOOL=$ac_cv_prog_OTOOL
7345if test -n "$OTOOL"; then
7346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7347$as_echo "$OTOOL" >&6; }
7348else
7349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350$as_echo "no" >&6; }
7351fi
7352
7353
7354fi
7355if test -z "$ac_cv_prog_OTOOL"; then
7356  ac_ct_OTOOL=$OTOOL
7357  # Extract the first word of "otool", so it can be a program name with args.
7358set dummy otool; ac_word=$2
7359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360$as_echo_n "checking for $ac_word... " >&6; }
7361if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7362  $as_echo_n "(cached) " >&6
7363else
7364  if test -n "$ac_ct_OTOOL"; then
7365  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7366else
7367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368for as_dir in $PATH
7369do
7370  IFS=$as_save_IFS
7371  test -z "$as_dir" && as_dir=.
7372    for ac_exec_ext in '' $ac_executable_extensions; do
7373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374    ac_cv_prog_ac_ct_OTOOL="otool"
7375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376    break 2
7377  fi
7378done
7379  done
7380IFS=$as_save_IFS
7381
7382fi
7383fi
7384ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7385if test -n "$ac_ct_OTOOL"; then
7386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7387$as_echo "$ac_ct_OTOOL" >&6; }
7388else
7389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390$as_echo "no" >&6; }
7391fi
7392
7393  if test "x$ac_ct_OTOOL" = x; then
7394    OTOOL=":"
7395  else
7396    case $cross_compiling:$ac_tool_warned in
7397yes:)
7398{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400ac_tool_warned=yes ;;
7401esac
7402    OTOOL=$ac_ct_OTOOL
7403  fi
7404else
7405  OTOOL="$ac_cv_prog_OTOOL"
7406fi
7407
7408    if test -n "$ac_tool_prefix"; then
7409  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7410set dummy ${ac_tool_prefix}otool64; ac_word=$2
7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412$as_echo_n "checking for $ac_word... " >&6; }
7413if ${ac_cv_prog_OTOOL64+:} false; then :
7414  $as_echo_n "(cached) " >&6
7415else
7416  if test -n "$OTOOL64"; then
7417  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7418else
7419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420for as_dir in $PATH
7421do
7422  IFS=$as_save_IFS
7423  test -z "$as_dir" && as_dir=.
7424    for ac_exec_ext in '' $ac_executable_extensions; do
7425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428    break 2
7429  fi
7430done
7431  done
7432IFS=$as_save_IFS
7433
7434fi
7435fi
7436OTOOL64=$ac_cv_prog_OTOOL64
7437if test -n "$OTOOL64"; then
7438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7439$as_echo "$OTOOL64" >&6; }
7440else
7441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442$as_echo "no" >&6; }
7443fi
7444
7445
7446fi
7447if test -z "$ac_cv_prog_OTOOL64"; then
7448  ac_ct_OTOOL64=$OTOOL64
7449  # Extract the first word of "otool64", so it can be a program name with args.
7450set dummy otool64; ac_word=$2
7451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452$as_echo_n "checking for $ac_word... " >&6; }
7453if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7454  $as_echo_n "(cached) " >&6
7455else
7456  if test -n "$ac_ct_OTOOL64"; then
7457  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7458else
7459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460for as_dir in $PATH
7461do
7462  IFS=$as_save_IFS
7463  test -z "$as_dir" && as_dir=.
7464    for ac_exec_ext in '' $ac_executable_extensions; do
7465  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466    ac_cv_prog_ac_ct_OTOOL64="otool64"
7467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468    break 2
7469  fi
7470done
7471  done
7472IFS=$as_save_IFS
7473
7474fi
7475fi
7476ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7477if test -n "$ac_ct_OTOOL64"; then
7478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7479$as_echo "$ac_ct_OTOOL64" >&6; }
7480else
7481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482$as_echo "no" >&6; }
7483fi
7484
7485  if test "x$ac_ct_OTOOL64" = x; then
7486    OTOOL64=":"
7487  else
7488    case $cross_compiling:$ac_tool_warned in
7489yes:)
7490{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492ac_tool_warned=yes ;;
7493esac
7494    OTOOL64=$ac_ct_OTOOL64
7495  fi
7496else
7497  OTOOL64="$ac_cv_prog_OTOOL64"
7498fi
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7527$as_echo_n "checking for -single_module linker flag... " >&6; }
7528if ${lt_cv_apple_cc_single_mod+:} false; then :
7529  $as_echo_n "(cached) " >&6
7530else
7531  lt_cv_apple_cc_single_mod=no
7532      if test -z "$LT_MULTI_MODULE"; then
7533	# By default we will add the -single_module flag. You can override
7534	# by either setting the environment variable LT_MULTI_MODULE
7535	# non-empty at configure time, or by adding -multi_module to the
7536	# link flags.
7537	rm -rf libconftest.dylib*
7538	echo "int foo(void){return 1;}" > conftest.c
7539	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7540-dynamiclib -Wl,-single_module conftest.c" >&5
7541	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7542	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7543        _lt_result=$?
7544	# If there is a non-empty error log, and "single_module"
7545	# appears in it, assume the flag caused a linker warning
7546        if test -s conftest.err && $GREP single_module conftest.err; then
7547	  cat conftest.err >&5
7548	# Otherwise, if the output was created with a 0 exit code from
7549	# the compiler, it worked.
7550	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7551	  lt_cv_apple_cc_single_mod=yes
7552	else
7553	  cat conftest.err >&5
7554	fi
7555	rm -rf libconftest.dylib*
7556	rm -f conftest.*
7557      fi
7558fi
7559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7560$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7561
7562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7563$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7564if ${lt_cv_ld_exported_symbols_list+:} false; then :
7565  $as_echo_n "(cached) " >&6
7566else
7567  lt_cv_ld_exported_symbols_list=no
7568      save_LDFLAGS=$LDFLAGS
7569      echo "_main" > conftest.sym
7570      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572/* end confdefs.h.  */
7573
7574int
7575main ()
7576{
7577
7578  ;
7579  return 0;
7580}
7581_ACEOF
7582if ac_fn_c_try_link "$LINENO"; then :
7583  lt_cv_ld_exported_symbols_list=yes
7584else
7585  lt_cv_ld_exported_symbols_list=no
7586fi
7587rm -f core conftest.err conftest.$ac_objext \
7588    conftest$ac_exeext conftest.$ac_ext
7589	LDFLAGS=$save_LDFLAGS
7590
7591fi
7592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7593$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7594
7595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7596$as_echo_n "checking for -force_load linker flag... " >&6; }
7597if ${lt_cv_ld_force_load+:} false; then :
7598  $as_echo_n "(cached) " >&6
7599else
7600  lt_cv_ld_force_load=no
7601      cat > conftest.c << _LT_EOF
7602int forced_loaded() { return 2;}
7603_LT_EOF
7604      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7605      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7606      echo "$AR cru libconftest.a conftest.o" >&5
7607      $AR cru libconftest.a conftest.o 2>&5
7608      echo "$RANLIB libconftest.a" >&5
7609      $RANLIB libconftest.a 2>&5
7610      cat > conftest.c << _LT_EOF
7611int main() { return 0;}
7612_LT_EOF
7613      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7614      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7615      _lt_result=$?
7616      if test -s conftest.err && $GREP force_load conftest.err; then
7617	cat conftest.err >&5
7618      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7619	lt_cv_ld_force_load=yes
7620      else
7621	cat conftest.err >&5
7622      fi
7623        rm -f conftest.err libconftest.a conftest conftest.c
7624        rm -rf conftest.dSYM
7625
7626fi
7627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7628$as_echo "$lt_cv_ld_force_load" >&6; }
7629    case $host_os in
7630    rhapsody* | darwin1.[012])
7631      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7632    darwin1.*)
7633      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7634    darwin*) # darwin 5.x on
7635      # if running on 10.5 or later, the deployment target defaults
7636      # to the OS version, if on x86, and 10.4, the deployment
7637      # target defaults to 10.4. Don't you love it?
7638      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7639	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7640	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7641	10.[012][,.]*)
7642	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7643	10.*)
7644	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7645      esac
7646    ;;
7647  esac
7648    if test yes = "$lt_cv_apple_cc_single_mod"; then
7649      _lt_dar_single_mod='$single_module'
7650    fi
7651    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7652      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7653    else
7654      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7655    fi
7656    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7657      _lt_dsymutil='~$DSYMUTIL $lib || :'
7658    else
7659      _lt_dsymutil=
7660    fi
7661    ;;
7662  esac
7663
7664# func_munge_path_list VARIABLE PATH
7665# -----------------------------------
7666# VARIABLE is name of variable containing _space_ separated list of
7667# directories to be munged by the contents of PATH, which is string
7668# having a format:
7669# "DIR[:DIR]:"
7670#       string "DIR[ DIR]" will be prepended to VARIABLE
7671# ":DIR[:DIR]"
7672#       string "DIR[ DIR]" will be appended to VARIABLE
7673# "DIRP[:DIRP]::[DIRA:]DIRA"
7674#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7675#       "DIRA[ DIRA]" will be appended to VARIABLE
7676# "DIR[:DIR]"
7677#       VARIABLE will be replaced by "DIR[ DIR]"
7678func_munge_path_list ()
7679{
7680    case x$2 in
7681    x)
7682        ;;
7683    *:)
7684        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7685        ;;
7686    x:*)
7687        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7688        ;;
7689    *::*)
7690        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7691        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7692        ;;
7693    *)
7694        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7695        ;;
7696    esac
7697}
7698
7699ac_ext=c
7700ac_cpp='$CPP $CPPFLAGS'
7701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703ac_compiler_gnu=$ac_cv_c_compiler_gnu
7704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7705$as_echo_n "checking how to run the C preprocessor... " >&6; }
7706# On Suns, sometimes $CPP names a directory.
7707if test -n "$CPP" && test -d "$CPP"; then
7708  CPP=
7709fi
7710if test -z "$CPP"; then
7711  if ${ac_cv_prog_CPP+:} false; then :
7712  $as_echo_n "(cached) " >&6
7713else
7714      # Double quotes because CPP needs to be expanded
7715    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7716    do
7717      ac_preproc_ok=false
7718for ac_c_preproc_warn_flag in '' yes
7719do
7720  # Use a header file that comes with gcc, so configuring glibc
7721  # with a fresh cross-compiler works.
7722  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7723  # <limits.h> exists even on freestanding compilers.
7724  # On the NeXT, cc -E runs the code through the compiler's parser,
7725  # not just through cpp. "Syntax error" is here to catch this case.
7726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7727/* end confdefs.h.  */
7728#ifdef __STDC__
7729# include <limits.h>
7730#else
7731# include <assert.h>
7732#endif
7733		     Syntax error
7734_ACEOF
7735if ac_fn_c_try_cpp "$LINENO"; then :
7736
7737else
7738  # Broken: fails on valid input.
7739continue
7740fi
7741rm -f conftest.err conftest.i conftest.$ac_ext
7742
7743  # OK, works on sane cases.  Now check whether nonexistent headers
7744  # can be detected and how.
7745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746/* end confdefs.h.  */
7747#include <ac_nonexistent.h>
7748_ACEOF
7749if ac_fn_c_try_cpp "$LINENO"; then :
7750  # Broken: success on invalid input.
7751continue
7752else
7753  # Passes both tests.
7754ac_preproc_ok=:
7755break
7756fi
7757rm -f conftest.err conftest.i conftest.$ac_ext
7758
7759done
7760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7761rm -f conftest.i conftest.err conftest.$ac_ext
7762if $ac_preproc_ok; then :
7763  break
7764fi
7765
7766    done
7767    ac_cv_prog_CPP=$CPP
7768
7769fi
7770  CPP=$ac_cv_prog_CPP
7771else
7772  ac_cv_prog_CPP=$CPP
7773fi
7774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7775$as_echo "$CPP" >&6; }
7776ac_preproc_ok=false
7777for ac_c_preproc_warn_flag in '' yes
7778do
7779  # Use a header file that comes with gcc, so configuring glibc
7780  # with a fresh cross-compiler works.
7781  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7782  # <limits.h> exists even on freestanding compilers.
7783  # On the NeXT, cc -E runs the code through the compiler's parser,
7784  # not just through cpp. "Syntax error" is here to catch this case.
7785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7786/* end confdefs.h.  */
7787#ifdef __STDC__
7788# include <limits.h>
7789#else
7790# include <assert.h>
7791#endif
7792		     Syntax error
7793_ACEOF
7794if ac_fn_c_try_cpp "$LINENO"; then :
7795
7796else
7797  # Broken: fails on valid input.
7798continue
7799fi
7800rm -f conftest.err conftest.i conftest.$ac_ext
7801
7802  # OK, works on sane cases.  Now check whether nonexistent headers
7803  # can be detected and how.
7804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7805/* end confdefs.h.  */
7806#include <ac_nonexistent.h>
7807_ACEOF
7808if ac_fn_c_try_cpp "$LINENO"; then :
7809  # Broken: success on invalid input.
7810continue
7811else
7812  # Passes both tests.
7813ac_preproc_ok=:
7814break
7815fi
7816rm -f conftest.err conftest.i conftest.$ac_ext
7817
7818done
7819# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7820rm -f conftest.i conftest.err conftest.$ac_ext
7821if $ac_preproc_ok; then :
7822
7823else
7824  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7826as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7827See \`config.log' for more details" "$LINENO" 5; }
7828fi
7829
7830ac_ext=c
7831ac_cpp='$CPP $CPPFLAGS'
7832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7834ac_compiler_gnu=$ac_cv_c_compiler_gnu
7835
7836
7837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7838$as_echo_n "checking for ANSI C header files... " >&6; }
7839if ${ac_cv_header_stdc+:} false; then :
7840  $as_echo_n "(cached) " >&6
7841else
7842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7843/* end confdefs.h.  */
7844#include <stdlib.h>
7845#include <stdarg.h>
7846#include <string.h>
7847#include <float.h>
7848
7849int
7850main ()
7851{
7852
7853  ;
7854  return 0;
7855}
7856_ACEOF
7857if ac_fn_c_try_compile "$LINENO"; then :
7858  ac_cv_header_stdc=yes
7859else
7860  ac_cv_header_stdc=no
7861fi
7862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7863
7864if test $ac_cv_header_stdc = yes; then
7865  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7866  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867/* end confdefs.h.  */
7868#include <string.h>
7869
7870_ACEOF
7871if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7872  $EGREP "memchr" >/dev/null 2>&1; then :
7873
7874else
7875  ac_cv_header_stdc=no
7876fi
7877rm -f conftest*
7878
7879fi
7880
7881if test $ac_cv_header_stdc = yes; then
7882  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7883  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884/* end confdefs.h.  */
7885#include <stdlib.h>
7886
7887_ACEOF
7888if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7889  $EGREP "free" >/dev/null 2>&1; then :
7890
7891else
7892  ac_cv_header_stdc=no
7893fi
7894rm -f conftest*
7895
7896fi
7897
7898if test $ac_cv_header_stdc = yes; then
7899  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7900  if test "$cross_compiling" = yes; then :
7901  :
7902else
7903  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904/* end confdefs.h.  */
7905#include <ctype.h>
7906#include <stdlib.h>
7907#if ((' ' & 0x0FF) == 0x020)
7908# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7909# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7910#else
7911# define ISLOWER(c) \
7912		   (('a' <= (c) && (c) <= 'i') \
7913		     || ('j' <= (c) && (c) <= 'r') \
7914		     || ('s' <= (c) && (c) <= 'z'))
7915# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7916#endif
7917
7918#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7919int
7920main ()
7921{
7922  int i;
7923  for (i = 0; i < 256; i++)
7924    if (XOR (islower (i), ISLOWER (i))
7925	|| toupper (i) != TOUPPER (i))
7926      return 2;
7927  return 0;
7928}
7929_ACEOF
7930if ac_fn_c_try_run "$LINENO"; then :
7931
7932else
7933  ac_cv_header_stdc=no
7934fi
7935rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7936  conftest.$ac_objext conftest.beam conftest.$ac_ext
7937fi
7938
7939fi
7940fi
7941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7942$as_echo "$ac_cv_header_stdc" >&6; }
7943if test $ac_cv_header_stdc = yes; then
7944
7945$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7946
7947fi
7948
7949# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7950for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7951		  inttypes.h stdint.h unistd.h
7952do :
7953  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7954ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7955"
7956if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7957  cat >>confdefs.h <<_ACEOF
7958#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7959_ACEOF
7960
7961fi
7962
7963done
7964
7965
7966for ac_header in dlfcn.h
7967do :
7968  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7969"
7970if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7971  cat >>confdefs.h <<_ACEOF
7972#define HAVE_DLFCN_H 1
7973_ACEOF
7974
7975fi
7976
7977done
7978
7979
7980
7981
7982
7983# Set options
7984
7985
7986
7987        enable_dlopen=no
7988
7989
7990  enable_win32_dll=no
7991
7992
7993            # Check whether --enable-shared was given.
7994if test "${enable_shared+set}" = set; then :
7995  enableval=$enable_shared; p=${PACKAGE-default}
7996    case $enableval in
7997    yes) enable_shared=yes ;;
7998    no) enable_shared=no ;;
7999    *)
8000      enable_shared=no
8001      # Look at the argument we got.  We use all the common list separators.
8002      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8003      for pkg in $enableval; do
8004	IFS=$lt_save_ifs
8005	if test "X$pkg" = "X$p"; then
8006	  enable_shared=yes
8007	fi
8008      done
8009      IFS=$lt_save_ifs
8010      ;;
8011    esac
8012else
8013  enable_shared=yes
8014fi
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026# Check whether --with-pic was given.
8027if test "${with_pic+set}" = set; then :
8028  withval=$with_pic; lt_p=${PACKAGE-default}
8029    case $withval in
8030    yes|no) pic_mode=$withval ;;
8031    *)
8032      pic_mode=default
8033      # Look at the argument we got.  We use all the common list separators.
8034      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8035      for lt_pkg in $withval; do
8036	IFS=$lt_save_ifs
8037	if test "X$lt_pkg" = "X$lt_p"; then
8038	  pic_mode=yes
8039	fi
8040      done
8041      IFS=$lt_save_ifs
8042      ;;
8043    esac
8044else
8045  pic_mode=default
8046fi
8047
8048
8049
8050
8051
8052
8053
8054
8055  # Check whether --enable-fast-install was given.
8056if test "${enable_fast_install+set}" = set; then :
8057  enableval=$enable_fast_install; p=${PACKAGE-default}
8058    case $enableval in
8059    yes) enable_fast_install=yes ;;
8060    no) enable_fast_install=no ;;
8061    *)
8062      enable_fast_install=no
8063      # Look at the argument we got.  We use all the common list separators.
8064      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8065      for pkg in $enableval; do
8066	IFS=$lt_save_ifs
8067	if test "X$pkg" = "X$p"; then
8068	  enable_fast_install=yes
8069	fi
8070      done
8071      IFS=$lt_save_ifs
8072      ;;
8073    esac
8074else
8075  enable_fast_install=yes
8076fi
8077
8078
8079
8080
8081
8082
8083
8084
8085  shared_archive_member_spec=
8086case $host,$enable_shared in
8087power*-*-aix[5-9]*,yes)
8088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8089$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8090
8091# Check whether --with-aix-soname was given.
8092if test "${with_aix_soname+set}" = set; then :
8093  withval=$with_aix_soname; case $withval in
8094    aix|svr4|both)
8095      ;;
8096    *)
8097      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8098      ;;
8099    esac
8100    lt_cv_with_aix_soname=$with_aix_soname
8101else
8102  if ${lt_cv_with_aix_soname+:} false; then :
8103  $as_echo_n "(cached) " >&6
8104else
8105  lt_cv_with_aix_soname=aix
8106fi
8107
8108    with_aix_soname=$lt_cv_with_aix_soname
8109fi
8110
8111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8112$as_echo "$with_aix_soname" >&6; }
8113  if test aix != "$with_aix_soname"; then
8114    # For the AIX way of multilib, we name the shared archive member
8115    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8116    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8117    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8118    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8119    if test 64 = "${OBJECT_MODE-32}"; then
8120      shared_archive_member_spec=shr_64
8121    else
8122      shared_archive_member_spec=shr
8123    fi
8124  fi
8125  ;;
8126*)
8127  with_aix_soname=aix
8128  ;;
8129esac
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140# This can be used to rebuild libtool when needed
8141LIBTOOL_DEPS=$ltmain
8142
8143# Always use our own libtool.
8144LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175test -z "$LN_S" && LN_S="ln -s"
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190if test -n "${ZSH_VERSION+set}"; then
8191   setopt NO_GLOB_SUBST
8192fi
8193
8194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8195$as_echo_n "checking for objdir... " >&6; }
8196if ${lt_cv_objdir+:} false; then :
8197  $as_echo_n "(cached) " >&6
8198else
8199  rm -f .libs 2>/dev/null
8200mkdir .libs 2>/dev/null
8201if test -d .libs; then
8202  lt_cv_objdir=.libs
8203else
8204  # MS-DOS does not allow filenames that begin with a dot.
8205  lt_cv_objdir=_libs
8206fi
8207rmdir .libs 2>/dev/null
8208fi
8209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8210$as_echo "$lt_cv_objdir" >&6; }
8211objdir=$lt_cv_objdir
8212
8213
8214
8215
8216
8217cat >>confdefs.h <<_ACEOF
8218#define LT_OBJDIR "$lt_cv_objdir/"
8219_ACEOF
8220
8221
8222
8223
8224case $host_os in
8225aix3*)
8226  # AIX sometimes has problems with the GCC collect2 program.  For some
8227  # reason, if we set the COLLECT_NAMES environment variable, the problems
8228  # vanish in a puff of smoke.
8229  if test set != "${COLLECT_NAMES+set}"; then
8230    COLLECT_NAMES=
8231    export COLLECT_NAMES
8232  fi
8233  ;;
8234esac
8235
8236# Global variables:
8237ofile=libtool
8238can_build_shared=yes
8239
8240# All known linkers require a '.a' archive for static linking (except MSVC,
8241# which needs '.lib').
8242libext=a
8243
8244with_gnu_ld=$lt_cv_prog_gnu_ld
8245
8246old_CC=$CC
8247old_CFLAGS=$CFLAGS
8248
8249# Set sane defaults for various variables
8250test -z "$CC" && CC=cc
8251test -z "$LTCC" && LTCC=$CC
8252test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8253test -z "$LD" && LD=ld
8254test -z "$ac_objext" && ac_objext=o
8255
8256func_cc_basename $compiler
8257cc_basename=$func_cc_basename_result
8258
8259
8260# Only perform the check for file, if the check method requires it
8261test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262case $deplibs_check_method in
8263file_magic*)
8264  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267if ${lt_cv_path_MAGIC_CMD+:} false; then :
8268  $as_echo_n "(cached) " >&6
8269else
8270  case $MAGIC_CMD in
8271[\\/*] |  ?:[\\/]*)
8272  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8273  ;;
8274*)
8275  lt_save_MAGIC_CMD=$MAGIC_CMD
8276  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8277  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278  for ac_dir in $ac_dummy; do
8279    IFS=$lt_save_ifs
8280    test -z "$ac_dir" && ac_dir=.
8281    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8282      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8283      if test -n "$file_magic_test_file"; then
8284	case $deplibs_check_method in
8285	"file_magic "*)
8286	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8288	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289	    $EGREP "$file_magic_regex" > /dev/null; then
8290	    :
8291	  else
8292	    cat <<_LT_EOF 1>&2
8293
8294*** Warning: the command libtool uses to detect shared libraries,
8295*** $file_magic_cmd, produces output that libtool cannot recognize.
8296*** The result is that libtool may fail to recognize shared libraries
8297*** as such.  This will affect the creation of libtool libraries that
8298*** depend on shared libraries, but programs linked with such libtool
8299*** libraries will work regardless of this problem.  Nevertheless, you
8300*** may want to report the problem to your system manager and/or to
8301*** bug-libtool@gnu.org
8302
8303_LT_EOF
8304	  fi ;;
8305	esac
8306      fi
8307      break
8308    fi
8309  done
8310  IFS=$lt_save_ifs
8311  MAGIC_CMD=$lt_save_MAGIC_CMD
8312  ;;
8313esac
8314fi
8315
8316MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8317if test -n "$MAGIC_CMD"; then
8318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319$as_echo "$MAGIC_CMD" >&6; }
8320else
8321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322$as_echo "no" >&6; }
8323fi
8324
8325
8326
8327
8328
8329if test -z "$lt_cv_path_MAGIC_CMD"; then
8330  if test -n "$ac_tool_prefix"; then
8331    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332$as_echo_n "checking for file... " >&6; }
8333if ${lt_cv_path_MAGIC_CMD+:} false; then :
8334  $as_echo_n "(cached) " >&6
8335else
8336  case $MAGIC_CMD in
8337[\\/*] |  ?:[\\/]*)
8338  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8339  ;;
8340*)
8341  lt_save_MAGIC_CMD=$MAGIC_CMD
8342  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8343  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344  for ac_dir in $ac_dummy; do
8345    IFS=$lt_save_ifs
8346    test -z "$ac_dir" && ac_dir=.
8347    if test -f "$ac_dir/file"; then
8348      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8349      if test -n "$file_magic_test_file"; then
8350	case $deplibs_check_method in
8351	"file_magic "*)
8352	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8354	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355	    $EGREP "$file_magic_regex" > /dev/null; then
8356	    :
8357	  else
8358	    cat <<_LT_EOF 1>&2
8359
8360*** Warning: the command libtool uses to detect shared libraries,
8361*** $file_magic_cmd, produces output that libtool cannot recognize.
8362*** The result is that libtool may fail to recognize shared libraries
8363*** as such.  This will affect the creation of libtool libraries that
8364*** depend on shared libraries, but programs linked with such libtool
8365*** libraries will work regardless of this problem.  Nevertheless, you
8366*** may want to report the problem to your system manager and/or to
8367*** bug-libtool@gnu.org
8368
8369_LT_EOF
8370	  fi ;;
8371	esac
8372      fi
8373      break
8374    fi
8375  done
8376  IFS=$lt_save_ifs
8377  MAGIC_CMD=$lt_save_MAGIC_CMD
8378  ;;
8379esac
8380fi
8381
8382MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8383if test -n "$MAGIC_CMD"; then
8384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385$as_echo "$MAGIC_CMD" >&6; }
8386else
8387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388$as_echo "no" >&6; }
8389fi
8390
8391
8392  else
8393    MAGIC_CMD=:
8394  fi
8395fi
8396
8397  fi
8398  ;;
8399esac
8400
8401# Use C for the default configuration in the libtool script
8402
8403lt_save_CC=$CC
8404ac_ext=c
8405ac_cpp='$CPP $CPPFLAGS'
8406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411# Source file extension for C test sources.
8412ac_ext=c
8413
8414# Object file extension for compiled C test sources.
8415objext=o
8416objext=$objext
8417
8418# Code to be used in simple compile tests
8419lt_simple_compile_test_code="int some_variable = 0;"
8420
8421# Code to be used in simple link tests
8422lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430# If no C compiler was specified, use CC.
8431LTCC=${LTCC-"$CC"}
8432
8433# If no C compiler flags were specified, use CFLAGS.
8434LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436# Allow CC to be a program name with arguments.
8437compiler=$CC
8438
8439# Save the default compiler, since it gets overwritten when the other
8440# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441compiler_DEFAULT=$CC
8442
8443# save warnings/boilerplate of simple test code
8444ac_outfile=conftest.$ac_objext
8445echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447_lt_compiler_boilerplate=`cat conftest.err`
8448$RM conftest*
8449
8450ac_outfile=conftest.$ac_objext
8451echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453_lt_linker_boilerplate=`cat conftest.err`
8454$RM -r conftest*
8455
8456
8457if test -n "$compiler"; then
8458
8459lt_prog_compiler_no_builtin_flag=
8460
8461if test yes = "$GCC"; then
8462  case $cc_basename in
8463  nvcc*)
8464    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8465  *)
8466    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8467  esac
8468
8469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8470$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8471if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8472  $as_echo_n "(cached) " >&6
8473else
8474  lt_cv_prog_compiler_rtti_exceptions=no
8475   ac_outfile=conftest.$ac_objext
8476   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8477   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8478   # Insert the option either (1) after the last *FLAGS variable, or
8479   # (2) before a word containing "conftest.", or (3) at the end.
8480   # Note that $ac_compile itself does not contain backslashes and begins
8481   # with a dollar sign (not a hyphen), so the echo should work correctly.
8482   # The option is referenced via a variable to avoid confusing sed.
8483   lt_compile=`echo "$ac_compile" | $SED \
8484   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8485   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8486   -e 's:$: $lt_compiler_flag:'`
8487   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8488   (eval "$lt_compile" 2>conftest.err)
8489   ac_status=$?
8490   cat conftest.err >&5
8491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492   if (exit $ac_status) && test -s "$ac_outfile"; then
8493     # The compiler can only warn and ignore the option if not recognized
8494     # So say no if there are warnings other than the usual output.
8495     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8496     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8497     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8498       lt_cv_prog_compiler_rtti_exceptions=yes
8499     fi
8500   fi
8501   $RM conftest*
8502
8503fi
8504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8505$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8506
8507if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8508    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8509else
8510    :
8511fi
8512
8513fi
8514
8515
8516
8517
8518
8519
8520  lt_prog_compiler_wl=
8521lt_prog_compiler_pic=
8522lt_prog_compiler_static=
8523
8524
8525  if test yes = "$GCC"; then
8526    lt_prog_compiler_wl='-Wl,'
8527    lt_prog_compiler_static='-static'
8528
8529    case $host_os in
8530      aix*)
8531      # All AIX code is PIC.
8532      if test ia64 = "$host_cpu"; then
8533	# AIX 5 now supports IA64 processor
8534	lt_prog_compiler_static='-Bstatic'
8535      fi
8536      lt_prog_compiler_pic='-fPIC'
8537      ;;
8538
8539    amigaos*)
8540      case $host_cpu in
8541      powerpc)
8542            # see comment about AmigaOS4 .so support
8543            lt_prog_compiler_pic='-fPIC'
8544        ;;
8545      m68k)
8546            # FIXME: we need at least 68020 code to build shared libraries, but
8547            # adding the '-m68020' flag to GCC prevents building anything better,
8548            # like '-m68040'.
8549            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8550        ;;
8551      esac
8552      ;;
8553
8554    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8555      # PIC is the default for these OSes.
8556      ;;
8557
8558    mingw* | cygwin* | pw32* | os2* | cegcc*)
8559      # This hack is so that the source file can tell whether it is being
8560      # built for inclusion in a dll (and should export symbols for example).
8561      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8562      # (--disable-auto-import) libraries
8563      lt_prog_compiler_pic='-DDLL_EXPORT'
8564      case $host_os in
8565      os2*)
8566	lt_prog_compiler_static='$wl-static'
8567	;;
8568      esac
8569      ;;
8570
8571    darwin* | rhapsody*)
8572      # PIC is the default on this platform
8573      # Common symbols not allowed in MH_DYLIB files
8574      lt_prog_compiler_pic='-fno-common'
8575      ;;
8576
8577    haiku*)
8578      # PIC is the default for Haiku.
8579      # The "-static" flag exists, but is broken.
8580      lt_prog_compiler_static=
8581      ;;
8582
8583    hpux*)
8584      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8585      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8586      # sets the default TLS model and affects inlining.
8587      case $host_cpu in
8588      hppa*64*)
8589	# +Z the default
8590	;;
8591      *)
8592	lt_prog_compiler_pic='-fPIC'
8593	;;
8594      esac
8595      ;;
8596
8597    interix[3-9]*)
8598      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8599      # Instead, we relocate shared libraries at runtime.
8600      ;;
8601
8602    msdosdjgpp*)
8603      # Just because we use GCC doesn't mean we suddenly get shared libraries
8604      # on systems that don't support them.
8605      lt_prog_compiler_can_build_shared=no
8606      enable_shared=no
8607      ;;
8608
8609    *nto* | *qnx*)
8610      # QNX uses GNU C++, but need to define -shared option too, otherwise
8611      # it will coredump.
8612      lt_prog_compiler_pic='-fPIC -shared'
8613      ;;
8614
8615    sysv4*MP*)
8616      if test -d /usr/nec; then
8617	lt_prog_compiler_pic=-Kconform_pic
8618      fi
8619      ;;
8620
8621    *)
8622      lt_prog_compiler_pic='-fPIC'
8623      ;;
8624    esac
8625
8626    case $cc_basename in
8627    nvcc*) # Cuda Compiler Driver 2.2
8628      lt_prog_compiler_wl='-Xlinker '
8629      if test -n "$lt_prog_compiler_pic"; then
8630        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8631      fi
8632      ;;
8633    esac
8634  else
8635    # PORTME Check for flag to pass linker flags through the system compiler.
8636    case $host_os in
8637    aix*)
8638      lt_prog_compiler_wl='-Wl,'
8639      if test ia64 = "$host_cpu"; then
8640	# AIX 5 now supports IA64 processor
8641	lt_prog_compiler_static='-Bstatic'
8642      else
8643	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8644      fi
8645      ;;
8646
8647    darwin* | rhapsody*)
8648      # PIC is the default on this platform
8649      # Common symbols not allowed in MH_DYLIB files
8650      lt_prog_compiler_pic='-fno-common'
8651      case $cc_basename in
8652      nagfor*)
8653        # NAG Fortran compiler
8654        lt_prog_compiler_wl='-Wl,-Wl,,'
8655        lt_prog_compiler_pic='-PIC'
8656        lt_prog_compiler_static='-Bstatic'
8657        ;;
8658      esac
8659      ;;
8660
8661    mingw* | cygwin* | pw32* | os2* | cegcc*)
8662      # This hack is so that the source file can tell whether it is being
8663      # built for inclusion in a dll (and should export symbols for example).
8664      lt_prog_compiler_pic='-DDLL_EXPORT'
8665      case $host_os in
8666      os2*)
8667	lt_prog_compiler_static='$wl-static'
8668	;;
8669      esac
8670      ;;
8671
8672    hpux9* | hpux10* | hpux11*)
8673      lt_prog_compiler_wl='-Wl,'
8674      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8675      # not for PA HP-UX.
8676      case $host_cpu in
8677      hppa*64*|ia64*)
8678	# +Z the default
8679	;;
8680      *)
8681	lt_prog_compiler_pic='+Z'
8682	;;
8683      esac
8684      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8685      lt_prog_compiler_static='$wl-a ${wl}archive'
8686      ;;
8687
8688    irix5* | irix6* | nonstopux*)
8689      lt_prog_compiler_wl='-Wl,'
8690      # PIC (with -KPIC) is the default.
8691      lt_prog_compiler_static='-non_shared'
8692      ;;
8693
8694    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8695      case $cc_basename in
8696      # old Intel for x86_64, which still supported -KPIC.
8697      ecc*)
8698	lt_prog_compiler_wl='-Wl,'
8699	lt_prog_compiler_pic='-KPIC'
8700	lt_prog_compiler_static='-static'
8701        ;;
8702      # icc used to be incompatible with GCC.
8703      # ICC 10 doesn't accept -KPIC any more.
8704      icc* | ifort*)
8705	lt_prog_compiler_wl='-Wl,'
8706	lt_prog_compiler_pic='-fPIC'
8707	lt_prog_compiler_static='-static'
8708        ;;
8709      # Lahey Fortran 8.1.
8710      lf95*)
8711	lt_prog_compiler_wl='-Wl,'
8712	lt_prog_compiler_pic='--shared'
8713	lt_prog_compiler_static='--static'
8714	;;
8715      nagfor*)
8716	# NAG Fortran compiler
8717	lt_prog_compiler_wl='-Wl,-Wl,,'
8718	lt_prog_compiler_pic='-PIC'
8719	lt_prog_compiler_static='-Bstatic'
8720	;;
8721      tcc*)
8722	# Fabrice Bellard et al's Tiny C Compiler
8723	lt_prog_compiler_wl='-Wl,'
8724	lt_prog_compiler_pic='-fPIC'
8725	lt_prog_compiler_static='-static'
8726	;;
8727      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8728        # Portland Group compilers (*not* the Pentium gcc compiler,
8729	# which looks to be a dead project)
8730	lt_prog_compiler_wl='-Wl,'
8731	lt_prog_compiler_pic='-fpic'
8732	lt_prog_compiler_static='-Bstatic'
8733        ;;
8734      ccc*)
8735        lt_prog_compiler_wl='-Wl,'
8736        # All Alpha code is PIC.
8737        lt_prog_compiler_static='-non_shared'
8738        ;;
8739      xl* | bgxl* | bgf* | mpixl*)
8740	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8741	lt_prog_compiler_wl='-Wl,'
8742	lt_prog_compiler_pic='-qpic'
8743	lt_prog_compiler_static='-qstaticlink'
8744	;;
8745      *)
8746	case `$CC -V 2>&1 | sed 5q` in
8747	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8748	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8749	  lt_prog_compiler_pic='-KPIC'
8750	  lt_prog_compiler_static='-Bstatic'
8751	  lt_prog_compiler_wl=''
8752	  ;;
8753	*Sun\ F* | *Sun*Fortran*)
8754	  lt_prog_compiler_pic='-KPIC'
8755	  lt_prog_compiler_static='-Bstatic'
8756	  lt_prog_compiler_wl='-Qoption ld '
8757	  ;;
8758	*Sun\ C*)
8759	  # Sun C 5.9
8760	  lt_prog_compiler_pic='-KPIC'
8761	  lt_prog_compiler_static='-Bstatic'
8762	  lt_prog_compiler_wl='-Wl,'
8763	  ;;
8764        *Intel*\ [CF]*Compiler*)
8765	  lt_prog_compiler_wl='-Wl,'
8766	  lt_prog_compiler_pic='-fPIC'
8767	  lt_prog_compiler_static='-static'
8768	  ;;
8769	*Portland\ Group*)
8770	  lt_prog_compiler_wl='-Wl,'
8771	  lt_prog_compiler_pic='-fpic'
8772	  lt_prog_compiler_static='-Bstatic'
8773	  ;;
8774	esac
8775	;;
8776      esac
8777      ;;
8778
8779    newsos6)
8780      lt_prog_compiler_pic='-KPIC'
8781      lt_prog_compiler_static='-Bstatic'
8782      ;;
8783
8784    *nto* | *qnx*)
8785      # QNX uses GNU C++, but need to define -shared option too, otherwise
8786      # it will coredump.
8787      lt_prog_compiler_pic='-fPIC -shared'
8788      ;;
8789
8790    osf3* | osf4* | osf5*)
8791      lt_prog_compiler_wl='-Wl,'
8792      # All OSF/1 code is PIC.
8793      lt_prog_compiler_static='-non_shared'
8794      ;;
8795
8796    rdos*)
8797      lt_prog_compiler_static='-non_shared'
8798      ;;
8799
8800    solaris*)
8801      lt_prog_compiler_pic='-KPIC'
8802      lt_prog_compiler_static='-Bstatic'
8803      case $cc_basename in
8804      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8805	lt_prog_compiler_wl='-Qoption ld ';;
8806      *)
8807	lt_prog_compiler_wl='-Wl,';;
8808      esac
8809      ;;
8810
8811    sunos4*)
8812      lt_prog_compiler_wl='-Qoption ld '
8813      lt_prog_compiler_pic='-PIC'
8814      lt_prog_compiler_static='-Bstatic'
8815      ;;
8816
8817    sysv4 | sysv4.2uw2* | sysv4.3*)
8818      lt_prog_compiler_wl='-Wl,'
8819      lt_prog_compiler_pic='-KPIC'
8820      lt_prog_compiler_static='-Bstatic'
8821      ;;
8822
8823    sysv4*MP*)
8824      if test -d /usr/nec; then
8825	lt_prog_compiler_pic='-Kconform_pic'
8826	lt_prog_compiler_static='-Bstatic'
8827      fi
8828      ;;
8829
8830    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8831      lt_prog_compiler_wl='-Wl,'
8832      lt_prog_compiler_pic='-KPIC'
8833      lt_prog_compiler_static='-Bstatic'
8834      ;;
8835
8836    unicos*)
8837      lt_prog_compiler_wl='-Wl,'
8838      lt_prog_compiler_can_build_shared=no
8839      ;;
8840
8841    uts4*)
8842      lt_prog_compiler_pic='-pic'
8843      lt_prog_compiler_static='-Bstatic'
8844      ;;
8845
8846    *)
8847      lt_prog_compiler_can_build_shared=no
8848      ;;
8849    esac
8850  fi
8851
8852case $host_os in
8853  # For platforms that do not support PIC, -DPIC is meaningless:
8854  *djgpp*)
8855    lt_prog_compiler_pic=
8856    ;;
8857  *)
8858    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8859    ;;
8860esac
8861
8862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8863$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8864if ${lt_cv_prog_compiler_pic+:} false; then :
8865  $as_echo_n "(cached) " >&6
8866else
8867  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8868fi
8869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8870$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8871lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8872
8873#
8874# Check to make sure the PIC flag actually works.
8875#
8876if test -n "$lt_prog_compiler_pic"; then
8877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8878$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8879if ${lt_cv_prog_compiler_pic_works+:} false; then :
8880  $as_echo_n "(cached) " >&6
8881else
8882  lt_cv_prog_compiler_pic_works=no
8883   ac_outfile=conftest.$ac_objext
8884   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8885   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8886   # Insert the option either (1) after the last *FLAGS variable, or
8887   # (2) before a word containing "conftest.", or (3) at the end.
8888   # Note that $ac_compile itself does not contain backslashes and begins
8889   # with a dollar sign (not a hyphen), so the echo should work correctly.
8890   # The option is referenced via a variable to avoid confusing sed.
8891   lt_compile=`echo "$ac_compile" | $SED \
8892   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8893   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8894   -e 's:$: $lt_compiler_flag:'`
8895   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8896   (eval "$lt_compile" 2>conftest.err)
8897   ac_status=$?
8898   cat conftest.err >&5
8899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900   if (exit $ac_status) && test -s "$ac_outfile"; then
8901     # The compiler can only warn and ignore the option if not recognized
8902     # So say no if there are warnings other than the usual output.
8903     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8904     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8905     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8906       lt_cv_prog_compiler_pic_works=yes
8907     fi
8908   fi
8909   $RM conftest*
8910
8911fi
8912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8913$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8914
8915if test yes = "$lt_cv_prog_compiler_pic_works"; then
8916    case $lt_prog_compiler_pic in
8917     "" | " "*) ;;
8918     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8919     esac
8920else
8921    lt_prog_compiler_pic=
8922     lt_prog_compiler_can_build_shared=no
8923fi
8924
8925fi
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937#
8938# Check to make sure the static flag actually works.
8939#
8940wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8942$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8943if ${lt_cv_prog_compiler_static_works+:} false; then :
8944  $as_echo_n "(cached) " >&6
8945else
8946  lt_cv_prog_compiler_static_works=no
8947   save_LDFLAGS=$LDFLAGS
8948   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8949   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8950   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8951     # The linker can only warn and ignore the option if not recognized
8952     # So say no if there are warnings
8953     if test -s conftest.err; then
8954       # Append any errors to the config.log.
8955       cat conftest.err 1>&5
8956       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8957       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8958       if diff conftest.exp conftest.er2 >/dev/null; then
8959         lt_cv_prog_compiler_static_works=yes
8960       fi
8961     else
8962       lt_cv_prog_compiler_static_works=yes
8963     fi
8964   fi
8965   $RM -r conftest*
8966   LDFLAGS=$save_LDFLAGS
8967
8968fi
8969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8970$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8971
8972if test yes = "$lt_cv_prog_compiler_static_works"; then
8973    :
8974else
8975    lt_prog_compiler_static=
8976fi
8977
8978
8979
8980
8981
8982
8983
8984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8985$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8986if ${lt_cv_prog_compiler_c_o+:} false; then :
8987  $as_echo_n "(cached) " >&6
8988else
8989  lt_cv_prog_compiler_c_o=no
8990   $RM -r conftest 2>/dev/null
8991   mkdir conftest
8992   cd conftest
8993   mkdir out
8994   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995
8996   lt_compiler_flag="-o out/conftest2.$ac_objext"
8997   # Insert the option either (1) after the last *FLAGS variable, or
8998   # (2) before a word containing "conftest.", or (3) at the end.
8999   # Note that $ac_compile itself does not contain backslashes and begins
9000   # with a dollar sign (not a hyphen), so the echo should work correctly.
9001   lt_compile=`echo "$ac_compile" | $SED \
9002   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9003   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9004   -e 's:$: $lt_compiler_flag:'`
9005   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9006   (eval "$lt_compile" 2>out/conftest.err)
9007   ac_status=$?
9008   cat out/conftest.err >&5
9009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9011   then
9012     # The compiler can only warn and ignore the option if not recognized
9013     # So say no if there are warnings
9014     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9015     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9016     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9017       lt_cv_prog_compiler_c_o=yes
9018     fi
9019   fi
9020   chmod u+w . 2>&5
9021   $RM conftest*
9022   # SGI C++ compiler will create directory out/ii_files/ for
9023   # template instantiation
9024   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9025   $RM out/* && rmdir out
9026   cd ..
9027   $RM -r conftest
9028   $RM conftest*
9029
9030fi
9031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9032$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9033
9034
9035
9036
9037
9038
9039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9040$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9041if ${lt_cv_prog_compiler_c_o+:} false; then :
9042  $as_echo_n "(cached) " >&6
9043else
9044  lt_cv_prog_compiler_c_o=no
9045   $RM -r conftest 2>/dev/null
9046   mkdir conftest
9047   cd conftest
9048   mkdir out
9049   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9050
9051   lt_compiler_flag="-o out/conftest2.$ac_objext"
9052   # Insert the option either (1) after the last *FLAGS variable, or
9053   # (2) before a word containing "conftest.", or (3) at the end.
9054   # Note that $ac_compile itself does not contain backslashes and begins
9055   # with a dollar sign (not a hyphen), so the echo should work correctly.
9056   lt_compile=`echo "$ac_compile" | $SED \
9057   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9058   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9059   -e 's:$: $lt_compiler_flag:'`
9060   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9061   (eval "$lt_compile" 2>out/conftest.err)
9062   ac_status=$?
9063   cat out/conftest.err >&5
9064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9066   then
9067     # The compiler can only warn and ignore the option if not recognized
9068     # So say no if there are warnings
9069     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9070     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9071     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9072       lt_cv_prog_compiler_c_o=yes
9073     fi
9074   fi
9075   chmod u+w . 2>&5
9076   $RM conftest*
9077   # SGI C++ compiler will create directory out/ii_files/ for
9078   # template instantiation
9079   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9080   $RM out/* && rmdir out
9081   cd ..
9082   $RM -r conftest
9083   $RM conftest*
9084
9085fi
9086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9087$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9088
9089
9090
9091
9092hard_links=nottested
9093if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9094  # do not overwrite the value of need_locks provided by the user
9095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9096$as_echo_n "checking if we can lock with hard links... " >&6; }
9097  hard_links=yes
9098  $RM conftest*
9099  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9100  touch conftest.a
9101  ln conftest.a conftest.b 2>&5 || hard_links=no
9102  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9104$as_echo "$hard_links" >&6; }
9105  if test no = "$hard_links"; then
9106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9107$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9108    need_locks=warn
9109  fi
9110else
9111  need_locks=no
9112fi
9113
9114
9115
9116
9117
9118
9119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9120$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9121
9122  runpath_var=
9123  allow_undefined_flag=
9124  always_export_symbols=no
9125  archive_cmds=
9126  archive_expsym_cmds=
9127  compiler_needs_object=no
9128  enable_shared_with_static_runtimes=no
9129  export_dynamic_flag_spec=
9130  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9131  hardcode_automatic=no
9132  hardcode_direct=no
9133  hardcode_direct_absolute=no
9134  hardcode_libdir_flag_spec=
9135  hardcode_libdir_separator=
9136  hardcode_minus_L=no
9137  hardcode_shlibpath_var=unsupported
9138  inherit_rpath=no
9139  link_all_deplibs=unknown
9140  module_cmds=
9141  module_expsym_cmds=
9142  old_archive_from_new_cmds=
9143  old_archive_from_expsyms_cmds=
9144  thread_safe_flag_spec=
9145  whole_archive_flag_spec=
9146  # include_expsyms should be a list of space-separated symbols to be *always*
9147  # included in the symbol list
9148  include_expsyms=
9149  # exclude_expsyms can be an extended regexp of symbols to exclude
9150  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9151  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9152  # as well as any symbol that contains 'd'.
9153  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9154  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9155  # platforms (ab)use it in PIC code, but their linkers get confused if
9156  # the symbol is explicitly referenced.  Since portable code cannot
9157  # rely on this symbol name, it's probably fine to never include it in
9158  # preloaded symbol tables.
9159  # Exclude shared library initialization/finalization symbols.
9160  extract_expsyms_cmds=
9161
9162  case $host_os in
9163  cygwin* | mingw* | pw32* | cegcc*)
9164    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9165    # When not using gcc, we currently assume that we are using
9166    # Microsoft Visual C++.
9167    if test yes != "$GCC"; then
9168      with_gnu_ld=no
9169    fi
9170    ;;
9171  interix*)
9172    # we just hope/assume this is gcc and not c89 (= MSVC++)
9173    with_gnu_ld=yes
9174    ;;
9175  openbsd* | bitrig*)
9176    with_gnu_ld=no
9177    ;;
9178  esac
9179
9180  ld_shlibs=yes
9181
9182  # On some targets, GNU ld is compatible enough with the native linker
9183  # that we're better off using the native interface for both.
9184  lt_use_gnu_ld_interface=no
9185  if test yes = "$with_gnu_ld"; then
9186    case $host_os in
9187      aix*)
9188	# The AIX port of GNU ld has always aspired to compatibility
9189	# with the native linker.  However, as the warning in the GNU ld
9190	# block says, versions before 2.19.5* couldn't really create working
9191	# shared libraries, regardless of the interface used.
9192	case `$LD -v 2>&1` in
9193	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9194	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9195	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9196	  *)
9197	    lt_use_gnu_ld_interface=yes
9198	    ;;
9199	esac
9200	;;
9201      *)
9202	lt_use_gnu_ld_interface=yes
9203	;;
9204    esac
9205  fi
9206
9207  if test yes = "$lt_use_gnu_ld_interface"; then
9208    # If archive_cmds runs LD, not CC, wlarc should be empty
9209    wlarc='$wl'
9210
9211    # Set some defaults for GNU ld with shared library support. These
9212    # are reset later if shared libraries are not supported. Putting them
9213    # here allows them to be overridden if necessary.
9214    runpath_var=LD_RUN_PATH
9215    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9216    export_dynamic_flag_spec='$wl--export-dynamic'
9217    # ancient GNU ld didn't support --whole-archive et. al.
9218    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9219      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9220    else
9221      whole_archive_flag_spec=
9222    fi
9223    supports_anon_versioning=no
9224    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9225      *GNU\ gold*) supports_anon_versioning=yes ;;
9226      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9227      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9228      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9229      *\ 2.11.*) ;; # other 2.11 versions
9230      *) supports_anon_versioning=yes ;;
9231    esac
9232
9233    # See if GNU ld supports shared libraries.
9234    case $host_os in
9235    aix[3-9]*)
9236      # On AIX/PPC, the GNU linker is very broken
9237      if test ia64 != "$host_cpu"; then
9238	ld_shlibs=no
9239	cat <<_LT_EOF 1>&2
9240
9241*** Warning: the GNU linker, at least up to release 2.19, is reported
9242*** to be unable to reliably create shared libraries on AIX.
9243*** Therefore, libtool is disabling shared libraries support.  If you
9244*** really care for shared libraries, you may want to install binutils
9245*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9246*** You will then need to restart the configuration process.
9247
9248_LT_EOF
9249      fi
9250      ;;
9251
9252    amigaos*)
9253      case $host_cpu in
9254      powerpc)
9255            # see comment about AmigaOS4 .so support
9256            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9257            archive_expsym_cmds=''
9258        ;;
9259      m68k)
9260            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9261            hardcode_libdir_flag_spec='-L$libdir'
9262            hardcode_minus_L=yes
9263        ;;
9264      esac
9265      ;;
9266
9267    beos*)
9268      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9269	allow_undefined_flag=unsupported
9270	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9271	# support --undefined.  This deserves some investigation.  FIXME
9272	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9273      else
9274	ld_shlibs=no
9275      fi
9276      ;;
9277
9278    cygwin* | mingw* | pw32* | cegcc*)
9279      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9280      # as there is no search path for DLLs.
9281      hardcode_libdir_flag_spec='-L$libdir'
9282      export_dynamic_flag_spec='$wl--export-all-symbols'
9283      allow_undefined_flag=unsupported
9284      always_export_symbols=no
9285      enable_shared_with_static_runtimes=yes
9286      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9287      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9288
9289      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9290        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9291	# If the export-symbols file already is a .def file, use it as
9292	# is; otherwise, prepend EXPORTS...
9293	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9294          cp $export_symbols $output_objdir/$soname.def;
9295        else
9296          echo EXPORTS > $output_objdir/$soname.def;
9297          cat $export_symbols >> $output_objdir/$soname.def;
9298        fi~
9299        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9300      else
9301	ld_shlibs=no
9302      fi
9303      ;;
9304
9305    haiku*)
9306      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9307      link_all_deplibs=yes
9308      ;;
9309
9310    os2*)
9311      hardcode_libdir_flag_spec='-L$libdir'
9312      hardcode_minus_L=yes
9313      allow_undefined_flag=unsupported
9314      shrext_cmds=.dll
9315      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9316	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9317	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9318	$ECHO EXPORTS >> $output_objdir/$libname.def~
9319	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9320	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9321	emximp -o $lib $output_objdir/$libname.def'
9322      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9323	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9324	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9325	$ECHO EXPORTS >> $output_objdir/$libname.def~
9326	prefix_cmds="$SED"~
9327	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9328	  prefix_cmds="$prefix_cmds -e 1d";
9329	fi~
9330	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9331	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9332	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9333	emximp -o $lib $output_objdir/$libname.def'
9334      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9335      enable_shared_with_static_runtimes=yes
9336      ;;
9337
9338    interix[3-9]*)
9339      hardcode_direct=no
9340      hardcode_shlibpath_var=no
9341      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9342      export_dynamic_flag_spec='$wl-E'
9343      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9344      # Instead, shared libraries are loaded at an image base (0x10000000 by
9345      # default) and relocated if they conflict, which is a slow very memory
9346      # consuming and fragmenting process.  To avoid this, we pick a random,
9347      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9348      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9349      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9351      ;;
9352
9353    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9354      tmp_diet=no
9355      if test linux-dietlibc = "$host_os"; then
9356	case $cc_basename in
9357	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9358	esac
9359      fi
9360      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9361	 && test no = "$tmp_diet"
9362      then
9363	tmp_addflag=' $pic_flag'
9364	tmp_sharedflag='-shared'
9365	case $cc_basename,$host_cpu in
9366        pgcc*)				# Portland Group C compiler
9367	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9368	  tmp_addflag=' $pic_flag'
9369	  ;;
9370	pgf77* | pgf90* | pgf95* | pgfortran*)
9371					# Portland Group f77 and f90 compilers
9372	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9373	  tmp_addflag=' $pic_flag -Mnomain' ;;
9374	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9375	  tmp_addflag=' -i_dynamic' ;;
9376	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9377	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9378	ifc* | ifort*)			# Intel Fortran compiler
9379	  tmp_addflag=' -nofor_main' ;;
9380	lf95*)				# Lahey Fortran 8.1
9381	  whole_archive_flag_spec=
9382	  tmp_sharedflag='--shared' ;;
9383        nagfor*)                        # NAGFOR 5.3
9384          tmp_sharedflag='-Wl,-shared' ;;
9385	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9386	  tmp_sharedflag='-qmkshrobj'
9387	  tmp_addflag= ;;
9388	nvcc*)	# Cuda Compiler Driver 2.2
9389	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9390	  compiler_needs_object=yes
9391	  ;;
9392	esac
9393	case `$CC -V 2>&1 | sed 5q` in
9394	*Sun\ C*)			# Sun C 5.9
9395	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9396	  compiler_needs_object=yes
9397	  tmp_sharedflag='-G' ;;
9398	*Sun\ F*)			# Sun Fortran 8.3
9399	  tmp_sharedflag='-G' ;;
9400	esac
9401	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9402
9403        if test yes = "$supports_anon_versioning"; then
9404          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9405            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9406            echo "local: *; };" >> $output_objdir/$libname.ver~
9407            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9408        fi
9409
9410	case $cc_basename in
9411	tcc*)
9412	  export_dynamic_flag_spec='-rdynamic'
9413	  ;;
9414	xlf* | bgf* | bgxlf* | mpixlf*)
9415	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9416	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9417	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9418	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9419	  if test yes = "$supports_anon_versioning"; then
9420	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9421              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9422              echo "local: *; };" >> $output_objdir/$libname.ver~
9423              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9424	  fi
9425	  ;;
9426	esac
9427      else
9428        ld_shlibs=no
9429      fi
9430      ;;
9431
9432    netbsd*)
9433      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9434	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9435	wlarc=
9436      else
9437	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9438	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9439      fi
9440      ;;
9441
9442    solaris*)
9443      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9444	ld_shlibs=no
9445	cat <<_LT_EOF 1>&2
9446
9447*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9448*** create shared libraries on Solaris systems.  Therefore, libtool
9449*** is disabling shared libraries support.  We urge you to upgrade GNU
9450*** binutils to release 2.9.1 or newer.  Another option is to modify
9451*** your PATH or compiler configuration so that the native linker is
9452*** used, and then restart.
9453
9454_LT_EOF
9455      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9456	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9457	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9458      else
9459	ld_shlibs=no
9460      fi
9461      ;;
9462
9463    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9464      case `$LD -v 2>&1` in
9465        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9466	ld_shlibs=no
9467	cat <<_LT_EOF 1>&2
9468
9469*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9470*** reliably create shared libraries on SCO systems.  Therefore, libtool
9471*** is disabling shared libraries support.  We urge you to upgrade GNU
9472*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9473*** your PATH or compiler configuration so that the native linker is
9474*** used, and then restart.
9475
9476_LT_EOF
9477	;;
9478	*)
9479	  # For security reasons, it is highly recommended that you always
9480	  # use absolute paths for naming shared libraries, and exclude the
9481	  # DT_RUNPATH tag from executables and libraries.  But doing so
9482	  # requires that you compile everything twice, which is a pain.
9483	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9484	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9485	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9486	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9487	  else
9488	    ld_shlibs=no
9489	  fi
9490	;;
9491      esac
9492      ;;
9493
9494    sunos4*)
9495      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9496      wlarc=
9497      hardcode_direct=yes
9498      hardcode_shlibpath_var=no
9499      ;;
9500
9501    *)
9502      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9503	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9504	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9505      else
9506	ld_shlibs=no
9507      fi
9508      ;;
9509    esac
9510
9511    if test no = "$ld_shlibs"; then
9512      runpath_var=
9513      hardcode_libdir_flag_spec=
9514      export_dynamic_flag_spec=
9515      whole_archive_flag_spec=
9516    fi
9517  else
9518    # PORTME fill in a description of your system's linker (not GNU ld)
9519    case $host_os in
9520    aix3*)
9521      allow_undefined_flag=unsupported
9522      always_export_symbols=yes
9523      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9524      # Note: this linker hardcodes the directories in LIBPATH if there
9525      # are no directories specified by -L.
9526      hardcode_minus_L=yes
9527      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9528	# Neither direct hardcoding nor static linking is supported with a
9529	# broken collect2.
9530	hardcode_direct=unsupported
9531      fi
9532      ;;
9533
9534    aix[4-9]*)
9535      if test ia64 = "$host_cpu"; then
9536	# On IA64, the linker does run time linking by default, so we don't
9537	# have to do anything special.
9538	aix_use_runtimelinking=no
9539	exp_sym_flag='-Bexport'
9540	no_entry_flag=
9541      else
9542	# If we're using GNU nm, then we don't want the "-C" option.
9543	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9544	# Without the "-l" option, or with the "-B" option, AIX nm treats
9545	# weak defined symbols like other global defined symbols, whereas
9546	# GNU nm marks them as "W".
9547	# While the 'weak' keyword is ignored in the Export File, we need
9548	# it in the Import File for the 'aix-soname' feature, so we have
9549	# to replace the "-B" option with "-P" for AIX nm.
9550	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9551	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9552	else
9553	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9554	fi
9555	aix_use_runtimelinking=no
9556
9557	# Test if we are trying to use run time linking or normal
9558	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9559	# have runtime linking enabled, and use it for executables.
9560	# For shared libraries, we enable/disable runtime linking
9561	# depending on the kind of the shared library created -
9562	# when "with_aix_soname,aix_use_runtimelinking" is:
9563	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9564	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9565	#            lib.a           static archive
9566	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9567	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9568	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9569	#            lib.a(lib.so.V) shared, rtl:no
9570	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9571	#            lib.a           static archive
9572	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9573	  for ld_flag in $LDFLAGS; do
9574	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9575	    aix_use_runtimelinking=yes
9576	    break
9577	  fi
9578	  done
9579	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9580	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9581	    # so we don't have lib.a shared libs to link our executables.
9582	    # We have to force runtime linking in this case.
9583	    aix_use_runtimelinking=yes
9584	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9585	  fi
9586	  ;;
9587	esac
9588
9589	exp_sym_flag='-bexport'
9590	no_entry_flag='-bnoentry'
9591      fi
9592
9593      # When large executables or shared objects are built, AIX ld can
9594      # have problems creating the table of contents.  If linking a library
9595      # or program results in "error TOC overflow" add -mminimal-toc to
9596      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9597      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9598
9599      archive_cmds=''
9600      hardcode_direct=yes
9601      hardcode_direct_absolute=yes
9602      hardcode_libdir_separator=':'
9603      link_all_deplibs=yes
9604      file_list_spec='$wl-f,'
9605      case $with_aix_soname,$aix_use_runtimelinking in
9606      aix,*) ;; # traditional, no import file
9607      svr4,* | *,yes) # use import file
9608	# The Import File defines what to hardcode.
9609	hardcode_direct=no
9610	hardcode_direct_absolute=no
9611	;;
9612      esac
9613
9614      if test yes = "$GCC"; then
9615	case $host_os in aix4.[012]|aix4.[012].*)
9616	# We only want to do this on AIX 4.2 and lower, the check
9617	# below for broken collect2 doesn't work under 4.3+
9618	  collect2name=`$CC -print-prog-name=collect2`
9619	  if test -f "$collect2name" &&
9620	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9621	  then
9622	  # We have reworked collect2
9623	  :
9624	  else
9625	  # We have old collect2
9626	  hardcode_direct=unsupported
9627	  # It fails to find uninstalled libraries when the uninstalled
9628	  # path is not listed in the libpath.  Setting hardcode_minus_L
9629	  # to unsupported forces relinking
9630	  hardcode_minus_L=yes
9631	  hardcode_libdir_flag_spec='-L$libdir'
9632	  hardcode_libdir_separator=
9633	  fi
9634	  ;;
9635	esac
9636	shared_flag='-shared'
9637	if test yes = "$aix_use_runtimelinking"; then
9638	  shared_flag="$shared_flag "'$wl-G'
9639	fi
9640	# Need to ensure runtime linking is disabled for the traditional
9641	# shared library, or the linker may eventually find shared libraries
9642	# /with/ Import File - we do not want to mix them.
9643	shared_flag_aix='-shared'
9644	shared_flag_svr4='-shared $wl-G'
9645      else
9646	# not using gcc
9647	if test ia64 = "$host_cpu"; then
9648	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9649	# chokes on -Wl,-G. The following line is correct:
9650	  shared_flag='-G'
9651	else
9652	  if test yes = "$aix_use_runtimelinking"; then
9653	    shared_flag='$wl-G'
9654	  else
9655	    shared_flag='$wl-bM:SRE'
9656	  fi
9657	  shared_flag_aix='$wl-bM:SRE'
9658	  shared_flag_svr4='$wl-G'
9659	fi
9660      fi
9661
9662      export_dynamic_flag_spec='$wl-bexpall'
9663      # It seems that -bexpall does not export symbols beginning with
9664      # underscore (_), so it is better to generate a list of symbols to export.
9665      always_export_symbols=yes
9666      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9667	# Warning - without using the other runtime loading flags (-brtl),
9668	# -berok will link without error, but may produce a broken library.
9669	allow_undefined_flag='-berok'
9670        # Determine the default libpath from the value encoded in an
9671        # empty executable.
9672        if test set = "${lt_cv_aix_libpath+set}"; then
9673  aix_libpath=$lt_cv_aix_libpath
9674else
9675  if ${lt_cv_aix_libpath_+:} false; then :
9676  $as_echo_n "(cached) " >&6
9677else
9678  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679/* end confdefs.h.  */
9680
9681int
9682main ()
9683{
9684
9685  ;
9686  return 0;
9687}
9688_ACEOF
9689if ac_fn_c_try_link "$LINENO"; then :
9690
9691  lt_aix_libpath_sed='
9692      /Import File Strings/,/^$/ {
9693	  /^0/ {
9694	      s/^0  *\([^ ]*\) *$/\1/
9695	      p
9696	  }
9697      }'
9698  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699  # Check for a 64-bit object if we didn't find anything.
9700  if test -z "$lt_cv_aix_libpath_"; then
9701    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702  fi
9703fi
9704rm -f core conftest.err conftest.$ac_objext \
9705    conftest$ac_exeext conftest.$ac_ext
9706  if test -z "$lt_cv_aix_libpath_"; then
9707    lt_cv_aix_libpath_=/usr/lib:/lib
9708  fi
9709
9710fi
9711
9712  aix_libpath=$lt_cv_aix_libpath_
9713fi
9714
9715        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9716        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9717      else
9718	if test ia64 = "$host_cpu"; then
9719	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9720	  allow_undefined_flag="-z nodefs"
9721	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9722	else
9723	 # Determine the default libpath from the value encoded in an
9724	 # empty executable.
9725	 if test set = "${lt_cv_aix_libpath+set}"; then
9726  aix_libpath=$lt_cv_aix_libpath
9727else
9728  if ${lt_cv_aix_libpath_+:} false; then :
9729  $as_echo_n "(cached) " >&6
9730else
9731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732/* end confdefs.h.  */
9733
9734int
9735main ()
9736{
9737
9738  ;
9739  return 0;
9740}
9741_ACEOF
9742if ac_fn_c_try_link "$LINENO"; then :
9743
9744  lt_aix_libpath_sed='
9745      /Import File Strings/,/^$/ {
9746	  /^0/ {
9747	      s/^0  *\([^ ]*\) *$/\1/
9748	      p
9749	  }
9750      }'
9751  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9752  # Check for a 64-bit object if we didn't find anything.
9753  if test -z "$lt_cv_aix_libpath_"; then
9754    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9755  fi
9756fi
9757rm -f core conftest.err conftest.$ac_objext \
9758    conftest$ac_exeext conftest.$ac_ext
9759  if test -z "$lt_cv_aix_libpath_"; then
9760    lt_cv_aix_libpath_=/usr/lib:/lib
9761  fi
9762
9763fi
9764
9765  aix_libpath=$lt_cv_aix_libpath_
9766fi
9767
9768	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9769	  # Warning - without using the other run time loading flags,
9770	  # -berok will link without error, but may produce a broken library.
9771	  no_undefined_flag=' $wl-bernotok'
9772	  allow_undefined_flag=' $wl-berok'
9773	  if test yes = "$with_gnu_ld"; then
9774	    # We only use this code for GNU lds that support --whole-archive.
9775	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9776	  else
9777	    # Exported symbols can be pulled into shared objects from archives
9778	    whole_archive_flag_spec='$convenience'
9779	  fi
9780	  archive_cmds_need_lc=yes
9781	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9782	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9783	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9784	  if test svr4 != "$with_aix_soname"; then
9785	    # This is similar to how AIX traditionally builds its shared libraries.
9786	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9787	  fi
9788	  if test aix != "$with_aix_soname"; then
9789	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9790	  else
9791	    # used by -dlpreopen to get the symbols
9792	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9793	  fi
9794	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9795	fi
9796      fi
9797      ;;
9798
9799    amigaos*)
9800      case $host_cpu in
9801      powerpc)
9802            # see comment about AmigaOS4 .so support
9803            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9804            archive_expsym_cmds=''
9805        ;;
9806      m68k)
9807            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9808            hardcode_libdir_flag_spec='-L$libdir'
9809            hardcode_minus_L=yes
9810        ;;
9811      esac
9812      ;;
9813
9814    bsdi[45]*)
9815      export_dynamic_flag_spec=-rdynamic
9816      ;;
9817
9818    cygwin* | mingw* | pw32* | cegcc*)
9819      # When not using gcc, we currently assume that we are using
9820      # Microsoft Visual C++.
9821      # hardcode_libdir_flag_spec is actually meaningless, as there is
9822      # no search path for DLLs.
9823      case $cc_basename in
9824      cl*)
9825	# Native MSVC
9826	hardcode_libdir_flag_spec=' '
9827	allow_undefined_flag=unsupported
9828	always_export_symbols=yes
9829	file_list_spec='@'
9830	# Tell ltmain to make .lib files, not .a files.
9831	libext=lib
9832	# Tell ltmain to make .dll files, not .so files.
9833	shrext_cmds=.dll
9834	# FIXME: Setting linknames here is a bad hack.
9835	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9836	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9837            cp "$export_symbols" "$output_objdir/$soname.def";
9838            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9839          else
9840            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9841          fi~
9842          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9843          linknames='
9844	# The linker will not automatically build a static lib if we build a DLL.
9845	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9846	enable_shared_with_static_runtimes=yes
9847	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9848	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9849	# Don't use ranlib
9850	old_postinstall_cmds='chmod 644 $oldlib'
9851	postlink_cmds='lt_outputfile="@OUTPUT@"~
9852          lt_tool_outputfile="@TOOL_OUTPUT@"~
9853          case $lt_outputfile in
9854            *.exe|*.EXE) ;;
9855            *)
9856              lt_outputfile=$lt_outputfile.exe
9857              lt_tool_outputfile=$lt_tool_outputfile.exe
9858              ;;
9859          esac~
9860          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9861            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9862            $RM "$lt_outputfile.manifest";
9863          fi'
9864	;;
9865      *)
9866	# Assume MSVC wrapper
9867	hardcode_libdir_flag_spec=' '
9868	allow_undefined_flag=unsupported
9869	# Tell ltmain to make .lib files, not .a files.
9870	libext=lib
9871	# Tell ltmain to make .dll files, not .so files.
9872	shrext_cmds=.dll
9873	# FIXME: Setting linknames here is a bad hack.
9874	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9875	# The linker will automatically build a .lib file if we build a DLL.
9876	old_archive_from_new_cmds='true'
9877	# FIXME: Should let the user specify the lib program.
9878	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9879	enable_shared_with_static_runtimes=yes
9880	;;
9881      esac
9882      ;;
9883
9884    darwin* | rhapsody*)
9885
9886
9887  archive_cmds_need_lc=no
9888  hardcode_direct=no
9889  hardcode_automatic=yes
9890  hardcode_shlibpath_var=unsupported
9891  if test yes = "$lt_cv_ld_force_load"; then
9892    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9893
9894  else
9895    whole_archive_flag_spec=''
9896  fi
9897  link_all_deplibs=yes
9898  allow_undefined_flag=$_lt_dar_allow_undefined
9899  case $cc_basename in
9900     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9901     *) _lt_dar_can_shared=$GCC ;;
9902  esac
9903  if test yes = "$_lt_dar_can_shared"; then
9904    output_verbose_link_cmd=func_echo_all
9905    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9906    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9907    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
9908    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
9909
9910  else
9911  ld_shlibs=no
9912  fi
9913
9914      ;;
9915
9916    dgux*)
9917      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9918      hardcode_libdir_flag_spec='-L$libdir'
9919      hardcode_shlibpath_var=no
9920      ;;
9921
9922    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9923    # support.  Future versions do this automatically, but an explicit c++rt0.o
9924    # does not break anything, and helps significantly (at the cost of a little
9925    # extra space).
9926    freebsd2.2*)
9927      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9928      hardcode_libdir_flag_spec='-R$libdir'
9929      hardcode_direct=yes
9930      hardcode_shlibpath_var=no
9931      ;;
9932
9933    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9934    freebsd2.*)
9935      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936      hardcode_direct=yes
9937      hardcode_minus_L=yes
9938      hardcode_shlibpath_var=no
9939      ;;
9940
9941    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9942    freebsd* | dragonfly*)
9943      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9944      hardcode_libdir_flag_spec='-R$libdir'
9945      hardcode_direct=yes
9946      hardcode_shlibpath_var=no
9947      ;;
9948
9949    hpux9*)
9950      if test yes = "$GCC"; then
9951	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9952      else
9953	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9954      fi
9955      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9956      hardcode_libdir_separator=:
9957      hardcode_direct=yes
9958
9959      # hardcode_minus_L: Not really in the search PATH,
9960      # but as the default location of the library.
9961      hardcode_minus_L=yes
9962      export_dynamic_flag_spec='$wl-E'
9963      ;;
9964
9965    hpux10*)
9966      if test yes,no = "$GCC,$with_gnu_ld"; then
9967	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9968      else
9969	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9970      fi
9971      if test no = "$with_gnu_ld"; then
9972	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9973	hardcode_libdir_separator=:
9974	hardcode_direct=yes
9975	hardcode_direct_absolute=yes
9976	export_dynamic_flag_spec='$wl-E'
9977	# hardcode_minus_L: Not really in the search PATH,
9978	# but as the default location of the library.
9979	hardcode_minus_L=yes
9980      fi
9981      ;;
9982
9983    hpux11*)
9984      if test yes,no = "$GCC,$with_gnu_ld"; then
9985	case $host_cpu in
9986	hppa*64*)
9987	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9988	  ;;
9989	ia64*)
9990	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9991	  ;;
9992	*)
9993	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9994	  ;;
9995	esac
9996      else
9997	case $host_cpu in
9998	hppa*64*)
9999	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10000	  ;;
10001	ia64*)
10002	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10003	  ;;
10004	*)
10005
10006	  # Older versions of the 11.00 compiler do not understand -b yet
10007	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10008	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10009$as_echo_n "checking if $CC understands -b... " >&6; }
10010if ${lt_cv_prog_compiler__b+:} false; then :
10011  $as_echo_n "(cached) " >&6
10012else
10013  lt_cv_prog_compiler__b=no
10014   save_LDFLAGS=$LDFLAGS
10015   LDFLAGS="$LDFLAGS -b"
10016   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10017   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10018     # The linker can only warn and ignore the option if not recognized
10019     # So say no if there are warnings
10020     if test -s conftest.err; then
10021       # Append any errors to the config.log.
10022       cat conftest.err 1>&5
10023       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10024       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10025       if diff conftest.exp conftest.er2 >/dev/null; then
10026         lt_cv_prog_compiler__b=yes
10027       fi
10028     else
10029       lt_cv_prog_compiler__b=yes
10030     fi
10031   fi
10032   $RM -r conftest*
10033   LDFLAGS=$save_LDFLAGS
10034
10035fi
10036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10037$as_echo "$lt_cv_prog_compiler__b" >&6; }
10038
10039if test yes = "$lt_cv_prog_compiler__b"; then
10040    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10041else
10042    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10043fi
10044
10045	  ;;
10046	esac
10047      fi
10048      if test no = "$with_gnu_ld"; then
10049	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10050	hardcode_libdir_separator=:
10051
10052	case $host_cpu in
10053	hppa*64*|ia64*)
10054	  hardcode_direct=no
10055	  hardcode_shlibpath_var=no
10056	  ;;
10057	*)
10058	  hardcode_direct=yes
10059	  hardcode_direct_absolute=yes
10060	  export_dynamic_flag_spec='$wl-E'
10061
10062	  # hardcode_minus_L: Not really in the search PATH,
10063	  # but as the default location of the library.
10064	  hardcode_minus_L=yes
10065	  ;;
10066	esac
10067      fi
10068      ;;
10069
10070    irix5* | irix6* | nonstopux*)
10071      if test yes = "$GCC"; then
10072	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10073	# Try to use the -exported_symbol ld option, if it does not
10074	# work, assume that -exports_file does not work either and
10075	# implicitly export all symbols.
10076	# This should be the same for all languages, so no per-tag cache variable.
10077	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10078$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10079if ${lt_cv_irix_exported_symbol+:} false; then :
10080  $as_echo_n "(cached) " >&6
10081else
10082  save_LDFLAGS=$LDFLAGS
10083	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10084	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085/* end confdefs.h.  */
10086int foo (void) { return 0; }
10087_ACEOF
10088if ac_fn_c_try_link "$LINENO"; then :
10089  lt_cv_irix_exported_symbol=yes
10090else
10091  lt_cv_irix_exported_symbol=no
10092fi
10093rm -f core conftest.err conftest.$ac_objext \
10094    conftest$ac_exeext conftest.$ac_ext
10095           LDFLAGS=$save_LDFLAGS
10096fi
10097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10098$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10099	if test yes = "$lt_cv_irix_exported_symbol"; then
10100          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10101	fi
10102      else
10103	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10104	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10105      fi
10106      archive_cmds_need_lc='no'
10107      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10108      hardcode_libdir_separator=:
10109      inherit_rpath=yes
10110      link_all_deplibs=yes
10111      ;;
10112
10113    linux*)
10114      case $cc_basename in
10115      tcc*)
10116	# Fabrice Bellard et al's Tiny C Compiler
10117	ld_shlibs=yes
10118	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10119	;;
10120      esac
10121      ;;
10122
10123    netbsd*)
10124      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10125	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10126      else
10127	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10128      fi
10129      hardcode_libdir_flag_spec='-R$libdir'
10130      hardcode_direct=yes
10131      hardcode_shlibpath_var=no
10132      ;;
10133
10134    newsos6)
10135      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136      hardcode_direct=yes
10137      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10138      hardcode_libdir_separator=:
10139      hardcode_shlibpath_var=no
10140      ;;
10141
10142    *nto* | *qnx*)
10143      ;;
10144
10145    openbsd* | bitrig*)
10146      if test -f /usr/libexec/ld.so; then
10147	hardcode_direct=yes
10148	hardcode_shlibpath_var=no
10149	hardcode_direct_absolute=yes
10150	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10151	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10152	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10153	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10154	  export_dynamic_flag_spec='$wl-E'
10155	else
10156	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10157	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10158	fi
10159      else
10160	ld_shlibs=no
10161      fi
10162      ;;
10163
10164    os2*)
10165      hardcode_libdir_flag_spec='-L$libdir'
10166      hardcode_minus_L=yes
10167      allow_undefined_flag=unsupported
10168      shrext_cmds=.dll
10169      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10170	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10171	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10172	$ECHO EXPORTS >> $output_objdir/$libname.def~
10173	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10174	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10175	emximp -o $lib $output_objdir/$libname.def'
10176      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10177	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10178	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10179	$ECHO EXPORTS >> $output_objdir/$libname.def~
10180	prefix_cmds="$SED"~
10181	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10182	  prefix_cmds="$prefix_cmds -e 1d";
10183	fi~
10184	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10185	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10186	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10187	emximp -o $lib $output_objdir/$libname.def'
10188      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10189      enable_shared_with_static_runtimes=yes
10190      ;;
10191
10192    osf3*)
10193      if test yes = "$GCC"; then
10194	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10195	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10196      else
10197	allow_undefined_flag=' -expect_unresolved \*'
10198	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10199      fi
10200      archive_cmds_need_lc='no'
10201      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10202      hardcode_libdir_separator=:
10203      ;;
10204
10205    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10206      if test yes = "$GCC"; then
10207	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10208	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10209	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10210      else
10211	allow_undefined_flag=' -expect_unresolved \*'
10212	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10213	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10214          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10215
10216	# Both c and cxx compiler support -rpath directly
10217	hardcode_libdir_flag_spec='-rpath $libdir'
10218      fi
10219      archive_cmds_need_lc='no'
10220      hardcode_libdir_separator=:
10221      ;;
10222
10223    solaris*)
10224      no_undefined_flag=' -z defs'
10225      if test yes = "$GCC"; then
10226	wlarc='$wl'
10227	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10228	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10229          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10230      else
10231	case `$CC -V 2>&1` in
10232	*"Compilers 5.0"*)
10233	  wlarc=''
10234	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10235	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10236            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10237	  ;;
10238	*)
10239	  wlarc='$wl'
10240	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10241	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10242            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10243	  ;;
10244	esac
10245      fi
10246      hardcode_libdir_flag_spec='-R$libdir'
10247      hardcode_shlibpath_var=no
10248      case $host_os in
10249      solaris2.[0-5] | solaris2.[0-5].*) ;;
10250      *)
10251	# The compiler driver will combine and reorder linker options,
10252	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10253	# but is careful enough not to reorder.
10254	# Supported since Solaris 2.6 (maybe 2.5.1?)
10255	if test yes = "$GCC"; then
10256	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10257	else
10258	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10259	fi
10260	;;
10261      esac
10262      link_all_deplibs=yes
10263      ;;
10264
10265    sunos4*)
10266      if test sequent = "$host_vendor"; then
10267	# Use $CC to link under sequent, because it throws in some extra .o
10268	# files that make .init and .fini sections work.
10269	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10270      else
10271	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10272      fi
10273      hardcode_libdir_flag_spec='-L$libdir'
10274      hardcode_direct=yes
10275      hardcode_minus_L=yes
10276      hardcode_shlibpath_var=no
10277      ;;
10278
10279    sysv4)
10280      case $host_vendor in
10281	sni)
10282	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10283	  hardcode_direct=yes # is this really true???
10284	;;
10285	siemens)
10286	  ## LD is ld it makes a PLAMLIB
10287	  ## CC just makes a GrossModule.
10288	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10289	  reload_cmds='$CC -r -o $output$reload_objs'
10290	  hardcode_direct=no
10291        ;;
10292	motorola)
10293	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10294	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10295	;;
10296      esac
10297      runpath_var='LD_RUN_PATH'
10298      hardcode_shlibpath_var=no
10299      ;;
10300
10301    sysv4.3*)
10302      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10303      hardcode_shlibpath_var=no
10304      export_dynamic_flag_spec='-Bexport'
10305      ;;
10306
10307    sysv4*MP*)
10308      if test -d /usr/nec; then
10309	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10310	hardcode_shlibpath_var=no
10311	runpath_var=LD_RUN_PATH
10312	hardcode_runpath_var=yes
10313	ld_shlibs=yes
10314      fi
10315      ;;
10316
10317    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10318      no_undefined_flag='$wl-z,text'
10319      archive_cmds_need_lc=no
10320      hardcode_shlibpath_var=no
10321      runpath_var='LD_RUN_PATH'
10322
10323      if test yes = "$GCC"; then
10324	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10325	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10326      else
10327	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10328	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10329      fi
10330      ;;
10331
10332    sysv5* | sco3.2v5* | sco5v6*)
10333      # Note: We CANNOT use -z defs as we might desire, because we do not
10334      # link with -lc, and that would cause any symbols used from libc to
10335      # always be unresolved, which means just about no library would
10336      # ever link correctly.  If we're not using GNU ld we use -z text
10337      # though, which does catch some bad symbols but isn't as heavy-handed
10338      # as -z defs.
10339      no_undefined_flag='$wl-z,text'
10340      allow_undefined_flag='$wl-z,nodefs'
10341      archive_cmds_need_lc=no
10342      hardcode_shlibpath_var=no
10343      hardcode_libdir_flag_spec='$wl-R,$libdir'
10344      hardcode_libdir_separator=':'
10345      link_all_deplibs=yes
10346      export_dynamic_flag_spec='$wl-Bexport'
10347      runpath_var='LD_RUN_PATH'
10348
10349      if test yes = "$GCC"; then
10350	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10352      else
10353	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10354	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10355      fi
10356      ;;
10357
10358    uts4*)
10359      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10360      hardcode_libdir_flag_spec='-L$libdir'
10361      hardcode_shlibpath_var=no
10362      ;;
10363
10364    *)
10365      ld_shlibs=no
10366      ;;
10367    esac
10368
10369    if test sni = "$host_vendor"; then
10370      case $host in
10371      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10372	export_dynamic_flag_spec='$wl-Blargedynsym'
10373	;;
10374      esac
10375    fi
10376  fi
10377
10378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10379$as_echo "$ld_shlibs" >&6; }
10380test no = "$ld_shlibs" && can_build_shared=no
10381
10382with_gnu_ld=$with_gnu_ld
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398#
10399# Do we need to explicitly link libc?
10400#
10401case "x$archive_cmds_need_lc" in
10402x|xyes)
10403  # Assume -lc should be added
10404  archive_cmds_need_lc=yes
10405
10406  if test yes,yes = "$GCC,$enable_shared"; then
10407    case $archive_cmds in
10408    *'~'*)
10409      # FIXME: we may have to deal with multi-command sequences.
10410      ;;
10411    '$CC '*)
10412      # Test whether the compiler implicitly links with -lc since on some
10413      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10414      # to ld, don't add -lc before -lgcc.
10415      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10416$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10417if ${lt_cv_archive_cmds_need_lc+:} false; then :
10418  $as_echo_n "(cached) " >&6
10419else
10420  $RM conftest*
10421	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10422
10423	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10424  (eval $ac_compile) 2>&5
10425  ac_status=$?
10426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10427  test $ac_status = 0; } 2>conftest.err; then
10428	  soname=conftest
10429	  lib=conftest
10430	  libobjs=conftest.$ac_objext
10431	  deplibs=
10432	  wl=$lt_prog_compiler_wl
10433	  pic_flag=$lt_prog_compiler_pic
10434	  compiler_flags=-v
10435	  linker_flags=-v
10436	  verstring=
10437	  output_objdir=.
10438	  libname=conftest
10439	  lt_save_allow_undefined_flag=$allow_undefined_flag
10440	  allow_undefined_flag=
10441	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10442  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10443  ac_status=$?
10444  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10445  test $ac_status = 0; }
10446	  then
10447	    lt_cv_archive_cmds_need_lc=no
10448	  else
10449	    lt_cv_archive_cmds_need_lc=yes
10450	  fi
10451	  allow_undefined_flag=$lt_save_allow_undefined_flag
10452	else
10453	  cat conftest.err 1>&5
10454	fi
10455	$RM conftest*
10456
10457fi
10458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10459$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10460      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10461      ;;
10462    esac
10463  fi
10464  ;;
10465esac
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10619$as_echo_n "checking dynamic linker characteristics... " >&6; }
10620
10621if test yes = "$GCC"; then
10622  case $host_os in
10623    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10624    *) lt_awk_arg='/^libraries:/' ;;
10625  esac
10626  case $host_os in
10627    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10628    *) lt_sed_strip_eq='s|=/|/|g' ;;
10629  esac
10630  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10631  case $lt_search_path_spec in
10632  *\;*)
10633    # if the path contains ";" then we assume it to be the separator
10634    # otherwise default to the standard path separator (i.e. ":") - it is
10635    # assumed that no part of a normal pathname contains ";" but that should
10636    # okay in the real world where ";" in dirpaths is itself problematic.
10637    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10638    ;;
10639  *)
10640    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10641    ;;
10642  esac
10643  # Ok, now we have the path, separated by spaces, we can step through it
10644  # and add multilib dir if necessary...
10645  lt_tmp_lt_search_path_spec=
10646  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10647  # ...but if some path component already ends with the multilib dir we assume
10648  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10649  case "$lt_multi_os_dir; $lt_search_path_spec " in
10650  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10651    lt_multi_os_dir=
10652    ;;
10653  esac
10654  for lt_sys_path in $lt_search_path_spec; do
10655    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10656      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10657    elif test -n "$lt_multi_os_dir"; then
10658      test -d "$lt_sys_path" && \
10659	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10660    fi
10661  done
10662  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10663BEGIN {RS = " "; FS = "/|\n";} {
10664  lt_foo = "";
10665  lt_count = 0;
10666  for (lt_i = NF; lt_i > 0; lt_i--) {
10667    if ($lt_i != "" && $lt_i != ".") {
10668      if ($lt_i == "..") {
10669        lt_count++;
10670      } else {
10671        if (lt_count == 0) {
10672          lt_foo = "/" $lt_i lt_foo;
10673        } else {
10674          lt_count--;
10675        }
10676      }
10677    }
10678  }
10679  if (lt_foo != "") { lt_freq[lt_foo]++; }
10680  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10681}'`
10682  # AWK program above erroneously prepends '/' to C:/dos/paths
10683  # for these hosts.
10684  case $host_os in
10685    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10686      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10687  esac
10688  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10689else
10690  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10691fi
10692library_names_spec=
10693libname_spec='lib$name'
10694soname_spec=
10695shrext_cmds=.so
10696postinstall_cmds=
10697postuninstall_cmds=
10698finish_cmds=
10699finish_eval=
10700shlibpath_var=
10701shlibpath_overrides_runpath=unknown
10702version_type=none
10703dynamic_linker="$host_os ld.so"
10704sys_lib_dlsearch_path_spec="/lib /usr/lib"
10705need_lib_prefix=unknown
10706hardcode_into_libs=no
10707
10708# when you set need_version to no, make sure it does not cause -set_version
10709# flags to be left without arguments
10710need_version=unknown
10711
10712
10713
10714case $host_os in
10715aix3*)
10716  version_type=linux # correct to gnu/linux during the next big refactor
10717  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10718  shlibpath_var=LIBPATH
10719
10720  # AIX 3 has no versioning support, so we append a major version to the name.
10721  soname_spec='$libname$release$shared_ext$major'
10722  ;;
10723
10724aix[4-9]*)
10725  version_type=linux # correct to gnu/linux during the next big refactor
10726  need_lib_prefix=no
10727  need_version=no
10728  hardcode_into_libs=yes
10729  if test ia64 = "$host_cpu"; then
10730    # AIX 5 supports IA64
10731    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10732    shlibpath_var=LD_LIBRARY_PATH
10733  else
10734    # With GCC up to 2.95.x, collect2 would create an import file
10735    # for dependence libraries.  The import file would start with
10736    # the line '#! .'.  This would cause the generated library to
10737    # depend on '.', always an invalid library.  This was fixed in
10738    # development snapshots of GCC prior to 3.0.
10739    case $host_os in
10740      aix4 | aix4.[01] | aix4.[01].*)
10741      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10742	   echo ' yes '
10743	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10744	:
10745      else
10746	can_build_shared=no
10747      fi
10748      ;;
10749    esac
10750    # Using Import Files as archive members, it is possible to support
10751    # filename-based versioning of shared library archives on AIX. While
10752    # this would work for both with and without runtime linking, it will
10753    # prevent static linking of such archives. So we do filename-based
10754    # shared library versioning with .so extension only, which is used
10755    # when both runtime linking and shared linking is enabled.
10756    # Unfortunately, runtime linking may impact performance, so we do
10757    # not want this to be the default eventually. Also, we use the
10758    # versioned .so libs for executables only if there is the -brtl
10759    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10760    # To allow for filename-based versioning support, we need to create
10761    # libNAME.so.V as an archive file, containing:
10762    # *) an Import File, referring to the versioned filename of the
10763    #    archive as well as the shared archive member, telling the
10764    #    bitwidth (32 or 64) of that shared object, and providing the
10765    #    list of exported symbols of that shared object, eventually
10766    #    decorated with the 'weak' keyword
10767    # *) the shared object with the F_LOADONLY flag set, to really avoid
10768    #    it being seen by the linker.
10769    # At run time we better use the real file rather than another symlink,
10770    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10771
10772    case $with_aix_soname,$aix_use_runtimelinking in
10773    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10774    # soname into executable. Probably we can add versioning support to
10775    # collect2, so additional links can be useful in future.
10776    aix,yes) # traditional libtool
10777      dynamic_linker='AIX unversionable lib.so'
10778      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10779      # instead of lib<name>.a to let people know that these are not
10780      # typical AIX shared libraries.
10781      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10782      ;;
10783    aix,no) # traditional AIX only
10784      dynamic_linker='AIX lib.a(lib.so.V)'
10785      # We preserve .a as extension for shared libraries through AIX4.2
10786      # and later when we are not doing run time linking.
10787      library_names_spec='$libname$release.a $libname.a'
10788      soname_spec='$libname$release$shared_ext$major'
10789      ;;
10790    svr4,*) # full svr4 only
10791      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10792      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10793      # We do not specify a path in Import Files, so LIBPATH fires.
10794      shlibpath_overrides_runpath=yes
10795      ;;
10796    *,yes) # both, prefer svr4
10797      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10798      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10799      # unpreferred sharedlib libNAME.a needs extra handling
10800      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10801      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10802      # We do not specify a path in Import Files, so LIBPATH fires.
10803      shlibpath_overrides_runpath=yes
10804      ;;
10805    *,no) # both, prefer aix
10806      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10807      library_names_spec='$libname$release.a $libname.a'
10808      soname_spec='$libname$release$shared_ext$major'
10809      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10810      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10811      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10812      ;;
10813    esac
10814    shlibpath_var=LIBPATH
10815  fi
10816  ;;
10817
10818amigaos*)
10819  case $host_cpu in
10820  powerpc)
10821    # Since July 2007 AmigaOS4 officially supports .so libraries.
10822    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10823    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10824    ;;
10825  m68k)
10826    library_names_spec='$libname.ixlibrary $libname.a'
10827    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10828    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10829    ;;
10830  esac
10831  ;;
10832
10833beos*)
10834  library_names_spec='$libname$shared_ext'
10835  dynamic_linker="$host_os ld.so"
10836  shlibpath_var=LIBRARY_PATH
10837  ;;
10838
10839bsdi[45]*)
10840  version_type=linux # correct to gnu/linux during the next big refactor
10841  need_version=no
10842  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10843  soname_spec='$libname$release$shared_ext$major'
10844  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10845  shlibpath_var=LD_LIBRARY_PATH
10846  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10847  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10848  # the default ld.so.conf also contains /usr/contrib/lib and
10849  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10850  # libtool to hard-code these into programs
10851  ;;
10852
10853cygwin* | mingw* | pw32* | cegcc*)
10854  version_type=windows
10855  shrext_cmds=.dll
10856  need_version=no
10857  need_lib_prefix=no
10858
10859  case $GCC,$cc_basename in
10860  yes,*)
10861    # gcc
10862    library_names_spec='$libname.dll.a'
10863    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10864    postinstall_cmds='base_file=`basename \$file`~
10865      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10866      dldir=$destdir/`dirname \$dlpath`~
10867      test -d \$dldir || mkdir -p \$dldir~
10868      $install_prog $dir/$dlname \$dldir/$dlname~
10869      chmod a+x \$dldir/$dlname~
10870      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10871        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10872      fi'
10873    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10874      dlpath=$dir/\$dldll~
10875       $RM \$dlpath'
10876    shlibpath_overrides_runpath=yes
10877
10878    case $host_os in
10879    cygwin*)
10880      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10881      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10882
10883      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10884      ;;
10885    mingw* | cegcc*)
10886      # MinGW DLLs use traditional 'lib' prefix
10887      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10888      ;;
10889    pw32*)
10890      # pw32 DLLs use 'pw' prefix rather than 'lib'
10891      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10892      ;;
10893    esac
10894    dynamic_linker='Win32 ld.exe'
10895    ;;
10896
10897  *,cl*)
10898    # Native MSVC
10899    libname_spec='$name'
10900    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10901    library_names_spec='$libname.dll.lib'
10902
10903    case $build_os in
10904    mingw*)
10905      sys_lib_search_path_spec=
10906      lt_save_ifs=$IFS
10907      IFS=';'
10908      for lt_path in $LIB
10909      do
10910        IFS=$lt_save_ifs
10911        # Let DOS variable expansion print the short 8.3 style file name.
10912        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10913        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10914      done
10915      IFS=$lt_save_ifs
10916      # Convert to MSYS style.
10917      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10918      ;;
10919    cygwin*)
10920      # Convert to unix form, then to dos form, then back to unix form
10921      # but this time dos style (no spaces!) so that the unix form looks
10922      # like /cygdrive/c/PROGRA~1:/cygdr...
10923      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10924      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10925      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10926      ;;
10927    *)
10928      sys_lib_search_path_spec=$LIB
10929      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10930        # It is most probably a Windows format PATH.
10931        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10932      else
10933        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10934      fi
10935      # FIXME: find the short name or the path components, as spaces are
10936      # common. (e.g. "Program Files" -> "PROGRA~1")
10937      ;;
10938    esac
10939
10940    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10941    postinstall_cmds='base_file=`basename \$file`~
10942      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10943      dldir=$destdir/`dirname \$dlpath`~
10944      test -d \$dldir || mkdir -p \$dldir~
10945      $install_prog $dir/$dlname \$dldir/$dlname'
10946    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10947      dlpath=$dir/\$dldll~
10948       $RM \$dlpath'
10949    shlibpath_overrides_runpath=yes
10950    dynamic_linker='Win32 link.exe'
10951    ;;
10952
10953  *)
10954    # Assume MSVC wrapper
10955    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10956    dynamic_linker='Win32 ld.exe'
10957    ;;
10958  esac
10959  # FIXME: first we should search . and the directory the executable is in
10960  shlibpath_var=PATH
10961  ;;
10962
10963darwin* | rhapsody*)
10964  dynamic_linker="$host_os dyld"
10965  version_type=darwin
10966  need_lib_prefix=no
10967  need_version=no
10968  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10969  soname_spec='$libname$release$major$shared_ext'
10970  shlibpath_overrides_runpath=yes
10971  shlibpath_var=DYLD_LIBRARY_PATH
10972  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10973
10974  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10975  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10976  ;;
10977
10978dgux*)
10979  version_type=linux # correct to gnu/linux during the next big refactor
10980  need_lib_prefix=no
10981  need_version=no
10982  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10983  soname_spec='$libname$release$shared_ext$major'
10984  shlibpath_var=LD_LIBRARY_PATH
10985  ;;
10986
10987freebsd* | dragonfly*)
10988  # DragonFly does not have aout.  When/if they implement a new
10989  # versioning mechanism, adjust this.
10990  if test -x /usr/bin/objformat; then
10991    objformat=`/usr/bin/objformat`
10992  else
10993    case $host_os in
10994    freebsd[23].*) objformat=aout ;;
10995    *) objformat=elf ;;
10996    esac
10997  fi
10998  version_type=freebsd-$objformat
10999  case $version_type in
11000    freebsd-elf*)
11001      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11002      soname_spec='$libname$release$shared_ext$major'
11003      need_version=no
11004      need_lib_prefix=no
11005      ;;
11006    freebsd-*)
11007      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11008      need_version=yes
11009      ;;
11010  esac
11011  shlibpath_var=LD_LIBRARY_PATH
11012  case $host_os in
11013  freebsd2.*)
11014    shlibpath_overrides_runpath=yes
11015    ;;
11016  freebsd3.[01]* | freebsdelf3.[01]*)
11017    shlibpath_overrides_runpath=yes
11018    hardcode_into_libs=yes
11019    ;;
11020  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11021  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11022    shlibpath_overrides_runpath=no
11023    hardcode_into_libs=yes
11024    ;;
11025  *) # from 4.6 on, and DragonFly
11026    shlibpath_overrides_runpath=yes
11027    hardcode_into_libs=yes
11028    ;;
11029  esac
11030  ;;
11031
11032haiku*)
11033  version_type=linux # correct to gnu/linux during the next big refactor
11034  need_lib_prefix=no
11035  need_version=no
11036  dynamic_linker="$host_os runtime_loader"
11037  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11038  soname_spec='$libname$release$shared_ext$major'
11039  shlibpath_var=LIBRARY_PATH
11040  shlibpath_overrides_runpath=no
11041  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11042  hardcode_into_libs=yes
11043  ;;
11044
11045hpux9* | hpux10* | hpux11*)
11046  # Give a soname corresponding to the major version so that dld.sl refuses to
11047  # link against other versions.
11048  version_type=sunos
11049  need_lib_prefix=no
11050  need_version=no
11051  case $host_cpu in
11052  ia64*)
11053    shrext_cmds='.so'
11054    hardcode_into_libs=yes
11055    dynamic_linker="$host_os dld.so"
11056    shlibpath_var=LD_LIBRARY_PATH
11057    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11058    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11059    soname_spec='$libname$release$shared_ext$major'
11060    if test 32 = "$HPUX_IA64_MODE"; then
11061      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11062      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11063    else
11064      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11065      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11066    fi
11067    ;;
11068  hppa*64*)
11069    shrext_cmds='.sl'
11070    hardcode_into_libs=yes
11071    dynamic_linker="$host_os dld.sl"
11072    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11073    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11074    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11075    soname_spec='$libname$release$shared_ext$major'
11076    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11077    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11078    ;;
11079  *)
11080    shrext_cmds='.sl'
11081    dynamic_linker="$host_os dld.sl"
11082    shlibpath_var=SHLIB_PATH
11083    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11084    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11085    soname_spec='$libname$release$shared_ext$major'
11086    ;;
11087  esac
11088  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11089  postinstall_cmds='chmod 555 $lib'
11090  # or fails outright, so override atomically:
11091  install_override_mode=555
11092  ;;
11093
11094interix[3-9]*)
11095  version_type=linux # correct to gnu/linux during the next big refactor
11096  need_lib_prefix=no
11097  need_version=no
11098  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11099  soname_spec='$libname$release$shared_ext$major'
11100  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11101  shlibpath_var=LD_LIBRARY_PATH
11102  shlibpath_overrides_runpath=no
11103  hardcode_into_libs=yes
11104  ;;
11105
11106irix5* | irix6* | nonstopux*)
11107  case $host_os in
11108    nonstopux*) version_type=nonstopux ;;
11109    *)
11110	if test yes = "$lt_cv_prog_gnu_ld"; then
11111		version_type=linux # correct to gnu/linux during the next big refactor
11112	else
11113		version_type=irix
11114	fi ;;
11115  esac
11116  need_lib_prefix=no
11117  need_version=no
11118  soname_spec='$libname$release$shared_ext$major'
11119  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11120  case $host_os in
11121  irix5* | nonstopux*)
11122    libsuff= shlibsuff=
11123    ;;
11124  *)
11125    case $LD in # libtool.m4 will add one of these switches to LD
11126    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11127      libsuff= shlibsuff= libmagic=32-bit;;
11128    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11129      libsuff=32 shlibsuff=N32 libmagic=N32;;
11130    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11131      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11132    *) libsuff= shlibsuff= libmagic=never-match;;
11133    esac
11134    ;;
11135  esac
11136  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11137  shlibpath_overrides_runpath=no
11138  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11139  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11140  hardcode_into_libs=yes
11141  ;;
11142
11143# No shared lib support for Linux oldld, aout, or coff.
11144linux*oldld* | linux*aout* | linux*coff*)
11145  dynamic_linker=no
11146  ;;
11147
11148linux*android*)
11149  version_type=none # Android doesn't support versioned libraries.
11150  need_lib_prefix=no
11151  need_version=no
11152  library_names_spec='$libname$release$shared_ext'
11153  soname_spec='$libname$release$shared_ext'
11154  finish_cmds=
11155  shlibpath_var=LD_LIBRARY_PATH
11156  shlibpath_overrides_runpath=yes
11157
11158  # This implies no fast_install, which is unacceptable.
11159  # Some rework will be needed to allow for fast_install
11160  # before this can be enabled.
11161  hardcode_into_libs=yes
11162
11163  dynamic_linker='Android linker'
11164  # Don't embed -rpath directories since the linker doesn't support them.
11165  hardcode_libdir_flag_spec='-L$libdir'
11166  ;;
11167
11168# This must be glibc/ELF.
11169linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11170  version_type=linux # correct to gnu/linux during the next big refactor
11171  need_lib_prefix=no
11172  need_version=no
11173  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11174  soname_spec='$libname$release$shared_ext$major'
11175  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11176  shlibpath_var=LD_LIBRARY_PATH
11177  shlibpath_overrides_runpath=no
11178
11179  # Some binutils ld are patched to set DT_RUNPATH
11180  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11181  $as_echo_n "(cached) " >&6
11182else
11183  lt_cv_shlibpath_overrides_runpath=no
11184    save_LDFLAGS=$LDFLAGS
11185    save_libdir=$libdir
11186    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11187	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11188    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189/* end confdefs.h.  */
11190
11191int
11192main ()
11193{
11194
11195  ;
11196  return 0;
11197}
11198_ACEOF
11199if ac_fn_c_try_link "$LINENO"; then :
11200  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11201  lt_cv_shlibpath_overrides_runpath=yes
11202fi
11203fi
11204rm -f core conftest.err conftest.$ac_objext \
11205    conftest$ac_exeext conftest.$ac_ext
11206    LDFLAGS=$save_LDFLAGS
11207    libdir=$save_libdir
11208
11209fi
11210
11211  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11212
11213  # This implies no fast_install, which is unacceptable.
11214  # Some rework will be needed to allow for fast_install
11215  # before this can be enabled.
11216  hardcode_into_libs=yes
11217
11218  # Ideally, we could use ldconfig to report *all* directores which are
11219  # searched for libraries, however this is still not possible.  Aside from not
11220  # being certain /sbin/ldconfig is available, command
11221  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11222  # even though it is searched at run-time.  Try to do the best guess by
11223  # appending ld.so.conf contents (and includes) to the search path.
11224  if test -f /etc/ld.so.conf; then
11225    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11226    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11227  fi
11228
11229  # We used to test for /lib/ld.so.1 and disable shared libraries on
11230  # powerpc, because MkLinux only supported shared libraries with the
11231  # GNU dynamic linker.  Since this was broken with cross compilers,
11232  # most powerpc-linux boxes support dynamic linking these days and
11233  # people can always --disable-shared, the test was removed, and we
11234  # assume the GNU/Linux dynamic linker is in use.
11235  dynamic_linker='GNU/Linux ld.so'
11236  ;;
11237
11238netbsd*)
11239  version_type=sunos
11240  need_lib_prefix=no
11241  need_version=no
11242  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11243    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11244    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11245    dynamic_linker='NetBSD (a.out) ld.so'
11246  else
11247    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11248    soname_spec='$libname$release$shared_ext$major'
11249    dynamic_linker='NetBSD ld.elf_so'
11250  fi
11251  shlibpath_var=LD_LIBRARY_PATH
11252  shlibpath_overrides_runpath=yes
11253  hardcode_into_libs=yes
11254  ;;
11255
11256newsos6)
11257  version_type=linux # correct to gnu/linux during the next big refactor
11258  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11259  shlibpath_var=LD_LIBRARY_PATH
11260  shlibpath_overrides_runpath=yes
11261  ;;
11262
11263*nto* | *qnx*)
11264  version_type=qnx
11265  need_lib_prefix=no
11266  need_version=no
11267  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11268  soname_spec='$libname$release$shared_ext$major'
11269  shlibpath_var=LD_LIBRARY_PATH
11270  shlibpath_overrides_runpath=no
11271  hardcode_into_libs=yes
11272  dynamic_linker='ldqnx.so'
11273  ;;
11274
11275openbsd* | bitrig*)
11276  version_type=sunos
11277  sys_lib_dlsearch_path_spec=/usr/lib
11278  need_lib_prefix=no
11279  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11280    need_version=no
11281  else
11282    need_version=yes
11283  fi
11284  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11285  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11286  shlibpath_var=LD_LIBRARY_PATH
11287  shlibpath_overrides_runpath=yes
11288  ;;
11289
11290os2*)
11291  libname_spec='$name'
11292  version_type=windows
11293  shrext_cmds=.dll
11294  need_version=no
11295  need_lib_prefix=no
11296  # OS/2 can only load a DLL with a base name of 8 characters or less.
11297  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11298    v=$($ECHO $release$versuffix | tr -d .-);
11299    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11300    $ECHO $n$v`$shared_ext'
11301  library_names_spec='${libname}_dll.$libext'
11302  dynamic_linker='OS/2 ld.exe'
11303  shlibpath_var=BEGINLIBPATH
11304  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11305  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11306  postinstall_cmds='base_file=`basename \$file`~
11307    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11308    dldir=$destdir/`dirname \$dlpath`~
11309    test -d \$dldir || mkdir -p \$dldir~
11310    $install_prog $dir/$dlname \$dldir/$dlname~
11311    chmod a+x \$dldir/$dlname~
11312    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11313      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11314    fi'
11315  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11316    dlpath=$dir/\$dldll~
11317    $RM \$dlpath'
11318  ;;
11319
11320osf3* | osf4* | osf5*)
11321  version_type=osf
11322  need_lib_prefix=no
11323  need_version=no
11324  soname_spec='$libname$release$shared_ext$major'
11325  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11326  shlibpath_var=LD_LIBRARY_PATH
11327  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11328  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11329  ;;
11330
11331rdos*)
11332  dynamic_linker=no
11333  ;;
11334
11335solaris*)
11336  version_type=linux # correct to gnu/linux during the next big refactor
11337  need_lib_prefix=no
11338  need_version=no
11339  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11340  soname_spec='$libname$release$shared_ext$major'
11341  shlibpath_var=LD_LIBRARY_PATH
11342  shlibpath_overrides_runpath=yes
11343  hardcode_into_libs=yes
11344  # ldd complains unless libraries are executable
11345  postinstall_cmds='chmod +x $lib'
11346  ;;
11347
11348sunos4*)
11349  version_type=sunos
11350  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11351  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11352  shlibpath_var=LD_LIBRARY_PATH
11353  shlibpath_overrides_runpath=yes
11354  if test yes = "$with_gnu_ld"; then
11355    need_lib_prefix=no
11356  fi
11357  need_version=yes
11358  ;;
11359
11360sysv4 | sysv4.3*)
11361  version_type=linux # correct to gnu/linux during the next big refactor
11362  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11363  soname_spec='$libname$release$shared_ext$major'
11364  shlibpath_var=LD_LIBRARY_PATH
11365  case $host_vendor in
11366    sni)
11367      shlibpath_overrides_runpath=no
11368      need_lib_prefix=no
11369      runpath_var=LD_RUN_PATH
11370      ;;
11371    siemens)
11372      need_lib_prefix=no
11373      ;;
11374    motorola)
11375      need_lib_prefix=no
11376      need_version=no
11377      shlibpath_overrides_runpath=no
11378      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11379      ;;
11380  esac
11381  ;;
11382
11383sysv4*MP*)
11384  if test -d /usr/nec; then
11385    version_type=linux # correct to gnu/linux during the next big refactor
11386    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11387    soname_spec='$libname$shared_ext.$major'
11388    shlibpath_var=LD_LIBRARY_PATH
11389  fi
11390  ;;
11391
11392sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11393  version_type=sco
11394  need_lib_prefix=no
11395  need_version=no
11396  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11397  soname_spec='$libname$release$shared_ext$major'
11398  shlibpath_var=LD_LIBRARY_PATH
11399  shlibpath_overrides_runpath=yes
11400  hardcode_into_libs=yes
11401  if test yes = "$with_gnu_ld"; then
11402    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11403  else
11404    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11405    case $host_os in
11406      sco3.2v5*)
11407        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11408	;;
11409    esac
11410  fi
11411  sys_lib_dlsearch_path_spec='/usr/lib'
11412  ;;
11413
11414tpf*)
11415  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11416  version_type=linux # correct to gnu/linux during the next big refactor
11417  need_lib_prefix=no
11418  need_version=no
11419  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11420  shlibpath_var=LD_LIBRARY_PATH
11421  shlibpath_overrides_runpath=no
11422  hardcode_into_libs=yes
11423  ;;
11424
11425uts4*)
11426  version_type=linux # correct to gnu/linux during the next big refactor
11427  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11428  soname_spec='$libname$release$shared_ext$major'
11429  shlibpath_var=LD_LIBRARY_PATH
11430  ;;
11431
11432*)
11433  dynamic_linker=no
11434  ;;
11435esac
11436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11437$as_echo "$dynamic_linker" >&6; }
11438test no = "$dynamic_linker" && can_build_shared=no
11439
11440variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11441if test yes = "$GCC"; then
11442  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11443fi
11444
11445if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11446  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11447fi
11448
11449if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11450  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11451fi
11452
11453# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11454configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11455
11456# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11457func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11458
11459# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11460configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11559$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11560hardcode_action=
11561if test -n "$hardcode_libdir_flag_spec" ||
11562   test -n "$runpath_var" ||
11563   test yes = "$hardcode_automatic"; then
11564
11565  # We can hardcode non-existent directories.
11566  if test no != "$hardcode_direct" &&
11567     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11568     # have to relink, otherwise we might link with an installed library
11569     # when we should be linking with a yet-to-be-installed one
11570     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11571     test no != "$hardcode_minus_L"; then
11572    # Linking always hardcodes the temporary library directory.
11573    hardcode_action=relink
11574  else
11575    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11576    hardcode_action=immediate
11577  fi
11578else
11579  # We cannot hardcode anything, or else we can only hardcode existing
11580  # directories.
11581  hardcode_action=unsupported
11582fi
11583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11584$as_echo "$hardcode_action" >&6; }
11585
11586if test relink = "$hardcode_action" ||
11587   test yes = "$inherit_rpath"; then
11588  # Fast installation is not supported
11589  enable_fast_install=no
11590elif test yes = "$shlibpath_overrides_runpath" ||
11591     test no = "$enable_shared"; then
11592  # Fast installation is not necessary
11593  enable_fast_install=needless
11594fi
11595
11596
11597
11598
11599
11600
11601  if test yes != "$enable_dlopen"; then
11602  enable_dlopen=unknown
11603  enable_dlopen_self=unknown
11604  enable_dlopen_self_static=unknown
11605else
11606  lt_cv_dlopen=no
11607  lt_cv_dlopen_libs=
11608
11609  case $host_os in
11610  beos*)
11611    lt_cv_dlopen=load_add_on
11612    lt_cv_dlopen_libs=
11613    lt_cv_dlopen_self=yes
11614    ;;
11615
11616  mingw* | pw32* | cegcc*)
11617    lt_cv_dlopen=LoadLibrary
11618    lt_cv_dlopen_libs=
11619    ;;
11620
11621  cygwin*)
11622    lt_cv_dlopen=dlopen
11623    lt_cv_dlopen_libs=
11624    ;;
11625
11626  darwin*)
11627    # if libdl is installed we need to link against it
11628    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11629$as_echo_n "checking for dlopen in -ldl... " >&6; }
11630if ${ac_cv_lib_dl_dlopen+:} false; then :
11631  $as_echo_n "(cached) " >&6
11632else
11633  ac_check_lib_save_LIBS=$LIBS
11634LIBS="-ldl  $LIBS"
11635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636/* end confdefs.h.  */
11637
11638/* Override any GCC internal prototype to avoid an error.
11639   Use char because int might match the return type of a GCC
11640   builtin and then its argument prototype would still apply.  */
11641#ifdef __cplusplus
11642extern "C"
11643#endif
11644char dlopen ();
11645int
11646main ()
11647{
11648return dlopen ();
11649  ;
11650  return 0;
11651}
11652_ACEOF
11653if ac_fn_c_try_link "$LINENO"; then :
11654  ac_cv_lib_dl_dlopen=yes
11655else
11656  ac_cv_lib_dl_dlopen=no
11657fi
11658rm -f core conftest.err conftest.$ac_objext \
11659    conftest$ac_exeext conftest.$ac_ext
11660LIBS=$ac_check_lib_save_LIBS
11661fi
11662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11663$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11664if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11665  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11666else
11667
11668    lt_cv_dlopen=dyld
11669    lt_cv_dlopen_libs=
11670    lt_cv_dlopen_self=yes
11671
11672fi
11673
11674    ;;
11675
11676  tpf*)
11677    # Don't try to run any link tests for TPF.  We know it's impossible
11678    # because TPF is a cross-compiler, and we know how we open DSOs.
11679    lt_cv_dlopen=dlopen
11680    lt_cv_dlopen_libs=
11681    lt_cv_dlopen_self=no
11682    ;;
11683
11684  *)
11685    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11686if test "x$ac_cv_func_shl_load" = xyes; then :
11687  lt_cv_dlopen=shl_load
11688else
11689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11690$as_echo_n "checking for shl_load in -ldld... " >&6; }
11691if ${ac_cv_lib_dld_shl_load+:} false; then :
11692  $as_echo_n "(cached) " >&6
11693else
11694  ac_check_lib_save_LIBS=$LIBS
11695LIBS="-ldld  $LIBS"
11696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697/* end confdefs.h.  */
11698
11699/* Override any GCC internal prototype to avoid an error.
11700   Use char because int might match the return type of a GCC
11701   builtin and then its argument prototype would still apply.  */
11702#ifdef __cplusplus
11703extern "C"
11704#endif
11705char shl_load ();
11706int
11707main ()
11708{
11709return shl_load ();
11710  ;
11711  return 0;
11712}
11713_ACEOF
11714if ac_fn_c_try_link "$LINENO"; then :
11715  ac_cv_lib_dld_shl_load=yes
11716else
11717  ac_cv_lib_dld_shl_load=no
11718fi
11719rm -f core conftest.err conftest.$ac_objext \
11720    conftest$ac_exeext conftest.$ac_ext
11721LIBS=$ac_check_lib_save_LIBS
11722fi
11723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11724$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11725if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11726  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11727else
11728  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11729if test "x$ac_cv_func_dlopen" = xyes; then :
11730  lt_cv_dlopen=dlopen
11731else
11732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11733$as_echo_n "checking for dlopen in -ldl... " >&6; }
11734if ${ac_cv_lib_dl_dlopen+:} false; then :
11735  $as_echo_n "(cached) " >&6
11736else
11737  ac_check_lib_save_LIBS=$LIBS
11738LIBS="-ldl  $LIBS"
11739cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740/* end confdefs.h.  */
11741
11742/* Override any GCC internal prototype to avoid an error.
11743   Use char because int might match the return type of a GCC
11744   builtin and then its argument prototype would still apply.  */
11745#ifdef __cplusplus
11746extern "C"
11747#endif
11748char dlopen ();
11749int
11750main ()
11751{
11752return dlopen ();
11753  ;
11754  return 0;
11755}
11756_ACEOF
11757if ac_fn_c_try_link "$LINENO"; then :
11758  ac_cv_lib_dl_dlopen=yes
11759else
11760  ac_cv_lib_dl_dlopen=no
11761fi
11762rm -f core conftest.err conftest.$ac_objext \
11763    conftest$ac_exeext conftest.$ac_ext
11764LIBS=$ac_check_lib_save_LIBS
11765fi
11766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11767$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11768if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11769  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11770else
11771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11772$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11773if ${ac_cv_lib_svld_dlopen+:} false; then :
11774  $as_echo_n "(cached) " >&6
11775else
11776  ac_check_lib_save_LIBS=$LIBS
11777LIBS="-lsvld  $LIBS"
11778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779/* end confdefs.h.  */
11780
11781/* Override any GCC internal prototype to avoid an error.
11782   Use char because int might match the return type of a GCC
11783   builtin and then its argument prototype would still apply.  */
11784#ifdef __cplusplus
11785extern "C"
11786#endif
11787char dlopen ();
11788int
11789main ()
11790{
11791return dlopen ();
11792  ;
11793  return 0;
11794}
11795_ACEOF
11796if ac_fn_c_try_link "$LINENO"; then :
11797  ac_cv_lib_svld_dlopen=yes
11798else
11799  ac_cv_lib_svld_dlopen=no
11800fi
11801rm -f core conftest.err conftest.$ac_objext \
11802    conftest$ac_exeext conftest.$ac_ext
11803LIBS=$ac_check_lib_save_LIBS
11804fi
11805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11806$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11807if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11808  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11809else
11810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11811$as_echo_n "checking for dld_link in -ldld... " >&6; }
11812if ${ac_cv_lib_dld_dld_link+:} false; then :
11813  $as_echo_n "(cached) " >&6
11814else
11815  ac_check_lib_save_LIBS=$LIBS
11816LIBS="-ldld  $LIBS"
11817cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818/* end confdefs.h.  */
11819
11820/* Override any GCC internal prototype to avoid an error.
11821   Use char because int might match the return type of a GCC
11822   builtin and then its argument prototype would still apply.  */
11823#ifdef __cplusplus
11824extern "C"
11825#endif
11826char dld_link ();
11827int
11828main ()
11829{
11830return dld_link ();
11831  ;
11832  return 0;
11833}
11834_ACEOF
11835if ac_fn_c_try_link "$LINENO"; then :
11836  ac_cv_lib_dld_dld_link=yes
11837else
11838  ac_cv_lib_dld_dld_link=no
11839fi
11840rm -f core conftest.err conftest.$ac_objext \
11841    conftest$ac_exeext conftest.$ac_ext
11842LIBS=$ac_check_lib_save_LIBS
11843fi
11844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11845$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11846if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11847  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11848fi
11849
11850
11851fi
11852
11853
11854fi
11855
11856
11857fi
11858
11859
11860fi
11861
11862
11863fi
11864
11865    ;;
11866  esac
11867
11868  if test no = "$lt_cv_dlopen"; then
11869    enable_dlopen=no
11870  else
11871    enable_dlopen=yes
11872  fi
11873
11874  case $lt_cv_dlopen in
11875  dlopen)
11876    save_CPPFLAGS=$CPPFLAGS
11877    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11878
11879    save_LDFLAGS=$LDFLAGS
11880    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11881
11882    save_LIBS=$LIBS
11883    LIBS="$lt_cv_dlopen_libs $LIBS"
11884
11885    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11886$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11887if ${lt_cv_dlopen_self+:} false; then :
11888  $as_echo_n "(cached) " >&6
11889else
11890  	  if test yes = "$cross_compiling"; then :
11891  lt_cv_dlopen_self=cross
11892else
11893  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11894  lt_status=$lt_dlunknown
11895  cat > conftest.$ac_ext <<_LT_EOF
11896#line $LINENO "configure"
11897#include "confdefs.h"
11898
11899#if HAVE_DLFCN_H
11900#include <dlfcn.h>
11901#endif
11902
11903#include <stdio.h>
11904
11905#ifdef RTLD_GLOBAL
11906#  define LT_DLGLOBAL		RTLD_GLOBAL
11907#else
11908#  ifdef DL_GLOBAL
11909#    define LT_DLGLOBAL		DL_GLOBAL
11910#  else
11911#    define LT_DLGLOBAL		0
11912#  endif
11913#endif
11914
11915/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11916   find out it does not work in some platform. */
11917#ifndef LT_DLLAZY_OR_NOW
11918#  ifdef RTLD_LAZY
11919#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11920#  else
11921#    ifdef DL_LAZY
11922#      define LT_DLLAZY_OR_NOW		DL_LAZY
11923#    else
11924#      ifdef RTLD_NOW
11925#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11926#      else
11927#        ifdef DL_NOW
11928#          define LT_DLLAZY_OR_NOW	DL_NOW
11929#        else
11930#          define LT_DLLAZY_OR_NOW	0
11931#        endif
11932#      endif
11933#    endif
11934#  endif
11935#endif
11936
11937/* When -fvisibility=hidden is used, assume the code has been annotated
11938   correspondingly for the symbols needed.  */
11939#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11940int fnord () __attribute__((visibility("default")));
11941#endif
11942
11943int fnord () { return 42; }
11944int main ()
11945{
11946  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11947  int status = $lt_dlunknown;
11948
11949  if (self)
11950    {
11951      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11952      else
11953        {
11954	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11955          else puts (dlerror ());
11956	}
11957      /* dlclose (self); */
11958    }
11959  else
11960    puts (dlerror ());
11961
11962  return status;
11963}
11964_LT_EOF
11965  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11966  (eval $ac_link) 2>&5
11967  ac_status=$?
11968  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11969  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11970    (./conftest; exit; ) >&5 2>/dev/null
11971    lt_status=$?
11972    case x$lt_status in
11973      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11974      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11975      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11976    esac
11977  else :
11978    # compilation failed
11979    lt_cv_dlopen_self=no
11980  fi
11981fi
11982rm -fr conftest*
11983
11984
11985fi
11986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11987$as_echo "$lt_cv_dlopen_self" >&6; }
11988
11989    if test yes = "$lt_cv_dlopen_self"; then
11990      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11991      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11992$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11993if ${lt_cv_dlopen_self_static+:} false; then :
11994  $as_echo_n "(cached) " >&6
11995else
11996  	  if test yes = "$cross_compiling"; then :
11997  lt_cv_dlopen_self_static=cross
11998else
11999  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12000  lt_status=$lt_dlunknown
12001  cat > conftest.$ac_ext <<_LT_EOF
12002#line $LINENO "configure"
12003#include "confdefs.h"
12004
12005#if HAVE_DLFCN_H
12006#include <dlfcn.h>
12007#endif
12008
12009#include <stdio.h>
12010
12011#ifdef RTLD_GLOBAL
12012#  define LT_DLGLOBAL		RTLD_GLOBAL
12013#else
12014#  ifdef DL_GLOBAL
12015#    define LT_DLGLOBAL		DL_GLOBAL
12016#  else
12017#    define LT_DLGLOBAL		0
12018#  endif
12019#endif
12020
12021/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12022   find out it does not work in some platform. */
12023#ifndef LT_DLLAZY_OR_NOW
12024#  ifdef RTLD_LAZY
12025#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12026#  else
12027#    ifdef DL_LAZY
12028#      define LT_DLLAZY_OR_NOW		DL_LAZY
12029#    else
12030#      ifdef RTLD_NOW
12031#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12032#      else
12033#        ifdef DL_NOW
12034#          define LT_DLLAZY_OR_NOW	DL_NOW
12035#        else
12036#          define LT_DLLAZY_OR_NOW	0
12037#        endif
12038#      endif
12039#    endif
12040#  endif
12041#endif
12042
12043/* When -fvisibility=hidden is used, assume the code has been annotated
12044   correspondingly for the symbols needed.  */
12045#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12046int fnord () __attribute__((visibility("default")));
12047#endif
12048
12049int fnord () { return 42; }
12050int main ()
12051{
12052  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12053  int status = $lt_dlunknown;
12054
12055  if (self)
12056    {
12057      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12058      else
12059        {
12060	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12061          else puts (dlerror ());
12062	}
12063      /* dlclose (self); */
12064    }
12065  else
12066    puts (dlerror ());
12067
12068  return status;
12069}
12070_LT_EOF
12071  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12072  (eval $ac_link) 2>&5
12073  ac_status=$?
12074  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12076    (./conftest; exit; ) >&5 2>/dev/null
12077    lt_status=$?
12078    case x$lt_status in
12079      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12080      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12081      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12082    esac
12083  else :
12084    # compilation failed
12085    lt_cv_dlopen_self_static=no
12086  fi
12087fi
12088rm -fr conftest*
12089
12090
12091fi
12092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12093$as_echo "$lt_cv_dlopen_self_static" >&6; }
12094    fi
12095
12096    CPPFLAGS=$save_CPPFLAGS
12097    LDFLAGS=$save_LDFLAGS
12098    LIBS=$save_LIBS
12099    ;;
12100  esac
12101
12102  case $lt_cv_dlopen_self in
12103  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12104  *) enable_dlopen_self=unknown ;;
12105  esac
12106
12107  case $lt_cv_dlopen_self_static in
12108  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12109  *) enable_dlopen_self_static=unknown ;;
12110  esac
12111fi
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129striplib=
12130old_striplib=
12131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12132$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12133if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12134  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12135  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12137$as_echo "yes" >&6; }
12138else
12139# FIXME - insert some real tests, host_os isn't really good enough
12140  case $host_os in
12141  darwin*)
12142    if test -n "$STRIP"; then
12143      striplib="$STRIP -x"
12144      old_striplib="$STRIP -S"
12145      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146$as_echo "yes" >&6; }
12147    else
12148      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12149$as_echo "no" >&6; }
12150    fi
12151    ;;
12152  *)
12153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154$as_echo "no" >&6; }
12155    ;;
12156  esac
12157fi
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170  # Report what library types will actually be built
12171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12172$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12174$as_echo "$can_build_shared" >&6; }
12175
12176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12177$as_echo_n "checking whether to build shared libraries... " >&6; }
12178  test no = "$can_build_shared" && enable_shared=no
12179
12180  # On AIX, shared libraries and static libraries use the same namespace, and
12181  # are all built from PIC.
12182  case $host_os in
12183  aix3*)
12184    test yes = "$enable_shared" && enable_static=no
12185    if test -n "$RANLIB"; then
12186      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12187      postinstall_cmds='$RANLIB $lib'
12188    fi
12189    ;;
12190
12191  aix[4-9]*)
12192    if test ia64 != "$host_cpu"; then
12193      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12194      yes,aix,yes) ;;			# shared object as lib.so file only
12195      yes,svr4,*) ;;			# shared object as lib.so archive member only
12196      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12197      esac
12198    fi
12199    ;;
12200  esac
12201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12202$as_echo "$enable_shared" >&6; }
12203
12204  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12205$as_echo_n "checking whether to build static libraries... " >&6; }
12206  # Make sure either enable_shared or enable_static is yes.
12207  test yes = "$enable_shared" || enable_static=yes
12208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12209$as_echo "$enable_static" >&6; }
12210
12211
12212
12213
12214fi
12215ac_ext=c
12216ac_cpp='$CPP $CPPFLAGS'
12217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12219ac_compiler_gnu=$ac_cv_c_compiler_gnu
12220
12221CC=$lt_save_CC
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237        ac_config_commands="$ac_config_commands libtool"
12238
12239
12240
12241
12242# Only expand once:
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12253	if test -n "$ac_tool_prefix"; then
12254  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12255set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12257$as_echo_n "checking for $ac_word... " >&6; }
12258if ${ac_cv_path_PKG_CONFIG+:} false; then :
12259  $as_echo_n "(cached) " >&6
12260else
12261  case $PKG_CONFIG in
12262  [\\/]* | ?:[\\/]*)
12263  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12264  ;;
12265  *)
12266  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267for as_dir in $PATH
12268do
12269  IFS=$as_save_IFS
12270  test -z "$as_dir" && as_dir=.
12271    for ac_exec_ext in '' $ac_executable_extensions; do
12272  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12273    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12274    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12275    break 2
12276  fi
12277done
12278  done
12279IFS=$as_save_IFS
12280
12281  ;;
12282esac
12283fi
12284PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12285if test -n "$PKG_CONFIG"; then
12286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12287$as_echo "$PKG_CONFIG" >&6; }
12288else
12289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290$as_echo "no" >&6; }
12291fi
12292
12293
12294fi
12295if test -z "$ac_cv_path_PKG_CONFIG"; then
12296  ac_pt_PKG_CONFIG=$PKG_CONFIG
12297  # Extract the first word of "pkg-config", so it can be a program name with args.
12298set dummy pkg-config; ac_word=$2
12299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12300$as_echo_n "checking for $ac_word... " >&6; }
12301if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12302  $as_echo_n "(cached) " >&6
12303else
12304  case $ac_pt_PKG_CONFIG in
12305  [\\/]* | ?:[\\/]*)
12306  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12307  ;;
12308  *)
12309  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310for as_dir in $PATH
12311do
12312  IFS=$as_save_IFS
12313  test -z "$as_dir" && as_dir=.
12314    for ac_exec_ext in '' $ac_executable_extensions; do
12315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12316    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12318    break 2
12319  fi
12320done
12321  done
12322IFS=$as_save_IFS
12323
12324  ;;
12325esac
12326fi
12327ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12328if test -n "$ac_pt_PKG_CONFIG"; then
12329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12330$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12331else
12332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333$as_echo "no" >&6; }
12334fi
12335
12336  if test "x$ac_pt_PKG_CONFIG" = x; then
12337    PKG_CONFIG=""
12338  else
12339    case $cross_compiling:$ac_tool_warned in
12340yes:)
12341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12343ac_tool_warned=yes ;;
12344esac
12345    PKG_CONFIG=$ac_pt_PKG_CONFIG
12346  fi
12347else
12348  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12349fi
12350
12351fi
12352if test -n "$PKG_CONFIG"; then
12353	_pkg_min_version=0.9.0
12354	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12355$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12356	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12357		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12358$as_echo "yes" >&6; }
12359	else
12360		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12361$as_echo "no" >&6; }
12362		PKG_CONFIG=""
12363	fi
12364fi
12365
12366ac_config_headers="$ac_config_headers config.h"
12367
12368
12369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are enabled" >&5
12370$as_echo_n "checking whether tests are enabled... " >&6; }
12371# Check whether --enable-tests was given.
12372if test "${enable_tests+set}" = set; then :
12373  enableval=$enable_tests; enable_tests=$enableval
12374else
12375  enable_tests=no
12376fi
12377
12378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_tests" >&5
12379$as_echo "$enable_tests" >&6; }
12380 if test x$enable_tests = xyes; then
12381  ENABLE_TESTING_TRUE=
12382  ENABLE_TESTING_FALSE='#'
12383else
12384  ENABLE_TESTING_TRUE='#'
12385  ENABLE_TESTING_FALSE=
12386fi
12387
12388
12389if test "$enable_tests" = "yes"; then
12390
12391py_mod_var=`echo dbus'_' | sed 'y%./+-%__p_%'`
12392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbus" >&5
12393$as_echo_n "checking for python module dbus... " >&6; }
12394if eval \${py_cv_mod_$py_mod_var+:} false; then :
12395  $as_echo_n "(cached) " >&6
12396else
12397
12398prog="
12399import sys
12400try:
12401	import dbus
12402except ImportError:
12403	sys.exit(1)
12404except:
12405	sys.exit(0)
12406sys.exit(0)"
12407if $PYTHON -c "$prog" 1>&5 2>&5
12408  then
12409    eval "py_cv_mod_$py_mod_var=yes"
12410  else
12411    eval "py_cv_mod_$py_mod_var=no"
12412  fi
12413
12414fi
12415
12416py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
12417if test "x$py_val" != xno; then
12418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12419$as_echo "yes" >&6; }
12420  else
12421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12422$as_echo "no" >&6; }
12423  as_fn_error $? "Could not find python module: dbus" "$LINENO" 5
12424fi
12425
12426
12427
12428pkg_failed=no
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12430$as_echo_n "checking for DBUS... " >&6; }
12431
12432if test -n "$DBUS_CFLAGS"; then
12433    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12434 elif test -n "$PKG_CONFIG"; then
12435    if test -n "$PKG_CONFIG" && \
12436    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12437  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12438  ac_status=$?
12439  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12440  test $ac_status = 0; }; then
12441  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
12442		      test "x$?" != "x0" && pkg_failed=yes
12443else
12444  pkg_failed=yes
12445fi
12446 else
12447    pkg_failed=untried
12448fi
12449if test -n "$DBUS_LIBS"; then
12450    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12451 elif test -n "$PKG_CONFIG"; then
12452    if test -n "$PKG_CONFIG" && \
12453    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12454  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12455  ac_status=$?
12456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12457  test $ac_status = 0; }; then
12458  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
12459		      test "x$?" != "x0" && pkg_failed=yes
12460else
12461  pkg_failed=yes
12462fi
12463 else
12464    pkg_failed=untried
12465fi
12466
12467
12468
12469if test $pkg_failed = yes; then
12470   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12471$as_echo "no" >&6; }
12472
12473if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12474        _pkg_short_errors_supported=yes
12475else
12476        _pkg_short_errors_supported=no
12477fi
12478        if test $_pkg_short_errors_supported = yes; then
12479	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
12480        else
12481	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
12482        fi
12483	# Put the nasty error message in config.log where it belongs
12484	echo "$DBUS_PKG_ERRORS" >&5
12485
12486	as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
12487
12488$DBUS_PKG_ERRORS
12489
12490Consider adjusting the PKG_CONFIG_PATH environment variable if you
12491installed software in a non-standard prefix.
12492
12493Alternatively, you may set the environment variables DBUS_CFLAGS
12494and DBUS_LIBS to avoid the need to call pkg-config.
12495See the pkg-config man page for more details." "$LINENO" 5
12496elif test $pkg_failed = untried; then
12497     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498$as_echo "no" >&6; }
12499	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12501as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12502is in your PATH or set the PKG_CONFIG environment variable to the full
12503path to pkg-config.
12504
12505Alternatively, you may set the environment variables DBUS_CFLAGS
12506and DBUS_LIBS to avoid the need to call pkg-config.
12507See the pkg-config man page for more details.
12508
12509To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12510See \`config.log' for more details" "$LINENO" 5; }
12511else
12512	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12513	DBUS_LIBS=$pkg_cv_DBUS_LIBS
12514        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12515$as_echo "yes" >&6; }
12516
12517fi
12518
12519
12520
12521
12522pkg_failed=no
12523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12524$as_echo_n "checking for GLIB... " >&6; }
12525
12526if test -n "$GLIB_CFLAGS"; then
12527    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12528 elif test -n "$PKG_CONFIG"; then
12529    if test -n "$PKG_CONFIG" && \
12530    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
12531  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
12532  ac_status=$?
12533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12534  test $ac_status = 0; }; then
12535  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
12536		      test "x$?" != "x0" && pkg_failed=yes
12537else
12538  pkg_failed=yes
12539fi
12540 else
12541    pkg_failed=untried
12542fi
12543if test -n "$GLIB_LIBS"; then
12544    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12545 elif test -n "$PKG_CONFIG"; then
12546    if test -n "$PKG_CONFIG" && \
12547    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
12548  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
12549  ac_status=$?
12550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12551  test $ac_status = 0; }; then
12552  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
12553		      test "x$?" != "x0" && pkg_failed=yes
12554else
12555  pkg_failed=yes
12556fi
12557 else
12558    pkg_failed=untried
12559fi
12560
12561
12562
12563if test $pkg_failed = yes; then
12564   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12565$as_echo "no" >&6; }
12566
12567if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12568        _pkg_short_errors_supported=yes
12569else
12570        _pkg_short_errors_supported=no
12571fi
12572        if test $_pkg_short_errors_supported = yes; then
12573	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
12574        else
12575	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
12576        fi
12577	# Put the nasty error message in config.log where it belongs
12578	echo "$GLIB_PKG_ERRORS" >&5
12579
12580	as_fn_error $? "Package requirements (glib-2.0) were not met:
12581
12582$GLIB_PKG_ERRORS
12583
12584Consider adjusting the PKG_CONFIG_PATH environment variable if you
12585installed software in a non-standard prefix.
12586
12587Alternatively, you may set the environment variables GLIB_CFLAGS
12588and GLIB_LIBS to avoid the need to call pkg-config.
12589See the pkg-config man page for more details." "$LINENO" 5
12590elif test $pkg_failed = untried; then
12591     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592$as_echo "no" >&6; }
12593	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12595as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12596is in your PATH or set the PKG_CONFIG environment variable to the full
12597path to pkg-config.
12598
12599Alternatively, you may set the environment variables GLIB_CFLAGS
12600and GLIB_LIBS to avoid the need to call pkg-config.
12601See the pkg-config man page for more details.
12602
12603To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12604See \`config.log' for more details" "$LINENO" 5; }
12605else
12606	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12607	GLIB_LIBS=$pkg_cv_GLIB_LIBS
12608        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12609$as_echo "yes" >&6; }
12610
12611fi
12612
12613
12614
12615
12616pkg_failed=no
12617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AT_SPI" >&5
12618$as_echo_n "checking for AT_SPI... " >&6; }
12619
12620if test -n "$AT_SPI_CFLAGS"; then
12621    pkg_cv_AT_SPI_CFLAGS="$AT_SPI_CFLAGS"
12622 elif test -n "$PKG_CONFIG"; then
12623    if test -n "$PKG_CONFIG" && \
12624    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5
12625  ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5
12626  ac_status=$?
12627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12628  test $ac_status = 0; }; then
12629  pkg_cv_AT_SPI_CFLAGS=`$PKG_CONFIG --cflags "atspi-2" 2>/dev/null`
12630		      test "x$?" != "x0" && pkg_failed=yes
12631else
12632  pkg_failed=yes
12633fi
12634 else
12635    pkg_failed=untried
12636fi
12637if test -n "$AT_SPI_LIBS"; then
12638    pkg_cv_AT_SPI_LIBS="$AT_SPI_LIBS"
12639 elif test -n "$PKG_CONFIG"; then
12640    if test -n "$PKG_CONFIG" && \
12641    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5
12642  ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5
12643  ac_status=$?
12644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12645  test $ac_status = 0; }; then
12646  pkg_cv_AT_SPI_LIBS=`$PKG_CONFIG --libs "atspi-2" 2>/dev/null`
12647		      test "x$?" != "x0" && pkg_failed=yes
12648else
12649  pkg_failed=yes
12650fi
12651 else
12652    pkg_failed=untried
12653fi
12654
12655
12656
12657if test $pkg_failed = yes; then
12658   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659$as_echo "no" >&6; }
12660
12661if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12662        _pkg_short_errors_supported=yes
12663else
12664        _pkg_short_errors_supported=no
12665fi
12666        if test $_pkg_short_errors_supported = yes; then
12667	        AT_SPI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atspi-2" 2>&1`
12668        else
12669	        AT_SPI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atspi-2" 2>&1`
12670        fi
12671	# Put the nasty error message in config.log where it belongs
12672	echo "$AT_SPI_PKG_ERRORS" >&5
12673
12674	as_fn_error $? "Package requirements (atspi-2) were not met:
12675
12676$AT_SPI_PKG_ERRORS
12677
12678Consider adjusting the PKG_CONFIG_PATH environment variable if you
12679installed software in a non-standard prefix.
12680
12681Alternatively, you may set the environment variables AT_SPI_CFLAGS
12682and AT_SPI_LIBS to avoid the need to call pkg-config.
12683See the pkg-config man page for more details." "$LINENO" 5
12684elif test $pkg_failed = untried; then
12685     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686$as_echo "no" >&6; }
12687	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12689as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12690is in your PATH or set the PKG_CONFIG environment variable to the full
12691path to pkg-config.
12692
12693Alternatively, you may set the environment variables AT_SPI_CFLAGS
12694and AT_SPI_LIBS to avoid the need to call pkg-config.
12695See the pkg-config man page for more details.
12696
12697To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12698See \`config.log' for more details" "$LINENO" 5; }
12699else
12700	AT_SPI_CFLAGS=$pkg_cv_AT_SPI_CFLAGS
12701	AT_SPI_LIBS=$pkg_cv_AT_SPI_LIBS
12702        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12703$as_echo "yes" >&6; }
12704
12705fi
12706
12707
12708
12709
12710pkg_failed=no
12711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
12712$as_echo_n "checking for GOBJ... " >&6; }
12713
12714if test -n "$GOBJ_CFLAGS"; then
12715    pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
12716 elif test -n "$PKG_CONFIG"; then
12717    if test -n "$PKG_CONFIG" && \
12718    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12719  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12720  ac_status=$?
12721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12722  test $ac_status = 0; }; then
12723  pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
12724		      test "x$?" != "x0" && pkg_failed=yes
12725else
12726  pkg_failed=yes
12727fi
12728 else
12729    pkg_failed=untried
12730fi
12731if test -n "$GOBJ_LIBS"; then
12732    pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
12733 elif test -n "$PKG_CONFIG"; then
12734    if test -n "$PKG_CONFIG" && \
12735    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12736  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12737  ac_status=$?
12738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12739  test $ac_status = 0; }; then
12740  pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
12741		      test "x$?" != "x0" && pkg_failed=yes
12742else
12743  pkg_failed=yes
12744fi
12745 else
12746    pkg_failed=untried
12747fi
12748
12749
12750
12751if test $pkg_failed = yes; then
12752   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753$as_echo "no" >&6; }
12754
12755if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12756        _pkg_short_errors_supported=yes
12757else
12758        _pkg_short_errors_supported=no
12759fi
12760        if test $_pkg_short_errors_supported = yes; then
12761	        GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
12762        else
12763	        GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
12764        fi
12765	# Put the nasty error message in config.log where it belongs
12766	echo "$GOBJ_PKG_ERRORS" >&5
12767
12768	as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
12769
12770$GOBJ_PKG_ERRORS
12771
12772Consider adjusting the PKG_CONFIG_PATH environment variable if you
12773installed software in a non-standard prefix.
12774
12775Alternatively, you may set the environment variables GOBJ_CFLAGS
12776and GOBJ_LIBS to avoid the need to call pkg-config.
12777See the pkg-config man page for more details." "$LINENO" 5
12778elif test $pkg_failed = untried; then
12779     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780$as_echo "no" >&6; }
12781	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12782$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12783as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12784is in your PATH or set the PKG_CONFIG environment variable to the full
12785path to pkg-config.
12786
12787Alternatively, you may set the environment variables GOBJ_CFLAGS
12788and GOBJ_LIBS to avoid the need to call pkg-config.
12789See the pkg-config man page for more details.
12790
12791To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12792See \`config.log' for more details" "$LINENO" 5; }
12793else
12794	GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
12795	GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
12796        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12797$as_echo "yes" >&6; }
12798
12799fi
12800
12801
12802
12803
12804pkg_failed=no
12805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12806$as_echo_n "checking for GMODULE... " >&6; }
12807
12808if test -n "$GMODULE_CFLAGS"; then
12809    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12810 elif test -n "$PKG_CONFIG"; then
12811    if test -n "$PKG_CONFIG" && \
12812    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
12813  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
12814  ac_status=$?
12815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12816  test $ac_status = 0; }; then
12817  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.0.0" 2>/dev/null`
12818		      test "x$?" != "x0" && pkg_failed=yes
12819else
12820  pkg_failed=yes
12821fi
12822 else
12823    pkg_failed=untried
12824fi
12825if test -n "$GMODULE_LIBS"; then
12826    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12827 elif test -n "$PKG_CONFIG"; then
12828    if test -n "$PKG_CONFIG" && \
12829    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
12830  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
12831  ac_status=$?
12832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12833  test $ac_status = 0; }; then
12834  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.0.0" 2>/dev/null`
12835		      test "x$?" != "x0" && pkg_failed=yes
12836else
12837  pkg_failed=yes
12838fi
12839 else
12840    pkg_failed=untried
12841fi
12842
12843
12844
12845if test $pkg_failed = yes; then
12846   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12847$as_echo "no" >&6; }
12848
12849if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12850        _pkg_short_errors_supported=yes
12851else
12852        _pkg_short_errors_supported=no
12853fi
12854        if test $_pkg_short_errors_supported = yes; then
12855	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= 2.0.0" 2>&1`
12856        else
12857	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= 2.0.0" 2>&1`
12858        fi
12859	# Put the nasty error message in config.log where it belongs
12860	echo "$GMODULE_PKG_ERRORS" >&5
12861
12862	as_fn_error $? "Package requirements (gmodule-2.0 >= 2.0.0) were not met:
12863
12864$GMODULE_PKG_ERRORS
12865
12866Consider adjusting the PKG_CONFIG_PATH environment variable if you
12867installed software in a non-standard prefix.
12868
12869Alternatively, you may set the environment variables GMODULE_CFLAGS
12870and GMODULE_LIBS to avoid the need to call pkg-config.
12871See the pkg-config man page for more details." "$LINENO" 5
12872elif test $pkg_failed = untried; then
12873     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874$as_echo "no" >&6; }
12875	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12877as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12878is in your PATH or set the PKG_CONFIG environment variable to the full
12879path to pkg-config.
12880
12881Alternatively, you may set the environment variables GMODULE_CFLAGS
12882and GMODULE_LIBS to avoid the need to call pkg-config.
12883See the pkg-config man page for more details.
12884
12885To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12886See \`config.log' for more details" "$LINENO" 5; }
12887else
12888	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12889	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12890        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12891$as_echo "yes" >&6; }
12892
12893fi
12894
12895
12896
12897
12898pkg_failed=no
12899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIB_XML" >&5
12900$as_echo_n "checking for LIB_XML... " >&6; }
12901
12902if test -n "$LIB_XML_CFLAGS"; then
12903    pkg_cv_LIB_XML_CFLAGS="$LIB_XML_CFLAGS"
12904 elif test -n "$PKG_CONFIG"; then
12905    if test -n "$PKG_CONFIG" && \
12906    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.0.0\""; } >&5
12907  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.0.0") 2>&5
12908  ac_status=$?
12909  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12910  test $ac_status = 0; }; then
12911  pkg_cv_LIB_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0.0" 2>/dev/null`
12912		      test "x$?" != "x0" && pkg_failed=yes
12913else
12914  pkg_failed=yes
12915fi
12916 else
12917    pkg_failed=untried
12918fi
12919if test -n "$LIB_XML_LIBS"; then
12920    pkg_cv_LIB_XML_LIBS="$LIB_XML_LIBS"
12921 elif test -n "$PKG_CONFIG"; then
12922    if test -n "$PKG_CONFIG" && \
12923    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.0.0\""; } >&5
12924  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.0.0") 2>&5
12925  ac_status=$?
12926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927  test $ac_status = 0; }; then
12928  pkg_cv_LIB_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0.0" 2>/dev/null`
12929		      test "x$?" != "x0" && pkg_failed=yes
12930else
12931  pkg_failed=yes
12932fi
12933 else
12934    pkg_failed=untried
12935fi
12936
12937
12938
12939if test $pkg_failed = yes; then
12940   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941$as_echo "no" >&6; }
12942
12943if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12944        _pkg_short_errors_supported=yes
12945else
12946        _pkg_short_errors_supported=no
12947fi
12948        if test $_pkg_short_errors_supported = yes; then
12949	        LIB_XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1`
12950        else
12951	        LIB_XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1`
12952        fi
12953	# Put the nasty error message in config.log where it belongs
12954	echo "$LIB_XML_PKG_ERRORS" >&5
12955
12956	as_fn_error $? "Package requirements (libxml-2.0 >= 2.0.0) were not met:
12957
12958$LIB_XML_PKG_ERRORS
12959
12960Consider adjusting the PKG_CONFIG_PATH environment variable if you
12961installed software in a non-standard prefix.
12962
12963Alternatively, you may set the environment variables LIB_XML_CFLAGS
12964and LIB_XML_LIBS to avoid the need to call pkg-config.
12965See the pkg-config man page for more details." "$LINENO" 5
12966elif test $pkg_failed = untried; then
12967     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12968$as_echo "no" >&6; }
12969	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12971as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12972is in your PATH or set the PKG_CONFIG environment variable to the full
12973path to pkg-config.
12974
12975Alternatively, you may set the environment variables LIB_XML_CFLAGS
12976and LIB_XML_LIBS to avoid the need to call pkg-config.
12977See the pkg-config man page for more details.
12978
12979To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12980See \`config.log' for more details" "$LINENO" 5; }
12981else
12982	LIB_XML_CFLAGS=$pkg_cv_LIB_XML_CFLAGS
12983	LIB_XML_LIBS=$pkg_cv_LIB_XML_LIBS
12984        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12985$as_echo "yes" >&6; }
12986
12987fi
12988
12989
12990
12991
12992pkg_failed=no
12993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
12994$as_echo_n "checking for ATK... " >&6; }
12995
12996if test -n "$ATK_CFLAGS"; then
12997    pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
12998 elif test -n "$PKG_CONFIG"; then
12999    if test -n "$PKG_CONFIG" && \
13000    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.11.2\""; } >&5
13001  ($PKG_CONFIG --exists --print-errors "atk >= 2.11.2") 2>&5
13002  ac_status=$?
13003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13004  test $ac_status = 0; }; then
13005  pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 2.11.2" 2>/dev/null`
13006		      test "x$?" != "x0" && pkg_failed=yes
13007else
13008  pkg_failed=yes
13009fi
13010 else
13011    pkg_failed=untried
13012fi
13013if test -n "$ATK_LIBS"; then
13014    pkg_cv_ATK_LIBS="$ATK_LIBS"
13015 elif test -n "$PKG_CONFIG"; then
13016    if test -n "$PKG_CONFIG" && \
13017    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.11.2\""; } >&5
13018  ($PKG_CONFIG --exists --print-errors "atk >= 2.11.2") 2>&5
13019  ac_status=$?
13020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13021  test $ac_status = 0; }; then
13022  pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 2.11.2" 2>/dev/null`
13023		      test "x$?" != "x0" && pkg_failed=yes
13024else
13025  pkg_failed=yes
13026fi
13027 else
13028    pkg_failed=untried
13029fi
13030
13031
13032
13033if test $pkg_failed = yes; then
13034   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035$as_echo "no" >&6; }
13036
13037if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13038        _pkg_short_errors_supported=yes
13039else
13040        _pkg_short_errors_supported=no
13041fi
13042        if test $_pkg_short_errors_supported = yes; then
13043	        ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atk >= 2.11.2" 2>&1`
13044        else
13045	        ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atk >= 2.11.2" 2>&1`
13046        fi
13047	# Put the nasty error message in config.log where it belongs
13048	echo "$ATK_PKG_ERRORS" >&5
13049
13050	as_fn_error $? "Package requirements (atk >= 2.11.2) were not met:
13051
13052$ATK_PKG_ERRORS
13053
13054Consider adjusting the PKG_CONFIG_PATH environment variable if you
13055installed software in a non-standard prefix.
13056
13057Alternatively, you may set the environment variables ATK_CFLAGS
13058and ATK_LIBS to avoid the need to call pkg-config.
13059See the pkg-config man page for more details." "$LINENO" 5
13060elif test $pkg_failed = untried; then
13061     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13062$as_echo "no" >&6; }
13063	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13064$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13065as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13066is in your PATH or set the PKG_CONFIG environment variable to the full
13067path to pkg-config.
13068
13069Alternatively, you may set the environment variables ATK_CFLAGS
13070and ATK_LIBS to avoid the need to call pkg-config.
13071See the pkg-config man page for more details.
13072
13073To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13074See \`config.log' for more details" "$LINENO" 5; }
13075else
13076	ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
13077	ATK_LIBS=$pkg_cv_ATK_LIBS
13078        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13079$as_echo "yes" >&6; }
13080
13081fi
13082
13083
13084
13085
13086pkg_failed=no
13087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13088$as_echo_n "checking for GTK... " >&6; }
13089
13090if test -n "$GTK_CFLAGS"; then
13091    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13092 elif test -n "$PKG_CONFIG"; then
13093    if test -n "$PKG_CONFIG" && \
13094    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
13095  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
13096  ac_status=$?
13097  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13098  test $ac_status = 0; }; then
13099  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
13100		      test "x$?" != "x0" && pkg_failed=yes
13101else
13102  pkg_failed=yes
13103fi
13104 else
13105    pkg_failed=untried
13106fi
13107if test -n "$GTK_LIBS"; then
13108    pkg_cv_GTK_LIBS="$GTK_LIBS"
13109 elif test -n "$PKG_CONFIG"; then
13110    if test -n "$PKG_CONFIG" && \
13111    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
13112  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
13113  ac_status=$?
13114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13115  test $ac_status = 0; }; then
13116  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
13117		      test "x$?" != "x0" && pkg_failed=yes
13118else
13119  pkg_failed=yes
13120fi
13121 else
13122    pkg_failed=untried
13123fi
13124
13125
13126
13127if test $pkg_failed = yes; then
13128   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129$as_echo "no" >&6; }
13130
13131if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13132        _pkg_short_errors_supported=yes
13133else
13134        _pkg_short_errors_supported=no
13135fi
13136        if test $_pkg_short_errors_supported = yes; then
13137	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
13138        else
13139	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
13140        fi
13141	# Put the nasty error message in config.log where it belongs
13142	echo "$GTK_PKG_ERRORS" >&5
13143
13144	as_fn_error $? "Package requirements (gtk+-3.0) were not met:
13145
13146$GTK_PKG_ERRORS
13147
13148Consider adjusting the PKG_CONFIG_PATH environment variable if you
13149installed software in a non-standard prefix.
13150
13151Alternatively, you may set the environment variables GTK_CFLAGS
13152and GTK_LIBS to avoid the need to call pkg-config.
13153See the pkg-config man page for more details." "$LINENO" 5
13154elif test $pkg_failed = untried; then
13155     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13156$as_echo "no" >&6; }
13157	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13159as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13160is in your PATH or set the PKG_CONFIG environment variable to the full
13161path to pkg-config.
13162
13163Alternatively, you may set the environment variables GTK_CFLAGS
13164and GTK_LIBS to avoid the need to call pkg-config.
13165See the pkg-config man page for more details.
13166
13167To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13168See \`config.log' for more details" "$LINENO" 5; }
13169else
13170	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13171	GTK_LIBS=$pkg_cv_GTK_LIBS
13172        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13173$as_echo "yes" >&6; }
13174
13175fi
13176
13177
13178fi
13179
13180
13181pkg_failed=no
13182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJ" >&5
13183$as_echo_n "checking for PYGOBJ... " >&6; }
13184
13185if test -n "$PYGOBJ_CFLAGS"; then
13186    pkg_cv_PYGOBJ_CFLAGS="$PYGOBJ_CFLAGS"
13187 elif test -n "$PKG_CONFIG"; then
13188    if test -n "$PKG_CONFIG" && \
13189    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= 2.90.1\""; } >&5
13190  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= 2.90.1") 2>&5
13191  ac_status=$?
13192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13193  test $ac_status = 0; }; then
13194  pkg_cv_PYGOBJ_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= 2.90.1" 2>/dev/null`
13195		      test "x$?" != "x0" && pkg_failed=yes
13196else
13197  pkg_failed=yes
13198fi
13199 else
13200    pkg_failed=untried
13201fi
13202if test -n "$PYGOBJ_LIBS"; then
13203    pkg_cv_PYGOBJ_LIBS="$PYGOBJ_LIBS"
13204 elif test -n "$PKG_CONFIG"; then
13205    if test -n "$PKG_CONFIG" && \
13206    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= 2.90.1\""; } >&5
13207  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= 2.90.1") 2>&5
13208  ac_status=$?
13209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210  test $ac_status = 0; }; then
13211  pkg_cv_PYGOBJ_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= 2.90.1" 2>/dev/null`
13212		      test "x$?" != "x0" && pkg_failed=yes
13213else
13214  pkg_failed=yes
13215fi
13216 else
13217    pkg_failed=untried
13218fi
13219
13220
13221
13222if test $pkg_failed = yes; then
13223   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13224$as_echo "no" >&6; }
13225
13226if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13227        _pkg_short_errors_supported=yes
13228else
13229        _pkg_short_errors_supported=no
13230fi
13231        if test $_pkg_short_errors_supported = yes; then
13232	        PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= 2.90.1" 2>&1`
13233        else
13234	        PYGOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= 2.90.1" 2>&1`
13235        fi
13236	# Put the nasty error message in config.log where it belongs
13237	echo "$PYGOBJ_PKG_ERRORS" >&5
13238
13239	as_fn_error $? "Package requirements (pygobject-3.0 >= 2.90.1) were not met:
13240
13241$PYGOBJ_PKG_ERRORS
13242
13243Consider adjusting the PKG_CONFIG_PATH environment variable if you
13244installed software in a non-standard prefix.
13245
13246Alternatively, you may set the environment variables PYGOBJ_CFLAGS
13247and PYGOBJ_LIBS to avoid the need to call pkg-config.
13248See the pkg-config man page for more details." "$LINENO" 5
13249elif test $pkg_failed = untried; then
13250     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13251$as_echo "no" >&6; }
13252	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13254as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13255is in your PATH or set the PKG_CONFIG environment variable to the full
13256path to pkg-config.
13257
13258Alternatively, you may set the environment variables PYGOBJ_CFLAGS
13259and PYGOBJ_LIBS to avoid the need to call pkg-config.
13260See the pkg-config man page for more details.
13261
13262To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13263See \`config.log' for more details" "$LINENO" 5; }
13264else
13265	PYGOBJ_CFLAGS=$pkg_cv_PYGOBJ_CFLAGS
13266	PYGOBJ_LIBS=$pkg_cv_PYGOBJ_LIBS
13267        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13268$as_echo "yes" >&6; }
13269
13270fi
13271
13272 if test -z "$GTK_MODULE_DIR"; then
13273  SET_GTK_MODULE_TRUE=
13274  SET_GTK_MODULE_FALSE='#'
13275else
13276  SET_GTK_MODULE_TRUE='#'
13277  SET_GTK_MODULE_FALSE=
13278fi
13279
13280
13281if test -z "$GTK_MODULE_DIR"; then
13282	  GTK_MODULE_DIR=gtk-2.0/modules
13283fi
13284
13285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13286$as_echo_n "checking for X... " >&6; }
13287
13288
13289# Check whether --with-x was given.
13290if test "${with_x+set}" = set; then :
13291  withval=$with_x;
13292fi
13293
13294# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13295if test "x$with_x" = xno; then
13296  # The user explicitly disabled X.
13297  have_x=disabled
13298else
13299  case $x_includes,$x_libraries in #(
13300    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13301    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13302  $as_echo_n "(cached) " >&6
13303else
13304  # One or both of the vars are not set, and there is no cached value.
13305ac_x_includes=no ac_x_libraries=no
13306rm -f -r conftest.dir
13307if mkdir conftest.dir; then
13308  cd conftest.dir
13309  cat >Imakefile <<'_ACEOF'
13310incroot:
13311	@echo incroot='${INCROOT}'
13312usrlibdir:
13313	@echo usrlibdir='${USRLIBDIR}'
13314libdir:
13315	@echo libdir='${LIBDIR}'
13316_ACEOF
13317  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13318    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13319    for ac_var in incroot usrlibdir libdir; do
13320      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13321    done
13322    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13323    for ac_extension in a so sl dylib la dll; do
13324      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13325	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13326	ac_im_usrlibdir=$ac_im_libdir; break
13327      fi
13328    done
13329    # Screen out bogus values from the imake configuration.  They are
13330    # bogus both because they are the default anyway, and because
13331    # using them would break gcc on systems where it needs fixed includes.
13332    case $ac_im_incroot in
13333	/usr/include) ac_x_includes= ;;
13334	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13335    esac
13336    case $ac_im_usrlibdir in
13337	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
13338	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13339    esac
13340  fi
13341  cd ..
13342  rm -f -r conftest.dir
13343fi
13344
13345# Standard set of common directories for X headers.
13346# Check X11 before X11Rn because it is often a symlink to the current release.
13347ac_x_header_dirs='
13348/usr/X11/include
13349/usr/X11R7/include
13350/usr/X11R6/include
13351/usr/X11R5/include
13352/usr/X11R4/include
13353
13354/usr/include/X11
13355/usr/include/X11R7
13356/usr/include/X11R6
13357/usr/include/X11R5
13358/usr/include/X11R4
13359
13360/usr/local/X11/include
13361/usr/local/X11R7/include
13362/usr/local/X11R6/include
13363/usr/local/X11R5/include
13364/usr/local/X11R4/include
13365
13366/usr/local/include/X11
13367/usr/local/include/X11R7
13368/usr/local/include/X11R6
13369/usr/local/include/X11R5
13370/usr/local/include/X11R4
13371
13372/usr/X386/include
13373/usr/x386/include
13374/usr/XFree86/include/X11
13375
13376/usr/include
13377/usr/local/include
13378/usr/unsupported/include
13379/usr/athena/include
13380/usr/local/x11r5/include
13381/usr/lpp/Xamples/include
13382
13383/usr/openwin/include
13384/usr/openwin/share/include'
13385
13386if test "$ac_x_includes" = no; then
13387  # Guess where to find include files, by looking for Xlib.h.
13388  # First, try using that file with no special directory specified.
13389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390/* end confdefs.h.  */
13391#include <X11/Xlib.h>
13392_ACEOF
13393if ac_fn_c_try_cpp "$LINENO"; then :
13394  # We can compile using X headers with no special include directory.
13395ac_x_includes=
13396else
13397  for ac_dir in $ac_x_header_dirs; do
13398  if test -r "$ac_dir/X11/Xlib.h"; then
13399    ac_x_includes=$ac_dir
13400    break
13401  fi
13402done
13403fi
13404rm -f conftest.err conftest.i conftest.$ac_ext
13405fi # $ac_x_includes = no
13406
13407if test "$ac_x_libraries" = no; then
13408  # Check for the libraries.
13409  # See if we find them without any special options.
13410  # Don't add to $LIBS permanently.
13411  ac_save_LIBS=$LIBS
13412  LIBS="-lX11 $LIBS"
13413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414/* end confdefs.h.  */
13415#include <X11/Xlib.h>
13416int
13417main ()
13418{
13419XrmInitialize ()
13420  ;
13421  return 0;
13422}
13423_ACEOF
13424if ac_fn_c_try_link "$LINENO"; then :
13425  LIBS=$ac_save_LIBS
13426# We can link X programs with no special library path.
13427ac_x_libraries=
13428else
13429  LIBS=$ac_save_LIBS
13430for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13431do
13432  # Don't even attempt the hair of trying to link an X program!
13433  for ac_extension in a so sl dylib la dll; do
13434    if test -r "$ac_dir/libX11.$ac_extension"; then
13435      ac_x_libraries=$ac_dir
13436      break 2
13437    fi
13438  done
13439done
13440fi
13441rm -f core conftest.err conftest.$ac_objext \
13442    conftest$ac_exeext conftest.$ac_ext
13443fi # $ac_x_libraries = no
13444
13445case $ac_x_includes,$ac_x_libraries in #(
13446  no,* | *,no | *\'*)
13447    # Didn't find X, or a directory has "'" in its name.
13448    ac_cv_have_x="have_x=no";; #(
13449  *)
13450    # Record where we found X for the cache.
13451    ac_cv_have_x="have_x=yes\
13452	ac_x_includes='$ac_x_includes'\
13453	ac_x_libraries='$ac_x_libraries'"
13454esac
13455fi
13456;; #(
13457    *) have_x=yes;;
13458  esac
13459  eval "$ac_cv_have_x"
13460fi # $with_x != no
13461
13462if test "$have_x" != yes; then
13463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13464$as_echo "$have_x" >&6; }
13465  no_x=yes
13466else
13467  # If each of the values was on the command line, it overrides each guess.
13468  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13469  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13470  # Update the cache value to reflect the command line values.
13471  ac_cv_have_x="have_x=yes\
13472	ac_x_includes='$x_includes'\
13473	ac_x_libraries='$x_libraries'"
13474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13475$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13476fi
13477
13478if test "$no_x" = yes; then
13479  # Not all programs may use this symbol, but it does not hurt to define it.
13480
13481$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13482
13483  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13484else
13485  if test -n "$x_includes"; then
13486    X_CFLAGS="$X_CFLAGS -I$x_includes"
13487  fi
13488
13489  # It would also be nice to do this for all -L options, not just this one.
13490  if test -n "$x_libraries"; then
13491    X_LIBS="$X_LIBS -L$x_libraries"
13492    # For Solaris; some versions of Sun CC require a space after -R and
13493    # others require no space.  Words are not sufficient . . . .
13494    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13495$as_echo_n "checking whether -R must be followed by a space... " >&6; }
13496    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13497    ac_xsave_c_werror_flag=$ac_c_werror_flag
13498    ac_c_werror_flag=yes
13499    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500/* end confdefs.h.  */
13501
13502int
13503main ()
13504{
13505
13506  ;
13507  return 0;
13508}
13509_ACEOF
13510if ac_fn_c_try_link "$LINENO"; then :
13511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13512$as_echo "no" >&6; }
13513       X_LIBS="$X_LIBS -R$x_libraries"
13514else
13515  LIBS="$ac_xsave_LIBS -R $x_libraries"
13516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517/* end confdefs.h.  */
13518
13519int
13520main ()
13521{
13522
13523  ;
13524  return 0;
13525}
13526_ACEOF
13527if ac_fn_c_try_link "$LINENO"; then :
13528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13529$as_echo "yes" >&6; }
13530	  X_LIBS="$X_LIBS -R $x_libraries"
13531else
13532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13533$as_echo "neither works" >&6; }
13534fi
13535rm -f core conftest.err conftest.$ac_objext \
13536    conftest$ac_exeext conftest.$ac_ext
13537fi
13538rm -f core conftest.err conftest.$ac_objext \
13539    conftest$ac_exeext conftest.$ac_ext
13540    ac_c_werror_flag=$ac_xsave_c_werror_flag
13541    LIBS=$ac_xsave_LIBS
13542  fi
13543
13544  # Check for system-dependent libraries X programs must link with.
13545  # Do this before checking for the system-independent R6 libraries
13546  # (-lICE), since we may need -lsocket or whatever for X linking.
13547
13548  if test "$ISC" = yes; then
13549    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13550  else
13551    # Martyn Johnson says this is needed for Ultrix, if the X
13552    # libraries were built with DECnet support.  And Karl Berry says
13553    # the Alpha needs dnet_stub (dnet does not exist).
13554    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13555    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556/* end confdefs.h.  */
13557
13558/* Override any GCC internal prototype to avoid an error.
13559   Use char because int might match the return type of a GCC
13560   builtin and then its argument prototype would still apply.  */
13561#ifdef __cplusplus
13562extern "C"
13563#endif
13564char XOpenDisplay ();
13565int
13566main ()
13567{
13568return XOpenDisplay ();
13569  ;
13570  return 0;
13571}
13572_ACEOF
13573if ac_fn_c_try_link "$LINENO"; then :
13574
13575else
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13577$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13578if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13579  $as_echo_n "(cached) " >&6
13580else
13581  ac_check_lib_save_LIBS=$LIBS
13582LIBS="-ldnet  $LIBS"
13583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584/* end confdefs.h.  */
13585
13586/* Override any GCC internal prototype to avoid an error.
13587   Use char because int might match the return type of a GCC
13588   builtin and then its argument prototype would still apply.  */
13589#ifdef __cplusplus
13590extern "C"
13591#endif
13592char dnet_ntoa ();
13593int
13594main ()
13595{
13596return dnet_ntoa ();
13597  ;
13598  return 0;
13599}
13600_ACEOF
13601if ac_fn_c_try_link "$LINENO"; then :
13602  ac_cv_lib_dnet_dnet_ntoa=yes
13603else
13604  ac_cv_lib_dnet_dnet_ntoa=no
13605fi
13606rm -f core conftest.err conftest.$ac_objext \
13607    conftest$ac_exeext conftest.$ac_ext
13608LIBS=$ac_check_lib_save_LIBS
13609fi
13610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13611$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13612if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13613  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13614fi
13615
13616    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13617      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13618$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13619if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13620  $as_echo_n "(cached) " >&6
13621else
13622  ac_check_lib_save_LIBS=$LIBS
13623LIBS="-ldnet_stub  $LIBS"
13624cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625/* end confdefs.h.  */
13626
13627/* Override any GCC internal prototype to avoid an error.
13628   Use char because int might match the return type of a GCC
13629   builtin and then its argument prototype would still apply.  */
13630#ifdef __cplusplus
13631extern "C"
13632#endif
13633char dnet_ntoa ();
13634int
13635main ()
13636{
13637return dnet_ntoa ();
13638  ;
13639  return 0;
13640}
13641_ACEOF
13642if ac_fn_c_try_link "$LINENO"; then :
13643  ac_cv_lib_dnet_stub_dnet_ntoa=yes
13644else
13645  ac_cv_lib_dnet_stub_dnet_ntoa=no
13646fi
13647rm -f core conftest.err conftest.$ac_objext \
13648    conftest$ac_exeext conftest.$ac_ext
13649LIBS=$ac_check_lib_save_LIBS
13650fi
13651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13652$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13653if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13654  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13655fi
13656
13657    fi
13658fi
13659rm -f core conftest.err conftest.$ac_objext \
13660    conftest$ac_exeext conftest.$ac_ext
13661    LIBS="$ac_xsave_LIBS"
13662
13663    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13664    # to get the SysV transport functions.
13665    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13666    # needs -lnsl.
13667    # The nsl library prevents programs from opening the X display
13668    # on Irix 5.2, according to T.E. Dickey.
13669    # The functions gethostbyname, getservbyname, and inet_addr are
13670    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13671    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13672if test "x$ac_cv_func_gethostbyname" = xyes; then :
13673
13674fi
13675
13676    if test $ac_cv_func_gethostbyname = no; then
13677      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13678$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13679if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13680  $as_echo_n "(cached) " >&6
13681else
13682  ac_check_lib_save_LIBS=$LIBS
13683LIBS="-lnsl  $LIBS"
13684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685/* end confdefs.h.  */
13686
13687/* Override any GCC internal prototype to avoid an error.
13688   Use char because int might match the return type of a GCC
13689   builtin and then its argument prototype would still apply.  */
13690#ifdef __cplusplus
13691extern "C"
13692#endif
13693char gethostbyname ();
13694int
13695main ()
13696{
13697return gethostbyname ();
13698  ;
13699  return 0;
13700}
13701_ACEOF
13702if ac_fn_c_try_link "$LINENO"; then :
13703  ac_cv_lib_nsl_gethostbyname=yes
13704else
13705  ac_cv_lib_nsl_gethostbyname=no
13706fi
13707rm -f core conftest.err conftest.$ac_objext \
13708    conftest$ac_exeext conftest.$ac_ext
13709LIBS=$ac_check_lib_save_LIBS
13710fi
13711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13712$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13713if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13714  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13715fi
13716
13717      if test $ac_cv_lib_nsl_gethostbyname = no; then
13718	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13719$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13720if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13721  $as_echo_n "(cached) " >&6
13722else
13723  ac_check_lib_save_LIBS=$LIBS
13724LIBS="-lbsd  $LIBS"
13725cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726/* end confdefs.h.  */
13727
13728/* Override any GCC internal prototype to avoid an error.
13729   Use char because int might match the return type of a GCC
13730   builtin and then its argument prototype would still apply.  */
13731#ifdef __cplusplus
13732extern "C"
13733#endif
13734char gethostbyname ();
13735int
13736main ()
13737{
13738return gethostbyname ();
13739  ;
13740  return 0;
13741}
13742_ACEOF
13743if ac_fn_c_try_link "$LINENO"; then :
13744  ac_cv_lib_bsd_gethostbyname=yes
13745else
13746  ac_cv_lib_bsd_gethostbyname=no
13747fi
13748rm -f core conftest.err conftest.$ac_objext \
13749    conftest$ac_exeext conftest.$ac_ext
13750LIBS=$ac_check_lib_save_LIBS
13751fi
13752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13753$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13754if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13755  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13756fi
13757
13758      fi
13759    fi
13760
13761    # lieder@skyler.mavd.honeywell.com says without -lsocket,
13762    # socket/setsockopt and other routines are undefined under SCO ODT
13763    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
13764    # on later versions), says Simon Leinen: it contains gethostby*
13765    # variants that don't use the name server (or something).  -lsocket
13766    # must be given before -lnsl if both are needed.  We assume that
13767    # if connect needs -lnsl, so does gethostbyname.
13768    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13769if test "x$ac_cv_func_connect" = xyes; then :
13770
13771fi
13772
13773    if test $ac_cv_func_connect = no; then
13774      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13775$as_echo_n "checking for connect in -lsocket... " >&6; }
13776if ${ac_cv_lib_socket_connect+:} false; then :
13777  $as_echo_n "(cached) " >&6
13778else
13779  ac_check_lib_save_LIBS=$LIBS
13780LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782/* end confdefs.h.  */
13783
13784/* Override any GCC internal prototype to avoid an error.
13785   Use char because int might match the return type of a GCC
13786   builtin and then its argument prototype would still apply.  */
13787#ifdef __cplusplus
13788extern "C"
13789#endif
13790char connect ();
13791int
13792main ()
13793{
13794return connect ();
13795  ;
13796  return 0;
13797}
13798_ACEOF
13799if ac_fn_c_try_link "$LINENO"; then :
13800  ac_cv_lib_socket_connect=yes
13801else
13802  ac_cv_lib_socket_connect=no
13803fi
13804rm -f core conftest.err conftest.$ac_objext \
13805    conftest$ac_exeext conftest.$ac_ext
13806LIBS=$ac_check_lib_save_LIBS
13807fi
13808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13809$as_echo "$ac_cv_lib_socket_connect" >&6; }
13810if test "x$ac_cv_lib_socket_connect" = xyes; then :
13811  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13812fi
13813
13814    fi
13815
13816    # Guillermo Gomez says -lposix is necessary on A/UX.
13817    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13818if test "x$ac_cv_func_remove" = xyes; then :
13819
13820fi
13821
13822    if test $ac_cv_func_remove = no; then
13823      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13824$as_echo_n "checking for remove in -lposix... " >&6; }
13825if ${ac_cv_lib_posix_remove+:} false; then :
13826  $as_echo_n "(cached) " >&6
13827else
13828  ac_check_lib_save_LIBS=$LIBS
13829LIBS="-lposix  $LIBS"
13830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831/* end confdefs.h.  */
13832
13833/* Override any GCC internal prototype to avoid an error.
13834   Use char because int might match the return type of a GCC
13835   builtin and then its argument prototype would still apply.  */
13836#ifdef __cplusplus
13837extern "C"
13838#endif
13839char remove ();
13840int
13841main ()
13842{
13843return remove ();
13844  ;
13845  return 0;
13846}
13847_ACEOF
13848if ac_fn_c_try_link "$LINENO"; then :
13849  ac_cv_lib_posix_remove=yes
13850else
13851  ac_cv_lib_posix_remove=no
13852fi
13853rm -f core conftest.err conftest.$ac_objext \
13854    conftest$ac_exeext conftest.$ac_ext
13855LIBS=$ac_check_lib_save_LIBS
13856fi
13857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13858$as_echo "$ac_cv_lib_posix_remove" >&6; }
13859if test "x$ac_cv_lib_posix_remove" = xyes; then :
13860  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13861fi
13862
13863    fi
13864
13865    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13866    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13867if test "x$ac_cv_func_shmat" = xyes; then :
13868
13869fi
13870
13871    if test $ac_cv_func_shmat = no; then
13872      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13873$as_echo_n "checking for shmat in -lipc... " >&6; }
13874if ${ac_cv_lib_ipc_shmat+:} false; then :
13875  $as_echo_n "(cached) " >&6
13876else
13877  ac_check_lib_save_LIBS=$LIBS
13878LIBS="-lipc  $LIBS"
13879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880/* end confdefs.h.  */
13881
13882/* Override any GCC internal prototype to avoid an error.
13883   Use char because int might match the return type of a GCC
13884   builtin and then its argument prototype would still apply.  */
13885#ifdef __cplusplus
13886extern "C"
13887#endif
13888char shmat ();
13889int
13890main ()
13891{
13892return shmat ();
13893  ;
13894  return 0;
13895}
13896_ACEOF
13897if ac_fn_c_try_link "$LINENO"; then :
13898  ac_cv_lib_ipc_shmat=yes
13899else
13900  ac_cv_lib_ipc_shmat=no
13901fi
13902rm -f core conftest.err conftest.$ac_objext \
13903    conftest$ac_exeext conftest.$ac_ext
13904LIBS=$ac_check_lib_save_LIBS
13905fi
13906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13907$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13908if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13909  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13910fi
13911
13912    fi
13913  fi
13914
13915  # Check for libraries that X11R6 Xt/Xaw programs need.
13916  ac_save_LDFLAGS=$LDFLAGS
13917  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13918  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13919  # check for ICE first), but we must link in the order -lSM -lICE or
13920  # we get undefined symbols.  So assume we have SM if we have ICE.
13921  # These have to be linked with before -lX11, unlike the other
13922  # libraries we check for below, so use a different variable.
13923  # John Interrante, Karl Berry
13924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13925$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13926if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13927  $as_echo_n "(cached) " >&6
13928else
13929  ac_check_lib_save_LIBS=$LIBS
13930LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932/* end confdefs.h.  */
13933
13934/* Override any GCC internal prototype to avoid an error.
13935   Use char because int might match the return type of a GCC
13936   builtin and then its argument prototype would still apply.  */
13937#ifdef __cplusplus
13938extern "C"
13939#endif
13940char IceConnectionNumber ();
13941int
13942main ()
13943{
13944return IceConnectionNumber ();
13945  ;
13946  return 0;
13947}
13948_ACEOF
13949if ac_fn_c_try_link "$LINENO"; then :
13950  ac_cv_lib_ICE_IceConnectionNumber=yes
13951else
13952  ac_cv_lib_ICE_IceConnectionNumber=no
13953fi
13954rm -f core conftest.err conftest.$ac_objext \
13955    conftest$ac_exeext conftest.$ac_ext
13956LIBS=$ac_check_lib_save_LIBS
13957fi
13958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13959$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13960if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13961  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13962fi
13963
13964  LDFLAGS=$ac_save_LDFLAGS
13965
13966fi
13967
13968
13969ac_config_files="$ac_config_files Makefile tests/Makefile tests/dummyatk/Makefile tests/data/Makefile tests/pyatspi/Makefile tests/pyatspi/testrunner tests/pyatspi/pasytest/Makefile tests/apps/Makefile pyatspi/Makefile examples/Makefile"
13970
13971
13972cat >confcache <<\_ACEOF
13973# This file is a shell script that caches the results of configure
13974# tests run on this system so they can be shared between configure
13975# scripts and configure runs, see configure's option --config-cache.
13976# It is not useful on other systems.  If it contains results you don't
13977# want to keep, you may remove or edit it.
13978#
13979# config.status only pays attention to the cache file if you give it
13980# the --recheck option to rerun configure.
13981#
13982# `ac_cv_env_foo' variables (set or unset) will be overridden when
13983# loading this file, other *unset* `ac_cv_foo' will be assigned the
13984# following values.
13985
13986_ACEOF
13987
13988# The following way of writing the cache mishandles newlines in values,
13989# but we know of no workaround that is simple, portable, and efficient.
13990# So, we kill variables containing newlines.
13991# Ultrix sh set writes to stderr and can't be redirected directly,
13992# and sets the high bit in the cache file unless we assign to the vars.
13993(
13994  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13995    eval ac_val=\$$ac_var
13996    case $ac_val in #(
13997    *${as_nl}*)
13998      case $ac_var in #(
13999      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14000$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14001      esac
14002      case $ac_var in #(
14003      _ | IFS | as_nl) ;; #(
14004      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14005      *) { eval $ac_var=; unset $ac_var;} ;;
14006      esac ;;
14007    esac
14008  done
14009
14010  (set) 2>&1 |
14011    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14012    *${as_nl}ac_space=\ *)
14013      # `set' does not quote correctly, so add quotes: double-quote
14014      # substitution turns \\\\ into \\, and sed turns \\ into \.
14015      sed -n \
14016	"s/'/'\\\\''/g;
14017	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14018      ;; #(
14019    *)
14020      # `set' quotes correctly as required by POSIX, so do not add quotes.
14021      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14022      ;;
14023    esac |
14024    sort
14025) |
14026  sed '
14027     /^ac_cv_env_/b end
14028     t clear
14029     :clear
14030     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14031     t end
14032     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14033     :end' >>confcache
14034if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14035  if test -w "$cache_file"; then
14036    if test "x$cache_file" != "x/dev/null"; then
14037      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14038$as_echo "$as_me: updating cache $cache_file" >&6;}
14039      if test ! -f "$cache_file" || test -h "$cache_file"; then
14040	cat confcache >"$cache_file"
14041      else
14042        case $cache_file in #(
14043        */* | ?:*)
14044	  mv -f confcache "$cache_file"$$ &&
14045	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14046        *)
14047	  mv -f confcache "$cache_file" ;;
14048	esac
14049      fi
14050    fi
14051  else
14052    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14053$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14054  fi
14055fi
14056rm -f confcache
14057
14058test "x$prefix" = xNONE && prefix=$ac_default_prefix
14059# Let make expand exec_prefix.
14060test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14061
14062DEFS=-DHAVE_CONFIG_H
14063
14064ac_libobjs=
14065ac_ltlibobjs=
14066U=
14067for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14068  # 1. Remove the extension, and $U if already installed.
14069  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14070  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14071  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14072  #    will be set to the directory where LIBOBJS objects are built.
14073  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14074  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14075done
14076LIBOBJS=$ac_libobjs
14077
14078LTLIBOBJS=$ac_ltlibobjs
14079
14080
14081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14082$as_echo_n "checking that generated files are newer than configure... " >&6; }
14083   if test -n "$am_sleep_pid"; then
14084     # Hide warnings about reused PIDs.
14085     wait $am_sleep_pid 2>/dev/null
14086   fi
14087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14088$as_echo "done" >&6; }
14089 if test -n "$EXEEXT"; then
14090  am__EXEEXT_TRUE=
14091  am__EXEEXT_FALSE='#'
14092else
14093  am__EXEEXT_TRUE='#'
14094  am__EXEEXT_FALSE=
14095fi
14096
14097if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14098  as_fn_error $? "conditional \"AMDEP\" was never defined.
14099Usually this means the macro was only invoked conditionally." "$LINENO" 5
14100fi
14101if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14102  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14103Usually this means the macro was only invoked conditionally." "$LINENO" 5
14104fi
14105if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
14106  as_fn_error $? "conditional \"ENABLE_TESTING\" was never defined.
14107Usually this means the macro was only invoked conditionally." "$LINENO" 5
14108fi
14109if test -z "${SET_GTK_MODULE_TRUE}" && test -z "${SET_GTK_MODULE_FALSE}"; then
14110  as_fn_error $? "conditional \"SET_GTK_MODULE\" was never defined.
14111Usually this means the macro was only invoked conditionally." "$LINENO" 5
14112fi
14113
14114: "${CONFIG_STATUS=./config.status}"
14115ac_write_fail=0
14116ac_clean_files_save=$ac_clean_files
14117ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14118{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14119$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14120as_write_fail=0
14121cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14122#! $SHELL
14123# Generated by $as_me.
14124# Run this file to recreate the current configuration.
14125# Compiler output produced by configure, useful for debugging
14126# configure, is in config.log if it exists.
14127
14128debug=false
14129ac_cs_recheck=false
14130ac_cs_silent=false
14131
14132SHELL=\${CONFIG_SHELL-$SHELL}
14133export SHELL
14134_ASEOF
14135cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14136## -------------------- ##
14137## M4sh Initialization. ##
14138## -------------------- ##
14139
14140# Be more Bourne compatible
14141DUALCASE=1; export DUALCASE # for MKS sh
14142if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14143  emulate sh
14144  NULLCMD=:
14145  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14146  # is contrary to our usage.  Disable this feature.
14147  alias -g '${1+"$@"}'='"$@"'
14148  setopt NO_GLOB_SUBST
14149else
14150  case `(set -o) 2>/dev/null` in #(
14151  *posix*) :
14152    set -o posix ;; #(
14153  *) :
14154     ;;
14155esac
14156fi
14157
14158
14159as_nl='
14160'
14161export as_nl
14162# Printing a long string crashes Solaris 7 /usr/bin/printf.
14163as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14164as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14165as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14166# Prefer a ksh shell builtin over an external printf program on Solaris,
14167# but without wasting forks for bash or zsh.
14168if test -z "$BASH_VERSION$ZSH_VERSION" \
14169    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14170  as_echo='print -r --'
14171  as_echo_n='print -rn --'
14172elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14173  as_echo='printf %s\n'
14174  as_echo_n='printf %s'
14175else
14176  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14177    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14178    as_echo_n='/usr/ucb/echo -n'
14179  else
14180    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14181    as_echo_n_body='eval
14182      arg=$1;
14183      case $arg in #(
14184      *"$as_nl"*)
14185	expr "X$arg" : "X\\(.*\\)$as_nl";
14186	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14187      esac;
14188      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14189    '
14190    export as_echo_n_body
14191    as_echo_n='sh -c $as_echo_n_body as_echo'
14192  fi
14193  export as_echo_body
14194  as_echo='sh -c $as_echo_body as_echo'
14195fi
14196
14197# The user is always right.
14198if test "${PATH_SEPARATOR+set}" != set; then
14199  PATH_SEPARATOR=:
14200  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14201    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14202      PATH_SEPARATOR=';'
14203  }
14204fi
14205
14206
14207# IFS
14208# We need space, tab and new line, in precisely that order.  Quoting is
14209# there to prevent editors from complaining about space-tab.
14210# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14211# splitting by setting IFS to empty value.)
14212IFS=" ""	$as_nl"
14213
14214# Find who we are.  Look in the path if we contain no directory separator.
14215as_myself=
14216case $0 in #((
14217  *[\\/]* ) as_myself=$0 ;;
14218  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219for as_dir in $PATH
14220do
14221  IFS=$as_save_IFS
14222  test -z "$as_dir" && as_dir=.
14223    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14224  done
14225IFS=$as_save_IFS
14226
14227     ;;
14228esac
14229# We did not find ourselves, most probably we were run as `sh COMMAND'
14230# in which case we are not to be found in the path.
14231if test "x$as_myself" = x; then
14232  as_myself=$0
14233fi
14234if test ! -f "$as_myself"; then
14235  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14236  exit 1
14237fi
14238
14239# Unset variables that we do not need and which cause bugs (e.g. in
14240# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14241# suppresses any "Segmentation fault" message there.  '((' could
14242# trigger a bug in pdksh 5.2.14.
14243for as_var in BASH_ENV ENV MAIL MAILPATH
14244do eval test x\${$as_var+set} = xset \
14245  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14246done
14247PS1='$ '
14248PS2='> '
14249PS4='+ '
14250
14251# NLS nuisances.
14252LC_ALL=C
14253export LC_ALL
14254LANGUAGE=C
14255export LANGUAGE
14256
14257# CDPATH.
14258(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14259
14260
14261# as_fn_error STATUS ERROR [LINENO LOG_FD]
14262# ----------------------------------------
14263# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14264# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14265# script with STATUS, using 1 if that was 0.
14266as_fn_error ()
14267{
14268  as_status=$1; test $as_status -eq 0 && as_status=1
14269  if test "$4"; then
14270    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14271    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14272  fi
14273  $as_echo "$as_me: error: $2" >&2
14274  as_fn_exit $as_status
14275} # as_fn_error
14276
14277
14278# as_fn_set_status STATUS
14279# -----------------------
14280# Set $? to STATUS, without forking.
14281as_fn_set_status ()
14282{
14283  return $1
14284} # as_fn_set_status
14285
14286# as_fn_exit STATUS
14287# -----------------
14288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14289as_fn_exit ()
14290{
14291  set +e
14292  as_fn_set_status $1
14293  exit $1
14294} # as_fn_exit
14295
14296# as_fn_unset VAR
14297# ---------------
14298# Portably unset VAR.
14299as_fn_unset ()
14300{
14301  { eval $1=; unset $1;}
14302}
14303as_unset=as_fn_unset
14304# as_fn_append VAR VALUE
14305# ----------------------
14306# Append the text in VALUE to the end of the definition contained in VAR. Take
14307# advantage of any shell optimizations that allow amortized linear growth over
14308# repeated appends, instead of the typical quadratic growth present in naive
14309# implementations.
14310if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14311  eval 'as_fn_append ()
14312  {
14313    eval $1+=\$2
14314  }'
14315else
14316  as_fn_append ()
14317  {
14318    eval $1=\$$1\$2
14319  }
14320fi # as_fn_append
14321
14322# as_fn_arith ARG...
14323# ------------------
14324# Perform arithmetic evaluation on the ARGs, and store the result in the
14325# global $as_val. Take advantage of shells that can avoid forks. The arguments
14326# must be portable across $(()) and expr.
14327if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14328  eval 'as_fn_arith ()
14329  {
14330    as_val=$(( $* ))
14331  }'
14332else
14333  as_fn_arith ()
14334  {
14335    as_val=`expr "$@" || test $? -eq 1`
14336  }
14337fi # as_fn_arith
14338
14339
14340if expr a : '\(a\)' >/dev/null 2>&1 &&
14341   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14342  as_expr=expr
14343else
14344  as_expr=false
14345fi
14346
14347if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14348  as_basename=basename
14349else
14350  as_basename=false
14351fi
14352
14353if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14354  as_dirname=dirname
14355else
14356  as_dirname=false
14357fi
14358
14359as_me=`$as_basename -- "$0" ||
14360$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14361	 X"$0" : 'X\(//\)$' \| \
14362	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14363$as_echo X/"$0" |
14364    sed '/^.*\/\([^/][^/]*\)\/*$/{
14365	    s//\1/
14366	    q
14367	  }
14368	  /^X\/\(\/\/\)$/{
14369	    s//\1/
14370	    q
14371	  }
14372	  /^X\/\(\/\).*/{
14373	    s//\1/
14374	    q
14375	  }
14376	  s/.*/./; q'`
14377
14378# Avoid depending upon Character Ranges.
14379as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14380as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14381as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14382as_cr_digits='0123456789'
14383as_cr_alnum=$as_cr_Letters$as_cr_digits
14384
14385ECHO_C= ECHO_N= ECHO_T=
14386case `echo -n x` in #(((((
14387-n*)
14388  case `echo 'xy\c'` in
14389  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14390  xy)  ECHO_C='\c';;
14391  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14392       ECHO_T='	';;
14393  esac;;
14394*)
14395  ECHO_N='-n';;
14396esac
14397
14398rm -f conf$$ conf$$.exe conf$$.file
14399if test -d conf$$.dir; then
14400  rm -f conf$$.dir/conf$$.file
14401else
14402  rm -f conf$$.dir
14403  mkdir conf$$.dir 2>/dev/null
14404fi
14405if (echo >conf$$.file) 2>/dev/null; then
14406  if ln -s conf$$.file conf$$ 2>/dev/null; then
14407    as_ln_s='ln -s'
14408    # ... but there are two gotchas:
14409    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14410    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14411    # In both cases, we have to default to `cp -pR'.
14412    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14413      as_ln_s='cp -pR'
14414  elif ln conf$$.file conf$$ 2>/dev/null; then
14415    as_ln_s=ln
14416  else
14417    as_ln_s='cp -pR'
14418  fi
14419else
14420  as_ln_s='cp -pR'
14421fi
14422rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14423rmdir conf$$.dir 2>/dev/null
14424
14425
14426# as_fn_mkdir_p
14427# -------------
14428# Create "$as_dir" as a directory, including parents if necessary.
14429as_fn_mkdir_p ()
14430{
14431
14432  case $as_dir in #(
14433  -*) as_dir=./$as_dir;;
14434  esac
14435  test -d "$as_dir" || eval $as_mkdir_p || {
14436    as_dirs=
14437    while :; do
14438      case $as_dir in #(
14439      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14440      *) as_qdir=$as_dir;;
14441      esac
14442      as_dirs="'$as_qdir' $as_dirs"
14443      as_dir=`$as_dirname -- "$as_dir" ||
14444$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14445	 X"$as_dir" : 'X\(//\)[^/]' \| \
14446	 X"$as_dir" : 'X\(//\)$' \| \
14447	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14448$as_echo X"$as_dir" |
14449    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14450	    s//\1/
14451	    q
14452	  }
14453	  /^X\(\/\/\)[^/].*/{
14454	    s//\1/
14455	    q
14456	  }
14457	  /^X\(\/\/\)$/{
14458	    s//\1/
14459	    q
14460	  }
14461	  /^X\(\/\).*/{
14462	    s//\1/
14463	    q
14464	  }
14465	  s/.*/./; q'`
14466      test -d "$as_dir" && break
14467    done
14468    test -z "$as_dirs" || eval "mkdir $as_dirs"
14469  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14470
14471
14472} # as_fn_mkdir_p
14473if mkdir -p . 2>/dev/null; then
14474  as_mkdir_p='mkdir -p "$as_dir"'
14475else
14476  test -d ./-p && rmdir ./-p
14477  as_mkdir_p=false
14478fi
14479
14480
14481# as_fn_executable_p FILE
14482# -----------------------
14483# Test if FILE is an executable regular file.
14484as_fn_executable_p ()
14485{
14486  test -f "$1" && test -x "$1"
14487} # as_fn_executable_p
14488as_test_x='test -x'
14489as_executable_p=as_fn_executable_p
14490
14491# Sed expression to map a string onto a valid CPP name.
14492as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14493
14494# Sed expression to map a string onto a valid variable name.
14495as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14496
14497
14498exec 6>&1
14499## ----------------------------------- ##
14500## Main body of $CONFIG_STATUS script. ##
14501## ----------------------------------- ##
14502_ASEOF
14503test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14504
14505cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14506# Save the log message, to keep $0 and so on meaningful, and to
14507# report actual input values of CONFIG_FILES etc. instead of their
14508# values after options handling.
14509ac_log="
14510This file was extended by pyatspi $as_me 2.38.1, which was
14511generated by GNU Autoconf 2.69.  Invocation command line was
14512
14513  CONFIG_FILES    = $CONFIG_FILES
14514  CONFIG_HEADERS  = $CONFIG_HEADERS
14515  CONFIG_LINKS    = $CONFIG_LINKS
14516  CONFIG_COMMANDS = $CONFIG_COMMANDS
14517  $ $0 $@
14518
14519on `(hostname || uname -n) 2>/dev/null | sed 1q`
14520"
14521
14522_ACEOF
14523
14524case $ac_config_files in *"
14525"*) set x $ac_config_files; shift; ac_config_files=$*;;
14526esac
14527
14528case $ac_config_headers in *"
14529"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14530esac
14531
14532
14533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14534# Files that config.status was made for.
14535config_files="$ac_config_files"
14536config_headers="$ac_config_headers"
14537config_commands="$ac_config_commands"
14538
14539_ACEOF
14540
14541cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14542ac_cs_usage="\
14543\`$as_me' instantiates files and other configuration actions
14544from templates according to the current configuration.  Unless the files
14545and actions are specified as TAGs, all are instantiated by default.
14546
14547Usage: $0 [OPTION]... [TAG]...
14548
14549  -h, --help       print this help, then exit
14550  -V, --version    print version number and configuration settings, then exit
14551      --config     print configuration, then exit
14552  -q, --quiet, --silent
14553                   do not print progress messages
14554  -d, --debug      don't remove temporary files
14555      --recheck    update $as_me by reconfiguring in the same conditions
14556      --file=FILE[:TEMPLATE]
14557                   instantiate the configuration file FILE
14558      --header=FILE[:TEMPLATE]
14559                   instantiate the configuration header FILE
14560
14561Configuration files:
14562$config_files
14563
14564Configuration headers:
14565$config_headers
14566
14567Configuration commands:
14568$config_commands
14569
14570Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
14571
14572_ACEOF
14573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14574ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14575ac_cs_version="\\
14576pyatspi config.status 2.38.1
14577configured by $0, generated by GNU Autoconf 2.69,
14578  with options \\"\$ac_cs_config\\"
14579
14580Copyright (C) 2012 Free Software Foundation, Inc.
14581This config.status script is free software; the Free Software Foundation
14582gives unlimited permission to copy, distribute and modify it."
14583
14584ac_pwd='$ac_pwd'
14585srcdir='$srcdir'
14586INSTALL='$INSTALL'
14587MKDIR_P='$MKDIR_P'
14588AWK='$AWK'
14589test -n "\$AWK" || AWK=awk
14590_ACEOF
14591
14592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14593# The default lists apply if the user does not specify any file.
14594ac_need_defaults=:
14595while test $# != 0
14596do
14597  case $1 in
14598  --*=?*)
14599    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14600    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14601    ac_shift=:
14602    ;;
14603  --*=)
14604    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14605    ac_optarg=
14606    ac_shift=:
14607    ;;
14608  *)
14609    ac_option=$1
14610    ac_optarg=$2
14611    ac_shift=shift
14612    ;;
14613  esac
14614
14615  case $ac_option in
14616  # Handling of the options.
14617  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14618    ac_cs_recheck=: ;;
14619  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14620    $as_echo "$ac_cs_version"; exit ;;
14621  --config | --confi | --conf | --con | --co | --c )
14622    $as_echo "$ac_cs_config"; exit ;;
14623  --debug | --debu | --deb | --de | --d | -d )
14624    debug=: ;;
14625  --file | --fil | --fi | --f )
14626    $ac_shift
14627    case $ac_optarg in
14628    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14629    '') as_fn_error $? "missing file argument" ;;
14630    esac
14631    as_fn_append CONFIG_FILES " '$ac_optarg'"
14632    ac_need_defaults=false;;
14633  --header | --heade | --head | --hea )
14634    $ac_shift
14635    case $ac_optarg in
14636    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14637    esac
14638    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14639    ac_need_defaults=false;;
14640  --he | --h)
14641    # Conflict between --help and --header
14642    as_fn_error $? "ambiguous option: \`$1'
14643Try \`$0 --help' for more information.";;
14644  --help | --hel | -h )
14645    $as_echo "$ac_cs_usage"; exit ;;
14646  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14647  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14648    ac_cs_silent=: ;;
14649
14650  # This is an error.
14651  -*) as_fn_error $? "unrecognized option: \`$1'
14652Try \`$0 --help' for more information." ;;
14653
14654  *) as_fn_append ac_config_targets " $1"
14655     ac_need_defaults=false ;;
14656
14657  esac
14658  shift
14659done
14660
14661ac_configure_extra_args=
14662
14663if $ac_cs_silent; then
14664  exec 6>/dev/null
14665  ac_configure_extra_args="$ac_configure_extra_args --silent"
14666fi
14667
14668_ACEOF
14669cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14670if \$ac_cs_recheck; then
14671  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14672  shift
14673  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14674  CONFIG_SHELL='$SHELL'
14675  export CONFIG_SHELL
14676  exec "\$@"
14677fi
14678
14679_ACEOF
14680cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14681exec 5>>config.log
14682{
14683  echo
14684  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14685## Running $as_me. ##
14686_ASBOX
14687  $as_echo "$ac_log"
14688} >&5
14689
14690_ACEOF
14691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14692#
14693# INIT-COMMANDS
14694#
14695AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14696
14697
14698# The HP-UX ksh and POSIX shell print the target directory to stdout
14699# if CDPATH is set.
14700(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14701
14702sed_quote_subst='$sed_quote_subst'
14703double_quote_subst='$double_quote_subst'
14704delay_variable_subst='$delay_variable_subst'
14705enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14706macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14707macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14708enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14709pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14710enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14711shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14712SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14713ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14714PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14715host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14716host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14717host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14718build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14719build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14720build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14721SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14722Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14723GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14724EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14725FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14726LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14727NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14728LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14729max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14730ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14731exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14732lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14733lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14734lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14735lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14736lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14737reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14738reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14739OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14740deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14741file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14742file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14743want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14744DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14745sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14746AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14747AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14748archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14749STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14750RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14751old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14752old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14753old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14754lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14755CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14756CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14757compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14758GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14759lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14760lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14761lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14762lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14763lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14764lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14765nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14766lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14767lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14768objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14769MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14770lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14771lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14772lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14773lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14774lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14775need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14776MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14777DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14778NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14779LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14780OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14781OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14782libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14783shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14784extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14785archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14786enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14787export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14788whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14789compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14790old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14791old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14792archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14793archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14794module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14795module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14796with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14797allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14798no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14799hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14800hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14801hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14802hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14803hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14804hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14805hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14806inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14807link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14808always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14809export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14810exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14811include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14812prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14813postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14814file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14815variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14816need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14817need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14818version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14819runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14820shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14821shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14822libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14823library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14824soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14825install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14826postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14827postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14828finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14829finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14830hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14831sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14832configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14833configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14834hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14835enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14836enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14837enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14838old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14839striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14840
14841LTCC='$LTCC'
14842LTCFLAGS='$LTCFLAGS'
14843compiler='$compiler_DEFAULT'
14844
14845# A function that is used when there is no print builtin or printf.
14846func_fallback_echo ()
14847{
14848  eval 'cat <<_LTECHO_EOF
14849\$1
14850_LTECHO_EOF'
14851}
14852
14853# Quote evaled strings.
14854for var in SHELL \
14855ECHO \
14856PATH_SEPARATOR \
14857SED \
14858GREP \
14859EGREP \
14860FGREP \
14861LD \
14862NM \
14863LN_S \
14864lt_SP2NL \
14865lt_NL2SP \
14866reload_flag \
14867OBJDUMP \
14868deplibs_check_method \
14869file_magic_cmd \
14870file_magic_glob \
14871want_nocaseglob \
14872DLLTOOL \
14873sharedlib_from_linklib_cmd \
14874AR \
14875AR_FLAGS \
14876archiver_list_spec \
14877STRIP \
14878RANLIB \
14879CC \
14880CFLAGS \
14881compiler \
14882lt_cv_sys_global_symbol_pipe \
14883lt_cv_sys_global_symbol_to_cdecl \
14884lt_cv_sys_global_symbol_to_import \
14885lt_cv_sys_global_symbol_to_c_name_address \
14886lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14887lt_cv_nm_interface \
14888nm_file_list_spec \
14889lt_cv_truncate_bin \
14890lt_prog_compiler_no_builtin_flag \
14891lt_prog_compiler_pic \
14892lt_prog_compiler_wl \
14893lt_prog_compiler_static \
14894lt_cv_prog_compiler_c_o \
14895need_locks \
14896MANIFEST_TOOL \
14897DSYMUTIL \
14898NMEDIT \
14899LIPO \
14900OTOOL \
14901OTOOL64 \
14902shrext_cmds \
14903export_dynamic_flag_spec \
14904whole_archive_flag_spec \
14905compiler_needs_object \
14906with_gnu_ld \
14907allow_undefined_flag \
14908no_undefined_flag \
14909hardcode_libdir_flag_spec \
14910hardcode_libdir_separator \
14911exclude_expsyms \
14912include_expsyms \
14913file_list_spec \
14914variables_saved_for_relink \
14915libname_spec \
14916library_names_spec \
14917soname_spec \
14918install_override_mode \
14919finish_eval \
14920old_striplib \
14921striplib; do
14922    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14923    *[\\\\\\\`\\"\\\$]*)
14924      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14925      ;;
14926    *)
14927      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14928      ;;
14929    esac
14930done
14931
14932# Double-quote double-evaled strings.
14933for var in reload_cmds \
14934old_postinstall_cmds \
14935old_postuninstall_cmds \
14936old_archive_cmds \
14937extract_expsyms_cmds \
14938old_archive_from_new_cmds \
14939old_archive_from_expsyms_cmds \
14940archive_cmds \
14941archive_expsym_cmds \
14942module_cmds \
14943module_expsym_cmds \
14944export_symbols_cmds \
14945prelink_cmds \
14946postlink_cmds \
14947postinstall_cmds \
14948postuninstall_cmds \
14949finish_cmds \
14950sys_lib_search_path_spec \
14951configure_time_dlsearch_path \
14952configure_time_lt_sys_library_path; do
14953    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14954    *[\\\\\\\`\\"\\\$]*)
14955      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14956      ;;
14957    *)
14958      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14959      ;;
14960    esac
14961done
14962
14963ac_aux_dir='$ac_aux_dir'
14964
14965# See if we are running on zsh, and set the options that allow our
14966# commands through without removal of \ escapes INIT.
14967if test -n "\${ZSH_VERSION+set}"; then
14968   setopt NO_GLOB_SUBST
14969fi
14970
14971
14972    PACKAGE='$PACKAGE'
14973    VERSION='$VERSION'
14974    RM='$RM'
14975    ofile='$ofile'
14976
14977
14978
14979
14980_ACEOF
14981
14982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14983
14984# Handling of arguments.
14985for ac_config_target in $ac_config_targets
14986do
14987  case $ac_config_target in
14988    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14989    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14990    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14991    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14992    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14993    "tests/dummyatk/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dummyatk/Makefile" ;;
14994    "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
14995    "tests/pyatspi/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pyatspi/Makefile" ;;
14996    "tests/pyatspi/testrunner") CONFIG_FILES="$CONFIG_FILES tests/pyatspi/testrunner" ;;
14997    "tests/pyatspi/pasytest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pyatspi/pasytest/Makefile" ;;
14998    "tests/apps/Makefile") CONFIG_FILES="$CONFIG_FILES tests/apps/Makefile" ;;
14999    "pyatspi/Makefile") CONFIG_FILES="$CONFIG_FILES pyatspi/Makefile" ;;
15000    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
15001
15002  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15003  esac
15004done
15005
15006
15007# If the user did not use the arguments to specify the items to instantiate,
15008# then the envvar interface is used.  Set only those that are not.
15009# We use the long form for the default assignment because of an extremely
15010# bizarre bug on SunOS 4.1.3.
15011if $ac_need_defaults; then
15012  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15013  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15014  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15015fi
15016
15017# Have a temporary directory for convenience.  Make it in the build tree
15018# simply because there is no reason against having it here, and in addition,
15019# creating and moving files from /tmp can sometimes cause problems.
15020# Hook for its removal unless debugging.
15021# Note that there is a small window in which the directory will not be cleaned:
15022# after its creation but before its name has been assigned to `$tmp'.
15023$debug ||
15024{
15025  tmp= ac_tmp=
15026  trap 'exit_status=$?
15027  : "${ac_tmp:=$tmp}"
15028  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15029' 0
15030  trap 'as_fn_exit 1' 1 2 13 15
15031}
15032# Create a (secure) tmp directory for tmp files.
15033
15034{
15035  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15036  test -d "$tmp"
15037}  ||
15038{
15039  tmp=./conf$$-$RANDOM
15040  (umask 077 && mkdir "$tmp")
15041} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15042ac_tmp=$tmp
15043
15044# Set up the scripts for CONFIG_FILES section.
15045# No need to generate them if there are no CONFIG_FILES.
15046# This happens for instance with `./config.status config.h'.
15047if test -n "$CONFIG_FILES"; then
15048
15049
15050ac_cr=`echo X | tr X '\015'`
15051# On cygwin, bash can eat \r inside `` if the user requested igncr.
15052# But we know of no other shell where ac_cr would be empty at this
15053# point, so we can use a bashism as a fallback.
15054if test "x$ac_cr" = x; then
15055  eval ac_cr=\$\'\\r\'
15056fi
15057ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15058if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15059  ac_cs_awk_cr='\\r'
15060else
15061  ac_cs_awk_cr=$ac_cr
15062fi
15063
15064echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15065_ACEOF
15066
15067
15068{
15069  echo "cat >conf$$subs.awk <<_ACEOF" &&
15070  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15071  echo "_ACEOF"
15072} >conf$$subs.sh ||
15073  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15074ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15075ac_delim='%!_!# '
15076for ac_last_try in false false false false false :; do
15077  . ./conf$$subs.sh ||
15078    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15079
15080  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15081  if test $ac_delim_n = $ac_delim_num; then
15082    break
15083  elif $ac_last_try; then
15084    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15085  else
15086    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15087  fi
15088done
15089rm -f conf$$subs.sh
15090
15091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15092cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15093_ACEOF
15094sed -n '
15095h
15096s/^/S["/; s/!.*/"]=/
15097p
15098g
15099s/^[^!]*!//
15100:repl
15101t repl
15102s/'"$ac_delim"'$//
15103t delim
15104:nl
15105h
15106s/\(.\{148\}\)..*/\1/
15107t more1
15108s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15109p
15110n
15111b repl
15112:more1
15113s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15114p
15115g
15116s/.\{148\}//
15117t nl
15118:delim
15119h
15120s/\(.\{148\}\)..*/\1/
15121t more2
15122s/["\\]/\\&/g; s/^/"/; s/$/"/
15123p
15124b
15125:more2
15126s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15127p
15128g
15129s/.\{148\}//
15130t delim
15131' <conf$$subs.awk | sed '
15132/^[^""]/{
15133  N
15134  s/\n//
15135}
15136' >>$CONFIG_STATUS || ac_write_fail=1
15137rm -f conf$$subs.awk
15138cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139_ACAWK
15140cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15141  for (key in S) S_is_set[key] = 1
15142  FS = ""
15143
15144}
15145{
15146  line = $ 0
15147  nfields = split(line, field, "@")
15148  substed = 0
15149  len = length(field[1])
15150  for (i = 2; i < nfields; i++) {
15151    key = field[i]
15152    keylen = length(key)
15153    if (S_is_set[key]) {
15154      value = S[key]
15155      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15156      len += length(value) + length(field[++i])
15157      substed = 1
15158    } else
15159      len += 1 + keylen
15160  }
15161
15162  print line
15163}
15164
15165_ACAWK
15166_ACEOF
15167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15168if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15169  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15170else
15171  cat
15172fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15173  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15174_ACEOF
15175
15176# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15177# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15178# trailing colons and then remove the whole line if VPATH becomes empty
15179# (actually we leave an empty line to preserve line numbers).
15180if test "x$srcdir" = x.; then
15181  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15182h
15183s///
15184s/^/:/
15185s/[	 ]*$/:/
15186s/:\$(srcdir):/:/g
15187s/:\${srcdir}:/:/g
15188s/:@srcdir@:/:/g
15189s/^:*//
15190s/:*$//
15191x
15192s/\(=[	 ]*\).*/\1/
15193G
15194s/\n//
15195s/^[^=]*=[	 ]*$//
15196}'
15197fi
15198
15199cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15200fi # test -n "$CONFIG_FILES"
15201
15202# Set up the scripts for CONFIG_HEADERS section.
15203# No need to generate them if there are no CONFIG_HEADERS.
15204# This happens for instance with `./config.status Makefile'.
15205if test -n "$CONFIG_HEADERS"; then
15206cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15207BEGIN {
15208_ACEOF
15209
15210# Transform confdefs.h into an awk script `defines.awk', embedded as
15211# here-document in config.status, that substitutes the proper values into
15212# config.h.in to produce config.h.
15213
15214# Create a delimiter string that does not exist in confdefs.h, to ease
15215# handling of long lines.
15216ac_delim='%!_!# '
15217for ac_last_try in false false :; do
15218  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15219  if test -z "$ac_tt"; then
15220    break
15221  elif $ac_last_try; then
15222    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15223  else
15224    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15225  fi
15226done
15227
15228# For the awk script, D is an array of macro values keyed by name,
15229# likewise P contains macro parameters if any.  Preserve backslash
15230# newline sequences.
15231
15232ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15233sed -n '
15234s/.\{148\}/&'"$ac_delim"'/g
15235t rset
15236:rset
15237s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15238t def
15239d
15240:def
15241s/\\$//
15242t bsnl
15243s/["\\]/\\&/g
15244s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15245D["\1"]=" \3"/p
15246s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15247d
15248:bsnl
15249s/["\\]/\\&/g
15250s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15251D["\1"]=" \3\\\\\\n"\\/p
15252t cont
15253s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15254t cont
15255d
15256:cont
15257n
15258s/.\{148\}/&'"$ac_delim"'/g
15259t clear
15260:clear
15261s/\\$//
15262t bsnlc
15263s/["\\]/\\&/g; s/^/"/; s/$/"/p
15264d
15265:bsnlc
15266s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15267b cont
15268' <confdefs.h | sed '
15269s/'"$ac_delim"'/"\\\
15270"/g' >>$CONFIG_STATUS || ac_write_fail=1
15271
15272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15273  for (key in D) D_is_set[key] = 1
15274  FS = ""
15275}
15276/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15277  line = \$ 0
15278  split(line, arg, " ")
15279  if (arg[1] == "#") {
15280    defundef = arg[2]
15281    mac1 = arg[3]
15282  } else {
15283    defundef = substr(arg[1], 2)
15284    mac1 = arg[2]
15285  }
15286  split(mac1, mac2, "(") #)
15287  macro = mac2[1]
15288  prefix = substr(line, 1, index(line, defundef) - 1)
15289  if (D_is_set[macro]) {
15290    # Preserve the white space surrounding the "#".
15291    print prefix "define", macro P[macro] D[macro]
15292    next
15293  } else {
15294    # Replace #undef with comments.  This is necessary, for example,
15295    # in the case of _POSIX_SOURCE, which is predefined and required
15296    # on some systems where configure will not decide to define it.
15297    if (defundef == "undef") {
15298      print "/*", prefix defundef, macro, "*/"
15299      next
15300    }
15301  }
15302}
15303{ print }
15304_ACAWK
15305_ACEOF
15306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15307  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15308fi # test -n "$CONFIG_HEADERS"
15309
15310
15311eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15312shift
15313for ac_tag
15314do
15315  case $ac_tag in
15316  :[FHLC]) ac_mode=$ac_tag; continue;;
15317  esac
15318  case $ac_mode$ac_tag in
15319  :[FHL]*:*);;
15320  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15321  :[FH]-) ac_tag=-:-;;
15322  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15323  esac
15324  ac_save_IFS=$IFS
15325  IFS=:
15326  set x $ac_tag
15327  IFS=$ac_save_IFS
15328  shift
15329  ac_file=$1
15330  shift
15331
15332  case $ac_mode in
15333  :L) ac_source=$1;;
15334  :[FH])
15335    ac_file_inputs=
15336    for ac_f
15337    do
15338      case $ac_f in
15339      -) ac_f="$ac_tmp/stdin";;
15340      *) # Look for the file first in the build tree, then in the source tree
15341	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15342	 # because $ac_f cannot contain `:'.
15343	 test -f "$ac_f" ||
15344	   case $ac_f in
15345	   [\\/$]*) false;;
15346	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15347	   esac ||
15348	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15349      esac
15350      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15351      as_fn_append ac_file_inputs " '$ac_f'"
15352    done
15353
15354    # Let's still pretend it is `configure' which instantiates (i.e., don't
15355    # use $as_me), people would be surprised to read:
15356    #    /* config.h.  Generated by config.status.  */
15357    configure_input='Generated from '`
15358	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15359	`' by configure.'
15360    if test x"$ac_file" != x-; then
15361      configure_input="$ac_file.  $configure_input"
15362      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15363$as_echo "$as_me: creating $ac_file" >&6;}
15364    fi
15365    # Neutralize special characters interpreted by sed in replacement strings.
15366    case $configure_input in #(
15367    *\&* | *\|* | *\\* )
15368       ac_sed_conf_input=`$as_echo "$configure_input" |
15369       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15370    *) ac_sed_conf_input=$configure_input;;
15371    esac
15372
15373    case $ac_tag in
15374    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15375      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15376    esac
15377    ;;
15378  esac
15379
15380  ac_dir=`$as_dirname -- "$ac_file" ||
15381$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15382	 X"$ac_file" : 'X\(//\)[^/]' \| \
15383	 X"$ac_file" : 'X\(//\)$' \| \
15384	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15385$as_echo X"$ac_file" |
15386    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15387	    s//\1/
15388	    q
15389	  }
15390	  /^X\(\/\/\)[^/].*/{
15391	    s//\1/
15392	    q
15393	  }
15394	  /^X\(\/\/\)$/{
15395	    s//\1/
15396	    q
15397	  }
15398	  /^X\(\/\).*/{
15399	    s//\1/
15400	    q
15401	  }
15402	  s/.*/./; q'`
15403  as_dir="$ac_dir"; as_fn_mkdir_p
15404  ac_builddir=.
15405
15406case "$ac_dir" in
15407.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15408*)
15409  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15410  # A ".." for each directory in $ac_dir_suffix.
15411  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15412  case $ac_top_builddir_sub in
15413  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15414  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15415  esac ;;
15416esac
15417ac_abs_top_builddir=$ac_pwd
15418ac_abs_builddir=$ac_pwd$ac_dir_suffix
15419# for backward compatibility:
15420ac_top_builddir=$ac_top_build_prefix
15421
15422case $srcdir in
15423  .)  # We are building in place.
15424    ac_srcdir=.
15425    ac_top_srcdir=$ac_top_builddir_sub
15426    ac_abs_top_srcdir=$ac_pwd ;;
15427  [\\/]* | ?:[\\/]* )  # Absolute name.
15428    ac_srcdir=$srcdir$ac_dir_suffix;
15429    ac_top_srcdir=$srcdir
15430    ac_abs_top_srcdir=$srcdir ;;
15431  *) # Relative name.
15432    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15433    ac_top_srcdir=$ac_top_build_prefix$srcdir
15434    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15435esac
15436ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15437
15438
15439  case $ac_mode in
15440  :F)
15441  #
15442  # CONFIG_FILE
15443  #
15444
15445  case $INSTALL in
15446  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15447  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15448  esac
15449  ac_MKDIR_P=$MKDIR_P
15450  case $MKDIR_P in
15451  [\\/$]* | ?:[\\/]* ) ;;
15452  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15453  esac
15454_ACEOF
15455
15456cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15457# If the template does not know about datarootdir, expand it.
15458# FIXME: This hack should be removed a few years after 2.60.
15459ac_datarootdir_hack=; ac_datarootdir_seen=
15460ac_sed_dataroot='
15461/datarootdir/ {
15462  p
15463  q
15464}
15465/@datadir@/p
15466/@docdir@/p
15467/@infodir@/p
15468/@localedir@/p
15469/@mandir@/p'
15470case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15471*datarootdir*) ac_datarootdir_seen=yes;;
15472*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15473  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15474$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15475_ACEOF
15476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15477  ac_datarootdir_hack='
15478  s&@datadir@&$datadir&g
15479  s&@docdir@&$docdir&g
15480  s&@infodir@&$infodir&g
15481  s&@localedir@&$localedir&g
15482  s&@mandir@&$mandir&g
15483  s&\\\${datarootdir}&$datarootdir&g' ;;
15484esac
15485_ACEOF
15486
15487# Neutralize VPATH when `$srcdir' = `.'.
15488# Shell code in configure.ac might set extrasub.
15489# FIXME: do we really want to maintain this feature?
15490cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15491ac_sed_extra="$ac_vpsub
15492$extrasub
15493_ACEOF
15494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15495:t
15496/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15497s|@configure_input@|$ac_sed_conf_input|;t t
15498s&@top_builddir@&$ac_top_builddir_sub&;t t
15499s&@top_build_prefix@&$ac_top_build_prefix&;t t
15500s&@srcdir@&$ac_srcdir&;t t
15501s&@abs_srcdir@&$ac_abs_srcdir&;t t
15502s&@top_srcdir@&$ac_top_srcdir&;t t
15503s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15504s&@builddir@&$ac_builddir&;t t
15505s&@abs_builddir@&$ac_abs_builddir&;t t
15506s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15507s&@INSTALL@&$ac_INSTALL&;t t
15508s&@MKDIR_P@&$ac_MKDIR_P&;t t
15509$ac_datarootdir_hack
15510"
15511eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15512  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15513
15514test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15515  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15516  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15517      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15518  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15519which seems to be undefined.  Please make sure it is defined" >&5
15520$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15521which seems to be undefined.  Please make sure it is defined" >&2;}
15522
15523  rm -f "$ac_tmp/stdin"
15524  case $ac_file in
15525  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15526  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15527  esac \
15528  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15529 ;;
15530  :H)
15531  #
15532  # CONFIG_HEADER
15533  #
15534  if test x"$ac_file" != x-; then
15535    {
15536      $as_echo "/* $configure_input  */" \
15537      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15538    } >"$ac_tmp/config.h" \
15539      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15540    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15541      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15542$as_echo "$as_me: $ac_file is unchanged" >&6;}
15543    else
15544      rm -f "$ac_file"
15545      mv "$ac_tmp/config.h" "$ac_file" \
15546	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15547    fi
15548  else
15549    $as_echo "/* $configure_input  */" \
15550      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15551      || as_fn_error $? "could not create -" "$LINENO" 5
15552  fi
15553# Compute "$ac_file"'s index in $config_headers.
15554_am_arg="$ac_file"
15555_am_stamp_count=1
15556for _am_header in $config_headers :; do
15557  case $_am_header in
15558    $_am_arg | $_am_arg:* )
15559      break ;;
15560    * )
15561      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15562  esac
15563done
15564echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15565$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15566	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15567	 X"$_am_arg" : 'X\(//\)$' \| \
15568	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15569$as_echo X"$_am_arg" |
15570    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15571	    s//\1/
15572	    q
15573	  }
15574	  /^X\(\/\/\)[^/].*/{
15575	    s//\1/
15576	    q
15577	  }
15578	  /^X\(\/\/\)$/{
15579	    s//\1/
15580	    q
15581	  }
15582	  /^X\(\/\).*/{
15583	    s//\1/
15584	    q
15585	  }
15586	  s/.*/./; q'`/stamp-h$_am_stamp_count
15587 ;;
15588
15589  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15590$as_echo "$as_me: executing $ac_file commands" >&6;}
15591 ;;
15592  esac
15593
15594
15595  case $ac_file$ac_mode in
15596    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15597  # Older Autoconf quotes --file arguments for eval, but not when files
15598  # are listed without --file.  Let's play safe and only enable the eval
15599  # if we detect the quoting.
15600  # TODO: see whether this extra hack can be removed once we start
15601  # requiring Autoconf 2.70 or later.
15602  case $CONFIG_FILES in #(
15603  *\'*) :
15604    eval set x "$CONFIG_FILES" ;; #(
15605  *) :
15606    set x $CONFIG_FILES ;; #(
15607  *) :
15608     ;;
15609esac
15610  shift
15611  # Used to flag and report bootstrapping failures.
15612  am_rc=0
15613  for am_mf
15614  do
15615    # Strip MF so we end up with the name of the file.
15616    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15617    # Check whether this is an Automake generated Makefile which includes
15618    # dependency-tracking related rules and includes.
15619    # Grep'ing the whole file directly is not great: AIX grep has a line
15620    # limit of 2048, but all sed's we know have understand at least 4000.
15621    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15622      || continue
15623    am_dirpart=`$as_dirname -- "$am_mf" ||
15624$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15625	 X"$am_mf" : 'X\(//\)[^/]' \| \
15626	 X"$am_mf" : 'X\(//\)$' \| \
15627	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15628$as_echo X"$am_mf" |
15629    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15630	    s//\1/
15631	    q
15632	  }
15633	  /^X\(\/\/\)[^/].*/{
15634	    s//\1/
15635	    q
15636	  }
15637	  /^X\(\/\/\)$/{
15638	    s//\1/
15639	    q
15640	  }
15641	  /^X\(\/\).*/{
15642	    s//\1/
15643	    q
15644	  }
15645	  s/.*/./; q'`
15646    am_filepart=`$as_basename -- "$am_mf" ||
15647$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15648	 X"$am_mf" : 'X\(//\)$' \| \
15649	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15650$as_echo X/"$am_mf" |
15651    sed '/^.*\/\([^/][^/]*\)\/*$/{
15652	    s//\1/
15653	    q
15654	  }
15655	  /^X\/\(\/\/\)$/{
15656	    s//\1/
15657	    q
15658	  }
15659	  /^X\/\(\/\).*/{
15660	    s//\1/
15661	    q
15662	  }
15663	  s/.*/./; q'`
15664    { echo "$as_me:$LINENO: cd "$am_dirpart" \
15665      && sed -e '/# am--include-marker/d' "$am_filepart" \
15666        | $MAKE -f - am--depfiles" >&5
15667   (cd "$am_dirpart" \
15668      && sed -e '/# am--include-marker/d' "$am_filepart" \
15669        | $MAKE -f - am--depfiles) >&5 2>&5
15670   ac_status=$?
15671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672   (exit $ac_status); } || am_rc=$?
15673  done
15674  if test $am_rc -ne 0; then
15675    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15676$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15677as_fn_error $? "Something went wrong bootstrapping makefile fragments
15678    for automatic dependency tracking.  If GNU make was not used, consider
15679    re-running the configure script with MAKE=\"gmake\" (or whatever is
15680    necessary).  You can also try re-running configure with the
15681    '--disable-dependency-tracking' option to at least be able to build
15682    the package (albeit without support for automatic dependency tracking).
15683See \`config.log' for more details" "$LINENO" 5; }
15684  fi
15685  { am_dirpart=; unset am_dirpart;}
15686  { am_filepart=; unset am_filepart;}
15687  { am_mf=; unset am_mf;}
15688  { am_rc=; unset am_rc;}
15689  rm -f conftest-deps.mk
15690}
15691 ;;
15692    "libtool":C)
15693
15694    # See if we are running on zsh, and set the options that allow our
15695    # commands through without removal of \ escapes.
15696    if test -n "${ZSH_VERSION+set}"; then
15697      setopt NO_GLOB_SUBST
15698    fi
15699
15700    cfgfile=${ofile}T
15701    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15702    $RM "$cfgfile"
15703
15704    cat <<_LT_EOF >> "$cfgfile"
15705#! $SHELL
15706# Generated automatically by $as_me ($PACKAGE) $VERSION
15707# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15708
15709# Provide generalized library-building support services.
15710# Written by Gordon Matzigkeit, 1996
15711
15712# Copyright (C) 2014 Free Software Foundation, Inc.
15713# This is free software; see the source for copying conditions.  There is NO
15714# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15715
15716# GNU Libtool is free software; you can redistribute it and/or modify
15717# it under the terms of the GNU General Public License as published by
15718# the Free Software Foundation; either version 2 of of the License, or
15719# (at your option) any later version.
15720#
15721# As a special exception to the GNU General Public License, if you
15722# distribute this file as part of a program or library that is built
15723# using GNU Libtool, you may include this file under the  same
15724# distribution terms that you use for the rest of that program.
15725#
15726# GNU Libtool is distributed in the hope that it will be useful, but
15727# WITHOUT ANY WARRANTY; without even the implied warranty of
15728# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15729# GNU General Public License for more details.
15730#
15731# You should have received a copy of the GNU General Public License
15732# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15733
15734
15735# The names of the tagged configurations supported by this script.
15736available_tags=''
15737
15738# Configured defaults for sys_lib_dlsearch_path munging.
15739: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15740
15741# ### BEGIN LIBTOOL CONFIG
15742
15743# Whether or not to build static libraries.
15744build_old_libs=$enable_static
15745
15746# Which release of libtool.m4 was used?
15747macro_version=$macro_version
15748macro_revision=$macro_revision
15749
15750# Whether or not to build shared libraries.
15751build_libtool_libs=$enable_shared
15752
15753# What type of objects to build.
15754pic_mode=$pic_mode
15755
15756# Whether or not to optimize for fast installation.
15757fast_install=$enable_fast_install
15758
15759# Shared archive member basename,for filename based shared library versioning on AIX.
15760shared_archive_member_spec=$shared_archive_member_spec
15761
15762# Shell to use when invoking shell scripts.
15763SHELL=$lt_SHELL
15764
15765# An echo program that protects backslashes.
15766ECHO=$lt_ECHO
15767
15768# The PATH separator for the build system.
15769PATH_SEPARATOR=$lt_PATH_SEPARATOR
15770
15771# The host system.
15772host_alias=$host_alias
15773host=$host
15774host_os=$host_os
15775
15776# The build system.
15777build_alias=$build_alias
15778build=$build
15779build_os=$build_os
15780
15781# A sed program that does not truncate output.
15782SED=$lt_SED
15783
15784# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15785Xsed="\$SED -e 1s/^X//"
15786
15787# A grep program that handles long lines.
15788GREP=$lt_GREP
15789
15790# An ERE matcher.
15791EGREP=$lt_EGREP
15792
15793# A literal string matcher.
15794FGREP=$lt_FGREP
15795
15796# A BSD- or MS-compatible name lister.
15797NM=$lt_NM
15798
15799# Whether we need soft or hard links.
15800LN_S=$lt_LN_S
15801
15802# What is the maximum length of a command?
15803max_cmd_len=$max_cmd_len
15804
15805# Object file suffix (normally "o").
15806objext=$ac_objext
15807
15808# Executable file suffix (normally "").
15809exeext=$exeext
15810
15811# whether the shell understands "unset".
15812lt_unset=$lt_unset
15813
15814# turn spaces into newlines.
15815SP2NL=$lt_lt_SP2NL
15816
15817# turn newlines into spaces.
15818NL2SP=$lt_lt_NL2SP
15819
15820# convert \$build file names to \$host format.
15821to_host_file_cmd=$lt_cv_to_host_file_cmd
15822
15823# convert \$build files to toolchain format.
15824to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15825
15826# An object symbol dumper.
15827OBJDUMP=$lt_OBJDUMP
15828
15829# Method to check whether dependent libraries are shared objects.
15830deplibs_check_method=$lt_deplibs_check_method
15831
15832# Command to use when deplibs_check_method = "file_magic".
15833file_magic_cmd=$lt_file_magic_cmd
15834
15835# How to find potential files when deplibs_check_method = "file_magic".
15836file_magic_glob=$lt_file_magic_glob
15837
15838# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15839want_nocaseglob=$lt_want_nocaseglob
15840
15841# DLL creation program.
15842DLLTOOL=$lt_DLLTOOL
15843
15844# Command to associate shared and link libraries.
15845sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15846
15847# The archiver.
15848AR=$lt_AR
15849
15850# Flags to create an archive.
15851AR_FLAGS=$lt_AR_FLAGS
15852
15853# How to feed a file listing to the archiver.
15854archiver_list_spec=$lt_archiver_list_spec
15855
15856# A symbol stripping program.
15857STRIP=$lt_STRIP
15858
15859# Commands used to install an old-style archive.
15860RANLIB=$lt_RANLIB
15861old_postinstall_cmds=$lt_old_postinstall_cmds
15862old_postuninstall_cmds=$lt_old_postuninstall_cmds
15863
15864# Whether to use a lock for old archive extraction.
15865lock_old_archive_extraction=$lock_old_archive_extraction
15866
15867# A C compiler.
15868LTCC=$lt_CC
15869
15870# LTCC compiler flags.
15871LTCFLAGS=$lt_CFLAGS
15872
15873# Take the output of nm and produce a listing of raw symbols and C names.
15874global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15875
15876# Transform the output of nm in a proper C declaration.
15877global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15878
15879# Transform the output of nm into a list of symbols to manually relocate.
15880global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15881
15882# Transform the output of nm in a C name address pair.
15883global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15884
15885# Transform the output of nm in a C name address pair when lib prefix is needed.
15886global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15887
15888# The name lister interface.
15889nm_interface=$lt_lt_cv_nm_interface
15890
15891# Specify filename containing input files for \$NM.
15892nm_file_list_spec=$lt_nm_file_list_spec
15893
15894# The root where to search for dependent libraries,and where our libraries should be installed.
15895lt_sysroot=$lt_sysroot
15896
15897# Command to truncate a binary pipe.
15898lt_truncate_bin=$lt_lt_cv_truncate_bin
15899
15900# The name of the directory that contains temporary libtool files.
15901objdir=$objdir
15902
15903# Used to examine libraries when file_magic_cmd begins with "file".
15904MAGIC_CMD=$MAGIC_CMD
15905
15906# Must we lock files when doing compilation?
15907need_locks=$lt_need_locks
15908
15909# Manifest tool.
15910MANIFEST_TOOL=$lt_MANIFEST_TOOL
15911
15912# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15913DSYMUTIL=$lt_DSYMUTIL
15914
15915# Tool to change global to local symbols on Mac OS X.
15916NMEDIT=$lt_NMEDIT
15917
15918# Tool to manipulate fat objects and archives on Mac OS X.
15919LIPO=$lt_LIPO
15920
15921# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15922OTOOL=$lt_OTOOL
15923
15924# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15925OTOOL64=$lt_OTOOL64
15926
15927# Old archive suffix (normally "a").
15928libext=$libext
15929
15930# Shared library suffix (normally ".so").
15931shrext_cmds=$lt_shrext_cmds
15932
15933# The commands to extract the exported symbol list from a shared archive.
15934extract_expsyms_cmds=$lt_extract_expsyms_cmds
15935
15936# Variables whose values should be saved in libtool wrapper scripts and
15937# restored at link time.
15938variables_saved_for_relink=$lt_variables_saved_for_relink
15939
15940# Do we need the "lib" prefix for modules?
15941need_lib_prefix=$need_lib_prefix
15942
15943# Do we need a version for libraries?
15944need_version=$need_version
15945
15946# Library versioning type.
15947version_type=$version_type
15948
15949# Shared library runtime path variable.
15950runpath_var=$runpath_var
15951
15952# Shared library path variable.
15953shlibpath_var=$shlibpath_var
15954
15955# Is shlibpath searched before the hard-coded library search path?
15956shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15957
15958# Format of library name prefix.
15959libname_spec=$lt_libname_spec
15960
15961# List of archive names.  First name is the real one, the rest are links.
15962# The last name is the one that the linker finds with -lNAME
15963library_names_spec=$lt_library_names_spec
15964
15965# The coded name of the library, if different from the real name.
15966soname_spec=$lt_soname_spec
15967
15968# Permission mode override for installation of shared libraries.
15969install_override_mode=$lt_install_override_mode
15970
15971# Command to use after installation of a shared archive.
15972postinstall_cmds=$lt_postinstall_cmds
15973
15974# Command to use after uninstallation of a shared archive.
15975postuninstall_cmds=$lt_postuninstall_cmds
15976
15977# Commands used to finish a libtool library installation in a directory.
15978finish_cmds=$lt_finish_cmds
15979
15980# As "finish_cmds", except a single script fragment to be evaled but
15981# not shown.
15982finish_eval=$lt_finish_eval
15983
15984# Whether we should hardcode library paths into libraries.
15985hardcode_into_libs=$hardcode_into_libs
15986
15987# Compile-time system search path for libraries.
15988sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15989
15990# Detected run-time system search path for libraries.
15991sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15992
15993# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15994configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15995
15996# Whether dlopen is supported.
15997dlopen_support=$enable_dlopen
15998
15999# Whether dlopen of programs is supported.
16000dlopen_self=$enable_dlopen_self
16001
16002# Whether dlopen of statically linked programs is supported.
16003dlopen_self_static=$enable_dlopen_self_static
16004
16005# Commands to strip libraries.
16006old_striplib=$lt_old_striplib
16007striplib=$lt_striplib
16008
16009
16010# The linker used to build libraries.
16011LD=$lt_LD
16012
16013# How to create reloadable object files.
16014reload_flag=$lt_reload_flag
16015reload_cmds=$lt_reload_cmds
16016
16017# Commands used to build an old-style archive.
16018old_archive_cmds=$lt_old_archive_cmds
16019
16020# A language specific compiler.
16021CC=$lt_compiler
16022
16023# Is the compiler the GNU compiler?
16024with_gcc=$GCC
16025
16026# Compiler flag to turn off builtin functions.
16027no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16028
16029# Additional compiler flags for building library objects.
16030pic_flag=$lt_lt_prog_compiler_pic
16031
16032# How to pass a linker flag through the compiler.
16033wl=$lt_lt_prog_compiler_wl
16034
16035# Compiler flag to prevent dynamic linking.
16036link_static_flag=$lt_lt_prog_compiler_static
16037
16038# Does compiler simultaneously support -c and -o options?
16039compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16040
16041# Whether or not to add -lc for building shared libraries.
16042build_libtool_need_lc=$archive_cmds_need_lc
16043
16044# Whether or not to disallow shared libs when runtime libs are static.
16045allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16046
16047# Compiler flag to allow reflexive dlopens.
16048export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16049
16050# Compiler flag to generate shared objects directly from archives.
16051whole_archive_flag_spec=$lt_whole_archive_flag_spec
16052
16053# Whether the compiler copes with passing no objects directly.
16054compiler_needs_object=$lt_compiler_needs_object
16055
16056# Create an old-style archive from a shared archive.
16057old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16058
16059# Create a temporary old-style archive to link instead of a shared archive.
16060old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16061
16062# Commands used to build a shared archive.
16063archive_cmds=$lt_archive_cmds
16064archive_expsym_cmds=$lt_archive_expsym_cmds
16065
16066# Commands used to build a loadable module if different from building
16067# a shared archive.
16068module_cmds=$lt_module_cmds
16069module_expsym_cmds=$lt_module_expsym_cmds
16070
16071# Whether we are building with GNU ld or not.
16072with_gnu_ld=$lt_with_gnu_ld
16073
16074# Flag that allows shared libraries with undefined symbols to be built.
16075allow_undefined_flag=$lt_allow_undefined_flag
16076
16077# Flag that enforces no undefined symbols.
16078no_undefined_flag=$lt_no_undefined_flag
16079
16080# Flag to hardcode \$libdir into a binary during linking.
16081# This must work even if \$libdir does not exist
16082hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16083
16084# Whether we need a single "-rpath" flag with a separated argument.
16085hardcode_libdir_separator=$lt_hardcode_libdir_separator
16086
16087# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16088# DIR into the resulting binary.
16089hardcode_direct=$hardcode_direct
16090
16091# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16092# DIR into the resulting binary and the resulting library dependency is
16093# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16094# library is relocated.
16095hardcode_direct_absolute=$hardcode_direct_absolute
16096
16097# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16098# into the resulting binary.
16099hardcode_minus_L=$hardcode_minus_L
16100
16101# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16102# into the resulting binary.
16103hardcode_shlibpath_var=$hardcode_shlibpath_var
16104
16105# Set to "yes" if building a shared library automatically hardcodes DIR
16106# into the library and all subsequent libraries and executables linked
16107# against it.
16108hardcode_automatic=$hardcode_automatic
16109
16110# Set to yes if linker adds runtime paths of dependent libraries
16111# to runtime path list.
16112inherit_rpath=$inherit_rpath
16113
16114# Whether libtool must link a program against all its dependency libraries.
16115link_all_deplibs=$link_all_deplibs
16116
16117# Set to "yes" if exported symbols are required.
16118always_export_symbols=$always_export_symbols
16119
16120# The commands to list exported symbols.
16121export_symbols_cmds=$lt_export_symbols_cmds
16122
16123# Symbols that should not be listed in the preloaded symbols.
16124exclude_expsyms=$lt_exclude_expsyms
16125
16126# Symbols that must always be exported.
16127include_expsyms=$lt_include_expsyms
16128
16129# Commands necessary for linking programs (against libraries) with templates.
16130prelink_cmds=$lt_prelink_cmds
16131
16132# Commands necessary for finishing linking programs.
16133postlink_cmds=$lt_postlink_cmds
16134
16135# Specify filename containing input files.
16136file_list_spec=$lt_file_list_spec
16137
16138# How to hardcode a shared library path into an executable.
16139hardcode_action=$hardcode_action
16140
16141# ### END LIBTOOL CONFIG
16142
16143_LT_EOF
16144
16145    cat <<'_LT_EOF' >> "$cfgfile"
16146
16147# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16148
16149# func_munge_path_list VARIABLE PATH
16150# -----------------------------------
16151# VARIABLE is name of variable containing _space_ separated list of
16152# directories to be munged by the contents of PATH, which is string
16153# having a format:
16154# "DIR[:DIR]:"
16155#       string "DIR[ DIR]" will be prepended to VARIABLE
16156# ":DIR[:DIR]"
16157#       string "DIR[ DIR]" will be appended to VARIABLE
16158# "DIRP[:DIRP]::[DIRA:]DIRA"
16159#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16160#       "DIRA[ DIRA]" will be appended to VARIABLE
16161# "DIR[:DIR]"
16162#       VARIABLE will be replaced by "DIR[ DIR]"
16163func_munge_path_list ()
16164{
16165    case x$2 in
16166    x)
16167        ;;
16168    *:)
16169        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16170        ;;
16171    x:*)
16172        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16173        ;;
16174    *::*)
16175        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16176        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16177        ;;
16178    *)
16179        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16180        ;;
16181    esac
16182}
16183
16184
16185# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16186func_cc_basename ()
16187{
16188    for cc_temp in $*""; do
16189      case $cc_temp in
16190        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16191        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16192        \-*) ;;
16193        *) break;;
16194      esac
16195    done
16196    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16197}
16198
16199
16200# ### END FUNCTIONS SHARED WITH CONFIGURE
16201
16202_LT_EOF
16203
16204  case $host_os in
16205  aix3*)
16206    cat <<\_LT_EOF >> "$cfgfile"
16207# AIX sometimes has problems with the GCC collect2 program.  For some
16208# reason, if we set the COLLECT_NAMES environment variable, the problems
16209# vanish in a puff of smoke.
16210if test set != "${COLLECT_NAMES+set}"; then
16211  COLLECT_NAMES=
16212  export COLLECT_NAMES
16213fi
16214_LT_EOF
16215    ;;
16216  esac
16217
16218
16219ltmain=$ac_aux_dir/ltmain.sh
16220
16221
16222  # We use sed instead of cat because bash on DJGPP gets confused if
16223  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16224  # text mode, it properly converts lines to CR/LF.  This bash problem
16225  # is reportedly fixed, but why not run on old versions too?
16226  sed '$q' "$ltmain" >> "$cfgfile" \
16227     || (rm -f "$cfgfile"; exit 1)
16228
16229   mv -f "$cfgfile" "$ofile" ||
16230    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16231  chmod +x "$ofile"
16232
16233 ;;
16234
16235  esac
16236done # for ac_tag
16237
16238
16239as_fn_exit 0
16240_ACEOF
16241ac_clean_files=$ac_clean_files_save
16242
16243test $ac_write_fail = 0 ||
16244  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16245
16246
16247# configure is writing to config.log, and then calls config.status.
16248# config.status does its own redirection, appending to config.log.
16249# Unfortunately, on DOS this fails, as config.log is still kept open
16250# by configure, so config.status won't be able to write to it; its
16251# output is simply discarded.  So we exec the FD to /dev/null,
16252# effectively closing config.log, so it can be properly (re)opened and
16253# appended to by config.status.  When coming back to configure, we
16254# need to make the FD available again.
16255if test "$no_create" != yes; then
16256  ac_cs_success=:
16257  ac_config_status_args=
16258  test "$silent" = yes &&
16259    ac_config_status_args="$ac_config_status_args --quiet"
16260  exec 5>/dev/null
16261  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16262  exec 5>>config.log
16263  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16264  # would make configure fail if this is the last instruction.
16265  $ac_cs_success || as_fn_exit 1
16266fi
16267if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16268  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16269$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16270fi
16271
16272