1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libgnome-keyring 3.12.0.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='libgnome-keyring'
589PACKAGE_TARNAME='libgnome-keyring'
590PACKAGE_VERSION='3.12.0'
591PACKAGE_STRING='libgnome-keyring 3.12.0'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="library/gnome-keyring.h"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636LIBRARY_LIBS
637LIBRARY_CFLAGS
638WITH_COVERAGE_FALSE
639WITH_COVERAGE_TRUE
640GCOV
641TEST_MODE
642INTROSPECTION_FLAGS
643LIBGCRYPT_LIBS
644LIBGCRYPT_CFLAGS
645LIBGCRYPT_CONFIG
646DBUS_LIBS
647DBUS_CFLAGS
648VAPIDIR
649ENABLE_VAPIGEN_FALSE
650ENABLE_VAPIGEN_TRUE
651VAPIGEN_MAKEFILE
652VAPIGEN_VAPIDIR
653VAPIGEN
654HAVE_INTROSPECTION_FALSE
655HAVE_INTROSPECTION_TRUE
656INTROSPECTION_MAKEFILE
657INTROSPECTION_LIBS
658INTROSPECTION_CFLAGS
659INTROSPECTION_TYPELIBDIR
660INTROSPECTION_GIRDIR
661INTROSPECTION_GENERATE
662INTROSPECTION_COMPILER
663INTROSPECTION_SCANNER
664MKINSTALLDIRS
665POSUB
666POFILES
667PO_IN_DATADIR_FALSE
668PO_IN_DATADIR_TRUE
669INTLLIBS
670INSTOBJEXT
671GMOFILES
672CATOBJEXT
673CATALOGS
674MSGFMT_OPTS
675GETTEXT_PACKAGE
676GLIB_LIBS
677GLIB_CFLAGS
678DISTCHECK_CONFIGURE_FLAGS
679GTK_DOC_USE_REBASE_FALSE
680GTK_DOC_USE_REBASE_TRUE
681GTK_DOC_USE_LIBTOOL_FALSE
682GTK_DOC_USE_LIBTOOL_TRUE
683GTK_DOC_BUILD_PDF_FALSE
684GTK_DOC_BUILD_PDF_TRUE
685GTK_DOC_BUILD_HTML_FALSE
686GTK_DOC_BUILD_HTML_TRUE
687ENABLE_GTK_DOC_FALSE
688ENABLE_GTK_DOC_TRUE
689GTKDOC_DEPS_LIBS
690GTKDOC_DEPS_CFLAGS
691HTML_DIR
692GTKDOC_MKPDF
693GTKDOC_REBASE
694GTKDOC_CHECK
695PKG_CONFIG_LIBDIR
696PKG_CONFIG_PATH
697LIB_GNOME_KEYRING_LT_VERSION
698PKG_CONFIG
699DATADIRNAME
700ALL_LINGUAS
701INTLTOOL_PERL
702GMSGFMT
703MSGFMT
704MSGMERGE
705XGETTEXT
706INTLTOOL_POLICY_RULE
707INTLTOOL_SERVICE_RULE
708INTLTOOL_THEME_RULE
709INTLTOOL_SCHEMAS_RULE
710INTLTOOL_CAVES_RULE
711INTLTOOL_XML_NOMERGE_RULE
712INTLTOOL_XML_RULE
713INTLTOOL_KBD_RULE
714INTLTOOL_XAM_RULE
715INTLTOOL_UI_RULE
716INTLTOOL_SOUNDLIST_RULE
717INTLTOOL_SHEET_RULE
718INTLTOOL_SERVER_RULE
719INTLTOOL_PONG_RULE
720INTLTOOL_OAF_RULE
721INTLTOOL_PROP_RULE
722INTLTOOL_KEYS_RULE
723INTLTOOL_DIRECTORY_RULE
724INTLTOOL_DESKTOP_RULE
725intltool__v_merge_options_0
726intltool__v_merge_options_
727INTLTOOL_V_MERGE_OPTIONS
728INTLTOOL__v_MERGE_0
729INTLTOOL__v_MERGE_
730INTLTOOL_V_MERGE
731INTLTOOL_EXTRACT
732INTLTOOL_MERGE
733INTLTOOL_UPDATE
734USE_NLS
735OTOOL64
736OTOOL
737LIPO
738NMEDIT
739DSYMUTIL
740MANIFEST_TOOL
741RANLIB
742ac_ct_AR
743AR
744DLLTOOL
745OBJDUMP
746NM
747ac_ct_DUMPBIN
748DUMPBIN
749LD
750FGREP
751SED
752host_os
753host_vendor
754host_cpu
755host
756build_os
757build_vendor
758build_cpu
759build
760LIBTOOL
761LN_S
762EGREP
763GREP
764CPP
765am__fastdepCC_FALSE
766am__fastdepCC_TRUE
767CCDEPMODE
768am__nodep
769AMDEPBACKSLASH
770AMDEP_FALSE
771AMDEP_TRUE
772am__quote
773am__include
774DEPDIR
775OBJEXT
776EXEEXT
777ac_ct_CC
778CPPFLAGS
779LDFLAGS
780CFLAGS
781CC
782MAINT
783MAINTAINER_MODE_FALSE
784MAINTAINER_MODE_TRUE
785AM_BACKSLASH
786AM_DEFAULT_VERBOSITY
787AM_DEFAULT_V
788AM_V
789am__untar
790am__tar
791AMTAR
792am__leading_dot
793SET_MAKE
794AWK
795mkdir_p
796MKDIR_P
797INSTALL_STRIP_PROGRAM
798STRIP
799install_sh
800MAKEINFO
801AUTOHEADER
802AUTOMAKE
803AUTOCONF
804ACLOCAL
805VERSION
806PACKAGE
807CYGPATH_W
808am__isrc
809INSTALL_DATA
810INSTALL_SCRIPT
811INSTALL_PROGRAM
812target_alias
813host_alias
814build_alias
815LIBS
816ECHO_T
817ECHO_N
818ECHO_C
819DEFS
820mandir
821localedir
822libdir
823psdir
824pdfdir
825dvidir
826htmldir
827infodir
828docdir
829oldincludedir
830includedir
831localstatedir
832sharedstatedir
833sysconfdir
834datadir
835datarootdir
836libexecdir
837sbindir
838bindir
839program_transform_name
840prefix
841exec_prefix
842PACKAGE_URL
843PACKAGE_BUGREPORT
844PACKAGE_STRING
845PACKAGE_VERSION
846PACKAGE_TARNAME
847PACKAGE_NAME
848PATH_SEPARATOR
849SHELL'
850ac_subst_files=''
851ac_user_opts='
852enable_option_checking
853enable_silent_rules
854enable_maintainer_mode
855enable_dependency_tracking
856enable_static
857enable_shared
858with_pic
859enable_fast_install
860with_gnu_ld
861with_sysroot
862enable_libtool_lock
863enable_nls
864with_html_dir
865enable_gtk_doc
866enable_gtk_doc_html
867enable_gtk_doc_pdf
868enable_introspection
869enable_vala
870with_vapidir
871with_libgcrypt_prefix
872enable_debug
873enable_strict
874enable_coverage
875'
876      ac_precious_vars='build_alias
877host_alias
878target_alias
879CC
880CFLAGS
881LDFLAGS
882LIBS
883CPPFLAGS
884CPP
885PKG_CONFIG
886PKG_CONFIG_PATH
887PKG_CONFIG_LIBDIR
888GTKDOC_DEPS_CFLAGS
889GTKDOC_DEPS_LIBS
890GLIB_CFLAGS
891GLIB_LIBS
892DBUS_CFLAGS
893DBUS_LIBS'
894
895
896# Initialize some variables set by options.
897ac_init_help=
898ac_init_version=false
899ac_unrecognized_opts=
900ac_unrecognized_sep=
901# The variables have the same names as the options, with
902# dashes changed to underlines.
903cache_file=/dev/null
904exec_prefix=NONE
905no_create=
906no_recursion=
907prefix=NONE
908program_prefix=NONE
909program_suffix=NONE
910program_transform_name=s,x,x,
911silent=
912site=
913srcdir=
914verbose=
915x_includes=NONE
916x_libraries=NONE
917
918# Installation directory options.
919# These are left unexpanded so users can "make install exec_prefix=/foo"
920# and all the variables that are supposed to be based on exec_prefix
921# by default will actually change.
922# Use braces instead of parens because sh, perl, etc. also accept them.
923# (The list follows the same order as the GNU Coding Standards.)
924bindir='${exec_prefix}/bin'
925sbindir='${exec_prefix}/sbin'
926libexecdir='${exec_prefix}/libexec'
927datarootdir='${prefix}/share'
928datadir='${datarootdir}'
929sysconfdir='${prefix}/etc'
930sharedstatedir='${prefix}/com'
931localstatedir='${prefix}/var'
932includedir='${prefix}/include'
933oldincludedir='/usr/include'
934docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
935infodir='${datarootdir}/info'
936htmldir='${docdir}'
937dvidir='${docdir}'
938pdfdir='${docdir}'
939psdir='${docdir}'
940libdir='${exec_prefix}/lib'
941localedir='${datarootdir}/locale'
942mandir='${datarootdir}/man'
943
944ac_prev=
945ac_dashdash=
946for ac_option
947do
948  # If the previous option needs an argument, assign it.
949  if test -n "$ac_prev"; then
950    eval $ac_prev=\$ac_option
951    ac_prev=
952    continue
953  fi
954
955  case $ac_option in
956  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957  *=)   ac_optarg= ;;
958  *)    ac_optarg=yes ;;
959  esac
960
961  # Accept the important Cygnus configure options, so we can diagnose typos.
962
963  case $ac_dashdash$ac_option in
964  --)
965    ac_dashdash=yes ;;
966
967  -bindir | --bindir | --bindi | --bind | --bin | --bi)
968    ac_prev=bindir ;;
969  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970    bindir=$ac_optarg ;;
971
972  -build | --build | --buil | --bui | --bu)
973    ac_prev=build_alias ;;
974  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975    build_alias=$ac_optarg ;;
976
977  -cache-file | --cache-file | --cache-fil | --cache-fi \
978  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979    ac_prev=cache_file ;;
980  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982    cache_file=$ac_optarg ;;
983
984  --config-cache | -C)
985    cache_file=config.cache ;;
986
987  -datadir | --datadir | --datadi | --datad)
988    ac_prev=datadir ;;
989  -datadir=* | --datadir=* | --datadi=* | --datad=*)
990    datadir=$ac_optarg ;;
991
992  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993  | --dataroo | --dataro | --datar)
994    ac_prev=datarootdir ;;
995  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997    datarootdir=$ac_optarg ;;
998
999  -disable-* | --disable-*)
1000    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001    # Reject names that are not valid shell variable names.
1002    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003      as_fn_error $? "invalid feature name: $ac_useropt"
1004    ac_useropt_orig=$ac_useropt
1005    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006    case $ac_user_opts in
1007      *"
1008"enable_$ac_useropt"
1009"*) ;;
1010      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011	 ac_unrecognized_sep=', ';;
1012    esac
1013    eval enable_$ac_useropt=no ;;
1014
1015  -docdir | --docdir | --docdi | --doc | --do)
1016    ac_prev=docdir ;;
1017  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018    docdir=$ac_optarg ;;
1019
1020  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021    ac_prev=dvidir ;;
1022  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023    dvidir=$ac_optarg ;;
1024
1025  -enable-* | --enable-*)
1026    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027    # Reject names that are not valid shell variable names.
1028    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029      as_fn_error $? "invalid feature name: $ac_useropt"
1030    ac_useropt_orig=$ac_useropt
1031    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032    case $ac_user_opts in
1033      *"
1034"enable_$ac_useropt"
1035"*) ;;
1036      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037	 ac_unrecognized_sep=', ';;
1038    esac
1039    eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043  | --exec | --exe | --ex)
1044    ac_prev=exec_prefix ;;
1045  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047  | --exec=* | --exe=* | --ex=*)
1048    exec_prefix=$ac_optarg ;;
1049
1050  -gas | --gas | --ga | --g)
1051    # Obsolete; use --with-gas.
1052    with_gas=yes ;;
1053
1054  -help | --help | --hel | --he | -h)
1055    ac_init_help=long ;;
1056  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057    ac_init_help=recursive ;;
1058  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059    ac_init_help=short ;;
1060
1061  -host | --host | --hos | --ho)
1062    ac_prev=host_alias ;;
1063  -host=* | --host=* | --hos=* | --ho=*)
1064    host_alias=$ac_optarg ;;
1065
1066  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067    ac_prev=htmldir ;;
1068  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069  | --ht=*)
1070    htmldir=$ac_optarg ;;
1071
1072  -includedir | --includedir | --includedi | --included | --include \
1073  | --includ | --inclu | --incl | --inc)
1074    ac_prev=includedir ;;
1075  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076  | --includ=* | --inclu=* | --incl=* | --inc=*)
1077    includedir=$ac_optarg ;;
1078
1079  -infodir | --infodir | --infodi | --infod | --info | --inf)
1080    ac_prev=infodir ;;
1081  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082    infodir=$ac_optarg ;;
1083
1084  -libdir | --libdir | --libdi | --libd)
1085    ac_prev=libdir ;;
1086  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087    libdir=$ac_optarg ;;
1088
1089  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090  | --libexe | --libex | --libe)
1091    ac_prev=libexecdir ;;
1092  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093  | --libexe=* | --libex=* | --libe=*)
1094    libexecdir=$ac_optarg ;;
1095
1096  -localedir | --localedir | --localedi | --localed | --locale)
1097    ac_prev=localedir ;;
1098  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099    localedir=$ac_optarg ;;
1100
1101  -localstatedir | --localstatedir | --localstatedi | --localstated \
1102  | --localstate | --localstat | --localsta | --localst | --locals)
1103    ac_prev=localstatedir ;;
1104  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106    localstatedir=$ac_optarg ;;
1107
1108  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109    ac_prev=mandir ;;
1110  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111    mandir=$ac_optarg ;;
1112
1113  -nfp | --nfp | --nf)
1114    # Obsolete; use --without-fp.
1115    with_fp=no ;;
1116
1117  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118  | --no-cr | --no-c | -n)
1119    no_create=yes ;;
1120
1121  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123    no_recursion=yes ;;
1124
1125  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127  | --oldin | --oldi | --old | --ol | --o)
1128    ac_prev=oldincludedir ;;
1129  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132    oldincludedir=$ac_optarg ;;
1133
1134  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135    ac_prev=prefix ;;
1136  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137    prefix=$ac_optarg ;;
1138
1139  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140  | --program-pre | --program-pr | --program-p)
1141    ac_prev=program_prefix ;;
1142  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144    program_prefix=$ac_optarg ;;
1145
1146  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147  | --program-suf | --program-su | --program-s)
1148    ac_prev=program_suffix ;;
1149  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151    program_suffix=$ac_optarg ;;
1152
1153  -program-transform-name | --program-transform-name \
1154  | --program-transform-nam | --program-transform-na \
1155  | --program-transform-n | --program-transform- \
1156  | --program-transform | --program-transfor \
1157  | --program-transfo | --program-transf \
1158  | --program-trans | --program-tran \
1159  | --progr-tra | --program-tr | --program-t)
1160    ac_prev=program_transform_name ;;
1161  -program-transform-name=* | --program-transform-name=* \
1162  | --program-transform-nam=* | --program-transform-na=* \
1163  | --program-transform-n=* | --program-transform-=* \
1164  | --program-transform=* | --program-transfor=* \
1165  | --program-transfo=* | --program-transf=* \
1166  | --program-trans=* | --program-tran=* \
1167  | --progr-tra=* | --program-tr=* | --program-t=*)
1168    program_transform_name=$ac_optarg ;;
1169
1170  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171    ac_prev=pdfdir ;;
1172  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173    pdfdir=$ac_optarg ;;
1174
1175  -psdir | --psdir | --psdi | --psd | --ps)
1176    ac_prev=psdir ;;
1177  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178    psdir=$ac_optarg ;;
1179
1180  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181  | -silent | --silent | --silen | --sile | --sil)
1182    silent=yes ;;
1183
1184  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185    ac_prev=sbindir ;;
1186  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187  | --sbi=* | --sb=*)
1188    sbindir=$ac_optarg ;;
1189
1190  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192  | --sharedst | --shareds | --shared | --share | --shar \
1193  | --sha | --sh)
1194    ac_prev=sharedstatedir ;;
1195  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198  | --sha=* | --sh=*)
1199    sharedstatedir=$ac_optarg ;;
1200
1201  -site | --site | --sit)
1202    ac_prev=site ;;
1203  -site=* | --site=* | --sit=*)
1204    site=$ac_optarg ;;
1205
1206  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207    ac_prev=srcdir ;;
1208  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209    srcdir=$ac_optarg ;;
1210
1211  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212  | --syscon | --sysco | --sysc | --sys | --sy)
1213    ac_prev=sysconfdir ;;
1214  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216    sysconfdir=$ac_optarg ;;
1217
1218  -target | --target | --targe | --targ | --tar | --ta | --t)
1219    ac_prev=target_alias ;;
1220  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221    target_alias=$ac_optarg ;;
1222
1223  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224    verbose=yes ;;
1225
1226  -version | --version | --versio | --versi | --vers | -V)
1227    ac_init_version=: ;;
1228
1229  -with-* | --with-*)
1230    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231    # Reject names that are not valid shell variable names.
1232    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233      as_fn_error $? "invalid package name: $ac_useropt"
1234    ac_useropt_orig=$ac_useropt
1235    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236    case $ac_user_opts in
1237      *"
1238"with_$ac_useropt"
1239"*) ;;
1240      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241	 ac_unrecognized_sep=', ';;
1242    esac
1243    eval with_$ac_useropt=\$ac_optarg ;;
1244
1245  -without-* | --without-*)
1246    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247    # Reject names that are not valid shell variable names.
1248    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249      as_fn_error $? "invalid package name: $ac_useropt"
1250    ac_useropt_orig=$ac_useropt
1251    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252    case $ac_user_opts in
1253      *"
1254"with_$ac_useropt"
1255"*) ;;
1256      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257	 ac_unrecognized_sep=', ';;
1258    esac
1259    eval with_$ac_useropt=no ;;
1260
1261  --x)
1262    # Obsolete; use --with-x.
1263    with_x=yes ;;
1264
1265  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266  | --x-incl | --x-inc | --x-in | --x-i)
1267    ac_prev=x_includes ;;
1268  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270    x_includes=$ac_optarg ;;
1271
1272  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274    ac_prev=x_libraries ;;
1275  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277    x_libraries=$ac_optarg ;;
1278
1279  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1280Try \`$0 --help' for more information"
1281    ;;
1282
1283  *=*)
1284    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285    # Reject names that are not valid shell variable names.
1286    case $ac_envvar in #(
1287      '' | [0-9]* | *[!_$as_cr_alnum]* )
1288      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1289    esac
1290    eval $ac_envvar=\$ac_optarg
1291    export $ac_envvar ;;
1292
1293  *)
1294    # FIXME: should be removed in autoconf 3.0.
1295    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1299    ;;
1300
1301  esac
1302done
1303
1304if test -n "$ac_prev"; then
1305  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306  as_fn_error $? "missing argument to $ac_option"
1307fi
1308
1309if test -n "$ac_unrecognized_opts"; then
1310  case $enable_option_checking in
1311    no) ;;
1312    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1313    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314  esac
1315fi
1316
1317# Check all directory arguments for consistency.
1318for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319		datadir sysconfdir sharedstatedir localstatedir includedir \
1320		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321		libdir localedir mandir
1322do
1323  eval ac_val=\$$ac_var
1324  # Remove trailing slashes.
1325  case $ac_val in
1326    */ )
1327      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328      eval $ac_var=\$ac_val;;
1329  esac
1330  # Be sure to have absolute directory names.
1331  case $ac_val in
1332    [\\/$]* | ?:[\\/]* )  continue;;
1333    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334  esac
1335  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1336done
1337
1338# There might be people who depend on the old broken behavior: `$host'
1339# used to hold the argument of --host etc.
1340# FIXME: To remove some day.
1341build=$build_alias
1342host=$host_alias
1343target=$target_alias
1344
1345# FIXME: To remove some day.
1346if test "x$host_alias" != x; then
1347  if test "x$build_alias" = x; then
1348    cross_compiling=maybe
1349  elif test "x$build_alias" != "x$host_alias"; then
1350    cross_compiling=yes
1351  fi
1352fi
1353
1354ac_tool_prefix=
1355test -n "$host_alias" && ac_tool_prefix=$host_alias-
1356
1357test "$silent" = yes && exec 6>/dev/null
1358
1359
1360ac_pwd=`pwd` && test -n "$ac_pwd" &&
1361ac_ls_di=`ls -di .` &&
1362ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1363  as_fn_error $? "working directory cannot be determined"
1364test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365  as_fn_error $? "pwd does not report name of working directory"
1366
1367
1368# Find the source files, if location was not specified.
1369if test -z "$srcdir"; then
1370  ac_srcdir_defaulted=yes
1371  # Try the directory containing this script, then the parent directory.
1372  ac_confdir=`$as_dirname -- "$as_myself" ||
1373$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374	 X"$as_myself" : 'X\(//\)[^/]' \| \
1375	 X"$as_myself" : 'X\(//\)$' \| \
1376	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377$as_echo X"$as_myself" |
1378    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379	    s//\1/
1380	    q
1381	  }
1382	  /^X\(\/\/\)[^/].*/{
1383	    s//\1/
1384	    q
1385	  }
1386	  /^X\(\/\/\)$/{
1387	    s//\1/
1388	    q
1389	  }
1390	  /^X\(\/\).*/{
1391	    s//\1/
1392	    q
1393	  }
1394	  s/.*/./; q'`
1395  srcdir=$ac_confdir
1396  if test ! -r "$srcdir/$ac_unique_file"; then
1397    srcdir=..
1398  fi
1399else
1400  ac_srcdir_defaulted=no
1401fi
1402if test ! -r "$srcdir/$ac_unique_file"; then
1403  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1404  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1405fi
1406ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1407ac_abs_confdir=`(
1408	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1409	pwd)`
1410# When building in place, set srcdir=.
1411if test "$ac_abs_confdir" = "$ac_pwd"; then
1412  srcdir=.
1413fi
1414# Remove unnecessary trailing slashes from srcdir.
1415# Double slashes in file names in object file debugging info
1416# mess up M-x gdb in Emacs.
1417case $srcdir in
1418*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1419esac
1420for ac_var in $ac_precious_vars; do
1421  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1422  eval ac_env_${ac_var}_value=\$${ac_var}
1423  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1424  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1425done
1426
1427#
1428# Report the --help message.
1429#
1430if test "$ac_init_help" = "long"; then
1431  # Omit some internal or obsolete options to make the list less imposing.
1432  # This message is too long to be a string in the A/UX 3.1 sh.
1433  cat <<_ACEOF
1434\`configure' configures libgnome-keyring 3.12.0 to adapt to many kinds of systems.
1435
1436Usage: $0 [OPTION]... [VAR=VALUE]...
1437
1438To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439VAR=VALUE.  See below for descriptions of some of the useful variables.
1440
1441Defaults for the options are specified in brackets.
1442
1443Configuration:
1444  -h, --help              display this help and exit
1445      --help=short        display options specific to this package
1446      --help=recursive    display the short help of all the included packages
1447  -V, --version           display version information and exit
1448  -q, --quiet, --silent   do not print \`checking ...' messages
1449      --cache-file=FILE   cache test results in FILE [disabled]
1450  -C, --config-cache      alias for \`--cache-file=config.cache'
1451  -n, --no-create         do not create output files
1452      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1453
1454Installation directories:
1455  --prefix=PREFIX         install architecture-independent files in PREFIX
1456                          [$ac_default_prefix]
1457  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1458                          [PREFIX]
1459
1460By default, \`make install' will install all the files in
1461\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1462an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463for instance \`--prefix=\$HOME'.
1464
1465For better control, use the options below.
1466
1467Fine tuning of the installation directories:
1468  --bindir=DIR            user executables [EPREFIX/bin]
1469  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1470  --libexecdir=DIR        program executables [EPREFIX/libexec]
1471  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1472  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1473  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1474  --libdir=DIR            object code libraries [EPREFIX/lib]
1475  --includedir=DIR        C header files [PREFIX/include]
1476  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1477  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1478  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1479  --infodir=DIR           info documentation [DATAROOTDIR/info]
1480  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1481  --mandir=DIR            man documentation [DATAROOTDIR/man]
1482  --docdir=DIR            documentation root
1483                          [DATAROOTDIR/doc/libgnome-keyring]
1484  --htmldir=DIR           html documentation [DOCDIR]
1485  --dvidir=DIR            dvi documentation [DOCDIR]
1486  --pdfdir=DIR            pdf documentation [DOCDIR]
1487  --psdir=DIR             ps documentation [DOCDIR]
1488_ACEOF
1489
1490  cat <<\_ACEOF
1491
1492Program names:
1493  --program-prefix=PREFIX            prepend PREFIX to installed program names
1494  --program-suffix=SUFFIX            append SUFFIX to installed program names
1495  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1496
1497System types:
1498  --build=BUILD     configure for building on BUILD [guessed]
1499  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1500_ACEOF
1501fi
1502
1503if test -n "$ac_init_help"; then
1504  case $ac_init_help in
1505     short | recursive ) echo "Configuration of libgnome-keyring 3.12.0:";;
1506   esac
1507  cat <<\_ACEOF
1508
1509Optional Features:
1510  --disable-option-checking  ignore unrecognized --enable/--with options
1511  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1512  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1513  --enable-silent-rules   less verbose build output (undo: "make V=1")
1514  --disable-silent-rules  verbose build output (undo: "make V=0")
1515  --disable-maintainer-mode
1516                          disable make rules and dependencies not useful (and
1517                          sometimes confusing) to the casual installer
1518  --enable-dependency-tracking
1519                          do not reject slow dependency extractors
1520  --disable-dependency-tracking
1521                          speeds up one-time build
1522  --enable-static[=PKGS]  build static libraries [default=no]
1523  --enable-shared[=PKGS]  build shared libraries [default=yes]
1524  --enable-fast-install[=PKGS]
1525                          optimize for fast installation [default=yes]
1526  --disable-libtool-lock  avoid locking (might break parallel builds)
1527  --disable-nls           do not use Native Language Support
1528  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1529  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1530  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1531  --enable-introspection=[no/auto/yes]
1532                          Enable introspection for this build
1533  --enable-vala=[no/auto/yes]
1534                          build Vala bindings [[default=auto]]
1535  --enable-debug=no/default/yes
1536                          Turn on or off debugging
1537
1538                 --enable-strict         Strict code compilation
1539
1540  --enable-coverage       Whether to enable coverage testing
1541
1542Optional Packages:
1543  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1544  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1545  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1546                          both]
1547  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1548  --with-sysroot=DIR Search for dependent libraries within DIR
1549                        (or the compiler's sysroot if not specified).
1550  --with-html-dir=PATH    path to installed docs
1551  --with-vapidir          Directory for VAPI files,
1552
1553  --with-libgcrypt-prefix=PFX
1554                          prefix where LIBGCRYPT is installed (optional)
1555
1556Some influential environment variables:
1557  CC          C compiler command
1558  CFLAGS      C compiler flags
1559  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1560              nonstandard directory <lib dir>
1561  LIBS        libraries to pass to the linker, e.g. -l<library>
1562  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1563              you have headers in a nonstandard directory <include dir>
1564  CPP         C preprocessor
1565  PKG_CONFIG  path to pkg-config utility
1566  PKG_CONFIG_PATH
1567              directories to add to pkg-config's search path
1568  PKG_CONFIG_LIBDIR
1569              path overriding pkg-config's built-in search path
1570  GTKDOC_DEPS_CFLAGS
1571              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1572  GTKDOC_DEPS_LIBS
1573              linker flags for GTKDOC_DEPS, overriding pkg-config
1574  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1575  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1576  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1577  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1578
1579Use these variables to override the choices made by `configure' or to help
1580it to find libraries and programs with nonstandard names/locations.
1581
1582Report bugs to the package provider.
1583_ACEOF
1584ac_status=$?
1585fi
1586
1587if test "$ac_init_help" = "recursive"; then
1588  # If there are subdirs, report their specific --help.
1589  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1590    test -d "$ac_dir" ||
1591      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592      continue
1593    ac_builddir=.
1594
1595case "$ac_dir" in
1596.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597*)
1598  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1599  # A ".." for each directory in $ac_dir_suffix.
1600  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1601  case $ac_top_builddir_sub in
1602  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604  esac ;;
1605esac
1606ac_abs_top_builddir=$ac_pwd
1607ac_abs_builddir=$ac_pwd$ac_dir_suffix
1608# for backward compatibility:
1609ac_top_builddir=$ac_top_build_prefix
1610
1611case $srcdir in
1612  .)  # We are building in place.
1613    ac_srcdir=.
1614    ac_top_srcdir=$ac_top_builddir_sub
1615    ac_abs_top_srcdir=$ac_pwd ;;
1616  [\\/]* | ?:[\\/]* )  # Absolute name.
1617    ac_srcdir=$srcdir$ac_dir_suffix;
1618    ac_top_srcdir=$srcdir
1619    ac_abs_top_srcdir=$srcdir ;;
1620  *) # Relative name.
1621    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1622    ac_top_srcdir=$ac_top_build_prefix$srcdir
1623    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1624esac
1625ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1626
1627    cd "$ac_dir" || { ac_status=$?; continue; }
1628    # Check for guested configure.
1629    if test -f "$ac_srcdir/configure.gnu"; then
1630      echo &&
1631      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1632    elif test -f "$ac_srcdir/configure"; then
1633      echo &&
1634      $SHELL "$ac_srcdir/configure" --help=recursive
1635    else
1636      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1637    fi || ac_status=$?
1638    cd "$ac_pwd" || { ac_status=$?; break; }
1639  done
1640fi
1641
1642test -n "$ac_init_help" && exit $ac_status
1643if $ac_init_version; then
1644  cat <<\_ACEOF
1645libgnome-keyring configure 3.12.0
1646generated by GNU Autoconf 2.69
1647
1648Copyright (C) 2012 Free Software Foundation, Inc.
1649This configure script is free software; the Free Software Foundation
1650gives unlimited permission to copy, distribute and modify it.
1651_ACEOF
1652  exit
1653fi
1654
1655## ------------------------ ##
1656## Autoconf initialization. ##
1657## ------------------------ ##
1658
1659# ac_fn_c_try_compile LINENO
1660# --------------------------
1661# Try to compile conftest.$ac_ext, and return whether this succeeded.
1662ac_fn_c_try_compile ()
1663{
1664  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665  rm -f conftest.$ac_objext
1666  if { { ac_try="$ac_compile"
1667case "(($ac_try" in
1668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669  *) ac_try_echo=$ac_try;;
1670esac
1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672$as_echo "$ac_try_echo"; } >&5
1673  (eval "$ac_compile") 2>conftest.err
1674  ac_status=$?
1675  if test -s conftest.err; then
1676    grep -v '^ *+' conftest.err >conftest.er1
1677    cat conftest.er1 >&5
1678    mv -f conftest.er1 conftest.err
1679  fi
1680  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681  test $ac_status = 0; } && {
1682	 test -z "$ac_c_werror_flag" ||
1683	 test ! -s conftest.err
1684       } && test -s conftest.$ac_objext; then :
1685  ac_retval=0
1686else
1687  $as_echo "$as_me: failed program was:" >&5
1688sed 's/^/| /' conftest.$ac_ext >&5
1689
1690	ac_retval=1
1691fi
1692  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693  as_fn_set_status $ac_retval
1694
1695} # ac_fn_c_try_compile
1696
1697# ac_fn_c_try_cpp LINENO
1698# ----------------------
1699# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700ac_fn_c_try_cpp ()
1701{
1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703  if { { ac_try="$ac_cpp conftest.$ac_ext"
1704case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1711  ac_status=$?
1712  if test -s conftest.err; then
1713    grep -v '^ *+' conftest.err >conftest.er1
1714    cat conftest.er1 >&5
1715    mv -f conftest.er1 conftest.err
1716  fi
1717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718  test $ac_status = 0; } > conftest.i && {
1719	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720	 test ! -s conftest.err
1721       }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727    ac_retval=1
1728fi
1729  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730  as_fn_set_status $ac_retval
1731
1732} # ac_fn_c_try_cpp
1733
1734# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1735# -------------------------------------------------------
1736# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1737# the include files in INCLUDES and setting the cache variable VAR
1738# accordingly.
1739ac_fn_c_check_header_mongrel ()
1740{
1741  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742  if eval \${$3+:} false; then :
1743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744$as_echo_n "checking for $2... " >&6; }
1745if eval \${$3+:} false; then :
1746  $as_echo_n "(cached) " >&6
1747fi
1748eval ac_res=\$$3
1749	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750$as_echo "$ac_res" >&6; }
1751else
1752  # Is the header compilable?
1753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1754$as_echo_n "checking $2 usability... " >&6; }
1755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756/* end confdefs.h.  */
1757$4
1758#include <$2>
1759_ACEOF
1760if ac_fn_c_try_compile "$LINENO"; then :
1761  ac_header_compiler=yes
1762else
1763  ac_header_compiler=no
1764fi
1765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1767$as_echo "$ac_header_compiler" >&6; }
1768
1769# Is the header present?
1770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1771$as_echo_n "checking $2 presence... " >&6; }
1772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773/* end confdefs.h.  */
1774#include <$2>
1775_ACEOF
1776if ac_fn_c_try_cpp "$LINENO"; then :
1777  ac_header_preproc=yes
1778else
1779  ac_header_preproc=no
1780fi
1781rm -f conftest.err conftest.i conftest.$ac_ext
1782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1783$as_echo "$ac_header_preproc" >&6; }
1784
1785# So?  What about this header?
1786case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1787  yes:no: )
1788    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1789$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792    ;;
1793  no:yes:* )
1794    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1795$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1796    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1797$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1798    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1799$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1800    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1801$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1802    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1803$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1804    ;;
1805esac
1806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807$as_echo_n "checking for $2... " >&6; }
1808if eval \${$3+:} false; then :
1809  $as_echo_n "(cached) " >&6
1810else
1811  eval "$3=\$ac_header_compiler"
1812fi
1813eval ac_res=\$$3
1814	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815$as_echo "$ac_res" >&6; }
1816fi
1817  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818
1819} # ac_fn_c_check_header_mongrel
1820
1821# ac_fn_c_try_run LINENO
1822# ----------------------
1823# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824# that executables *can* be run.
1825ac_fn_c_try_run ()
1826{
1827  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828  if { { ac_try="$ac_link"
1829case "(($ac_try" in
1830  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831  *) ac_try_echo=$ac_try;;
1832esac
1833eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834$as_echo "$ac_try_echo"; } >&5
1835  (eval "$ac_link") 2>&5
1836  ac_status=$?
1837  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839  { { case "(($ac_try" in
1840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841  *) ac_try_echo=$ac_try;;
1842esac
1843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844$as_echo "$ac_try_echo"; } >&5
1845  (eval "$ac_try") 2>&5
1846  ac_status=$?
1847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848  test $ac_status = 0; }; }; then :
1849  ac_retval=0
1850else
1851  $as_echo "$as_me: program exited with status $ac_status" >&5
1852       $as_echo "$as_me: failed program was:" >&5
1853sed 's/^/| /' conftest.$ac_ext >&5
1854
1855       ac_retval=$ac_status
1856fi
1857  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859  as_fn_set_status $ac_retval
1860
1861} # ac_fn_c_try_run
1862
1863# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1864# -------------------------------------------------------
1865# Tests whether HEADER exists and can be compiled using the include files in
1866# INCLUDES, setting the cache variable VAR accordingly.
1867ac_fn_c_check_header_compile ()
1868{
1869  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871$as_echo_n "checking for $2... " >&6; }
1872if eval \${$3+:} false; then :
1873  $as_echo_n "(cached) " >&6
1874else
1875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876/* end confdefs.h.  */
1877$4
1878#include <$2>
1879_ACEOF
1880if ac_fn_c_try_compile "$LINENO"; then :
1881  eval "$3=yes"
1882else
1883  eval "$3=no"
1884fi
1885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886fi
1887eval ac_res=\$$3
1888	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889$as_echo "$ac_res" >&6; }
1890  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891
1892} # ac_fn_c_check_header_compile
1893
1894# ac_fn_c_try_link LINENO
1895# -----------------------
1896# Try to link conftest.$ac_ext, and return whether this succeeded.
1897ac_fn_c_try_link ()
1898{
1899  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900  rm -f conftest.$ac_objext conftest$ac_exeext
1901  if { { ac_try="$ac_link"
1902case "(($ac_try" in
1903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904  *) ac_try_echo=$ac_try;;
1905esac
1906eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907$as_echo "$ac_try_echo"; } >&5
1908  (eval "$ac_link") 2>conftest.err
1909  ac_status=$?
1910  if test -s conftest.err; then
1911    grep -v '^ *+' conftest.err >conftest.er1
1912    cat conftest.er1 >&5
1913    mv -f conftest.er1 conftest.err
1914  fi
1915  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916  test $ac_status = 0; } && {
1917	 test -z "$ac_c_werror_flag" ||
1918	 test ! -s conftest.err
1919       } && test -s conftest$ac_exeext && {
1920	 test "$cross_compiling" = yes ||
1921	 test -x conftest$ac_exeext
1922       }; then :
1923  ac_retval=0
1924else
1925  $as_echo "$as_me: failed program was:" >&5
1926sed 's/^/| /' conftest.$ac_ext >&5
1927
1928	ac_retval=1
1929fi
1930  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1931  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1932  # interfere with the next link command; also delete a directory that is
1933  # left behind by Apple's compiler.  We do this before executing the actions.
1934  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936  as_fn_set_status $ac_retval
1937
1938} # ac_fn_c_try_link
1939
1940# ac_fn_c_check_func LINENO FUNC VAR
1941# ----------------------------------
1942# Tests whether FUNC exists, setting the cache variable VAR accordingly
1943ac_fn_c_check_func ()
1944{
1945  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947$as_echo_n "checking for $2... " >&6; }
1948if eval \${$3+:} false; then :
1949  $as_echo_n "(cached) " >&6
1950else
1951  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952/* end confdefs.h.  */
1953/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1954   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1955#define $2 innocuous_$2
1956
1957/* System header to define __stub macros and hopefully few prototypes,
1958    which can conflict with char $2 (); below.
1959    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1960    <limits.h> exists even on freestanding compilers.  */
1961
1962#ifdef __STDC__
1963# include <limits.h>
1964#else
1965# include <assert.h>
1966#endif
1967
1968#undef $2
1969
1970/* Override any GCC internal prototype to avoid an error.
1971   Use char because int might match the return type of a GCC
1972   builtin and then its argument prototype would still apply.  */
1973#ifdef __cplusplus
1974extern "C"
1975#endif
1976char $2 ();
1977/* The GNU C library defines this for functions which it implements
1978    to always fail with ENOSYS.  Some functions are actually named
1979    something starting with __ and the normal name is an alias.  */
1980#if defined __stub_$2 || defined __stub___$2
1981choke me
1982#endif
1983
1984int
1985main ()
1986{
1987return $2 ();
1988  ;
1989  return 0;
1990}
1991_ACEOF
1992if ac_fn_c_try_link "$LINENO"; then :
1993  eval "$3=yes"
1994else
1995  eval "$3=no"
1996fi
1997rm -f core conftest.err conftest.$ac_objext \
1998    conftest$ac_exeext conftest.$ac_ext
1999fi
2000eval ac_res=\$$3
2001	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002$as_echo "$ac_res" >&6; }
2003  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004
2005} # ac_fn_c_check_func
2006
2007# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2008# -------------------------------------------
2009# Tests whether TYPE exists after having included INCLUDES, setting cache
2010# variable VAR accordingly.
2011ac_fn_c_check_type ()
2012{
2013  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015$as_echo_n "checking for $2... " >&6; }
2016if eval \${$3+:} false; then :
2017  $as_echo_n "(cached) " >&6
2018else
2019  eval "$3=no"
2020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021/* end confdefs.h.  */
2022$4
2023int
2024main ()
2025{
2026if (sizeof ($2))
2027	 return 0;
2028  ;
2029  return 0;
2030}
2031_ACEOF
2032if ac_fn_c_try_compile "$LINENO"; then :
2033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034/* end confdefs.h.  */
2035$4
2036int
2037main ()
2038{
2039if (sizeof (($2)))
2040	    return 0;
2041  ;
2042  return 0;
2043}
2044_ACEOF
2045if ac_fn_c_try_compile "$LINENO"; then :
2046
2047else
2048  eval "$3=yes"
2049fi
2050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051fi
2052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053fi
2054eval ac_res=\$$3
2055	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056$as_echo "$ac_res" >&6; }
2057  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058
2059} # ac_fn_c_check_type
2060cat >config.log <<_ACEOF
2061This file contains any messages produced by compilers while
2062running configure, to aid debugging if configure makes a mistake.
2063
2064It was created by libgnome-keyring $as_me 3.12.0, which was
2065generated by GNU Autoconf 2.69.  Invocation command line was
2066
2067  $ $0 $@
2068
2069_ACEOF
2070exec 5>>config.log
2071{
2072cat <<_ASUNAME
2073## --------- ##
2074## Platform. ##
2075## --------- ##
2076
2077hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2078uname -m = `(uname -m) 2>/dev/null || echo unknown`
2079uname -r = `(uname -r) 2>/dev/null || echo unknown`
2080uname -s = `(uname -s) 2>/dev/null || echo unknown`
2081uname -v = `(uname -v) 2>/dev/null || echo unknown`
2082
2083/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2084/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2085
2086/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2087/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2088/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2089/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2090/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2091/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2092/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2093
2094_ASUNAME
2095
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099  IFS=$as_save_IFS
2100  test -z "$as_dir" && as_dir=.
2101    $as_echo "PATH: $as_dir"
2102  done
2103IFS=$as_save_IFS
2104
2105} >&5
2106
2107cat >&5 <<_ACEOF
2108
2109
2110## ----------- ##
2111## Core tests. ##
2112## ----------- ##
2113
2114_ACEOF
2115
2116
2117# Keep a trace of the command line.
2118# Strip out --no-create and --no-recursion so they do not pile up.
2119# Strip out --silent because we don't want to record it for future runs.
2120# Also quote any args containing shell meta-characters.
2121# Make two passes to allow for proper duplicate-argument suppression.
2122ac_configure_args=
2123ac_configure_args0=
2124ac_configure_args1=
2125ac_must_keep_next=false
2126for ac_pass in 1 2
2127do
2128  for ac_arg
2129  do
2130    case $ac_arg in
2131    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2132    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2133    | -silent | --silent | --silen | --sile | --sil)
2134      continue ;;
2135    *\'*)
2136      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2137    esac
2138    case $ac_pass in
2139    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2140    2)
2141      as_fn_append ac_configure_args1 " '$ac_arg'"
2142      if test $ac_must_keep_next = true; then
2143	ac_must_keep_next=false # Got value, back to normal.
2144      else
2145	case $ac_arg in
2146	  *=* | --config-cache | -C | -disable-* | --disable-* \
2147	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2148	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2149	  | -with-* | --with-* | -without-* | --without-* | --x)
2150	    case "$ac_configure_args0 " in
2151	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2152	    esac
2153	    ;;
2154	  -* ) ac_must_keep_next=true ;;
2155	esac
2156      fi
2157      as_fn_append ac_configure_args " '$ac_arg'"
2158      ;;
2159    esac
2160  done
2161done
2162{ ac_configure_args0=; unset ac_configure_args0;}
2163{ ac_configure_args1=; unset ac_configure_args1;}
2164
2165# When interrupted or exit'd, cleanup temporary files, and complete
2166# config.log.  We remove comments because anyway the quotes in there
2167# would cause problems or look ugly.
2168# WARNING: Use '\'' to represent an apostrophe within the trap.
2169# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2170trap 'exit_status=$?
2171  # Save into config.log some information that might help in debugging.
2172  {
2173    echo
2174
2175    $as_echo "## ---------------- ##
2176## Cache variables. ##
2177## ---------------- ##"
2178    echo
2179    # The following way of writing the cache mishandles newlines in values,
2180(
2181  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2182    eval ac_val=\$$ac_var
2183    case $ac_val in #(
2184    *${as_nl}*)
2185      case $ac_var in #(
2186      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2187$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2188      esac
2189      case $ac_var in #(
2190      _ | IFS | as_nl) ;; #(
2191      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2192      *) { eval $ac_var=; unset $ac_var;} ;;
2193      esac ;;
2194    esac
2195  done
2196  (set) 2>&1 |
2197    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2198    *${as_nl}ac_space=\ *)
2199      sed -n \
2200	"s/'\''/'\''\\\\'\'''\''/g;
2201	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2202      ;; #(
2203    *)
2204      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2205      ;;
2206    esac |
2207    sort
2208)
2209    echo
2210
2211    $as_echo "## ----------------- ##
2212## Output variables. ##
2213## ----------------- ##"
2214    echo
2215    for ac_var in $ac_subst_vars
2216    do
2217      eval ac_val=\$$ac_var
2218      case $ac_val in
2219      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220      esac
2221      $as_echo "$ac_var='\''$ac_val'\''"
2222    done | sort
2223    echo
2224
2225    if test -n "$ac_subst_files"; then
2226      $as_echo "## ------------------- ##
2227## File substitutions. ##
2228## ------------------- ##"
2229      echo
2230      for ac_var in $ac_subst_files
2231      do
2232	eval ac_val=\$$ac_var
2233	case $ac_val in
2234	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235	esac
2236	$as_echo "$ac_var='\''$ac_val'\''"
2237      done | sort
2238      echo
2239    fi
2240
2241    if test -s confdefs.h; then
2242      $as_echo "## ----------- ##
2243## confdefs.h. ##
2244## ----------- ##"
2245      echo
2246      cat confdefs.h
2247      echo
2248    fi
2249    test "$ac_signal" != 0 &&
2250      $as_echo "$as_me: caught signal $ac_signal"
2251    $as_echo "$as_me: exit $exit_status"
2252  } >&5
2253  rm -f core *.core core.conftest.* &&
2254    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2255    exit $exit_status
2256' 0
2257for ac_signal in 1 2 13 15; do
2258  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2259done
2260ac_signal=0
2261
2262# confdefs.h avoids OS command line length limits that DEFS can exceed.
2263rm -f -r conftest* confdefs.h
2264
2265$as_echo "/* confdefs.h */" > confdefs.h
2266
2267# Predefined preprocessor variables.
2268
2269cat >>confdefs.h <<_ACEOF
2270#define PACKAGE_NAME "$PACKAGE_NAME"
2271_ACEOF
2272
2273cat >>confdefs.h <<_ACEOF
2274#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2275_ACEOF
2276
2277cat >>confdefs.h <<_ACEOF
2278#define PACKAGE_VERSION "$PACKAGE_VERSION"
2279_ACEOF
2280
2281cat >>confdefs.h <<_ACEOF
2282#define PACKAGE_STRING "$PACKAGE_STRING"
2283_ACEOF
2284
2285cat >>confdefs.h <<_ACEOF
2286#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2287_ACEOF
2288
2289cat >>confdefs.h <<_ACEOF
2290#define PACKAGE_URL "$PACKAGE_URL"
2291_ACEOF
2292
2293
2294# Let the site file select an alternate cache file if it wants to.
2295# Prefer an explicitly selected file to automatically selected ones.
2296ac_site_file1=NONE
2297ac_site_file2=NONE
2298if test -n "$CONFIG_SITE"; then
2299  # We do not want a PATH search for config.site.
2300  case $CONFIG_SITE in #((
2301    -*)  ac_site_file1=./$CONFIG_SITE;;
2302    */*) ac_site_file1=$CONFIG_SITE;;
2303    *)   ac_site_file1=./$CONFIG_SITE;;
2304  esac
2305elif test "x$prefix" != xNONE; then
2306  ac_site_file1=$prefix/share/config.site
2307  ac_site_file2=$prefix/etc/config.site
2308else
2309  ac_site_file1=$ac_default_prefix/share/config.site
2310  ac_site_file2=$ac_default_prefix/etc/config.site
2311fi
2312for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2313do
2314  test "x$ac_site_file" = xNONE && continue
2315  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2316    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318    sed 's/^/| /' "$ac_site_file" >&5
2319    . "$ac_site_file" \
2320      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322as_fn_error $? "failed to load site script $ac_site_file
2323See \`config.log' for more details" "$LINENO" 5; }
2324  fi
2325done
2326
2327if test -r "$cache_file"; then
2328  # Some versions of bash will fail to source /dev/null (special files
2329  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2330  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332$as_echo "$as_me: loading cache $cache_file" >&6;}
2333    case $cache_file in
2334      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335      *)                      . "./$cache_file";;
2336    esac
2337  fi
2338else
2339  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340$as_echo "$as_me: creating cache $cache_file" >&6;}
2341  >$cache_file
2342fi
2343
2344# Check that the precious variables saved in the cache have kept the same
2345# value.
2346ac_cache_corrupted=false
2347for ac_var in $ac_precious_vars; do
2348  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349  eval ac_new_set=\$ac_env_${ac_var}_set
2350  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351  eval ac_new_val=\$ac_env_${ac_var}_value
2352  case $ac_old_set,$ac_new_set in
2353    set,)
2354      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356      ac_cache_corrupted=: ;;
2357    ,set)
2358      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360      ac_cache_corrupted=: ;;
2361    ,);;
2362    *)
2363      if test "x$ac_old_val" != "x$ac_new_val"; then
2364	# differences in whitespace do not lead to failure.
2365	ac_old_val_w=`echo x $ac_old_val`
2366	ac_new_val_w=`echo x $ac_new_val`
2367	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370	  ac_cache_corrupted=:
2371	else
2372	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374	  eval $ac_var=\$ac_old_val
2375	fi
2376	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2377$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2378	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2379$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2380      fi;;
2381  esac
2382  # Pass precious variables to config.status.
2383  if test "$ac_new_set" = set; then
2384    case $ac_new_val in
2385    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386    *) ac_arg=$ac_var=$ac_new_val ;;
2387    esac
2388    case " $ac_configure_args " in
2389      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2390      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2391    esac
2392  fi
2393done
2394if $ac_cache_corrupted; then
2395  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400fi
2401## -------------------- ##
2402## Main body of script. ##
2403## -------------------- ##
2404
2405ac_ext=c
2406ac_cpp='$CPP $CPPFLAGS'
2407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410
2411
2412
2413am__api_version='1.13'
2414
2415ac_aux_dir=
2416for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2417  if test -f "$ac_dir/install-sh"; then
2418    ac_aux_dir=$ac_dir
2419    ac_install_sh="$ac_aux_dir/install-sh -c"
2420    break
2421  elif test -f "$ac_dir/install.sh"; then
2422    ac_aux_dir=$ac_dir
2423    ac_install_sh="$ac_aux_dir/install.sh -c"
2424    break
2425  elif test -f "$ac_dir/shtool"; then
2426    ac_aux_dir=$ac_dir
2427    ac_install_sh="$ac_aux_dir/shtool install -c"
2428    break
2429  fi
2430done
2431if test -z "$ac_aux_dir"; then
2432  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2433fi
2434
2435# These three variables are undocumented and unsupported,
2436# and are intended to be withdrawn in a future Autoconf release.
2437# They can cause serious problems if a builder's source tree is in a directory
2438# whose full name contains unusual characters.
2439ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2440ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2441ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2442
2443
2444# Find a good install program.  We prefer a C program (faster),
2445# so one script is as good as another.  But avoid the broken or
2446# incompatible versions:
2447# SysV /etc/install, /usr/sbin/install
2448# SunOS /usr/etc/install
2449# IRIX /sbin/install
2450# AIX /bin/install
2451# AmigaOS /C/install, which installs bootblocks on floppy discs
2452# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455# OS/2's system install, which has a completely different semantic
2456# ./install, which can be erroneously created by make from ./install.sh.
2457# Reject install programs that cannot install multiple files.
2458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2459$as_echo_n "checking for a BSD-compatible install... " >&6; }
2460if test -z "$INSTALL"; then
2461if ${ac_cv_path_install+:} false; then :
2462  $as_echo_n "(cached) " >&6
2463else
2464  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465for as_dir in $PATH
2466do
2467  IFS=$as_save_IFS
2468  test -z "$as_dir" && as_dir=.
2469    # Account for people who put trailing slashes in PATH elements.
2470case $as_dir/ in #((
2471  ./ | .// | /[cC]/* | \
2472  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2473  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2474  /usr/ucb/* ) ;;
2475  *)
2476    # OSF1 and SCO ODT 3.0 have their own names for install.
2477    # Don't use installbsd from OSF since it installs stuff as root
2478    # by default.
2479    for ac_prog in ginstall scoinst install; do
2480      for ac_exec_ext in '' $ac_executable_extensions; do
2481	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2482	  if test $ac_prog = install &&
2483	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2484	    # AIX install.  It has an incompatible calling convention.
2485	    :
2486	  elif test $ac_prog = install &&
2487	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488	    # program-specific install script used by HP pwplus--don't use.
2489	    :
2490	  else
2491	    rm -rf conftest.one conftest.two conftest.dir
2492	    echo one > conftest.one
2493	    echo two > conftest.two
2494	    mkdir conftest.dir
2495	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2496	      test -s conftest.one && test -s conftest.two &&
2497	      test -s conftest.dir/conftest.one &&
2498	      test -s conftest.dir/conftest.two
2499	    then
2500	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2501	      break 3
2502	    fi
2503	  fi
2504	fi
2505      done
2506    done
2507    ;;
2508esac
2509
2510  done
2511IFS=$as_save_IFS
2512
2513rm -rf conftest.one conftest.two conftest.dir
2514
2515fi
2516  if test "${ac_cv_path_install+set}" = set; then
2517    INSTALL=$ac_cv_path_install
2518  else
2519    # As a last resort, use the slow shell script.  Don't cache a
2520    # value for INSTALL within a source directory, because that will
2521    # break other packages using the cache if that directory is
2522    # removed, or if the value is a relative name.
2523    INSTALL=$ac_install_sh
2524  fi
2525fi
2526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2527$as_echo "$INSTALL" >&6; }
2528
2529# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2530# It thinks the first close brace ends the variable substitution.
2531test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2532
2533test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2534
2535test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2536
2537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2538$as_echo_n "checking whether build environment is sane... " >&6; }
2539# Reject unsafe characters in $srcdir or the absolute working directory
2540# name.  Accept space and tab only in the latter.
2541am_lf='
2542'
2543case `pwd` in
2544  *[\\\"\#\$\&\'\`$am_lf]*)
2545    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2546esac
2547case $srcdir in
2548  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2549    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2550esac
2551
2552# Do 'set' in a subshell so we don't clobber the current shell's
2553# arguments.  Must try -L first in case configure is actually a
2554# symlink; some systems play weird games with the mod time of symlinks
2555# (eg FreeBSD returns the mod time of the symlink's containing
2556# directory).
2557if (
2558   am_has_slept=no
2559   for am_try in 1 2; do
2560     echo "timestamp, slept: $am_has_slept" > conftest.file
2561     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2562     if test "$*" = "X"; then
2563	# -L didn't work.
2564	set X `ls -t "$srcdir/configure" conftest.file`
2565     fi
2566     if test "$*" != "X $srcdir/configure conftest.file" \
2567	&& test "$*" != "X conftest.file $srcdir/configure"; then
2568
2569	# If neither matched, then we have a broken ls.  This can happen
2570	# if, for instance, CONFIG_SHELL is bash and it inherits a
2571	# broken ls alias from the environment.  This has actually
2572	# happened.  Such a system could not be considered "sane".
2573	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2574  alias in your environment" "$LINENO" 5
2575     fi
2576     if test "$2" = conftest.file || test $am_try -eq 2; then
2577       break
2578     fi
2579     # Just in case.
2580     sleep 1
2581     am_has_slept=yes
2582   done
2583   test "$2" = conftest.file
2584   )
2585then
2586   # Ok.
2587   :
2588else
2589   as_fn_error $? "newly created file is older than distributed files!
2590Check your system clock" "$LINENO" 5
2591fi
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2593$as_echo "yes" >&6; }
2594# If we didn't sleep, we still need to ensure time stamps of config.status and
2595# generated files are strictly newer.
2596am_sleep_pid=
2597if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2598  ( sleep 1 ) &
2599  am_sleep_pid=$!
2600fi
2601
2602rm -f conftest.file
2603
2604test "$program_prefix" != NONE &&
2605  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2606# Use a double $ so make ignores it.
2607test "$program_suffix" != NONE &&
2608  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2609# Double any \ or $.
2610# By default was `s,x,x', remove it if useless.
2611ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2612program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2613
2614# expand $ac_aux_dir to an absolute path
2615am_aux_dir=`cd $ac_aux_dir && pwd`
2616
2617if test x"${MISSING+set}" != xset; then
2618  case $am_aux_dir in
2619  *\ * | *\	*)
2620    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2621  *)
2622    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2623  esac
2624fi
2625# Use eval to expand $SHELL
2626if eval "$MISSING --is-lightweight"; then
2627  am_missing_run="$MISSING "
2628else
2629  am_missing_run=
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2631$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2632fi
2633
2634if test x"${install_sh}" != xset; then
2635  case $am_aux_dir in
2636  *\ * | *\	*)
2637    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2638  *)
2639    install_sh="\${SHELL} $am_aux_dir/install-sh"
2640  esac
2641fi
2642
2643# Installed binaries are usually stripped using 'strip' when the user
2644# run "make install-strip".  However 'strip' might not be the right
2645# tool to use in cross-compilation environments, therefore Automake
2646# will honor the 'STRIP' environment variable to overrule this program.
2647if test "$cross_compiling" != no; then
2648  if test -n "$ac_tool_prefix"; then
2649  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2650set dummy ${ac_tool_prefix}strip; ac_word=$2
2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652$as_echo_n "checking for $ac_word... " >&6; }
2653if ${ac_cv_prog_STRIP+:} false; then :
2654  $as_echo_n "(cached) " >&6
2655else
2656  if test -n "$STRIP"; then
2657  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2658else
2659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660for as_dir in $PATH
2661do
2662  IFS=$as_save_IFS
2663  test -z "$as_dir" && as_dir=.
2664    for ac_exec_ext in '' $ac_executable_extensions; do
2665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668    break 2
2669  fi
2670done
2671  done
2672IFS=$as_save_IFS
2673
2674fi
2675fi
2676STRIP=$ac_cv_prog_STRIP
2677if test -n "$STRIP"; then
2678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2679$as_echo "$STRIP" >&6; }
2680else
2681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682$as_echo "no" >&6; }
2683fi
2684
2685
2686fi
2687if test -z "$ac_cv_prog_STRIP"; then
2688  ac_ct_STRIP=$STRIP
2689  # Extract the first word of "strip", so it can be a program name with args.
2690set dummy strip; ac_word=$2
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692$as_echo_n "checking for $ac_word... " >&6; }
2693if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2694  $as_echo_n "(cached) " >&6
2695else
2696  if test -n "$ac_ct_STRIP"; then
2697  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2698else
2699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700for as_dir in $PATH
2701do
2702  IFS=$as_save_IFS
2703  test -z "$as_dir" && as_dir=.
2704    for ac_exec_ext in '' $ac_executable_extensions; do
2705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706    ac_cv_prog_ac_ct_STRIP="strip"
2707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708    break 2
2709  fi
2710done
2711  done
2712IFS=$as_save_IFS
2713
2714fi
2715fi
2716ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2717if test -n "$ac_ct_STRIP"; then
2718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2719$as_echo "$ac_ct_STRIP" >&6; }
2720else
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722$as_echo "no" >&6; }
2723fi
2724
2725  if test "x$ac_ct_STRIP" = x; then
2726    STRIP=":"
2727  else
2728    case $cross_compiling:$ac_tool_warned in
2729yes:)
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2731$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732ac_tool_warned=yes ;;
2733esac
2734    STRIP=$ac_ct_STRIP
2735  fi
2736else
2737  STRIP="$ac_cv_prog_STRIP"
2738fi
2739
2740fi
2741INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2742
2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2744$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2745if test -z "$MKDIR_P"; then
2746  if ${ac_cv_path_mkdir+:} false; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2751do
2752  IFS=$as_save_IFS
2753  test -z "$as_dir" && as_dir=.
2754    for ac_prog in mkdir gmkdir; do
2755	 for ac_exec_ext in '' $ac_executable_extensions; do
2756	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2757	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2758	     'mkdir (GNU coreutils) '* | \
2759	     'mkdir (coreutils) '* | \
2760	     'mkdir (fileutils) '4.1*)
2761	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2762	       break 3;;
2763	   esac
2764	 done
2765       done
2766  done
2767IFS=$as_save_IFS
2768
2769fi
2770
2771  test -d ./--version && rmdir ./--version
2772  if test "${ac_cv_path_mkdir+set}" = set; then
2773    MKDIR_P="$ac_cv_path_mkdir -p"
2774  else
2775    # As a last resort, use the slow shell script.  Don't cache a
2776    # value for MKDIR_P within a source directory, because that will
2777    # break other packages using the cache if that directory is
2778    # removed, or if the value is a relative name.
2779    MKDIR_P="$ac_install_sh -d"
2780  fi
2781fi
2782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2783$as_echo "$MKDIR_P" >&6; }
2784
2785for ac_prog in gawk mawk nawk awk
2786do
2787  # Extract the first word of "$ac_prog", so it can be a program name with args.
2788set dummy $ac_prog; ac_word=$2
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790$as_echo_n "checking for $ac_word... " >&6; }
2791if ${ac_cv_prog_AWK+:} false; then :
2792  $as_echo_n "(cached) " >&6
2793else
2794  if test -n "$AWK"; then
2795  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2796else
2797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798for as_dir in $PATH
2799do
2800  IFS=$as_save_IFS
2801  test -z "$as_dir" && as_dir=.
2802    for ac_exec_ext in '' $ac_executable_extensions; do
2803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804    ac_cv_prog_AWK="$ac_prog"
2805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806    break 2
2807  fi
2808done
2809  done
2810IFS=$as_save_IFS
2811
2812fi
2813fi
2814AWK=$ac_cv_prog_AWK
2815if test -n "$AWK"; then
2816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2817$as_echo "$AWK" >&6; }
2818else
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820$as_echo "no" >&6; }
2821fi
2822
2823
2824  test -n "$AWK" && break
2825done
2826
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2828$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2829set x ${MAKE-make}
2830ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2831if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2832  $as_echo_n "(cached) " >&6
2833else
2834  cat >conftest.make <<\_ACEOF
2835SHELL = /bin/sh
2836all:
2837	@echo '@@@%%%=$(MAKE)=@@@%%%'
2838_ACEOF
2839# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2840case `${MAKE-make} -f conftest.make 2>/dev/null` in
2841  *@@@%%%=?*=@@@%%%*)
2842    eval ac_cv_prog_make_${ac_make}_set=yes;;
2843  *)
2844    eval ac_cv_prog_make_${ac_make}_set=no;;
2845esac
2846rm -f conftest.make
2847fi
2848if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850$as_echo "yes" >&6; }
2851  SET_MAKE=
2852else
2853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854$as_echo "no" >&6; }
2855  SET_MAKE="MAKE=${MAKE-make}"
2856fi
2857
2858rm -rf .tst 2>/dev/null
2859mkdir .tst 2>/dev/null
2860if test -d .tst; then
2861  am__leading_dot=.
2862else
2863  am__leading_dot=_
2864fi
2865rmdir .tst 2>/dev/null
2866
2867# Check whether --enable-silent-rules was given.
2868if test "${enable_silent_rules+set}" = set; then :
2869  enableval=$enable_silent_rules;
2870fi
2871
2872case $enable_silent_rules in # (((
2873  yes) AM_DEFAULT_VERBOSITY=0;;
2874   no) AM_DEFAULT_VERBOSITY=1;;
2875    *) AM_DEFAULT_VERBOSITY=1;;
2876esac
2877am_make=${MAKE-make}
2878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2879$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2880if ${am_cv_make_support_nested_variables+:} false; then :
2881  $as_echo_n "(cached) " >&6
2882else
2883  if $as_echo 'TRUE=$(BAR$(V))
2884BAR0=false
2885BAR1=true
2886V=1
2887am__doit:
2888	@$(TRUE)
2889.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2890  am_cv_make_support_nested_variables=yes
2891else
2892  am_cv_make_support_nested_variables=no
2893fi
2894fi
2895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2896$as_echo "$am_cv_make_support_nested_variables" >&6; }
2897if test $am_cv_make_support_nested_variables = yes; then
2898    AM_V='$(V)'
2899  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2900else
2901  AM_V=$AM_DEFAULT_VERBOSITY
2902  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2903fi
2904AM_BACKSLASH='\'
2905
2906if test "`cd $srcdir && pwd`" != "`pwd`"; then
2907  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2908  # is not polluted with repeated "-I."
2909  am__isrc=' -I$(srcdir)'
2910  # test to see if srcdir already configured
2911  if test -f $srcdir/config.status; then
2912    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2913  fi
2914fi
2915
2916# test whether we have cygpath
2917if test -z "$CYGPATH_W"; then
2918  if (cygpath --version) >/dev/null 2>/dev/null; then
2919    CYGPATH_W='cygpath -w'
2920  else
2921    CYGPATH_W=echo
2922  fi
2923fi
2924
2925
2926# Define the identity of the package.
2927 PACKAGE='libgnome-keyring'
2928 VERSION='3.12.0'
2929
2930
2931cat >>confdefs.h <<_ACEOF
2932#define PACKAGE "$PACKAGE"
2933_ACEOF
2934
2935
2936cat >>confdefs.h <<_ACEOF
2937#define VERSION "$VERSION"
2938_ACEOF
2939
2940# Some tools Automake needs.
2941
2942ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2943
2944
2945AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2946
2947
2948AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2949
2950
2951AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2952
2953
2954MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2955
2956# For better backward compatibility.  To be removed once Automake 1.9.x
2957# dies out for good.  For more background, see:
2958# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2959# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2960mkdir_p='$(MKDIR_P)'
2961
2962# We need awk for the "check" target.  The system "awk" is bad on
2963# some platforms.
2964# Always define AMTAR for backward compatibility.  Yes, it's still used
2965# in the wild :-(  We should find a proper way to deprecate it ...
2966AMTAR='$${TAR-tar}'
2967
2968
2969# We'll loop over all known methods to create a tar archive until one works.
2970_am_tools='gnutar plaintar pax cpio none'
2971
2972# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2973      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2974      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2975      # and bug#13588).
2976      am_max_uid=2097151 # 2^21 - 1
2977      am_max_gid=$am_max_uid
2978      # The $UID and $GID variables are not portable, so we need to resort
2979      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2980      # below are definitely unexpected, so allow the users to see them
2981      # (that is, avoid stderr redirection).
2982      am_uid=`id -u || echo unknown`
2983      am_gid=`id -g || echo unknown`
2984      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2985$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2986      if test $am_uid -le $am_max_uid; then
2987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2988$as_echo "yes" >&6; }
2989      else
2990         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991$as_echo "no" >&6; }
2992         _am_tools=none
2993      fi
2994      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2995$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2996      if test $am_gid -le $am_max_gid; then
2997         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998$as_echo "yes" >&6; }
2999      else
3000        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001$as_echo "no" >&6; }
3002        _am_tools=none
3003      fi
3004
3005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3006$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3007
3008  # Go ahead even if we have the value already cached.  We do so because we
3009  # need to set the values for the 'am__tar' and 'am__untar' variables.
3010  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3011
3012  for _am_tool in $_am_tools; do
3013    case $_am_tool in
3014    gnutar)
3015      for _am_tar in tar gnutar gtar; do
3016        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3017   ($_am_tar --version) >&5 2>&5
3018   ac_status=$?
3019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020   (exit $ac_status); } && break
3021      done
3022      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3023      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3024      am__untar="$_am_tar -xf -"
3025      ;;
3026    plaintar)
3027      # Must skip GNU tar: if it does not support --format= it doesn't create
3028      # ustar tarball either.
3029      (tar --version) >/dev/null 2>&1 && continue
3030      am__tar='tar chf - "$$tardir"'
3031      am__tar_='tar chf - "$tardir"'
3032      am__untar='tar xf -'
3033      ;;
3034    pax)
3035      am__tar='pax -L -x ustar -w "$$tardir"'
3036      am__tar_='pax -L -x ustar -w "$tardir"'
3037      am__untar='pax -r'
3038      ;;
3039    cpio)
3040      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3041      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3042      am__untar='cpio -i -H ustar -d'
3043      ;;
3044    none)
3045      am__tar=false
3046      am__tar_=false
3047      am__untar=false
3048      ;;
3049    esac
3050
3051    # If the value was cached, stop now.  We just wanted to have am__tar
3052    # and am__untar set.
3053    test -n "${am_cv_prog_tar_ustar}" && break
3054
3055    # tar/untar a dummy directory, and stop if the command works.
3056    rm -rf conftest.dir
3057    mkdir conftest.dir
3058    echo GrepMe > conftest.dir/file
3059    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3060   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3061   ac_status=$?
3062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063   (exit $ac_status); }
3064    rm -rf conftest.dir
3065    if test -s conftest.tar; then
3066      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3067   ($am__untar <conftest.tar) >&5 2>&5
3068   ac_status=$?
3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070   (exit $ac_status); }
3071      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3072   (cat conftest.dir/file) >&5 2>&5
3073   ac_status=$?
3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075   (exit $ac_status); }
3076      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3077    fi
3078  done
3079  rm -rf conftest.dir
3080
3081  if ${am_cv_prog_tar_ustar+:} false; then :
3082  $as_echo_n "(cached) " >&6
3083else
3084  am_cv_prog_tar_ustar=$_am_tool
3085fi
3086
3087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3088$as_echo "$am_cv_prog_tar_ustar" >&6; }
3089
3090
3091
3092
3093
3094
3095
3096
3097ac_config_headers="$ac_config_headers config.h"
3098
3099# Check whether --enable-silent-rules was given.
3100if test "${enable_silent_rules+set}" = set; then :
3101  enableval=$enable_silent_rules;
3102fi
3103
3104case $enable_silent_rules in # (((
3105  yes) AM_DEFAULT_VERBOSITY=0;;
3106   no) AM_DEFAULT_VERBOSITY=1;;
3107    *) AM_DEFAULT_VERBOSITY=0;;
3108esac
3109am_make=${MAKE-make}
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3111$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3112if ${am_cv_make_support_nested_variables+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if $as_echo 'TRUE=$(BAR$(V))
3116BAR0=false
3117BAR1=true
3118V=1
3119am__doit:
3120	@$(TRUE)
3121.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3122  am_cv_make_support_nested_variables=yes
3123else
3124  am_cv_make_support_nested_variables=no
3125fi
3126fi
3127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3128$as_echo "$am_cv_make_support_nested_variables" >&6; }
3129if test $am_cv_make_support_nested_variables = yes; then
3130    AM_V='$(V)'
3131  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3132else
3133  AM_V=$AM_DEFAULT_VERBOSITY
3134  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3135fi
3136AM_BACKSLASH='\'
3137
3138
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3140$as_echo_n "checking whether build environment is sane... " >&6; }
3141# Reject unsafe characters in $srcdir or the absolute working directory
3142# name.  Accept space and tab only in the latter.
3143am_lf='
3144'
3145case `pwd` in
3146  *[\\\"\#\$\&\'\`$am_lf]*)
3147    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3148esac
3149case $srcdir in
3150  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3151    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3152esac
3153
3154# Do 'set' in a subshell so we don't clobber the current shell's
3155# arguments.  Must try -L first in case configure is actually a
3156# symlink; some systems play weird games with the mod time of symlinks
3157# (eg FreeBSD returns the mod time of the symlink's containing
3158# directory).
3159if (
3160   am_has_slept=no
3161   for am_try in 1 2; do
3162     echo "timestamp, slept: $am_has_slept" > conftest.file
3163     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3164     if test "$*" = "X"; then
3165	# -L didn't work.
3166	set X `ls -t "$srcdir/configure" conftest.file`
3167     fi
3168     if test "$*" != "X $srcdir/configure conftest.file" \
3169	&& test "$*" != "X conftest.file $srcdir/configure"; then
3170
3171	# If neither matched, then we have a broken ls.  This can happen
3172	# if, for instance, CONFIG_SHELL is bash and it inherits a
3173	# broken ls alias from the environment.  This has actually
3174	# happened.  Such a system could not be considered "sane".
3175	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3176  alias in your environment" "$LINENO" 5
3177     fi
3178     if test "$2" = conftest.file || test $am_try -eq 2; then
3179       break
3180     fi
3181     # Just in case.
3182     sleep 1
3183     am_has_slept=yes
3184   done
3185   test "$2" = conftest.file
3186   )
3187then
3188   # Ok.
3189   :
3190else
3191   as_fn_error $? "newly created file is older than distributed files!
3192Check your system clock" "$LINENO" 5
3193fi
3194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195$as_echo "yes" >&6; }
3196# If we didn't sleep, we still need to ensure time stamps of config.status and
3197# generated files are strictly newer.
3198am_sleep_pid=
3199if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3200  ( sleep 1 ) &
3201  am_sleep_pid=$!
3202fi
3203
3204rm -f conftest.file
3205
3206
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3208$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3209    # Check whether --enable-maintainer-mode was given.
3210if test "${enable_maintainer_mode+set}" = set; then :
3211  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3212else
3213  USE_MAINTAINER_MODE=yes
3214fi
3215
3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3217$as_echo "$USE_MAINTAINER_MODE" >&6; }
3218   if test $USE_MAINTAINER_MODE = yes; then
3219  MAINTAINER_MODE_TRUE=
3220  MAINTAINER_MODE_FALSE='#'
3221else
3222  MAINTAINER_MODE_TRUE='#'
3223  MAINTAINER_MODE_FALSE=
3224fi
3225
3226  MAINT=$MAINTAINER_MODE_TRUE
3227
3228
3229
3230DEPDIR="${am__leading_dot}deps"
3231
3232ac_config_commands="$ac_config_commands depfiles"
3233
3234
3235am_make=${MAKE-make}
3236cat > confinc << 'END'
3237am__doit:
3238	@echo this is the am__doit target
3239.PHONY: am__doit
3240END
3241# If we don't find an include directive, just comment out the code.
3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3243$as_echo_n "checking for style of include used by $am_make... " >&6; }
3244am__include="#"
3245am__quote=
3246_am_result=none
3247# First try GNU make style include.
3248echo "include confinc" > confmf
3249# Ignore all kinds of additional output from 'make'.
3250case `$am_make -s -f confmf 2> /dev/null` in #(
3251*the\ am__doit\ target*)
3252  am__include=include
3253  am__quote=
3254  _am_result=GNU
3255  ;;
3256esac
3257# Now try BSD make style include.
3258if test "$am__include" = "#"; then
3259   echo '.include "confinc"' > confmf
3260   case `$am_make -s -f confmf 2> /dev/null` in #(
3261   *the\ am__doit\ target*)
3262     am__include=.include
3263     am__quote="\""
3264     _am_result=BSD
3265     ;;
3266   esac
3267fi
3268
3269
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3271$as_echo "$_am_result" >&6; }
3272rm -f confinc confmf
3273
3274# Check whether --enable-dependency-tracking was given.
3275if test "${enable_dependency_tracking+set}" = set; then :
3276  enableval=$enable_dependency_tracking;
3277fi
3278
3279if test "x$enable_dependency_tracking" != xno; then
3280  am_depcomp="$ac_aux_dir/depcomp"
3281  AMDEPBACKSLASH='\'
3282  am__nodep='_no'
3283fi
3284 if test "x$enable_dependency_tracking" != xno; then
3285  AMDEP_TRUE=
3286  AMDEP_FALSE='#'
3287else
3288  AMDEP_TRUE='#'
3289  AMDEP_FALSE=
3290fi
3291
3292
3293ac_ext=c
3294ac_cpp='$CPP $CPPFLAGS'
3295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298if test -n "$ac_tool_prefix"; then
3299  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3300set dummy ${ac_tool_prefix}gcc; ac_word=$2
3301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302$as_echo_n "checking for $ac_word... " >&6; }
3303if ${ac_cv_prog_CC+:} false; then :
3304  $as_echo_n "(cached) " >&6
3305else
3306  if test -n "$CC"; then
3307  ac_cv_prog_CC="$CC" # Let the user override the test.
3308else
3309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310for as_dir in $PATH
3311do
3312  IFS=$as_save_IFS
3313  test -z "$as_dir" && as_dir=.
3314    for ac_exec_ext in '' $ac_executable_extensions; do
3315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318    break 2
3319  fi
3320done
3321  done
3322IFS=$as_save_IFS
3323
3324fi
3325fi
3326CC=$ac_cv_prog_CC
3327if test -n "$CC"; then
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3329$as_echo "$CC" >&6; }
3330else
3331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332$as_echo "no" >&6; }
3333fi
3334
3335
3336fi
3337if test -z "$ac_cv_prog_CC"; then
3338  ac_ct_CC=$CC
3339  # Extract the first word of "gcc", so it can be a program name with args.
3340set dummy gcc; ac_word=$2
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342$as_echo_n "checking for $ac_word... " >&6; }
3343if ${ac_cv_prog_ac_ct_CC+:} false; then :
3344  $as_echo_n "(cached) " >&6
3345else
3346  if test -n "$ac_ct_CC"; then
3347  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3348else
3349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350for as_dir in $PATH
3351do
3352  IFS=$as_save_IFS
3353  test -z "$as_dir" && as_dir=.
3354    for ac_exec_ext in '' $ac_executable_extensions; do
3355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356    ac_cv_prog_ac_ct_CC="gcc"
3357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3358    break 2
3359  fi
3360done
3361  done
3362IFS=$as_save_IFS
3363
3364fi
3365fi
3366ac_ct_CC=$ac_cv_prog_ac_ct_CC
3367if test -n "$ac_ct_CC"; then
3368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3369$as_echo "$ac_ct_CC" >&6; }
3370else
3371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372$as_echo "no" >&6; }
3373fi
3374
3375  if test "x$ac_ct_CC" = x; then
3376    CC=""
3377  else
3378    case $cross_compiling:$ac_tool_warned in
3379yes:)
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3382ac_tool_warned=yes ;;
3383esac
3384    CC=$ac_ct_CC
3385  fi
3386else
3387  CC="$ac_cv_prog_CC"
3388fi
3389
3390if test -z "$CC"; then
3391          if test -n "$ac_tool_prefix"; then
3392    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3393set dummy ${ac_tool_prefix}cc; ac_word=$2
3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395$as_echo_n "checking for $ac_word... " >&6; }
3396if ${ac_cv_prog_CC+:} false; then :
3397  $as_echo_n "(cached) " >&6
3398else
3399  if test -n "$CC"; then
3400  ac_cv_prog_CC="$CC" # Let the user override the test.
3401else
3402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403for as_dir in $PATH
3404do
3405  IFS=$as_save_IFS
3406  test -z "$as_dir" && as_dir=.
3407    for ac_exec_ext in '' $ac_executable_extensions; do
3408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409    ac_cv_prog_CC="${ac_tool_prefix}cc"
3410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411    break 2
3412  fi
3413done
3414  done
3415IFS=$as_save_IFS
3416
3417fi
3418fi
3419CC=$ac_cv_prog_CC
3420if test -n "$CC"; then
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3422$as_echo "$CC" >&6; }
3423else
3424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425$as_echo "no" >&6; }
3426fi
3427
3428
3429  fi
3430fi
3431if test -z "$CC"; then
3432  # Extract the first word of "cc", so it can be a program name with args.
3433set dummy cc; ac_word=$2
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435$as_echo_n "checking for $ac_word... " >&6; }
3436if ${ac_cv_prog_CC+:} false; then :
3437  $as_echo_n "(cached) " >&6
3438else
3439  if test -n "$CC"; then
3440  ac_cv_prog_CC="$CC" # Let the user override the test.
3441else
3442  ac_prog_rejected=no
3443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444for as_dir in $PATH
3445do
3446  IFS=$as_save_IFS
3447  test -z "$as_dir" && as_dir=.
3448    for ac_exec_ext in '' $ac_executable_extensions; do
3449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3451       ac_prog_rejected=yes
3452       continue
3453     fi
3454    ac_cv_prog_CC="cc"
3455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459  done
3460IFS=$as_save_IFS
3461
3462if test $ac_prog_rejected = yes; then
3463  # We found a bogon in the path, so make sure we never use it.
3464  set dummy $ac_cv_prog_CC
3465  shift
3466  if test $# != 0; then
3467    # We chose a different compiler from the bogus one.
3468    # However, it has the same basename, so the bogon will be chosen
3469    # first if we set CC to just the basename; use the full file name.
3470    shift
3471    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3472  fi
3473fi
3474fi
3475fi
3476CC=$ac_cv_prog_CC
3477if test -n "$CC"; then
3478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3479$as_echo "$CC" >&6; }
3480else
3481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482$as_echo "no" >&6; }
3483fi
3484
3485
3486fi
3487if test -z "$CC"; then
3488  if test -n "$ac_tool_prefix"; then
3489  for ac_prog in cl.exe
3490  do
3491    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3492set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494$as_echo_n "checking for $ac_word... " >&6; }
3495if ${ac_cv_prog_CC+:} false; then :
3496  $as_echo_n "(cached) " >&6
3497else
3498  if test -n "$CC"; then
3499  ac_cv_prog_CC="$CC" # Let the user override the test.
3500else
3501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502for as_dir in $PATH
3503do
3504  IFS=$as_save_IFS
3505  test -z "$as_dir" && as_dir=.
3506    for ac_exec_ext in '' $ac_executable_extensions; do
3507  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3508    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3509    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510    break 2
3511  fi
3512done
3513  done
3514IFS=$as_save_IFS
3515
3516fi
3517fi
3518CC=$ac_cv_prog_CC
3519if test -n "$CC"; then
3520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521$as_echo "$CC" >&6; }
3522else
3523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524$as_echo "no" >&6; }
3525fi
3526
3527
3528    test -n "$CC" && break
3529  done
3530fi
3531if test -z "$CC"; then
3532  ac_ct_CC=$CC
3533  for ac_prog in cl.exe
3534do
3535  # Extract the first word of "$ac_prog", so it can be a program name with args.
3536set dummy $ac_prog; ac_word=$2
3537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538$as_echo_n "checking for $ac_word... " >&6; }
3539if ${ac_cv_prog_ac_ct_CC+:} false; then :
3540  $as_echo_n "(cached) " >&6
3541else
3542  if test -n "$ac_ct_CC"; then
3543  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3544else
3545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546for as_dir in $PATH
3547do
3548  IFS=$as_save_IFS
3549  test -z "$as_dir" && as_dir=.
3550    for ac_exec_ext in '' $ac_executable_extensions; do
3551  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552    ac_cv_prog_ac_ct_CC="$ac_prog"
3553    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554    break 2
3555  fi
3556done
3557  done
3558IFS=$as_save_IFS
3559
3560fi
3561fi
3562ac_ct_CC=$ac_cv_prog_ac_ct_CC
3563if test -n "$ac_ct_CC"; then
3564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3565$as_echo "$ac_ct_CC" >&6; }
3566else
3567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568$as_echo "no" >&6; }
3569fi
3570
3571
3572  test -n "$ac_ct_CC" && break
3573done
3574
3575  if test "x$ac_ct_CC" = x; then
3576    CC=""
3577  else
3578    case $cross_compiling:$ac_tool_warned in
3579yes:)
3580{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3581$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3582ac_tool_warned=yes ;;
3583esac
3584    CC=$ac_ct_CC
3585  fi
3586fi
3587
3588fi
3589
3590
3591test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593as_fn_error $? "no acceptable C compiler found in \$PATH
3594See \`config.log' for more details" "$LINENO" 5; }
3595
3596# Provide some information about the compiler.
3597$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3598set X $ac_compile
3599ac_compiler=$2
3600for ac_option in --version -v -V -qversion; do
3601  { { ac_try="$ac_compiler $ac_option >&5"
3602case "(($ac_try" in
3603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604  *) ac_try_echo=$ac_try;;
3605esac
3606eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607$as_echo "$ac_try_echo"; } >&5
3608  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3609  ac_status=$?
3610  if test -s conftest.err; then
3611    sed '10a\
3612... rest of stderr output deleted ...
3613         10q' conftest.err >conftest.er1
3614    cat conftest.er1 >&5
3615  fi
3616  rm -f conftest.er1 conftest.err
3617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618  test $ac_status = 0; }
3619done
3620
3621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622/* end confdefs.h.  */
3623
3624int
3625main ()
3626{
3627
3628  ;
3629  return 0;
3630}
3631_ACEOF
3632ac_clean_files_save=$ac_clean_files
3633ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3634# Try to create an executable without -o first, disregard a.out.
3635# It will help us diagnose broken compilers, and finding out an intuition
3636# of exeext.
3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3638$as_echo_n "checking whether the C compiler works... " >&6; }
3639ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3640
3641# The possible output files:
3642ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3643
3644ac_rmfiles=
3645for ac_file in $ac_files
3646do
3647  case $ac_file in
3648    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3650  esac
3651done
3652rm -f $ac_rmfiles
3653
3654if { { ac_try="$ac_link_default"
3655case "(($ac_try" in
3656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657  *) ac_try_echo=$ac_try;;
3658esac
3659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660$as_echo "$ac_try_echo"; } >&5
3661  (eval "$ac_link_default") 2>&5
3662  ac_status=$?
3663  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664  test $ac_status = 0; }; then :
3665  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3666# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3667# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3668# so that the user can short-circuit this test for compilers unknown to
3669# Autoconf.
3670for ac_file in $ac_files ''
3671do
3672  test -f "$ac_file" || continue
3673  case $ac_file in
3674    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3675	;;
3676    [ab].out )
3677	# We found the default executable, but exeext='' is most
3678	# certainly right.
3679	break;;
3680    *.* )
3681	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3682	then :; else
3683	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3684	fi
3685	# We set ac_cv_exeext here because the later test for it is not
3686	# safe: cross compilers may not add the suffix if given an `-o'
3687	# argument, so we may need to know it at that point already.
3688	# Even if this section looks crufty: it has the advantage of
3689	# actually working.
3690	break;;
3691    * )
3692	break;;
3693  esac
3694done
3695test "$ac_cv_exeext" = no && ac_cv_exeext=
3696
3697else
3698  ac_file=''
3699fi
3700if test -z "$ac_file"; then :
3701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702$as_echo "no" >&6; }
3703$as_echo "$as_me: failed program was:" >&5
3704sed 's/^/| /' conftest.$ac_ext >&5
3705
3706{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708as_fn_error 77 "C compiler cannot create executables
3709See \`config.log' for more details" "$LINENO" 5; }
3710else
3711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712$as_echo "yes" >&6; }
3713fi
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3715$as_echo_n "checking for C compiler default output file name... " >&6; }
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3717$as_echo "$ac_file" >&6; }
3718ac_exeext=$ac_cv_exeext
3719
3720rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3721ac_clean_files=$ac_clean_files_save
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3723$as_echo_n "checking for suffix of executables... " >&6; }
3724if { { ac_try="$ac_link"
3725case "(($ac_try" in
3726  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727  *) ac_try_echo=$ac_try;;
3728esac
3729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730$as_echo "$ac_try_echo"; } >&5
3731  (eval "$ac_link") 2>&5
3732  ac_status=$?
3733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734  test $ac_status = 0; }; then :
3735  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3736# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3737# work properly (i.e., refer to `conftest.exe'), while it won't with
3738# `rm'.
3739for ac_file in conftest.exe conftest conftest.*; do
3740  test -f "$ac_file" || continue
3741  case $ac_file in
3742    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3743    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3744	  break;;
3745    * ) break;;
3746  esac
3747done
3748else
3749  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3751as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3752See \`config.log' for more details" "$LINENO" 5; }
3753fi
3754rm -f conftest conftest$ac_cv_exeext
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3756$as_echo "$ac_cv_exeext" >&6; }
3757
3758rm -f conftest.$ac_ext
3759EXEEXT=$ac_cv_exeext
3760ac_exeext=$EXEEXT
3761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762/* end confdefs.h.  */
3763#include <stdio.h>
3764int
3765main ()
3766{
3767FILE *f = fopen ("conftest.out", "w");
3768 return ferror (f) || fclose (f) != 0;
3769
3770  ;
3771  return 0;
3772}
3773_ACEOF
3774ac_clean_files="$ac_clean_files conftest.out"
3775# Check that the compiler produces executables we can run.  If not, either
3776# the compiler is broken, or we cross compile.
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3778$as_echo_n "checking whether we are cross compiling... " >&6; }
3779if test "$cross_compiling" != yes; then
3780  { { ac_try="$ac_link"
3781case "(($ac_try" in
3782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783  *) ac_try_echo=$ac_try;;
3784esac
3785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3786$as_echo "$ac_try_echo"; } >&5
3787  (eval "$ac_link") 2>&5
3788  ac_status=$?
3789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3790  test $ac_status = 0; }
3791  if { ac_try='./conftest$ac_cv_exeext'
3792  { { case "(($ac_try" in
3793  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794  *) ac_try_echo=$ac_try;;
3795esac
3796eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3797$as_echo "$ac_try_echo"; } >&5
3798  (eval "$ac_try") 2>&5
3799  ac_status=$?
3800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3801  test $ac_status = 0; }; }; then
3802    cross_compiling=no
3803  else
3804    if test "$cross_compiling" = maybe; then
3805	cross_compiling=yes
3806    else
3807	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809as_fn_error $? "cannot run C compiled programs.
3810If you meant to cross compile, use \`--host'.
3811See \`config.log' for more details" "$LINENO" 5; }
3812    fi
3813  fi
3814fi
3815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3816$as_echo "$cross_compiling" >&6; }
3817
3818rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3819ac_clean_files=$ac_clean_files_save
3820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3821$as_echo_n "checking for suffix of object files... " >&6; }
3822if ${ac_cv_objext+:} false; then :
3823  $as_echo_n "(cached) " >&6
3824else
3825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826/* end confdefs.h.  */
3827
3828int
3829main ()
3830{
3831
3832  ;
3833  return 0;
3834}
3835_ACEOF
3836rm -f conftest.o conftest.obj
3837if { { ac_try="$ac_compile"
3838case "(($ac_try" in
3839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840  *) ac_try_echo=$ac_try;;
3841esac
3842eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843$as_echo "$ac_try_echo"; } >&5
3844  (eval "$ac_compile") 2>&5
3845  ac_status=$?
3846  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3847  test $ac_status = 0; }; then :
3848  for ac_file in conftest.o conftest.obj conftest.*; do
3849  test -f "$ac_file" || continue;
3850  case $ac_file in
3851    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3852    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853       break;;
3854  esac
3855done
3856else
3857  $as_echo "$as_me: failed program was:" >&5
3858sed 's/^/| /' conftest.$ac_ext >&5
3859
3860{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862as_fn_error $? "cannot compute suffix of object files: cannot compile
3863See \`config.log' for more details" "$LINENO" 5; }
3864fi
3865rm -f conftest.$ac_cv_objext conftest.$ac_ext
3866fi
3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3868$as_echo "$ac_cv_objext" >&6; }
3869OBJEXT=$ac_cv_objext
3870ac_objext=$OBJEXT
3871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3872$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3873if ${ac_cv_c_compiler_gnu+:} false; then :
3874  $as_echo_n "(cached) " >&6
3875else
3876  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877/* end confdefs.h.  */
3878
3879int
3880main ()
3881{
3882#ifndef __GNUC__
3883       choke me
3884#endif
3885
3886  ;
3887  return 0;
3888}
3889_ACEOF
3890if ac_fn_c_try_compile "$LINENO"; then :
3891  ac_compiler_gnu=yes
3892else
3893  ac_compiler_gnu=no
3894fi
3895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896ac_cv_c_compiler_gnu=$ac_compiler_gnu
3897
3898fi
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3900$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3901if test $ac_compiler_gnu = yes; then
3902  GCC=yes
3903else
3904  GCC=
3905fi
3906ac_test_CFLAGS=${CFLAGS+set}
3907ac_save_CFLAGS=$CFLAGS
3908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3909$as_echo_n "checking whether $CC accepts -g... " >&6; }
3910if ${ac_cv_prog_cc_g+:} false; then :
3911  $as_echo_n "(cached) " >&6
3912else
3913  ac_save_c_werror_flag=$ac_c_werror_flag
3914   ac_c_werror_flag=yes
3915   ac_cv_prog_cc_g=no
3916   CFLAGS="-g"
3917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918/* end confdefs.h.  */
3919
3920int
3921main ()
3922{
3923
3924  ;
3925  return 0;
3926}
3927_ACEOF
3928if ac_fn_c_try_compile "$LINENO"; then :
3929  ac_cv_prog_cc_g=yes
3930else
3931  CFLAGS=""
3932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933/* end confdefs.h.  */
3934
3935int
3936main ()
3937{
3938
3939  ;
3940  return 0;
3941}
3942_ACEOF
3943if ac_fn_c_try_compile "$LINENO"; then :
3944
3945else
3946  ac_c_werror_flag=$ac_save_c_werror_flag
3947	 CFLAGS="-g"
3948	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949/* end confdefs.h.  */
3950
3951int
3952main ()
3953{
3954
3955  ;
3956  return 0;
3957}
3958_ACEOF
3959if ac_fn_c_try_compile "$LINENO"; then :
3960  ac_cv_prog_cc_g=yes
3961fi
3962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963fi
3964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965fi
3966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967   ac_c_werror_flag=$ac_save_c_werror_flag
3968fi
3969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3970$as_echo "$ac_cv_prog_cc_g" >&6; }
3971if test "$ac_test_CFLAGS" = set; then
3972  CFLAGS=$ac_save_CFLAGS
3973elif test $ac_cv_prog_cc_g = yes; then
3974  if test "$GCC" = yes; then
3975    CFLAGS="-g -O2"
3976  else
3977    CFLAGS="-g"
3978  fi
3979else
3980  if test "$GCC" = yes; then
3981    CFLAGS="-O2"
3982  else
3983    CFLAGS=
3984  fi
3985fi
3986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3987$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3988if ${ac_cv_prog_cc_c89+:} false; then :
3989  $as_echo_n "(cached) " >&6
3990else
3991  ac_cv_prog_cc_c89=no
3992ac_save_CC=$CC
3993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994/* end confdefs.h.  */
3995#include <stdarg.h>
3996#include <stdio.h>
3997struct stat;
3998/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3999struct buf { int x; };
4000FILE * (*rcsopen) (struct buf *, struct stat *, int);
4001static char *e (p, i)
4002     char **p;
4003     int i;
4004{
4005  return p[i];
4006}
4007static char *f (char * (*g) (char **, int), char **p, ...)
4008{
4009  char *s;
4010  va_list v;
4011  va_start (v,p);
4012  s = g (p, va_arg (v,int));
4013  va_end (v);
4014  return s;
4015}
4016
4017/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4018   function prototypes and stuff, but not '\xHH' hex character constants.
4019   These don't provoke an error unfortunately, instead are silently treated
4020   as 'x'.  The following induces an error, until -std is added to get
4021   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4022   array size at least.  It's necessary to write '\x00'==0 to get something
4023   that's true only with -std.  */
4024int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4025
4026/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4027   inside strings and character constants.  */
4028#define FOO(x) 'x'
4029int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4030
4031int test (int i, double x);
4032struct s1 {int (*f) (int a);};
4033struct s2 {int (*f) (double a);};
4034int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4035int argc;
4036char **argv;
4037int
4038main ()
4039{
4040return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4041  ;
4042  return 0;
4043}
4044_ACEOF
4045for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4046	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4047do
4048  CC="$ac_save_CC $ac_arg"
4049  if ac_fn_c_try_compile "$LINENO"; then :
4050  ac_cv_prog_cc_c89=$ac_arg
4051fi
4052rm -f core conftest.err conftest.$ac_objext
4053  test "x$ac_cv_prog_cc_c89" != "xno" && break
4054done
4055rm -f conftest.$ac_ext
4056CC=$ac_save_CC
4057
4058fi
4059# AC_CACHE_VAL
4060case "x$ac_cv_prog_cc_c89" in
4061  x)
4062    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4063$as_echo "none needed" >&6; } ;;
4064  xno)
4065    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4066$as_echo "unsupported" >&6; } ;;
4067  *)
4068    CC="$CC $ac_cv_prog_cc_c89"
4069    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4070$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4071esac
4072if test "x$ac_cv_prog_cc_c89" != xno; then :
4073
4074fi
4075
4076ac_ext=c
4077ac_cpp='$CPP $CPPFLAGS'
4078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081
4082depcc="$CC"   am_compiler_list=
4083
4084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4085$as_echo_n "checking dependency style of $depcc... " >&6; }
4086if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4087  $as_echo_n "(cached) " >&6
4088else
4089  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4090  # We make a subdir and do the tests there.  Otherwise we can end up
4091  # making bogus files that we don't know about and never remove.  For
4092  # instance it was reported that on HP-UX the gcc test will end up
4093  # making a dummy file named 'D' -- because '-MD' means "put the output
4094  # in D".
4095  rm -rf conftest.dir
4096  mkdir conftest.dir
4097  # Copy depcomp to subdir because otherwise we won't find it if we're
4098  # using a relative directory.
4099  cp "$am_depcomp" conftest.dir
4100  cd conftest.dir
4101  # We will build objects and dependencies in a subdirectory because
4102  # it helps to detect inapplicable dependency modes.  For instance
4103  # both Tru64's cc and ICC support -MD to output dependencies as a
4104  # side effect of compilation, but ICC will put the dependencies in
4105  # the current directory while Tru64 will put them in the object
4106  # directory.
4107  mkdir sub
4108
4109  am_cv_CC_dependencies_compiler_type=none
4110  if test "$am_compiler_list" = ""; then
4111     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4112  fi
4113  am__universal=false
4114  case " $depcc " in #(
4115     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4116     esac
4117
4118  for depmode in $am_compiler_list; do
4119    # Setup a source with many dependencies, because some compilers
4120    # like to wrap large dependency lists on column 80 (with \), and
4121    # we should not choose a depcomp mode which is confused by this.
4122    #
4123    # We need to recreate these files for each test, as the compiler may
4124    # overwrite some of them when testing with obscure command lines.
4125    # This happens at least with the AIX C compiler.
4126    : > sub/conftest.c
4127    for i in 1 2 3 4 5 6; do
4128      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4129      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4130      # Solaris 10 /bin/sh.
4131      echo '/* dummy */' > sub/conftst$i.h
4132    done
4133    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4134
4135    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4136    # mode.  It turns out that the SunPro C++ compiler does not properly
4137    # handle '-M -o', and we need to detect this.  Also, some Intel
4138    # versions had trouble with output in subdirs.
4139    am__obj=sub/conftest.${OBJEXT-o}
4140    am__minus_obj="-o $am__obj"
4141    case $depmode in
4142    gcc)
4143      # This depmode causes a compiler race in universal mode.
4144      test "$am__universal" = false || continue
4145      ;;
4146    nosideeffect)
4147      # After this tag, mechanisms are not by side-effect, so they'll
4148      # only be used when explicitly requested.
4149      if test "x$enable_dependency_tracking" = xyes; then
4150	continue
4151      else
4152	break
4153      fi
4154      ;;
4155    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4156      # This compiler won't grok '-c -o', but also, the minuso test has
4157      # not run yet.  These depmodes are late enough in the game, and
4158      # so weak that their functioning should not be impacted.
4159      am__obj=conftest.${OBJEXT-o}
4160      am__minus_obj=
4161      ;;
4162    none) break ;;
4163    esac
4164    if depmode=$depmode \
4165       source=sub/conftest.c object=$am__obj \
4166       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4167       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4168         >/dev/null 2>conftest.err &&
4169       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4170       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4171       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4172       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4173      # icc doesn't choke on unknown options, it will just issue warnings
4174      # or remarks (even with -Werror).  So we grep stderr for any message
4175      # that says an option was ignored or not supported.
4176      # When given -MP, icc 7.0 and 7.1 complain thusly:
4177      #   icc: Command line warning: ignoring option '-M'; no argument required
4178      # The diagnosis changed in icc 8.0:
4179      #   icc: Command line remark: option '-MP' not supported
4180      if (grep 'ignoring option' conftest.err ||
4181          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4182        am_cv_CC_dependencies_compiler_type=$depmode
4183        break
4184      fi
4185    fi
4186  done
4187
4188  cd ..
4189  rm -rf conftest.dir
4190else
4191  am_cv_CC_dependencies_compiler_type=none
4192fi
4193
4194fi
4195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4196$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4197CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4198
4199 if
4200  test "x$enable_dependency_tracking" != xno \
4201  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4202  am__fastdepCC_TRUE=
4203  am__fastdepCC_FALSE='#'
4204else
4205  am__fastdepCC_TRUE='#'
4206  am__fastdepCC_FALSE=
4207fi
4208
4209
4210
4211ac_ext=c
4212ac_cpp='$CPP $CPPFLAGS'
4213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4215ac_compiler_gnu=$ac_cv_c_compiler_gnu
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4217$as_echo_n "checking how to run the C preprocessor... " >&6; }
4218# On Suns, sometimes $CPP names a directory.
4219if test -n "$CPP" && test -d "$CPP"; then
4220  CPP=
4221fi
4222if test -z "$CPP"; then
4223  if ${ac_cv_prog_CPP+:} false; then :
4224  $as_echo_n "(cached) " >&6
4225else
4226      # Double quotes because CPP needs to be expanded
4227    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4228    do
4229      ac_preproc_ok=false
4230for ac_c_preproc_warn_flag in '' yes
4231do
4232  # Use a header file that comes with gcc, so configuring glibc
4233  # with a fresh cross-compiler works.
4234  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4235  # <limits.h> exists even on freestanding compilers.
4236  # On the NeXT, cc -E runs the code through the compiler's parser,
4237  # not just through cpp. "Syntax error" is here to catch this case.
4238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239/* end confdefs.h.  */
4240#ifdef __STDC__
4241# include <limits.h>
4242#else
4243# include <assert.h>
4244#endif
4245		     Syntax error
4246_ACEOF
4247if ac_fn_c_try_cpp "$LINENO"; then :
4248
4249else
4250  # Broken: fails on valid input.
4251continue
4252fi
4253rm -f conftest.err conftest.i conftest.$ac_ext
4254
4255  # OK, works on sane cases.  Now check whether nonexistent headers
4256  # can be detected and how.
4257  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258/* end confdefs.h.  */
4259#include <ac_nonexistent.h>
4260_ACEOF
4261if ac_fn_c_try_cpp "$LINENO"; then :
4262  # Broken: success on invalid input.
4263continue
4264else
4265  # Passes both tests.
4266ac_preproc_ok=:
4267break
4268fi
4269rm -f conftest.err conftest.i conftest.$ac_ext
4270
4271done
4272# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4273rm -f conftest.i conftest.err conftest.$ac_ext
4274if $ac_preproc_ok; then :
4275  break
4276fi
4277
4278    done
4279    ac_cv_prog_CPP=$CPP
4280
4281fi
4282  CPP=$ac_cv_prog_CPP
4283else
4284  ac_cv_prog_CPP=$CPP
4285fi
4286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4287$as_echo "$CPP" >&6; }
4288ac_preproc_ok=false
4289for ac_c_preproc_warn_flag in '' yes
4290do
4291  # Use a header file that comes with gcc, so configuring glibc
4292  # with a fresh cross-compiler works.
4293  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4294  # <limits.h> exists even on freestanding compilers.
4295  # On the NeXT, cc -E runs the code through the compiler's parser,
4296  # not just through cpp. "Syntax error" is here to catch this case.
4297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298/* end confdefs.h.  */
4299#ifdef __STDC__
4300# include <limits.h>
4301#else
4302# include <assert.h>
4303#endif
4304		     Syntax error
4305_ACEOF
4306if ac_fn_c_try_cpp "$LINENO"; then :
4307
4308else
4309  # Broken: fails on valid input.
4310continue
4311fi
4312rm -f conftest.err conftest.i conftest.$ac_ext
4313
4314  # OK, works on sane cases.  Now check whether nonexistent headers
4315  # can be detected and how.
4316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317/* end confdefs.h.  */
4318#include <ac_nonexistent.h>
4319_ACEOF
4320if ac_fn_c_try_cpp "$LINENO"; then :
4321  # Broken: success on invalid input.
4322continue
4323else
4324  # Passes both tests.
4325ac_preproc_ok=:
4326break
4327fi
4328rm -f conftest.err conftest.i conftest.$ac_ext
4329
4330done
4331# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4332rm -f conftest.i conftest.err conftest.$ac_ext
4333if $ac_preproc_ok; then :
4334
4335else
4336  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4339See \`config.log' for more details" "$LINENO" 5; }
4340fi
4341
4342ac_ext=c
4343ac_cpp='$CPP $CPPFLAGS'
4344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347
4348
4349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4350$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4351if ${ac_cv_path_GREP+:} false; then :
4352  $as_echo_n "(cached) " >&6
4353else
4354  if test -z "$GREP"; then
4355  ac_path_GREP_found=false
4356  # Loop through the user's path and test for each of PROGNAME-LIST
4357  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4359do
4360  IFS=$as_save_IFS
4361  test -z "$as_dir" && as_dir=.
4362    for ac_prog in grep ggrep; do
4363    for ac_exec_ext in '' $ac_executable_extensions; do
4364      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4365      as_fn_executable_p "$ac_path_GREP" || continue
4366# Check for GNU ac_path_GREP and select it if it is found.
4367  # Check for GNU $ac_path_GREP
4368case `"$ac_path_GREP" --version 2>&1` in
4369*GNU*)
4370  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4371*)
4372  ac_count=0
4373  $as_echo_n 0123456789 >"conftest.in"
4374  while :
4375  do
4376    cat "conftest.in" "conftest.in" >"conftest.tmp"
4377    mv "conftest.tmp" "conftest.in"
4378    cp "conftest.in" "conftest.nl"
4379    $as_echo 'GREP' >> "conftest.nl"
4380    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4381    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4382    as_fn_arith $ac_count + 1 && ac_count=$as_val
4383    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4384      # Best one so far, save it but keep looking for a better one
4385      ac_cv_path_GREP="$ac_path_GREP"
4386      ac_path_GREP_max=$ac_count
4387    fi
4388    # 10*(2^10) chars as input seems more than enough
4389    test $ac_count -gt 10 && break
4390  done
4391  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4392esac
4393
4394      $ac_path_GREP_found && break 3
4395    done
4396  done
4397  done
4398IFS=$as_save_IFS
4399  if test -z "$ac_cv_path_GREP"; then
4400    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4401  fi
4402else
4403  ac_cv_path_GREP=$GREP
4404fi
4405
4406fi
4407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4408$as_echo "$ac_cv_path_GREP" >&6; }
4409 GREP="$ac_cv_path_GREP"
4410
4411
4412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4413$as_echo_n "checking for egrep... " >&6; }
4414if ${ac_cv_path_EGREP+:} false; then :
4415  $as_echo_n "(cached) " >&6
4416else
4417  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4418   then ac_cv_path_EGREP="$GREP -E"
4419   else
4420     if test -z "$EGREP"; then
4421  ac_path_EGREP_found=false
4422  # Loop through the user's path and test for each of PROGNAME-LIST
4423  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4425do
4426  IFS=$as_save_IFS
4427  test -z "$as_dir" && as_dir=.
4428    for ac_prog in egrep; do
4429    for ac_exec_ext in '' $ac_executable_extensions; do
4430      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4431      as_fn_executable_p "$ac_path_EGREP" || continue
4432# Check for GNU ac_path_EGREP and select it if it is found.
4433  # Check for GNU $ac_path_EGREP
4434case `"$ac_path_EGREP" --version 2>&1` in
4435*GNU*)
4436  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4437*)
4438  ac_count=0
4439  $as_echo_n 0123456789 >"conftest.in"
4440  while :
4441  do
4442    cat "conftest.in" "conftest.in" >"conftest.tmp"
4443    mv "conftest.tmp" "conftest.in"
4444    cp "conftest.in" "conftest.nl"
4445    $as_echo 'EGREP' >> "conftest.nl"
4446    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4447    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4448    as_fn_arith $ac_count + 1 && ac_count=$as_val
4449    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4450      # Best one so far, save it but keep looking for a better one
4451      ac_cv_path_EGREP="$ac_path_EGREP"
4452      ac_path_EGREP_max=$ac_count
4453    fi
4454    # 10*(2^10) chars as input seems more than enough
4455    test $ac_count -gt 10 && break
4456  done
4457  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4458esac
4459
4460      $ac_path_EGREP_found && break 3
4461    done
4462  done
4463  done
4464IFS=$as_save_IFS
4465  if test -z "$ac_cv_path_EGREP"; then
4466    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4467  fi
4468else
4469  ac_cv_path_EGREP=$EGREP
4470fi
4471
4472   fi
4473fi
4474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4475$as_echo "$ac_cv_path_EGREP" >&6; }
4476 EGREP="$ac_cv_path_EGREP"
4477
4478
4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4480$as_echo_n "checking for ANSI C header files... " >&6; }
4481if ${ac_cv_header_stdc+:} false; then :
4482  $as_echo_n "(cached) " >&6
4483else
4484  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485/* end confdefs.h.  */
4486#include <stdlib.h>
4487#include <stdarg.h>
4488#include <string.h>
4489#include <float.h>
4490
4491int
4492main ()
4493{
4494
4495  ;
4496  return 0;
4497}
4498_ACEOF
4499if ac_fn_c_try_compile "$LINENO"; then :
4500  ac_cv_header_stdc=yes
4501else
4502  ac_cv_header_stdc=no
4503fi
4504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505
4506if test $ac_cv_header_stdc = yes; then
4507  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509/* end confdefs.h.  */
4510#include <string.h>
4511
4512_ACEOF
4513if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4514  $EGREP "memchr" >/dev/null 2>&1; then :
4515
4516else
4517  ac_cv_header_stdc=no
4518fi
4519rm -f conftest*
4520
4521fi
4522
4523if test $ac_cv_header_stdc = yes; then
4524  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526/* end confdefs.h.  */
4527#include <stdlib.h>
4528
4529_ACEOF
4530if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4531  $EGREP "free" >/dev/null 2>&1; then :
4532
4533else
4534  ac_cv_header_stdc=no
4535fi
4536rm -f conftest*
4537
4538fi
4539
4540if test $ac_cv_header_stdc = yes; then
4541  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4542  if test "$cross_compiling" = yes; then :
4543  :
4544else
4545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546/* end confdefs.h.  */
4547#include <ctype.h>
4548#include <stdlib.h>
4549#if ((' ' & 0x0FF) == 0x020)
4550# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4551# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4552#else
4553# define ISLOWER(c) \
4554		   (('a' <= (c) && (c) <= 'i') \
4555		     || ('j' <= (c) && (c) <= 'r') \
4556		     || ('s' <= (c) && (c) <= 'z'))
4557# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4558#endif
4559
4560#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4561int
4562main ()
4563{
4564  int i;
4565  for (i = 0; i < 256; i++)
4566    if (XOR (islower (i), ISLOWER (i))
4567	|| toupper (i) != TOUPPER (i))
4568      return 2;
4569  return 0;
4570}
4571_ACEOF
4572if ac_fn_c_try_run "$LINENO"; then :
4573
4574else
4575  ac_cv_header_stdc=no
4576fi
4577rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4578  conftest.$ac_objext conftest.beam conftest.$ac_ext
4579fi
4580
4581fi
4582fi
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4584$as_echo "$ac_cv_header_stdc" >&6; }
4585if test $ac_cv_header_stdc = yes; then
4586
4587$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4588
4589fi
4590
4591# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4592for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4593		  inttypes.h stdint.h unistd.h
4594do :
4595  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4596ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4597"
4598if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4599  cat >>confdefs.h <<_ACEOF
4600#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4601_ACEOF
4602
4603fi
4604
4605done
4606
4607
4608
4609  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4610if test "x$ac_cv_header_minix_config_h" = xyes; then :
4611  MINIX=yes
4612else
4613  MINIX=
4614fi
4615
4616
4617  if test "$MINIX" = yes; then
4618
4619$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4620
4621
4622$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4623
4624
4625$as_echo "#define _MINIX 1" >>confdefs.h
4626
4627  fi
4628
4629
4630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4631$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4632if ${ac_cv_safe_to_define___extensions__+:} false; then :
4633  $as_echo_n "(cached) " >&6
4634else
4635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636/* end confdefs.h.  */
4637
4638#         define __EXTENSIONS__ 1
4639          $ac_includes_default
4640int
4641main ()
4642{
4643
4644  ;
4645  return 0;
4646}
4647_ACEOF
4648if ac_fn_c_try_compile "$LINENO"; then :
4649  ac_cv_safe_to_define___extensions__=yes
4650else
4651  ac_cv_safe_to_define___extensions__=no
4652fi
4653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654fi
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4656$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4657  test $ac_cv_safe_to_define___extensions__ = yes &&
4658    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4659
4660  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4661
4662  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4663
4664  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4665
4666  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4667
4668
4669
4670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4671$as_echo_n "checking for library containing strerror... " >&6; }
4672if ${ac_cv_search_strerror+:} false; then :
4673  $as_echo_n "(cached) " >&6
4674else
4675  ac_func_search_save_LIBS=$LIBS
4676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677/* end confdefs.h.  */
4678
4679/* Override any GCC internal prototype to avoid an error.
4680   Use char because int might match the return type of a GCC
4681   builtin and then its argument prototype would still apply.  */
4682#ifdef __cplusplus
4683extern "C"
4684#endif
4685char strerror ();
4686int
4687main ()
4688{
4689return strerror ();
4690  ;
4691  return 0;
4692}
4693_ACEOF
4694for ac_lib in '' cposix; do
4695  if test -z "$ac_lib"; then
4696    ac_res="none required"
4697  else
4698    ac_res=-l$ac_lib
4699    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4700  fi
4701  if ac_fn_c_try_link "$LINENO"; then :
4702  ac_cv_search_strerror=$ac_res
4703fi
4704rm -f core conftest.err conftest.$ac_objext \
4705    conftest$ac_exeext
4706  if ${ac_cv_search_strerror+:} false; then :
4707  break
4708fi
4709done
4710if ${ac_cv_search_strerror+:} false; then :
4711
4712else
4713  ac_cv_search_strerror=no
4714fi
4715rm conftest.$ac_ext
4716LIBS=$ac_func_search_save_LIBS
4717fi
4718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4719$as_echo "$ac_cv_search_strerror" >&6; }
4720ac_res=$ac_cv_search_strerror
4721if test "$ac_res" != no; then :
4722  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4723
4724fi
4725
4726ac_ext=c
4727ac_cpp='$CPP $CPPFLAGS'
4728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731if test -n "$ac_tool_prefix"; then
4732  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4733set dummy ${ac_tool_prefix}gcc; ac_word=$2
4734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735$as_echo_n "checking for $ac_word... " >&6; }
4736if ${ac_cv_prog_CC+:} false; then :
4737  $as_echo_n "(cached) " >&6
4738else
4739  if test -n "$CC"; then
4740  ac_cv_prog_CC="$CC" # Let the user override the test.
4741else
4742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743for as_dir in $PATH
4744do
4745  IFS=$as_save_IFS
4746  test -z "$as_dir" && as_dir=.
4747    for ac_exec_ext in '' $ac_executable_extensions; do
4748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4749    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751    break 2
4752  fi
4753done
4754  done
4755IFS=$as_save_IFS
4756
4757fi
4758fi
4759CC=$ac_cv_prog_CC
4760if test -n "$CC"; then
4761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4762$as_echo "$CC" >&6; }
4763else
4764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765$as_echo "no" >&6; }
4766fi
4767
4768
4769fi
4770if test -z "$ac_cv_prog_CC"; then
4771  ac_ct_CC=$CC
4772  # Extract the first word of "gcc", so it can be a program name with args.
4773set dummy gcc; ac_word=$2
4774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775$as_echo_n "checking for $ac_word... " >&6; }
4776if ${ac_cv_prog_ac_ct_CC+:} false; then :
4777  $as_echo_n "(cached) " >&6
4778else
4779  if test -n "$ac_ct_CC"; then
4780  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4781else
4782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783for as_dir in $PATH
4784do
4785  IFS=$as_save_IFS
4786  test -z "$as_dir" && as_dir=.
4787    for ac_exec_ext in '' $ac_executable_extensions; do
4788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4789    ac_cv_prog_ac_ct_CC="gcc"
4790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791    break 2
4792  fi
4793done
4794  done
4795IFS=$as_save_IFS
4796
4797fi
4798fi
4799ac_ct_CC=$ac_cv_prog_ac_ct_CC
4800if test -n "$ac_ct_CC"; then
4801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4802$as_echo "$ac_ct_CC" >&6; }
4803else
4804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805$as_echo "no" >&6; }
4806fi
4807
4808  if test "x$ac_ct_CC" = x; then
4809    CC=""
4810  else
4811    case $cross_compiling:$ac_tool_warned in
4812yes:)
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4815ac_tool_warned=yes ;;
4816esac
4817    CC=$ac_ct_CC
4818  fi
4819else
4820  CC="$ac_cv_prog_CC"
4821fi
4822
4823if test -z "$CC"; then
4824          if test -n "$ac_tool_prefix"; then
4825    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4826set dummy ${ac_tool_prefix}cc; ac_word=$2
4827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828$as_echo_n "checking for $ac_word... " >&6; }
4829if ${ac_cv_prog_CC+:} false; then :
4830  $as_echo_n "(cached) " >&6
4831else
4832  if test -n "$CC"; then
4833  ac_cv_prog_CC="$CC" # Let the user override the test.
4834else
4835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836for as_dir in $PATH
4837do
4838  IFS=$as_save_IFS
4839  test -z "$as_dir" && as_dir=.
4840    for ac_exec_ext in '' $ac_executable_extensions; do
4841  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842    ac_cv_prog_CC="${ac_tool_prefix}cc"
4843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844    break 2
4845  fi
4846done
4847  done
4848IFS=$as_save_IFS
4849
4850fi
4851fi
4852CC=$ac_cv_prog_CC
4853if test -n "$CC"; then
4854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855$as_echo "$CC" >&6; }
4856else
4857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858$as_echo "no" >&6; }
4859fi
4860
4861
4862  fi
4863fi
4864if test -z "$CC"; then
4865  # Extract the first word of "cc", so it can be a program name with args.
4866set dummy cc; ac_word=$2
4867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868$as_echo_n "checking for $ac_word... " >&6; }
4869if ${ac_cv_prog_CC+:} false; then :
4870  $as_echo_n "(cached) " >&6
4871else
4872  if test -n "$CC"; then
4873  ac_cv_prog_CC="$CC" # Let the user override the test.
4874else
4875  ac_prog_rejected=no
4876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877for as_dir in $PATH
4878do
4879  IFS=$as_save_IFS
4880  test -z "$as_dir" && as_dir=.
4881    for ac_exec_ext in '' $ac_executable_extensions; do
4882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4883    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4884       ac_prog_rejected=yes
4885       continue
4886     fi
4887    ac_cv_prog_CC="cc"
4888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889    break 2
4890  fi
4891done
4892  done
4893IFS=$as_save_IFS
4894
4895if test $ac_prog_rejected = yes; then
4896  # We found a bogon in the path, so make sure we never use it.
4897  set dummy $ac_cv_prog_CC
4898  shift
4899  if test $# != 0; then
4900    # We chose a different compiler from the bogus one.
4901    # However, it has the same basename, so the bogon will be chosen
4902    # first if we set CC to just the basename; use the full file name.
4903    shift
4904    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4905  fi
4906fi
4907fi
4908fi
4909CC=$ac_cv_prog_CC
4910if test -n "$CC"; then
4911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4912$as_echo "$CC" >&6; }
4913else
4914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915$as_echo "no" >&6; }
4916fi
4917
4918
4919fi
4920if test -z "$CC"; then
4921  if test -n "$ac_tool_prefix"; then
4922  for ac_prog in cl.exe
4923  do
4924    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4925set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927$as_echo_n "checking for $ac_word... " >&6; }
4928if ${ac_cv_prog_CC+:} false; then :
4929  $as_echo_n "(cached) " >&6
4930else
4931  if test -n "$CC"; then
4932  ac_cv_prog_CC="$CC" # Let the user override the test.
4933else
4934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935for as_dir in $PATH
4936do
4937  IFS=$as_save_IFS
4938  test -z "$as_dir" && as_dir=.
4939    for ac_exec_ext in '' $ac_executable_extensions; do
4940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943    break 2
4944  fi
4945done
4946  done
4947IFS=$as_save_IFS
4948
4949fi
4950fi
4951CC=$ac_cv_prog_CC
4952if test -n "$CC"; then
4953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4954$as_echo "$CC" >&6; }
4955else
4956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957$as_echo "no" >&6; }
4958fi
4959
4960
4961    test -n "$CC" && break
4962  done
4963fi
4964if test -z "$CC"; then
4965  ac_ct_CC=$CC
4966  for ac_prog in cl.exe
4967do
4968  # Extract the first word of "$ac_prog", so it can be a program name with args.
4969set dummy $ac_prog; ac_word=$2
4970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971$as_echo_n "checking for $ac_word... " >&6; }
4972if ${ac_cv_prog_ac_ct_CC+:} false; then :
4973  $as_echo_n "(cached) " >&6
4974else
4975  if test -n "$ac_ct_CC"; then
4976  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4977else
4978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979for as_dir in $PATH
4980do
4981  IFS=$as_save_IFS
4982  test -z "$as_dir" && as_dir=.
4983    for ac_exec_ext in '' $ac_executable_extensions; do
4984  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985    ac_cv_prog_ac_ct_CC="$ac_prog"
4986    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987    break 2
4988  fi
4989done
4990  done
4991IFS=$as_save_IFS
4992
4993fi
4994fi
4995ac_ct_CC=$ac_cv_prog_ac_ct_CC
4996if test -n "$ac_ct_CC"; then
4997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4998$as_echo "$ac_ct_CC" >&6; }
4999else
5000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001$as_echo "no" >&6; }
5002fi
5003
5004
5005  test -n "$ac_ct_CC" && break
5006done
5007
5008  if test "x$ac_ct_CC" = x; then
5009    CC=""
5010  else
5011    case $cross_compiling:$ac_tool_warned in
5012yes:)
5013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015ac_tool_warned=yes ;;
5016esac
5017    CC=$ac_ct_CC
5018  fi
5019fi
5020
5021fi
5022
5023
5024test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5026as_fn_error $? "no acceptable C compiler found in \$PATH
5027See \`config.log' for more details" "$LINENO" 5; }
5028
5029# Provide some information about the compiler.
5030$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5031set X $ac_compile
5032ac_compiler=$2
5033for ac_option in --version -v -V -qversion; do
5034  { { ac_try="$ac_compiler $ac_option >&5"
5035case "(($ac_try" in
5036  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037  *) ac_try_echo=$ac_try;;
5038esac
5039eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5040$as_echo "$ac_try_echo"; } >&5
5041  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5042  ac_status=$?
5043  if test -s conftest.err; then
5044    sed '10a\
5045... rest of stderr output deleted ...
5046         10q' conftest.err >conftest.er1
5047    cat conftest.er1 >&5
5048  fi
5049  rm -f conftest.er1 conftest.err
5050  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5051  test $ac_status = 0; }
5052done
5053
5054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5055$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5056if ${ac_cv_c_compiler_gnu+:} false; then :
5057  $as_echo_n "(cached) " >&6
5058else
5059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060/* end confdefs.h.  */
5061
5062int
5063main ()
5064{
5065#ifndef __GNUC__
5066       choke me
5067#endif
5068
5069  ;
5070  return 0;
5071}
5072_ACEOF
5073if ac_fn_c_try_compile "$LINENO"; then :
5074  ac_compiler_gnu=yes
5075else
5076  ac_compiler_gnu=no
5077fi
5078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5079ac_cv_c_compiler_gnu=$ac_compiler_gnu
5080
5081fi
5082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5083$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5084if test $ac_compiler_gnu = yes; then
5085  GCC=yes
5086else
5087  GCC=
5088fi
5089ac_test_CFLAGS=${CFLAGS+set}
5090ac_save_CFLAGS=$CFLAGS
5091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5092$as_echo_n "checking whether $CC accepts -g... " >&6; }
5093if ${ac_cv_prog_cc_g+:} false; then :
5094  $as_echo_n "(cached) " >&6
5095else
5096  ac_save_c_werror_flag=$ac_c_werror_flag
5097   ac_c_werror_flag=yes
5098   ac_cv_prog_cc_g=no
5099   CFLAGS="-g"
5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101/* end confdefs.h.  */
5102
5103int
5104main ()
5105{
5106
5107  ;
5108  return 0;
5109}
5110_ACEOF
5111if ac_fn_c_try_compile "$LINENO"; then :
5112  ac_cv_prog_cc_g=yes
5113else
5114  CFLAGS=""
5115      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116/* end confdefs.h.  */
5117
5118int
5119main ()
5120{
5121
5122  ;
5123  return 0;
5124}
5125_ACEOF
5126if ac_fn_c_try_compile "$LINENO"; then :
5127
5128else
5129  ac_c_werror_flag=$ac_save_c_werror_flag
5130	 CFLAGS="-g"
5131	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132/* end confdefs.h.  */
5133
5134int
5135main ()
5136{
5137
5138  ;
5139  return 0;
5140}
5141_ACEOF
5142if ac_fn_c_try_compile "$LINENO"; then :
5143  ac_cv_prog_cc_g=yes
5144fi
5145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5146fi
5147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5148fi
5149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150   ac_c_werror_flag=$ac_save_c_werror_flag
5151fi
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5153$as_echo "$ac_cv_prog_cc_g" >&6; }
5154if test "$ac_test_CFLAGS" = set; then
5155  CFLAGS=$ac_save_CFLAGS
5156elif test $ac_cv_prog_cc_g = yes; then
5157  if test "$GCC" = yes; then
5158    CFLAGS="-g -O2"
5159  else
5160    CFLAGS="-g"
5161  fi
5162else
5163  if test "$GCC" = yes; then
5164    CFLAGS="-O2"
5165  else
5166    CFLAGS=
5167  fi
5168fi
5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5170$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5171if ${ac_cv_prog_cc_c89+:} false; then :
5172  $as_echo_n "(cached) " >&6
5173else
5174  ac_cv_prog_cc_c89=no
5175ac_save_CC=$CC
5176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177/* end confdefs.h.  */
5178#include <stdarg.h>
5179#include <stdio.h>
5180struct stat;
5181/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5182struct buf { int x; };
5183FILE * (*rcsopen) (struct buf *, struct stat *, int);
5184static char *e (p, i)
5185     char **p;
5186     int i;
5187{
5188  return p[i];
5189}
5190static char *f (char * (*g) (char **, int), char **p, ...)
5191{
5192  char *s;
5193  va_list v;
5194  va_start (v,p);
5195  s = g (p, va_arg (v,int));
5196  va_end (v);
5197  return s;
5198}
5199
5200/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5201   function prototypes and stuff, but not '\xHH' hex character constants.
5202   These don't provoke an error unfortunately, instead are silently treated
5203   as 'x'.  The following induces an error, until -std is added to get
5204   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5205   array size at least.  It's necessary to write '\x00'==0 to get something
5206   that's true only with -std.  */
5207int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5208
5209/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5210   inside strings and character constants.  */
5211#define FOO(x) 'x'
5212int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5213
5214int test (int i, double x);
5215struct s1 {int (*f) (int a);};
5216struct s2 {int (*f) (double a);};
5217int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5218int argc;
5219char **argv;
5220int
5221main ()
5222{
5223return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5224  ;
5225  return 0;
5226}
5227_ACEOF
5228for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5229	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5230do
5231  CC="$ac_save_CC $ac_arg"
5232  if ac_fn_c_try_compile "$LINENO"; then :
5233  ac_cv_prog_cc_c89=$ac_arg
5234fi
5235rm -f core conftest.err conftest.$ac_objext
5236  test "x$ac_cv_prog_cc_c89" != "xno" && break
5237done
5238rm -f conftest.$ac_ext
5239CC=$ac_save_CC
5240
5241fi
5242# AC_CACHE_VAL
5243case "x$ac_cv_prog_cc_c89" in
5244  x)
5245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5246$as_echo "none needed" >&6; } ;;
5247  xno)
5248    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5249$as_echo "unsupported" >&6; } ;;
5250  *)
5251    CC="$CC $ac_cv_prog_cc_c89"
5252    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5253$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5254esac
5255if test "x$ac_cv_prog_cc_c89" != xno; then :
5256
5257fi
5258
5259ac_ext=c
5260ac_cpp='$CPP $CPPFLAGS'
5261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5263ac_compiler_gnu=$ac_cv_c_compiler_gnu
5264
5265depcc="$CC"   am_compiler_list=
5266
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5268$as_echo_n "checking dependency style of $depcc... " >&6; }
5269if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5270  $as_echo_n "(cached) " >&6
5271else
5272  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5273  # We make a subdir and do the tests there.  Otherwise we can end up
5274  # making bogus files that we don't know about and never remove.  For
5275  # instance it was reported that on HP-UX the gcc test will end up
5276  # making a dummy file named 'D' -- because '-MD' means "put the output
5277  # in D".
5278  rm -rf conftest.dir
5279  mkdir conftest.dir
5280  # Copy depcomp to subdir because otherwise we won't find it if we're
5281  # using a relative directory.
5282  cp "$am_depcomp" conftest.dir
5283  cd conftest.dir
5284  # We will build objects and dependencies in a subdirectory because
5285  # it helps to detect inapplicable dependency modes.  For instance
5286  # both Tru64's cc and ICC support -MD to output dependencies as a
5287  # side effect of compilation, but ICC will put the dependencies in
5288  # the current directory while Tru64 will put them in the object
5289  # directory.
5290  mkdir sub
5291
5292  am_cv_CC_dependencies_compiler_type=none
5293  if test "$am_compiler_list" = ""; then
5294     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5295  fi
5296  am__universal=false
5297  case " $depcc " in #(
5298     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5299     esac
5300
5301  for depmode in $am_compiler_list; do
5302    # Setup a source with many dependencies, because some compilers
5303    # like to wrap large dependency lists on column 80 (with \), and
5304    # we should not choose a depcomp mode which is confused by this.
5305    #
5306    # We need to recreate these files for each test, as the compiler may
5307    # overwrite some of them when testing with obscure command lines.
5308    # This happens at least with the AIX C compiler.
5309    : > sub/conftest.c
5310    for i in 1 2 3 4 5 6; do
5311      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5312      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5313      # Solaris 10 /bin/sh.
5314      echo '/* dummy */' > sub/conftst$i.h
5315    done
5316    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5317
5318    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5319    # mode.  It turns out that the SunPro C++ compiler does not properly
5320    # handle '-M -o', and we need to detect this.  Also, some Intel
5321    # versions had trouble with output in subdirs.
5322    am__obj=sub/conftest.${OBJEXT-o}
5323    am__minus_obj="-o $am__obj"
5324    case $depmode in
5325    gcc)
5326      # This depmode causes a compiler race in universal mode.
5327      test "$am__universal" = false || continue
5328      ;;
5329    nosideeffect)
5330      # After this tag, mechanisms are not by side-effect, so they'll
5331      # only be used when explicitly requested.
5332      if test "x$enable_dependency_tracking" = xyes; then
5333	continue
5334      else
5335	break
5336      fi
5337      ;;
5338    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5339      # This compiler won't grok '-c -o', but also, the minuso test has
5340      # not run yet.  These depmodes are late enough in the game, and
5341      # so weak that their functioning should not be impacted.
5342      am__obj=conftest.${OBJEXT-o}
5343      am__minus_obj=
5344      ;;
5345    none) break ;;
5346    esac
5347    if depmode=$depmode \
5348       source=sub/conftest.c object=$am__obj \
5349       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5350       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5351         >/dev/null 2>conftest.err &&
5352       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5353       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5354       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5355       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5356      # icc doesn't choke on unknown options, it will just issue warnings
5357      # or remarks (even with -Werror).  So we grep stderr for any message
5358      # that says an option was ignored or not supported.
5359      # When given -MP, icc 7.0 and 7.1 complain thusly:
5360      #   icc: Command line warning: ignoring option '-M'; no argument required
5361      # The diagnosis changed in icc 8.0:
5362      #   icc: Command line remark: option '-MP' not supported
5363      if (grep 'ignoring option' conftest.err ||
5364          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5365        am_cv_CC_dependencies_compiler_type=$depmode
5366        break
5367      fi
5368    fi
5369  done
5370
5371  cd ..
5372  rm -rf conftest.dir
5373else
5374  am_cv_CC_dependencies_compiler_type=none
5375fi
5376
5377fi
5378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5379$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5380CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5381
5382 if
5383  test "x$enable_dependency_tracking" != xno \
5384  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5385  am__fastdepCC_TRUE=
5386  am__fastdepCC_FALSE='#'
5387else
5388  am__fastdepCC_TRUE='#'
5389  am__fastdepCC_FALSE=
5390fi
5391
5392
5393if test "x$CC" != xcc; then
5394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5395$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5396else
5397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5398$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5399fi
5400set dummy $CC; ac_cc=`$as_echo "$2" |
5401		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5402if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5403  $as_echo_n "(cached) " >&6
5404else
5405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406/* end confdefs.h.  */
5407
5408int
5409main ()
5410{
5411
5412  ;
5413  return 0;
5414}
5415_ACEOF
5416# Make sure it works both with $CC and with simple cc.
5417# We do the test twice because some compilers refuse to overwrite an
5418# existing .o file with -o, though they will create one.
5419ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5420rm -f conftest2.*
5421if { { case "(($ac_try" in
5422  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5423  *) ac_try_echo=$ac_try;;
5424esac
5425eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5426$as_echo "$ac_try_echo"; } >&5
5427  (eval "$ac_try") 2>&5
5428  ac_status=$?
5429  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5430  test $ac_status = 0; } &&
5431   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5432  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5433  *) ac_try_echo=$ac_try;;
5434esac
5435eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5436$as_echo "$ac_try_echo"; } >&5
5437  (eval "$ac_try") 2>&5
5438  ac_status=$?
5439  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5440  test $ac_status = 0; };
5441then
5442  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5443  if test "x$CC" != xcc; then
5444    # Test first that cc exists at all.
5445    if { ac_try='cc -c conftest.$ac_ext >&5'
5446  { { case "(($ac_try" in
5447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5448  *) ac_try_echo=$ac_try;;
5449esac
5450eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5451$as_echo "$ac_try_echo"; } >&5
5452  (eval "$ac_try") 2>&5
5453  ac_status=$?
5454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5455  test $ac_status = 0; }; }; then
5456      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5457      rm -f conftest2.*
5458      if { { case "(($ac_try" in
5459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460  *) ac_try_echo=$ac_try;;
5461esac
5462eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5463$as_echo "$ac_try_echo"; } >&5
5464  (eval "$ac_try") 2>&5
5465  ac_status=$?
5466  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5467  test $ac_status = 0; } &&
5468	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470  *) ac_try_echo=$ac_try;;
5471esac
5472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5473$as_echo "$ac_try_echo"; } >&5
5474  (eval "$ac_try") 2>&5
5475  ac_status=$?
5476  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5477  test $ac_status = 0; };
5478      then
5479	# cc works too.
5480	:
5481      else
5482	# cc exists but doesn't like -o.
5483	eval ac_cv_prog_cc_${ac_cc}_c_o=no
5484      fi
5485    fi
5486  fi
5487else
5488  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5489fi
5490rm -f core conftest*
5491
5492fi
5493if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495$as_echo "yes" >&6; }
5496else
5497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498$as_echo "no" >&6; }
5499
5500$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5501
5502fi
5503
5504# FIXME: we rely on the cache variable name because
5505# there is no other way.
5506set dummy $CC
5507am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5508eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5509if test "$am_t" != yes; then
5510   # Losing compiler, so override with the script.
5511   # FIXME: It is wrong to rewrite CC.
5512   # But if we don't then we get into trouble of one sort or another.
5513   # A longer-term fix would be to have automake use am__CC in this case,
5514   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5515   CC="$am_aux_dir/compile $CC"
5516fi
5517
5518
5519
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5521$as_echo_n "checking whether ln -s works... " >&6; }
5522LN_S=$as_ln_s
5523if test "$LN_S" = "ln -s"; then
5524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5525$as_echo "yes" >&6; }
5526else
5527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5528$as_echo "no, using $LN_S" >&6; }
5529fi
5530
5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5532$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5533set x ${MAKE-make}
5534ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5535if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5536  $as_echo_n "(cached) " >&6
5537else
5538  cat >conftest.make <<\_ACEOF
5539SHELL = /bin/sh
5540all:
5541	@echo '@@@%%%=$(MAKE)=@@@%%%'
5542_ACEOF
5543# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5544case `${MAKE-make} -f conftest.make 2>/dev/null` in
5545  *@@@%%%=?*=@@@%%%*)
5546    eval ac_cv_prog_make_${ac_make}_set=yes;;
5547  *)
5548    eval ac_cv_prog_make_${ac_make}_set=no;;
5549esac
5550rm -f conftest.make
5551fi
5552if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5554$as_echo "yes" >&6; }
5555  SET_MAKE=
5556else
5557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558$as_echo "no" >&6; }
5559  SET_MAKE="MAKE=${MAKE-make}"
5560fi
5561
5562# Check whether --enable-static was given.
5563if test "${enable_static+set}" = set; then :
5564  enableval=$enable_static; p=${PACKAGE-default}
5565    case $enableval in
5566    yes) enable_static=yes ;;
5567    no) enable_static=no ;;
5568    *)
5569     enable_static=no
5570      # Look at the argument we got.  We use all the common list separators.
5571      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5572      for pkg in $enableval; do
5573	IFS="$lt_save_ifs"
5574	if test "X$pkg" = "X$p"; then
5575	  enable_static=yes
5576	fi
5577      done
5578      IFS="$lt_save_ifs"
5579      ;;
5580    esac
5581else
5582  enable_static=no
5583fi
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593case `pwd` in
5594  *\ * | *\	*)
5595    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5596$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5597esac
5598
5599
5600
5601macro_version='2.4.2'
5602macro_revision='1.3337'
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616ltmain="$ac_aux_dir/ltmain.sh"
5617
5618# Make sure we can run config.sub.
5619$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5620  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5621
5622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5623$as_echo_n "checking build system type... " >&6; }
5624if ${ac_cv_build+:} false; then :
5625  $as_echo_n "(cached) " >&6
5626else
5627  ac_build_alias=$build_alias
5628test "x$ac_build_alias" = x &&
5629  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5630test "x$ac_build_alias" = x &&
5631  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5632ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5633  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5634
5635fi
5636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5637$as_echo "$ac_cv_build" >&6; }
5638case $ac_cv_build in
5639*-*-*) ;;
5640*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5641esac
5642build=$ac_cv_build
5643ac_save_IFS=$IFS; IFS='-'
5644set x $ac_cv_build
5645shift
5646build_cpu=$1
5647build_vendor=$2
5648shift; shift
5649# Remember, the first character of IFS is used to create $*,
5650# except with old shells:
5651build_os=$*
5652IFS=$ac_save_IFS
5653case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5654
5655
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5657$as_echo_n "checking host system type... " >&6; }
5658if ${ac_cv_host+:} false; then :
5659  $as_echo_n "(cached) " >&6
5660else
5661  if test "x$host_alias" = x; then
5662  ac_cv_host=$ac_cv_build
5663else
5664  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5665    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5666fi
5667
5668fi
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5670$as_echo "$ac_cv_host" >&6; }
5671case $ac_cv_host in
5672*-*-*) ;;
5673*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5674esac
5675host=$ac_cv_host
5676ac_save_IFS=$IFS; IFS='-'
5677set x $ac_cv_host
5678shift
5679host_cpu=$1
5680host_vendor=$2
5681shift; shift
5682# Remember, the first character of IFS is used to create $*,
5683# except with old shells:
5684host_os=$*
5685IFS=$ac_save_IFS
5686case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5687
5688
5689# Backslashify metacharacters that are still active within
5690# double-quoted strings.
5691sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5692
5693# Same as above, but do not quote variable references.
5694double_quote_subst='s/\(["`\\]\)/\\\1/g'
5695
5696# Sed substitution to delay expansion of an escaped shell variable in a
5697# double_quote_subst'ed string.
5698delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5699
5700# Sed substitution to delay expansion of an escaped single quote.
5701delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5702
5703# Sed substitution to avoid accidental globbing in evaled expressions
5704no_glob_subst='s/\*/\\\*/g'
5705
5706ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5707ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5708ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5709
5710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5711$as_echo_n "checking how to print strings... " >&6; }
5712# Test print first, because it will be a builtin if present.
5713if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5714   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5715  ECHO='print -r --'
5716elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5717  ECHO='printf %s\n'
5718else
5719  # Use this function as a fallback that always works.
5720  func_fallback_echo ()
5721  {
5722    eval 'cat <<_LTECHO_EOF
5723$1
5724_LTECHO_EOF'
5725  }
5726  ECHO='func_fallback_echo'
5727fi
5728
5729# func_echo_all arg...
5730# Invoke $ECHO with all args, space-separated.
5731func_echo_all ()
5732{
5733    $ECHO ""
5734}
5735
5736case "$ECHO" in
5737  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5738$as_echo "printf" >&6; } ;;
5739  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5740$as_echo "print -r" >&6; } ;;
5741  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5742$as_echo "cat" >&6; } ;;
5743esac
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5759$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5760if ${ac_cv_path_SED+:} false; then :
5761  $as_echo_n "(cached) " >&6
5762else
5763            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5764     for ac_i in 1 2 3 4 5 6 7; do
5765       ac_script="$ac_script$as_nl$ac_script"
5766     done
5767     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5768     { ac_script=; unset ac_script;}
5769     if test -z "$SED"; then
5770  ac_path_SED_found=false
5771  # Loop through the user's path and test for each of PROGNAME-LIST
5772  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773for as_dir in $PATH
5774do
5775  IFS=$as_save_IFS
5776  test -z "$as_dir" && as_dir=.
5777    for ac_prog in sed gsed; do
5778    for ac_exec_ext in '' $ac_executable_extensions; do
5779      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5780      as_fn_executable_p "$ac_path_SED" || continue
5781# Check for GNU ac_path_SED and select it if it is found.
5782  # Check for GNU $ac_path_SED
5783case `"$ac_path_SED" --version 2>&1` in
5784*GNU*)
5785  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5786*)
5787  ac_count=0
5788  $as_echo_n 0123456789 >"conftest.in"
5789  while :
5790  do
5791    cat "conftest.in" "conftest.in" >"conftest.tmp"
5792    mv "conftest.tmp" "conftest.in"
5793    cp "conftest.in" "conftest.nl"
5794    $as_echo '' >> "conftest.nl"
5795    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5796    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5797    as_fn_arith $ac_count + 1 && ac_count=$as_val
5798    if test $ac_count -gt ${ac_path_SED_max-0}; then
5799      # Best one so far, save it but keep looking for a better one
5800      ac_cv_path_SED="$ac_path_SED"
5801      ac_path_SED_max=$ac_count
5802    fi
5803    # 10*(2^10) chars as input seems more than enough
5804    test $ac_count -gt 10 && break
5805  done
5806  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5807esac
5808
5809      $ac_path_SED_found && break 3
5810    done
5811  done
5812  done
5813IFS=$as_save_IFS
5814  if test -z "$ac_cv_path_SED"; then
5815    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5816  fi
5817else
5818  ac_cv_path_SED=$SED
5819fi
5820
5821fi
5822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5823$as_echo "$ac_cv_path_SED" >&6; }
5824 SED="$ac_cv_path_SED"
5825  rm -f conftest.sed
5826
5827test -z "$SED" && SED=sed
5828Xsed="$SED -e 1s/^X//"
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5841$as_echo_n "checking for fgrep... " >&6; }
5842if ${ac_cv_path_FGREP+:} false; then :
5843  $as_echo_n "(cached) " >&6
5844else
5845  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5846   then ac_cv_path_FGREP="$GREP -F"
5847   else
5848     if test -z "$FGREP"; then
5849  ac_path_FGREP_found=false
5850  # Loop through the user's path and test for each of PROGNAME-LIST
5851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5853do
5854  IFS=$as_save_IFS
5855  test -z "$as_dir" && as_dir=.
5856    for ac_prog in fgrep; do
5857    for ac_exec_ext in '' $ac_executable_extensions; do
5858      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5859      as_fn_executable_p "$ac_path_FGREP" || continue
5860# Check for GNU ac_path_FGREP and select it if it is found.
5861  # Check for GNU $ac_path_FGREP
5862case `"$ac_path_FGREP" --version 2>&1` in
5863*GNU*)
5864  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5865*)
5866  ac_count=0
5867  $as_echo_n 0123456789 >"conftest.in"
5868  while :
5869  do
5870    cat "conftest.in" "conftest.in" >"conftest.tmp"
5871    mv "conftest.tmp" "conftest.in"
5872    cp "conftest.in" "conftest.nl"
5873    $as_echo 'FGREP' >> "conftest.nl"
5874    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5875    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5876    as_fn_arith $ac_count + 1 && ac_count=$as_val
5877    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5878      # Best one so far, save it but keep looking for a better one
5879      ac_cv_path_FGREP="$ac_path_FGREP"
5880      ac_path_FGREP_max=$ac_count
5881    fi
5882    # 10*(2^10) chars as input seems more than enough
5883    test $ac_count -gt 10 && break
5884  done
5885  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5886esac
5887
5888      $ac_path_FGREP_found && break 3
5889    done
5890  done
5891  done
5892IFS=$as_save_IFS
5893  if test -z "$ac_cv_path_FGREP"; then
5894    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5895  fi
5896else
5897  ac_cv_path_FGREP=$FGREP
5898fi
5899
5900   fi
5901fi
5902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5903$as_echo "$ac_cv_path_FGREP" >&6; }
5904 FGREP="$ac_cv_path_FGREP"
5905
5906
5907test -z "$GREP" && GREP=grep
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927# Check whether --with-gnu-ld was given.
5928if test "${with_gnu_ld+set}" = set; then :
5929  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5930else
5931  with_gnu_ld=no
5932fi
5933
5934ac_prog=ld
5935if test "$GCC" = yes; then
5936  # Check if gcc -print-prog-name=ld gives a path.
5937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5938$as_echo_n "checking for ld used by $CC... " >&6; }
5939  case $host in
5940  *-*-mingw*)
5941    # gcc leaves a trailing carriage return which upsets mingw
5942    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5943  *)
5944    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5945  esac
5946  case $ac_prog in
5947    # Accept absolute paths.
5948    [\\/]* | ?:[\\/]*)
5949      re_direlt='/[^/][^/]*/\.\./'
5950      # Canonicalize the pathname of ld
5951      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5952      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5953	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5954      done
5955      test -z "$LD" && LD="$ac_prog"
5956      ;;
5957  "")
5958    # If it fails, then pretend we aren't using GCC.
5959    ac_prog=ld
5960    ;;
5961  *)
5962    # If it is relative, then search for the first ld in PATH.
5963    with_gnu_ld=unknown
5964    ;;
5965  esac
5966elif test "$with_gnu_ld" = yes; then
5967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5968$as_echo_n "checking for GNU ld... " >&6; }
5969else
5970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5971$as_echo_n "checking for non-GNU ld... " >&6; }
5972fi
5973if ${lt_cv_path_LD+:} false; then :
5974  $as_echo_n "(cached) " >&6
5975else
5976  if test -z "$LD"; then
5977  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5978  for ac_dir in $PATH; do
5979    IFS="$lt_save_ifs"
5980    test -z "$ac_dir" && ac_dir=.
5981    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5982      lt_cv_path_LD="$ac_dir/$ac_prog"
5983      # Check to see if the program is GNU ld.  I'd rather use --version,
5984      # but apparently some variants of GNU ld only accept -v.
5985      # Break only if it was the GNU/non-GNU ld that we prefer.
5986      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5987      *GNU* | *'with BFD'*)
5988	test "$with_gnu_ld" != no && break
5989	;;
5990      *)
5991	test "$with_gnu_ld" != yes && break
5992	;;
5993      esac
5994    fi
5995  done
5996  IFS="$lt_save_ifs"
5997else
5998  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5999fi
6000fi
6001
6002LD="$lt_cv_path_LD"
6003if test -n "$LD"; then
6004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6005$as_echo "$LD" >&6; }
6006else
6007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008$as_echo "no" >&6; }
6009fi
6010test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6012$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6013if ${lt_cv_prog_gnu_ld+:} false; then :
6014  $as_echo_n "(cached) " >&6
6015else
6016  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6017case `$LD -v 2>&1 </dev/null` in
6018*GNU* | *'with BFD'*)
6019  lt_cv_prog_gnu_ld=yes
6020  ;;
6021*)
6022  lt_cv_prog_gnu_ld=no
6023  ;;
6024esac
6025fi
6026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6027$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6028with_gnu_ld=$lt_cv_prog_gnu_ld
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6039$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6040if ${lt_cv_path_NM+:} false; then :
6041  $as_echo_n "(cached) " >&6
6042else
6043  if test -n "$NM"; then
6044  # Let the user override the test.
6045  lt_cv_path_NM="$NM"
6046else
6047  lt_nm_to_check="${ac_tool_prefix}nm"
6048  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6049    lt_nm_to_check="$lt_nm_to_check nm"
6050  fi
6051  for lt_tmp_nm in $lt_nm_to_check; do
6052    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6053    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6054      IFS="$lt_save_ifs"
6055      test -z "$ac_dir" && ac_dir=.
6056      tmp_nm="$ac_dir/$lt_tmp_nm"
6057      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6058	# Check to see if the nm accepts a BSD-compat flag.
6059	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6060	#   nm: unknown option "B" ignored
6061	# Tru64's nm complains that /dev/null is an invalid object file
6062	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6063	*/dev/null* | *'Invalid file or object type'*)
6064	  lt_cv_path_NM="$tmp_nm -B"
6065	  break
6066	  ;;
6067	*)
6068	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6069	  */dev/null*)
6070	    lt_cv_path_NM="$tmp_nm -p"
6071	    break
6072	    ;;
6073	  *)
6074	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6075	    continue # so that we can try to find one that supports BSD flags
6076	    ;;
6077	  esac
6078	  ;;
6079	esac
6080      fi
6081    done
6082    IFS="$lt_save_ifs"
6083  done
6084  : ${lt_cv_path_NM=no}
6085fi
6086fi
6087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6088$as_echo "$lt_cv_path_NM" >&6; }
6089if test "$lt_cv_path_NM" != "no"; then
6090  NM="$lt_cv_path_NM"
6091else
6092  # Didn't find any BSD compatible name lister, look for dumpbin.
6093  if test -n "$DUMPBIN"; then :
6094    # Let the user override the test.
6095  else
6096    if test -n "$ac_tool_prefix"; then
6097  for ac_prog in dumpbin "link -dump"
6098  do
6099    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6100set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102$as_echo_n "checking for $ac_word... " >&6; }
6103if ${ac_cv_prog_DUMPBIN+:} false; then :
6104  $as_echo_n "(cached) " >&6
6105else
6106  if test -n "$DUMPBIN"; then
6107  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6108else
6109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110for as_dir in $PATH
6111do
6112  IFS=$as_save_IFS
6113  test -z "$as_dir" && as_dir=.
6114    for ac_exec_ext in '' $ac_executable_extensions; do
6115  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118    break 2
6119  fi
6120done
6121  done
6122IFS=$as_save_IFS
6123
6124fi
6125fi
6126DUMPBIN=$ac_cv_prog_DUMPBIN
6127if test -n "$DUMPBIN"; then
6128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6129$as_echo "$DUMPBIN" >&6; }
6130else
6131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132$as_echo "no" >&6; }
6133fi
6134
6135
6136    test -n "$DUMPBIN" && break
6137  done
6138fi
6139if test -z "$DUMPBIN"; then
6140  ac_ct_DUMPBIN=$DUMPBIN
6141  for ac_prog in dumpbin "link -dump"
6142do
6143  # Extract the first word of "$ac_prog", so it can be a program name with args.
6144set dummy $ac_prog; ac_word=$2
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146$as_echo_n "checking for $ac_word... " >&6; }
6147if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6148  $as_echo_n "(cached) " >&6
6149else
6150  if test -n "$ac_ct_DUMPBIN"; then
6151  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6152else
6153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154for as_dir in $PATH
6155do
6156  IFS=$as_save_IFS
6157  test -z "$as_dir" && as_dir=.
6158    for ac_exec_ext in '' $ac_executable_extensions; do
6159  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6161    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162    break 2
6163  fi
6164done
6165  done
6166IFS=$as_save_IFS
6167
6168fi
6169fi
6170ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6171if test -n "$ac_ct_DUMPBIN"; then
6172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6173$as_echo "$ac_ct_DUMPBIN" >&6; }
6174else
6175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176$as_echo "no" >&6; }
6177fi
6178
6179
6180  test -n "$ac_ct_DUMPBIN" && break
6181done
6182
6183  if test "x$ac_ct_DUMPBIN" = x; then
6184    DUMPBIN=":"
6185  else
6186    case $cross_compiling:$ac_tool_warned in
6187yes:)
6188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6190ac_tool_warned=yes ;;
6191esac
6192    DUMPBIN=$ac_ct_DUMPBIN
6193  fi
6194fi
6195
6196    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6197    *COFF*)
6198      DUMPBIN="$DUMPBIN -symbols"
6199      ;;
6200    *)
6201      DUMPBIN=:
6202      ;;
6203    esac
6204  fi
6205
6206  if test "$DUMPBIN" != ":"; then
6207    NM="$DUMPBIN"
6208  fi
6209fi
6210test -z "$NM" && NM=nm
6211
6212
6213
6214
6215
6216
6217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6218$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6219if ${lt_cv_nm_interface+:} false; then :
6220  $as_echo_n "(cached) " >&6
6221else
6222  lt_cv_nm_interface="BSD nm"
6223  echo "int some_variable = 0;" > conftest.$ac_ext
6224  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6225  (eval "$ac_compile" 2>conftest.err)
6226  cat conftest.err >&5
6227  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6228  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6229  cat conftest.err >&5
6230  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6231  cat conftest.out >&5
6232  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6233    lt_cv_nm_interface="MS dumpbin"
6234  fi
6235  rm -f conftest*
6236fi
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6238$as_echo "$lt_cv_nm_interface" >&6; }
6239
6240# find the maximum length of command line arguments
6241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6242$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6243if ${lt_cv_sys_max_cmd_len+:} false; then :
6244  $as_echo_n "(cached) " >&6
6245else
6246    i=0
6247  teststring="ABCD"
6248
6249  case $build_os in
6250  msdosdjgpp*)
6251    # On DJGPP, this test can blow up pretty badly due to problems in libc
6252    # (any single argument exceeding 2000 bytes causes a buffer overrun
6253    # during glob expansion).  Even if it were fixed, the result of this
6254    # check would be larger than it should be.
6255    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6256    ;;
6257
6258  gnu*)
6259    # Under GNU Hurd, this test is not required because there is
6260    # no limit to the length of command line arguments.
6261    # Libtool will interpret -1 as no limit whatsoever
6262    lt_cv_sys_max_cmd_len=-1;
6263    ;;
6264
6265  cygwin* | mingw* | cegcc*)
6266    # On Win9x/ME, this test blows up -- it succeeds, but takes
6267    # about 5 minutes as the teststring grows exponentially.
6268    # Worse, since 9x/ME are not pre-emptively multitasking,
6269    # you end up with a "frozen" computer, even though with patience
6270    # the test eventually succeeds (with a max line length of 256k).
6271    # Instead, let's just punt: use the minimum linelength reported by
6272    # all of the supported platforms: 8192 (on NT/2K/XP).
6273    lt_cv_sys_max_cmd_len=8192;
6274    ;;
6275
6276  mint*)
6277    # On MiNT this can take a long time and run out of memory.
6278    lt_cv_sys_max_cmd_len=8192;
6279    ;;
6280
6281  amigaos*)
6282    # On AmigaOS with pdksh, this test takes hours, literally.
6283    # So we just punt and use a minimum line length of 8192.
6284    lt_cv_sys_max_cmd_len=8192;
6285    ;;
6286
6287  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6288    # This has been around since 386BSD, at least.  Likely further.
6289    if test -x /sbin/sysctl; then
6290      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6291    elif test -x /usr/sbin/sysctl; then
6292      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6293    else
6294      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6295    fi
6296    # And add a safety zone
6297    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6298    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6299    ;;
6300
6301  interix*)
6302    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6303    lt_cv_sys_max_cmd_len=196608
6304    ;;
6305
6306  os2*)
6307    # The test takes a long time on OS/2.
6308    lt_cv_sys_max_cmd_len=8192
6309    ;;
6310
6311  osf*)
6312    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6313    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6314    # nice to cause kernel panics so lets avoid the loop below.
6315    # First set a reasonable default.
6316    lt_cv_sys_max_cmd_len=16384
6317    #
6318    if test -x /sbin/sysconfig; then
6319      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6320        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6321      esac
6322    fi
6323    ;;
6324  sco3.2v5*)
6325    lt_cv_sys_max_cmd_len=102400
6326    ;;
6327  sysv5* | sco5v6* | sysv4.2uw2*)
6328    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6329    if test -n "$kargmax"; then
6330      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6331    else
6332      lt_cv_sys_max_cmd_len=32768
6333    fi
6334    ;;
6335  *)
6336    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6337    if test -n "$lt_cv_sys_max_cmd_len"; then
6338      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6339      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6340    else
6341      # Make teststring a little bigger before we do anything with it.
6342      # a 1K string should be a reasonable start.
6343      for i in 1 2 3 4 5 6 7 8 ; do
6344        teststring=$teststring$teststring
6345      done
6346      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6347      # If test is not a shell built-in, we'll probably end up computing a
6348      # maximum length that is only half of the actual maximum length, but
6349      # we can't tell.
6350      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6351	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6352	      test $i != 17 # 1/2 MB should be enough
6353      do
6354        i=`expr $i + 1`
6355        teststring=$teststring$teststring
6356      done
6357      # Only check the string length outside the loop.
6358      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6359      teststring=
6360      # Add a significant safety factor because C++ compilers can tack on
6361      # massive amounts of additional arguments before passing them to the
6362      # linker.  It appears as though 1/2 is a usable value.
6363      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6364    fi
6365    ;;
6366  esac
6367
6368fi
6369
6370if test -n $lt_cv_sys_max_cmd_len ; then
6371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6372$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6373else
6374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6375$as_echo "none" >&6; }
6376fi
6377max_cmd_len=$lt_cv_sys_max_cmd_len
6378
6379
6380
6381
6382
6383
6384: ${CP="cp -f"}
6385: ${MV="mv -f"}
6386: ${RM="rm -f"}
6387
6388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6389$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6390# Try some XSI features
6391xsi_shell=no
6392( _lt_dummy="a/b/c"
6393  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6394      = c,a/b,b/c, \
6395    && eval 'test $(( 1 + 1 )) -eq 2 \
6396    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6397  && xsi_shell=yes
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6399$as_echo "$xsi_shell" >&6; }
6400
6401
6402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6403$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6404lt_shell_append=no
6405( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6406    >/dev/null 2>&1 \
6407  && lt_shell_append=yes
6408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6409$as_echo "$lt_shell_append" >&6; }
6410
6411
6412if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6413  lt_unset=unset
6414else
6415  lt_unset=false
6416fi
6417
6418
6419
6420
6421
6422# test EBCDIC or ASCII
6423case `echo X|tr X '\101'` in
6424 A) # ASCII based system
6425    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6426  lt_SP2NL='tr \040 \012'
6427  lt_NL2SP='tr \015\012 \040\040'
6428  ;;
6429 *) # EBCDIC based system
6430  lt_SP2NL='tr \100 \n'
6431  lt_NL2SP='tr \r\n \100\100'
6432  ;;
6433esac
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6444$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6445if ${lt_cv_to_host_file_cmd+:} false; then :
6446  $as_echo_n "(cached) " >&6
6447else
6448  case $host in
6449  *-*-mingw* )
6450    case $build in
6451      *-*-mingw* ) # actually msys
6452        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6453        ;;
6454      *-*-cygwin* )
6455        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6456        ;;
6457      * ) # otherwise, assume *nix
6458        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6459        ;;
6460    esac
6461    ;;
6462  *-*-cygwin* )
6463    case $build in
6464      *-*-mingw* ) # actually msys
6465        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6466        ;;
6467      *-*-cygwin* )
6468        lt_cv_to_host_file_cmd=func_convert_file_noop
6469        ;;
6470      * ) # otherwise, assume *nix
6471        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6472        ;;
6473    esac
6474    ;;
6475  * ) # unhandled hosts (and "normal" native builds)
6476    lt_cv_to_host_file_cmd=func_convert_file_noop
6477    ;;
6478esac
6479
6480fi
6481
6482to_host_file_cmd=$lt_cv_to_host_file_cmd
6483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6484$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6485
6486
6487
6488
6489
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6491$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6492if ${lt_cv_to_tool_file_cmd+:} false; then :
6493  $as_echo_n "(cached) " >&6
6494else
6495  #assume ordinary cross tools, or native build.
6496lt_cv_to_tool_file_cmd=func_convert_file_noop
6497case $host in
6498  *-*-mingw* )
6499    case $build in
6500      *-*-mingw* ) # actually msys
6501        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6502        ;;
6503    esac
6504    ;;
6505esac
6506
6507fi
6508
6509to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6511$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6512
6513
6514
6515
6516
6517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6518$as_echo_n "checking for $LD option to reload object files... " >&6; }
6519if ${lt_cv_ld_reload_flag+:} false; then :
6520  $as_echo_n "(cached) " >&6
6521else
6522  lt_cv_ld_reload_flag='-r'
6523fi
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6525$as_echo "$lt_cv_ld_reload_flag" >&6; }
6526reload_flag=$lt_cv_ld_reload_flag
6527case $reload_flag in
6528"" | " "*) ;;
6529*) reload_flag=" $reload_flag" ;;
6530esac
6531reload_cmds='$LD$reload_flag -o $output$reload_objs'
6532case $host_os in
6533  cygwin* | mingw* | pw32* | cegcc*)
6534    if test "$GCC" != yes; then
6535      reload_cmds=false
6536    fi
6537    ;;
6538  darwin*)
6539    if test "$GCC" = yes; then
6540      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6541    else
6542      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6543    fi
6544    ;;
6545esac
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555if test -n "$ac_tool_prefix"; then
6556  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6557set dummy ${ac_tool_prefix}objdump; ac_word=$2
6558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559$as_echo_n "checking for $ac_word... " >&6; }
6560if ${ac_cv_prog_OBJDUMP+:} false; then :
6561  $as_echo_n "(cached) " >&6
6562else
6563  if test -n "$OBJDUMP"; then
6564  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6565else
6566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567for as_dir in $PATH
6568do
6569  IFS=$as_save_IFS
6570  test -z "$as_dir" && as_dir=.
6571    for ac_exec_ext in '' $ac_executable_extensions; do
6572  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575    break 2
6576  fi
6577done
6578  done
6579IFS=$as_save_IFS
6580
6581fi
6582fi
6583OBJDUMP=$ac_cv_prog_OBJDUMP
6584if test -n "$OBJDUMP"; then
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6586$as_echo "$OBJDUMP" >&6; }
6587else
6588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589$as_echo "no" >&6; }
6590fi
6591
6592
6593fi
6594if test -z "$ac_cv_prog_OBJDUMP"; then
6595  ac_ct_OBJDUMP=$OBJDUMP
6596  # Extract the first word of "objdump", so it can be a program name with args.
6597set dummy objdump; ac_word=$2
6598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6599$as_echo_n "checking for $ac_word... " >&6; }
6600if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6601  $as_echo_n "(cached) " >&6
6602else
6603  if test -n "$ac_ct_OBJDUMP"; then
6604  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6605else
6606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6607for as_dir in $PATH
6608do
6609  IFS=$as_save_IFS
6610  test -z "$as_dir" && as_dir=.
6611    for ac_exec_ext in '' $ac_executable_extensions; do
6612  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6613    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6614    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615    break 2
6616  fi
6617done
6618  done
6619IFS=$as_save_IFS
6620
6621fi
6622fi
6623ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6624if test -n "$ac_ct_OBJDUMP"; then
6625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6626$as_echo "$ac_ct_OBJDUMP" >&6; }
6627else
6628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6629$as_echo "no" >&6; }
6630fi
6631
6632  if test "x$ac_ct_OBJDUMP" = x; then
6633    OBJDUMP="false"
6634  else
6635    case $cross_compiling:$ac_tool_warned in
6636yes:)
6637{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6638$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6639ac_tool_warned=yes ;;
6640esac
6641    OBJDUMP=$ac_ct_OBJDUMP
6642  fi
6643else
6644  OBJDUMP="$ac_cv_prog_OBJDUMP"
6645fi
6646
6647test -z "$OBJDUMP" && OBJDUMP=objdump
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6658$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6659if ${lt_cv_deplibs_check_method+:} false; then :
6660  $as_echo_n "(cached) " >&6
6661else
6662  lt_cv_file_magic_cmd='$MAGIC_CMD'
6663lt_cv_file_magic_test_file=
6664lt_cv_deplibs_check_method='unknown'
6665# Need to set the preceding variable on all platforms that support
6666# interlibrary dependencies.
6667# 'none' -- dependencies not supported.
6668# `unknown' -- same as none, but documents that we really don't know.
6669# 'pass_all' -- all dependencies passed with no checks.
6670# 'test_compile' -- check by making test program.
6671# 'file_magic [[regex]]' -- check by looking for files in library path
6672# which responds to the $file_magic_cmd with a given extended regex.
6673# If you have `file' or equivalent on your system and you're not sure
6674# whether `pass_all' will *always* work, you probably want this one.
6675
6676case $host_os in
6677aix[4-9]*)
6678  lt_cv_deplibs_check_method=pass_all
6679  ;;
6680
6681beos*)
6682  lt_cv_deplibs_check_method=pass_all
6683  ;;
6684
6685bsdi[45]*)
6686  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6687  lt_cv_file_magic_cmd='/usr/bin/file -L'
6688  lt_cv_file_magic_test_file=/shlib/libc.so
6689  ;;
6690
6691cygwin*)
6692  # func_win32_libid is a shell function defined in ltmain.sh
6693  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6694  lt_cv_file_magic_cmd='func_win32_libid'
6695  ;;
6696
6697mingw* | pw32*)
6698  # Base MSYS/MinGW do not provide the 'file' command needed by
6699  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6700  # unless we find 'file', for example because we are cross-compiling.
6701  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6702  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6703    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6704    lt_cv_file_magic_cmd='func_win32_libid'
6705  else
6706    # Keep this pattern in sync with the one in func_win32_libid.
6707    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6708    lt_cv_file_magic_cmd='$OBJDUMP -f'
6709  fi
6710  ;;
6711
6712cegcc*)
6713  # use the weaker test based on 'objdump'. See mingw*.
6714  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6715  lt_cv_file_magic_cmd='$OBJDUMP -f'
6716  ;;
6717
6718darwin* | rhapsody*)
6719  lt_cv_deplibs_check_method=pass_all
6720  ;;
6721
6722freebsd* | dragonfly*)
6723  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6724    case $host_cpu in
6725    i*86 )
6726      # Not sure whether the presence of OpenBSD here was a mistake.
6727      # Let's accept both of them until this is cleared up.
6728      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6729      lt_cv_file_magic_cmd=/usr/bin/file
6730      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6731      ;;
6732    esac
6733  else
6734    lt_cv_deplibs_check_method=pass_all
6735  fi
6736  ;;
6737
6738gnu*)
6739  lt_cv_deplibs_check_method=pass_all
6740  ;;
6741
6742haiku*)
6743  lt_cv_deplibs_check_method=pass_all
6744  ;;
6745
6746hpux10.20* | hpux11*)
6747  lt_cv_file_magic_cmd=/usr/bin/file
6748  case $host_cpu in
6749  ia64*)
6750    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6751    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6752    ;;
6753  hppa*64*)
6754    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]'
6755    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6756    ;;
6757  *)
6758    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6759    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6760    ;;
6761  esac
6762  ;;
6763
6764interix[3-9]*)
6765  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6766  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6767  ;;
6768
6769irix5* | irix6* | nonstopux*)
6770  case $LD in
6771  *-32|*"-32 ") libmagic=32-bit;;
6772  *-n32|*"-n32 ") libmagic=N32;;
6773  *-64|*"-64 ") libmagic=64-bit;;
6774  *) libmagic=never-match;;
6775  esac
6776  lt_cv_deplibs_check_method=pass_all
6777  ;;
6778
6779# This must be glibc/ELF.
6780linux* | k*bsd*-gnu | kopensolaris*-gnu)
6781  lt_cv_deplibs_check_method=pass_all
6782  ;;
6783
6784netbsd*)
6785  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6786    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6787  else
6788    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6789  fi
6790  ;;
6791
6792newos6*)
6793  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6794  lt_cv_file_magic_cmd=/usr/bin/file
6795  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6796  ;;
6797
6798*nto* | *qnx*)
6799  lt_cv_deplibs_check_method=pass_all
6800  ;;
6801
6802openbsd*)
6803  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6804    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6805  else
6806    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6807  fi
6808  ;;
6809
6810osf3* | osf4* | osf5*)
6811  lt_cv_deplibs_check_method=pass_all
6812  ;;
6813
6814rdos*)
6815  lt_cv_deplibs_check_method=pass_all
6816  ;;
6817
6818solaris*)
6819  lt_cv_deplibs_check_method=pass_all
6820  ;;
6821
6822sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6823  lt_cv_deplibs_check_method=pass_all
6824  ;;
6825
6826sysv4 | sysv4.3*)
6827  case $host_vendor in
6828  motorola)
6829    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]'
6830    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6831    ;;
6832  ncr)
6833    lt_cv_deplibs_check_method=pass_all
6834    ;;
6835  sequent)
6836    lt_cv_file_magic_cmd='/bin/file'
6837    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6838    ;;
6839  sni)
6840    lt_cv_file_magic_cmd='/bin/file'
6841    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6842    lt_cv_file_magic_test_file=/lib/libc.so
6843    ;;
6844  siemens)
6845    lt_cv_deplibs_check_method=pass_all
6846    ;;
6847  pc)
6848    lt_cv_deplibs_check_method=pass_all
6849    ;;
6850  esac
6851  ;;
6852
6853tpf*)
6854  lt_cv_deplibs_check_method=pass_all
6855  ;;
6856esac
6857
6858fi
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6860$as_echo "$lt_cv_deplibs_check_method" >&6; }
6861
6862file_magic_glob=
6863want_nocaseglob=no
6864if test "$build" = "$host"; then
6865  case $host_os in
6866  mingw* | pw32*)
6867    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6868      want_nocaseglob=yes
6869    else
6870      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6871    fi
6872    ;;
6873  esac
6874fi
6875
6876file_magic_cmd=$lt_cv_file_magic_cmd
6877deplibs_check_method=$lt_cv_deplibs_check_method
6878test -z "$deplibs_check_method" && deplibs_check_method=unknown
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901if test -n "$ac_tool_prefix"; then
6902  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6903set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905$as_echo_n "checking for $ac_word... " >&6; }
6906if ${ac_cv_prog_DLLTOOL+:} false; then :
6907  $as_echo_n "(cached) " >&6
6908else
6909  if test -n "$DLLTOOL"; then
6910  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6911else
6912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913for as_dir in $PATH
6914do
6915  IFS=$as_save_IFS
6916  test -z "$as_dir" && as_dir=.
6917    for ac_exec_ext in '' $ac_executable_extensions; do
6918  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6919    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921    break 2
6922  fi
6923done
6924  done
6925IFS=$as_save_IFS
6926
6927fi
6928fi
6929DLLTOOL=$ac_cv_prog_DLLTOOL
6930if test -n "$DLLTOOL"; then
6931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6932$as_echo "$DLLTOOL" >&6; }
6933else
6934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935$as_echo "no" >&6; }
6936fi
6937
6938
6939fi
6940if test -z "$ac_cv_prog_DLLTOOL"; then
6941  ac_ct_DLLTOOL=$DLLTOOL
6942  # Extract the first word of "dlltool", so it can be a program name with args.
6943set dummy dlltool; ac_word=$2
6944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945$as_echo_n "checking for $ac_word... " >&6; }
6946if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6947  $as_echo_n "(cached) " >&6
6948else
6949  if test -n "$ac_ct_DLLTOOL"; then
6950  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6951else
6952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953for as_dir in $PATH
6954do
6955  IFS=$as_save_IFS
6956  test -z "$as_dir" && as_dir=.
6957    for ac_exec_ext in '' $ac_executable_extensions; do
6958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6959    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961    break 2
6962  fi
6963done
6964  done
6965IFS=$as_save_IFS
6966
6967fi
6968fi
6969ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6970if test -n "$ac_ct_DLLTOOL"; then
6971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6972$as_echo "$ac_ct_DLLTOOL" >&6; }
6973else
6974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975$as_echo "no" >&6; }
6976fi
6977
6978  if test "x$ac_ct_DLLTOOL" = x; then
6979    DLLTOOL="false"
6980  else
6981    case $cross_compiling:$ac_tool_warned in
6982yes:)
6983{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985ac_tool_warned=yes ;;
6986esac
6987    DLLTOOL=$ac_ct_DLLTOOL
6988  fi
6989else
6990  DLLTOOL="$ac_cv_prog_DLLTOOL"
6991fi
6992
6993test -z "$DLLTOOL" && DLLTOOL=dlltool
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7005$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7006if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7007  $as_echo_n "(cached) " >&6
7008else
7009  lt_cv_sharedlib_from_linklib_cmd='unknown'
7010
7011case $host_os in
7012cygwin* | mingw* | pw32* | cegcc*)
7013  # two different shell functions defined in ltmain.sh
7014  # decide which to use based on capabilities of $DLLTOOL
7015  case `$DLLTOOL --help 2>&1` in
7016  *--identify-strict*)
7017    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7018    ;;
7019  *)
7020    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7021    ;;
7022  esac
7023  ;;
7024*)
7025  # fallback: assume linklib IS sharedlib
7026  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7027  ;;
7028esac
7029
7030fi
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7032$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7033sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7034test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7035
7036
7037
7038
7039
7040
7041
7042if test -n "$ac_tool_prefix"; then
7043  for ac_prog in ar
7044  do
7045    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7046set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048$as_echo_n "checking for $ac_word... " >&6; }
7049if ${ac_cv_prog_AR+:} false; then :
7050  $as_echo_n "(cached) " >&6
7051else
7052  if test -n "$AR"; then
7053  ac_cv_prog_AR="$AR" # Let the user override the test.
7054else
7055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056for as_dir in $PATH
7057do
7058  IFS=$as_save_IFS
7059  test -z "$as_dir" && as_dir=.
7060    for ac_exec_ext in '' $ac_executable_extensions; do
7061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064    break 2
7065  fi
7066done
7067  done
7068IFS=$as_save_IFS
7069
7070fi
7071fi
7072AR=$ac_cv_prog_AR
7073if test -n "$AR"; then
7074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7075$as_echo "$AR" >&6; }
7076else
7077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078$as_echo "no" >&6; }
7079fi
7080
7081
7082    test -n "$AR" && break
7083  done
7084fi
7085if test -z "$AR"; then
7086  ac_ct_AR=$AR
7087  for ac_prog in ar
7088do
7089  # Extract the first word of "$ac_prog", so it can be a program name with args.
7090set dummy $ac_prog; ac_word=$2
7091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092$as_echo_n "checking for $ac_word... " >&6; }
7093if ${ac_cv_prog_ac_ct_AR+:} false; then :
7094  $as_echo_n "(cached) " >&6
7095else
7096  if test -n "$ac_ct_AR"; then
7097  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7098else
7099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100for as_dir in $PATH
7101do
7102  IFS=$as_save_IFS
7103  test -z "$as_dir" && as_dir=.
7104    for ac_exec_ext in '' $ac_executable_extensions; do
7105  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106    ac_cv_prog_ac_ct_AR="$ac_prog"
7107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108    break 2
7109  fi
7110done
7111  done
7112IFS=$as_save_IFS
7113
7114fi
7115fi
7116ac_ct_AR=$ac_cv_prog_ac_ct_AR
7117if test -n "$ac_ct_AR"; then
7118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7119$as_echo "$ac_ct_AR" >&6; }
7120else
7121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122$as_echo "no" >&6; }
7123fi
7124
7125
7126  test -n "$ac_ct_AR" && break
7127done
7128
7129  if test "x$ac_ct_AR" = x; then
7130    AR="false"
7131  else
7132    case $cross_compiling:$ac_tool_warned in
7133yes:)
7134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136ac_tool_warned=yes ;;
7137esac
7138    AR=$ac_ct_AR
7139  fi
7140fi
7141
7142: ${AR=ar}
7143: ${AR_FLAGS=cru}
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7156$as_echo_n "checking for archiver @FILE support... " >&6; }
7157if ${lt_cv_ar_at_file+:} false; then :
7158  $as_echo_n "(cached) " >&6
7159else
7160  lt_cv_ar_at_file=no
7161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162/* end confdefs.h.  */
7163
7164int
7165main ()
7166{
7167
7168  ;
7169  return 0;
7170}
7171_ACEOF
7172if ac_fn_c_try_compile "$LINENO"; then :
7173  echo conftest.$ac_objext > conftest.lst
7174      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7175      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7176  (eval $lt_ar_try) 2>&5
7177  ac_status=$?
7178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7179  test $ac_status = 0; }
7180      if test "$ac_status" -eq 0; then
7181	# Ensure the archiver fails upon bogus file names.
7182	rm -f conftest.$ac_objext libconftest.a
7183	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7184  (eval $lt_ar_try) 2>&5
7185  ac_status=$?
7186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187  test $ac_status = 0; }
7188	if test "$ac_status" -ne 0; then
7189          lt_cv_ar_at_file=@
7190        fi
7191      fi
7192      rm -f conftest.* libconftest.a
7193
7194fi
7195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7196
7197fi
7198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7199$as_echo "$lt_cv_ar_at_file" >&6; }
7200
7201if test "x$lt_cv_ar_at_file" = xno; then
7202  archiver_list_spec=
7203else
7204  archiver_list_spec=$lt_cv_ar_at_file
7205fi
7206
7207
7208
7209
7210
7211
7212
7213if test -n "$ac_tool_prefix"; then
7214  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7215set dummy ${ac_tool_prefix}strip; ac_word=$2
7216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217$as_echo_n "checking for $ac_word... " >&6; }
7218if ${ac_cv_prog_STRIP+:} false; then :
7219  $as_echo_n "(cached) " >&6
7220else
7221  if test -n "$STRIP"; then
7222  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7223else
7224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225for as_dir in $PATH
7226do
7227  IFS=$as_save_IFS
7228  test -z "$as_dir" && as_dir=.
7229    for ac_exec_ext in '' $ac_executable_extensions; do
7230  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7231    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233    break 2
7234  fi
7235done
7236  done
7237IFS=$as_save_IFS
7238
7239fi
7240fi
7241STRIP=$ac_cv_prog_STRIP
7242if test -n "$STRIP"; then
7243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7244$as_echo "$STRIP" >&6; }
7245else
7246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247$as_echo "no" >&6; }
7248fi
7249
7250
7251fi
7252if test -z "$ac_cv_prog_STRIP"; then
7253  ac_ct_STRIP=$STRIP
7254  # Extract the first word of "strip", so it can be a program name with args.
7255set dummy strip; ac_word=$2
7256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257$as_echo_n "checking for $ac_word... " >&6; }
7258if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7259  $as_echo_n "(cached) " >&6
7260else
7261  if test -n "$ac_ct_STRIP"; then
7262  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7263else
7264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265for as_dir in $PATH
7266do
7267  IFS=$as_save_IFS
7268  test -z "$as_dir" && as_dir=.
7269    for ac_exec_ext in '' $ac_executable_extensions; do
7270  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7271    ac_cv_prog_ac_ct_STRIP="strip"
7272    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273    break 2
7274  fi
7275done
7276  done
7277IFS=$as_save_IFS
7278
7279fi
7280fi
7281ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7282if test -n "$ac_ct_STRIP"; then
7283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7284$as_echo "$ac_ct_STRIP" >&6; }
7285else
7286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287$as_echo "no" >&6; }
7288fi
7289
7290  if test "x$ac_ct_STRIP" = x; then
7291    STRIP=":"
7292  else
7293    case $cross_compiling:$ac_tool_warned in
7294yes:)
7295{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7296$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7297ac_tool_warned=yes ;;
7298esac
7299    STRIP=$ac_ct_STRIP
7300  fi
7301else
7302  STRIP="$ac_cv_prog_STRIP"
7303fi
7304
7305test -z "$STRIP" && STRIP=:
7306
7307
7308
7309
7310
7311
7312if test -n "$ac_tool_prefix"; then
7313  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7314set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316$as_echo_n "checking for $ac_word... " >&6; }
7317if ${ac_cv_prog_RANLIB+:} false; then :
7318  $as_echo_n "(cached) " >&6
7319else
7320  if test -n "$RANLIB"; then
7321  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7322else
7323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324for as_dir in $PATH
7325do
7326  IFS=$as_save_IFS
7327  test -z "$as_dir" && as_dir=.
7328    for ac_exec_ext in '' $ac_executable_extensions; do
7329  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7331    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332    break 2
7333  fi
7334done
7335  done
7336IFS=$as_save_IFS
7337
7338fi
7339fi
7340RANLIB=$ac_cv_prog_RANLIB
7341if test -n "$RANLIB"; then
7342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7343$as_echo "$RANLIB" >&6; }
7344else
7345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346$as_echo "no" >&6; }
7347fi
7348
7349
7350fi
7351if test -z "$ac_cv_prog_RANLIB"; then
7352  ac_ct_RANLIB=$RANLIB
7353  # Extract the first word of "ranlib", so it can be a program name with args.
7354set dummy ranlib; ac_word=$2
7355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356$as_echo_n "checking for $ac_word... " >&6; }
7357if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7358  $as_echo_n "(cached) " >&6
7359else
7360  if test -n "$ac_ct_RANLIB"; then
7361  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7362else
7363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364for as_dir in $PATH
7365do
7366  IFS=$as_save_IFS
7367  test -z "$as_dir" && as_dir=.
7368    for ac_exec_ext in '' $ac_executable_extensions; do
7369  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370    ac_cv_prog_ac_ct_RANLIB="ranlib"
7371    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372    break 2
7373  fi
7374done
7375  done
7376IFS=$as_save_IFS
7377
7378fi
7379fi
7380ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7381if test -n "$ac_ct_RANLIB"; then
7382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7383$as_echo "$ac_ct_RANLIB" >&6; }
7384else
7385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386$as_echo "no" >&6; }
7387fi
7388
7389  if test "x$ac_ct_RANLIB" = x; then
7390    RANLIB=":"
7391  else
7392    case $cross_compiling:$ac_tool_warned in
7393yes:)
7394{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396ac_tool_warned=yes ;;
7397esac
7398    RANLIB=$ac_ct_RANLIB
7399  fi
7400else
7401  RANLIB="$ac_cv_prog_RANLIB"
7402fi
7403
7404test -z "$RANLIB" && RANLIB=:
7405
7406
7407
7408
7409
7410
7411# Determine commands to create old-style static archives.
7412old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7413old_postinstall_cmds='chmod 644 $oldlib'
7414old_postuninstall_cmds=
7415
7416if test -n "$RANLIB"; then
7417  case $host_os in
7418  openbsd*)
7419    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7420    ;;
7421  *)
7422    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7423    ;;
7424  esac
7425  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7426fi
7427
7428case $host_os in
7429  darwin*)
7430    lock_old_archive_extraction=yes ;;
7431  *)
7432    lock_old_archive_extraction=no ;;
7433esac
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473# If no C compiler was specified, use CC.
7474LTCC=${LTCC-"$CC"}
7475
7476# If no C compiler flags were specified, use CFLAGS.
7477LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7478
7479# Allow CC to be a program name with arguments.
7480compiler=$CC
7481
7482
7483# Check for command to grab the raw symbol name followed by C symbol from nm.
7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7485$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7486if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7487  $as_echo_n "(cached) " >&6
7488else
7489
7490# These are sane defaults that work on at least a few old systems.
7491# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7492
7493# Character class describing NM global symbol codes.
7494symcode='[BCDEGRST]'
7495
7496# Regexp to match symbols that can be accessed directly from C.
7497sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7498
7499# Define system-specific variables.
7500case $host_os in
7501aix*)
7502  symcode='[BCDT]'
7503  ;;
7504cygwin* | mingw* | pw32* | cegcc*)
7505  symcode='[ABCDGISTW]'
7506  ;;
7507hpux*)
7508  if test "$host_cpu" = ia64; then
7509    symcode='[ABCDEGRST]'
7510  fi
7511  ;;
7512irix* | nonstopux*)
7513  symcode='[BCDEGRST]'
7514  ;;
7515osf*)
7516  symcode='[BCDEGQRST]'
7517  ;;
7518solaris*)
7519  symcode='[BDRT]'
7520  ;;
7521sco3.2v5*)
7522  symcode='[DT]'
7523  ;;
7524sysv4.2uw2*)
7525  symcode='[DT]'
7526  ;;
7527sysv5* | sco5v6* | unixware* | OpenUNIX*)
7528  symcode='[ABDT]'
7529  ;;
7530sysv4)
7531  symcode='[DFNSTU]'
7532  ;;
7533esac
7534
7535# If we're using GNU nm, then use its standard symbol codes.
7536case `$NM -V 2>&1` in
7537*GNU* | *'with BFD'*)
7538  symcode='[ABCDGIRSTW]' ;;
7539esac
7540
7541# Transform an extracted symbol line into a proper C declaration.
7542# Some systems (esp. on ia64) link data and code symbols differently,
7543# so use this general approach.
7544lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7545
7546# Transform an extracted symbol line into symbol name and symbol address
7547lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7548lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7549
7550# Handle CRLF in mingw tool chain
7551opt_cr=
7552case $build_os in
7553mingw*)
7554  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7555  ;;
7556esac
7557
7558# Try without a prefix underscore, then with it.
7559for ac_symprfx in "" "_"; do
7560
7561  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7562  symxfrm="\\1 $ac_symprfx\\2 \\2"
7563
7564  # Write the raw and C identifiers.
7565  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7566    # Fake it for dumpbin and say T for any non-static function
7567    # and D for any global variable.
7568    # Also find C++ and __fastcall symbols from MSVC++,
7569    # which start with @ or ?.
7570    lt_cv_sys_global_symbol_pipe="$AWK '"\
7571"     {last_section=section; section=\$ 3};"\
7572"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7573"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7574"     \$ 0!~/External *\|/{next};"\
7575"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7576"     {if(hide[section]) next};"\
7577"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7578"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7579"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7580"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7581"     ' prfx=^$ac_symprfx"
7582  else
7583    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7584  fi
7585  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7586
7587  # Check to see that the pipe works correctly.
7588  pipe_works=no
7589
7590  rm -f conftest*
7591  cat > conftest.$ac_ext <<_LT_EOF
7592#ifdef __cplusplus
7593extern "C" {
7594#endif
7595char nm_test_var;
7596void nm_test_func(void);
7597void nm_test_func(void){}
7598#ifdef __cplusplus
7599}
7600#endif
7601int main(){nm_test_var='a';nm_test_func();return(0);}
7602_LT_EOF
7603
7604  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7605  (eval $ac_compile) 2>&5
7606  ac_status=$?
7607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7608  test $ac_status = 0; }; then
7609    # Now try to grab the symbols.
7610    nlist=conftest.nm
7611    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7612  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7613  ac_status=$?
7614  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7615  test $ac_status = 0; } && test -s "$nlist"; then
7616      # Try sorting and uniquifying the output.
7617      if sort "$nlist" | uniq > "$nlist"T; then
7618	mv -f "$nlist"T "$nlist"
7619      else
7620	rm -f "$nlist"T
7621      fi
7622
7623      # Make sure that we snagged all the symbols we need.
7624      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7625	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7626	  cat <<_LT_EOF > conftest.$ac_ext
7627/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7628#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7629/* DATA imports from DLLs on WIN32 con't be const, because runtime
7630   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7631# define LT_DLSYM_CONST
7632#elif defined(__osf__)
7633/* This system does not cope well with relocations in const data.  */
7634# define LT_DLSYM_CONST
7635#else
7636# define LT_DLSYM_CONST const
7637#endif
7638
7639#ifdef __cplusplus
7640extern "C" {
7641#endif
7642
7643_LT_EOF
7644	  # Now generate the symbol file.
7645	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7646
7647	  cat <<_LT_EOF >> conftest.$ac_ext
7648
7649/* The mapping between symbol names and symbols.  */
7650LT_DLSYM_CONST struct {
7651  const char *name;
7652  void       *address;
7653}
7654lt__PROGRAM__LTX_preloaded_symbols[] =
7655{
7656  { "@PROGRAM@", (void *) 0 },
7657_LT_EOF
7658	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7659	  cat <<\_LT_EOF >> conftest.$ac_ext
7660  {0, (void *) 0}
7661};
7662
7663/* This works around a problem in FreeBSD linker */
7664#ifdef FREEBSD_WORKAROUND
7665static const void *lt_preloaded_setup() {
7666  return lt__PROGRAM__LTX_preloaded_symbols;
7667}
7668#endif
7669
7670#ifdef __cplusplus
7671}
7672#endif
7673_LT_EOF
7674	  # Now try linking the two files.
7675	  mv conftest.$ac_objext conftstm.$ac_objext
7676	  lt_globsym_save_LIBS=$LIBS
7677	  lt_globsym_save_CFLAGS=$CFLAGS
7678	  LIBS="conftstm.$ac_objext"
7679	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7680	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7681  (eval $ac_link) 2>&5
7682  ac_status=$?
7683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7684  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7685	    pipe_works=yes
7686	  fi
7687	  LIBS=$lt_globsym_save_LIBS
7688	  CFLAGS=$lt_globsym_save_CFLAGS
7689	else
7690	  echo "cannot find nm_test_func in $nlist" >&5
7691	fi
7692      else
7693	echo "cannot find nm_test_var in $nlist" >&5
7694      fi
7695    else
7696      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7697    fi
7698  else
7699    echo "$progname: failed program was:" >&5
7700    cat conftest.$ac_ext >&5
7701  fi
7702  rm -rf conftest* conftst*
7703
7704  # Do not use the global_symbol_pipe unless it works.
7705  if test "$pipe_works" = yes; then
7706    break
7707  else
7708    lt_cv_sys_global_symbol_pipe=
7709  fi
7710done
7711
7712fi
7713
7714if test -z "$lt_cv_sys_global_symbol_pipe"; then
7715  lt_cv_sys_global_symbol_to_cdecl=
7716fi
7717if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7719$as_echo "failed" >&6; }
7720else
7721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7722$as_echo "ok" >&6; }
7723fi
7724
7725# Response file support.
7726if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7727  nm_file_list_spec='@'
7728elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7729  nm_file_list_spec='@'
7730fi
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7759$as_echo_n "checking for sysroot... " >&6; }
7760
7761# Check whether --with-sysroot was given.
7762if test "${with_sysroot+set}" = set; then :
7763  withval=$with_sysroot;
7764else
7765  with_sysroot=no
7766fi
7767
7768
7769lt_sysroot=
7770case ${with_sysroot} in #(
7771 yes)
7772   if test "$GCC" = yes; then
7773     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7774   fi
7775   ;; #(
7776 /*)
7777   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7778   ;; #(
7779 no|'')
7780   ;; #(
7781 *)
7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7783$as_echo "${with_sysroot}" >&6; }
7784   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7785   ;;
7786esac
7787
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7789$as_echo "${lt_sysroot:-no}" >&6; }
7790
7791
7792
7793
7794
7795# Check whether --enable-libtool-lock was given.
7796if test "${enable_libtool_lock+set}" = set; then :
7797  enableval=$enable_libtool_lock;
7798fi
7799
7800test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7801
7802# Some flags need to be propagated to the compiler or linker for good
7803# libtool support.
7804case $host in
7805ia64-*-hpux*)
7806  # Find out which ABI we are using.
7807  echo 'int i;' > conftest.$ac_ext
7808  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7809  (eval $ac_compile) 2>&5
7810  ac_status=$?
7811  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7812  test $ac_status = 0; }; then
7813    case `/usr/bin/file conftest.$ac_objext` in
7814      *ELF-32*)
7815	HPUX_IA64_MODE="32"
7816	;;
7817      *ELF-64*)
7818	HPUX_IA64_MODE="64"
7819	;;
7820    esac
7821  fi
7822  rm -rf conftest*
7823  ;;
7824*-*-irix6*)
7825  # Find out which ABI we are using.
7826  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7827  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7828  (eval $ac_compile) 2>&5
7829  ac_status=$?
7830  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7831  test $ac_status = 0; }; then
7832    if test "$lt_cv_prog_gnu_ld" = yes; then
7833      case `/usr/bin/file conftest.$ac_objext` in
7834	*32-bit*)
7835	  LD="${LD-ld} -melf32bsmip"
7836	  ;;
7837	*N32*)
7838	  LD="${LD-ld} -melf32bmipn32"
7839	  ;;
7840	*64-bit*)
7841	  LD="${LD-ld} -melf64bmip"
7842	;;
7843      esac
7844    else
7845      case `/usr/bin/file conftest.$ac_objext` in
7846	*32-bit*)
7847	  LD="${LD-ld} -32"
7848	  ;;
7849	*N32*)
7850	  LD="${LD-ld} -n32"
7851	  ;;
7852	*64-bit*)
7853	  LD="${LD-ld} -64"
7854	  ;;
7855      esac
7856    fi
7857  fi
7858  rm -rf conftest*
7859  ;;
7860
7861x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7862s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7863  # Find out which ABI we are using.
7864  echo 'int i;' > conftest.$ac_ext
7865  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7866  (eval $ac_compile) 2>&5
7867  ac_status=$?
7868  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7869  test $ac_status = 0; }; then
7870    case `/usr/bin/file conftest.o` in
7871      *32-bit*)
7872	case $host in
7873	  x86_64-*kfreebsd*-gnu)
7874	    LD="${LD-ld} -m elf_i386_fbsd"
7875	    ;;
7876	  x86_64-*linux*)
7877	    LD="${LD-ld} -m elf_i386"
7878	    ;;
7879	  powerpc64le-*linux*)
7880	    LD="${LD-ld} -m elf32lppclinux"
7881	    ;;
7882	  powerpc64-*linux*)
7883	    LD="${LD-ld} -m elf32ppclinux"
7884	    ;;
7885	  s390x-*linux*)
7886	    LD="${LD-ld} -m elf_s390"
7887	    ;;
7888	  sparc64-*linux*)
7889	    LD="${LD-ld} -m elf32_sparc"
7890	    ;;
7891	esac
7892	;;
7893      *64-bit*)
7894	case $host in
7895	  x86_64-*kfreebsd*-gnu)
7896	    LD="${LD-ld} -m elf_x86_64_fbsd"
7897	    ;;
7898	  x86_64-*linux*)
7899	    LD="${LD-ld} -m elf_x86_64"
7900	    ;;
7901	  powerpcle-*linux*)
7902	    LD="${LD-ld} -m elf64lppc"
7903	    ;;
7904	  powerpc-*linux*)
7905	    LD="${LD-ld} -m elf64ppc"
7906	    ;;
7907	  s390*-*linux*|s390*-*tpf*)
7908	    LD="${LD-ld} -m elf64_s390"
7909	    ;;
7910	  sparc*-*linux*)
7911	    LD="${LD-ld} -m elf64_sparc"
7912	    ;;
7913	esac
7914	;;
7915    esac
7916  fi
7917  rm -rf conftest*
7918  ;;
7919
7920*-*-sco3.2v5*)
7921  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7922  SAVE_CFLAGS="$CFLAGS"
7923  CFLAGS="$CFLAGS -belf"
7924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7925$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7926if ${lt_cv_cc_needs_belf+:} false; then :
7927  $as_echo_n "(cached) " >&6
7928else
7929  ac_ext=c
7930ac_cpp='$CPP $CPPFLAGS'
7931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7933ac_compiler_gnu=$ac_cv_c_compiler_gnu
7934
7935     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936/* end confdefs.h.  */
7937
7938int
7939main ()
7940{
7941
7942  ;
7943  return 0;
7944}
7945_ACEOF
7946if ac_fn_c_try_link "$LINENO"; then :
7947  lt_cv_cc_needs_belf=yes
7948else
7949  lt_cv_cc_needs_belf=no
7950fi
7951rm -f core conftest.err conftest.$ac_objext \
7952    conftest$ac_exeext conftest.$ac_ext
7953     ac_ext=c
7954ac_cpp='$CPP $CPPFLAGS'
7955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7957ac_compiler_gnu=$ac_cv_c_compiler_gnu
7958
7959fi
7960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7961$as_echo "$lt_cv_cc_needs_belf" >&6; }
7962  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7963    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7964    CFLAGS="$SAVE_CFLAGS"
7965  fi
7966  ;;
7967*-*solaris*)
7968  # Find out which ABI we are using.
7969  echo 'int i;' > conftest.$ac_ext
7970  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7971  (eval $ac_compile) 2>&5
7972  ac_status=$?
7973  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974  test $ac_status = 0; }; then
7975    case `/usr/bin/file conftest.o` in
7976    *64-bit*)
7977      case $lt_cv_prog_gnu_ld in
7978      yes*)
7979        case $host in
7980        i?86-*-solaris*)
7981          LD="${LD-ld} -m elf_x86_64"
7982          ;;
7983        sparc*-*-solaris*)
7984          LD="${LD-ld} -m elf64_sparc"
7985          ;;
7986        esac
7987        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7988        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7989          LD="${LD-ld}_sol2"
7990        fi
7991        ;;
7992      *)
7993	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7994	  LD="${LD-ld} -64"
7995	fi
7996	;;
7997      esac
7998      ;;
7999    esac
8000  fi
8001  rm -rf conftest*
8002  ;;
8003esac
8004
8005need_locks="$enable_libtool_lock"
8006
8007if test -n "$ac_tool_prefix"; then
8008  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8009set dummy ${ac_tool_prefix}mt; ac_word=$2
8010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011$as_echo_n "checking for $ac_word... " >&6; }
8012if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8013  $as_echo_n "(cached) " >&6
8014else
8015  if test -n "$MANIFEST_TOOL"; then
8016  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8017else
8018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019for as_dir in $PATH
8020do
8021  IFS=$as_save_IFS
8022  test -z "$as_dir" && as_dir=.
8023    for ac_exec_ext in '' $ac_executable_extensions; do
8024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027    break 2
8028  fi
8029done
8030  done
8031IFS=$as_save_IFS
8032
8033fi
8034fi
8035MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8036if test -n "$MANIFEST_TOOL"; then
8037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8038$as_echo "$MANIFEST_TOOL" >&6; }
8039else
8040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041$as_echo "no" >&6; }
8042fi
8043
8044
8045fi
8046if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8047  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8048  # Extract the first word of "mt", so it can be a program name with args.
8049set dummy mt; ac_word=$2
8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051$as_echo_n "checking for $ac_word... " >&6; }
8052if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8053  $as_echo_n "(cached) " >&6
8054else
8055  if test -n "$ac_ct_MANIFEST_TOOL"; then
8056  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8057else
8058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059for as_dir in $PATH
8060do
8061  IFS=$as_save_IFS
8062  test -z "$as_dir" && as_dir=.
8063    for ac_exec_ext in '' $ac_executable_extensions; do
8064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067    break 2
8068  fi
8069done
8070  done
8071IFS=$as_save_IFS
8072
8073fi
8074fi
8075ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8076if test -n "$ac_ct_MANIFEST_TOOL"; then
8077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8078$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8079else
8080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081$as_echo "no" >&6; }
8082fi
8083
8084  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8085    MANIFEST_TOOL=":"
8086  else
8087    case $cross_compiling:$ac_tool_warned in
8088yes:)
8089{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091ac_tool_warned=yes ;;
8092esac
8093    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8094  fi
8095else
8096  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8097fi
8098
8099test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8101$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8102if ${lt_cv_path_mainfest_tool+:} false; then :
8103  $as_echo_n "(cached) " >&6
8104else
8105  lt_cv_path_mainfest_tool=no
8106  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8107  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8108  cat conftest.err >&5
8109  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8110    lt_cv_path_mainfest_tool=yes
8111  fi
8112  rm -f conftest*
8113fi
8114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8115$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8116if test "x$lt_cv_path_mainfest_tool" != xyes; then
8117  MANIFEST_TOOL=:
8118fi
8119
8120
8121
8122
8123
8124
8125  case $host_os in
8126    rhapsody* | darwin*)
8127    if test -n "$ac_tool_prefix"; then
8128  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8129set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131$as_echo_n "checking for $ac_word... " >&6; }
8132if ${ac_cv_prog_DSYMUTIL+:} false; then :
8133  $as_echo_n "(cached) " >&6
8134else
8135  if test -n "$DSYMUTIL"; then
8136  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8137else
8138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139for as_dir in $PATH
8140do
8141  IFS=$as_save_IFS
8142  test -z "$as_dir" && as_dir=.
8143    for ac_exec_ext in '' $ac_executable_extensions; do
8144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147    break 2
8148  fi
8149done
8150  done
8151IFS=$as_save_IFS
8152
8153fi
8154fi
8155DSYMUTIL=$ac_cv_prog_DSYMUTIL
8156if test -n "$DSYMUTIL"; then
8157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8158$as_echo "$DSYMUTIL" >&6; }
8159else
8160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161$as_echo "no" >&6; }
8162fi
8163
8164
8165fi
8166if test -z "$ac_cv_prog_DSYMUTIL"; then
8167  ac_ct_DSYMUTIL=$DSYMUTIL
8168  # Extract the first word of "dsymutil", so it can be a program name with args.
8169set dummy dsymutil; ac_word=$2
8170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171$as_echo_n "checking for $ac_word... " >&6; }
8172if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8173  $as_echo_n "(cached) " >&6
8174else
8175  if test -n "$ac_ct_DSYMUTIL"; then
8176  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8177else
8178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179for as_dir in $PATH
8180do
8181  IFS=$as_save_IFS
8182  test -z "$as_dir" && as_dir=.
8183    for ac_exec_ext in '' $ac_executable_extensions; do
8184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8185    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8187    break 2
8188  fi
8189done
8190  done
8191IFS=$as_save_IFS
8192
8193fi
8194fi
8195ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8196if test -n "$ac_ct_DSYMUTIL"; then
8197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8198$as_echo "$ac_ct_DSYMUTIL" >&6; }
8199else
8200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201$as_echo "no" >&6; }
8202fi
8203
8204  if test "x$ac_ct_DSYMUTIL" = x; then
8205    DSYMUTIL=":"
8206  else
8207    case $cross_compiling:$ac_tool_warned in
8208yes:)
8209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8211ac_tool_warned=yes ;;
8212esac
8213    DSYMUTIL=$ac_ct_DSYMUTIL
8214  fi
8215else
8216  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8217fi
8218
8219    if test -n "$ac_tool_prefix"; then
8220  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8221set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8223$as_echo_n "checking for $ac_word... " >&6; }
8224if ${ac_cv_prog_NMEDIT+:} false; then :
8225  $as_echo_n "(cached) " >&6
8226else
8227  if test -n "$NMEDIT"; then
8228  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8229else
8230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231for as_dir in $PATH
8232do
8233  IFS=$as_save_IFS
8234  test -z "$as_dir" && as_dir=.
8235    for ac_exec_ext in '' $ac_executable_extensions; do
8236  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8237    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8239    break 2
8240  fi
8241done
8242  done
8243IFS=$as_save_IFS
8244
8245fi
8246fi
8247NMEDIT=$ac_cv_prog_NMEDIT
8248if test -n "$NMEDIT"; then
8249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8250$as_echo "$NMEDIT" >&6; }
8251else
8252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8253$as_echo "no" >&6; }
8254fi
8255
8256
8257fi
8258if test -z "$ac_cv_prog_NMEDIT"; then
8259  ac_ct_NMEDIT=$NMEDIT
8260  # Extract the first word of "nmedit", so it can be a program name with args.
8261set dummy nmedit; ac_word=$2
8262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263$as_echo_n "checking for $ac_word... " >&6; }
8264if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8265  $as_echo_n "(cached) " >&6
8266else
8267  if test -n "$ac_ct_NMEDIT"; then
8268  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8269else
8270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271for as_dir in $PATH
8272do
8273  IFS=$as_save_IFS
8274  test -z "$as_dir" && as_dir=.
8275    for ac_exec_ext in '' $ac_executable_extensions; do
8276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8277    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8279    break 2
8280  fi
8281done
8282  done
8283IFS=$as_save_IFS
8284
8285fi
8286fi
8287ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8288if test -n "$ac_ct_NMEDIT"; then
8289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8290$as_echo "$ac_ct_NMEDIT" >&6; }
8291else
8292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293$as_echo "no" >&6; }
8294fi
8295
8296  if test "x$ac_ct_NMEDIT" = x; then
8297    NMEDIT=":"
8298  else
8299    case $cross_compiling:$ac_tool_warned in
8300yes:)
8301{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8302$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8303ac_tool_warned=yes ;;
8304esac
8305    NMEDIT=$ac_ct_NMEDIT
8306  fi
8307else
8308  NMEDIT="$ac_cv_prog_NMEDIT"
8309fi
8310
8311    if test -n "$ac_tool_prefix"; then
8312  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8313set dummy ${ac_tool_prefix}lipo; ac_word=$2
8314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8315$as_echo_n "checking for $ac_word... " >&6; }
8316if ${ac_cv_prog_LIPO+:} false; then :
8317  $as_echo_n "(cached) " >&6
8318else
8319  if test -n "$LIPO"; then
8320  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8321else
8322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323for as_dir in $PATH
8324do
8325  IFS=$as_save_IFS
8326  test -z "$as_dir" && as_dir=.
8327    for ac_exec_ext in '' $ac_executable_extensions; do
8328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8329    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8331    break 2
8332  fi
8333done
8334  done
8335IFS=$as_save_IFS
8336
8337fi
8338fi
8339LIPO=$ac_cv_prog_LIPO
8340if test -n "$LIPO"; then
8341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8342$as_echo "$LIPO" >&6; }
8343else
8344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345$as_echo "no" >&6; }
8346fi
8347
8348
8349fi
8350if test -z "$ac_cv_prog_LIPO"; then
8351  ac_ct_LIPO=$LIPO
8352  # Extract the first word of "lipo", so it can be a program name with args.
8353set dummy lipo; ac_word=$2
8354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355$as_echo_n "checking for $ac_word... " >&6; }
8356if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8357  $as_echo_n "(cached) " >&6
8358else
8359  if test -n "$ac_ct_LIPO"; then
8360  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8361else
8362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363for as_dir in $PATH
8364do
8365  IFS=$as_save_IFS
8366  test -z "$as_dir" && as_dir=.
8367    for ac_exec_ext in '' $ac_executable_extensions; do
8368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8369    ac_cv_prog_ac_ct_LIPO="lipo"
8370    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371    break 2
8372  fi
8373done
8374  done
8375IFS=$as_save_IFS
8376
8377fi
8378fi
8379ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8380if test -n "$ac_ct_LIPO"; then
8381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8382$as_echo "$ac_ct_LIPO" >&6; }
8383else
8384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385$as_echo "no" >&6; }
8386fi
8387
8388  if test "x$ac_ct_LIPO" = x; then
8389    LIPO=":"
8390  else
8391    case $cross_compiling:$ac_tool_warned in
8392yes:)
8393{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8394$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8395ac_tool_warned=yes ;;
8396esac
8397    LIPO=$ac_ct_LIPO
8398  fi
8399else
8400  LIPO="$ac_cv_prog_LIPO"
8401fi
8402
8403    if test -n "$ac_tool_prefix"; then
8404  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8405set dummy ${ac_tool_prefix}otool; ac_word=$2
8406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8407$as_echo_n "checking for $ac_word... " >&6; }
8408if ${ac_cv_prog_OTOOL+:} false; then :
8409  $as_echo_n "(cached) " >&6
8410else
8411  if test -n "$OTOOL"; then
8412  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8413else
8414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415for as_dir in $PATH
8416do
8417  IFS=$as_save_IFS
8418  test -z "$as_dir" && as_dir=.
8419    for ac_exec_ext in '' $ac_executable_extensions; do
8420  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8421    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8422    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8423    break 2
8424  fi
8425done
8426  done
8427IFS=$as_save_IFS
8428
8429fi
8430fi
8431OTOOL=$ac_cv_prog_OTOOL
8432if test -n "$OTOOL"; then
8433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8434$as_echo "$OTOOL" >&6; }
8435else
8436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437$as_echo "no" >&6; }
8438fi
8439
8440
8441fi
8442if test -z "$ac_cv_prog_OTOOL"; then
8443  ac_ct_OTOOL=$OTOOL
8444  # Extract the first word of "otool", so it can be a program name with args.
8445set dummy otool; ac_word=$2
8446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8447$as_echo_n "checking for $ac_word... " >&6; }
8448if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8449  $as_echo_n "(cached) " >&6
8450else
8451  if test -n "$ac_ct_OTOOL"; then
8452  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8453else
8454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455for as_dir in $PATH
8456do
8457  IFS=$as_save_IFS
8458  test -z "$as_dir" && as_dir=.
8459    for ac_exec_ext in '' $ac_executable_extensions; do
8460  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8461    ac_cv_prog_ac_ct_OTOOL="otool"
8462    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8463    break 2
8464  fi
8465done
8466  done
8467IFS=$as_save_IFS
8468
8469fi
8470fi
8471ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8472if test -n "$ac_ct_OTOOL"; then
8473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8474$as_echo "$ac_ct_OTOOL" >&6; }
8475else
8476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8477$as_echo "no" >&6; }
8478fi
8479
8480  if test "x$ac_ct_OTOOL" = x; then
8481    OTOOL=":"
8482  else
8483    case $cross_compiling:$ac_tool_warned in
8484yes:)
8485{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8486$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8487ac_tool_warned=yes ;;
8488esac
8489    OTOOL=$ac_ct_OTOOL
8490  fi
8491else
8492  OTOOL="$ac_cv_prog_OTOOL"
8493fi
8494
8495    if test -n "$ac_tool_prefix"; then
8496  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8497set dummy ${ac_tool_prefix}otool64; ac_word=$2
8498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499$as_echo_n "checking for $ac_word... " >&6; }
8500if ${ac_cv_prog_OTOOL64+:} false; then :
8501  $as_echo_n "(cached) " >&6
8502else
8503  if test -n "$OTOOL64"; then
8504  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8505else
8506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507for as_dir in $PATH
8508do
8509  IFS=$as_save_IFS
8510  test -z "$as_dir" && as_dir=.
8511    for ac_exec_ext in '' $ac_executable_extensions; do
8512  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8513    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8514    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515    break 2
8516  fi
8517done
8518  done
8519IFS=$as_save_IFS
8520
8521fi
8522fi
8523OTOOL64=$ac_cv_prog_OTOOL64
8524if test -n "$OTOOL64"; then
8525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8526$as_echo "$OTOOL64" >&6; }
8527else
8528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529$as_echo "no" >&6; }
8530fi
8531
8532
8533fi
8534if test -z "$ac_cv_prog_OTOOL64"; then
8535  ac_ct_OTOOL64=$OTOOL64
8536  # Extract the first word of "otool64", so it can be a program name with args.
8537set dummy otool64; ac_word=$2
8538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8539$as_echo_n "checking for $ac_word... " >&6; }
8540if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8541  $as_echo_n "(cached) " >&6
8542else
8543  if test -n "$ac_ct_OTOOL64"; then
8544  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8545else
8546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8547for as_dir in $PATH
8548do
8549  IFS=$as_save_IFS
8550  test -z "$as_dir" && as_dir=.
8551    for ac_exec_ext in '' $ac_executable_extensions; do
8552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8553    ac_cv_prog_ac_ct_OTOOL64="otool64"
8554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8555    break 2
8556  fi
8557done
8558  done
8559IFS=$as_save_IFS
8560
8561fi
8562fi
8563ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8564if test -n "$ac_ct_OTOOL64"; then
8565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8566$as_echo "$ac_ct_OTOOL64" >&6; }
8567else
8568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8569$as_echo "no" >&6; }
8570fi
8571
8572  if test "x$ac_ct_OTOOL64" = x; then
8573    OTOOL64=":"
8574  else
8575    case $cross_compiling:$ac_tool_warned in
8576yes:)
8577{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8578$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8579ac_tool_warned=yes ;;
8580esac
8581    OTOOL64=$ac_ct_OTOOL64
8582  fi
8583else
8584  OTOOL64="$ac_cv_prog_OTOOL64"
8585fi
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8614$as_echo_n "checking for -single_module linker flag... " >&6; }
8615if ${lt_cv_apple_cc_single_mod+:} false; then :
8616  $as_echo_n "(cached) " >&6
8617else
8618  lt_cv_apple_cc_single_mod=no
8619      if test -z "${LT_MULTI_MODULE}"; then
8620	# By default we will add the -single_module flag. You can override
8621	# by either setting the environment variable LT_MULTI_MODULE
8622	# non-empty at configure time, or by adding -multi_module to the
8623	# link flags.
8624	rm -rf libconftest.dylib*
8625	echo "int foo(void){return 1;}" > conftest.c
8626	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8627-dynamiclib -Wl,-single_module conftest.c" >&5
8628	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8629	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8630        _lt_result=$?
8631	# If there is a non-empty error log, and "single_module"
8632	# appears in it, assume the flag caused a linker warning
8633        if test -s conftest.err && $GREP single_module conftest.err; then
8634	  cat conftest.err >&5
8635	# Otherwise, if the output was created with a 0 exit code from
8636	# the compiler, it worked.
8637	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8638	  lt_cv_apple_cc_single_mod=yes
8639	else
8640	  cat conftest.err >&5
8641	fi
8642	rm -rf libconftest.dylib*
8643	rm -f conftest.*
8644      fi
8645fi
8646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8647$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8648
8649    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8650$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8651if ${lt_cv_ld_exported_symbols_list+:} false; then :
8652  $as_echo_n "(cached) " >&6
8653else
8654  lt_cv_ld_exported_symbols_list=no
8655      save_LDFLAGS=$LDFLAGS
8656      echo "_main" > conftest.sym
8657      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8658      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659/* end confdefs.h.  */
8660
8661int
8662main ()
8663{
8664
8665  ;
8666  return 0;
8667}
8668_ACEOF
8669if ac_fn_c_try_link "$LINENO"; then :
8670  lt_cv_ld_exported_symbols_list=yes
8671else
8672  lt_cv_ld_exported_symbols_list=no
8673fi
8674rm -f core conftest.err conftest.$ac_objext \
8675    conftest$ac_exeext conftest.$ac_ext
8676	LDFLAGS="$save_LDFLAGS"
8677
8678fi
8679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8680$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8681
8682    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8683$as_echo_n "checking for -force_load linker flag... " >&6; }
8684if ${lt_cv_ld_force_load+:} false; then :
8685  $as_echo_n "(cached) " >&6
8686else
8687  lt_cv_ld_force_load=no
8688      cat > conftest.c << _LT_EOF
8689int forced_loaded() { return 2;}
8690_LT_EOF
8691      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8692      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8693      echo "$AR cru libconftest.a conftest.o" >&5
8694      $AR cru libconftest.a conftest.o 2>&5
8695      echo "$RANLIB libconftest.a" >&5
8696      $RANLIB libconftest.a 2>&5
8697      cat > conftest.c << _LT_EOF
8698int main() { return 0;}
8699_LT_EOF
8700      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8701      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8702      _lt_result=$?
8703      if test -s conftest.err && $GREP force_load conftest.err; then
8704	cat conftest.err >&5
8705      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8706	lt_cv_ld_force_load=yes
8707      else
8708	cat conftest.err >&5
8709      fi
8710        rm -f conftest.err libconftest.a conftest conftest.c
8711        rm -rf conftest.dSYM
8712
8713fi
8714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8715$as_echo "$lt_cv_ld_force_load" >&6; }
8716    case $host_os in
8717    rhapsody* | darwin1.[012])
8718      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8719    darwin1.*)
8720      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8721    darwin*) # darwin 5.x on
8722      # if running on 10.5 or later, the deployment target defaults
8723      # to the OS version, if on x86, and 10.4, the deployment
8724      # target defaults to 10.4. Don't you love it?
8725      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8726	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8727	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8728	10.[012]*)
8729	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8730	10.*)
8731	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8732      esac
8733    ;;
8734  esac
8735    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8736      _lt_dar_single_mod='$single_module'
8737    fi
8738    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8739      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8740    else
8741      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8742    fi
8743    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8744      _lt_dsymutil='~$DSYMUTIL $lib || :'
8745    else
8746      _lt_dsymutil=
8747    fi
8748    ;;
8749  esac
8750
8751for ac_header in dlfcn.h
8752do :
8753  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8754"
8755if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8756  cat >>confdefs.h <<_ACEOF
8757#define HAVE_DLFCN_H 1
8758_ACEOF
8759
8760fi
8761
8762done
8763
8764
8765
8766
8767
8768# Set options
8769
8770
8771
8772        enable_dlopen=no
8773
8774
8775  enable_win32_dll=no
8776
8777
8778            # Check whether --enable-shared was given.
8779if test "${enable_shared+set}" = set; then :
8780  enableval=$enable_shared; p=${PACKAGE-default}
8781    case $enableval in
8782    yes) enable_shared=yes ;;
8783    no) enable_shared=no ;;
8784    *)
8785      enable_shared=no
8786      # Look at the argument we got.  We use all the common list separators.
8787      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8788      for pkg in $enableval; do
8789	IFS="$lt_save_ifs"
8790	if test "X$pkg" = "X$p"; then
8791	  enable_shared=yes
8792	fi
8793      done
8794      IFS="$lt_save_ifs"
8795      ;;
8796    esac
8797else
8798  enable_shared=yes
8799fi
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811# Check whether --with-pic was given.
8812if test "${with_pic+set}" = set; then :
8813  withval=$with_pic; lt_p=${PACKAGE-default}
8814    case $withval in
8815    yes|no) pic_mode=$withval ;;
8816    *)
8817      pic_mode=default
8818      # Look at the argument we got.  We use all the common list separators.
8819      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8820      for lt_pkg in $withval; do
8821	IFS="$lt_save_ifs"
8822	if test "X$lt_pkg" = "X$lt_p"; then
8823	  pic_mode=yes
8824	fi
8825      done
8826      IFS="$lt_save_ifs"
8827      ;;
8828    esac
8829else
8830  pic_mode=default
8831fi
8832
8833
8834test -z "$pic_mode" && pic_mode=default
8835
8836
8837
8838
8839
8840
8841
8842  # Check whether --enable-fast-install was given.
8843if test "${enable_fast_install+set}" = set; then :
8844  enableval=$enable_fast_install; p=${PACKAGE-default}
8845    case $enableval in
8846    yes) enable_fast_install=yes ;;
8847    no) enable_fast_install=no ;;
8848    *)
8849      enable_fast_install=no
8850      # Look at the argument we got.  We use all the common list separators.
8851      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8852      for pkg in $enableval; do
8853	IFS="$lt_save_ifs"
8854	if test "X$pkg" = "X$p"; then
8855	  enable_fast_install=yes
8856	fi
8857      done
8858      IFS="$lt_save_ifs"
8859      ;;
8860    esac
8861else
8862  enable_fast_install=yes
8863fi
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875# This can be used to rebuild libtool when needed
8876LIBTOOL_DEPS="$ltmain"
8877
8878# Always use our own libtool.
8879LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910test -z "$LN_S" && LN_S="ln -s"
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925if test -n "${ZSH_VERSION+set}" ; then
8926   setopt NO_GLOB_SUBST
8927fi
8928
8929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8930$as_echo_n "checking for objdir... " >&6; }
8931if ${lt_cv_objdir+:} false; then :
8932  $as_echo_n "(cached) " >&6
8933else
8934  rm -f .libs 2>/dev/null
8935mkdir .libs 2>/dev/null
8936if test -d .libs; then
8937  lt_cv_objdir=.libs
8938else
8939  # MS-DOS does not allow filenames that begin with a dot.
8940  lt_cv_objdir=_libs
8941fi
8942rmdir .libs 2>/dev/null
8943fi
8944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8945$as_echo "$lt_cv_objdir" >&6; }
8946objdir=$lt_cv_objdir
8947
8948
8949
8950
8951
8952cat >>confdefs.h <<_ACEOF
8953#define LT_OBJDIR "$lt_cv_objdir/"
8954_ACEOF
8955
8956
8957
8958
8959case $host_os in
8960aix3*)
8961  # AIX sometimes has problems with the GCC collect2 program.  For some
8962  # reason, if we set the COLLECT_NAMES environment variable, the problems
8963  # vanish in a puff of smoke.
8964  if test "X${COLLECT_NAMES+set}" != Xset; then
8965    COLLECT_NAMES=
8966    export COLLECT_NAMES
8967  fi
8968  ;;
8969esac
8970
8971# Global variables:
8972ofile=libtool
8973can_build_shared=yes
8974
8975# All known linkers require a `.a' archive for static linking (except MSVC,
8976# which needs '.lib').
8977libext=a
8978
8979with_gnu_ld="$lt_cv_prog_gnu_ld"
8980
8981old_CC="$CC"
8982old_CFLAGS="$CFLAGS"
8983
8984# Set sane defaults for various variables
8985test -z "$CC" && CC=cc
8986test -z "$LTCC" && LTCC=$CC
8987test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8988test -z "$LD" && LD=ld
8989test -z "$ac_objext" && ac_objext=o
8990
8991for cc_temp in $compiler""; do
8992  case $cc_temp in
8993    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8994    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8995    \-*) ;;
8996    *) break;;
8997  esac
8998done
8999cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9000
9001
9002# Only perform the check for file, if the check method requires it
9003test -z "$MAGIC_CMD" && MAGIC_CMD=file
9004case $deplibs_check_method in
9005file_magic*)
9006  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9007    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9008$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9009if ${lt_cv_path_MAGIC_CMD+:} false; then :
9010  $as_echo_n "(cached) " >&6
9011else
9012  case $MAGIC_CMD in
9013[\\/*] |  ?:[\\/]*)
9014  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9015  ;;
9016*)
9017  lt_save_MAGIC_CMD="$MAGIC_CMD"
9018  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9019  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9020  for ac_dir in $ac_dummy; do
9021    IFS="$lt_save_ifs"
9022    test -z "$ac_dir" && ac_dir=.
9023    if test -f $ac_dir/${ac_tool_prefix}file; then
9024      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9025      if test -n "$file_magic_test_file"; then
9026	case $deplibs_check_method in
9027	"file_magic "*)
9028	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9029	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9030	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9031	    $EGREP "$file_magic_regex" > /dev/null; then
9032	    :
9033	  else
9034	    cat <<_LT_EOF 1>&2
9035
9036*** Warning: the command libtool uses to detect shared libraries,
9037*** $file_magic_cmd, produces output that libtool cannot recognize.
9038*** The result is that libtool may fail to recognize shared libraries
9039*** as such.  This will affect the creation of libtool libraries that
9040*** depend on shared libraries, but programs linked with such libtool
9041*** libraries will work regardless of this problem.  Nevertheless, you
9042*** may want to report the problem to your system manager and/or to
9043*** bug-libtool@gnu.org
9044
9045_LT_EOF
9046	  fi ;;
9047	esac
9048      fi
9049      break
9050    fi
9051  done
9052  IFS="$lt_save_ifs"
9053  MAGIC_CMD="$lt_save_MAGIC_CMD"
9054  ;;
9055esac
9056fi
9057
9058MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9059if test -n "$MAGIC_CMD"; then
9060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9061$as_echo "$MAGIC_CMD" >&6; }
9062else
9063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064$as_echo "no" >&6; }
9065fi
9066
9067
9068
9069
9070
9071if test -z "$lt_cv_path_MAGIC_CMD"; then
9072  if test -n "$ac_tool_prefix"; then
9073    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9074$as_echo_n "checking for file... " >&6; }
9075if ${lt_cv_path_MAGIC_CMD+:} false; then :
9076  $as_echo_n "(cached) " >&6
9077else
9078  case $MAGIC_CMD in
9079[\\/*] |  ?:[\\/]*)
9080  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9081  ;;
9082*)
9083  lt_save_MAGIC_CMD="$MAGIC_CMD"
9084  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9085  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9086  for ac_dir in $ac_dummy; do
9087    IFS="$lt_save_ifs"
9088    test -z "$ac_dir" && ac_dir=.
9089    if test -f $ac_dir/file; then
9090      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9091      if test -n "$file_magic_test_file"; then
9092	case $deplibs_check_method in
9093	"file_magic "*)
9094	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9095	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9096	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9097	    $EGREP "$file_magic_regex" > /dev/null; then
9098	    :
9099	  else
9100	    cat <<_LT_EOF 1>&2
9101
9102*** Warning: the command libtool uses to detect shared libraries,
9103*** $file_magic_cmd, produces output that libtool cannot recognize.
9104*** The result is that libtool may fail to recognize shared libraries
9105*** as such.  This will affect the creation of libtool libraries that
9106*** depend on shared libraries, but programs linked with such libtool
9107*** libraries will work regardless of this problem.  Nevertheless, you
9108*** may want to report the problem to your system manager and/or to
9109*** bug-libtool@gnu.org
9110
9111_LT_EOF
9112	  fi ;;
9113	esac
9114      fi
9115      break
9116    fi
9117  done
9118  IFS="$lt_save_ifs"
9119  MAGIC_CMD="$lt_save_MAGIC_CMD"
9120  ;;
9121esac
9122fi
9123
9124MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9125if test -n "$MAGIC_CMD"; then
9126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9127$as_echo "$MAGIC_CMD" >&6; }
9128else
9129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130$as_echo "no" >&6; }
9131fi
9132
9133
9134  else
9135    MAGIC_CMD=:
9136  fi
9137fi
9138
9139  fi
9140  ;;
9141esac
9142
9143# Use C for the default configuration in the libtool script
9144
9145lt_save_CC="$CC"
9146ac_ext=c
9147ac_cpp='$CPP $CPPFLAGS'
9148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9150ac_compiler_gnu=$ac_cv_c_compiler_gnu
9151
9152
9153# Source file extension for C test sources.
9154ac_ext=c
9155
9156# Object file extension for compiled C test sources.
9157objext=o
9158objext=$objext
9159
9160# Code to be used in simple compile tests
9161lt_simple_compile_test_code="int some_variable = 0;"
9162
9163# Code to be used in simple link tests
9164lt_simple_link_test_code='int main(){return(0);}'
9165
9166
9167
9168
9169
9170
9171
9172# If no C compiler was specified, use CC.
9173LTCC=${LTCC-"$CC"}
9174
9175# If no C compiler flags were specified, use CFLAGS.
9176LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9177
9178# Allow CC to be a program name with arguments.
9179compiler=$CC
9180
9181# Save the default compiler, since it gets overwritten when the other
9182# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9183compiler_DEFAULT=$CC
9184
9185# save warnings/boilerplate of simple test code
9186ac_outfile=conftest.$ac_objext
9187echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9188eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9189_lt_compiler_boilerplate=`cat conftest.err`
9190$RM conftest*
9191
9192ac_outfile=conftest.$ac_objext
9193echo "$lt_simple_link_test_code" >conftest.$ac_ext
9194eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9195_lt_linker_boilerplate=`cat conftest.err`
9196$RM -r conftest*
9197
9198
9199## CAVEAT EMPTOR:
9200## There is no encapsulation within the following macros, do not change
9201## the running order or otherwise move them around unless you know exactly
9202## what you are doing...
9203if test -n "$compiler"; then
9204
9205lt_prog_compiler_no_builtin_flag=
9206
9207if test "$GCC" = yes; then
9208  case $cc_basename in
9209  nvcc*)
9210    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9211  *)
9212    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9213  esac
9214
9215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9216$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9217if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9218  $as_echo_n "(cached) " >&6
9219else
9220  lt_cv_prog_compiler_rtti_exceptions=no
9221   ac_outfile=conftest.$ac_objext
9222   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9223   lt_compiler_flag="-fno-rtti -fno-exceptions"
9224   # Insert the option either (1) after the last *FLAGS variable, or
9225   # (2) before a word containing "conftest.", or (3) at the end.
9226   # Note that $ac_compile itself does not contain backslashes and begins
9227   # with a dollar sign (not a hyphen), so the echo should work correctly.
9228   # The option is referenced via a variable to avoid confusing sed.
9229   lt_compile=`echo "$ac_compile" | $SED \
9230   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9231   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9232   -e 's:$: $lt_compiler_flag:'`
9233   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9234   (eval "$lt_compile" 2>conftest.err)
9235   ac_status=$?
9236   cat conftest.err >&5
9237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238   if (exit $ac_status) && test -s "$ac_outfile"; then
9239     # The compiler can only warn and ignore the option if not recognized
9240     # So say no if there are warnings other than the usual output.
9241     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9242     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9243     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9244       lt_cv_prog_compiler_rtti_exceptions=yes
9245     fi
9246   fi
9247   $RM conftest*
9248
9249fi
9250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9251$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9252
9253if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9254    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9255else
9256    :
9257fi
9258
9259fi
9260
9261
9262
9263
9264
9265
9266  lt_prog_compiler_wl=
9267lt_prog_compiler_pic=
9268lt_prog_compiler_static=
9269
9270
9271  if test "$GCC" = yes; then
9272    lt_prog_compiler_wl='-Wl,'
9273    lt_prog_compiler_static='-static'
9274
9275    case $host_os in
9276      aix*)
9277      # All AIX code is PIC.
9278      if test "$host_cpu" = ia64; then
9279	# AIX 5 now supports IA64 processor
9280	lt_prog_compiler_static='-Bstatic'
9281      fi
9282      ;;
9283
9284    amigaos*)
9285      case $host_cpu in
9286      powerpc)
9287            # see comment about AmigaOS4 .so support
9288            lt_prog_compiler_pic='-fPIC'
9289        ;;
9290      m68k)
9291            # FIXME: we need at least 68020 code to build shared libraries, but
9292            # adding the `-m68020' flag to GCC prevents building anything better,
9293            # like `-m68040'.
9294            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9295        ;;
9296      esac
9297      ;;
9298
9299    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9300      # PIC is the default for these OSes.
9301      ;;
9302
9303    mingw* | cygwin* | pw32* | os2* | cegcc*)
9304      # This hack is so that the source file can tell whether it is being
9305      # built for inclusion in a dll (and should export symbols for example).
9306      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9307      # (--disable-auto-import) libraries
9308      lt_prog_compiler_pic='-DDLL_EXPORT'
9309      ;;
9310
9311    darwin* | rhapsody*)
9312      # PIC is the default on this platform
9313      # Common symbols not allowed in MH_DYLIB files
9314      lt_prog_compiler_pic='-fno-common'
9315      ;;
9316
9317    haiku*)
9318      # PIC is the default for Haiku.
9319      # The "-static" flag exists, but is broken.
9320      lt_prog_compiler_static=
9321      ;;
9322
9323    hpux*)
9324      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9325      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9326      # sets the default TLS model and affects inlining.
9327      case $host_cpu in
9328      hppa*64*)
9329	# +Z the default
9330	;;
9331      *)
9332	lt_prog_compiler_pic='-fPIC'
9333	;;
9334      esac
9335      ;;
9336
9337    interix[3-9]*)
9338      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9339      # Instead, we relocate shared libraries at runtime.
9340      ;;
9341
9342    msdosdjgpp*)
9343      # Just because we use GCC doesn't mean we suddenly get shared libraries
9344      # on systems that don't support them.
9345      lt_prog_compiler_can_build_shared=no
9346      enable_shared=no
9347      ;;
9348
9349    *nto* | *qnx*)
9350      # QNX uses GNU C++, but need to define -shared option too, otherwise
9351      # it will coredump.
9352      lt_prog_compiler_pic='-fPIC -shared'
9353      ;;
9354
9355    sysv4*MP*)
9356      if test -d /usr/nec; then
9357	lt_prog_compiler_pic=-Kconform_pic
9358      fi
9359      ;;
9360
9361    *)
9362      lt_prog_compiler_pic='-fPIC'
9363      ;;
9364    esac
9365
9366    case $cc_basename in
9367    nvcc*) # Cuda Compiler Driver 2.2
9368      lt_prog_compiler_wl='-Xlinker '
9369      if test -n "$lt_prog_compiler_pic"; then
9370        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9371      fi
9372      ;;
9373    esac
9374  else
9375    # PORTME Check for flag to pass linker flags through the system compiler.
9376    case $host_os in
9377    aix*)
9378      lt_prog_compiler_wl='-Wl,'
9379      if test "$host_cpu" = ia64; then
9380	# AIX 5 now supports IA64 processor
9381	lt_prog_compiler_static='-Bstatic'
9382      else
9383	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9384      fi
9385      ;;
9386
9387    mingw* | cygwin* | pw32* | os2* | cegcc*)
9388      # This hack is so that the source file can tell whether it is being
9389      # built for inclusion in a dll (and should export symbols for example).
9390      lt_prog_compiler_pic='-DDLL_EXPORT'
9391      ;;
9392
9393    hpux9* | hpux10* | hpux11*)
9394      lt_prog_compiler_wl='-Wl,'
9395      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9396      # not for PA HP-UX.
9397      case $host_cpu in
9398      hppa*64*|ia64*)
9399	# +Z the default
9400	;;
9401      *)
9402	lt_prog_compiler_pic='+Z'
9403	;;
9404      esac
9405      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9406      lt_prog_compiler_static='${wl}-a ${wl}archive'
9407      ;;
9408
9409    irix5* | irix6* | nonstopux*)
9410      lt_prog_compiler_wl='-Wl,'
9411      # PIC (with -KPIC) is the default.
9412      lt_prog_compiler_static='-non_shared'
9413      ;;
9414
9415    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9416      case $cc_basename in
9417      # old Intel for x86_64 which still supported -KPIC.
9418      ecc*)
9419	lt_prog_compiler_wl='-Wl,'
9420	lt_prog_compiler_pic='-KPIC'
9421	lt_prog_compiler_static='-static'
9422        ;;
9423      # icc used to be incompatible with GCC.
9424      # ICC 10 doesn't accept -KPIC any more.
9425      icc* | ifort*)
9426	lt_prog_compiler_wl='-Wl,'
9427	lt_prog_compiler_pic='-fPIC'
9428	lt_prog_compiler_static='-static'
9429        ;;
9430      # Lahey Fortran 8.1.
9431      lf95*)
9432	lt_prog_compiler_wl='-Wl,'
9433	lt_prog_compiler_pic='--shared'
9434	lt_prog_compiler_static='--static'
9435	;;
9436      nagfor*)
9437	# NAG Fortran compiler
9438	lt_prog_compiler_wl='-Wl,-Wl,,'
9439	lt_prog_compiler_pic='-PIC'
9440	lt_prog_compiler_static='-Bstatic'
9441	;;
9442      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9443        # Portland Group compilers (*not* the Pentium gcc compiler,
9444	# which looks to be a dead project)
9445	lt_prog_compiler_wl='-Wl,'
9446	lt_prog_compiler_pic='-fpic'
9447	lt_prog_compiler_static='-Bstatic'
9448        ;;
9449      ccc*)
9450        lt_prog_compiler_wl='-Wl,'
9451        # All Alpha code is PIC.
9452        lt_prog_compiler_static='-non_shared'
9453        ;;
9454      xl* | bgxl* | bgf* | mpixl*)
9455	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9456	lt_prog_compiler_wl='-Wl,'
9457	lt_prog_compiler_pic='-qpic'
9458	lt_prog_compiler_static='-qstaticlink'
9459	;;
9460      *)
9461	case `$CC -V 2>&1 | sed 5q` in
9462	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9463	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9464	  lt_prog_compiler_pic='-KPIC'
9465	  lt_prog_compiler_static='-Bstatic'
9466	  lt_prog_compiler_wl=''
9467	  ;;
9468	*Sun\ F* | *Sun*Fortran*)
9469	  lt_prog_compiler_pic='-KPIC'
9470	  lt_prog_compiler_static='-Bstatic'
9471	  lt_prog_compiler_wl='-Qoption ld '
9472	  ;;
9473	*Sun\ C*)
9474	  # Sun C 5.9
9475	  lt_prog_compiler_pic='-KPIC'
9476	  lt_prog_compiler_static='-Bstatic'
9477	  lt_prog_compiler_wl='-Wl,'
9478	  ;;
9479        *Intel*\ [CF]*Compiler*)
9480	  lt_prog_compiler_wl='-Wl,'
9481	  lt_prog_compiler_pic='-fPIC'
9482	  lt_prog_compiler_static='-static'
9483	  ;;
9484	*Portland\ Group*)
9485	  lt_prog_compiler_wl='-Wl,'
9486	  lt_prog_compiler_pic='-fpic'
9487	  lt_prog_compiler_static='-Bstatic'
9488	  ;;
9489	esac
9490	;;
9491      esac
9492      ;;
9493
9494    newsos6)
9495      lt_prog_compiler_pic='-KPIC'
9496      lt_prog_compiler_static='-Bstatic'
9497      ;;
9498
9499    *nto* | *qnx*)
9500      # QNX uses GNU C++, but need to define -shared option too, otherwise
9501      # it will coredump.
9502      lt_prog_compiler_pic='-fPIC -shared'
9503      ;;
9504
9505    osf3* | osf4* | osf5*)
9506      lt_prog_compiler_wl='-Wl,'
9507      # All OSF/1 code is PIC.
9508      lt_prog_compiler_static='-non_shared'
9509      ;;
9510
9511    rdos*)
9512      lt_prog_compiler_static='-non_shared'
9513      ;;
9514
9515    solaris*)
9516      lt_prog_compiler_pic='-KPIC'
9517      lt_prog_compiler_static='-Bstatic'
9518      case $cc_basename in
9519      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9520	lt_prog_compiler_wl='-Qoption ld ';;
9521      *)
9522	lt_prog_compiler_wl='-Wl,';;
9523      esac
9524      ;;
9525
9526    sunos4*)
9527      lt_prog_compiler_wl='-Qoption ld '
9528      lt_prog_compiler_pic='-PIC'
9529      lt_prog_compiler_static='-Bstatic'
9530      ;;
9531
9532    sysv4 | sysv4.2uw2* | sysv4.3*)
9533      lt_prog_compiler_wl='-Wl,'
9534      lt_prog_compiler_pic='-KPIC'
9535      lt_prog_compiler_static='-Bstatic'
9536      ;;
9537
9538    sysv4*MP*)
9539      if test -d /usr/nec ;then
9540	lt_prog_compiler_pic='-Kconform_pic'
9541	lt_prog_compiler_static='-Bstatic'
9542      fi
9543      ;;
9544
9545    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9546      lt_prog_compiler_wl='-Wl,'
9547      lt_prog_compiler_pic='-KPIC'
9548      lt_prog_compiler_static='-Bstatic'
9549      ;;
9550
9551    unicos*)
9552      lt_prog_compiler_wl='-Wl,'
9553      lt_prog_compiler_can_build_shared=no
9554      ;;
9555
9556    uts4*)
9557      lt_prog_compiler_pic='-pic'
9558      lt_prog_compiler_static='-Bstatic'
9559      ;;
9560
9561    *)
9562      lt_prog_compiler_can_build_shared=no
9563      ;;
9564    esac
9565  fi
9566
9567case $host_os in
9568  # For platforms which do not support PIC, -DPIC is meaningless:
9569  *djgpp*)
9570    lt_prog_compiler_pic=
9571    ;;
9572  *)
9573    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9574    ;;
9575esac
9576
9577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9578$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9579if ${lt_cv_prog_compiler_pic+:} false; then :
9580  $as_echo_n "(cached) " >&6
9581else
9582  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9583fi
9584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9585$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9586lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9587
9588#
9589# Check to make sure the PIC flag actually works.
9590#
9591if test -n "$lt_prog_compiler_pic"; then
9592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9593$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9594if ${lt_cv_prog_compiler_pic_works+:} false; then :
9595  $as_echo_n "(cached) " >&6
9596else
9597  lt_cv_prog_compiler_pic_works=no
9598   ac_outfile=conftest.$ac_objext
9599   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9601   # Insert the option either (1) after the last *FLAGS variable, or
9602   # (2) before a word containing "conftest.", or (3) at the end.
9603   # Note that $ac_compile itself does not contain backslashes and begins
9604   # with a dollar sign (not a hyphen), so the echo should work correctly.
9605   # The option is referenced via a variable to avoid confusing sed.
9606   lt_compile=`echo "$ac_compile" | $SED \
9607   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9608   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9609   -e 's:$: $lt_compiler_flag:'`
9610   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9611   (eval "$lt_compile" 2>conftest.err)
9612   ac_status=$?
9613   cat conftest.err >&5
9614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615   if (exit $ac_status) && test -s "$ac_outfile"; then
9616     # The compiler can only warn and ignore the option if not recognized
9617     # So say no if there are warnings other than the usual output.
9618     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9619     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9620     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9621       lt_cv_prog_compiler_pic_works=yes
9622     fi
9623   fi
9624   $RM conftest*
9625
9626fi
9627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9628$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9629
9630if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9631    case $lt_prog_compiler_pic in
9632     "" | " "*) ;;
9633     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9634     esac
9635else
9636    lt_prog_compiler_pic=
9637     lt_prog_compiler_can_build_shared=no
9638fi
9639
9640fi
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652#
9653# Check to make sure the static flag actually works.
9654#
9655wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9657$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9658if ${lt_cv_prog_compiler_static_works+:} false; then :
9659  $as_echo_n "(cached) " >&6
9660else
9661  lt_cv_prog_compiler_static_works=no
9662   save_LDFLAGS="$LDFLAGS"
9663   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9664   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9665   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9666     # The linker can only warn and ignore the option if not recognized
9667     # So say no if there are warnings
9668     if test -s conftest.err; then
9669       # Append any errors to the config.log.
9670       cat conftest.err 1>&5
9671       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9672       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9673       if diff conftest.exp conftest.er2 >/dev/null; then
9674         lt_cv_prog_compiler_static_works=yes
9675       fi
9676     else
9677       lt_cv_prog_compiler_static_works=yes
9678     fi
9679   fi
9680   $RM -r conftest*
9681   LDFLAGS="$save_LDFLAGS"
9682
9683fi
9684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9685$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9686
9687if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9688    :
9689else
9690    lt_prog_compiler_static=
9691fi
9692
9693
9694
9695
9696
9697
9698
9699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9700$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9701if ${lt_cv_prog_compiler_c_o+:} false; then :
9702  $as_echo_n "(cached) " >&6
9703else
9704  lt_cv_prog_compiler_c_o=no
9705   $RM -r conftest 2>/dev/null
9706   mkdir conftest
9707   cd conftest
9708   mkdir out
9709   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9710
9711   lt_compiler_flag="-o out/conftest2.$ac_objext"
9712   # Insert the option either (1) after the last *FLAGS variable, or
9713   # (2) before a word containing "conftest.", or (3) at the end.
9714   # Note that $ac_compile itself does not contain backslashes and begins
9715   # with a dollar sign (not a hyphen), so the echo should work correctly.
9716   lt_compile=`echo "$ac_compile" | $SED \
9717   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9718   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9719   -e 's:$: $lt_compiler_flag:'`
9720   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9721   (eval "$lt_compile" 2>out/conftest.err)
9722   ac_status=$?
9723   cat out/conftest.err >&5
9724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9726   then
9727     # The compiler can only warn and ignore the option if not recognized
9728     # So say no if there are warnings
9729     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9730     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9731     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9732       lt_cv_prog_compiler_c_o=yes
9733     fi
9734   fi
9735   chmod u+w . 2>&5
9736   $RM conftest*
9737   # SGI C++ compiler will create directory out/ii_files/ for
9738   # template instantiation
9739   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9740   $RM out/* && rmdir out
9741   cd ..
9742   $RM -r conftest
9743   $RM conftest*
9744
9745fi
9746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9747$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9748
9749
9750
9751
9752
9753
9754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9755$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9756if ${lt_cv_prog_compiler_c_o+:} false; then :
9757  $as_echo_n "(cached) " >&6
9758else
9759  lt_cv_prog_compiler_c_o=no
9760   $RM -r conftest 2>/dev/null
9761   mkdir conftest
9762   cd conftest
9763   mkdir out
9764   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9765
9766   lt_compiler_flag="-o out/conftest2.$ac_objext"
9767   # Insert the option either (1) after the last *FLAGS variable, or
9768   # (2) before a word containing "conftest.", or (3) at the end.
9769   # Note that $ac_compile itself does not contain backslashes and begins
9770   # with a dollar sign (not a hyphen), so the echo should work correctly.
9771   lt_compile=`echo "$ac_compile" | $SED \
9772   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9773   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9774   -e 's:$: $lt_compiler_flag:'`
9775   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9776   (eval "$lt_compile" 2>out/conftest.err)
9777   ac_status=$?
9778   cat out/conftest.err >&5
9779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9781   then
9782     # The compiler can only warn and ignore the option if not recognized
9783     # So say no if there are warnings
9784     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9785     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9786     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9787       lt_cv_prog_compiler_c_o=yes
9788     fi
9789   fi
9790   chmod u+w . 2>&5
9791   $RM conftest*
9792   # SGI C++ compiler will create directory out/ii_files/ for
9793   # template instantiation
9794   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9795   $RM out/* && rmdir out
9796   cd ..
9797   $RM -r conftest
9798   $RM conftest*
9799
9800fi
9801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9802$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9803
9804
9805
9806
9807hard_links="nottested"
9808if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9809  # do not overwrite the value of need_locks provided by the user
9810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9811$as_echo_n "checking if we can lock with hard links... " >&6; }
9812  hard_links=yes
9813  $RM conftest*
9814  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9815  touch conftest.a
9816  ln conftest.a conftest.b 2>&5 || hard_links=no
9817  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9819$as_echo "$hard_links" >&6; }
9820  if test "$hard_links" = no; then
9821    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9822$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9823    need_locks=warn
9824  fi
9825else
9826  need_locks=no
9827fi
9828
9829
9830
9831
9832
9833
9834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9835$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9836
9837  runpath_var=
9838  allow_undefined_flag=
9839  always_export_symbols=no
9840  archive_cmds=
9841  archive_expsym_cmds=
9842  compiler_needs_object=no
9843  enable_shared_with_static_runtimes=no
9844  export_dynamic_flag_spec=
9845  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9846  hardcode_automatic=no
9847  hardcode_direct=no
9848  hardcode_direct_absolute=no
9849  hardcode_libdir_flag_spec=
9850  hardcode_libdir_separator=
9851  hardcode_minus_L=no
9852  hardcode_shlibpath_var=unsupported
9853  inherit_rpath=no
9854  link_all_deplibs=unknown
9855  module_cmds=
9856  module_expsym_cmds=
9857  old_archive_from_new_cmds=
9858  old_archive_from_expsyms_cmds=
9859  thread_safe_flag_spec=
9860  whole_archive_flag_spec=
9861  # include_expsyms should be a list of space-separated symbols to be *always*
9862  # included in the symbol list
9863  include_expsyms=
9864  # exclude_expsyms can be an extended regexp of symbols to exclude
9865  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9866  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9867  # as well as any symbol that contains `d'.
9868  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9869  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9870  # platforms (ab)use it in PIC code, but their linkers get confused if
9871  # the symbol is explicitly referenced.  Since portable code cannot
9872  # rely on this symbol name, it's probably fine to never include it in
9873  # preloaded symbol tables.
9874  # Exclude shared library initialization/finalization symbols.
9875  extract_expsyms_cmds=
9876
9877  case $host_os in
9878  cygwin* | mingw* | pw32* | cegcc*)
9879    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9880    # When not using gcc, we currently assume that we are using
9881    # Microsoft Visual C++.
9882    if test "$GCC" != yes; then
9883      with_gnu_ld=no
9884    fi
9885    ;;
9886  interix*)
9887    # we just hope/assume this is gcc and not c89 (= MSVC++)
9888    with_gnu_ld=yes
9889    ;;
9890  openbsd*)
9891    with_gnu_ld=no
9892    ;;
9893  esac
9894
9895  ld_shlibs=yes
9896
9897  # On some targets, GNU ld is compatible enough with the native linker
9898  # that we're better off using the native interface for both.
9899  lt_use_gnu_ld_interface=no
9900  if test "$with_gnu_ld" = yes; then
9901    case $host_os in
9902      aix*)
9903	# The AIX port of GNU ld has always aspired to compatibility
9904	# with the native linker.  However, as the warning in the GNU ld
9905	# block says, versions before 2.19.5* couldn't really create working
9906	# shared libraries, regardless of the interface used.
9907	case `$LD -v 2>&1` in
9908	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9909	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9910	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9911	  *)
9912	    lt_use_gnu_ld_interface=yes
9913	    ;;
9914	esac
9915	;;
9916      *)
9917	lt_use_gnu_ld_interface=yes
9918	;;
9919    esac
9920  fi
9921
9922  if test "$lt_use_gnu_ld_interface" = yes; then
9923    # If archive_cmds runs LD, not CC, wlarc should be empty
9924    wlarc='${wl}'
9925
9926    # Set some defaults for GNU ld with shared library support. These
9927    # are reset later if shared libraries are not supported. Putting them
9928    # here allows them to be overridden if necessary.
9929    runpath_var=LD_RUN_PATH
9930    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9931    export_dynamic_flag_spec='${wl}--export-dynamic'
9932    # ancient GNU ld didn't support --whole-archive et. al.
9933    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9934      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9935    else
9936      whole_archive_flag_spec=
9937    fi
9938    supports_anon_versioning=no
9939    case `$LD -v 2>&1` in
9940      *GNU\ gold*) supports_anon_versioning=yes ;;
9941      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9942      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9943      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9944      *\ 2.11.*) ;; # other 2.11 versions
9945      *) supports_anon_versioning=yes ;;
9946    esac
9947
9948    # See if GNU ld supports shared libraries.
9949    case $host_os in
9950    aix[3-9]*)
9951      # On AIX/PPC, the GNU linker is very broken
9952      if test "$host_cpu" != ia64; then
9953	ld_shlibs=no
9954	cat <<_LT_EOF 1>&2
9955
9956*** Warning: the GNU linker, at least up to release 2.19, is reported
9957*** to be unable to reliably create shared libraries on AIX.
9958*** Therefore, libtool is disabling shared libraries support.  If you
9959*** really care for shared libraries, you may want to install binutils
9960*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9961*** You will then need to restart the configuration process.
9962
9963_LT_EOF
9964      fi
9965      ;;
9966
9967    amigaos*)
9968      case $host_cpu in
9969      powerpc)
9970            # see comment about AmigaOS4 .so support
9971            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972            archive_expsym_cmds=''
9973        ;;
9974      m68k)
9975            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)'
9976            hardcode_libdir_flag_spec='-L$libdir'
9977            hardcode_minus_L=yes
9978        ;;
9979      esac
9980      ;;
9981
9982    beos*)
9983      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9984	allow_undefined_flag=unsupported
9985	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9986	# support --undefined.  This deserves some investigation.  FIXME
9987	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9988      else
9989	ld_shlibs=no
9990      fi
9991      ;;
9992
9993    cygwin* | mingw* | pw32* | cegcc*)
9994      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9995      # as there is no search path for DLLs.
9996      hardcode_libdir_flag_spec='-L$libdir'
9997      export_dynamic_flag_spec='${wl}--export-all-symbols'
9998      allow_undefined_flag=unsupported
9999      always_export_symbols=no
10000      enable_shared_with_static_runtimes=yes
10001      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'
10002      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10003
10004      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10005        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10006	# If the export-symbols file already is a .def file (1st line
10007	# is EXPORTS), use it as is; otherwise, prepend...
10008	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10009	  cp $export_symbols $output_objdir/$soname.def;
10010	else
10011	  echo EXPORTS > $output_objdir/$soname.def;
10012	  cat $export_symbols >> $output_objdir/$soname.def;
10013	fi~
10014	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10015      else
10016	ld_shlibs=no
10017      fi
10018      ;;
10019
10020    haiku*)
10021      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10022      link_all_deplibs=yes
10023      ;;
10024
10025    interix[3-9]*)
10026      hardcode_direct=no
10027      hardcode_shlibpath_var=no
10028      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10029      export_dynamic_flag_spec='${wl}-E'
10030      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10031      # Instead, shared libraries are loaded at an image base (0x10000000 by
10032      # default) and relocated if they conflict, which is a slow very memory
10033      # consuming and fragmenting process.  To avoid this, we pick a random,
10034      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10035      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10036      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10037      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'
10038      ;;
10039
10040    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10041      tmp_diet=no
10042      if test "$host_os" = linux-dietlibc; then
10043	case $cc_basename in
10044	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10045	esac
10046      fi
10047      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10048	 && test "$tmp_diet" = no
10049      then
10050	tmp_addflag=' $pic_flag'
10051	tmp_sharedflag='-shared'
10052	case $cc_basename,$host_cpu in
10053        pgcc*)				# Portland Group C compiler
10054	  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'
10055	  tmp_addflag=' $pic_flag'
10056	  ;;
10057	pgf77* | pgf90* | pgf95* | pgfortran*)
10058					# Portland Group f77 and f90 compilers
10059	  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'
10060	  tmp_addflag=' $pic_flag -Mnomain' ;;
10061	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10062	  tmp_addflag=' -i_dynamic' ;;
10063	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10064	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10065	ifc* | ifort*)			# Intel Fortran compiler
10066	  tmp_addflag=' -nofor_main' ;;
10067	lf95*)				# Lahey Fortran 8.1
10068	  whole_archive_flag_spec=
10069	  tmp_sharedflag='--shared' ;;
10070	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10071	  tmp_sharedflag='-qmkshrobj'
10072	  tmp_addflag= ;;
10073	nvcc*)	# Cuda Compiler Driver 2.2
10074	  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'
10075	  compiler_needs_object=yes
10076	  ;;
10077	esac
10078	case `$CC -V 2>&1 | sed 5q` in
10079	*Sun\ C*)			# Sun C 5.9
10080	  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'
10081	  compiler_needs_object=yes
10082	  tmp_sharedflag='-G' ;;
10083	*Sun\ F*)			# Sun Fortran 8.3
10084	  tmp_sharedflag='-G' ;;
10085	esac
10086	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10087
10088        if test "x$supports_anon_versioning" = xyes; then
10089          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10090	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10091	    echo "local: *; };" >> $output_objdir/$libname.ver~
10092	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10093        fi
10094
10095	case $cc_basename in
10096	xlf* | bgf* | bgxlf* | mpixlf*)
10097	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10098	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10099	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10100	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10101	  if test "x$supports_anon_versioning" = xyes; then
10102	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10103	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10104	      echo "local: *; };" >> $output_objdir/$libname.ver~
10105	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10106	  fi
10107	  ;;
10108	esac
10109      else
10110        ld_shlibs=no
10111      fi
10112      ;;
10113
10114    netbsd*)
10115      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10116	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10117	wlarc=
10118      else
10119	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10121      fi
10122      ;;
10123
10124    solaris*)
10125      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10126	ld_shlibs=no
10127	cat <<_LT_EOF 1>&2
10128
10129*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10130*** create shared libraries on Solaris systems.  Therefore, libtool
10131*** is disabling shared libraries support.  We urge you to upgrade GNU
10132*** binutils to release 2.9.1 or newer.  Another option is to modify
10133*** your PATH or compiler configuration so that the native linker is
10134*** used, and then restart.
10135
10136_LT_EOF
10137      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10138	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10139	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10140      else
10141	ld_shlibs=no
10142      fi
10143      ;;
10144
10145    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10146      case `$LD -v 2>&1` in
10147        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10148	ld_shlibs=no
10149	cat <<_LT_EOF 1>&2
10150
10151*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10152*** reliably create shared libraries on SCO systems.  Therefore, libtool
10153*** is disabling shared libraries support.  We urge you to upgrade GNU
10154*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10155*** your PATH or compiler configuration so that the native linker is
10156*** used, and then restart.
10157
10158_LT_EOF
10159	;;
10160	*)
10161	  # For security reasons, it is highly recommended that you always
10162	  # use absolute paths for naming shared libraries, and exclude the
10163	  # DT_RUNPATH tag from executables and libraries.  But doing so
10164	  # requires that you compile everything twice, which is a pain.
10165	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10166	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10167	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10168	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10169	  else
10170	    ld_shlibs=no
10171	  fi
10172	;;
10173      esac
10174      ;;
10175
10176    sunos4*)
10177      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10178      wlarc=
10179      hardcode_direct=yes
10180      hardcode_shlibpath_var=no
10181      ;;
10182
10183    *)
10184      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10185	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10187      else
10188	ld_shlibs=no
10189      fi
10190      ;;
10191    esac
10192
10193    if test "$ld_shlibs" = no; then
10194      runpath_var=
10195      hardcode_libdir_flag_spec=
10196      export_dynamic_flag_spec=
10197      whole_archive_flag_spec=
10198    fi
10199  else
10200    # PORTME fill in a description of your system's linker (not GNU ld)
10201    case $host_os in
10202    aix3*)
10203      allow_undefined_flag=unsupported
10204      always_export_symbols=yes
10205      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'
10206      # Note: this linker hardcodes the directories in LIBPATH if there
10207      # are no directories specified by -L.
10208      hardcode_minus_L=yes
10209      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10210	# Neither direct hardcoding nor static linking is supported with a
10211	# broken collect2.
10212	hardcode_direct=unsupported
10213      fi
10214      ;;
10215
10216    aix[4-9]*)
10217      if test "$host_cpu" = ia64; then
10218	# On IA64, the linker does run time linking by default, so we don't
10219	# have to do anything special.
10220	aix_use_runtimelinking=no
10221	exp_sym_flag='-Bexport'
10222	no_entry_flag=""
10223      else
10224	# If we're using GNU nm, then we don't want the "-C" option.
10225	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10226	# Also, AIX nm treats weak defined symbols like other global
10227	# defined symbols, whereas GNU nm marks them as "W".
10228	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10229	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10230	else
10231	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10232	fi
10233	aix_use_runtimelinking=no
10234
10235	# Test if we are trying to use run time linking or normal
10236	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10237	# need to do runtime linking.
10238	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10239	  for ld_flag in $LDFLAGS; do
10240	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10241	    aix_use_runtimelinking=yes
10242	    break
10243	  fi
10244	  done
10245	  ;;
10246	esac
10247
10248	exp_sym_flag='-bexport'
10249	no_entry_flag='-bnoentry'
10250      fi
10251
10252      # When large executables or shared objects are built, AIX ld can
10253      # have problems creating the table of contents.  If linking a library
10254      # or program results in "error TOC overflow" add -mminimal-toc to
10255      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10256      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10257
10258      archive_cmds=''
10259      hardcode_direct=yes
10260      hardcode_direct_absolute=yes
10261      hardcode_libdir_separator=':'
10262      link_all_deplibs=yes
10263      file_list_spec='${wl}-f,'
10264
10265      if test "$GCC" = yes; then
10266	case $host_os in aix4.[012]|aix4.[012].*)
10267	# We only want to do this on AIX 4.2 and lower, the check
10268	# below for broken collect2 doesn't work under 4.3+
10269	  collect2name=`${CC} -print-prog-name=collect2`
10270	  if test -f "$collect2name" &&
10271	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10272	  then
10273	  # We have reworked collect2
10274	  :
10275	  else
10276	  # We have old collect2
10277	  hardcode_direct=unsupported
10278	  # It fails to find uninstalled libraries when the uninstalled
10279	  # path is not listed in the libpath.  Setting hardcode_minus_L
10280	  # to unsupported forces relinking
10281	  hardcode_minus_L=yes
10282	  hardcode_libdir_flag_spec='-L$libdir'
10283	  hardcode_libdir_separator=
10284	  fi
10285	  ;;
10286	esac
10287	shared_flag='-shared'
10288	if test "$aix_use_runtimelinking" = yes; then
10289	  shared_flag="$shared_flag "'${wl}-G'
10290	fi
10291      else
10292	# not using gcc
10293	if test "$host_cpu" = ia64; then
10294	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10295	# chokes on -Wl,-G. The following line is correct:
10296	  shared_flag='-G'
10297	else
10298	  if test "$aix_use_runtimelinking" = yes; then
10299	    shared_flag='${wl}-G'
10300	  else
10301	    shared_flag='${wl}-bM:SRE'
10302	  fi
10303	fi
10304      fi
10305
10306      export_dynamic_flag_spec='${wl}-bexpall'
10307      # It seems that -bexpall does not export symbols beginning with
10308      # underscore (_), so it is better to generate a list of symbols to export.
10309      always_export_symbols=yes
10310      if test "$aix_use_runtimelinking" = yes; then
10311	# Warning - without using the other runtime loading flags (-brtl),
10312	# -berok will link without error, but may produce a broken library.
10313	allow_undefined_flag='-berok'
10314        # Determine the default libpath from the value encoded in an
10315        # empty executable.
10316        if test "${lt_cv_aix_libpath+set}" = set; then
10317  aix_libpath=$lt_cv_aix_libpath
10318else
10319  if ${lt_cv_aix_libpath_+:} false; then :
10320  $as_echo_n "(cached) " >&6
10321else
10322  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323/* end confdefs.h.  */
10324
10325int
10326main ()
10327{
10328
10329  ;
10330  return 0;
10331}
10332_ACEOF
10333if ac_fn_c_try_link "$LINENO"; then :
10334
10335  lt_aix_libpath_sed='
10336      /Import File Strings/,/^$/ {
10337	  /^0/ {
10338	      s/^0  *\([^ ]*\) *$/\1/
10339	      p
10340	  }
10341      }'
10342  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10343  # Check for a 64-bit object if we didn't find anything.
10344  if test -z "$lt_cv_aix_libpath_"; then
10345    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10346  fi
10347fi
10348rm -f core conftest.err conftest.$ac_objext \
10349    conftest$ac_exeext conftest.$ac_ext
10350  if test -z "$lt_cv_aix_libpath_"; then
10351    lt_cv_aix_libpath_="/usr/lib:/lib"
10352  fi
10353
10354fi
10355
10356  aix_libpath=$lt_cv_aix_libpath_
10357fi
10358
10359        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10360        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10361      else
10362	if test "$host_cpu" = ia64; then
10363	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10364	  allow_undefined_flag="-z nodefs"
10365	  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"
10366	else
10367	 # Determine the default libpath from the value encoded in an
10368	 # empty executable.
10369	 if test "${lt_cv_aix_libpath+set}" = set; then
10370  aix_libpath=$lt_cv_aix_libpath
10371else
10372  if ${lt_cv_aix_libpath_+:} false; then :
10373  $as_echo_n "(cached) " >&6
10374else
10375  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376/* end confdefs.h.  */
10377
10378int
10379main ()
10380{
10381
10382  ;
10383  return 0;
10384}
10385_ACEOF
10386if ac_fn_c_try_link "$LINENO"; then :
10387
10388  lt_aix_libpath_sed='
10389      /Import File Strings/,/^$/ {
10390	  /^0/ {
10391	      s/^0  *\([^ ]*\) *$/\1/
10392	      p
10393	  }
10394      }'
10395  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10396  # Check for a 64-bit object if we didn't find anything.
10397  if test -z "$lt_cv_aix_libpath_"; then
10398    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10399  fi
10400fi
10401rm -f core conftest.err conftest.$ac_objext \
10402    conftest$ac_exeext conftest.$ac_ext
10403  if test -z "$lt_cv_aix_libpath_"; then
10404    lt_cv_aix_libpath_="/usr/lib:/lib"
10405  fi
10406
10407fi
10408
10409  aix_libpath=$lt_cv_aix_libpath_
10410fi
10411
10412	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10413	  # Warning - without using the other run time loading flags,
10414	  # -berok will link without error, but may produce a broken library.
10415	  no_undefined_flag=' ${wl}-bernotok'
10416	  allow_undefined_flag=' ${wl}-berok'
10417	  if test "$with_gnu_ld" = yes; then
10418	    # We only use this code for GNU lds that support --whole-archive.
10419	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10420	  else
10421	    # Exported symbols can be pulled into shared objects from archives
10422	    whole_archive_flag_spec='$convenience'
10423	  fi
10424	  archive_cmds_need_lc=yes
10425	  # This is similar to how AIX traditionally builds its shared libraries.
10426	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10427	fi
10428      fi
10429      ;;
10430
10431    amigaos*)
10432      case $host_cpu in
10433      powerpc)
10434            # see comment about AmigaOS4 .so support
10435            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10436            archive_expsym_cmds=''
10437        ;;
10438      m68k)
10439            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)'
10440            hardcode_libdir_flag_spec='-L$libdir'
10441            hardcode_minus_L=yes
10442        ;;
10443      esac
10444      ;;
10445
10446    bsdi[45]*)
10447      export_dynamic_flag_spec=-rdynamic
10448      ;;
10449
10450    cygwin* | mingw* | pw32* | cegcc*)
10451      # When not using gcc, we currently assume that we are using
10452      # Microsoft Visual C++.
10453      # hardcode_libdir_flag_spec is actually meaningless, as there is
10454      # no search path for DLLs.
10455      case $cc_basename in
10456      cl*)
10457	# Native MSVC
10458	hardcode_libdir_flag_spec=' '
10459	allow_undefined_flag=unsupported
10460	always_export_symbols=yes
10461	file_list_spec='@'
10462	# Tell ltmain to make .lib files, not .a files.
10463	libext=lib
10464	# Tell ltmain to make .dll files, not .so files.
10465	shrext_cmds=".dll"
10466	# FIXME: Setting linknames here is a bad hack.
10467	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10468	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10469	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10470	  else
10471	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10472	  fi~
10473	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10474	  linknames='
10475	# The linker will not automatically build a static lib if we build a DLL.
10476	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10477	enable_shared_with_static_runtimes=yes
10478	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10479	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10480	# Don't use ranlib
10481	old_postinstall_cmds='chmod 644 $oldlib'
10482	postlink_cmds='lt_outputfile="@OUTPUT@"~
10483	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10484	  case $lt_outputfile in
10485	    *.exe|*.EXE) ;;
10486	    *)
10487	      lt_outputfile="$lt_outputfile.exe"
10488	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10489	      ;;
10490	  esac~
10491	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10492	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10493	    $RM "$lt_outputfile.manifest";
10494	  fi'
10495	;;
10496      *)
10497	# Assume MSVC wrapper
10498	hardcode_libdir_flag_spec=' '
10499	allow_undefined_flag=unsupported
10500	# Tell ltmain to make .lib files, not .a files.
10501	libext=lib
10502	# Tell ltmain to make .dll files, not .so files.
10503	shrext_cmds=".dll"
10504	# FIXME: Setting linknames here is a bad hack.
10505	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10506	# The linker will automatically build a .lib file if we build a DLL.
10507	old_archive_from_new_cmds='true'
10508	# FIXME: Should let the user specify the lib program.
10509	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10510	enable_shared_with_static_runtimes=yes
10511	;;
10512      esac
10513      ;;
10514
10515    darwin* | rhapsody*)
10516
10517
10518  archive_cmds_need_lc=no
10519  hardcode_direct=no
10520  hardcode_automatic=yes
10521  hardcode_shlibpath_var=unsupported
10522  if test "$lt_cv_ld_force_load" = "yes"; then
10523    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\"`'
10524
10525  else
10526    whole_archive_flag_spec=''
10527  fi
10528  link_all_deplibs=yes
10529  allow_undefined_flag="$_lt_dar_allow_undefined"
10530  case $cc_basename in
10531     ifort*) _lt_dar_can_shared=yes ;;
10532     *) _lt_dar_can_shared=$GCC ;;
10533  esac
10534  if test "$_lt_dar_can_shared" = "yes"; then
10535    output_verbose_link_cmd=func_echo_all
10536    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10537    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10538    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}"
10539    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}"
10540
10541  else
10542  ld_shlibs=no
10543  fi
10544
10545      ;;
10546
10547    dgux*)
10548      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549      hardcode_libdir_flag_spec='-L$libdir'
10550      hardcode_shlibpath_var=no
10551      ;;
10552
10553    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10554    # support.  Future versions do this automatically, but an explicit c++rt0.o
10555    # does not break anything, and helps significantly (at the cost of a little
10556    # extra space).
10557    freebsd2.2*)
10558      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10559      hardcode_libdir_flag_spec='-R$libdir'
10560      hardcode_direct=yes
10561      hardcode_shlibpath_var=no
10562      ;;
10563
10564    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10565    freebsd2.*)
10566      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10567      hardcode_direct=yes
10568      hardcode_minus_L=yes
10569      hardcode_shlibpath_var=no
10570      ;;
10571
10572    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10573    freebsd* | dragonfly*)
10574      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10575      hardcode_libdir_flag_spec='-R$libdir'
10576      hardcode_direct=yes
10577      hardcode_shlibpath_var=no
10578      ;;
10579
10580    hpux9*)
10581      if test "$GCC" = yes; then
10582	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10583      else
10584	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10585      fi
10586      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10587      hardcode_libdir_separator=:
10588      hardcode_direct=yes
10589
10590      # hardcode_minus_L: Not really in the search PATH,
10591      # but as the default location of the library.
10592      hardcode_minus_L=yes
10593      export_dynamic_flag_spec='${wl}-E'
10594      ;;
10595
10596    hpux10*)
10597      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10598	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10599      else
10600	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10601      fi
10602      if test "$with_gnu_ld" = no; then
10603	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10604	hardcode_libdir_separator=:
10605	hardcode_direct=yes
10606	hardcode_direct_absolute=yes
10607	export_dynamic_flag_spec='${wl}-E'
10608	# hardcode_minus_L: Not really in the search PATH,
10609	# but as the default location of the library.
10610	hardcode_minus_L=yes
10611      fi
10612      ;;
10613
10614    hpux11*)
10615      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10616	case $host_cpu in
10617	hppa*64*)
10618	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10619	  ;;
10620	ia64*)
10621	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10622	  ;;
10623	*)
10624	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10625	  ;;
10626	esac
10627      else
10628	case $host_cpu in
10629	hppa*64*)
10630	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10631	  ;;
10632	ia64*)
10633	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10634	  ;;
10635	*)
10636
10637	  # Older versions of the 11.00 compiler do not understand -b yet
10638	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10639	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10640$as_echo_n "checking if $CC understands -b... " >&6; }
10641if ${lt_cv_prog_compiler__b+:} false; then :
10642  $as_echo_n "(cached) " >&6
10643else
10644  lt_cv_prog_compiler__b=no
10645   save_LDFLAGS="$LDFLAGS"
10646   LDFLAGS="$LDFLAGS -b"
10647   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10648   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10649     # The linker can only warn and ignore the option if not recognized
10650     # So say no if there are warnings
10651     if test -s conftest.err; then
10652       # Append any errors to the config.log.
10653       cat conftest.err 1>&5
10654       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10655       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10656       if diff conftest.exp conftest.er2 >/dev/null; then
10657         lt_cv_prog_compiler__b=yes
10658       fi
10659     else
10660       lt_cv_prog_compiler__b=yes
10661     fi
10662   fi
10663   $RM -r conftest*
10664   LDFLAGS="$save_LDFLAGS"
10665
10666fi
10667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10668$as_echo "$lt_cv_prog_compiler__b" >&6; }
10669
10670if test x"$lt_cv_prog_compiler__b" = xyes; then
10671    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10672else
10673    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10674fi
10675
10676	  ;;
10677	esac
10678      fi
10679      if test "$with_gnu_ld" = no; then
10680	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10681	hardcode_libdir_separator=:
10682
10683	case $host_cpu in
10684	hppa*64*|ia64*)
10685	  hardcode_direct=no
10686	  hardcode_shlibpath_var=no
10687	  ;;
10688	*)
10689	  hardcode_direct=yes
10690	  hardcode_direct_absolute=yes
10691	  export_dynamic_flag_spec='${wl}-E'
10692
10693	  # hardcode_minus_L: Not really in the search PATH,
10694	  # but as the default location of the library.
10695	  hardcode_minus_L=yes
10696	  ;;
10697	esac
10698      fi
10699      ;;
10700
10701    irix5* | irix6* | nonstopux*)
10702      if test "$GCC" = yes; then
10703	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'
10704	# Try to use the -exported_symbol ld option, if it does not
10705	# work, assume that -exports_file does not work either and
10706	# implicitly export all symbols.
10707	# This should be the same for all languages, so no per-tag cache variable.
10708	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10709$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10710if ${lt_cv_irix_exported_symbol+:} false; then :
10711  $as_echo_n "(cached) " >&6
10712else
10713  save_LDFLAGS="$LDFLAGS"
10714	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10715	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716/* end confdefs.h.  */
10717int foo (void) { return 0; }
10718_ACEOF
10719if ac_fn_c_try_link "$LINENO"; then :
10720  lt_cv_irix_exported_symbol=yes
10721else
10722  lt_cv_irix_exported_symbol=no
10723fi
10724rm -f core conftest.err conftest.$ac_objext \
10725    conftest$ac_exeext conftest.$ac_ext
10726           LDFLAGS="$save_LDFLAGS"
10727fi
10728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10729$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10730	if test "$lt_cv_irix_exported_symbol" = yes; then
10731          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'
10732	fi
10733      else
10734	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'
10735	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'
10736      fi
10737      archive_cmds_need_lc='no'
10738      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10739      hardcode_libdir_separator=:
10740      inherit_rpath=yes
10741      link_all_deplibs=yes
10742      ;;
10743
10744    netbsd*)
10745      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10746	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10747      else
10748	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10749      fi
10750      hardcode_libdir_flag_spec='-R$libdir'
10751      hardcode_direct=yes
10752      hardcode_shlibpath_var=no
10753      ;;
10754
10755    newsos6)
10756      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757      hardcode_direct=yes
10758      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10759      hardcode_libdir_separator=:
10760      hardcode_shlibpath_var=no
10761      ;;
10762
10763    *nto* | *qnx*)
10764      ;;
10765
10766    openbsd*)
10767      if test -f /usr/libexec/ld.so; then
10768	hardcode_direct=yes
10769	hardcode_shlibpath_var=no
10770	hardcode_direct_absolute=yes
10771	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10772	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10773	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10774	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10775	  export_dynamic_flag_spec='${wl}-E'
10776	else
10777	  case $host_os in
10778	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10779	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10780	     hardcode_libdir_flag_spec='-R$libdir'
10781	     ;;
10782	   *)
10783	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10784	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10785	     ;;
10786	  esac
10787	fi
10788      else
10789	ld_shlibs=no
10790      fi
10791      ;;
10792
10793    os2*)
10794      hardcode_libdir_flag_spec='-L$libdir'
10795      hardcode_minus_L=yes
10796      allow_undefined_flag=unsupported
10797      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10798      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10799      ;;
10800
10801    osf3*)
10802      if test "$GCC" = yes; then
10803	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10804	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'
10805      else
10806	allow_undefined_flag=' -expect_unresolved \*'
10807	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'
10808      fi
10809      archive_cmds_need_lc='no'
10810      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10811      hardcode_libdir_separator=:
10812      ;;
10813
10814    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10815      if test "$GCC" = yes; then
10816	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10817	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'
10818	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10819      else
10820	allow_undefined_flag=' -expect_unresolved \*'
10821	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'
10822	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~
10823	$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'
10824
10825	# Both c and cxx compiler support -rpath directly
10826	hardcode_libdir_flag_spec='-rpath $libdir'
10827      fi
10828      archive_cmds_need_lc='no'
10829      hardcode_libdir_separator=:
10830      ;;
10831
10832    solaris*)
10833      no_undefined_flag=' -z defs'
10834      if test "$GCC" = yes; then
10835	wlarc='${wl}'
10836	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10837	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838	  $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'
10839      else
10840	case `$CC -V 2>&1` in
10841	*"Compilers 5.0"*)
10842	  wlarc=''
10843	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10844	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10845	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10846	  ;;
10847	*)
10848	  wlarc='${wl}'
10849	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10850	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10851	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10852	  ;;
10853	esac
10854      fi
10855      hardcode_libdir_flag_spec='-R$libdir'
10856      hardcode_shlibpath_var=no
10857      case $host_os in
10858      solaris2.[0-5] | solaris2.[0-5].*) ;;
10859      *)
10860	# The compiler driver will combine and reorder linker options,
10861	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10862	# but is careful enough not to reorder.
10863	# Supported since Solaris 2.6 (maybe 2.5.1?)
10864	if test "$GCC" = yes; then
10865	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10866	else
10867	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10868	fi
10869	;;
10870      esac
10871      link_all_deplibs=yes
10872      ;;
10873
10874    sunos4*)
10875      if test "x$host_vendor" = xsequent; then
10876	# Use $CC to link under sequent, because it throws in some extra .o
10877	# files that make .init and .fini sections work.
10878	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10879      else
10880	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10881      fi
10882      hardcode_libdir_flag_spec='-L$libdir'
10883      hardcode_direct=yes
10884      hardcode_minus_L=yes
10885      hardcode_shlibpath_var=no
10886      ;;
10887
10888    sysv4)
10889      case $host_vendor in
10890	sni)
10891	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892	  hardcode_direct=yes # is this really true???
10893	;;
10894	siemens)
10895	  ## LD is ld it makes a PLAMLIB
10896	  ## CC just makes a GrossModule.
10897	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10898	  reload_cmds='$CC -r -o $output$reload_objs'
10899	  hardcode_direct=no
10900        ;;
10901	motorola)
10902	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10903	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10904	;;
10905      esac
10906      runpath_var='LD_RUN_PATH'
10907      hardcode_shlibpath_var=no
10908      ;;
10909
10910    sysv4.3*)
10911      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10912      hardcode_shlibpath_var=no
10913      export_dynamic_flag_spec='-Bexport'
10914      ;;
10915
10916    sysv4*MP*)
10917      if test -d /usr/nec; then
10918	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10919	hardcode_shlibpath_var=no
10920	runpath_var=LD_RUN_PATH
10921	hardcode_runpath_var=yes
10922	ld_shlibs=yes
10923      fi
10924      ;;
10925
10926    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10927      no_undefined_flag='${wl}-z,text'
10928      archive_cmds_need_lc=no
10929      hardcode_shlibpath_var=no
10930      runpath_var='LD_RUN_PATH'
10931
10932      if test "$GCC" = yes; then
10933	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10935      else
10936	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10937	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938      fi
10939      ;;
10940
10941    sysv5* | sco3.2v5* | sco5v6*)
10942      # Note: We can NOT use -z defs as we might desire, because we do not
10943      # link with -lc, and that would cause any symbols used from libc to
10944      # always be unresolved, which means just about no library would
10945      # ever link correctly.  If we're not using GNU ld we use -z text
10946      # though, which does catch some bad symbols but isn't as heavy-handed
10947      # as -z defs.
10948      no_undefined_flag='${wl}-z,text'
10949      allow_undefined_flag='${wl}-z,nodefs'
10950      archive_cmds_need_lc=no
10951      hardcode_shlibpath_var=no
10952      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10953      hardcode_libdir_separator=':'
10954      link_all_deplibs=yes
10955      export_dynamic_flag_spec='${wl}-Bexport'
10956      runpath_var='LD_RUN_PATH'
10957
10958      if test "$GCC" = yes; then
10959	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10960	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10961      else
10962	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10963	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964      fi
10965      ;;
10966
10967    uts4*)
10968      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969      hardcode_libdir_flag_spec='-L$libdir'
10970      hardcode_shlibpath_var=no
10971      ;;
10972
10973    *)
10974      ld_shlibs=no
10975      ;;
10976    esac
10977
10978    if test x$host_vendor = xsni; then
10979      case $host in
10980      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10981	export_dynamic_flag_spec='${wl}-Blargedynsym'
10982	;;
10983      esac
10984    fi
10985  fi
10986
10987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10988$as_echo "$ld_shlibs" >&6; }
10989test "$ld_shlibs" = no && can_build_shared=no
10990
10991with_gnu_ld=$with_gnu_ld
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007#
11008# Do we need to explicitly link libc?
11009#
11010case "x$archive_cmds_need_lc" in
11011x|xyes)
11012  # Assume -lc should be added
11013  archive_cmds_need_lc=yes
11014
11015  if test "$enable_shared" = yes && test "$GCC" = yes; then
11016    case $archive_cmds in
11017    *'~'*)
11018      # FIXME: we may have to deal with multi-command sequences.
11019      ;;
11020    '$CC '*)
11021      # Test whether the compiler implicitly links with -lc since on some
11022      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11023      # to ld, don't add -lc before -lgcc.
11024      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11025$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11026if ${lt_cv_archive_cmds_need_lc+:} false; then :
11027  $as_echo_n "(cached) " >&6
11028else
11029  $RM conftest*
11030	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11031
11032	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11033  (eval $ac_compile) 2>&5
11034  ac_status=$?
11035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11036  test $ac_status = 0; } 2>conftest.err; then
11037	  soname=conftest
11038	  lib=conftest
11039	  libobjs=conftest.$ac_objext
11040	  deplibs=
11041	  wl=$lt_prog_compiler_wl
11042	  pic_flag=$lt_prog_compiler_pic
11043	  compiler_flags=-v
11044	  linker_flags=-v
11045	  verstring=
11046	  output_objdir=.
11047	  libname=conftest
11048	  lt_save_allow_undefined_flag=$allow_undefined_flag
11049	  allow_undefined_flag=
11050	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11051  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11052  ac_status=$?
11053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11054  test $ac_status = 0; }
11055	  then
11056	    lt_cv_archive_cmds_need_lc=no
11057	  else
11058	    lt_cv_archive_cmds_need_lc=yes
11059	  fi
11060	  allow_undefined_flag=$lt_save_allow_undefined_flag
11061	else
11062	  cat conftest.err 1>&5
11063	fi
11064	$RM conftest*
11065
11066fi
11067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11068$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11069      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11070      ;;
11071    esac
11072  fi
11073  ;;
11074esac
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11228$as_echo_n "checking dynamic linker characteristics... " >&6; }
11229
11230if test "$GCC" = yes; then
11231  case $host_os in
11232    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11233    *) lt_awk_arg="/^libraries:/" ;;
11234  esac
11235  case $host_os in
11236    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11237    *) lt_sed_strip_eq="s,=/,/,g" ;;
11238  esac
11239  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11240  case $lt_search_path_spec in
11241  *\;*)
11242    # if the path contains ";" then we assume it to be the separator
11243    # otherwise default to the standard path separator (i.e. ":") - it is
11244    # assumed that no part of a normal pathname contains ";" but that should
11245    # okay in the real world where ";" in dirpaths is itself problematic.
11246    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11247    ;;
11248  *)
11249    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11250    ;;
11251  esac
11252  # Ok, now we have the path, separated by spaces, we can step through it
11253  # and add multilib dir if necessary.
11254  lt_tmp_lt_search_path_spec=
11255  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11256  for lt_sys_path in $lt_search_path_spec; do
11257    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11258      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11259    else
11260      test -d "$lt_sys_path" && \
11261	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11262    fi
11263  done
11264  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11265BEGIN {RS=" "; FS="/|\n";} {
11266  lt_foo="";
11267  lt_count=0;
11268  for (lt_i = NF; lt_i > 0; lt_i--) {
11269    if ($lt_i != "" && $lt_i != ".") {
11270      if ($lt_i == "..") {
11271        lt_count++;
11272      } else {
11273        if (lt_count == 0) {
11274          lt_foo="/" $lt_i lt_foo;
11275        } else {
11276          lt_count--;
11277        }
11278      }
11279    }
11280  }
11281  if (lt_foo != "") { lt_freq[lt_foo]++; }
11282  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11283}'`
11284  # AWK program above erroneously prepends '/' to C:/dos/paths
11285  # for these hosts.
11286  case $host_os in
11287    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11288      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11289  esac
11290  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11291else
11292  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11293fi
11294library_names_spec=
11295libname_spec='lib$name'
11296soname_spec=
11297shrext_cmds=".so"
11298postinstall_cmds=
11299postuninstall_cmds=
11300finish_cmds=
11301finish_eval=
11302shlibpath_var=
11303shlibpath_overrides_runpath=unknown
11304version_type=none
11305dynamic_linker="$host_os ld.so"
11306sys_lib_dlsearch_path_spec="/lib /usr/lib"
11307need_lib_prefix=unknown
11308hardcode_into_libs=no
11309
11310# when you set need_version to no, make sure it does not cause -set_version
11311# flags to be left without arguments
11312need_version=unknown
11313
11314case $host_os in
11315aix3*)
11316  version_type=linux # correct to gnu/linux during the next big refactor
11317  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11318  shlibpath_var=LIBPATH
11319
11320  # AIX 3 has no versioning support, so we append a major version to the name.
11321  soname_spec='${libname}${release}${shared_ext}$major'
11322  ;;
11323
11324aix[4-9]*)
11325  version_type=linux # correct to gnu/linux during the next big refactor
11326  need_lib_prefix=no
11327  need_version=no
11328  hardcode_into_libs=yes
11329  if test "$host_cpu" = ia64; then
11330    # AIX 5 supports IA64
11331    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11332    shlibpath_var=LD_LIBRARY_PATH
11333  else
11334    # With GCC up to 2.95.x, collect2 would create an import file
11335    # for dependence libraries.  The import file would start with
11336    # the line `#! .'.  This would cause the generated library to
11337    # depend on `.', always an invalid library.  This was fixed in
11338    # development snapshots of GCC prior to 3.0.
11339    case $host_os in
11340      aix4 | aix4.[01] | aix4.[01].*)
11341      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11342	   echo ' yes '
11343	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11344	:
11345      else
11346	can_build_shared=no
11347      fi
11348      ;;
11349    esac
11350    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11351    # soname into executable. Probably we can add versioning support to
11352    # collect2, so additional links can be useful in future.
11353    if test "$aix_use_runtimelinking" = yes; then
11354      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11355      # instead of lib<name>.a to let people know that these are not
11356      # typical AIX shared libraries.
11357      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358    else
11359      # We preserve .a as extension for shared libraries through AIX4.2
11360      # and later when we are not doing run time linking.
11361      library_names_spec='${libname}${release}.a $libname.a'
11362      soname_spec='${libname}${release}${shared_ext}$major'
11363    fi
11364    shlibpath_var=LIBPATH
11365  fi
11366  ;;
11367
11368amigaos*)
11369  case $host_cpu in
11370  powerpc)
11371    # Since July 2007 AmigaOS4 officially supports .so libraries.
11372    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11373    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374    ;;
11375  m68k)
11376    library_names_spec='$libname.ixlibrary $libname.a'
11377    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11378    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
11379    ;;
11380  esac
11381  ;;
11382
11383beos*)
11384  library_names_spec='${libname}${shared_ext}'
11385  dynamic_linker="$host_os ld.so"
11386  shlibpath_var=LIBRARY_PATH
11387  ;;
11388
11389bsdi[45]*)
11390  version_type=linux # correct to gnu/linux during the next big refactor
11391  need_version=no
11392  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393  soname_spec='${libname}${release}${shared_ext}$major'
11394  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11395  shlibpath_var=LD_LIBRARY_PATH
11396  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11397  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11398  # the default ld.so.conf also contains /usr/contrib/lib and
11399  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11400  # libtool to hard-code these into programs
11401  ;;
11402
11403cygwin* | mingw* | pw32* | cegcc*)
11404  version_type=windows
11405  shrext_cmds=".dll"
11406  need_version=no
11407  need_lib_prefix=no
11408
11409  case $GCC,$cc_basename in
11410  yes,*)
11411    # gcc
11412    library_names_spec='$libname.dll.a'
11413    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11414    postinstall_cmds='base_file=`basename \${file}`~
11415      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11416      dldir=$destdir/`dirname \$dlpath`~
11417      test -d \$dldir || mkdir -p \$dldir~
11418      $install_prog $dir/$dlname \$dldir/$dlname~
11419      chmod a+x \$dldir/$dlname~
11420      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11421        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11422      fi'
11423    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11424      dlpath=$dir/\$dldll~
11425       $RM \$dlpath'
11426    shlibpath_overrides_runpath=yes
11427
11428    case $host_os in
11429    cygwin*)
11430      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11431      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11432
11433      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11434      ;;
11435    mingw* | cegcc*)
11436      # MinGW DLLs use traditional 'lib' prefix
11437      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11438      ;;
11439    pw32*)
11440      # pw32 DLLs use 'pw' prefix rather than 'lib'
11441      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11442      ;;
11443    esac
11444    dynamic_linker='Win32 ld.exe'
11445    ;;
11446
11447  *,cl*)
11448    # Native MSVC
11449    libname_spec='$name'
11450    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11451    library_names_spec='${libname}.dll.lib'
11452
11453    case $build_os in
11454    mingw*)
11455      sys_lib_search_path_spec=
11456      lt_save_ifs=$IFS
11457      IFS=';'
11458      for lt_path in $LIB
11459      do
11460        IFS=$lt_save_ifs
11461        # Let DOS variable expansion print the short 8.3 style file name.
11462        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11463        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11464      done
11465      IFS=$lt_save_ifs
11466      # Convert to MSYS style.
11467      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11468      ;;
11469    cygwin*)
11470      # Convert to unix form, then to dos form, then back to unix form
11471      # but this time dos style (no spaces!) so that the unix form looks
11472      # like /cygdrive/c/PROGRA~1:/cygdr...
11473      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11474      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11475      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11476      ;;
11477    *)
11478      sys_lib_search_path_spec="$LIB"
11479      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11480        # It is most probably a Windows format PATH.
11481        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11482      else
11483        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11484      fi
11485      # FIXME: find the short name or the path components, as spaces are
11486      # common. (e.g. "Program Files" -> "PROGRA~1")
11487      ;;
11488    esac
11489
11490    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11491    postinstall_cmds='base_file=`basename \${file}`~
11492      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11493      dldir=$destdir/`dirname \$dlpath`~
11494      test -d \$dldir || mkdir -p \$dldir~
11495      $install_prog $dir/$dlname \$dldir/$dlname'
11496    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11497      dlpath=$dir/\$dldll~
11498       $RM \$dlpath'
11499    shlibpath_overrides_runpath=yes
11500    dynamic_linker='Win32 link.exe'
11501    ;;
11502
11503  *)
11504    # Assume MSVC wrapper
11505    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11506    dynamic_linker='Win32 ld.exe'
11507    ;;
11508  esac
11509  # FIXME: first we should search . and the directory the executable is in
11510  shlibpath_var=PATH
11511  ;;
11512
11513darwin* | rhapsody*)
11514  dynamic_linker="$host_os dyld"
11515  version_type=darwin
11516  need_lib_prefix=no
11517  need_version=no
11518  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11519  soname_spec='${libname}${release}${major}$shared_ext'
11520  shlibpath_overrides_runpath=yes
11521  shlibpath_var=DYLD_LIBRARY_PATH
11522  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11523
11524  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11525  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11526  ;;
11527
11528dgux*)
11529  version_type=linux # correct to gnu/linux during the next big refactor
11530  need_lib_prefix=no
11531  need_version=no
11532  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11533  soname_spec='${libname}${release}${shared_ext}$major'
11534  shlibpath_var=LD_LIBRARY_PATH
11535  ;;
11536
11537freebsd* | dragonfly*)
11538  # DragonFly does not have aout.  When/if they implement a new
11539  # versioning mechanism, adjust this.
11540  if test -x /usr/bin/objformat; then
11541    objformat=`/usr/bin/objformat`
11542  else
11543    case $host_os in
11544    freebsd[23].*) objformat=aout ;;
11545    *) objformat=elf ;;
11546    esac
11547  fi
11548  version_type=freebsd-$objformat
11549  case $version_type in
11550    freebsd-elf*)
11551      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11552      need_version=no
11553      need_lib_prefix=no
11554      ;;
11555    freebsd-*)
11556      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11557      need_version=yes
11558      ;;
11559  esac
11560  shlibpath_var=LD_LIBRARY_PATH
11561  case $host_os in
11562  freebsd2.*)
11563    shlibpath_overrides_runpath=yes
11564    ;;
11565  freebsd3.[01]* | freebsdelf3.[01]*)
11566    shlibpath_overrides_runpath=yes
11567    hardcode_into_libs=yes
11568    ;;
11569  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11570  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11571    shlibpath_overrides_runpath=no
11572    hardcode_into_libs=yes
11573    ;;
11574  *) # from 4.6 on, and DragonFly
11575    shlibpath_overrides_runpath=yes
11576    hardcode_into_libs=yes
11577    ;;
11578  esac
11579  ;;
11580
11581gnu*)
11582  version_type=linux # correct to gnu/linux during the next big refactor
11583  need_lib_prefix=no
11584  need_version=no
11585  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11586  soname_spec='${libname}${release}${shared_ext}$major'
11587  shlibpath_var=LD_LIBRARY_PATH
11588  shlibpath_overrides_runpath=no
11589  hardcode_into_libs=yes
11590  ;;
11591
11592haiku*)
11593  version_type=linux # correct to gnu/linux during the next big refactor
11594  need_lib_prefix=no
11595  need_version=no
11596  dynamic_linker="$host_os runtime_loader"
11597  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11598  soname_spec='${libname}${release}${shared_ext}$major'
11599  shlibpath_var=LIBRARY_PATH
11600  shlibpath_overrides_runpath=yes
11601  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11602  hardcode_into_libs=yes
11603  ;;
11604
11605hpux9* | hpux10* | hpux11*)
11606  # Give a soname corresponding to the major version so that dld.sl refuses to
11607  # link against other versions.
11608  version_type=sunos
11609  need_lib_prefix=no
11610  need_version=no
11611  case $host_cpu in
11612  ia64*)
11613    shrext_cmds='.so'
11614    hardcode_into_libs=yes
11615    dynamic_linker="$host_os dld.so"
11616    shlibpath_var=LD_LIBRARY_PATH
11617    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11618    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619    soname_spec='${libname}${release}${shared_ext}$major'
11620    if test "X$HPUX_IA64_MODE" = X32; then
11621      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11622    else
11623      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11624    fi
11625    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11626    ;;
11627  hppa*64*)
11628    shrext_cmds='.sl'
11629    hardcode_into_libs=yes
11630    dynamic_linker="$host_os dld.sl"
11631    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11632    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11633    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11634    soname_spec='${libname}${release}${shared_ext}$major'
11635    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11636    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11637    ;;
11638  *)
11639    shrext_cmds='.sl'
11640    dynamic_linker="$host_os dld.sl"
11641    shlibpath_var=SHLIB_PATH
11642    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11643    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644    soname_spec='${libname}${release}${shared_ext}$major'
11645    ;;
11646  esac
11647  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11648  postinstall_cmds='chmod 555 $lib'
11649  # or fails outright, so override atomically:
11650  install_override_mode=555
11651  ;;
11652
11653interix[3-9]*)
11654  version_type=linux # correct to gnu/linux during the next big refactor
11655  need_lib_prefix=no
11656  need_version=no
11657  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11658  soname_spec='${libname}${release}${shared_ext}$major'
11659  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11660  shlibpath_var=LD_LIBRARY_PATH
11661  shlibpath_overrides_runpath=no
11662  hardcode_into_libs=yes
11663  ;;
11664
11665irix5* | irix6* | nonstopux*)
11666  case $host_os in
11667    nonstopux*) version_type=nonstopux ;;
11668    *)
11669	if test "$lt_cv_prog_gnu_ld" = yes; then
11670		version_type=linux # correct to gnu/linux during the next big refactor
11671	else
11672		version_type=irix
11673	fi ;;
11674  esac
11675  need_lib_prefix=no
11676  need_version=no
11677  soname_spec='${libname}${release}${shared_ext}$major'
11678  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11679  case $host_os in
11680  irix5* | nonstopux*)
11681    libsuff= shlibsuff=
11682    ;;
11683  *)
11684    case $LD in # libtool.m4 will add one of these switches to LD
11685    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11686      libsuff= shlibsuff= libmagic=32-bit;;
11687    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11688      libsuff=32 shlibsuff=N32 libmagic=N32;;
11689    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11690      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11691    *) libsuff= shlibsuff= libmagic=never-match;;
11692    esac
11693    ;;
11694  esac
11695  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11696  shlibpath_overrides_runpath=no
11697  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11698  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11699  hardcode_into_libs=yes
11700  ;;
11701
11702# No shared lib support for Linux oldld, aout, or coff.
11703linux*oldld* | linux*aout* | linux*coff*)
11704  dynamic_linker=no
11705  ;;
11706
11707# This must be glibc/ELF.
11708linux* | k*bsd*-gnu | kopensolaris*-gnu)
11709  version_type=linux # correct to gnu/linux during the next big refactor
11710  need_lib_prefix=no
11711  need_version=no
11712  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11713  soname_spec='${libname}${release}${shared_ext}$major'
11714  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11715  shlibpath_var=LD_LIBRARY_PATH
11716  shlibpath_overrides_runpath=no
11717
11718  # Some binutils ld are patched to set DT_RUNPATH
11719  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11720  $as_echo_n "(cached) " >&6
11721else
11722  lt_cv_shlibpath_overrides_runpath=no
11723    save_LDFLAGS=$LDFLAGS
11724    save_libdir=$libdir
11725    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11726	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11727    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728/* end confdefs.h.  */
11729
11730int
11731main ()
11732{
11733
11734  ;
11735  return 0;
11736}
11737_ACEOF
11738if ac_fn_c_try_link "$LINENO"; then :
11739  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11740  lt_cv_shlibpath_overrides_runpath=yes
11741fi
11742fi
11743rm -f core conftest.err conftest.$ac_objext \
11744    conftest$ac_exeext conftest.$ac_ext
11745    LDFLAGS=$save_LDFLAGS
11746    libdir=$save_libdir
11747
11748fi
11749
11750  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11751
11752  # This implies no fast_install, which is unacceptable.
11753  # Some rework will be needed to allow for fast_install
11754  # before this can be enabled.
11755  hardcode_into_libs=yes
11756
11757  # Add ABI-specific directories to the system library path.
11758  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11759
11760  # Append ld.so.conf contents to the search path
11761  if test -f /etc/ld.so.conf; then
11762    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' ' '`
11763    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11764
11765  fi
11766
11767  # We used to test for /lib/ld.so.1 and disable shared libraries on
11768  # powerpc, because MkLinux only supported shared libraries with the
11769  # GNU dynamic linker.  Since this was broken with cross compilers,
11770  # most powerpc-linux boxes support dynamic linking these days and
11771  # people can always --disable-shared, the test was removed, and we
11772  # assume the GNU/Linux dynamic linker is in use.
11773  dynamic_linker='GNU/Linux ld.so'
11774  ;;
11775
11776netbsd*)
11777  version_type=sunos
11778  need_lib_prefix=no
11779  need_version=no
11780  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11781    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11782    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11783    dynamic_linker='NetBSD (a.out) ld.so'
11784  else
11785    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11786    soname_spec='${libname}${release}${shared_ext}$major'
11787    dynamic_linker='NetBSD ld.elf_so'
11788  fi
11789  shlibpath_var=LD_LIBRARY_PATH
11790  shlibpath_overrides_runpath=yes
11791  hardcode_into_libs=yes
11792  ;;
11793
11794newsos6)
11795  version_type=linux # correct to gnu/linux during the next big refactor
11796  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797  shlibpath_var=LD_LIBRARY_PATH
11798  shlibpath_overrides_runpath=yes
11799  ;;
11800
11801*nto* | *qnx*)
11802  version_type=qnx
11803  need_lib_prefix=no
11804  need_version=no
11805  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11806  soname_spec='${libname}${release}${shared_ext}$major'
11807  shlibpath_var=LD_LIBRARY_PATH
11808  shlibpath_overrides_runpath=no
11809  hardcode_into_libs=yes
11810  dynamic_linker='ldqnx.so'
11811  ;;
11812
11813openbsd*)
11814  version_type=sunos
11815  sys_lib_dlsearch_path_spec="/usr/lib"
11816  need_lib_prefix=no
11817  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11818  case $host_os in
11819    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11820    *)				need_version=no  ;;
11821  esac
11822  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11823  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11824  shlibpath_var=LD_LIBRARY_PATH
11825  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11826    case $host_os in
11827      openbsd2.[89] | openbsd2.[89].*)
11828	shlibpath_overrides_runpath=no
11829	;;
11830      *)
11831	shlibpath_overrides_runpath=yes
11832	;;
11833      esac
11834  else
11835    shlibpath_overrides_runpath=yes
11836  fi
11837  ;;
11838
11839os2*)
11840  libname_spec='$name'
11841  shrext_cmds=".dll"
11842  need_lib_prefix=no
11843  library_names_spec='$libname${shared_ext} $libname.a'
11844  dynamic_linker='OS/2 ld.exe'
11845  shlibpath_var=LIBPATH
11846  ;;
11847
11848osf3* | osf4* | osf5*)
11849  version_type=osf
11850  need_lib_prefix=no
11851  need_version=no
11852  soname_spec='${libname}${release}${shared_ext}$major'
11853  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11854  shlibpath_var=LD_LIBRARY_PATH
11855  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11856  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11857  ;;
11858
11859rdos*)
11860  dynamic_linker=no
11861  ;;
11862
11863solaris*)
11864  version_type=linux # correct to gnu/linux during the next big refactor
11865  need_lib_prefix=no
11866  need_version=no
11867  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11868  soname_spec='${libname}${release}${shared_ext}$major'
11869  shlibpath_var=LD_LIBRARY_PATH
11870  shlibpath_overrides_runpath=yes
11871  hardcode_into_libs=yes
11872  # ldd complains unless libraries are executable
11873  postinstall_cmds='chmod +x $lib'
11874  ;;
11875
11876sunos4*)
11877  version_type=sunos
11878  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11879  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11880  shlibpath_var=LD_LIBRARY_PATH
11881  shlibpath_overrides_runpath=yes
11882  if test "$with_gnu_ld" = yes; then
11883    need_lib_prefix=no
11884  fi
11885  need_version=yes
11886  ;;
11887
11888sysv4 | sysv4.3*)
11889  version_type=linux # correct to gnu/linux during the next big refactor
11890  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891  soname_spec='${libname}${release}${shared_ext}$major'
11892  shlibpath_var=LD_LIBRARY_PATH
11893  case $host_vendor in
11894    sni)
11895      shlibpath_overrides_runpath=no
11896      need_lib_prefix=no
11897      runpath_var=LD_RUN_PATH
11898      ;;
11899    siemens)
11900      need_lib_prefix=no
11901      ;;
11902    motorola)
11903      need_lib_prefix=no
11904      need_version=no
11905      shlibpath_overrides_runpath=no
11906      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11907      ;;
11908  esac
11909  ;;
11910
11911sysv4*MP*)
11912  if test -d /usr/nec ;then
11913    version_type=linux # correct to gnu/linux during the next big refactor
11914    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11915    soname_spec='$libname${shared_ext}.$major'
11916    shlibpath_var=LD_LIBRARY_PATH
11917  fi
11918  ;;
11919
11920sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11921  version_type=freebsd-elf
11922  need_lib_prefix=no
11923  need_version=no
11924  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11925  soname_spec='${libname}${release}${shared_ext}$major'
11926  shlibpath_var=LD_LIBRARY_PATH
11927  shlibpath_overrides_runpath=yes
11928  hardcode_into_libs=yes
11929  if test "$with_gnu_ld" = yes; then
11930    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11931  else
11932    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11933    case $host_os in
11934      sco3.2v5*)
11935        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11936	;;
11937    esac
11938  fi
11939  sys_lib_dlsearch_path_spec='/usr/lib'
11940  ;;
11941
11942tpf*)
11943  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11944  version_type=linux # correct to gnu/linux during the next big refactor
11945  need_lib_prefix=no
11946  need_version=no
11947  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11948  shlibpath_var=LD_LIBRARY_PATH
11949  shlibpath_overrides_runpath=no
11950  hardcode_into_libs=yes
11951  ;;
11952
11953uts4*)
11954  version_type=linux # correct to gnu/linux during the next big refactor
11955  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11956  soname_spec='${libname}${release}${shared_ext}$major'
11957  shlibpath_var=LD_LIBRARY_PATH
11958  ;;
11959
11960*)
11961  dynamic_linker=no
11962  ;;
11963esac
11964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11965$as_echo "$dynamic_linker" >&6; }
11966test "$dynamic_linker" = no && can_build_shared=no
11967
11968variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11969if test "$GCC" = yes; then
11970  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11971fi
11972
11973if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11974  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11975fi
11976if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11977  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11978fi
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12072$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12073hardcode_action=
12074if test -n "$hardcode_libdir_flag_spec" ||
12075   test -n "$runpath_var" ||
12076   test "X$hardcode_automatic" = "Xyes" ; then
12077
12078  # We can hardcode non-existent directories.
12079  if test "$hardcode_direct" != no &&
12080     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12081     # have to relink, otherwise we might link with an installed library
12082     # when we should be linking with a yet-to-be-installed one
12083     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12084     test "$hardcode_minus_L" != no; then
12085    # Linking always hardcodes the temporary library directory.
12086    hardcode_action=relink
12087  else
12088    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12089    hardcode_action=immediate
12090  fi
12091else
12092  # We cannot hardcode anything, or else we can only hardcode existing
12093  # directories.
12094  hardcode_action=unsupported
12095fi
12096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12097$as_echo "$hardcode_action" >&6; }
12098
12099if test "$hardcode_action" = relink ||
12100   test "$inherit_rpath" = yes; then
12101  # Fast installation is not supported
12102  enable_fast_install=no
12103elif test "$shlibpath_overrides_runpath" = yes ||
12104     test "$enable_shared" = no; then
12105  # Fast installation is not necessary
12106  enable_fast_install=needless
12107fi
12108
12109
12110
12111
12112
12113
12114  if test "x$enable_dlopen" != xyes; then
12115  enable_dlopen=unknown
12116  enable_dlopen_self=unknown
12117  enable_dlopen_self_static=unknown
12118else
12119  lt_cv_dlopen=no
12120  lt_cv_dlopen_libs=
12121
12122  case $host_os in
12123  beos*)
12124    lt_cv_dlopen="load_add_on"
12125    lt_cv_dlopen_libs=
12126    lt_cv_dlopen_self=yes
12127    ;;
12128
12129  mingw* | pw32* | cegcc*)
12130    lt_cv_dlopen="LoadLibrary"
12131    lt_cv_dlopen_libs=
12132    ;;
12133
12134  cygwin*)
12135    lt_cv_dlopen="dlopen"
12136    lt_cv_dlopen_libs=
12137    ;;
12138
12139  darwin*)
12140  # if libdl is installed we need to link against it
12141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12142$as_echo_n "checking for dlopen in -ldl... " >&6; }
12143if ${ac_cv_lib_dl_dlopen+:} false; then :
12144  $as_echo_n "(cached) " >&6
12145else
12146  ac_check_lib_save_LIBS=$LIBS
12147LIBS="-ldl  $LIBS"
12148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149/* end confdefs.h.  */
12150
12151/* Override any GCC internal prototype to avoid an error.
12152   Use char because int might match the return type of a GCC
12153   builtin and then its argument prototype would still apply.  */
12154#ifdef __cplusplus
12155extern "C"
12156#endif
12157char dlopen ();
12158int
12159main ()
12160{
12161return dlopen ();
12162  ;
12163  return 0;
12164}
12165_ACEOF
12166if ac_fn_c_try_link "$LINENO"; then :
12167  ac_cv_lib_dl_dlopen=yes
12168else
12169  ac_cv_lib_dl_dlopen=no
12170fi
12171rm -f core conftest.err conftest.$ac_objext \
12172    conftest$ac_exeext conftest.$ac_ext
12173LIBS=$ac_check_lib_save_LIBS
12174fi
12175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12176$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12177if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12178  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12179else
12180
12181    lt_cv_dlopen="dyld"
12182    lt_cv_dlopen_libs=
12183    lt_cv_dlopen_self=yes
12184
12185fi
12186
12187    ;;
12188
12189  *)
12190    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12191if test "x$ac_cv_func_shl_load" = xyes; then :
12192  lt_cv_dlopen="shl_load"
12193else
12194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12195$as_echo_n "checking for shl_load in -ldld... " >&6; }
12196if ${ac_cv_lib_dld_shl_load+:} false; then :
12197  $as_echo_n "(cached) " >&6
12198else
12199  ac_check_lib_save_LIBS=$LIBS
12200LIBS="-ldld  $LIBS"
12201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202/* end confdefs.h.  */
12203
12204/* Override any GCC internal prototype to avoid an error.
12205   Use char because int might match the return type of a GCC
12206   builtin and then its argument prototype would still apply.  */
12207#ifdef __cplusplus
12208extern "C"
12209#endif
12210char shl_load ();
12211int
12212main ()
12213{
12214return shl_load ();
12215  ;
12216  return 0;
12217}
12218_ACEOF
12219if ac_fn_c_try_link "$LINENO"; then :
12220  ac_cv_lib_dld_shl_load=yes
12221else
12222  ac_cv_lib_dld_shl_load=no
12223fi
12224rm -f core conftest.err conftest.$ac_objext \
12225    conftest$ac_exeext conftest.$ac_ext
12226LIBS=$ac_check_lib_save_LIBS
12227fi
12228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12229$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12230if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12231  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12232else
12233  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12234if test "x$ac_cv_func_dlopen" = xyes; then :
12235  lt_cv_dlopen="dlopen"
12236else
12237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12238$as_echo_n "checking for dlopen in -ldl... " >&6; }
12239if ${ac_cv_lib_dl_dlopen+:} false; then :
12240  $as_echo_n "(cached) " >&6
12241else
12242  ac_check_lib_save_LIBS=$LIBS
12243LIBS="-ldl  $LIBS"
12244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245/* end confdefs.h.  */
12246
12247/* Override any GCC internal prototype to avoid an error.
12248   Use char because int might match the return type of a GCC
12249   builtin and then its argument prototype would still apply.  */
12250#ifdef __cplusplus
12251extern "C"
12252#endif
12253char dlopen ();
12254int
12255main ()
12256{
12257return dlopen ();
12258  ;
12259  return 0;
12260}
12261_ACEOF
12262if ac_fn_c_try_link "$LINENO"; then :
12263  ac_cv_lib_dl_dlopen=yes
12264else
12265  ac_cv_lib_dl_dlopen=no
12266fi
12267rm -f core conftest.err conftest.$ac_objext \
12268    conftest$ac_exeext conftest.$ac_ext
12269LIBS=$ac_check_lib_save_LIBS
12270fi
12271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12272$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12273if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12274  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12275else
12276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12277$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12278if ${ac_cv_lib_svld_dlopen+:} false; then :
12279  $as_echo_n "(cached) " >&6
12280else
12281  ac_check_lib_save_LIBS=$LIBS
12282LIBS="-lsvld  $LIBS"
12283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284/* end confdefs.h.  */
12285
12286/* Override any GCC internal prototype to avoid an error.
12287   Use char because int might match the return type of a GCC
12288   builtin and then its argument prototype would still apply.  */
12289#ifdef __cplusplus
12290extern "C"
12291#endif
12292char dlopen ();
12293int
12294main ()
12295{
12296return dlopen ();
12297  ;
12298  return 0;
12299}
12300_ACEOF
12301if ac_fn_c_try_link "$LINENO"; then :
12302  ac_cv_lib_svld_dlopen=yes
12303else
12304  ac_cv_lib_svld_dlopen=no
12305fi
12306rm -f core conftest.err conftest.$ac_objext \
12307    conftest$ac_exeext conftest.$ac_ext
12308LIBS=$ac_check_lib_save_LIBS
12309fi
12310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12311$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12312if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12313  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12314else
12315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12316$as_echo_n "checking for dld_link in -ldld... " >&6; }
12317if ${ac_cv_lib_dld_dld_link+:} false; then :
12318  $as_echo_n "(cached) " >&6
12319else
12320  ac_check_lib_save_LIBS=$LIBS
12321LIBS="-ldld  $LIBS"
12322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323/* end confdefs.h.  */
12324
12325/* Override any GCC internal prototype to avoid an error.
12326   Use char because int might match the return type of a GCC
12327   builtin and then its argument prototype would still apply.  */
12328#ifdef __cplusplus
12329extern "C"
12330#endif
12331char dld_link ();
12332int
12333main ()
12334{
12335return dld_link ();
12336  ;
12337  return 0;
12338}
12339_ACEOF
12340if ac_fn_c_try_link "$LINENO"; then :
12341  ac_cv_lib_dld_dld_link=yes
12342else
12343  ac_cv_lib_dld_dld_link=no
12344fi
12345rm -f core conftest.err conftest.$ac_objext \
12346    conftest$ac_exeext conftest.$ac_ext
12347LIBS=$ac_check_lib_save_LIBS
12348fi
12349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12350$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12351if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12352  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12353fi
12354
12355
12356fi
12357
12358
12359fi
12360
12361
12362fi
12363
12364
12365fi
12366
12367
12368fi
12369
12370    ;;
12371  esac
12372
12373  if test "x$lt_cv_dlopen" != xno; then
12374    enable_dlopen=yes
12375  else
12376    enable_dlopen=no
12377  fi
12378
12379  case $lt_cv_dlopen in
12380  dlopen)
12381    save_CPPFLAGS="$CPPFLAGS"
12382    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12383
12384    save_LDFLAGS="$LDFLAGS"
12385    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12386
12387    save_LIBS="$LIBS"
12388    LIBS="$lt_cv_dlopen_libs $LIBS"
12389
12390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12391$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12392if ${lt_cv_dlopen_self+:} false; then :
12393  $as_echo_n "(cached) " >&6
12394else
12395  	  if test "$cross_compiling" = yes; then :
12396  lt_cv_dlopen_self=cross
12397else
12398  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12399  lt_status=$lt_dlunknown
12400  cat > conftest.$ac_ext <<_LT_EOF
12401#line $LINENO "configure"
12402#include "confdefs.h"
12403
12404#if HAVE_DLFCN_H
12405#include <dlfcn.h>
12406#endif
12407
12408#include <stdio.h>
12409
12410#ifdef RTLD_GLOBAL
12411#  define LT_DLGLOBAL		RTLD_GLOBAL
12412#else
12413#  ifdef DL_GLOBAL
12414#    define LT_DLGLOBAL		DL_GLOBAL
12415#  else
12416#    define LT_DLGLOBAL		0
12417#  endif
12418#endif
12419
12420/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12421   find out it does not work in some platform. */
12422#ifndef LT_DLLAZY_OR_NOW
12423#  ifdef RTLD_LAZY
12424#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12425#  else
12426#    ifdef DL_LAZY
12427#      define LT_DLLAZY_OR_NOW		DL_LAZY
12428#    else
12429#      ifdef RTLD_NOW
12430#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12431#      else
12432#        ifdef DL_NOW
12433#          define LT_DLLAZY_OR_NOW	DL_NOW
12434#        else
12435#          define LT_DLLAZY_OR_NOW	0
12436#        endif
12437#      endif
12438#    endif
12439#  endif
12440#endif
12441
12442/* When -fvisbility=hidden is used, assume the code has been annotated
12443   correspondingly for the symbols needed.  */
12444#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12445int fnord () __attribute__((visibility("default")));
12446#endif
12447
12448int fnord () { return 42; }
12449int main ()
12450{
12451  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12452  int status = $lt_dlunknown;
12453
12454  if (self)
12455    {
12456      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12457      else
12458        {
12459	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12460          else puts (dlerror ());
12461	}
12462      /* dlclose (self); */
12463    }
12464  else
12465    puts (dlerror ());
12466
12467  return status;
12468}
12469_LT_EOF
12470  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12471  (eval $ac_link) 2>&5
12472  ac_status=$?
12473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12475    (./conftest; exit; ) >&5 2>/dev/null
12476    lt_status=$?
12477    case x$lt_status in
12478      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12479      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12480      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12481    esac
12482  else :
12483    # compilation failed
12484    lt_cv_dlopen_self=no
12485  fi
12486fi
12487rm -fr conftest*
12488
12489
12490fi
12491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12492$as_echo "$lt_cv_dlopen_self" >&6; }
12493
12494    if test "x$lt_cv_dlopen_self" = xyes; then
12495      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12496      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12497$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12498if ${lt_cv_dlopen_self_static+:} false; then :
12499  $as_echo_n "(cached) " >&6
12500else
12501  	  if test "$cross_compiling" = yes; then :
12502  lt_cv_dlopen_self_static=cross
12503else
12504  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12505  lt_status=$lt_dlunknown
12506  cat > conftest.$ac_ext <<_LT_EOF
12507#line $LINENO "configure"
12508#include "confdefs.h"
12509
12510#if HAVE_DLFCN_H
12511#include <dlfcn.h>
12512#endif
12513
12514#include <stdio.h>
12515
12516#ifdef RTLD_GLOBAL
12517#  define LT_DLGLOBAL		RTLD_GLOBAL
12518#else
12519#  ifdef DL_GLOBAL
12520#    define LT_DLGLOBAL		DL_GLOBAL
12521#  else
12522#    define LT_DLGLOBAL		0
12523#  endif
12524#endif
12525
12526/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12527   find out it does not work in some platform. */
12528#ifndef LT_DLLAZY_OR_NOW
12529#  ifdef RTLD_LAZY
12530#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12531#  else
12532#    ifdef DL_LAZY
12533#      define LT_DLLAZY_OR_NOW		DL_LAZY
12534#    else
12535#      ifdef RTLD_NOW
12536#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12537#      else
12538#        ifdef DL_NOW
12539#          define LT_DLLAZY_OR_NOW	DL_NOW
12540#        else
12541#          define LT_DLLAZY_OR_NOW	0
12542#        endif
12543#      endif
12544#    endif
12545#  endif
12546#endif
12547
12548/* When -fvisbility=hidden is used, assume the code has been annotated
12549   correspondingly for the symbols needed.  */
12550#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12551int fnord () __attribute__((visibility("default")));
12552#endif
12553
12554int fnord () { return 42; }
12555int main ()
12556{
12557  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12558  int status = $lt_dlunknown;
12559
12560  if (self)
12561    {
12562      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12563      else
12564        {
12565	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12566          else puts (dlerror ());
12567	}
12568      /* dlclose (self); */
12569    }
12570  else
12571    puts (dlerror ());
12572
12573  return status;
12574}
12575_LT_EOF
12576  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12577  (eval $ac_link) 2>&5
12578  ac_status=$?
12579  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12580  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12581    (./conftest; exit; ) >&5 2>/dev/null
12582    lt_status=$?
12583    case x$lt_status in
12584      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12585      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12586      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12587    esac
12588  else :
12589    # compilation failed
12590    lt_cv_dlopen_self_static=no
12591  fi
12592fi
12593rm -fr conftest*
12594
12595
12596fi
12597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12598$as_echo "$lt_cv_dlopen_self_static" >&6; }
12599    fi
12600
12601    CPPFLAGS="$save_CPPFLAGS"
12602    LDFLAGS="$save_LDFLAGS"
12603    LIBS="$save_LIBS"
12604    ;;
12605  esac
12606
12607  case $lt_cv_dlopen_self in
12608  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12609  *) enable_dlopen_self=unknown ;;
12610  esac
12611
12612  case $lt_cv_dlopen_self_static in
12613  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12614  *) enable_dlopen_self_static=unknown ;;
12615  esac
12616fi
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634striplib=
12635old_striplib=
12636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12637$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12638if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12639  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12640  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12642$as_echo "yes" >&6; }
12643else
12644# FIXME - insert some real tests, host_os isn't really good enough
12645  case $host_os in
12646  darwin*)
12647    if test -n "$STRIP" ; then
12648      striplib="$STRIP -x"
12649      old_striplib="$STRIP -S"
12650      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12651$as_echo "yes" >&6; }
12652    else
12653      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12654$as_echo "no" >&6; }
12655    fi
12656    ;;
12657  *)
12658    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659$as_echo "no" >&6; }
12660    ;;
12661  esac
12662fi
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675  # Report which library types will actually be built
12676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12677$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12679$as_echo "$can_build_shared" >&6; }
12680
12681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12682$as_echo_n "checking whether to build shared libraries... " >&6; }
12683  test "$can_build_shared" = "no" && enable_shared=no
12684
12685  # On AIX, shared libraries and static libraries use the same namespace, and
12686  # are all built from PIC.
12687  case $host_os in
12688  aix3*)
12689    test "$enable_shared" = yes && enable_static=no
12690    if test -n "$RANLIB"; then
12691      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12692      postinstall_cmds='$RANLIB $lib'
12693    fi
12694    ;;
12695
12696  aix[4-9]*)
12697    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12698      test "$enable_shared" = yes && enable_static=no
12699    fi
12700    ;;
12701  esac
12702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12703$as_echo "$enable_shared" >&6; }
12704
12705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12706$as_echo_n "checking whether to build static libraries... " >&6; }
12707  # Make sure either enable_shared or enable_static is yes.
12708  test "$enable_shared" = yes || enable_static=yes
12709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12710$as_echo "$enable_static" >&6; }
12711
12712
12713
12714
12715fi
12716ac_ext=c
12717ac_cpp='$CPP $CPPFLAGS'
12718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720ac_compiler_gnu=$ac_cv_c_compiler_gnu
12721
12722CC="$lt_save_CC"
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738        ac_config_commands="$ac_config_commands libtool"
12739
12740
12741
12742
12743# Only expand once:
12744
12745
12746
12747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12748$as_echo_n "checking whether NLS is requested... " >&6; }
12749    # Check whether --enable-nls was given.
12750if test "${enable_nls+set}" = set; then :
12751  enableval=$enable_nls; USE_NLS=$enableval
12752else
12753  USE_NLS=yes
12754fi
12755
12756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12757$as_echo "$USE_NLS" >&6; }
12758
12759
12760
12761
12762case "$am__api_version" in
12763    1.01234)
12764	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12765    ;;
12766    *)
12767    ;;
12768esac
12769
12770INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12771INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12772INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12773if test -n "0.35.0"; then
12774    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12775$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12776    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12777$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12778    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12779	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12780fi
12781
12782# Extract the first word of "intltool-update", so it can be a program name with args.
12783set dummy intltool-update; ac_word=$2
12784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12785$as_echo_n "checking for $ac_word... " >&6; }
12786if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12787  $as_echo_n "(cached) " >&6
12788else
12789  case $INTLTOOL_UPDATE in
12790  [\\/]* | ?:[\\/]*)
12791  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12792  ;;
12793  *)
12794  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12795for as_dir in $PATH
12796do
12797  IFS=$as_save_IFS
12798  test -z "$as_dir" && as_dir=.
12799    for ac_exec_ext in '' $ac_executable_extensions; do
12800  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12801    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12803    break 2
12804  fi
12805done
12806  done
12807IFS=$as_save_IFS
12808
12809  ;;
12810esac
12811fi
12812INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12813if test -n "$INTLTOOL_UPDATE"; then
12814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12815$as_echo "$INTLTOOL_UPDATE" >&6; }
12816else
12817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12818$as_echo "no" >&6; }
12819fi
12820
12821
12822# Extract the first word of "intltool-merge", so it can be a program name with args.
12823set dummy intltool-merge; ac_word=$2
12824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12825$as_echo_n "checking for $ac_word... " >&6; }
12826if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12827  $as_echo_n "(cached) " >&6
12828else
12829  case $INTLTOOL_MERGE in
12830  [\\/]* | ?:[\\/]*)
12831  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12832  ;;
12833  *)
12834  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12835for as_dir in $PATH
12836do
12837  IFS=$as_save_IFS
12838  test -z "$as_dir" && as_dir=.
12839    for ac_exec_ext in '' $ac_executable_extensions; do
12840  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12841    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12842    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12843    break 2
12844  fi
12845done
12846  done
12847IFS=$as_save_IFS
12848
12849  ;;
12850esac
12851fi
12852INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12853if test -n "$INTLTOOL_MERGE"; then
12854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12855$as_echo "$INTLTOOL_MERGE" >&6; }
12856else
12857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12858$as_echo "no" >&6; }
12859fi
12860
12861
12862# Extract the first word of "intltool-extract", so it can be a program name with args.
12863set dummy intltool-extract; ac_word=$2
12864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865$as_echo_n "checking for $ac_word... " >&6; }
12866if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12867  $as_echo_n "(cached) " >&6
12868else
12869  case $INTLTOOL_EXTRACT in
12870  [\\/]* | ?:[\\/]*)
12871  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12872  ;;
12873  *)
12874  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12875for as_dir in $PATH
12876do
12877  IFS=$as_save_IFS
12878  test -z "$as_dir" && as_dir=.
12879    for ac_exec_ext in '' $ac_executable_extensions; do
12880  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12881    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12882    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12883    break 2
12884  fi
12885done
12886  done
12887IFS=$as_save_IFS
12888
12889  ;;
12890esac
12891fi
12892INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12893if test -n "$INTLTOOL_EXTRACT"; then
12894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12895$as_echo "$INTLTOOL_EXTRACT" >&6; }
12896else
12897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898$as_echo "no" >&6; }
12899fi
12900
12901
12902if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12903    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12904fi
12905
12906if test -z "$AM_DEFAULT_VERBOSITY"; then
12907  AM_DEFAULT_VERBOSITY=1
12908fi
12909
12910
12911INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12912INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12913INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
12914
12915
12916
12917
12918INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12919intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12920intltool__v_merge_options_0='-q'
12921
12922
12923
12924
12925  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12926INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12927     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12928     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12929      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12930     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12931   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12932    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12933INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12934       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12935      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12936if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12937      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12938else
12939      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12940fi
12941      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12942      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12943    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12944  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12945    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12946    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12947   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045# Check the gettext tools to make sure they are GNU
13046# Extract the first word of "xgettext", so it can be a program name with args.
13047set dummy xgettext; ac_word=$2
13048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13049$as_echo_n "checking for $ac_word... " >&6; }
13050if ${ac_cv_path_XGETTEXT+:} false; then :
13051  $as_echo_n "(cached) " >&6
13052else
13053  case $XGETTEXT in
13054  [\\/]* | ?:[\\/]*)
13055  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13056  ;;
13057  *)
13058  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13059for as_dir in $PATH
13060do
13061  IFS=$as_save_IFS
13062  test -z "$as_dir" && as_dir=.
13063    for ac_exec_ext in '' $ac_executable_extensions; do
13064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13065    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13067    break 2
13068  fi
13069done
13070  done
13071IFS=$as_save_IFS
13072
13073  ;;
13074esac
13075fi
13076XGETTEXT=$ac_cv_path_XGETTEXT
13077if test -n "$XGETTEXT"; then
13078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13079$as_echo "$XGETTEXT" >&6; }
13080else
13081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13082$as_echo "no" >&6; }
13083fi
13084
13085
13086# Extract the first word of "msgmerge", so it can be a program name with args.
13087set dummy msgmerge; ac_word=$2
13088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13089$as_echo_n "checking for $ac_word... " >&6; }
13090if ${ac_cv_path_MSGMERGE+:} false; then :
13091  $as_echo_n "(cached) " >&6
13092else
13093  case $MSGMERGE in
13094  [\\/]* | ?:[\\/]*)
13095  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13096  ;;
13097  *)
13098  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099for as_dir in $PATH
13100do
13101  IFS=$as_save_IFS
13102  test -z "$as_dir" && as_dir=.
13103    for ac_exec_ext in '' $ac_executable_extensions; do
13104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13107    break 2
13108  fi
13109done
13110  done
13111IFS=$as_save_IFS
13112
13113  ;;
13114esac
13115fi
13116MSGMERGE=$ac_cv_path_MSGMERGE
13117if test -n "$MSGMERGE"; then
13118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13119$as_echo "$MSGMERGE" >&6; }
13120else
13121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13122$as_echo "no" >&6; }
13123fi
13124
13125
13126# Extract the first word of "msgfmt", so it can be a program name with args.
13127set dummy msgfmt; ac_word=$2
13128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13129$as_echo_n "checking for $ac_word... " >&6; }
13130if ${ac_cv_path_MSGFMT+:} false; then :
13131  $as_echo_n "(cached) " >&6
13132else
13133  case $MSGFMT in
13134  [\\/]* | ?:[\\/]*)
13135  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13136  ;;
13137  *)
13138  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13139for as_dir in $PATH
13140do
13141  IFS=$as_save_IFS
13142  test -z "$as_dir" && as_dir=.
13143    for ac_exec_ext in '' $ac_executable_extensions; do
13144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13145    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13147    break 2
13148  fi
13149done
13150  done
13151IFS=$as_save_IFS
13152
13153  ;;
13154esac
13155fi
13156MSGFMT=$ac_cv_path_MSGFMT
13157if test -n "$MSGFMT"; then
13158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13159$as_echo "$MSGFMT" >&6; }
13160else
13161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162$as_echo "no" >&6; }
13163fi
13164
13165
13166# Extract the first word of "gmsgfmt", so it can be a program name with args.
13167set dummy gmsgfmt; ac_word=$2
13168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13169$as_echo_n "checking for $ac_word... " >&6; }
13170if ${ac_cv_path_GMSGFMT+:} false; then :
13171  $as_echo_n "(cached) " >&6
13172else
13173  case $GMSGFMT in
13174  [\\/]* | ?:[\\/]*)
13175  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13176  ;;
13177  *)
13178  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179for as_dir in $PATH
13180do
13181  IFS=$as_save_IFS
13182  test -z "$as_dir" && as_dir=.
13183    for ac_exec_ext in '' $ac_executable_extensions; do
13184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13185    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13187    break 2
13188  fi
13189done
13190  done
13191IFS=$as_save_IFS
13192
13193  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13194  ;;
13195esac
13196fi
13197GMSGFMT=$ac_cv_path_GMSGFMT
13198if test -n "$GMSGFMT"; then
13199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13200$as_echo "$GMSGFMT" >&6; }
13201else
13202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13203$as_echo "no" >&6; }
13204fi
13205
13206
13207if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13208    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13209fi
13210xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13211mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13212mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13213if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13214    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13215fi
13216
13217# Extract the first word of "perl", so it can be a program name with args.
13218set dummy perl; ac_word=$2
13219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13220$as_echo_n "checking for $ac_word... " >&6; }
13221if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13222  $as_echo_n "(cached) " >&6
13223else
13224  case $INTLTOOL_PERL in
13225  [\\/]* | ?:[\\/]*)
13226  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13227  ;;
13228  *)
13229  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13230for as_dir in $PATH
13231do
13232  IFS=$as_save_IFS
13233  test -z "$as_dir" && as_dir=.
13234    for ac_exec_ext in '' $ac_executable_extensions; do
13235  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13236    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13237    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13238    break 2
13239  fi
13240done
13241  done
13242IFS=$as_save_IFS
13243
13244  ;;
13245esac
13246fi
13247INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13248if test -n "$INTLTOOL_PERL"; then
13249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13250$as_echo "$INTLTOOL_PERL" >&6; }
13251else
13252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13253$as_echo "no" >&6; }
13254fi
13255
13256
13257if test -z "$INTLTOOL_PERL"; then
13258   as_fn_error $? "perl not found" "$LINENO" 5
13259fi
13260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13261$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13262$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13263if test $? -ne 0; then
13264   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13265else
13266   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13268$as_echo "$IT_PERL_VERSION" >&6; }
13269fi
13270if test "x" != "xno-xml"; then
13271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13272$as_echo_n "checking for XML::Parser... " >&6; }
13273   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13274       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13275$as_echo "ok" >&6; }
13276   else
13277       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13278   fi
13279fi
13280
13281# Substitute ALL_LINGUAS so we can use it in po/Makefile
13282
13283
13284# Set DATADIRNAME correctly if it is not set yet
13285# (copied from glib-gettext.m4)
13286if test -z "$DATADIRNAME"; then
13287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288/* end confdefs.h.  */
13289
13290int
13291main ()
13292{
13293extern int _nl_msg_cat_cntr;
13294                       return _nl_msg_cat_cntr
13295  ;
13296  return 0;
13297}
13298_ACEOF
13299if ac_fn_c_try_link "$LINENO"; then :
13300  DATADIRNAME=share
13301else
13302  case $host in
13303    *-*-solaris*)
13304                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13305if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13306  DATADIRNAME=share
13307else
13308  DATADIRNAME=share
13309fi
13310
13311    ;;
13312    *)
13313    DATADIRNAME=share
13314    ;;
13315    esac
13316fi
13317rm -f core conftest.err conftest.$ac_objext \
13318    conftest$ac_exeext conftest.$ac_ext
13319fi
13320
13321
13322
13323
13324
13325# Extract the first word of "pkg-config", so it can be a program name with args.
13326set dummy pkg-config; ac_word=$2
13327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13328$as_echo_n "checking for $ac_word... " >&6; }
13329if ${ac_cv_path_PKG_CONFIG+:} false; then :
13330  $as_echo_n "(cached) " >&6
13331else
13332  case $PKG_CONFIG in
13333  [\\/]* | ?:[\\/]*)
13334  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13335  ;;
13336  *)
13337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13338for as_dir in $PATH
13339do
13340  IFS=$as_save_IFS
13341  test -z "$as_dir" && as_dir=.
13342    for ac_exec_ext in '' $ac_executable_extensions; do
13343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13344    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13346    break 2
13347  fi
13348done
13349  done
13350IFS=$as_save_IFS
13351
13352  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13353  ;;
13354esac
13355fi
13356PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13357if test -n "$PKG_CONFIG"; then
13358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13359$as_echo "$PKG_CONFIG" >&6; }
13360else
13361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13362$as_echo "no" >&6; }
13363fi
13364
13365
13366
13367LIB_GNOME_KEYRING_LT_VERSION=2:0:2
13368
13369
13370version_bits=`echo $VERSION | tr '.' ' '`
13371full_version=`printf %03d%03d%03d $version_bits`
13372
13373cat >>confdefs.h <<_ACEOF
13374#define GKR_VERSION $full_version
13375_ACEOF
13376
13377
13378ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13379if test "x$ac_cv_type_pid_t" = xyes; then :
13380
13381else
13382
13383cat >>confdefs.h <<_ACEOF
13384#define pid_t int
13385_ACEOF
13386
13387fi
13388
13389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13390$as_echo_n "checking return type of signal handlers... " >&6; }
13391if ${ac_cv_type_signal+:} false; then :
13392  $as_echo_n "(cached) " >&6
13393else
13394  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395/* end confdefs.h.  */
13396#include <sys/types.h>
13397#include <signal.h>
13398
13399int
13400main ()
13401{
13402return *(signal (0, 0)) (0) == 1;
13403  ;
13404  return 0;
13405}
13406_ACEOF
13407if ac_fn_c_try_compile "$LINENO"; then :
13408  ac_cv_type_signal=int
13409else
13410  ac_cv_type_signal=void
13411fi
13412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13413fi
13414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13415$as_echo "$ac_cv_type_signal" >&6; }
13416
13417cat >>confdefs.h <<_ACEOF
13418#define RETSIGTYPE $ac_cv_type_signal
13419_ACEOF
13420
13421
13422ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13423if test "x$ac_cv_type_size_t" = xyes; then :
13424
13425else
13426
13427cat >>confdefs.h <<_ACEOF
13428#define size_t unsigned int
13429_ACEOF
13430
13431fi
13432
13433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13434$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13435if ${ac_cv_type_uid_t+:} false; then :
13436  $as_echo_n "(cached) " >&6
13437else
13438  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439/* end confdefs.h.  */
13440#include <sys/types.h>
13441
13442_ACEOF
13443if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13444  $EGREP "uid_t" >/dev/null 2>&1; then :
13445  ac_cv_type_uid_t=yes
13446else
13447  ac_cv_type_uid_t=no
13448fi
13449rm -f conftest*
13450
13451fi
13452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13453$as_echo "$ac_cv_type_uid_t" >&6; }
13454if test $ac_cv_type_uid_t = no; then
13455
13456$as_echo "#define uid_t int" >>confdefs.h
13457
13458
13459$as_echo "#define gid_t int" >>confdefs.h
13460
13461fi
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13472	if test -n "$ac_tool_prefix"; then
13473  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13474set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13476$as_echo_n "checking for $ac_word... " >&6; }
13477if ${ac_cv_path_PKG_CONFIG+:} false; then :
13478  $as_echo_n "(cached) " >&6
13479else
13480  case $PKG_CONFIG in
13481  [\\/]* | ?:[\\/]*)
13482  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13483  ;;
13484  *)
13485  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13486for as_dir in $PATH
13487do
13488  IFS=$as_save_IFS
13489  test -z "$as_dir" && as_dir=.
13490    for ac_exec_ext in '' $ac_executable_extensions; do
13491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13492    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13494    break 2
13495  fi
13496done
13497  done
13498IFS=$as_save_IFS
13499
13500  ;;
13501esac
13502fi
13503PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13504if test -n "$PKG_CONFIG"; then
13505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13506$as_echo "$PKG_CONFIG" >&6; }
13507else
13508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13509$as_echo "no" >&6; }
13510fi
13511
13512
13513fi
13514if test -z "$ac_cv_path_PKG_CONFIG"; then
13515  ac_pt_PKG_CONFIG=$PKG_CONFIG
13516  # Extract the first word of "pkg-config", so it can be a program name with args.
13517set dummy pkg-config; ac_word=$2
13518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13519$as_echo_n "checking for $ac_word... " >&6; }
13520if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13521  $as_echo_n "(cached) " >&6
13522else
13523  case $ac_pt_PKG_CONFIG in
13524  [\\/]* | ?:[\\/]*)
13525  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13526  ;;
13527  *)
13528  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13529for as_dir in $PATH
13530do
13531  IFS=$as_save_IFS
13532  test -z "$as_dir" && as_dir=.
13533    for ac_exec_ext in '' $ac_executable_extensions; do
13534  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13535    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13536    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13537    break 2
13538  fi
13539done
13540  done
13541IFS=$as_save_IFS
13542
13543  ;;
13544esac
13545fi
13546ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13547if test -n "$ac_pt_PKG_CONFIG"; then
13548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13549$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13550else
13551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13552$as_echo "no" >&6; }
13553fi
13554
13555  if test "x$ac_pt_PKG_CONFIG" = x; then
13556    PKG_CONFIG=""
13557  else
13558    case $cross_compiling:$ac_tool_warned in
13559yes:)
13560{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13561$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13562ac_tool_warned=yes ;;
13563esac
13564    PKG_CONFIG=$ac_pt_PKG_CONFIG
13565  fi
13566else
13567  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13568fi
13569
13570fi
13571if test -n "$PKG_CONFIG"; then
13572	_pkg_min_version=0.9.0
13573	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13574$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13575	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13576		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13577$as_echo "yes" >&6; }
13578	else
13579		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580$as_echo "no" >&6; }
13581		PKG_CONFIG=""
13582	fi
13583fi
13584
13585
13586
13587    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13588set dummy gtkdoc-check; ac_word=$2
13589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13590$as_echo_n "checking for $ac_word... " >&6; }
13591if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13592  $as_echo_n "(cached) " >&6
13593else
13594  case $GTKDOC_CHECK in
13595  [\\/]* | ?:[\\/]*)
13596  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13597  ;;
13598  *)
13599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600for as_dir in $PATH
13601do
13602  IFS=$as_save_IFS
13603  test -z "$as_dir" && as_dir=.
13604    for ac_exec_ext in '' $ac_executable_extensions; do
13605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13606    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608    break 2
13609  fi
13610done
13611  done
13612IFS=$as_save_IFS
13613
13614  ;;
13615esac
13616fi
13617GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13618if test -n "$GTKDOC_CHECK"; then
13619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13620$as_echo "$GTKDOC_CHECK" >&6; }
13621else
13622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13623$as_echo "no" >&6; }
13624fi
13625
13626
13627  for ac_prog in gtkdoc-rebase
13628do
13629  # Extract the first word of "$ac_prog", so it can be a program name with args.
13630set dummy $ac_prog; ac_word=$2
13631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13632$as_echo_n "checking for $ac_word... " >&6; }
13633if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13634  $as_echo_n "(cached) " >&6
13635else
13636  case $GTKDOC_REBASE in
13637  [\\/]* | ?:[\\/]*)
13638  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13639  ;;
13640  *)
13641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13642for as_dir in $PATH
13643do
13644  IFS=$as_save_IFS
13645  test -z "$as_dir" && as_dir=.
13646    for ac_exec_ext in '' $ac_executable_extensions; do
13647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13648    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13650    break 2
13651  fi
13652done
13653  done
13654IFS=$as_save_IFS
13655
13656  ;;
13657esac
13658fi
13659GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13660if test -n "$GTKDOC_REBASE"; then
13661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13662$as_echo "$GTKDOC_REBASE" >&6; }
13663else
13664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13665$as_echo "no" >&6; }
13666fi
13667
13668
13669  test -n "$GTKDOC_REBASE" && break
13670done
13671test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13672
13673  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13674set dummy gtkdoc-mkpdf; ac_word=$2
13675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13676$as_echo_n "checking for $ac_word... " >&6; }
13677if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13678  $as_echo_n "(cached) " >&6
13679else
13680  case $GTKDOC_MKPDF in
13681  [\\/]* | ?:[\\/]*)
13682  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13683  ;;
13684  *)
13685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13686for as_dir in $PATH
13687do
13688  IFS=$as_save_IFS
13689  test -z "$as_dir" && as_dir=.
13690    for ac_exec_ext in '' $ac_executable_extensions; do
13691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13692    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13694    break 2
13695  fi
13696done
13697  done
13698IFS=$as_save_IFS
13699
13700  ;;
13701esac
13702fi
13703GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13704if test -n "$GTKDOC_MKPDF"; then
13705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13706$as_echo "$GTKDOC_MKPDF" >&6; }
13707else
13708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709$as_echo "no" >&6; }
13710fi
13711
13712
13713
13714
13715# Check whether --with-html-dir was given.
13716if test "${with_html_dir+set}" = set; then :
13717  withval=$with_html_dir;
13718else
13719  with_html_dir='${datadir}/gtk-doc/html'
13720fi
13721
13722  HTML_DIR="$with_html_dir"
13723
13724
13725    # Check whether --enable-gtk-doc was given.
13726if test "${enable_gtk_doc+set}" = set; then :
13727  enableval=$enable_gtk_doc;
13728else
13729  enable_gtk_doc=no
13730fi
13731
13732
13733  if test x$enable_gtk_doc = xyes; then
13734    if test -n "$PKG_CONFIG" && \
13735    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
13736  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
13737  ac_status=$?
13738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13739  test $ac_status = 0; }; then
13740  :
13741else
13742  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
13743fi
13744        if test "x$PACKAGE_NAME" != "xglib"; then
13745
13746pkg_failed=no
13747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13748$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13749
13750if test -n "$GTKDOC_DEPS_CFLAGS"; then
13751    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13752 elif test -n "$PKG_CONFIG"; then
13753    if test -n "$PKG_CONFIG" && \
13754    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13755  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13756  ac_status=$?
13757  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758  test $ac_status = 0; }; then
13759  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13760		      test "x$?" != "x0" && pkg_failed=yes
13761else
13762  pkg_failed=yes
13763fi
13764 else
13765    pkg_failed=untried
13766fi
13767if test -n "$GTKDOC_DEPS_LIBS"; then
13768    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13769 elif test -n "$PKG_CONFIG"; then
13770    if test -n "$PKG_CONFIG" && \
13771    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13772  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13773  ac_status=$?
13774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13775  test $ac_status = 0; }; then
13776  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13777		      test "x$?" != "x0" && pkg_failed=yes
13778else
13779  pkg_failed=yes
13780fi
13781 else
13782    pkg_failed=untried
13783fi
13784
13785
13786
13787if test $pkg_failed = yes; then
13788   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789$as_echo "no" >&6; }
13790
13791if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13792        _pkg_short_errors_supported=yes
13793else
13794        _pkg_short_errors_supported=no
13795fi
13796        if test $_pkg_short_errors_supported = yes; then
13797	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13798        else
13799	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13800        fi
13801	# Put the nasty error message in config.log where it belongs
13802	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13803
13804	:
13805elif test $pkg_failed = untried; then
13806     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13807$as_echo "no" >&6; }
13808	:
13809else
13810	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13811	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13812        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13813$as_echo "yes" >&6; }
13814
13815fi
13816    fi
13817  fi
13818
13819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13820$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13822$as_echo "$enable_gtk_doc" >&6; }
13823
13824    # Check whether --enable-gtk-doc-html was given.
13825if test "${enable_gtk_doc_html+set}" = set; then :
13826  enableval=$enable_gtk_doc_html;
13827else
13828  enable_gtk_doc_html=yes
13829fi
13830
13831    # Check whether --enable-gtk-doc-pdf was given.
13832if test "${enable_gtk_doc_pdf+set}" = set; then :
13833  enableval=$enable_gtk_doc_pdf;
13834else
13835  enable_gtk_doc_pdf=no
13836fi
13837
13838
13839  if test -z "$GTKDOC_MKPDF"; then
13840    enable_gtk_doc_pdf=no
13841  fi
13842
13843  if test -z "$AM_DEFAULT_VERBOSITY"; then
13844    AM_DEFAULT_VERBOSITY=1
13845  fi
13846
13847
13848   if test x$enable_gtk_doc = xyes; then
13849  ENABLE_GTK_DOC_TRUE=
13850  ENABLE_GTK_DOC_FALSE='#'
13851else
13852  ENABLE_GTK_DOC_TRUE='#'
13853  ENABLE_GTK_DOC_FALSE=
13854fi
13855
13856   if test x$enable_gtk_doc_html = xyes; then
13857  GTK_DOC_BUILD_HTML_TRUE=
13858  GTK_DOC_BUILD_HTML_FALSE='#'
13859else
13860  GTK_DOC_BUILD_HTML_TRUE='#'
13861  GTK_DOC_BUILD_HTML_FALSE=
13862fi
13863
13864   if test x$enable_gtk_doc_pdf = xyes; then
13865  GTK_DOC_BUILD_PDF_TRUE=
13866  GTK_DOC_BUILD_PDF_FALSE='#'
13867else
13868  GTK_DOC_BUILD_PDF_TRUE='#'
13869  GTK_DOC_BUILD_PDF_FALSE=
13870fi
13871
13872   if test -n "$LIBTOOL"; then
13873  GTK_DOC_USE_LIBTOOL_TRUE=
13874  GTK_DOC_USE_LIBTOOL_FALSE='#'
13875else
13876  GTK_DOC_USE_LIBTOOL_TRUE='#'
13877  GTK_DOC_USE_LIBTOOL_FALSE=
13878fi
13879
13880   if test -n "$GTKDOC_REBASE"; then
13881  GTK_DOC_USE_REBASE_TRUE=
13882  GTK_DOC_USE_REBASE_FALSE='#'
13883else
13884  GTK_DOC_USE_REBASE_TRUE='#'
13885  GTK_DOC_USE_REBASE_FALSE=
13886fi
13887
13888
13889DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc"
13890
13891
13892
13893pkg_failed=no
13894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
13895$as_echo_n "checking for GLIB... " >&6; }
13896
13897if test -n "$GLIB_CFLAGS"; then
13898    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
13899 elif test -n "$PKG_CONFIG"; then
13900    if test -n "$PKG_CONFIG" && \
13901    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0\""; } >&5
13902  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0") 2>&5
13903  ac_status=$?
13904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13905  test $ac_status = 0; }; then
13906  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0" 2>/dev/null`
13907		      test "x$?" != "x0" && pkg_failed=yes
13908else
13909  pkg_failed=yes
13910fi
13911 else
13912    pkg_failed=untried
13913fi
13914if test -n "$GLIB_LIBS"; then
13915    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13916 elif test -n "$PKG_CONFIG"; then
13917    if test -n "$PKG_CONFIG" && \
13918    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0\""; } >&5
13919  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0") 2>&5
13920  ac_status=$?
13921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13922  test $ac_status = 0; }; then
13923  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0" 2>/dev/null`
13924		      test "x$?" != "x0" && pkg_failed=yes
13925else
13926  pkg_failed=yes
13927fi
13928 else
13929    pkg_failed=untried
13930fi
13931
13932
13933
13934if test $pkg_failed = yes; then
13935   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13936$as_echo "no" >&6; }
13937
13938if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13939        _pkg_short_errors_supported=yes
13940else
13941        _pkg_short_errors_supported=no
13942fi
13943        if test $_pkg_short_errors_supported = yes; then
13944	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0" 2>&1`
13945        else
13946	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0" 2>&1`
13947        fi
13948	# Put the nasty error message in config.log where it belongs
13949	echo "$GLIB_PKG_ERRORS" >&5
13950
13951	as_fn_error $? "Package requirements (glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0) were not met:
13952
13953$GLIB_PKG_ERRORS
13954
13955Consider adjusting the PKG_CONFIG_PATH environment variable if you
13956installed software in a non-standard prefix.
13957
13958Alternatively, you may set the environment variables GLIB_CFLAGS
13959and GLIB_LIBS to avoid the need to call pkg-config.
13960See the pkg-config man page for more details." "$LINENO" 5
13961elif test $pkg_failed = untried; then
13962     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13963$as_echo "no" >&6; }
13964	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13966as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13967is in your PATH or set the PKG_CONFIG environment variable to the full
13968path to pkg-config.
13969
13970Alternatively, you may set the environment variables GLIB_CFLAGS
13971and GLIB_LIBS to avoid the need to call pkg-config.
13972See the pkg-config man page for more details.
13973
13974To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13975See \`config.log' for more details" "$LINENO" 5; }
13976else
13977	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13978	GLIB_LIBS=$pkg_cv_GLIB_LIBS
13979        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13980$as_echo "yes" >&6; }
13981
13982fi
13983
13984
13985
13986LIBRARY_CFLAGS="$LIBRARY_CFLAGS $GLIB_CFLAGS"
13987LIBRARY_LIBS="$LIBRARY_LIBS $GLIB_LIBS"
13988
13989GETTEXT_PACKAGE="libgnome-keyring"
13990
13991cat >>confdefs.h <<_ACEOF
13992#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13993_ACEOF
13994
13995
13996
13997
13998   for ac_header in locale.h
13999do :
14000  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14001if test "x$ac_cv_header_locale_h" = xyes; then :
14002  cat >>confdefs.h <<_ACEOF
14003#define HAVE_LOCALE_H 1
14004_ACEOF
14005
14006fi
14007
14008done
14009
14010    if test $ac_cv_header_locale_h = yes; then
14011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14012$as_echo_n "checking for LC_MESSAGES... " >&6; }
14013if ${am_cv_val_LC_MESSAGES+:} false; then :
14014  $as_echo_n "(cached) " >&6
14015else
14016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017/* end confdefs.h.  */
14018#include <locale.h>
14019int
14020main ()
14021{
14022return LC_MESSAGES
14023  ;
14024  return 0;
14025}
14026_ACEOF
14027if ac_fn_c_try_link "$LINENO"; then :
14028  am_cv_val_LC_MESSAGES=yes
14029else
14030  am_cv_val_LC_MESSAGES=no
14031fi
14032rm -f core conftest.err conftest.$ac_objext \
14033    conftest$ac_exeext conftest.$ac_ext
14034fi
14035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14036$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14037    if test $am_cv_val_LC_MESSAGES = yes; then
14038
14039$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14040
14041    fi
14042  fi
14043     USE_NLS=yes
14044
14045
14046    gt_cv_have_gettext=no
14047
14048    CATOBJEXT=NONE
14049    XGETTEXT=:
14050    INTLLIBS=
14051
14052    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14053if test "x$ac_cv_header_libintl_h" = xyes; then :
14054  gt_cv_func_dgettext_libintl="no"
14055      libintl_extra_libs=""
14056
14057      #
14058      # First check in libc
14059      #
14060      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14061$as_echo_n "checking for ngettext in libc... " >&6; }
14062if ${gt_cv_func_ngettext_libc+:} false; then :
14063  $as_echo_n "(cached) " >&6
14064else
14065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066/* end confdefs.h.  */
14067
14068#include <libintl.h>
14069
14070int
14071main ()
14072{
14073return !ngettext ("","", 1)
14074  ;
14075  return 0;
14076}
14077_ACEOF
14078if ac_fn_c_try_link "$LINENO"; then :
14079  gt_cv_func_ngettext_libc=yes
14080else
14081  gt_cv_func_ngettext_libc=no
14082fi
14083rm -f core conftest.err conftest.$ac_objext \
14084    conftest$ac_exeext conftest.$ac_ext
14085
14086fi
14087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14088$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14089
14090      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14091	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14092$as_echo_n "checking for dgettext in libc... " >&6; }
14093if ${gt_cv_func_dgettext_libc+:} false; then :
14094  $as_echo_n "(cached) " >&6
14095else
14096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097/* end confdefs.h.  */
14098
14099#include <libintl.h>
14100
14101int
14102main ()
14103{
14104return !dgettext ("","")
14105  ;
14106  return 0;
14107}
14108_ACEOF
14109if ac_fn_c_try_link "$LINENO"; then :
14110  gt_cv_func_dgettext_libc=yes
14111else
14112  gt_cv_func_dgettext_libc=no
14113fi
14114rm -f core conftest.err conftest.$ac_objext \
14115    conftest$ac_exeext conftest.$ac_ext
14116
14117fi
14118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14119$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14120      fi
14121
14122      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14123        for ac_func in bind_textdomain_codeset
14124do :
14125  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14126if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14127  cat >>confdefs.h <<_ACEOF
14128#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14129_ACEOF
14130
14131fi
14132done
14133
14134      fi
14135
14136      #
14137      # If we don't have everything we want, check in libintl
14138      #
14139      if test "$gt_cv_func_dgettext_libc" != "yes" \
14140	 || test "$gt_cv_func_ngettext_libc" != "yes" \
14141         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14142
14143        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14144$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14145if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14146  $as_echo_n "(cached) " >&6
14147else
14148  ac_check_lib_save_LIBS=$LIBS
14149LIBS="-lintl  $LIBS"
14150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151/* end confdefs.h.  */
14152
14153/* Override any GCC internal prototype to avoid an error.
14154   Use char because int might match the return type of a GCC
14155   builtin and then its argument prototype would still apply.  */
14156#ifdef __cplusplus
14157extern "C"
14158#endif
14159char bindtextdomain ();
14160int
14161main ()
14162{
14163return bindtextdomain ();
14164  ;
14165  return 0;
14166}
14167_ACEOF
14168if ac_fn_c_try_link "$LINENO"; then :
14169  ac_cv_lib_intl_bindtextdomain=yes
14170else
14171  ac_cv_lib_intl_bindtextdomain=no
14172fi
14173rm -f core conftest.err conftest.$ac_objext \
14174    conftest$ac_exeext conftest.$ac_ext
14175LIBS=$ac_check_lib_save_LIBS
14176fi
14177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14178$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14179if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14180  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14181$as_echo_n "checking for ngettext in -lintl... " >&6; }
14182if ${ac_cv_lib_intl_ngettext+:} false; then :
14183  $as_echo_n "(cached) " >&6
14184else
14185  ac_check_lib_save_LIBS=$LIBS
14186LIBS="-lintl  $LIBS"
14187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188/* end confdefs.h.  */
14189
14190/* Override any GCC internal prototype to avoid an error.
14191   Use char because int might match the return type of a GCC
14192   builtin and then its argument prototype would still apply.  */
14193#ifdef __cplusplus
14194extern "C"
14195#endif
14196char ngettext ();
14197int
14198main ()
14199{
14200return ngettext ();
14201  ;
14202  return 0;
14203}
14204_ACEOF
14205if ac_fn_c_try_link "$LINENO"; then :
14206  ac_cv_lib_intl_ngettext=yes
14207else
14208  ac_cv_lib_intl_ngettext=no
14209fi
14210rm -f core conftest.err conftest.$ac_objext \
14211    conftest$ac_exeext conftest.$ac_ext
14212LIBS=$ac_check_lib_save_LIBS
14213fi
14214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14215$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14216if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14218$as_echo_n "checking for dgettext in -lintl... " >&6; }
14219if ${ac_cv_lib_intl_dgettext+:} false; then :
14220  $as_echo_n "(cached) " >&6
14221else
14222  ac_check_lib_save_LIBS=$LIBS
14223LIBS="-lintl  $LIBS"
14224cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225/* end confdefs.h.  */
14226
14227/* Override any GCC internal prototype to avoid an error.
14228   Use char because int might match the return type of a GCC
14229   builtin and then its argument prototype would still apply.  */
14230#ifdef __cplusplus
14231extern "C"
14232#endif
14233char dgettext ();
14234int
14235main ()
14236{
14237return dgettext ();
14238  ;
14239  return 0;
14240}
14241_ACEOF
14242if ac_fn_c_try_link "$LINENO"; then :
14243  ac_cv_lib_intl_dgettext=yes
14244else
14245  ac_cv_lib_intl_dgettext=no
14246fi
14247rm -f core conftest.err conftest.$ac_objext \
14248    conftest$ac_exeext conftest.$ac_ext
14249LIBS=$ac_check_lib_save_LIBS
14250fi
14251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14252$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14253if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14254  gt_cv_func_dgettext_libintl=yes
14255fi
14256
14257fi
14258
14259fi
14260
14261
14262	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14263	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14264$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14265	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14266$as_echo "" >&6; }
14267  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14268$as_echo_n "checking for ngettext in -lintl... " >&6; }
14269if ${ac_cv_lib_intl_ngettext+:} false; then :
14270  $as_echo_n "(cached) " >&6
14271else
14272  ac_check_lib_save_LIBS=$LIBS
14273LIBS="-lintl -liconv $LIBS"
14274cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275/* end confdefs.h.  */
14276
14277/* Override any GCC internal prototype to avoid an error.
14278   Use char because int might match the return type of a GCC
14279   builtin and then its argument prototype would still apply.  */
14280#ifdef __cplusplus
14281extern "C"
14282#endif
14283char ngettext ();
14284int
14285main ()
14286{
14287return ngettext ();
14288  ;
14289  return 0;
14290}
14291_ACEOF
14292if ac_fn_c_try_link "$LINENO"; then :
14293  ac_cv_lib_intl_ngettext=yes
14294else
14295  ac_cv_lib_intl_ngettext=no
14296fi
14297rm -f core conftest.err conftest.$ac_objext \
14298    conftest$ac_exeext conftest.$ac_ext
14299LIBS=$ac_check_lib_save_LIBS
14300fi
14301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14302$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14303if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14305$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14306if ${ac_cv_lib_intl_dcgettext+:} false; then :
14307  $as_echo_n "(cached) " >&6
14308else
14309  ac_check_lib_save_LIBS=$LIBS
14310LIBS="-lintl -liconv $LIBS"
14311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312/* end confdefs.h.  */
14313
14314/* Override any GCC internal prototype to avoid an error.
14315   Use char because int might match the return type of a GCC
14316   builtin and then its argument prototype would still apply.  */
14317#ifdef __cplusplus
14318extern "C"
14319#endif
14320char dcgettext ();
14321int
14322main ()
14323{
14324return dcgettext ();
14325  ;
14326  return 0;
14327}
14328_ACEOF
14329if ac_fn_c_try_link "$LINENO"; then :
14330  ac_cv_lib_intl_dcgettext=yes
14331else
14332  ac_cv_lib_intl_dcgettext=no
14333fi
14334rm -f core conftest.err conftest.$ac_objext \
14335    conftest$ac_exeext conftest.$ac_ext
14336LIBS=$ac_check_lib_save_LIBS
14337fi
14338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14339$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14340if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14341  gt_cv_func_dgettext_libintl=yes
14342			libintl_extra_libs=-liconv
14343else
14344  :
14345fi
14346
14347else
14348  :
14349fi
14350
14351        fi
14352
14353        #
14354        # If we found libintl, then check in it for bind_textdomain_codeset();
14355        # we'll prefer libc if neither have bind_textdomain_codeset(),
14356        # and both have dgettext and ngettext
14357        #
14358        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14359          glib_save_LIBS="$LIBS"
14360          LIBS="$LIBS -lintl $libintl_extra_libs"
14361          unset ac_cv_func_bind_textdomain_codeset
14362          for ac_func in bind_textdomain_codeset
14363do :
14364  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14365if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14366  cat >>confdefs.h <<_ACEOF
14367#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14368_ACEOF
14369
14370fi
14371done
14372
14373          LIBS="$glib_save_LIBS"
14374
14375          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14376            gt_cv_func_dgettext_libc=no
14377          else
14378            if test "$gt_cv_func_dgettext_libc" = "yes" \
14379		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14380              gt_cv_func_dgettext_libintl=no
14381            fi
14382          fi
14383        fi
14384      fi
14385
14386      if test "$gt_cv_func_dgettext_libc" = "yes" \
14387	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14388        gt_cv_have_gettext=yes
14389      fi
14390
14391      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14392        INTLLIBS="-lintl $libintl_extra_libs"
14393      fi
14394
14395      if test "$gt_cv_have_gettext" = "yes"; then
14396
14397$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14398
14399	# Extract the first word of "msgfmt", so it can be a program name with args.
14400set dummy msgfmt; ac_word=$2
14401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14402$as_echo_n "checking for $ac_word... " >&6; }
14403if ${ac_cv_path_MSGFMT+:} false; then :
14404  $as_echo_n "(cached) " >&6
14405else
14406  case "$MSGFMT" in
14407  /*)
14408  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14409  ;;
14410  *)
14411  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14412  for ac_dir in $PATH; do
14413    test -z "$ac_dir" && ac_dir=.
14414    if test -f $ac_dir/$ac_word; then
14415      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14416	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14417	break
14418      fi
14419    fi
14420  done
14421  IFS="$ac_save_ifs"
14422  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14423  ;;
14424esac
14425fi
14426MSGFMT="$ac_cv_path_MSGFMT"
14427if test "$MSGFMT" != "no"; then
14428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14429$as_echo "$MSGFMT" >&6; }
14430else
14431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432$as_echo "no" >&6; }
14433fi
14434	if test "$MSGFMT" != "no"; then
14435          glib_save_LIBS="$LIBS"
14436          LIBS="$LIBS $INTLLIBS"
14437	  for ac_func in dcgettext
14438do :
14439  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14440if test "x$ac_cv_func_dcgettext" = xyes; then :
14441  cat >>confdefs.h <<_ACEOF
14442#define HAVE_DCGETTEXT 1
14443_ACEOF
14444
14445fi
14446done
14447
14448	  MSGFMT_OPTS=
14449	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14450$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14451	  cat >conftest.foo <<_ACEOF
14452
14453msgid ""
14454msgstr ""
14455"Content-Type: text/plain; charset=UTF-8\n"
14456"Project-Id-Version: test 1.0\n"
14457"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14458"Last-Translator: test <foo@bar.xx>\n"
14459"Language-Team: C <LL@li.org>\n"
14460"MIME-Version: 1.0\n"
14461"Content-Transfer-Encoding: 8bit\n"
14462
14463_ACEOF
14464if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14465  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14466  ac_status=$?
14467  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14468  test $ac_status = 0; }; then
14469  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14470$as_echo "yes" >&6; }
14471else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14472$as_echo "no" >&6; }
14473echo "$as_me: failed input was:" >&5
14474sed 's/^/| /' conftest.foo >&5
14475fi
14476
14477	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14478set dummy gmsgfmt; ac_word=$2
14479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14480$as_echo_n "checking for $ac_word... " >&6; }
14481if ${ac_cv_path_GMSGFMT+:} false; then :
14482  $as_echo_n "(cached) " >&6
14483else
14484  case $GMSGFMT in
14485  [\\/]* | ?:[\\/]*)
14486  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14487  ;;
14488  *)
14489  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14490for as_dir in $PATH
14491do
14492  IFS=$as_save_IFS
14493  test -z "$as_dir" && as_dir=.
14494    for ac_exec_ext in '' $ac_executable_extensions; do
14495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14496    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14498    break 2
14499  fi
14500done
14501  done
14502IFS=$as_save_IFS
14503
14504  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14505  ;;
14506esac
14507fi
14508GMSGFMT=$ac_cv_path_GMSGFMT
14509if test -n "$GMSGFMT"; then
14510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14511$as_echo "$GMSGFMT" >&6; }
14512else
14513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14514$as_echo "no" >&6; }
14515fi
14516
14517
14518	  # Extract the first word of "xgettext", so it can be a program name with args.
14519set dummy xgettext; ac_word=$2
14520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14521$as_echo_n "checking for $ac_word... " >&6; }
14522if ${ac_cv_path_XGETTEXT+:} false; then :
14523  $as_echo_n "(cached) " >&6
14524else
14525  case "$XGETTEXT" in
14526  /*)
14527  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14528  ;;
14529  *)
14530  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14531  for ac_dir in $PATH; do
14532    test -z "$ac_dir" && ac_dir=.
14533    if test -f $ac_dir/$ac_word; then
14534      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14535	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14536	break
14537      fi
14538    fi
14539  done
14540  IFS="$ac_save_ifs"
14541  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14542  ;;
14543esac
14544fi
14545XGETTEXT="$ac_cv_path_XGETTEXT"
14546if test "$XGETTEXT" != ":"; then
14547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14548$as_echo "$XGETTEXT" >&6; }
14549else
14550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551$as_echo "no" >&6; }
14552fi
14553
14554	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555/* end confdefs.h.  */
14556
14557int
14558main ()
14559{
14560extern int _nl_msg_cat_cntr;
14561			 return _nl_msg_cat_cntr
14562  ;
14563  return 0;
14564}
14565_ACEOF
14566if ac_fn_c_try_link "$LINENO"; then :
14567  CATOBJEXT=.gmo
14568             DATADIRNAME=share
14569else
14570  case $host in
14571	    *-*-solaris*)
14572	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14573if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14574  CATOBJEXT=.gmo
14575               DATADIRNAME=share
14576else
14577  CATOBJEXT=.mo
14578               DATADIRNAME=share
14579fi
14580
14581	    ;;
14582	    *-*-openbsd*)
14583	    CATOBJEXT=.mo
14584            DATADIRNAME=share
14585	    ;;
14586	    *)
14587	    CATOBJEXT=.mo
14588            DATADIRNAME=share
14589	    ;;
14590	    esac
14591fi
14592rm -f core conftest.err conftest.$ac_objext \
14593    conftest$ac_exeext conftest.$ac_ext
14594          LIBS="$glib_save_LIBS"
14595	  INSTOBJEXT=.mo
14596	else
14597	  gt_cv_have_gettext=no
14598	fi
14599      fi
14600
14601fi
14602
14603
14604
14605    if test "$gt_cv_have_gettext" = "yes" ; then
14606
14607$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14608
14609    fi
14610
14611        if test "$XGETTEXT" != ":"; then
14612                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14613        : ;
14614      else
14615        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14616$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14617        XGETTEXT=":"
14618      fi
14619    fi
14620
14621    # We need to process the po/ directory.
14622    POSUB=po
14623
14624    ac_config_commands="$ac_config_commands default-1"
14625
14626
14627                for lang in $ALL_LINGUAS; do
14628      GMOFILES="$GMOFILES $lang.gmo"
14629      POFILES="$POFILES $lang.po"
14630    done
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644   if test "$gt_cv_have_gettext" = "yes"; then
14645     if test "x$ALL_LINGUAS" = "x"; then
14646       LINGUAS=
14647     else
14648       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14649$as_echo_n "checking for catalogs to be installed... " >&6; }
14650       NEW_LINGUAS=
14651       for presentlang in $ALL_LINGUAS; do
14652         useit=no
14653         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14654           desiredlanguages="$LINGUAS"
14655         else
14656           desiredlanguages="$ALL_LINGUAS"
14657         fi
14658         for desiredlang in $desiredlanguages; do
14659 	   # Use the presentlang catalog if desiredlang is
14660           #   a. equal to presentlang, or
14661           #   b. a variant of presentlang (because in this case,
14662           #      presentlang can be used as a fallback for messages
14663           #      which are not translated in the desiredlang catalog).
14664           case "$desiredlang" in
14665             "$presentlang"*) useit=yes;;
14666           esac
14667         done
14668         if test $useit = yes; then
14669           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14670         fi
14671       done
14672       LINGUAS=$NEW_LINGUAS
14673       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14674$as_echo "$LINGUAS" >&6; }
14675     fi
14676
14677          if test -n "$LINGUAS"; then
14678       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14679     fi
14680   fi
14681
14682            MKINSTALLDIRS=
14683   if test -n "$ac_aux_dir"; then
14684     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14685   fi
14686   if test -z "$MKINSTALLDIRS"; then
14687     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14688   fi
14689
14690
14691         test -d po || mkdir po
14692   if test "x$srcdir" != "x."; then
14693     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14694       posrcprefix="$srcdir/"
14695     else
14696       posrcprefix="../$srcdir/"
14697     fi
14698   else
14699     posrcprefix="../"
14700   fi
14701   rm -f po/POTFILES
14702   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14703	< $srcdir/po/POTFILES.in > po/POTFILES
14704
14705
14706# Introspection
14707
14708
14709
14710                # Check whether --enable-introspection was given.
14711if test "${enable_introspection+set}" = set; then :
14712  enableval=$enable_introspection;
14713else
14714  enable_introspection=auto
14715fi
14716
14717
14718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14719$as_echo_n "checking for gobject-introspection... " >&6; }
14720
14721        case $enable_introspection in #(
14722  no) :
14723            found_introspection="no (disabled, use --enable-introspection to enable)"
14724     ;; #(
14725      yes) :
14726            if test -n "$PKG_CONFIG" && \
14727    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14728  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14729  ac_status=$?
14730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731  test $ac_status = 0; }; then
14732  :
14733else
14734  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14735fi
14736        if test -n "$PKG_CONFIG" && \
14737    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
14738  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
14739  ac_status=$?
14740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14741  test $ac_status = 0; }; then
14742  found_introspection=yes
14743else
14744  as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libgnome-keyring" "$LINENO" 5
14745fi
14746     ;; #(
14747      auto) :
14748            if test -n "$PKG_CONFIG" && \
14749    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
14750  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
14751  ac_status=$?
14752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14753  test $ac_status = 0; }; then
14754  found_introspection=yes
14755else
14756  found_introspection=no
14757fi
14758     ;; #(
14759  *) :
14760                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14761     ;;
14762esac
14763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14764$as_echo "$found_introspection" >&6; }
14765
14766    INTROSPECTION_SCANNER=
14767    INTROSPECTION_COMPILER=
14768    INTROSPECTION_GENERATE=
14769    INTROSPECTION_GIRDIR=
14770    INTROSPECTION_TYPELIBDIR=
14771    if test "x$found_introspection" = "xyes"; then
14772       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14773       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14774       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14775       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14776       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14777       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14778       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14779       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14780    fi
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790     if test "x$found_introspection" = "xyes"; then
14791  HAVE_INTROSPECTION_TRUE=
14792  HAVE_INTROSPECTION_FALSE='#'
14793else
14794  HAVE_INTROSPECTION_TRUE='#'
14795  HAVE_INTROSPECTION_FALSE=
14796fi
14797
14798
14799
14800
14801# Vala bindings
14802
14803
14804
14805
14806  # Check whether --enable-vala was given.
14807if test "${enable_vala+set}" = set; then :
14808  enableval=$enable_vala;
14809else
14810  enable_vala=auto
14811fi
14812
14813
14814  case $enable_vala in #(
14815  no) :
14816     ;; #(
14817  yes) :
14818
14819        if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
14820
14821            as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5
14822
14823fi
14824       ;; #(
14825  auto) :
14826
14827        if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
14828
14829            enable_vala=no
14830
14831fi
14832       ;; #(
14833  *) :
14834
14835        as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5
14836       ;;
14837esac
14838
14839  if test "x" = "x"; then :
14840
14841      vapigen_pkg_name=vapigen
14842
14843else
14844
14845      vapigen_pkg_name=vapigen-
14846
14847fi
14848  if test "x0.16" = "x"; then :
14849
14850      vapigen_pkg="$vapigen_pkg_name"
14851
14852else
14853
14854      vapigen_pkg="$vapigen_pkg_name >= 0.16"
14855
14856fi
14857
14858
14859
14860
14861
14862
14863
14864
14865if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14866	if test -n "$ac_tool_prefix"; then
14867  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14868set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14870$as_echo_n "checking for $ac_word... " >&6; }
14871if ${ac_cv_path_PKG_CONFIG+:} false; then :
14872  $as_echo_n "(cached) " >&6
14873else
14874  case $PKG_CONFIG in
14875  [\\/]* | ?:[\\/]*)
14876  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14877  ;;
14878  *)
14879  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14880for as_dir in $PATH
14881do
14882  IFS=$as_save_IFS
14883  test -z "$as_dir" && as_dir=.
14884    for ac_exec_ext in '' $ac_executable_extensions; do
14885  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14886    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14888    break 2
14889  fi
14890done
14891  done
14892IFS=$as_save_IFS
14893
14894  ;;
14895esac
14896fi
14897PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14898if test -n "$PKG_CONFIG"; then
14899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14900$as_echo "$PKG_CONFIG" >&6; }
14901else
14902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14903$as_echo "no" >&6; }
14904fi
14905
14906
14907fi
14908if test -z "$ac_cv_path_PKG_CONFIG"; then
14909  ac_pt_PKG_CONFIG=$PKG_CONFIG
14910  # Extract the first word of "pkg-config", so it can be a program name with args.
14911set dummy pkg-config; ac_word=$2
14912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14913$as_echo_n "checking for $ac_word... " >&6; }
14914if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14915  $as_echo_n "(cached) " >&6
14916else
14917  case $ac_pt_PKG_CONFIG in
14918  [\\/]* | ?:[\\/]*)
14919  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14920  ;;
14921  *)
14922  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14923for as_dir in $PATH
14924do
14925  IFS=$as_save_IFS
14926  test -z "$as_dir" && as_dir=.
14927    for ac_exec_ext in '' $ac_executable_extensions; do
14928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14929    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14931    break 2
14932  fi
14933done
14934  done
14935IFS=$as_save_IFS
14936
14937  ;;
14938esac
14939fi
14940ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14941if test -n "$ac_pt_PKG_CONFIG"; then
14942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14943$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14944else
14945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14946$as_echo "no" >&6; }
14947fi
14948
14949  if test "x$ac_pt_PKG_CONFIG" = x; then
14950    PKG_CONFIG=""
14951  else
14952    case $cross_compiling:$ac_tool_warned in
14953yes:)
14954{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14955$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14956ac_tool_warned=yes ;;
14957esac
14958    PKG_CONFIG=$ac_pt_PKG_CONFIG
14959  fi
14960else
14961  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14962fi
14963
14964fi
14965if test -n "$PKG_CONFIG"; then
14966	_pkg_min_version=0.9.0
14967	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14968$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14969	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14970		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14971$as_echo "yes" >&6; }
14972	else
14973		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14974$as_echo "no" >&6; }
14975		PKG_CONFIG=""
14976	fi
14977fi
14978
14979  if test -n "$PKG_CONFIG" && \
14980    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vapigen_pkg\""; } >&5
14981  ($PKG_CONFIG --exists --print-errors "$vapigen_pkg") 2>&5
14982  ac_status=$?
14983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14984  test $ac_status = 0; }; then
14985
14986      if test "$enable_vala" = "auto"; then :
14987
14988          enable_vala=yes
14989
14990fi
14991
14992else
14993
14994      case $enable_vala in #(
14995  yes) :
14996
14997          as_fn_error $? "$vapigen_pkg not found" "$LINENO" 5
14998         ;; #(
14999  auto) :
15000
15001          enable_vala=no
15002         ;; #(
15003  *) :
15004     ;;
15005esac
15006
15007fi
15008
15009  case $enable_vala in #(
15010  yes) :
15011
15012      VAPIGEN=`$PKG_CONFIG --variable=vapigen vapigen`
15013      VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir vapigen`/vala/Makefile.vapigen
15014      if test "x" = "x"; then :
15015
15016          VAPIGEN_VAPIDIR='$(prefix)'/share/vala/vapi
15017
15018else
15019
15020          VAPIGEN_VAPIDIR='$(prefix)'/share/vala/vapi-
15021
15022fi
15023     ;; #(
15024  *) :
15025     ;;
15026esac
15027
15028
15029
15030
15031
15032   if test "x$enable_vala" = "xyes"; then
15033  ENABLE_VAPIGEN_TRUE=
15034  ENABLE_VAPIGEN_FALSE='#'
15035else
15036  ENABLE_VAPIGEN_TRUE='#'
15037  ENABLE_VAPIGEN_FALSE=
15038fi
15039
15040
15041
15042
15043# Check whether --with-vapidir was given.
15044if test "${with_vapidir+set}" = set; then :
15045  withval=$with_vapidir; VAPIGEN_VAPIDIR=$with_vapidir
15046fi
15047
15048
15049if test "$with_vapidir" = ""; then
15050	VAPIDIR="$VAPIGEN_VAPIDIR"
15051else
15052	VAPIDIR="$with_vapidir"
15053fi
15054
15055
15056
15057# --------------------------------------------------------------------
15058# Check for various credentials.
15059#
15060
15061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct cmsgcred" >&5
15062$as_echo_n "checking for struct cmsgcred... " >&6; }
15063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064/* end confdefs.h.  */
15065
15066#include <sys/types.h>
15067#include <sys/socket.h>
15068
15069int
15070main ()
15071{
15072
15073struct cmsgcred cred;
15074
15075cred.cmcred_pid = 0;
15076
15077  ;
15078  return 0;
15079}
15080_ACEOF
15081if ac_fn_c_try_compile "$LINENO"; then :
15082  have_struct_cmsgcred=yes
15083else
15084  have_struct_cmsgcred=no
15085fi
15086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_struct_cmsgcred" >&5
15088$as_echo "$have_struct_cmsgcred" >&6; }
15089
15090if test x$have_struct_cmsgcred = xyes; then
15091
15092$as_echo "#define HAVE_CMSGCRED 1" >>confdefs.h
15093
15094fi
15095
15096# --------------------------------------------------------------------
15097# Check for getpeerucred
15098#
15099
15100for ac_func in getpeerucred
15101do :
15102  ac_fn_c_check_func "$LINENO" "getpeerucred" "ac_cv_func_getpeerucred"
15103if test "x$ac_cv_func_getpeerucred" = xyes; then :
15104  cat >>confdefs.h <<_ACEOF
15105#define HAVE_GETPEERUCRED 1
15106_ACEOF
15107
15108$as_echo "#define HAVE_GETPEERUCRED 1" >>confdefs.h
15109
15110fi
15111done
15112
15113
15114# --------------------------------------------------------------------
15115# Check for getpeereid
15116#
15117
15118for ac_func in getpeereid
15119do :
15120  ac_fn_c_check_func "$LINENO" "getpeereid" "ac_cv_func_getpeereid"
15121if test "x$ac_cv_func_getpeereid" = xyes; then :
15122  cat >>confdefs.h <<_ACEOF
15123#define HAVE_GETPEEREID 1
15124_ACEOF
15125
15126$as_echo "#define HAVE_GETPEEREID 1" >>confdefs.h
15127
15128fi
15129done
15130
15131
15132# --------------------------------------------------------------------
15133# Memory locking
15134#
15135
15136for ac_func in mlock
15137do :
15138  ac_fn_c_check_func "$LINENO" "mlock" "ac_cv_func_mlock"
15139if test "x$ac_cv_func_mlock" = xyes; then :
15140  cat >>confdefs.h <<_ACEOF
15141#define HAVE_MLOCK 1
15142_ACEOF
15143
15144fi
15145done
15146
15147
15148# --------------------------------------------------------------------
15149# DBus Checks
15150#
15151
15152DBUS_REQUIRED=1.0
15153
15154pkg_failed=no
15155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
15156$as_echo_n "checking for DBUS... " >&6; }
15157
15158if test -n "$DBUS_CFLAGS"; then
15159    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
15160 elif test -n "$PKG_CONFIG"; then
15161    if test -n "$PKG_CONFIG" && \
15162    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
15163  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
15164  ac_status=$?
15165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15166  test $ac_status = 0; }; then
15167  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
15168		      test "x$?" != "x0" && pkg_failed=yes
15169else
15170  pkg_failed=yes
15171fi
15172 else
15173    pkg_failed=untried
15174fi
15175if test -n "$DBUS_LIBS"; then
15176    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
15177 elif test -n "$PKG_CONFIG"; then
15178    if test -n "$PKG_CONFIG" && \
15179    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
15180  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
15181  ac_status=$?
15182  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15183  test $ac_status = 0; }; then
15184  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
15185		      test "x$?" != "x0" && pkg_failed=yes
15186else
15187  pkg_failed=yes
15188fi
15189 else
15190    pkg_failed=untried
15191fi
15192
15193
15194
15195if test $pkg_failed = yes; then
15196   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15197$as_echo "no" >&6; }
15198
15199if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15200        _pkg_short_errors_supported=yes
15201else
15202        _pkg_short_errors_supported=no
15203fi
15204        if test $_pkg_short_errors_supported = yes; then
15205	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
15206        else
15207	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
15208        fi
15209	# Put the nasty error message in config.log where it belongs
15210	echo "$DBUS_PKG_ERRORS" >&5
15211
15212	as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
15213
15214$DBUS_PKG_ERRORS
15215
15216Consider adjusting the PKG_CONFIG_PATH environment variable if you
15217installed software in a non-standard prefix.
15218
15219Alternatively, you may set the environment variables DBUS_CFLAGS
15220and DBUS_LIBS to avoid the need to call pkg-config.
15221See the pkg-config man page for more details." "$LINENO" 5
15222elif test $pkg_failed = untried; then
15223     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15224$as_echo "no" >&6; }
15225	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15227as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15228is in your PATH or set the PKG_CONFIG environment variable to the full
15229path to pkg-config.
15230
15231Alternatively, you may set the environment variables DBUS_CFLAGS
15232and DBUS_LIBS to avoid the need to call pkg-config.
15233See the pkg-config man page for more details.
15234
15235To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15236See \`config.log' for more details" "$LINENO" 5; }
15237else
15238	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
15239	DBUS_LIBS=$pkg_cv_DBUS_LIBS
15240        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15241$as_echo "yes" >&6; }
15242
15243fi
15244
15245DBUS_VERSION=`$PKG_CONFIG --modversion dbus-1`
15246DBUS_MAJOR_VERSION=`echo $DBUS_VERSION | cut -d. -f1`
15247DBUS_MINOR_VERSION=`echo $DBUS_VERSION | cut -d. -f2`
15248DBUS_MICRO_VERSION=`echo $DBUS_VERSION | cut -d. -f3`
15249DBUS_CFLAGS="$DBUS_CFLAGS -DGKR_DBUS_MAJOR_VERSION=$DBUS_MAJOR_VERSION"
15250DBUS_CFLAGS="$DBUS_CFLAGS -DGKR_DBUS_MINOR_VERSION=$DBUS_MINOR_VERSION"
15251DBUS_CFLAGS="$DBUS_CFLAGS -DGKR_DBUS_MICRO_VERSION=$DBUS_MICRO_VERSION"
15252
15253LIBRARY_CFLAGS="$LIBRARY_CFLAGS $DBUS_CFLAGS"
15254LIBRARY_LIBS="$LIBRARY_LIBS $DBUS_LIBS"
15255
15256# --------------------------------------------------------------------
15257# libgcrypt
15258#
15259
15260GCRYPT_VERSION=1.2.2
15261GCRYPT_LIBVER=1
15262
15263
15264# Check whether --with-libgcrypt-prefix was given.
15265if test "${with_libgcrypt_prefix+set}" = set; then :
15266  withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
15267else
15268  libgcrypt_config_prefix=""
15269fi
15270
15271  if test x$libgcrypt_config_prefix != x ; then
15272     if test x${LIBGCRYPT_CONFIG+set} != xset ; then
15273        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
15274     fi
15275  fi
15276
15277  if test -n "$ac_tool_prefix"; then
15278  # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
15279set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2
15280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15281$as_echo_n "checking for $ac_word... " >&6; }
15282if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
15283  $as_echo_n "(cached) " >&6
15284else
15285  case $LIBGCRYPT_CONFIG in
15286  [\\/]* | ?:[\\/]*)
15287  ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
15288  ;;
15289  *)
15290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15291for as_dir in $PATH
15292do
15293  IFS=$as_save_IFS
15294  test -z "$as_dir" && as_dir=.
15295    for ac_exec_ext in '' $ac_executable_extensions; do
15296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15297    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15299    break 2
15300  fi
15301done
15302  done
15303IFS=$as_save_IFS
15304
15305  ;;
15306esac
15307fi
15308LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
15309if test -n "$LIBGCRYPT_CONFIG"; then
15310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
15311$as_echo "$LIBGCRYPT_CONFIG" >&6; }
15312else
15313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15314$as_echo "no" >&6; }
15315fi
15316
15317
15318fi
15319if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
15320  ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG
15321  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
15322set dummy libgcrypt-config; ac_word=$2
15323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15324$as_echo_n "checking for $ac_word... " >&6; }
15325if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then :
15326  $as_echo_n "(cached) " >&6
15327else
15328  case $ac_pt_LIBGCRYPT_CONFIG in
15329  [\\/]* | ?:[\\/]*)
15330  ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
15331  ;;
15332  *)
15333  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15334for as_dir in $PATH
15335do
15336  IFS=$as_save_IFS
15337  test -z "$as_dir" && as_dir=.
15338    for ac_exec_ext in '' $ac_executable_extensions; do
15339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15340    ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15342    break 2
15343  fi
15344done
15345  done
15346IFS=$as_save_IFS
15347
15348  ;;
15349esac
15350fi
15351ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
15352if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
15353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
15354$as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
15355else
15356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15357$as_echo "no" >&6; }
15358fi
15359
15360  if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then
15361    LIBGCRYPT_CONFIG="no"
15362  else
15363    case $cross_compiling:$ac_tool_warned in
15364yes:)
15365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15367ac_tool_warned=yes ;;
15368esac
15369    LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG
15370  fi
15371else
15372  LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG"
15373fi
15374
15375  tmp=$GCRYPT_LIBVER:$GCRYPT_VERSION
15376  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
15377     req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
15378     min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
15379  else
15380     req_libgcrypt_api=0
15381     min_libgcrypt_version="$tmp"
15382  fi
15383
15384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
15385$as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
15386  ok=no
15387  if test "$LIBGCRYPT_CONFIG" != "no" ; then
15388    req_major=`echo $min_libgcrypt_version | \
15389               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
15390    req_minor=`echo $min_libgcrypt_version | \
15391               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
15392    req_micro=`echo $min_libgcrypt_version | \
15393               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
15394    libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
15395    major=`echo $libgcrypt_config_version | \
15396               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
15397    minor=`echo $libgcrypt_config_version | \
15398               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
15399    micro=`echo $libgcrypt_config_version | \
15400               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
15401    if test "$major" -gt "$req_major"; then
15402        ok=yes
15403    else
15404        if test "$major" -eq "$req_major"; then
15405            if test "$minor" -gt "$req_minor"; then
15406               ok=yes
15407            else
15408               if test "$minor" -eq "$req_minor"; then
15409                   if test "$micro" -ge "$req_micro"; then
15410                     ok=yes
15411                   fi
15412               fi
15413            fi
15414        fi
15415    fi
15416  fi
15417  if test $ok = yes; then
15418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5
15419$as_echo "yes ($libgcrypt_config_version)" >&6; }
15420  else
15421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15422$as_echo "no" >&6; }
15423  fi
15424  if test $ok = yes; then
15425     # If we have a recent libgcrypt, we should also check that the
15426     # API is compatible
15427     if test "$req_libgcrypt_api" -gt 0 ; then
15428        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
15429        if test "$tmp" -gt 0 ; then
15430           { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5
15431$as_echo_n "checking LIBGCRYPT API version... " >&6; }
15432           if test "$req_libgcrypt_api" -eq "$tmp" ; then
15433             { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
15434$as_echo "okay" >&6; }
15435           else
15436             ok=no
15437             { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
15438$as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
15439           fi
15440        fi
15441     fi
15442  fi
15443  if test $ok = yes; then
15444    LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
15445    LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
15446    :
15447    if test x"$host" != x ; then
15448      libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
15449      if test x"$libgcrypt_config_host" != xnone ; then
15450        if test x"$libgcrypt_config_host" != x"$host" ; then
15451  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15452***
15453*** The config script $LIBGCRYPT_CONFIG was
15454*** built for $libgcrypt_config_host and thus may not match the
15455*** used host $host.
15456*** You may want to use the configure option --with-libgcrypt-prefix
15457*** to specify a matching config script.
15458***" >&5
15459$as_echo "$as_me: WARNING:
15460***
15461*** The config script $LIBGCRYPT_CONFIG was
15462*** built for $libgcrypt_config_host and thus may not match the
15463*** used host $host.
15464*** You may want to use the configure option --with-libgcrypt-prefix
15465*** to specify a matching config script.
15466***" >&2;}
15467        fi
15468      fi
15469    fi
15470  else
15471    LIBGCRYPT_CFLAGS=""
15472    LIBGCRYPT_LIBS=""
15473    as_fn_error $? "
15474***
15475*** libgcrypt was not found. You may want to get it from
15476*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
15477***
15478" "$LINENO" 5
15479  fi
15480
15481
15482
15483libgcrypt=yes
15484
15485cat >>confdefs.h <<_ACEOF
15486#define LIBGCRYPT_VERSION "$GCRYPT_VERSION"
15487_ACEOF
15488
15489
15490LIBRARY_CFLAGS="$LIBRARY_CFLAGS $LIBGCRYPT_CFLAGS"
15491LIBRARY_LIBS="$LIBRARY_LIBS $LIBGCRYPT_LIBS"
15492
15493
15494
15495
15496# --------------------------------------------------------------------
15497# Debug mode
15498#
15499
15500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug mode" >&5
15501$as_echo_n "checking for debug mode... " >&6; }
15502# Check whether --enable-debug was given.
15503if test "${enable_debug+set}" = set; then :
15504  enableval=$enable_debug;
15505fi
15506
15507
15508if test "$enable_debug" != "no"; then
15509
15510cat >>confdefs.h <<_ACEOF
15511#define WITH_DEBUG 1
15512_ACEOF
15513
15514
15515cat >>confdefs.h <<_ACEOF
15516#define _DEBUG 1
15517_ACEOF
15518
15519	CFLAGS="$CFLAGS -g"
15520fi
15521
15522if test "$enable_debug" = "yes"; then
15523	debug_status="yes (-g, -O0, debug output, testable)"
15524	CFLAGS="$CFLAGS -O0"
15525elif test "$enable_debug" = "no"; then
15526	debug_status="no (no debug output, not testable, G_DISABLE_ASSERT)"
15527
15528cat >>confdefs.h <<_ACEOF
15529#define G_DISABLE_ASSERT 1
15530_ACEOF
15531
15532else
15533	debug_status="default (-g, debug output, testable)"
15534fi
15535
15536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_status" >&5
15537$as_echo "$debug_status" >&6; }
15538
15539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
15540$as_echo_n "checking for more warnings... " >&6; }
15541if test "$enable_debug" != "no" -a "$GCC" = "yes"; then
15542	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15543$as_echo "yes" >&6; }
15544	CFLAGS="\
15545	-Wall \
15546	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
15547	-Wnested-externs -Wpointer-arith \
15548	-Wcast-align -Wsign-compare \
15549	$CFLAGS"
15550
15551	for option in -Wno-strict-aliasing -Wno-sign-compare; do
15552		SAVE_CFLAGS="$CFLAGS"
15553		CFLAGS="$CFLAGS $option"
15554		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
15555$as_echo_n "checking whether gcc understands $option... " >&6; }
15556		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557/* end confdefs.h.  */
15558
15559int
15560main ()
15561{
15562
15563  ;
15564  return 0;
15565}
15566_ACEOF
15567if ac_fn_c_try_compile "$LINENO"; then :
15568  has_option=yes
15569else
15570  has_option=no
15571fi
15572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15573		if test $has_option = no; then
15574			CFLAGS="$SAVE_CFLAGS"
15575		fi
15576		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
15577$as_echo "$has_option" >&6; }
15578		unset has_option
15579		unset SAVE_CFLAGS
15580	done
15581	unset option
15582else
15583	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15584$as_echo "no" >&6; }
15585fi
15586
15587# Check whether --enable-strict was given.
15588if test "${enable_strict+set}" = set; then :
15589  enableval=$enable_strict;
15590fi
15591
15592
15593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build strict" >&5
15594$as_echo_n "checking build strict... " >&6; }
15595
15596if test "$enable_strict" = "yes"; then
15597	CFLAGS="$CFLAGS -Werror"
15598	TEST_MODE="thorough"
15599	INTROSPECTION_FLAGS="--warn-error"
15600
15601cat >>confdefs.h <<_ACEOF
15602#define WITH_STRICT 1
15603_ACEOF
15604
15605	strict_status="yes (-Werror, thorough tests, fatals)"
15606else
15607	TEST_MODE="quick"
15608	INTROSPECTION_FLAGS=""
15609	strict_status="no (quick tests, non-fatal warnings)"
15610fi
15611
15612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $strict_status" >&5
15613$as_echo "$strict_status" >&6; }
15614
15615
15616
15617
15618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5
15619$as_echo_n "checking whether to build with gcov testing... " >&6; }
15620# Check whether --enable-coverage was given.
15621if test "${enable_coverage+set}" = set; then :
15622  enableval=$enable_coverage;
15623else
15624  enable_coverage=no
15625fi
15626
15627
15628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
15629$as_echo "$enable_coverage" >&6; }
15630
15631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking code coverage" >&5
15632$as_echo_n "checking code coverage... " >&6; }
15633
15634if test "$enable_coverage" = "yes"; then
15635	if test "$GCC" != "yes"; then
15636		as_fn_error $? "Coverage testing requires GCC" "$LINENO" 5
15637	fi
15638
15639	# Extract the first word of "gcov", so it can be a program name with args.
15640set dummy gcov; ac_word=$2
15641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15642$as_echo_n "checking for $ac_word... " >&6; }
15643if ${ac_cv_path_GCOV+:} false; then :
15644  $as_echo_n "(cached) " >&6
15645else
15646  case $GCOV in
15647  [\\/]* | ?:[\\/]*)
15648  ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
15649  ;;
15650  *)
15651  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15652for as_dir in $PATH
15653do
15654  IFS=$as_save_IFS
15655  test -z "$as_dir" && as_dir=.
15656    for ac_exec_ext in '' $ac_executable_extensions; do
15657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15658    ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
15659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15660    break 2
15661  fi
15662done
15663  done
15664IFS=$as_save_IFS
15665
15666  test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="no"
15667  ;;
15668esac
15669fi
15670GCOV=$ac_cv_path_GCOV
15671if test -n "$GCOV"; then
15672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
15673$as_echo "$GCOV" >&6; }
15674else
15675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15676$as_echo "no" >&6; }
15677fi
15678
15679
15680	if test "$GCOV" = "no" ; then
15681		as_fn_error $? "gcov tool is not available" "$LINENO" 5
15682	fi
15683
15684	CFLAGS="$CFLAGS -O0 -g --coverage"
15685	LDFLAGS="$LDFLAGS --coverage"
15686fi
15687
15688 if test "$enable_coverage" = "yes"; then
15689  WITH_COVERAGE_TRUE=
15690  WITH_COVERAGE_FALSE='#'
15691else
15692  WITH_COVERAGE_TRUE='#'
15693  WITH_COVERAGE_FALSE=
15694fi
15695
15696
15697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
15698$as_echo "$enable_coverage" >&6; }
15699
15700# ----------------------------------------------------------------------
15701# Status
15702
15703
15704
15705
15706ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/gnome-keyring/Makefile egg/Makefile egg/tests/Makefile library/Makefile library/tests/Makefile library/gnome-keyring-1.pc library/gnome-keyring-1-uninstalled.pc po/Makefile.in"
15707
15708cat >confcache <<\_ACEOF
15709# This file is a shell script that caches the results of configure
15710# tests run on this system so they can be shared between configure
15711# scripts and configure runs, see configure's option --config-cache.
15712# It is not useful on other systems.  If it contains results you don't
15713# want to keep, you may remove or edit it.
15714#
15715# config.status only pays attention to the cache file if you give it
15716# the --recheck option to rerun configure.
15717#
15718# `ac_cv_env_foo' variables (set or unset) will be overridden when
15719# loading this file, other *unset* `ac_cv_foo' will be assigned the
15720# following values.
15721
15722_ACEOF
15723
15724# The following way of writing the cache mishandles newlines in values,
15725# but we know of no workaround that is simple, portable, and efficient.
15726# So, we kill variables containing newlines.
15727# Ultrix sh set writes to stderr and can't be redirected directly,
15728# and sets the high bit in the cache file unless we assign to the vars.
15729(
15730  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15731    eval ac_val=\$$ac_var
15732    case $ac_val in #(
15733    *${as_nl}*)
15734      case $ac_var in #(
15735      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15736$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15737      esac
15738      case $ac_var in #(
15739      _ | IFS | as_nl) ;; #(
15740      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15741      *) { eval $ac_var=; unset $ac_var;} ;;
15742      esac ;;
15743    esac
15744  done
15745
15746  (set) 2>&1 |
15747    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15748    *${as_nl}ac_space=\ *)
15749      # `set' does not quote correctly, so add quotes: double-quote
15750      # substitution turns \\\\ into \\, and sed turns \\ into \.
15751      sed -n \
15752	"s/'/'\\\\''/g;
15753	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15754      ;; #(
15755    *)
15756      # `set' quotes correctly as required by POSIX, so do not add quotes.
15757      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15758      ;;
15759    esac |
15760    sort
15761) |
15762  sed '
15763     /^ac_cv_env_/b end
15764     t clear
15765     :clear
15766     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15767     t end
15768     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15769     :end' >>confcache
15770if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15771  if test -w "$cache_file"; then
15772    if test "x$cache_file" != "x/dev/null"; then
15773      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15774$as_echo "$as_me: updating cache $cache_file" >&6;}
15775      if test ! -f "$cache_file" || test -h "$cache_file"; then
15776	cat confcache >"$cache_file"
15777      else
15778        case $cache_file in #(
15779        */* | ?:*)
15780	  mv -f confcache "$cache_file"$$ &&
15781	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15782        *)
15783	  mv -f confcache "$cache_file" ;;
15784	esac
15785      fi
15786    fi
15787  else
15788    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15789$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15790  fi
15791fi
15792rm -f confcache
15793
15794test "x$prefix" = xNONE && prefix=$ac_default_prefix
15795# Let make expand exec_prefix.
15796test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15797
15798DEFS=-DHAVE_CONFIG_H
15799
15800ac_libobjs=
15801ac_ltlibobjs=
15802U=
15803for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15804  # 1. Remove the extension, and $U if already installed.
15805  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15806  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15807  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15808  #    will be set to the directory where LIBOBJS objects are built.
15809  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15810  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15811done
15812LIBOBJS=$ac_libobjs
15813
15814LTLIBOBJS=$ac_ltlibobjs
15815
15816
15817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15818$as_echo_n "checking that generated files are newer than configure... " >&6; }
15819   if test -n "$am_sleep_pid"; then
15820     # Hide warnings about reused PIDs.
15821     wait $am_sleep_pid 2>/dev/null
15822   fi
15823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15824$as_echo "done" >&6; }
15825 if test -n "$EXEEXT"; then
15826  am__EXEEXT_TRUE=
15827  am__EXEEXT_FALSE='#'
15828else
15829  am__EXEEXT_TRUE='#'
15830  am__EXEEXT_FALSE=
15831fi
15832
15833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15834$as_echo_n "checking that generated files are newer than configure... " >&6; }
15835   if test -n "$am_sleep_pid"; then
15836     # Hide warnings about reused PIDs.
15837     wait $am_sleep_pid 2>/dev/null
15838   fi
15839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15840$as_echo "done" >&6; }
15841if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15842  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15843Usually this means the macro was only invoked conditionally." "$LINENO" 5
15844fi
15845if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15846  as_fn_error $? "conditional \"AMDEP\" was never defined.
15847Usually this means the macro was only invoked conditionally." "$LINENO" 5
15848fi
15849if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15850  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15851Usually this means the macro was only invoked conditionally." "$LINENO" 5
15852fi
15853if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15854  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15855Usually this means the macro was only invoked conditionally." "$LINENO" 5
15856fi
15857
15858  ac_config_commands="$ac_config_commands po/stamp-it"
15859
15860
15861if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15862  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15863Usually this means the macro was only invoked conditionally." "$LINENO" 5
15864fi
15865if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15866  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15867Usually this means the macro was only invoked conditionally." "$LINENO" 5
15868fi
15869if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15870  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15871Usually this means the macro was only invoked conditionally." "$LINENO" 5
15872fi
15873if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15874  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15875Usually this means the macro was only invoked conditionally." "$LINENO" 5
15876fi
15877if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15878  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15879Usually this means the macro was only invoked conditionally." "$LINENO" 5
15880fi
15881if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
15882  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
15883Usually this means the macro was only invoked conditionally." "$LINENO" 5
15884fi
15885if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then
15886  as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined.
15887Usually this means the macro was only invoked conditionally." "$LINENO" 5
15888fi
15889if test -z "${WITH_COVERAGE_TRUE}" && test -z "${WITH_COVERAGE_FALSE}"; then
15890  as_fn_error $? "conditional \"WITH_COVERAGE\" was never defined.
15891Usually this means the macro was only invoked conditionally." "$LINENO" 5
15892fi
15893
15894: "${CONFIG_STATUS=./config.status}"
15895ac_write_fail=0
15896ac_clean_files_save=$ac_clean_files
15897ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15898{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15899$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15900as_write_fail=0
15901cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15902#! $SHELL
15903# Generated by $as_me.
15904# Run this file to recreate the current configuration.
15905# Compiler output produced by configure, useful for debugging
15906# configure, is in config.log if it exists.
15907
15908debug=false
15909ac_cs_recheck=false
15910ac_cs_silent=false
15911
15912SHELL=\${CONFIG_SHELL-$SHELL}
15913export SHELL
15914_ASEOF
15915cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15916## -------------------- ##
15917## M4sh Initialization. ##
15918## -------------------- ##
15919
15920# Be more Bourne compatible
15921DUALCASE=1; export DUALCASE # for MKS sh
15922if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15923  emulate sh
15924  NULLCMD=:
15925  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15926  # is contrary to our usage.  Disable this feature.
15927  alias -g '${1+"$@"}'='"$@"'
15928  setopt NO_GLOB_SUBST
15929else
15930  case `(set -o) 2>/dev/null` in #(
15931  *posix*) :
15932    set -o posix ;; #(
15933  *) :
15934     ;;
15935esac
15936fi
15937
15938
15939as_nl='
15940'
15941export as_nl
15942# Printing a long string crashes Solaris 7 /usr/bin/printf.
15943as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15944as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15945as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15946# Prefer a ksh shell builtin over an external printf program on Solaris,
15947# but without wasting forks for bash or zsh.
15948if test -z "$BASH_VERSION$ZSH_VERSION" \
15949    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15950  as_echo='print -r --'
15951  as_echo_n='print -rn --'
15952elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15953  as_echo='printf %s\n'
15954  as_echo_n='printf %s'
15955else
15956  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15957    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15958    as_echo_n='/usr/ucb/echo -n'
15959  else
15960    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15961    as_echo_n_body='eval
15962      arg=$1;
15963      case $arg in #(
15964      *"$as_nl"*)
15965	expr "X$arg" : "X\\(.*\\)$as_nl";
15966	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15967      esac;
15968      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15969    '
15970    export as_echo_n_body
15971    as_echo_n='sh -c $as_echo_n_body as_echo'
15972  fi
15973  export as_echo_body
15974  as_echo='sh -c $as_echo_body as_echo'
15975fi
15976
15977# The user is always right.
15978if test "${PATH_SEPARATOR+set}" != set; then
15979  PATH_SEPARATOR=:
15980  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15981    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15982      PATH_SEPARATOR=';'
15983  }
15984fi
15985
15986
15987# IFS
15988# We need space, tab and new line, in precisely that order.  Quoting is
15989# there to prevent editors from complaining about space-tab.
15990# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15991# splitting by setting IFS to empty value.)
15992IFS=" ""	$as_nl"
15993
15994# Find who we are.  Look in the path if we contain no directory separator.
15995as_myself=
15996case $0 in #((
15997  *[\\/]* ) as_myself=$0 ;;
15998  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15999for as_dir in $PATH
16000do
16001  IFS=$as_save_IFS
16002  test -z "$as_dir" && as_dir=.
16003    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16004  done
16005IFS=$as_save_IFS
16006
16007     ;;
16008esac
16009# We did not find ourselves, most probably we were run as `sh COMMAND'
16010# in which case we are not to be found in the path.
16011if test "x$as_myself" = x; then
16012  as_myself=$0
16013fi
16014if test ! -f "$as_myself"; then
16015  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16016  exit 1
16017fi
16018
16019# Unset variables that we do not need and which cause bugs (e.g. in
16020# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16021# suppresses any "Segmentation fault" message there.  '((' could
16022# trigger a bug in pdksh 5.2.14.
16023for as_var in BASH_ENV ENV MAIL MAILPATH
16024do eval test x\${$as_var+set} = xset \
16025  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16026done
16027PS1='$ '
16028PS2='> '
16029PS4='+ '
16030
16031# NLS nuisances.
16032LC_ALL=C
16033export LC_ALL
16034LANGUAGE=C
16035export LANGUAGE
16036
16037# CDPATH.
16038(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16039
16040
16041# as_fn_error STATUS ERROR [LINENO LOG_FD]
16042# ----------------------------------------
16043# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16044# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16045# script with STATUS, using 1 if that was 0.
16046as_fn_error ()
16047{
16048  as_status=$1; test $as_status -eq 0 && as_status=1
16049  if test "$4"; then
16050    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16051    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16052  fi
16053  $as_echo "$as_me: error: $2" >&2
16054  as_fn_exit $as_status
16055} # as_fn_error
16056
16057
16058# as_fn_set_status STATUS
16059# -----------------------
16060# Set $? to STATUS, without forking.
16061as_fn_set_status ()
16062{
16063  return $1
16064} # as_fn_set_status
16065
16066# as_fn_exit STATUS
16067# -----------------
16068# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16069as_fn_exit ()
16070{
16071  set +e
16072  as_fn_set_status $1
16073  exit $1
16074} # as_fn_exit
16075
16076# as_fn_unset VAR
16077# ---------------
16078# Portably unset VAR.
16079as_fn_unset ()
16080{
16081  { eval $1=; unset $1;}
16082}
16083as_unset=as_fn_unset
16084# as_fn_append VAR VALUE
16085# ----------------------
16086# Append the text in VALUE to the end of the definition contained in VAR. Take
16087# advantage of any shell optimizations that allow amortized linear growth over
16088# repeated appends, instead of the typical quadratic growth present in naive
16089# implementations.
16090if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16091  eval 'as_fn_append ()
16092  {
16093    eval $1+=\$2
16094  }'
16095else
16096  as_fn_append ()
16097  {
16098    eval $1=\$$1\$2
16099  }
16100fi # as_fn_append
16101
16102# as_fn_arith ARG...
16103# ------------------
16104# Perform arithmetic evaluation on the ARGs, and store the result in the
16105# global $as_val. Take advantage of shells that can avoid forks. The arguments
16106# must be portable across $(()) and expr.
16107if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16108  eval 'as_fn_arith ()
16109  {
16110    as_val=$(( $* ))
16111  }'
16112else
16113  as_fn_arith ()
16114  {
16115    as_val=`expr "$@" || test $? -eq 1`
16116  }
16117fi # as_fn_arith
16118
16119
16120if expr a : '\(a\)' >/dev/null 2>&1 &&
16121   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16122  as_expr=expr
16123else
16124  as_expr=false
16125fi
16126
16127if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16128  as_basename=basename
16129else
16130  as_basename=false
16131fi
16132
16133if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16134  as_dirname=dirname
16135else
16136  as_dirname=false
16137fi
16138
16139as_me=`$as_basename -- "$0" ||
16140$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16141	 X"$0" : 'X\(//\)$' \| \
16142	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16143$as_echo X/"$0" |
16144    sed '/^.*\/\([^/][^/]*\)\/*$/{
16145	    s//\1/
16146	    q
16147	  }
16148	  /^X\/\(\/\/\)$/{
16149	    s//\1/
16150	    q
16151	  }
16152	  /^X\/\(\/\).*/{
16153	    s//\1/
16154	    q
16155	  }
16156	  s/.*/./; q'`
16157
16158# Avoid depending upon Character Ranges.
16159as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16160as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16161as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16162as_cr_digits='0123456789'
16163as_cr_alnum=$as_cr_Letters$as_cr_digits
16164
16165ECHO_C= ECHO_N= ECHO_T=
16166case `echo -n x` in #(((((
16167-n*)
16168  case `echo 'xy\c'` in
16169  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16170  xy)  ECHO_C='\c';;
16171  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16172       ECHO_T='	';;
16173  esac;;
16174*)
16175  ECHO_N='-n';;
16176esac
16177
16178rm -f conf$$ conf$$.exe conf$$.file
16179if test -d conf$$.dir; then
16180  rm -f conf$$.dir/conf$$.file
16181else
16182  rm -f conf$$.dir
16183  mkdir conf$$.dir 2>/dev/null
16184fi
16185if (echo >conf$$.file) 2>/dev/null; then
16186  if ln -s conf$$.file conf$$ 2>/dev/null; then
16187    as_ln_s='ln -s'
16188    # ... but there are two gotchas:
16189    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16190    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16191    # In both cases, we have to default to `cp -pR'.
16192    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16193      as_ln_s='cp -pR'
16194  elif ln conf$$.file conf$$ 2>/dev/null; then
16195    as_ln_s=ln
16196  else
16197    as_ln_s='cp -pR'
16198  fi
16199else
16200  as_ln_s='cp -pR'
16201fi
16202rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16203rmdir conf$$.dir 2>/dev/null
16204
16205
16206# as_fn_mkdir_p
16207# -------------
16208# Create "$as_dir" as a directory, including parents if necessary.
16209as_fn_mkdir_p ()
16210{
16211
16212  case $as_dir in #(
16213  -*) as_dir=./$as_dir;;
16214  esac
16215  test -d "$as_dir" || eval $as_mkdir_p || {
16216    as_dirs=
16217    while :; do
16218      case $as_dir in #(
16219      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16220      *) as_qdir=$as_dir;;
16221      esac
16222      as_dirs="'$as_qdir' $as_dirs"
16223      as_dir=`$as_dirname -- "$as_dir" ||
16224$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16225	 X"$as_dir" : 'X\(//\)[^/]' \| \
16226	 X"$as_dir" : 'X\(//\)$' \| \
16227	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16228$as_echo X"$as_dir" |
16229    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16230	    s//\1/
16231	    q
16232	  }
16233	  /^X\(\/\/\)[^/].*/{
16234	    s//\1/
16235	    q
16236	  }
16237	  /^X\(\/\/\)$/{
16238	    s//\1/
16239	    q
16240	  }
16241	  /^X\(\/\).*/{
16242	    s//\1/
16243	    q
16244	  }
16245	  s/.*/./; q'`
16246      test -d "$as_dir" && break
16247    done
16248    test -z "$as_dirs" || eval "mkdir $as_dirs"
16249  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16250
16251
16252} # as_fn_mkdir_p
16253if mkdir -p . 2>/dev/null; then
16254  as_mkdir_p='mkdir -p "$as_dir"'
16255else
16256  test -d ./-p && rmdir ./-p
16257  as_mkdir_p=false
16258fi
16259
16260
16261# as_fn_executable_p FILE
16262# -----------------------
16263# Test if FILE is an executable regular file.
16264as_fn_executable_p ()
16265{
16266  test -f "$1" && test -x "$1"
16267} # as_fn_executable_p
16268as_test_x='test -x'
16269as_executable_p=as_fn_executable_p
16270
16271# Sed expression to map a string onto a valid CPP name.
16272as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16273
16274# Sed expression to map a string onto a valid variable name.
16275as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16276
16277
16278exec 6>&1
16279## ----------------------------------- ##
16280## Main body of $CONFIG_STATUS script. ##
16281## ----------------------------------- ##
16282_ASEOF
16283test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16284
16285cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16286# Save the log message, to keep $0 and so on meaningful, and to
16287# report actual input values of CONFIG_FILES etc. instead of their
16288# values after options handling.
16289ac_log="
16290This file was extended by libgnome-keyring $as_me 3.12.0, which was
16291generated by GNU Autoconf 2.69.  Invocation command line was
16292
16293  CONFIG_FILES    = $CONFIG_FILES
16294  CONFIG_HEADERS  = $CONFIG_HEADERS
16295  CONFIG_LINKS    = $CONFIG_LINKS
16296  CONFIG_COMMANDS = $CONFIG_COMMANDS
16297  $ $0 $@
16298
16299on `(hostname || uname -n) 2>/dev/null | sed 1q`
16300"
16301
16302_ACEOF
16303
16304case $ac_config_files in *"
16305"*) set x $ac_config_files; shift; ac_config_files=$*;;
16306esac
16307
16308case $ac_config_headers in *"
16309"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16310esac
16311
16312
16313cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16314# Files that config.status was made for.
16315config_files="$ac_config_files"
16316config_headers="$ac_config_headers"
16317config_commands="$ac_config_commands"
16318
16319_ACEOF
16320
16321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16322ac_cs_usage="\
16323\`$as_me' instantiates files and other configuration actions
16324from templates according to the current configuration.  Unless the files
16325and actions are specified as TAGs, all are instantiated by default.
16326
16327Usage: $0 [OPTION]... [TAG]...
16328
16329  -h, --help       print this help, then exit
16330  -V, --version    print version number and configuration settings, then exit
16331      --config     print configuration, then exit
16332  -q, --quiet, --silent
16333                   do not print progress messages
16334  -d, --debug      don't remove temporary files
16335      --recheck    update $as_me by reconfiguring in the same conditions
16336      --file=FILE[:TEMPLATE]
16337                   instantiate the configuration file FILE
16338      --header=FILE[:TEMPLATE]
16339                   instantiate the configuration header FILE
16340
16341Configuration files:
16342$config_files
16343
16344Configuration headers:
16345$config_headers
16346
16347Configuration commands:
16348$config_commands
16349
16350Report bugs to the package provider."
16351
16352_ACEOF
16353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16354ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16355ac_cs_version="\\
16356libgnome-keyring config.status 3.12.0
16357configured by $0, generated by GNU Autoconf 2.69,
16358  with options \\"\$ac_cs_config\\"
16359
16360Copyright (C) 2012 Free Software Foundation, Inc.
16361This config.status script is free software; the Free Software Foundation
16362gives unlimited permission to copy, distribute and modify it."
16363
16364ac_pwd='$ac_pwd'
16365srcdir='$srcdir'
16366INSTALL='$INSTALL'
16367MKDIR_P='$MKDIR_P'
16368AWK='$AWK'
16369test -n "\$AWK" || AWK=awk
16370_ACEOF
16371
16372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16373# The default lists apply if the user does not specify any file.
16374ac_need_defaults=:
16375while test $# != 0
16376do
16377  case $1 in
16378  --*=?*)
16379    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16380    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16381    ac_shift=:
16382    ;;
16383  --*=)
16384    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16385    ac_optarg=
16386    ac_shift=:
16387    ;;
16388  *)
16389    ac_option=$1
16390    ac_optarg=$2
16391    ac_shift=shift
16392    ;;
16393  esac
16394
16395  case $ac_option in
16396  # Handling of the options.
16397  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16398    ac_cs_recheck=: ;;
16399  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16400    $as_echo "$ac_cs_version"; exit ;;
16401  --config | --confi | --conf | --con | --co | --c )
16402    $as_echo "$ac_cs_config"; exit ;;
16403  --debug | --debu | --deb | --de | --d | -d )
16404    debug=: ;;
16405  --file | --fil | --fi | --f )
16406    $ac_shift
16407    case $ac_optarg in
16408    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16409    '') as_fn_error $? "missing file argument" ;;
16410    esac
16411    as_fn_append CONFIG_FILES " '$ac_optarg'"
16412    ac_need_defaults=false;;
16413  --header | --heade | --head | --hea )
16414    $ac_shift
16415    case $ac_optarg in
16416    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16417    esac
16418    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16419    ac_need_defaults=false;;
16420  --he | --h)
16421    # Conflict between --help and --header
16422    as_fn_error $? "ambiguous option: \`$1'
16423Try \`$0 --help' for more information.";;
16424  --help | --hel | -h )
16425    $as_echo "$ac_cs_usage"; exit ;;
16426  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16427  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16428    ac_cs_silent=: ;;
16429
16430  # This is an error.
16431  -*) as_fn_error $? "unrecognized option: \`$1'
16432Try \`$0 --help' for more information." ;;
16433
16434  *) as_fn_append ac_config_targets " $1"
16435     ac_need_defaults=false ;;
16436
16437  esac
16438  shift
16439done
16440
16441ac_configure_extra_args=
16442
16443if $ac_cs_silent; then
16444  exec 6>/dev/null
16445  ac_configure_extra_args="$ac_configure_extra_args --silent"
16446fi
16447
16448_ACEOF
16449cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16450if \$ac_cs_recheck; then
16451  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16452  shift
16453  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16454  CONFIG_SHELL='$SHELL'
16455  export CONFIG_SHELL
16456  exec "\$@"
16457fi
16458
16459_ACEOF
16460cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16461exec 5>>config.log
16462{
16463  echo
16464  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16465## Running $as_me. ##
16466_ASBOX
16467  $as_echo "$ac_log"
16468} >&5
16469
16470_ACEOF
16471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16472#
16473# INIT-COMMANDS
16474#
16475AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16476
16477
16478# The HP-UX ksh and POSIX shell print the target directory to stdout
16479# if CDPATH is set.
16480(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16481
16482sed_quote_subst='$sed_quote_subst'
16483double_quote_subst='$double_quote_subst'
16484delay_variable_subst='$delay_variable_subst'
16485enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16486macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16487macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16488enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16489pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16490enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16491SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16492ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16493PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16494host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16495host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16496host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16497build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16498build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16499build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16500SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16501Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16502GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16503EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16504FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16505LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16506NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16507LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16508max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16509ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16510exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16511lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16512lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16513lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16514lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16515lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16516reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16517reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16518OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16519deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16520file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16521file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16522want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16523DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16524sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16525AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16526AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16527archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16528STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16529RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16530old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16531old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16532old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16533lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16534CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16535CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16536compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16537GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16538lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16539lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16540lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16541lt_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"`'
16542nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16543lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16544objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16545MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16546lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16547lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16548lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16549lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16550lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16551need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16552MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16553DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16554NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16555LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16556OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16557OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16558libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16559shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16560extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16561archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16562enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16563export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16564whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16565compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16566old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16567old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16568archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16569archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16570module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16571module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16572with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16573allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16574no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16575hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16576hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16577hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16578hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16579hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16580hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16581hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16582inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16583link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16584always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16585export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16586exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16587include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16588prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16589postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16590file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16591variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16592need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16593need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16594version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16595runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16596shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16597shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16598libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16599library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16600soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16601install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16602postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16603postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16604finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16605finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16606hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16607sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16608sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16609hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16610enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16611enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16612enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16613old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16614striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16615
16616LTCC='$LTCC'
16617LTCFLAGS='$LTCFLAGS'
16618compiler='$compiler_DEFAULT'
16619
16620# A function that is used when there is no print builtin or printf.
16621func_fallback_echo ()
16622{
16623  eval 'cat <<_LTECHO_EOF
16624\$1
16625_LTECHO_EOF'
16626}
16627
16628# Quote evaled strings.
16629for var in SHELL \
16630ECHO \
16631PATH_SEPARATOR \
16632SED \
16633GREP \
16634EGREP \
16635FGREP \
16636LD \
16637NM \
16638LN_S \
16639lt_SP2NL \
16640lt_NL2SP \
16641reload_flag \
16642OBJDUMP \
16643deplibs_check_method \
16644file_magic_cmd \
16645file_magic_glob \
16646want_nocaseglob \
16647DLLTOOL \
16648sharedlib_from_linklib_cmd \
16649AR \
16650AR_FLAGS \
16651archiver_list_spec \
16652STRIP \
16653RANLIB \
16654CC \
16655CFLAGS \
16656compiler \
16657lt_cv_sys_global_symbol_pipe \
16658lt_cv_sys_global_symbol_to_cdecl \
16659lt_cv_sys_global_symbol_to_c_name_address \
16660lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16661nm_file_list_spec \
16662lt_prog_compiler_no_builtin_flag \
16663lt_prog_compiler_pic \
16664lt_prog_compiler_wl \
16665lt_prog_compiler_static \
16666lt_cv_prog_compiler_c_o \
16667need_locks \
16668MANIFEST_TOOL \
16669DSYMUTIL \
16670NMEDIT \
16671LIPO \
16672OTOOL \
16673OTOOL64 \
16674shrext_cmds \
16675export_dynamic_flag_spec \
16676whole_archive_flag_spec \
16677compiler_needs_object \
16678with_gnu_ld \
16679allow_undefined_flag \
16680no_undefined_flag \
16681hardcode_libdir_flag_spec \
16682hardcode_libdir_separator \
16683exclude_expsyms \
16684include_expsyms \
16685file_list_spec \
16686variables_saved_for_relink \
16687libname_spec \
16688library_names_spec \
16689soname_spec \
16690install_override_mode \
16691finish_eval \
16692old_striplib \
16693striplib; do
16694    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16695    *[\\\\\\\`\\"\\\$]*)
16696      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16697      ;;
16698    *)
16699      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16700      ;;
16701    esac
16702done
16703
16704# Double-quote double-evaled strings.
16705for var in reload_cmds \
16706old_postinstall_cmds \
16707old_postuninstall_cmds \
16708old_archive_cmds \
16709extract_expsyms_cmds \
16710old_archive_from_new_cmds \
16711old_archive_from_expsyms_cmds \
16712archive_cmds \
16713archive_expsym_cmds \
16714module_cmds \
16715module_expsym_cmds \
16716export_symbols_cmds \
16717prelink_cmds \
16718postlink_cmds \
16719postinstall_cmds \
16720postuninstall_cmds \
16721finish_cmds \
16722sys_lib_search_path_spec \
16723sys_lib_dlsearch_path_spec; do
16724    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16725    *[\\\\\\\`\\"\\\$]*)
16726      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16727      ;;
16728    *)
16729      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16730      ;;
16731    esac
16732done
16733
16734ac_aux_dir='$ac_aux_dir'
16735xsi_shell='$xsi_shell'
16736lt_shell_append='$lt_shell_append'
16737
16738# See if we are running on zsh, and set the options which allow our
16739# commands through without removal of \ escapes INIT.
16740if test -n "\${ZSH_VERSION+set}" ; then
16741   setopt NO_GLOB_SUBST
16742fi
16743
16744
16745    PACKAGE='$PACKAGE'
16746    VERSION='$VERSION'
16747    TIMESTAMP='$TIMESTAMP'
16748    RM='$RM'
16749    ofile='$ofile'
16750
16751
16752
16753
16754
16755_ACEOF
16756
16757cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16758
16759# Handling of arguments.
16760for ac_config_target in $ac_config_targets
16761do
16762  case $ac_config_target in
16763    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16764    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16765    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16766    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16767    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16768    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16769    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
16770    "docs/reference/gnome-keyring/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gnome-keyring/Makefile" ;;
16771    "egg/Makefile") CONFIG_FILES="$CONFIG_FILES egg/Makefile" ;;
16772    "egg/tests/Makefile") CONFIG_FILES="$CONFIG_FILES egg/tests/Makefile" ;;
16773    "library/Makefile") CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
16774    "library/tests/Makefile") CONFIG_FILES="$CONFIG_FILES library/tests/Makefile" ;;
16775    "library/gnome-keyring-1.pc") CONFIG_FILES="$CONFIG_FILES library/gnome-keyring-1.pc" ;;
16776    "library/gnome-keyring-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES library/gnome-keyring-1-uninstalled.pc" ;;
16777    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16778    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16779
16780  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16781  esac
16782done
16783
16784
16785# If the user did not use the arguments to specify the items to instantiate,
16786# then the envvar interface is used.  Set only those that are not.
16787# We use the long form for the default assignment because of an extremely
16788# bizarre bug on SunOS 4.1.3.
16789if $ac_need_defaults; then
16790  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16791  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16792  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16793fi
16794
16795# Have a temporary directory for convenience.  Make it in the build tree
16796# simply because there is no reason against having it here, and in addition,
16797# creating and moving files from /tmp can sometimes cause problems.
16798# Hook for its removal unless debugging.
16799# Note that there is a small window in which the directory will not be cleaned:
16800# after its creation but before its name has been assigned to `$tmp'.
16801$debug ||
16802{
16803  tmp= ac_tmp=
16804  trap 'exit_status=$?
16805  : "${ac_tmp:=$tmp}"
16806  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16807' 0
16808  trap 'as_fn_exit 1' 1 2 13 15
16809}
16810# Create a (secure) tmp directory for tmp files.
16811
16812{
16813  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16814  test -d "$tmp"
16815}  ||
16816{
16817  tmp=./conf$$-$RANDOM
16818  (umask 077 && mkdir "$tmp")
16819} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16820ac_tmp=$tmp
16821
16822# Set up the scripts for CONFIG_FILES section.
16823# No need to generate them if there are no CONFIG_FILES.
16824# This happens for instance with `./config.status config.h'.
16825if test -n "$CONFIG_FILES"; then
16826
16827
16828ac_cr=`echo X | tr X '\015'`
16829# On cygwin, bash can eat \r inside `` if the user requested igncr.
16830# But we know of no other shell where ac_cr would be empty at this
16831# point, so we can use a bashism as a fallback.
16832if test "x$ac_cr" = x; then
16833  eval ac_cr=\$\'\\r\'
16834fi
16835ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16836if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16837  ac_cs_awk_cr='\\r'
16838else
16839  ac_cs_awk_cr=$ac_cr
16840fi
16841
16842echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16843_ACEOF
16844
16845
16846{
16847  echo "cat >conf$$subs.awk <<_ACEOF" &&
16848  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16849  echo "_ACEOF"
16850} >conf$$subs.sh ||
16851  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16852ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16853ac_delim='%!_!# '
16854for ac_last_try in false false false false false :; do
16855  . ./conf$$subs.sh ||
16856    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16857
16858  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16859  if test $ac_delim_n = $ac_delim_num; then
16860    break
16861  elif $ac_last_try; then
16862    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16863  else
16864    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16865  fi
16866done
16867rm -f conf$$subs.sh
16868
16869cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16870cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16871_ACEOF
16872sed -n '
16873h
16874s/^/S["/; s/!.*/"]=/
16875p
16876g
16877s/^[^!]*!//
16878:repl
16879t repl
16880s/'"$ac_delim"'$//
16881t delim
16882:nl
16883h
16884s/\(.\{148\}\)..*/\1/
16885t more1
16886s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16887p
16888n
16889b repl
16890:more1
16891s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16892p
16893g
16894s/.\{148\}//
16895t nl
16896:delim
16897h
16898s/\(.\{148\}\)..*/\1/
16899t more2
16900s/["\\]/\\&/g; s/^/"/; s/$/"/
16901p
16902b
16903:more2
16904s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16905p
16906g
16907s/.\{148\}//
16908t delim
16909' <conf$$subs.awk | sed '
16910/^[^""]/{
16911  N
16912  s/\n//
16913}
16914' >>$CONFIG_STATUS || ac_write_fail=1
16915rm -f conf$$subs.awk
16916cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16917_ACAWK
16918cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16919  for (key in S) S_is_set[key] = 1
16920  FS = ""
16921
16922}
16923{
16924  line = $ 0
16925  nfields = split(line, field, "@")
16926  substed = 0
16927  len = length(field[1])
16928  for (i = 2; i < nfields; i++) {
16929    key = field[i]
16930    keylen = length(key)
16931    if (S_is_set[key]) {
16932      value = S[key]
16933      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16934      len += length(value) + length(field[++i])
16935      substed = 1
16936    } else
16937      len += 1 + keylen
16938  }
16939
16940  print line
16941}
16942
16943_ACAWK
16944_ACEOF
16945cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16946if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16947  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16948else
16949  cat
16950fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16951  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16952_ACEOF
16953
16954# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16955# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16956# trailing colons and then remove the whole line if VPATH becomes empty
16957# (actually we leave an empty line to preserve line numbers).
16958if test "x$srcdir" = x.; then
16959  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16960h
16961s///
16962s/^/:/
16963s/[	 ]*$/:/
16964s/:\$(srcdir):/:/g
16965s/:\${srcdir}:/:/g
16966s/:@srcdir@:/:/g
16967s/^:*//
16968s/:*$//
16969x
16970s/\(=[	 ]*\).*/\1/
16971G
16972s/\n//
16973s/^[^=]*=[	 ]*$//
16974}'
16975fi
16976
16977cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16978fi # test -n "$CONFIG_FILES"
16979
16980# Set up the scripts for CONFIG_HEADERS section.
16981# No need to generate them if there are no CONFIG_HEADERS.
16982# This happens for instance with `./config.status Makefile'.
16983if test -n "$CONFIG_HEADERS"; then
16984cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16985BEGIN {
16986_ACEOF
16987
16988# Transform confdefs.h into an awk script `defines.awk', embedded as
16989# here-document in config.status, that substitutes the proper values into
16990# config.h.in to produce config.h.
16991
16992# Create a delimiter string that does not exist in confdefs.h, to ease
16993# handling of long lines.
16994ac_delim='%!_!# '
16995for ac_last_try in false false :; do
16996  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16997  if test -z "$ac_tt"; then
16998    break
16999  elif $ac_last_try; then
17000    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17001  else
17002    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17003  fi
17004done
17005
17006# For the awk script, D is an array of macro values keyed by name,
17007# likewise P contains macro parameters if any.  Preserve backslash
17008# newline sequences.
17009
17010ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17011sed -n '
17012s/.\{148\}/&'"$ac_delim"'/g
17013t rset
17014:rset
17015s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17016t def
17017d
17018:def
17019s/\\$//
17020t bsnl
17021s/["\\]/\\&/g
17022s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17023D["\1"]=" \3"/p
17024s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17025d
17026:bsnl
17027s/["\\]/\\&/g
17028s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17029D["\1"]=" \3\\\\\\n"\\/p
17030t cont
17031s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17032t cont
17033d
17034:cont
17035n
17036s/.\{148\}/&'"$ac_delim"'/g
17037t clear
17038:clear
17039s/\\$//
17040t bsnlc
17041s/["\\]/\\&/g; s/^/"/; s/$/"/p
17042d
17043:bsnlc
17044s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17045b cont
17046' <confdefs.h | sed '
17047s/'"$ac_delim"'/"\\\
17048"/g' >>$CONFIG_STATUS || ac_write_fail=1
17049
17050cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17051  for (key in D) D_is_set[key] = 1
17052  FS = ""
17053}
17054/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17055  line = \$ 0
17056  split(line, arg, " ")
17057  if (arg[1] == "#") {
17058    defundef = arg[2]
17059    mac1 = arg[3]
17060  } else {
17061    defundef = substr(arg[1], 2)
17062    mac1 = arg[2]
17063  }
17064  split(mac1, mac2, "(") #)
17065  macro = mac2[1]
17066  prefix = substr(line, 1, index(line, defundef) - 1)
17067  if (D_is_set[macro]) {
17068    # Preserve the white space surrounding the "#".
17069    print prefix "define", macro P[macro] D[macro]
17070    next
17071  } else {
17072    # Replace #undef with comments.  This is necessary, for example,
17073    # in the case of _POSIX_SOURCE, which is predefined and required
17074    # on some systems where configure will not decide to define it.
17075    if (defundef == "undef") {
17076      print "/*", prefix defundef, macro, "*/"
17077      next
17078    }
17079  }
17080}
17081{ print }
17082_ACAWK
17083_ACEOF
17084cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17085  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17086fi # test -n "$CONFIG_HEADERS"
17087
17088
17089eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17090shift
17091for ac_tag
17092do
17093  case $ac_tag in
17094  :[FHLC]) ac_mode=$ac_tag; continue;;
17095  esac
17096  case $ac_mode$ac_tag in
17097  :[FHL]*:*);;
17098  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17099  :[FH]-) ac_tag=-:-;;
17100  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17101  esac
17102  ac_save_IFS=$IFS
17103  IFS=:
17104  set x $ac_tag
17105  IFS=$ac_save_IFS
17106  shift
17107  ac_file=$1
17108  shift
17109
17110  case $ac_mode in
17111  :L) ac_source=$1;;
17112  :[FH])
17113    ac_file_inputs=
17114    for ac_f
17115    do
17116      case $ac_f in
17117      -) ac_f="$ac_tmp/stdin";;
17118      *) # Look for the file first in the build tree, then in the source tree
17119	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17120	 # because $ac_f cannot contain `:'.
17121	 test -f "$ac_f" ||
17122	   case $ac_f in
17123	   [\\/$]*) false;;
17124	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17125	   esac ||
17126	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17127      esac
17128      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17129      as_fn_append ac_file_inputs " '$ac_f'"
17130    done
17131
17132    # Let's still pretend it is `configure' which instantiates (i.e., don't
17133    # use $as_me), people would be surprised to read:
17134    #    /* config.h.  Generated by config.status.  */
17135    configure_input='Generated from '`
17136	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17137	`' by configure.'
17138    if test x"$ac_file" != x-; then
17139      configure_input="$ac_file.  $configure_input"
17140      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17141$as_echo "$as_me: creating $ac_file" >&6;}
17142    fi
17143    # Neutralize special characters interpreted by sed in replacement strings.
17144    case $configure_input in #(
17145    *\&* | *\|* | *\\* )
17146       ac_sed_conf_input=`$as_echo "$configure_input" |
17147       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17148    *) ac_sed_conf_input=$configure_input;;
17149    esac
17150
17151    case $ac_tag in
17152    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17153      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17154    esac
17155    ;;
17156  esac
17157
17158  ac_dir=`$as_dirname -- "$ac_file" ||
17159$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17160	 X"$ac_file" : 'X\(//\)[^/]' \| \
17161	 X"$ac_file" : 'X\(//\)$' \| \
17162	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17163$as_echo X"$ac_file" |
17164    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17165	    s//\1/
17166	    q
17167	  }
17168	  /^X\(\/\/\)[^/].*/{
17169	    s//\1/
17170	    q
17171	  }
17172	  /^X\(\/\/\)$/{
17173	    s//\1/
17174	    q
17175	  }
17176	  /^X\(\/\).*/{
17177	    s//\1/
17178	    q
17179	  }
17180	  s/.*/./; q'`
17181  as_dir="$ac_dir"; as_fn_mkdir_p
17182  ac_builddir=.
17183
17184case "$ac_dir" in
17185.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17186*)
17187  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17188  # A ".." for each directory in $ac_dir_suffix.
17189  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17190  case $ac_top_builddir_sub in
17191  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17192  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17193  esac ;;
17194esac
17195ac_abs_top_builddir=$ac_pwd
17196ac_abs_builddir=$ac_pwd$ac_dir_suffix
17197# for backward compatibility:
17198ac_top_builddir=$ac_top_build_prefix
17199
17200case $srcdir in
17201  .)  # We are building in place.
17202    ac_srcdir=.
17203    ac_top_srcdir=$ac_top_builddir_sub
17204    ac_abs_top_srcdir=$ac_pwd ;;
17205  [\\/]* | ?:[\\/]* )  # Absolute name.
17206    ac_srcdir=$srcdir$ac_dir_suffix;
17207    ac_top_srcdir=$srcdir
17208    ac_abs_top_srcdir=$srcdir ;;
17209  *) # Relative name.
17210    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17211    ac_top_srcdir=$ac_top_build_prefix$srcdir
17212    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17213esac
17214ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17215
17216
17217  case $ac_mode in
17218  :F)
17219  #
17220  # CONFIG_FILE
17221  #
17222
17223  case $INSTALL in
17224  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17225  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17226  esac
17227  ac_MKDIR_P=$MKDIR_P
17228  case $MKDIR_P in
17229  [\\/$]* | ?:[\\/]* ) ;;
17230  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17231  esac
17232_ACEOF
17233
17234cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17235# If the template does not know about datarootdir, expand it.
17236# FIXME: This hack should be removed a few years after 2.60.
17237ac_datarootdir_hack=; ac_datarootdir_seen=
17238ac_sed_dataroot='
17239/datarootdir/ {
17240  p
17241  q
17242}
17243/@datadir@/p
17244/@docdir@/p
17245/@infodir@/p
17246/@localedir@/p
17247/@mandir@/p'
17248case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17249*datarootdir*) ac_datarootdir_seen=yes;;
17250*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17251  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17252$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17253_ACEOF
17254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17255  ac_datarootdir_hack='
17256  s&@datadir@&$datadir&g
17257  s&@docdir@&$docdir&g
17258  s&@infodir@&$infodir&g
17259  s&@localedir@&$localedir&g
17260  s&@mandir@&$mandir&g
17261  s&\\\${datarootdir}&$datarootdir&g' ;;
17262esac
17263_ACEOF
17264
17265# Neutralize VPATH when `$srcdir' = `.'.
17266# Shell code in configure.ac might set extrasub.
17267# FIXME: do we really want to maintain this feature?
17268cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17269ac_sed_extra="$ac_vpsub
17270$extrasub
17271_ACEOF
17272cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17273:t
17274/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17275s|@configure_input@|$ac_sed_conf_input|;t t
17276s&@top_builddir@&$ac_top_builddir_sub&;t t
17277s&@top_build_prefix@&$ac_top_build_prefix&;t t
17278s&@srcdir@&$ac_srcdir&;t t
17279s&@abs_srcdir@&$ac_abs_srcdir&;t t
17280s&@top_srcdir@&$ac_top_srcdir&;t t
17281s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17282s&@builddir@&$ac_builddir&;t t
17283s&@abs_builddir@&$ac_abs_builddir&;t t
17284s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17285s&@INSTALL@&$ac_INSTALL&;t t
17286s&@MKDIR_P@&$ac_MKDIR_P&;t t
17287$ac_datarootdir_hack
17288"
17289eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17290  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17291
17292test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17293  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17294  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17295      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17296  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17297which seems to be undefined.  Please make sure it is defined" >&5
17298$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17299which seems to be undefined.  Please make sure it is defined" >&2;}
17300
17301  rm -f "$ac_tmp/stdin"
17302  case $ac_file in
17303  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17304  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17305  esac \
17306  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17307 ;;
17308  :H)
17309  #
17310  # CONFIG_HEADER
17311  #
17312  if test x"$ac_file" != x-; then
17313    {
17314      $as_echo "/* $configure_input  */" \
17315      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17316    } >"$ac_tmp/config.h" \
17317      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17318    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17319      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17320$as_echo "$as_me: $ac_file is unchanged" >&6;}
17321    else
17322      rm -f "$ac_file"
17323      mv "$ac_tmp/config.h" "$ac_file" \
17324	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17325    fi
17326  else
17327    $as_echo "/* $configure_input  */" \
17328      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17329      || as_fn_error $? "could not create -" "$LINENO" 5
17330  fi
17331# Compute "$ac_file"'s index in $config_headers.
17332_am_arg="$ac_file"
17333_am_stamp_count=1
17334for _am_header in $config_headers :; do
17335  case $_am_header in
17336    $_am_arg | $_am_arg:* )
17337      break ;;
17338    * )
17339      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17340  esac
17341done
17342echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17343$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17344	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17345	 X"$_am_arg" : 'X\(//\)$' \| \
17346	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17347$as_echo X"$_am_arg" |
17348    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17349	    s//\1/
17350	    q
17351	  }
17352	  /^X\(\/\/\)[^/].*/{
17353	    s//\1/
17354	    q
17355	  }
17356	  /^X\(\/\/\)$/{
17357	    s//\1/
17358	    q
17359	  }
17360	  /^X\(\/\).*/{
17361	    s//\1/
17362	    q
17363	  }
17364	  s/.*/./; q'`/stamp-h$_am_stamp_count
17365 ;;
17366
17367  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17368$as_echo "$as_me: executing $ac_file commands" >&6;}
17369 ;;
17370  esac
17371
17372
17373  case $ac_file$ac_mode in
17374    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17375  # Older Autoconf quotes --file arguments for eval, but not when files
17376  # are listed without --file.  Let's play safe and only enable the eval
17377  # if we detect the quoting.
17378  case $CONFIG_FILES in
17379  *\'*) eval set x "$CONFIG_FILES" ;;
17380  *)   set x $CONFIG_FILES ;;
17381  esac
17382  shift
17383  for mf
17384  do
17385    # Strip MF so we end up with the name of the file.
17386    mf=`echo "$mf" | sed -e 's/:.*$//'`
17387    # Check whether this is an Automake generated Makefile or not.
17388    # We used to match only the files named 'Makefile.in', but
17389    # some people rename them; so instead we look at the file content.
17390    # Grep'ing the first line is not enough: some people post-process
17391    # each Makefile.in and add a new line on top of each file to say so.
17392    # Grep'ing the whole file is not good either: AIX grep has a line
17393    # limit of 2048, but all sed's we know have understand at least 4000.
17394    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17395      dirpart=`$as_dirname -- "$mf" ||
17396$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17397	 X"$mf" : 'X\(//\)[^/]' \| \
17398	 X"$mf" : 'X\(//\)$' \| \
17399	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17400$as_echo X"$mf" |
17401    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17402	    s//\1/
17403	    q
17404	  }
17405	  /^X\(\/\/\)[^/].*/{
17406	    s//\1/
17407	    q
17408	  }
17409	  /^X\(\/\/\)$/{
17410	    s//\1/
17411	    q
17412	  }
17413	  /^X\(\/\).*/{
17414	    s//\1/
17415	    q
17416	  }
17417	  s/.*/./; q'`
17418    else
17419      continue
17420    fi
17421    # Extract the definition of DEPDIR, am__include, and am__quote
17422    # from the Makefile without running 'make'.
17423    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17424    test -z "$DEPDIR" && continue
17425    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17426    test -z "$am__include" && continue
17427    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17428    # Find all dependency output files, they are included files with
17429    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17430    # simplest approach to changing $(DEPDIR) to its actual value in the
17431    # expansion.
17432    for file in `sed -n "
17433      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17434	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17435      # Make sure the directory exists.
17436      test -f "$dirpart/$file" && continue
17437      fdir=`$as_dirname -- "$file" ||
17438$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17439	 X"$file" : 'X\(//\)[^/]' \| \
17440	 X"$file" : 'X\(//\)$' \| \
17441	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17442$as_echo X"$file" |
17443    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17444	    s//\1/
17445	    q
17446	  }
17447	  /^X\(\/\/\)[^/].*/{
17448	    s//\1/
17449	    q
17450	  }
17451	  /^X\(\/\/\)$/{
17452	    s//\1/
17453	    q
17454	  }
17455	  /^X\(\/\).*/{
17456	    s//\1/
17457	    q
17458	  }
17459	  s/.*/./; q'`
17460      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17461      # echo "creating $dirpart/$file"
17462      echo '# dummy' > "$dirpart/$file"
17463    done
17464  done
17465}
17466 ;;
17467    "libtool":C)
17468
17469    # See if we are running on zsh, and set the options which allow our
17470    # commands through without removal of \ escapes.
17471    if test -n "${ZSH_VERSION+set}" ; then
17472      setopt NO_GLOB_SUBST
17473    fi
17474
17475    cfgfile="${ofile}T"
17476    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17477    $RM "$cfgfile"
17478
17479    cat <<_LT_EOF >> "$cfgfile"
17480#! $SHELL
17481
17482# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17483# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17484# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17485# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17486#
17487#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17488#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17489#                 Foundation, Inc.
17490#   Written by Gordon Matzigkeit, 1996
17491#
17492#   This file is part of GNU Libtool.
17493#
17494# GNU Libtool is free software; you can redistribute it and/or
17495# modify it under the terms of the GNU General Public License as
17496# published by the Free Software Foundation; either version 2 of
17497# the License, or (at your option) any later version.
17498#
17499# As a special exception to the GNU General Public License,
17500# if you distribute this file as part of a program or library that
17501# is built using GNU Libtool, you may include this file under the
17502# same distribution terms that you use for the rest of that program.
17503#
17504# GNU Libtool is distributed in the hope that it will be useful,
17505# but WITHOUT ANY WARRANTY; without even the implied warranty of
17506# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17507# GNU General Public License for more details.
17508#
17509# You should have received a copy of the GNU General Public License
17510# along with GNU Libtool; see the file COPYING.  If not, a copy
17511# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17512# obtained by writing to the Free Software Foundation, Inc.,
17513# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17514
17515
17516# The names of the tagged configurations supported by this script.
17517available_tags=""
17518
17519# ### BEGIN LIBTOOL CONFIG
17520
17521# Whether or not to build static libraries.
17522build_old_libs=$enable_static
17523
17524# Which release of libtool.m4 was used?
17525macro_version=$macro_version
17526macro_revision=$macro_revision
17527
17528# Whether or not to build shared libraries.
17529build_libtool_libs=$enable_shared
17530
17531# What type of objects to build.
17532pic_mode=$pic_mode
17533
17534# Whether or not to optimize for fast installation.
17535fast_install=$enable_fast_install
17536
17537# Shell to use when invoking shell scripts.
17538SHELL=$lt_SHELL
17539
17540# An echo program that protects backslashes.
17541ECHO=$lt_ECHO
17542
17543# The PATH separator for the build system.
17544PATH_SEPARATOR=$lt_PATH_SEPARATOR
17545
17546# The host system.
17547host_alias=$host_alias
17548host=$host
17549host_os=$host_os
17550
17551# The build system.
17552build_alias=$build_alias
17553build=$build
17554build_os=$build_os
17555
17556# A sed program that does not truncate output.
17557SED=$lt_SED
17558
17559# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17560Xsed="\$SED -e 1s/^X//"
17561
17562# A grep program that handles long lines.
17563GREP=$lt_GREP
17564
17565# An ERE matcher.
17566EGREP=$lt_EGREP
17567
17568# A literal string matcher.
17569FGREP=$lt_FGREP
17570
17571# A BSD- or MS-compatible name lister.
17572NM=$lt_NM
17573
17574# Whether we need soft or hard links.
17575LN_S=$lt_LN_S
17576
17577# What is the maximum length of a command?
17578max_cmd_len=$max_cmd_len
17579
17580# Object file suffix (normally "o").
17581objext=$ac_objext
17582
17583# Executable file suffix (normally "").
17584exeext=$exeext
17585
17586# whether the shell understands "unset".
17587lt_unset=$lt_unset
17588
17589# turn spaces into newlines.
17590SP2NL=$lt_lt_SP2NL
17591
17592# turn newlines into spaces.
17593NL2SP=$lt_lt_NL2SP
17594
17595# convert \$build file names to \$host format.
17596to_host_file_cmd=$lt_cv_to_host_file_cmd
17597
17598# convert \$build files to toolchain format.
17599to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17600
17601# An object symbol dumper.
17602OBJDUMP=$lt_OBJDUMP
17603
17604# Method to check whether dependent libraries are shared objects.
17605deplibs_check_method=$lt_deplibs_check_method
17606
17607# Command to use when deplibs_check_method = "file_magic".
17608file_magic_cmd=$lt_file_magic_cmd
17609
17610# How to find potential files when deplibs_check_method = "file_magic".
17611file_magic_glob=$lt_file_magic_glob
17612
17613# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17614want_nocaseglob=$lt_want_nocaseglob
17615
17616# DLL creation program.
17617DLLTOOL=$lt_DLLTOOL
17618
17619# Command to associate shared and link libraries.
17620sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17621
17622# The archiver.
17623AR=$lt_AR
17624
17625# Flags to create an archive.
17626AR_FLAGS=$lt_AR_FLAGS
17627
17628# How to feed a file listing to the archiver.
17629archiver_list_spec=$lt_archiver_list_spec
17630
17631# A symbol stripping program.
17632STRIP=$lt_STRIP
17633
17634# Commands used to install an old-style archive.
17635RANLIB=$lt_RANLIB
17636old_postinstall_cmds=$lt_old_postinstall_cmds
17637old_postuninstall_cmds=$lt_old_postuninstall_cmds
17638
17639# Whether to use a lock for old archive extraction.
17640lock_old_archive_extraction=$lock_old_archive_extraction
17641
17642# A C compiler.
17643LTCC=$lt_CC
17644
17645# LTCC compiler flags.
17646LTCFLAGS=$lt_CFLAGS
17647
17648# Take the output of nm and produce a listing of raw symbols and C names.
17649global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17650
17651# Transform the output of nm in a proper C declaration.
17652global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17653
17654# Transform the output of nm in a C name address pair.
17655global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17656
17657# Transform the output of nm in a C name address pair when lib prefix is needed.
17658global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17659
17660# Specify filename containing input files for \$NM.
17661nm_file_list_spec=$lt_nm_file_list_spec
17662
17663# The root where to search for dependent libraries,and in which our libraries should be installed.
17664lt_sysroot=$lt_sysroot
17665
17666# The name of the directory that contains temporary libtool files.
17667objdir=$objdir
17668
17669# Used to examine libraries when file_magic_cmd begins with "file".
17670MAGIC_CMD=$MAGIC_CMD
17671
17672# Must we lock files when doing compilation?
17673need_locks=$lt_need_locks
17674
17675# Manifest tool.
17676MANIFEST_TOOL=$lt_MANIFEST_TOOL
17677
17678# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17679DSYMUTIL=$lt_DSYMUTIL
17680
17681# Tool to change global to local symbols on Mac OS X.
17682NMEDIT=$lt_NMEDIT
17683
17684# Tool to manipulate fat objects and archives on Mac OS X.
17685LIPO=$lt_LIPO
17686
17687# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17688OTOOL=$lt_OTOOL
17689
17690# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17691OTOOL64=$lt_OTOOL64
17692
17693# Old archive suffix (normally "a").
17694libext=$libext
17695
17696# Shared library suffix (normally ".so").
17697shrext_cmds=$lt_shrext_cmds
17698
17699# The commands to extract the exported symbol list from a shared archive.
17700extract_expsyms_cmds=$lt_extract_expsyms_cmds
17701
17702# Variables whose values should be saved in libtool wrapper scripts and
17703# restored at link time.
17704variables_saved_for_relink=$lt_variables_saved_for_relink
17705
17706# Do we need the "lib" prefix for modules?
17707need_lib_prefix=$need_lib_prefix
17708
17709# Do we need a version for libraries?
17710need_version=$need_version
17711
17712# Library versioning type.
17713version_type=$version_type
17714
17715# Shared library runtime path variable.
17716runpath_var=$runpath_var
17717
17718# Shared library path variable.
17719shlibpath_var=$shlibpath_var
17720
17721# Is shlibpath searched before the hard-coded library search path?
17722shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17723
17724# Format of library name prefix.
17725libname_spec=$lt_libname_spec
17726
17727# List of archive names.  First name is the real one, the rest are links.
17728# The last name is the one that the linker finds with -lNAME
17729library_names_spec=$lt_library_names_spec
17730
17731# The coded name of the library, if different from the real name.
17732soname_spec=$lt_soname_spec
17733
17734# Permission mode override for installation of shared libraries.
17735install_override_mode=$lt_install_override_mode
17736
17737# Command to use after installation of a shared archive.
17738postinstall_cmds=$lt_postinstall_cmds
17739
17740# Command to use after uninstallation of a shared archive.
17741postuninstall_cmds=$lt_postuninstall_cmds
17742
17743# Commands used to finish a libtool library installation in a directory.
17744finish_cmds=$lt_finish_cmds
17745
17746# As "finish_cmds", except a single script fragment to be evaled but
17747# not shown.
17748finish_eval=$lt_finish_eval
17749
17750# Whether we should hardcode library paths into libraries.
17751hardcode_into_libs=$hardcode_into_libs
17752
17753# Compile-time system search path for libraries.
17754sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17755
17756# Run-time system search path for libraries.
17757sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17758
17759# Whether dlopen is supported.
17760dlopen_support=$enable_dlopen
17761
17762# Whether dlopen of programs is supported.
17763dlopen_self=$enable_dlopen_self
17764
17765# Whether dlopen of statically linked programs is supported.
17766dlopen_self_static=$enable_dlopen_self_static
17767
17768# Commands to strip libraries.
17769old_striplib=$lt_old_striplib
17770striplib=$lt_striplib
17771
17772
17773# The linker used to build libraries.
17774LD=$lt_LD
17775
17776# How to create reloadable object files.
17777reload_flag=$lt_reload_flag
17778reload_cmds=$lt_reload_cmds
17779
17780# Commands used to build an old-style archive.
17781old_archive_cmds=$lt_old_archive_cmds
17782
17783# A language specific compiler.
17784CC=$lt_compiler
17785
17786# Is the compiler the GNU compiler?
17787with_gcc=$GCC
17788
17789# Compiler flag to turn off builtin functions.
17790no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17791
17792# Additional compiler flags for building library objects.
17793pic_flag=$lt_lt_prog_compiler_pic
17794
17795# How to pass a linker flag through the compiler.
17796wl=$lt_lt_prog_compiler_wl
17797
17798# Compiler flag to prevent dynamic linking.
17799link_static_flag=$lt_lt_prog_compiler_static
17800
17801# Does compiler simultaneously support -c and -o options?
17802compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17803
17804# Whether or not to add -lc for building shared libraries.
17805build_libtool_need_lc=$archive_cmds_need_lc
17806
17807# Whether or not to disallow shared libs when runtime libs are static.
17808allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17809
17810# Compiler flag to allow reflexive dlopens.
17811export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17812
17813# Compiler flag to generate shared objects directly from archives.
17814whole_archive_flag_spec=$lt_whole_archive_flag_spec
17815
17816# Whether the compiler copes with passing no objects directly.
17817compiler_needs_object=$lt_compiler_needs_object
17818
17819# Create an old-style archive from a shared archive.
17820old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17821
17822# Create a temporary old-style archive to link instead of a shared archive.
17823old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17824
17825# Commands used to build a shared archive.
17826archive_cmds=$lt_archive_cmds
17827archive_expsym_cmds=$lt_archive_expsym_cmds
17828
17829# Commands used to build a loadable module if different from building
17830# a shared archive.
17831module_cmds=$lt_module_cmds
17832module_expsym_cmds=$lt_module_expsym_cmds
17833
17834# Whether we are building with GNU ld or not.
17835with_gnu_ld=$lt_with_gnu_ld
17836
17837# Flag that allows shared libraries with undefined symbols to be built.
17838allow_undefined_flag=$lt_allow_undefined_flag
17839
17840# Flag that enforces no undefined symbols.
17841no_undefined_flag=$lt_no_undefined_flag
17842
17843# Flag to hardcode \$libdir into a binary during linking.
17844# This must work even if \$libdir does not exist
17845hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17846
17847# Whether we need a single "-rpath" flag with a separated argument.
17848hardcode_libdir_separator=$lt_hardcode_libdir_separator
17849
17850# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17851# DIR into the resulting binary.
17852hardcode_direct=$hardcode_direct
17853
17854# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17855# DIR into the resulting binary and the resulting library dependency is
17856# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17857# library is relocated.
17858hardcode_direct_absolute=$hardcode_direct_absolute
17859
17860# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17861# into the resulting binary.
17862hardcode_minus_L=$hardcode_minus_L
17863
17864# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17865# into the resulting binary.
17866hardcode_shlibpath_var=$hardcode_shlibpath_var
17867
17868# Set to "yes" if building a shared library automatically hardcodes DIR
17869# into the library and all subsequent libraries and executables linked
17870# against it.
17871hardcode_automatic=$hardcode_automatic
17872
17873# Set to yes if linker adds runtime paths of dependent libraries
17874# to runtime path list.
17875inherit_rpath=$inherit_rpath
17876
17877# Whether libtool must link a program against all its dependency libraries.
17878link_all_deplibs=$link_all_deplibs
17879
17880# Set to "yes" if exported symbols are required.
17881always_export_symbols=$always_export_symbols
17882
17883# The commands to list exported symbols.
17884export_symbols_cmds=$lt_export_symbols_cmds
17885
17886# Symbols that should not be listed in the preloaded symbols.
17887exclude_expsyms=$lt_exclude_expsyms
17888
17889# Symbols that must always be exported.
17890include_expsyms=$lt_include_expsyms
17891
17892# Commands necessary for linking programs (against libraries) with templates.
17893prelink_cmds=$lt_prelink_cmds
17894
17895# Commands necessary for finishing linking programs.
17896postlink_cmds=$lt_postlink_cmds
17897
17898# Specify filename containing input files.
17899file_list_spec=$lt_file_list_spec
17900
17901# How to hardcode a shared library path into an executable.
17902hardcode_action=$hardcode_action
17903
17904# ### END LIBTOOL CONFIG
17905
17906_LT_EOF
17907
17908  case $host_os in
17909  aix3*)
17910    cat <<\_LT_EOF >> "$cfgfile"
17911# AIX sometimes has problems with the GCC collect2 program.  For some
17912# reason, if we set the COLLECT_NAMES environment variable, the problems
17913# vanish in a puff of smoke.
17914if test "X${COLLECT_NAMES+set}" != Xset; then
17915  COLLECT_NAMES=
17916  export COLLECT_NAMES
17917fi
17918_LT_EOF
17919    ;;
17920  esac
17921
17922
17923ltmain="$ac_aux_dir/ltmain.sh"
17924
17925
17926  # We use sed instead of cat because bash on DJGPP gets confused if
17927  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17928  # text mode, it properly converts lines to CR/LF.  This bash problem
17929  # is reportedly fixed, but why not run on old versions too?
17930  sed '$q' "$ltmain" >> "$cfgfile" \
17931     || (rm -f "$cfgfile"; exit 1)
17932
17933  if test x"$xsi_shell" = xyes; then
17934  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17935func_dirname ()\
17936{\
17937\    case ${1} in\
17938\      */*) func_dirname_result="${1%/*}${2}" ;;\
17939\      *  ) func_dirname_result="${3}" ;;\
17940\    esac\
17941} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17942  && mv -f "$cfgfile.tmp" "$cfgfile" \
17943    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17944test 0 -eq $? || _lt_function_replace_fail=:
17945
17946
17947  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17948func_basename ()\
17949{\
17950\    func_basename_result="${1##*/}"\
17951} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17952  && mv -f "$cfgfile.tmp" "$cfgfile" \
17953    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17954test 0 -eq $? || _lt_function_replace_fail=:
17955
17956
17957  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17958func_dirname_and_basename ()\
17959{\
17960\    case ${1} in\
17961\      */*) func_dirname_result="${1%/*}${2}" ;;\
17962\      *  ) func_dirname_result="${3}" ;;\
17963\    esac\
17964\    func_basename_result="${1##*/}"\
17965} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17966  && mv -f "$cfgfile.tmp" "$cfgfile" \
17967    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17968test 0 -eq $? || _lt_function_replace_fail=:
17969
17970
17971  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17972func_stripname ()\
17973{\
17974\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17975\    # positional parameters, so assign one to ordinary parameter first.\
17976\    func_stripname_result=${3}\
17977\    func_stripname_result=${func_stripname_result#"${1}"}\
17978\    func_stripname_result=${func_stripname_result%"${2}"}\
17979} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17980  && mv -f "$cfgfile.tmp" "$cfgfile" \
17981    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17982test 0 -eq $? || _lt_function_replace_fail=:
17983
17984
17985  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17986func_split_long_opt ()\
17987{\
17988\    func_split_long_opt_name=${1%%=*}\
17989\    func_split_long_opt_arg=${1#*=}\
17990} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17991  && mv -f "$cfgfile.tmp" "$cfgfile" \
17992    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17993test 0 -eq $? || _lt_function_replace_fail=:
17994
17995
17996  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17997func_split_short_opt ()\
17998{\
17999\    func_split_short_opt_arg=${1#??}\
18000\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18001} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18002  && mv -f "$cfgfile.tmp" "$cfgfile" \
18003    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18004test 0 -eq $? || _lt_function_replace_fail=:
18005
18006
18007  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18008func_lo2o ()\
18009{\
18010\    case ${1} in\
18011\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18012\      *)    func_lo2o_result=${1} ;;\
18013\    esac\
18014} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18015  && mv -f "$cfgfile.tmp" "$cfgfile" \
18016    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18017test 0 -eq $? || _lt_function_replace_fail=:
18018
18019
18020  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18021func_xform ()\
18022{\
18023    func_xform_result=${1%.*}.lo\
18024} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18025  && mv -f "$cfgfile.tmp" "$cfgfile" \
18026    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18027test 0 -eq $? || _lt_function_replace_fail=:
18028
18029
18030  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18031func_arith ()\
18032{\
18033    func_arith_result=$(( $* ))\
18034} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18035  && mv -f "$cfgfile.tmp" "$cfgfile" \
18036    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037test 0 -eq $? || _lt_function_replace_fail=:
18038
18039
18040  sed -e '/^func_len ()$/,/^} # func_len /c\
18041func_len ()\
18042{\
18043    func_len_result=${#1}\
18044} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18045  && mv -f "$cfgfile.tmp" "$cfgfile" \
18046    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18047test 0 -eq $? || _lt_function_replace_fail=:
18048
18049fi
18050
18051if test x"$lt_shell_append" = xyes; then
18052  sed -e '/^func_append ()$/,/^} # func_append /c\
18053func_append ()\
18054{\
18055    eval "${1}+=\\${2}"\
18056} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18057  && mv -f "$cfgfile.tmp" "$cfgfile" \
18058    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18059test 0 -eq $? || _lt_function_replace_fail=:
18060
18061
18062  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18063func_append_quoted ()\
18064{\
18065\    func_quote_for_eval "${2}"\
18066\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18067} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18068  && mv -f "$cfgfile.tmp" "$cfgfile" \
18069    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18070test 0 -eq $? || _lt_function_replace_fail=:
18071
18072
18073  # Save a `func_append' function call where possible by direct use of '+='
18074  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18075    && mv -f "$cfgfile.tmp" "$cfgfile" \
18076      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18077  test 0 -eq $? || _lt_function_replace_fail=:
18078else
18079  # Save a `func_append' function call even when '+=' is not available
18080  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18081    && mv -f "$cfgfile.tmp" "$cfgfile" \
18082      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18083  test 0 -eq $? || _lt_function_replace_fail=:
18084fi
18085
18086if test x"$_lt_function_replace_fail" = x":"; then
18087  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18088$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18089fi
18090
18091
18092   mv -f "$cfgfile" "$ofile" ||
18093    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18094  chmod +x "$ofile"
18095
18096 ;;
18097    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18098        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18099      esac ;;
18100    "po/stamp-it":C)
18101    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18102       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18103    fi
18104    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18105    >"po/stamp-it.tmp"
18106    sed '/^#/d
18107	 s/^[[].*] *//
18108	 /^[ 	]*$/d
18109	'"s|^|	$ac_top_srcdir/|" \
18110      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18111
18112    sed '/^POTFILES =/,/[^\\]$/ {
18113		/^POTFILES =/!d
18114		r po/POTFILES
18115	  }
18116	 ' "po/Makefile.in" >"po/Makefile"
18117    rm -f "po/Makefile.tmp"
18118    mv "po/stamp-it.tmp" "po/stamp-it"
18119   ;;
18120
18121  esac
18122done # for ac_tag
18123
18124
18125as_fn_exit 0
18126_ACEOF
18127ac_clean_files=$ac_clean_files_save
18128
18129test $ac_write_fail = 0 ||
18130  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18131
18132
18133# configure is writing to config.log, and then calls config.status.
18134# config.status does its own redirection, appending to config.log.
18135# Unfortunately, on DOS this fails, as config.log is still kept open
18136# by configure, so config.status won't be able to write to it; its
18137# output is simply discarded.  So we exec the FD to /dev/null,
18138# effectively closing config.log, so it can be properly (re)opened and
18139# appended to by config.status.  When coming back to configure, we
18140# need to make the FD available again.
18141if test "$no_create" != yes; then
18142  ac_cs_success=:
18143  ac_config_status_args=
18144  test "$silent" = yes &&
18145    ac_config_status_args="$ac_config_status_args --quiet"
18146  exec 5>/dev/null
18147  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18148  exec 5>>config.log
18149  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18150  # would make configure fail if this is the last instruction.
18151  $ac_cs_success || as_fn_exit 1
18152fi
18153if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18154  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18155$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18156fi
18157
18158
18159# ------------------------------------------------------------------------------
18160# Summary
18161#
18162
18163echo
18164echo "CFLAGS: $CFLAGS"
18165echo
18166echo "OPTIONS:"
18167echo "  Introspection:        $found_introspection"
18168echo "  Vala:                 $enable_vala"
18169echo "  Debug Build:          $debug_status"
18170echo "  Strict Build:         $strict_status"
18171echo "  Code Coverage:        $enable_coverage"
18172echo
18173